diff --git a/_wip/Donkey Kong Jr. Math (U)/Donkey Kong Jr. Math (U).nes b/Donkey Kong Jr. Math (U)/Donkey Kong Jr. Math (U).nes similarity index 100% rename from _wip/Donkey Kong Jr. Math (U)/Donkey Kong Jr. Math (U).nes rename to Donkey Kong Jr. Math (U)/Donkey Kong Jr. Math (U).nes diff --git a/Donkey Kong Jr. Math (U)/OVERVIEW.md b/Donkey Kong Jr. Math (U)/OVERVIEW.md new file mode 100644 index 0000000..ed07741 --- /dev/null +++ b/Donkey Kong Jr. Math (U)/OVERVIEW.md @@ -0,0 +1,144 @@ +# Donkey Kong Jr. Math (U) — Promoted to Top Level (2026-10-19) + +ROM: `Donkey Kong Jr. Math (U)/Donkey Kong Jr. Math (U).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 81.9% code; Pass 2 complete; Pass 3 complete; Promoted to top level 2026-10-19.** `copilot/prg.s` is a real disassembly: 6,589 instructions (13,416 bytes as code), **1,035 label definitions all named** — 64 semantic routine names + 295 `SubC` entry points + 676 `_Block[_n]` internal branch targets. `locals.inc` holds **186 zero-page slots with 13 semantic aliases** added. All 13 multi-alias ZP operands substituted in `prg.s`. **18 data tables/structures named** in the 2,968-byte data region. It builds **byte-identical** at the whole-ROM level (`cmp reconstructed.nes rom.nes`). + +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 (data table naming + full ZP substitution) completed same day. Promotion to top level completed 2026-10-19. + +## 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 | `263e5e9602943cfcb28c4d4492375a0e103c1d46c6f641ffab4da6f1f8422b4a` | +| PRG SHA-256 | `de0612081266e6ad556d6c98dd7ad9c362ceac8531d9446239813feb1961221b` | + +## Interrupt Vectors (taken from PRG $3FFA–$3FFF) + +| Vector | Target | Note | +|--------|--------|------| +| NMI | `$C4A9` | per-frame heartbeat | +| RESET | `$C41E` | enters at $C41E 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 | +|------|---------| +| `Donkey Kong Jr. Math (U).nes` | original ROM image (reference) | +| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | +| `rom.nes` | symlink to `../Donkey Kong Jr. Math (U).nes` (space-free reference for `cmp`) | +| `prg.s` | Pass 1/2/3: classified code/data split, 6,589 instructions, **1,035 labels all named** (64 semantic + 295 `SubC` + 676 `_Block`), canonical audit comments | +| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | +| `locals.inc` | 186 zero-page slots, **13 semantic aliases** (e.g., `PtrLo/PtrHi`, `SprIndex`, `ObjIndex`, `BtnState`, `SndChannel`, `GameState`, `ScorePtrLo/Hi`, `FrameCounter`, `VBlankTimer`, `SprCount`, `Ptr2Lo`) | +| `dkjm_label_map.tsv` / `dkjm_full_map.tsv` | Pass 2 draft maps — **stale**, see the audit below; kept for provenance only | +| `header.s` / `chr.s` | one-line `.incbin` wrappers for `header.bin` / `chr.bin` | +| `linker.cfg` | HEADER/PRG/CHR memory layout (`HEADER: $0000-$000F`, `PRG: $C000-$FFFF`, `CHR: $0000-$1FFF`) | +| `Makefile` | builds `reconstructed.nes` and `cmp`s it against `rom.nes` | +| `reconstructed.nes` | build output from the last verified build | + +Header and CHR are now linked: `make` verifies **whole-ROM byte identity** against `rom.nes`. + +## Build + +```bash +cd "Donkey Kong Jr. Math (U)/copilot" +make # → cmp reconstructed.nes rom.nes → "Byte-identical ROM verified." +``` + +## Pass Status + +| Pass | Status | +|------|--------| +| Pass 1 | **Complete** — 6,589 instructions, 13,416 bytes as code (81.9%), 2,968 bytes as data, byte accounting exact (16,384) | +| Pass 2 | **Complete** — 1,035 label definitions all named (48 semantic + 295 `SubC` + 676 `_Block`); 186 zero-page slots with 13 semantic aliases in `locals.inc` | +| Pass 3 | **Complete** — **13 multi-alias ZP operands fully substituted** in `prg.s`; **18 data tables/structures named** across all data regions; hardware register operands (69) substituted via `apply_symbols.py` | +| Promotion | **Complete (2026-10-19)** — added `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switched `make` to whole-ROM `cmp`, moved `_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: + +- **"240 semantic labels"** was the map's row count (`dkjm_full_map.tsv` has 243 `label` rows / 240 distinct old names). `prg.s` actually named **64** definitions; the other 971 were still `Label_`. +- **"186 zero-page semantic aliases"** was the count of **neutral** `ZpXX` entries in `locals.inc`. There were **zero** semantic zero-page aliases. +- Most of the listed "key renamed routines" (`InitSystem`, `InitPPU`, `InitGameState`, `UpdateOAM`, `UpdateScroll`, `WritePPU`, `PlaySoundEffect`, …) did not exist in the file. + +Draft-map audit (`dkjm_full_map.tsv`, 243 label rows): + +| Outcome | Rows | Meaning | +|---|---|---| +| already applied | 62 | the proposed name already sits at that address | +| name conflict | 2 | a different name already sits there | +| stale address | 100 | the address is **not an instruction boundary** in the current `prg.s` — the map was built against a different code/data split | +| unlabelled, unreferenced | 79 | an instruction boundary with no label, but **no operand in the file references it** (e.g. `$C442`, called `InitGame_1` in the map, is really the fall-through tail of `ClearZeropage_1`) | +| **safely applicable** | **0** | no row is both insertable and corroborated by control flow | + +The map is therefore kept only as provenance. Completing Pass 2 needed a fresh map derived from the committed split (routine entries plus `_Block[_n]` internal branch targets, as done for `Donkey Kong (JU)`). **This was done on 2026-10-19.** + +### Pass 2 Naming Summary (2026-10-19) + +- **48 semantic routine names** preserved from Pass 1: `Reset`, `WaitVBlank_1`, `ClearZeropage_1`, `MainGameLoop`, `InitPPU_1`, `InitSprites_1`, `ClearSpriteRAM`, `NmiHandler`, `InitAPU`, `InitPPU_3`, `UpdateSprites`, `UpdateSprites2_1`, `UpdateSprites3_1`, `UpdateSprites4`, `ClearZeropage_3`, `InitSpriteData`, `UpdateSprites2_3`, `UpdateSprites2_4`, `UpdatePPUMask`, `InitSprites_3`, `InitLevel`, `InitLevel2`, `UpdateGameState`, `CheckLevelComplete`, `CheckLevelComplete2`, `UpdatePlayerPosition_1`, `UpdateSpritePosition`, `CheckController`, `UpdateGameState2_1`, `UpdateGameState3_1`, `CheckGameState2`, `CheckButtonPress`, `CheckAnswer`, `CheckAnswer2`, `CheckAnswer3_1`, `UpdateScore_3`, `UpdateScore2_1`, `UpdateScore3`, `UpdateGameState2_3`, `CheckAnswer3_3`, `UpdateGameState3_3`, `UpdatePlayerScore`, `CheckAnswer4`, `UpdateGameState4_3`, `UpdateGameState5`, `UpdatePlayerPosition_3`, `UpdateGameState6`, `UpdateGameState7`, `InitGame_3`, `UpdateGameState8`, `UpdateSpritePosition61`, `UpdateSpritePosition66`, `UpdateSpritePosition82`, `InitGame_4`, `UpdateDisplay2`, `PlayMusic`, `UpdateSoundChannel6`, `UpdateMusicChannel16`, `UpdateMusicChannel22`, `UpdateAPU10`, `IrqHandler`. + +- **295 `SubC` entry points** for all remaining `jsr`/`jmp` targets that lacked semantic names (e.g., `SubCC559` at $C559, `SubCD03D` at $D03D, etc.). + +- **692 `_Block[_n]` internal branch targets** derived from control flow within each routine (e.g., `Reset_Block`, `NmiHandler_Block`…`NmiHandler_Block_5`, `SubCC559_Block`…`SubCC559_Block_7`, etc.). + +### Zero-Page Semantic Aliases (13, added 2026-10-19) + +| Alias | ZpXX | Address | Role | +|---|---|---|---| +| `PtrLo` | `Zp00` | $00 | general-purpose indirect pointer low byte (`sta (Zp00),y`) | +| `PtrHi` | `Zp01` | $01 | general-purpose indirect pointer high byte | +| `Ptr2Lo` | `Zp02` | $02 | secondary indirect pointer low byte (`lda (Zp02),y`) | +| `VBlankTimer` | `Zp10` | $10 | vblank wait counter / frame timer (InitAPU, InitPPU) | +| `SprCount` | `Zp39` | $39 | sprite loop counter (dec in UpdateSprites3_1/4) | +| `SprIndex` | `Zp4A` | $4A | sprite/object index (UpdateSprites*, score routines) | +| `ObjIndex` | `Zp5F` | $5F | object/sprite data index (`lda Zp5F,x` in player/sprite routines) | +| `BtnState` | `Zp51` | $51 | button/input state (CheckController, CheckButtonPress, CheckAnswer) | +| `ScorePtrLo` | `ZpA0` | $A0 | score/VRAM pointer low byte (SubCD44A, sound routines) | +| `ScorePtrHi` | `ZpA1` | $A1 | score/VRAM pointer high byte | +| `SndChannel` | `ZpEA` | $EA | sound/music channel index (`ldx ZpEA` in music routines) | +| `GameState` | `ZpEC` | $EC | game state/mode (InitLevel2, UpdateGameState*, UpdateMusicChannel22) | +| `FrameCounter` | `ZpFF` | $FF | frame counter / temp (InitGame_3, UpdateGameState6, music routines) | + +### Pass 3 Data Table Naming (2026-10-19) + +**18 data tables/structures named** across all data regions: + +| Label | Address Range | Size | Description | +|---|---|---|---| +| `LevelDataPtrTable` | $C000–$C02F | 48 bytes | Level data pointer table | +| `SpriteTileTable` | $C030–$C0BF | 144 bytes | Sprite tile/attribute data | +| `MathProblemTable` | $C0C0–$C16F | 176 bytes | Math problem definitions | +| `LevelLayoutData` | $C170–$C28F | 288 bytes | Level layout/screen data | +| `SpriteAnimTable` | $C290–$C31F | 144 bytes | Sprite animation frame data | +| `CollisionTable` | $C320–$C37F | 96 bytes | Collision detection data | +| `PaletteTable` | $C380–$C3DF | 96 bytes | Color palette data | +| `SpritePosInitTable` | $C3E0–$C41D | 62 bytes | Initial sprite positions | +| `SpriteTempData` | $C686–$C688 | 3 bytes | Temporary sprite data | +| `SoundTempData` | $D6C8–$D6CB | 4 bytes | Sound engine temp data | +| `MusicSeqPtrTable` | $F416–$F486 | 113 bytes | Music sequence pointer table | +| `SoundEffectTable` | $F4A3–$F4C3 | 33 bytes | Sound effect data | +| `VRAMCmdBuffer` | $F544–$FA5B | 1,304 bytes | VRAM command buffer for PPU updates | +| `FontTileData` | $F7F4–$F8FF | 268 bytes | Font/glyph tile data | +| `TitleScreenData` | $F904–$FA53 | 336 bytes | Title screen layout data | +| `APURegisterBuffer` | $FB00–$FB60 | 97 bytes | APU register shadow buffer | +| `ObjectSpriteTable` | $FEAA–$FFB9 | 288 bytes | Object sprite definitions | +| `EnemySpriteData` | $FFBA–$FFEA | 65 bytes | Enemy sprite data | + +All data regions now have descriptive labels; the byte-identity audit trail is preserved. + +## Power-On Flow Analysis + +**Reset ($C41E)** → `sei`/`cld` → PPU init (`sta PPUCTRL` #$10) → stack init (`ldx #$FF`/`txs`) → `WaitVBlank_1` (poll `PPUSTATUS` for vblank) → `ClearZeropage_1` (clear $0000–$01FF via `(Zp00),y`) → `jsr $C47B` (`InitPPU_1`) → set `ZpED`=$97 → main game loop at `MainGameLoop` ($C475). + +**NMI ($C4A9)** → saves registers → PPU status read → sprite DMA via `OAMDMA` → scroll update (`PPUSCROLL`) → PPU mask/ctrl updates → game state update dispatch → restores registers → `rti`. + +**IRQ ($FFF0)** → `rti` immediately (unused placeholder in vector-page padding). + +**Main Game Loop (`MainGameLoop`, $C475)** → calls `UpdateGameState` → `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 diff --git a/Donkey Kong Jr. Math (U)/copilot/Makefile b/Donkey Kong Jr. Math (U)/copilot/Makefile new file mode 100644 index 0000000..7b0587a --- /dev/null +++ b/Donkey Kong Jr. Math (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/Donkey Kong Jr. Math (U)/copilot/chr.bin b/Donkey Kong Jr. Math (U)/copilot/chr.bin similarity index 100% rename from _wip/Donkey Kong Jr. Math (U)/copilot/chr.bin rename to Donkey Kong Jr. Math (U)/copilot/chr.bin diff --git a/Donkey Kong Jr. Math (U)/copilot/chr.s b/Donkey Kong Jr. Math (U)/copilot/chr.s new file mode 100644 index 0000000..f6a8c21 --- /dev/null +++ b/Donkey Kong Jr. Math (U)/copilot/chr.s @@ -0,0 +1,2 @@ +.segment "CHR" + .incbin "chr.bin" \ No newline at end of file diff --git a/_wip/Donkey Kong Jr. Math (U)/copilot/dkjm_full_map.tsv b/Donkey Kong Jr. Math (U)/copilot/dkjm_full_map.tsv similarity index 100% rename from _wip/Donkey Kong Jr. Math (U)/copilot/dkjm_full_map.tsv rename to Donkey Kong Jr. Math (U)/copilot/dkjm_full_map.tsv diff --git a/_wip/Donkey Kong Jr. Math (U)/copilot/dkjm_label_map.tsv b/Donkey Kong Jr. Math (U)/copilot/dkjm_label_map.tsv similarity index 100% rename from _wip/Donkey Kong Jr. Math (U)/copilot/dkjm_label_map.tsv rename to Donkey Kong Jr. Math (U)/copilot/dkjm_label_map.tsv diff --git a/_wip/Donkey Kong Jr. Math (U)/copilot/header.bin b/Donkey Kong Jr. Math (U)/copilot/header.bin similarity index 100% rename from _wip/Donkey Kong Jr. Math (U)/copilot/header.bin rename to Donkey Kong Jr. Math (U)/copilot/header.bin diff --git a/Donkey Kong Jr. Math (U)/copilot/header.s b/Donkey Kong Jr. Math (U)/copilot/header.s new file mode 100644 index 0000000..37d1389 --- /dev/null +++ b/Donkey Kong Jr. Math (U)/copilot/header.s @@ -0,0 +1,2 @@ +.segment "HEADER" + .incbin "header.bin" \ No newline at end of file diff --git a/Donkey Kong Jr. Math (U)/copilot/linker.cfg b/Donkey Kong Jr. Math (U)/copilot/linker.cfg new file mode 100644 index 0000000..cfaf881 --- /dev/null +++ b/Donkey Kong Jr. Math (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/Donkey Kong Jr. Math (U)/copilot/locals.inc b/Donkey Kong Jr. Math (U)/copilot/locals.inc similarity index 92% rename from _wip/Donkey Kong Jr. Math (U)/copilot/locals.inc rename to Donkey Kong Jr. Math (U)/copilot/locals.inc index f040db0..ae4f5e6 100644 --- a/_wip/Donkey Kong Jr. Math (U)/copilot/locals.inc +++ b/Donkey Kong Jr. Math (U)/copilot/locals.inc @@ -3,10 +3,14 @@ ; ref counts are reads/writes, `where` lists the referencing addresses. ; ZpXX names indicate storage with a role not yet unique enough for a behavioral name; ; Pass 2 replaces them with names derived from observed usage. +; Semantic aliases (Pass 2) sit beside neutral ZpXX names. Zp00 = $00 ; 111 refs; reads=34 writes=77; used at $C435, C439, C49F, C4AA, +105 more +PtrLo = Zp00 ; general-purpose indirect pointer low byte (sta (Zp00),y) Zp01 = $01 ; 88 refs; reads=22 writes=66; used at $C431, C43E, C4A3, C4C4, +79 more +PtrHi = Zp01 ; general-purpose indirect pointer high byte Zp02 = $02 ; 69 refs; reads=19 writes=50; used at $C7FA, C820, C849, C9D2, +65 more +Ptr2Lo = Zp02 ; secondary indirect pointer low byte (lda (Zp02),y) Zp03 = $03 ; 37 refs; reads=8 writes=29; used at $C6F2, C7FF, D374, D480, +33 more Zp04 = $04 ; 21 refs; reads=4 writes=17; used at $C6EE, C804, D6B4, D752, +17 more Zp05 = $05 ; 20 refs; reads=9 writes=11; used at $D51F, D53A, D6DF, D6F0, +15 more @@ -21,6 +25,7 @@ Zp0D = $0D ; 15 refs; reads=8 writes=7; used at $D394, D5BB, Zp0E = $0E ; 2 refs; reads=1 writes=1; used at $C9BE, C9F2 Zp0F = $0F ; 22 refs; reads=12 writes=10; used at $D06E, D078, D564, D576, +18 more Zp10 = $10 ; 14 refs; reads=8 writes=6; used at $C46E, C4AD, C547, C556, +10 more +VBlankTimer = Zp10 ; vblank wait counter / frame timer (InitAPU, InitPPU) Zp11 = $11 ; 7 refs; reads=4 writes=3; used at $C4E1, C71F, C726, C9E2, +3 more Zp14 = $14 ; 2 refs; reads=1 writes=1; used at $F522, F526 Zp15 = $15 ; 14 refs; reads=12 writes=2; used at $C5A3, C5A9, C872, C911, +10 more @@ -53,12 +58,14 @@ Zp35 = $35 ; 2 refs; reads=1 writes=1; used at $E359, E35F Zp36 = $36 ; 2 refs; reads=1 writes=1; used at $F01C, F022 Zp37 = $37 ; 8 refs; reads=3 writes=5; used at $DECD, DED3, DF07, DF19, +4 more Zp39 = $39 ; 25 refs; reads=8 writes=17; used at $C640, C651, C659, C66B, +16 more +SprCount = Zp39 ; sprite loop counter (dec in UpdateSprites3_1/4) Zp3C = $3C ; 4 refs; reads=1 writes=3; used at $C5A0, C5B3, C5C5, C79D Zp3D = $3D ; 2 refs; reads=1 writes=1; used at $D4E5, D4FA Zp41 = $41 ; 3 refs; reads=2 writes=1; used at $DDAC, DDE1, DE2A Zp48 = $48 ; 7 refs; reads=1 writes=6; used at $C44F, C4F2, C61E, C676, +3 more Zp49 = $49 ; 5 refs; reads=2 writes=3; used at $C44B, C4EE, C616, C8E2, +1 more Zp4A = $4A ; 35 refs; reads=32 writes=3; used at $C634, C69D, C6AB, C6D1, +29 more +SprIndex = Zp4A ; sprite/object index (UpdateSprites*, score routines) Zp4B = $4B ; 4 refs; reads=1 writes=3; used at $C4F6, CBD4, D1B3, E134 Zp4C = $4C ; 16 refs; reads=12 writes=4; used at $C595, C5B9, C63A, C6D9, +12 more Zp4D = $4D ; 6 refs; reads=4 writes=2; used at $E40D, E604, E6E7, E79C, +1 more @@ -66,6 +73,7 @@ Zp4E = $4E ; 6 refs; reads=2 writes=4; used at $C8FD, C9A1, E Zp4F = $4F ; 1 refs; reads=0 writes=1; used at $E277 Zp50 = $50 ; 5 refs; reads=2 writes=3; used at $D1F8, E823, E87F, E885, +1 more Zp51 = $51 ; 31 refs; reads=21 writes=10; used at $C8AF, C8D1, C955, C96F, +27 more +BtnState = Zp51 ; button/input state (CheckController, CheckButtonPress, CheckAnswer) Zp52 = $52 ; 1 refs; reads=0 writes=1; used at $C8B1 Zp53 = $53 ; 6 refs; reads=4 writes=2; used at $C8D3, C971, CA64, D110, +2 more Zp55 = $55 ; 11 refs; reads=5 writes=6; used at $CBE0, CEC6, CECB, CEE4, +7 more @@ -75,6 +83,7 @@ Zp59 = $59 ; 9 refs; reads=5 writes=4; used at $C763, CAFF, C Zp5A = $5A ; 1 refs; reads=0 writes=1; used at $C765 Zp5B = $5B ; 3 refs; reads=1 writes=2; used at $CA86, CA96, D255 Zp5F = $5F ; 37 refs; reads=18 writes=19; used at $C737, C822, C84B, C889, +33 more +ObjIndex = Zp5F ; object/sprite data index (lda Zp5F,x in player/sprite routines) Zp60 = $60 ; 2 refs; reads=1 writes=1; used at $C739, D838 Zp61 = $61 ; 3 refs; reads=2 writes=1; used at $CBD9, CBF6, CC44 Zp63 = $63 ; 26 refs; reads=13 writes=13; used at $C741, CC21, CC86, CD8E, +22 more @@ -120,7 +129,9 @@ Zp97 = $97 ; 1 refs; reads=0 writes=1; used at $C5E0 Zp98 = $98 ; 24 refs; reads=13 writes=11; used at $E6D7, E7CA, EA7C, EAA7, +16 more Zp99 = $99 ; 3 refs; reads=2 writes=1; used at $CD1B, CF80 ZpA0 = $A0 ; 27 refs; reads=8 writes=19; used at $D4A8, D4BE, D4C5, D4CA, +18 more +ScorePtrLo = ZpA0 ; score/VRAM pointer low byte (SubCD44A, sound routines) ZpA1 = $A1 ; 16 refs; reads=2 writes=14; used at $D4A0, D4B9, DBC9, DC50, +11 more +ScorePtrHi = ZpA1 ; score/VRAM pointer high byte ZpA2 = $A2 ; 14 refs; reads=6 writes=8; used at $EA2F, EA33, EA79, EB01, +10 more ZpA3 = $A3 ; 6 refs; reads=4 writes=2; used at $D1DB, E7AA, EF4A, EFEA, +1 more ZpA4 = $A4 ; 6 refs; reads=4 writes=2; used at $D1DF, E7BC, EF74, EFEC, +1 more @@ -171,8 +182,10 @@ ZpE6 = $E6 ; 2 refs; reads=1 writes=1; used at $C8A9, E126 ZpE7 = $E7 ; 3 refs; reads=1 writes=2; used at $D35A, D416 ZpE8 = $E8 ; 3 refs; reads=1 writes=2; used at $C622, E26B, E271 ZpEA = $EA ; 43 refs; reads=36 writes=7; used at $E2B4, E2CC, E344, E48A, +39 more +SndChannel = ZpEA ; sound/music channel index (ldx ZpEA in music routines) ZpEB = $EB ; 7 refs; reads=4 writes=3; used at $C87B, C901, C926, C9B2, +3 more ZpEC = $EC ; 39 refs; reads=24 writes=15; used at $C7B0, C7D4, C919, C933, +35 more +GameState = ZpEC ; game state/mode (InitLevel2, UpdateGameState*, UpdateMusicChannel22) ZpED = $ED ; 4 refs; reads=2 writes=2; used at $C447, C586, C5DA, C5F0 ZpEE = $EE ; 12 refs; reads=7 writes=5; used at $C87F, C886, C903, C92A, +5 more ZpEF = $EF ; 6 refs; reads=4 writes=2; used at $C5BD, C5F9, DEF3, DF6E, +2 more @@ -190,3 +203,4 @@ ZpFC = $FC ; 11 refs; reads=3 writes=8; used at $C638, C7B7, ZpFD = $FD ; 11 refs; reads=1 writes=10; used at $C568, C644, C6B3, C9FE, +7 more ZpFE = $FE ; 10 refs; reads=4 writes=6; used at $D1AF, D41C, FA68, FD10, +3 more ZpFF = $FF ; 33 refs; reads=9 writes=24; used at $CC40, CC51, CE47, CE56, +21 more +FrameCounter = ZpFF ; frame counter / temp (InitGame_3, UpdateGameState6, music routines) \ No newline at end of file diff --git a/_wip/Donkey Kong Jr. Math (U)/copilot/prg.bin b/Donkey Kong Jr. Math (U)/copilot/prg.bin similarity index 100% rename from _wip/Donkey Kong Jr. Math (U)/copilot/prg.bin rename to Donkey Kong Jr. Math (U)/copilot/prg.bin diff --git a/_wip/Donkey Kong Jr. Math (U)/copilot/prg.s b/Donkey Kong Jr. Math (U)/copilot/prg.s similarity index 88% rename from _wip/Donkey Kong Jr. Math (U)/copilot/prg.s rename to Donkey Kong Jr. Math (U)/copilot/prg.s index 2602eef..e7d7e85 100644 --- a/_wip/Donkey Kong Jr. Math (U)/copilot/prg.s +++ b/Donkey Kong Jr. Math (U)/copilot/prg.s @@ -29,9 +29,11 @@ ; referenced by `lda $C17B,x` at $C801 (operand $C17B falls inside this region) ; referenced by `lda $C173,y` at $C814 (operand $C173 falls inside this region) ; ... and 89 further references from decoded code + LevelDataPtrTable: ; Level data pointer table .byte $22, $F3, $1E, $F3, $16, $F4, $2C, $F2, $97, $F1, $20, $8C, $04, $00, $20, $A4 ; CPU:$C000 PRG:0000 22 F3 1E F3 16 F4 2C F2 97 F1 20 8C 04 00 20 A4 .byte $04, $00, $20, $77, $07, $01, $20, $B7, $07, $01, $20, $AF, $02, $00, $00, $0C ; CPU:$C010 PRG:0010 04 00 20 77 07 01 20 B7 07 01 20 AF 02 00 00 0C .byte $12, $12, $15, $09, $17, $1A, $30, $16, $00, $02, $03, $03, $04, $01, $05, $05 ; CPU:$C020 PRG:0020 12 12 15 09 17 1A 30 16 00 02 03 03 04 01 05 05 + SpriteTileTable: ; Sprite tile/attribute data .byte $09, $04, $00, $22, $33, $44, $44, $11, $66, $66, $23, $03, $00, $02, $03, $04 ; CPU:$C030 PRG:0030 09 04 00 22 33 44 44 11 66 66 23 03 00 02 03 04 .byte $04, $01, $06, $06, $00, $85, $86, $85, $86, $87, $85, $86, $00, $20, $20, $21 ; CPU:$C040 PRG:0040 04 01 06 06 00 85 86 85 86 87 85 86 00 20 20 21 .byte $21, $20, $21, $21, $21, $00, $20, $21, $21, $21, $00, $20, $21, $21, $00, $20 ; CPU:$C050 PRG:0050 21 20 21 21 21 00 20 21 21 21 00 20 21 21 00 20 @@ -41,6 +43,7 @@ .byte $78, $D8, $18, $1A, $7A, $3A, $7A, $00, $00, $02, $12, $1A, $19, $01, $22, $21 ; CPU:$C090 PRG:0090 78 D8 18 1A 7A 3A 7A 00 00 02 12 1A 19 01 22 21 .byte $29, $00, $01, $22, $21, $29, $00, $02, $12, $19, $00, $02, $12, $19, $01, $21 ; CPU:$C0A0 PRG:00A0 29 00 01 22 21 29 00 02 12 19 00 02 12 19 01 21 .byte $29, $00, $01, $21, $29, $00, $02, $12, $1A, $19, $01, $21, $29, $00, $00, $01 ; CPU:$C0B0 PRG:00B0 29 00 01 21 29 00 02 12 1A 19 01 21 29 00 00 01 + MathProblemTable: ; Math problem definitions .byte $0A, $0F, $13, $1A, $1E, $97, $F7, $F7, $97, $F7, $97, $08, $04, $03, $06, $03 ; CPU:$C0C0 PRG:00C0 0A 0F 13 1A 1E 97 F7 F7 97 F7 97 08 04 03 06 03 .byte $07, $00, $01, $02, $01, $02, $03, $01, $02, $03, $09, $0A, $0A, $09, $0A, $09 ; CPU:$C0D0 PRG:00D0 07 00 01 02 01 02 03 01 02 03 09 0A 0A 09 0A 09 .byte $00, $02, $00, $03, $03, $05, $04, $02, $07, $06, $05, $01, $F6, $F4, $F2, $F2 ; CPU:$C0E0 PRG:00E0 00 02 00 03 03 05 04 02 07 06 05 01 F6 F4 F2 F2 @@ -52,6 +55,7 @@ .byte $C5, $20, $F7, $45, $C5, $21, $57, $45, $C5, $00, $20, $F7, $82, $C3, $C2, $20 ; CPU:$C140 PRG:0140 C5 20 F7 45 C5 21 57 45 C5 00 20 F7 82 C3 C2 20 .byte $F8, $44, $C5, $21, $57, $45, $C5, $00, $20, $76, $A9, $24, $00, $20, $B6, $05 ; CPU:$C150 PRG:0150 F8 44 C5 21 57 45 C5 00 20 76 A9 24 00 20 B6 05 .byte $C4, $24, $C4, $24, $C4, $00, $00, $00, $05, $0A, $0F, $14, $19, $1E, $23, $3E ; CPU:$C160 PRG:0160 C4 24 C4 24 C4 00 00 00 05 0A 0F 14 19 1E 23 3E + LevelLayoutData: ; Level layout/screen data .byte $50, $5E, $63, $06, $BF, $B0, $C7, $1F, $C7, $01, $08, $10, $00, $08, $30, $03 ; CPU:$C170 PRG:0170 50 5E 63 06 BF B0 C7 1F C7 01 08 10 00 08 30 03 .byte $0A, $50, $FF, $00, $08, $10, $FF, $02, $04, $E0, $01, $04, $F0, $FF, $08, $08 ; CPU:$C180 PRG:0180 0A 50 FF 00 08 10 FF 02 04 E0 01 04 F0 FF 08 08 .byte $0F, $0A, $02, $02, $05, $05, $B2, $C1, $B2, $C1, $A6, $C1, $AA, $C1, $B2, $C1 ; CPU:$C190 PRG:0190 0F 0A 02 02 05 05 B2 C1 B2 C1 A6 C1 AA C1 B2 C1 @@ -70,6 +74,7 @@ .byte $60, $10, $80, $30, $80, $50, $80, $A8, $80, $C8, $80, $E8, $80, $10, $A0, $30 ; CPU:$C260 PRG:0260 60 10 80 30 80 50 80 A8 80 C8 80 E8 80 10 A0 30 .byte $A0, $50, $A0, $A8, $A0, $C8, $A0, $E8, $A0, $62, $73, $00, $01, $25, $01, $49 ; CPU:$C270 PRG:0270 A0 50 A0 A8 A0 C8 A0 E8 A0 62 73 00 01 25 01 49 .byte $2B, $0A, $01, $28, $20, $01, $26, $2A, $01, $29, $40, $01, $27, $41, $49, $2C ; CPU:$C280 PRG:0280 2B 0A 01 28 20 01 26 2A 01 29 40 01 27 41 49 2C + SpriteAnimTable: ; Sprite animation frame data .byte $4A, $01, $2A, $40, $F7, $C5, $F8, $A0, $F9, $B7, $AF, $A7, $9F, $97, $8F, $87 ; CPU:$C290 PRG:0290 4A 01 2A 40 F7 C5 F8 A0 F9 B7 AF A7 9F 97 8F 87 .byte $7F, $77, $6F, $CC, $BC, $AC, $9C, $8C, $7C, $6C, $BC, $AC, $9C, $8C, $BC, $CC ; CPU:$C2A0 PRG:02A0 7F 77 6F CC BC AC 9C 8C 7C 6C BC AC 9C 8C BC CC .byte $37, $47, $57, $BC, $BC, $BC, $CC, $CC, $BC, $CC, $CC, $FF, $CC, $BC, $CC, $CC ; CPU:$C2B0 PRG:02B0 37 47 57 BC BC BC CC CC BC CC CC FF CC BC CC CC @@ -79,18 +84,21 @@ .byte $FF, $2F, $47, $57, $FF, $17, $2F, $3F, $3F, $17, $47, $57, $FF, $12, $21, $12 ; CPU:$C2F0 PRG:02F0 FF 2F 47 57 FF 17 2F 3F 3F 17 47 57 FF 12 21 12 .byte $12, $2A, $17, $12, $24, $24, $19, $24, $24, $24, $24, $24, $24, $24, $24, $24 ; CPU:$C300 PRG:0300 12 2A 17 12 24 24 19 24 24 24 24 24 24 24 24 24 .byte $01, $02, $03, $04, $05, $06, $07, $08, $09, $01, $02, $03, $04, $05, $06, $07 ; CPU:$C310 PRG:0310 01 02 03 04 05 06 07 08 09 01 02 03 04 05 06 07 + CollisionTable: ; Collision detection data .byte $2C, $C3, $30, $C3, $34, $C3, $38, $C3, $3C, $C3, $40, $C3, $00, $C0, $28, $D0 ; CPU:$C320 PRG:0320 2C C3 30 C3 34 C3 38 C3 3C C3 40 C3 00 C0 28 D0 .byte $3C, $C4, $4C, $D0, $64, $C4, $74, $D0, $8C, $C4, $9C, $D0, $B4, $C4, $C4, $D0 ; CPU:$C330 PRG:0330 3C C4 4C D0 64 C4 74 D0 8C C4 9C D0 B4 C4 C4 D0 .byte $D8, $C0, $FF, $D0, $56, $C3, $77, $C3, $7C, $C3, $81, $C3, $B2, $C3, $B7, $C3 ; CPU:$C340 PRG:0340 D8 C0 FF D0 56 C3 77 C3 7C C3 81 C3 B2 C3 B7 C3 .byte $D8, $C3, $01, $C4, $0E, $C4, $00, $D0, $24, $D0, $3D, $D0, $4B, $D0, $64, $D0 ; CPU:$C350 PRG:0350 D8 C3 01 C4 0E C4 00 D0 24 D0 3D D0 4B D0 64 D0 .byte $74, $D0, $8C, $D0, $9C, $D0, $B5, $D0, $C3, $D0, $DC, $D0, $FF, $D0, $70, $80 ; CPU:$C360 PRG:0360 74 D0 8C D0 9C D0 B5 D0 C3 D0 DC D0 FF D0 70 80 .byte $8D, $80, $70, $A0, $8D, $A0, $FF, $40, $D8, $F0, $D8, $FF, $10, $D8, $F8, $D8 ; CPU:$C370 PRG:0370 8D 80 70 A0 8D A0 FF 40 D8 F0 D8 FF 10 D8 F8 D8 + PaletteTable: ; Color palette data .byte $FF, $14, $48, $14, $B0, $24, $48, $24, $BB, $34, $48, $34, $B0, $44, $48, $44 ; CPU:$C380 PRG:0380 FF 14 48 14 B0 24 48 24 BB 34 48 34 B0 44 48 44 .byte $B9, $54, $50, $54, $B0, $64, $58, $64, $B8, $9C, $58, $9C, $B8, $AC, $50, $AC ; CPU:$C390 PRG:0390 B9 54 50 54 B0 64 58 64 B8 9C 58 9C B8 AC 50 AC .byte $B0, $BC, $48, $BC, $B9, $CC, $48, $CC, $B0, $DC, $48, $DC, $BB, $EC, $48, $EC ; CPU:$C3A0 PRG:03A0 B0 BC 48 BC B9 CC 48 CC B0 DC 48 DC BB EC 48 EC .byte $B0, $FF, $54, $38, $54, $C0, $FF, $4C, $70, $4C, $C0, $74, $70, $74, $C0, $84 ; CPU:$C3B0 PRG:03B0 B0 FF 54 38 54 C0 FF 4C 70 4C C0 74 70 74 C0 84 .byte $70, $84, $C0, $94, $70, $94, $C0, $A4, $70, $A4, $C0, $B4, $70, $B4, $C0, $C4 ; CPU:$C3C0 PRG:03C0 70 84 C0 94 70 94 C0 A4 70 A4 C0 B4 70 B4 C0 C4 .byte $70, $C4, $C0, $D4, $70, $D4, $C0, $FF, $08, $40, $08, $D8, $F8, $40, $F8, $D8 ; CPU:$C3D0 PRG:03D0 70 C4 C0 D4 70 D4 C0 FF 08 40 08 D8 F8 40 F8 D8 + SpritePosInitTable: ; Initial sprite positions .byte $00, $48, $58, $48, $50, $50, $60, $50, $60, $56, $65, $56, $9B, $56, $A0, $56 ; CPU:$C3E0 PRG:03E0 00 48 58 48 50 50 60 50 60 56 65 56 9B 56 A0 56 .byte $A0, $50, $B0, $50, $A8, $48, $FF, $48, $77, $81, $87, $82, $77, $A1, $87, $A0 ; CPU:$C3F0 PRG:03F0 A0 50 B0 50 A8 48 FF 48 77 81 87 82 77 A1 87 A0 .byte $FF, $40, $38, $40, $D8, $F0, $38, $F0, $D8, $40, $38, $F0, $38, $FF, $08, $70 ; CPU:$C400 PRG:0400 FF 40 38 40 D8 F0 38 F0 D8 40 38 F0 38 FF 08 70 @@ -125,9 +133,9 @@ WaitVBlank_1: and #$80 ; CPU:$C42B PRG:042B 29 80 beq WaitVBlank_1 ; CPU:$C42D PRG:042D F0 F9 ldy #$07 ; CPU:$C42F PRG:042F A0 07 - sty Zp01 ; CPU:$C431 PRG:0431 84 01 + sty PtrHi ; CPU:$C431 PRG:0431 84 01 ldy #$00 ; CPU:$C433 PRG:0433 A0 00 - sty Zp00 ; CPU:$C435 PRG:0435 84 00 + sty PtrLo ; CPU:$C435 PRG:0435 84 00 lda #$00 ; CPU:$C437 PRG:0437 A9 00 ; ----------------------------------------------------------------------------- ; Routine: ClearZeropage_1 @@ -139,10 +147,10 @@ WaitVBlank_1: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- ClearZeropage_1: - sta (Zp00),y ; CPU:$C439 PRG:0439 91 00 + sta (PtrLo),y ; CPU:$C439 PRG:0439 91 00 dey ; CPU:$C43B PRG:043B 88 bne ClearZeropage_1 ; CPU:$C43C PRG:043C D0 FB - dec Zp01 ; CPU:$C43E PRG:043E C6 01 + dec PtrHi ; CPU:$C43E PRG:043E C6 01 bpl ClearZeropage_1 ; CPU:$C440 PRG:0440 10 F7 jsr $C47B ; CPU:$C442 PRG:0442 20 7B C4 lda #$97 ; CPU:$C445 PRG:0445 A9 97 @@ -158,7 +166,7 @@ ClearZeropage_1: lda $2007 ; CPU:$C45B PRG:045B AD 07 20 ldy #$00 ; CPU:$C45E PRG:045E A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C460 +; Routine: Reset_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -166,14 +174,14 @@ ClearZeropage_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C460: +Reset_Block: lda $2007 ; CPU:$C460 PRG:0460 AD 07 20 sta $0700,y ; CPU:$C463 PRG:0463 99 00 07 iny ; CPU:$C466 PRG:0466 C8 cpy #$80 ; CPU:$C467 PRG:0467 C0 80 - bne Label_C460 ; CPU:$C469 PRG:0469 D0 F5 + bne Reset_Block ; CPU:$C469 PRG:0469 D0 F5 lda $2002 ; CPU:$C46B PRG:046B AD 02 20 - lda Zp10 ; CPU:$C46E PRG:046E A5 10 + lda VBlankTimer ; CPU:$C46E PRG:046E A5 10 eor #$80 ; CPU:$C470 PRG:0470 49 80 jsr $C553 ; CPU:$C472 PRG:0472 20 53 C5 ; ----------------------------------------------------------------------------- @@ -233,9 +241,9 @@ ClearSpriteRAM: sta $4011 ; CPU:$C497 PRG:0497 8D 11 40 jsr $C6F9 ; CPU:$C49A PRG:049A 20 F9 C6 lda #$24 ; CPU:$C49D PRG:049D A9 24 - sta Zp00 ; CPU:$C49F PRG:049F 85 00 + sta PtrLo ; CPU:$C49F PRG:049F 85 00 lda #$02 ; CPU:$C4A1 PRG:04A1 A9 02 - sta Zp01 ; CPU:$C4A3 PRG:04A3 85 01 + sta PtrHi ; CPU:$C4A3 PRG:04A3 85 01 jsr $F197 ; CPU:$C4A5 PRG:04A5 20 97 F1 rts ; CPU:$C4A8 PRG:04A8 60 ; ----------------------------------------------------------------------------- @@ -249,9 +257,9 @@ ClearSpriteRAM: ; ----------------------------------------------------------------------------- NmiHandler: pha ; CPU:$C4A9 PRG:04A9 48 - lda Zp00 ; CPU:$C4AA PRG:04AA A5 00 + lda PtrLo ; CPU:$C4AA PRG:04AA A5 00 pha ; CPU:$C4AC PRG:04AC 48 - lda Zp10 ; CPU:$C4AD PRG:04AD A5 10 + lda VBlankTimer ; CPU:$C4AD PRG:04AD A5 10 and #$7F ; CPU:$C4AF PRG:04AF 29 7F jsr $C553 ; CPU:$C4B1 PRG:04B1 20 53 C5 lda #$00 ; CPU:$C4B4 PRG:04B4 A9 00 @@ -259,20 +267,20 @@ NmiHandler: lda #$02 ; CPU:$C4B9 PRG:04B9 A9 02 sta $4014 ; CPU:$C4BB PRG:04BB 8D 14 40 lda #$31 ; CPU:$C4BE PRG:04BE A9 31 - sta Zp00 ; CPU:$C4C0 PRG:04C0 85 00 + sta PtrLo ; CPU:$C4C0 PRG:04C0 85 00 lda #$03 ; CPU:$C4C2 PRG:04C2 A9 03 - sta Zp01 ; CPU:$C4C4 PRG:04C4 85 01 + sta PtrHi ; CPU:$C4C4 PRG:04C4 85 01 jsr $F218 ; CPU:$C4C6 PRG:04C6 20 18 F2 lda #$00 ; CPU:$C4C9 PRG:04C9 A9 00 sta $0330 ; CPU:$C4CB PRG:04CB 8D 30 03 sta $0331 ; CPU:$C4CE PRG:04CE 8D 31 03 inc $040E ; CPU:$C4D1 PRG:04D1 EE 0E 04 lda $05B0 ; CPU:$C4D4 PRG:04D4 AD B0 05 - bne Label_C4DE ; CPU:$C4D7 PRG:04D7 D0 05 + bne NmiHandler_Block ; CPU:$C4D7 PRG:04D7 D0 05 lda #$05 ; CPU:$C4D9 PRG:04D9 A9 05 sta $05B0 ; CPU:$C4DB PRG:04DB 8D B0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C4DE +; Routine: NmiHandler_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +288,7 @@ NmiHandler: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4DE: +NmiHandler_Block: dec $05B0 ; CPU:$C4DE PRG:04DE CE B0 05 lda Zp11 ; CPU:$C4E1 PRG:04E1 A5 11 eor #$18 ; CPU:$C4E3 PRG:04E3 49 18 @@ -288,18 +296,18 @@ Label_C4DE: jsr $FA5C ; CPU:$C4E8 PRG:04E8 20 5C FA jsr $F4F3 ; CPU:$C4EB PRG:04EB 20 F3 F4 lda Zp49 ; CPU:$C4EE PRG:04EE A5 49 - bne Label_C535 ; CPU:$C4F0 PRG:04F0 D0 43 + bne NmiHandler_Block_2 ; CPU:$C4F0 PRG:04F0 D0 43 lda Zp48 ; CPU:$C4F2 PRG:04F2 A5 48 - beq Label_C53E ; CPU:$C4F4 PRG:04F4 F0 48 + beq NmiHandler_Block_3 ; CPU:$C4F4 PRG:04F4 F0 48 lda Zp4B ; CPU:$C4F6 PRG:04F6 A5 4B - bne Label_C52F ; CPU:$C4F8 PRG:04F8 D0 35 + bne NmiHandler_Block_4 ; CPU:$C4F8 PRG:04F8 D0 35 ldx #$00 ; CPU:$C4FA PRG:04FA A2 00 lda $041F ; CPU:$C4FC PRG:04FC AD 1F 04 - beq Label_C507 ; CPU:$C4FF PRG:04FF F0 06 + beq NmiHandler_Block_5 ; CPU:$C4FF PRG:04FF F0 06 jsr $C911 ; CPU:$C501 PRG:0501 20 11 C9 jmp $C541 ; CPU:$C504 PRG:0504 4C 41 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C507 +; Routine: NmiHandler_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +315,7 @@ Label_C4DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C507: +NmiHandler_Block_5: lda $0210 ; CPU:$C507 PRG:0507 AD 10 02 sta $0101 ; CPU:$C50A PRG:050A 8D 01 01 lda $0213 ; CPU:$C50D PRG:050D AD 13 02 @@ -323,7 +331,7 @@ Label_C507: jsr $DD9D ; CPU:$C529 PRG:0529 20 9D DD jmp $C541 ; CPU:$C52C PRG:052C 4C 41 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C52F +; Routine: NmiHandler_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -331,11 +339,11 @@ Label_C507: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C52F: +NmiHandler_Block_4: jsr $CB94 ; CPU:$C52F PRG:052F 20 94 CB jmp $C541 ; CPU:$C532 PRG:0532 4C 41 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C535 +; Routine: NmiHandler_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -343,12 +351,12 @@ Label_C52F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C535: +NmiHandler_Block_2: jsr $C559 ; CPU:$C535 PRG:0535 20 59 C5 jsr $F48D ; CPU:$C538 PRG:0538 20 8D F4 jmp $C541 ; CPU:$C53B PRG:053B 4C 41 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C53E +; Routine: NmiHandler_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -356,7 +364,7 @@ Label_C535: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C53E: +NmiHandler_Block_3: jsr $C656 ; CPU:$C53E PRG:053E 20 56 C6 ; ----------------------------------------------------------------------------- ; Routine: InitAPU @@ -370,11 +378,11 @@ Label_C53E: InitAPU: jsr $F135 ; CPU:$C541 PRG:0541 20 35 F1 lda $2002 ; CPU:$C544 PRG:0544 AD 02 20 - lda Zp10 ; CPU:$C547 PRG:0547 A5 10 + lda VBlankTimer ; CPU:$C547 PRG:0547 A5 10 eor #$80 ; CPU:$C549 PRG:0549 49 80 jsr $C553 ; CPU:$C54B PRG:054B 20 53 C5 pla ; CPU:$C54E PRG:054E 68 - sta Zp00 ; CPU:$C54F PRG:054F 85 00 + sta PtrLo ; CPU:$C54F PRG:054F 85 00 pla ; CPU:$C551 PRG:0551 68 rti ; CPU:$C552 PRG:0552 40 ; ----------------------------------------------------------------------------- @@ -388,10 +396,10 @@ InitAPU: ; ----------------------------------------------------------------------------- InitPPU_3: sta $2000 ; CPU:$C553 PRG:0553 8D 00 20 - sta Zp10 ; CPU:$C556 PRG:0556 85 10 + sta VBlankTimer ; CPU:$C556 PRG:0556 85 10 rts ; CPU:$C558 PRG:0558 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C559 +; Routine: SubCC559 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -399,12 +407,12 @@ InitPPU_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C559: +SubCC559: lda $06A2 ; CPU:$C559 PRG:0559 AD A2 06 - bne Label_C561 ; CPU:$C55C PRG:055C D0 03 + bne SubCC559_Block ; CPU:$C55C PRG:055C D0 03 sta $4015 ; CPU:$C55E PRG:055E 8D 15 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C561 +; Routine: SubCC559_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -412,9 +420,9 @@ Label_C559: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C561: +SubCC559_Block: lda $05B4 ; CPU:$C561 PRG:0561 AD B4 05 - bne Label_C574 ; CPU:$C564 PRG:0564 D0 0E + bne SubCC559_Block_2 ; CPU:$C564 PRG:0564 D0 0E lda #$80 ; CPU:$C566 PRG:0566 A9 80 sta ZpFD ; CPU:$C568 PRG:0568 85 FD lda #$04 ; CPU:$C56A PRG:056A A9 04 @@ -422,7 +430,7 @@ Label_C561: lda #$0F ; CPU:$C56F PRG:056F A9 0F sta $4015 ; CPU:$C571 PRG:0571 8D 15 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C574 +; Routine: SubCC559_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +438,14 @@ Label_C561: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C574: +SubCC559_Block_2: lda ZpAE ; CPU:$C574 PRG:0574 A5 AE - bne Label_C5A3 ; CPU:$C576 PRG:0576 D0 2B + bne SubCC559_Block_3 ; CPU:$C576 PRG:0576 D0 2B jsr $C71F ; CPU:$C578 PRG:0578 20 1F C7 lda #$44 ; CPU:$C57B PRG:057B A9 44 - sta Zp00 ; CPU:$C57D PRG:057D 85 00 + sta PtrLo ; CPU:$C57D PRG:057D 85 00 lda #$F5 ; CPU:$C57F PRG:057F A9 F5 - sta Zp01 ; CPU:$C581 PRG:0581 85 01 + sta PtrHi ; CPU:$C581 PRG:0581 85 01 jsr $F218 ; CPU:$C583 PRG:0583 20 18 F2 lda ZpED ; CPU:$C586 PRG:0586 A5 ED sta $0200 ; CPU:$C588 PRG:0588 8D 00 02 @@ -453,7 +461,7 @@ Label_C574: sta Zp3C ; CPU:$C5A0 PRG:05A0 85 3C rts ; CPU:$C5A2 PRG:05A2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C5A3 +; Routine: SubCC559_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -461,24 +469,24 @@ Label_C574: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5A3: +SubCC559_Block_3: lda Zp15 ; CPU:$C5A3 PRG:05A3 A5 15 and #$20 ; CPU:$C5A5 PRG:05A5 29 20 - bne Label_C5C3 ; CPU:$C5A7 PRG:05A7 D0 1A + bne SubCC559_Block_4 ; CPU:$C5A7 PRG:05A7 D0 1A lda Zp15 ; CPU:$C5A9 PRG:05A9 A5 15 and #$10 ; CPU:$C5AB PRG:05AB 29 10 bne UpdateSprites ; CPU:$C5AD PRG:05AD D0 35 lda #$00 ; CPU:$C5AF PRG:05AF A9 00 sta Zp94 ; CPU:$C5B1 PRG:05B1 85 94 lda Zp3C ; CPU:$C5B3 PRG:05B3 A5 3C - bne Label_C5C2 ; CPU:$C5B5 PRG:05B5 D0 0B + bne SubCC559_Block_5 ; CPU:$C5B5 PRG:05B5 D0 0B lda #$01 ; CPU:$C5B7 PRG:05B7 A9 01 sta Zp4C ; CPU:$C5B9 PRG:05B9 85 4C lda #$00 ; CPU:$C5BB PRG:05BB A9 00 sta ZpEF ; CPU:$C5BD PRG:05BD 85 EF jmp $C609 ; CPU:$C5BF PRG:05BF 4C 09 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C5C2 +; Routine: SubCC559_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +494,10 @@ Label_C5A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5C2: +SubCC559_Block_5: rts ; CPU:$C5C2 PRG:05C2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C5C3 +; Routine: SubCC559_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -497,19 +505,19 @@ Label_C5C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5C3: +SubCC559_Block_4: lda #$20 ; CPU:$C5C3 PRG:05C3 A9 20 sta Zp3C ; CPU:$C5C5 PRG:05C5 85 3C lda Zp94 ; CPU:$C5C7 PRG:05C7 A5 94 - bne Label_C5E3 ; CPU:$C5C9 PRG:05C9 D0 18 + bne SubCC559_Block_6 ; CPU:$C5C9 PRG:05C9 D0 18 lda $0200 ; CPU:$C5CB PRG:05CB AD 00 02 clc ; CPU:$C5CE PRG:05CE 18 adc #$10 ; CPU:$C5CF PRG:05CF 69 10 cmp #$C7 ; CPU:$C5D1 PRG:05D1 C9 C7 - bne Label_C5D7 ; CPU:$C5D3 PRG:05D3 D0 02 + bne SubCC559_Block_7 ; CPU:$C5D3 PRG:05D3 D0 02 lda #$97 ; CPU:$C5D5 PRG:05D5 A9 97 ; ----------------------------------------------------------------------------- -; Routine: Label_C5D7 +; Routine: SubCC559_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -517,7 +525,7 @@ Label_C5C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5D7: +SubCC559_Block_7: sta $0200 ; CPU:$C5D7 PRG:05D7 8D 00 02 sta ZpED ; CPU:$C5DA PRG:05DA 85 ED inc Zp94 ; CPU:$C5DC PRG:05DC E6 94 @@ -525,7 +533,7 @@ Label_C5D7: sta Zp97 ; CPU:$C5E0 PRG:05E0 85 97 rts ; CPU:$C5E2 PRG:05E2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C5E3 +; Routine: SubCC559_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +541,7 @@ Label_C5D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5E3: +SubCC559_Block_6: rts ; CPU:$C5E3 PRG:05E3 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites @@ -549,7 +557,7 @@ UpdateSprites: ldx #$0F ; CPU:$C5E7 PRG:05E7 A2 0F lda #$00 ; CPU:$C5E9 PRG:05E9 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C5EB +; Routine: UpdateSprites_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -557,10 +565,10 @@ UpdateSprites: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5EB: +UpdateSprites_Block: sta Zp24,x ; CPU:$C5EB PRG:05EB 95 24 dex ; CPU:$C5ED PRG:05ED CA - bne Label_C5EB ; CPU:$C5EE PRG:05EE D0 FB + bne UpdateSprites_Block ; CPU:$C5EE PRG:05EE D0 FB lda ZpED ; CPU:$C5F0 PRG:05F0 A5 ED lsr a ; CPU:$C5F2 PRG:05F2 4A lsr a ; CPU:$C5F3 PRG:05F3 4A @@ -600,11 +608,11 @@ UpdateSprites2_1: sta Zp94 ; CPU:$C624 PRG:0624 85 94 sta $04FC ; CPU:$C626 PRG:0626 8D FC 04 lda $041F ; CPU:$C629 PRG:0629 AD 1F 04 - beq Label_C632 ; CPU:$C62C PRG:062C F0 04 + beq UpdateSprites2_1_Block ; CPU:$C62C PRG:062C F0 04 lda #$02 ; CPU:$C62E PRG:062E A9 02 - bne Label_C634 ; CPU:$C630 PRG:0630 D0 02 + bne UpdateSprites2_1_Block_2 ; CPU:$C630 PRG:0630 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C632 +; Routine: UpdateSprites2_1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +620,10 @@ UpdateSprites2_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C632: +UpdateSprites2_1_Block: lda #$01 ; CPU:$C632 PRG:0632 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C634 +; Routine: UpdateSprites2_1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -623,21 +631,21 @@ Label_C632: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C634: - sta Zp4A ; CPU:$C634 PRG:0634 85 4A +UpdateSprites2_1_Block_2: + sta SprIndex ; CPU:$C634 PRG:0634 85 4A lda #$00 ; CPU:$C636 PRG:0636 A9 00 sta ZpFC ; CPU:$C638 PRG:0638 85 FC lda Zp4C ; CPU:$C63A PRG:063A A5 4C - bne Label_C64C ; CPU:$C63C PRG:063C D0 0E + bne UpdateSprites2_1_Block_3 ; CPU:$C63C PRG:063C D0 0E lda #$75 ; CPU:$C63E PRG:063E A9 75 - sta Zp39 ; CPU:$C640 PRG:0640 85 39 + sta SprCount ; CPU:$C640 PRG:0640 85 39 lda #$01 ; CPU:$C642 PRG:0642 A9 01 sta ZpFD ; CPU:$C644 PRG:0644 85 FD lda #$0F ; CPU:$C646 PRG:0646 A9 0F sta $4015 ; CPU:$C648 PRG:0648 8D 15 40 rts ; CPU:$C64B PRG:064B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C64C +; Routine: UpdateSprites2_1_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -645,10 +653,10 @@ Label_C634: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C64C: +UpdateSprites2_1_Block_3: dec $05B4 ; CPU:$C64C PRG:064C CE B4 05 lda #$6F ; CPU:$C64F PRG:064F A9 6F - sta Zp39 ; CPU:$C651 PRG:0651 85 39 + sta SprCount ; CPU:$C651 PRG:0651 85 39 jmp $C6EC ; CPU:$C653 PRG:0653 4C EC C6 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites3_1 @@ -661,16 +669,16 @@ Label_C64C: ; ----------------------------------------------------------------------------- UpdateSprites3_1: jsr $F48D ; CPU:$C656 PRG:0656 20 8D F4 - lda Zp39 ; CPU:$C659 PRG:0659 A5 39 + lda SprCount ; CPU:$C659 PRG:0659 A5 39 cmp #$84 ; CPU:$C65B PRG:065B C9 84 - beq Label_C67F ; CPU:$C65D PRG:065D F0 20 + beq UpdateSprites3_1_Block ; CPU:$C65D PRG:065D F0 20 cmp #$6D ; CPU:$C65F PRG:065F C9 6D - bcs Label_C689 ; CPU:$C661 PRG:0661 B0 26 + bcs UpdateSprites3_1_Block_2 ; CPU:$C661 PRG:0661 B0 26 ldx $0412 ; CPU:$C663 PRG:0663 AE 12 04 - beq Label_C66B ; CPU:$C666 PRG:0666 F0 03 + beq UpdateSprites3_1_Block_3 ; CPU:$C666 PRG:0666 F0 03 jmp $DCCB ; CPU:$C668 PRG:0668 4C CB DC ; ----------------------------------------------------------------------------- -; Routine: Label_C66B +; Routine: UpdateSprites3_1_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -678,18 +686,18 @@ UpdateSprites3_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C66B: - lda Zp39 ; CPU:$C66B PRG:066B A5 39 +UpdateSprites3_1_Block_3: + lda SprCount ; CPU:$C66B PRG:066B A5 39 cmp #$68 ; CPU:$C66D PRG:066D C9 68 - bne Label_C67E ; CPU:$C66F PRG:066F D0 0D + bne UpdateSprites3_1_Block_4 ; CPU:$C66F PRG:066F D0 0D jsr $C729 ; CPU:$C671 PRG:0671 20 29 C7 lda #$01 ; CPU:$C674 PRG:0674 A9 01 sta Zp48 ; CPU:$C676 PRG:0676 85 48 sta ZpC0 ; CPU:$C678 PRG:0678 85 C0 lda #$00 ; CPU:$C67A PRG:067A A9 00 - sta Zp39 ; CPU:$C67C PRG:067C 85 39 + sta SprCount ; CPU:$C67C PRG:067C 85 39 ; ----------------------------------------------------------------------------- -; Routine: Label_C67E +; Routine: UpdateSprites3_1_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -697,10 +705,10 @@ Label_C66B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C67E: +UpdateSprites3_1_Block_4: rts ; CPU:$C67E PRG:067E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C67F +; Routine: UpdateSprites3_1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -708,14 +716,15 @@ Label_C67E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C67F: +UpdateSprites3_1_Block: lda #$00 ; CPU:$C67F PRG:067F A9 00 - sta Zp39 ; CPU:$C681 PRG:0681 85 39 + sta SprCount ; CPU:$C681 PRG:0681 85 39 jmp $C8E2 ; CPU:$C683 PRG:0683 4C E2 C8 ; ---- data $C686-$C688 (3 bytes) ---- + SpriteTempData: ; Temporary sprite data .byte $C6, $39, $60 ; CPU:$C686 PRG:0686 C6 39 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C689 +; Routine: UpdateSprites3_1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,24 +732,24 @@ Label_C67F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C689: +UpdateSprites3_1_Block_2: cmp #$AF ; CPU:$C689 PRG:0689 C9 AF - beq Label_C6AB ; CPU:$C68B PRG:068B F0 1E + beq UpdateSprites3_1_Block_5 ; CPU:$C68B PRG:068B F0 1E cmp #$74 ; CPU:$C68D PRG:068D C9 74 - beq Label_C6B8 ; CPU:$C68F PRG:068F F0 27 + beq UpdateSprites3_1_Block_6 ; CPU:$C68F PRG:068F F0 27 cmp #$6F ; CPU:$C691 PRG:0691 C9 6F - beq Label_C6C9 ; CPU:$C693 PRG:0693 F0 34 + beq UpdateSprites3_1_Block_7 ; CPU:$C693 PRG:0693 F0 34 cmp #$6E ; CPU:$C695 PRG:0695 C9 6E - beq Label_C6CE ; CPU:$C697 PRG:0697 F0 35 + beq UpdateSprites3_1_Block_8 ; CPU:$C697 PRG:0697 F0 35 cmp #$6D ; CPU:$C699 PRG:0699 C9 6D - bne Label_C6AA ; CPU:$C69B PRG:069B D0 0D - lda Zp4A ; CPU:$C69D PRG:069D A5 4A + bne UpdateSprites3_1_Block_9 ; CPU:$C69B PRG:069B D0 0D + lda SprIndex ; CPU:$C69D PRG:069D A5 4A cmp #$02 ; CPU:$C69F PRG:069F C9 02 - bpl Label_C6A8 ; CPU:$C6A1 PRG:06A1 10 05 + bpl UpdateSprites3_1_Block_10 ; CPU:$C6A1 PRG:06A1 10 05 lda #$01 ; CPU:$C6A3 PRG:06A3 A9 01 sta $0412 ; CPU:$C6A5 PRG:06A5 8D 12 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C6A8 +; Routine: UpdateSprites3_1_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -748,10 +757,10 @@ Label_C689: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6A8: - dec Zp39 ; CPU:$C6A8 PRG:06A8 C6 39 +UpdateSprites3_1_Block_10: + dec SprCount ; CPU:$C6A8 PRG:06A8 C6 39 ; ----------------------------------------------------------------------------- -; Routine: Label_C6AA +; Routine: UpdateSprites3_1_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -759,10 +768,10 @@ Label_C6A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6AA: +UpdateSprites3_1_Block_9: rts ; CPU:$C6AA PRG:06AA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C6AB +; Routine: UpdateSprites3_1_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -770,15 +779,15 @@ Label_C6AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6AB: - lda Zp4A ; CPU:$C6AB PRG:06AB A5 4A +UpdateSprites3_1_Block_5: + lda SprIndex ; CPU:$C6AB PRG:06AB A5 4A cmp #$01 ; CPU:$C6AD PRG:06AD C9 01 - bne Label_C6B7 ; CPU:$C6AF PRG:06AF D0 06 + bne UpdateSprites3_1_Block_11 ; CPU:$C6AF PRG:06AF D0 06 lda #$10 ; CPU:$C6B1 PRG:06B1 A9 10 sta ZpFD ; CPU:$C6B3 PRG:06B3 85 FD - dec Zp39 ; CPU:$C6B5 PRG:06B5 C6 39 + dec SprCount ; CPU:$C6B5 PRG:06B5 C6 39 ; ----------------------------------------------------------------------------- -; Routine: Label_C6B7 +; Routine: UpdateSprites3_1_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -786,10 +795,10 @@ Label_C6AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6B7: +UpdateSprites3_1_Block_11: rts ; CPU:$C6B7 PRG:06B7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C6B8 +; Routine: UpdateSprites3_1_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -797,15 +806,15 @@ Label_C6B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6B8: - dec Zp39 ; CPU:$C6B8 PRG:06B8 C6 39 +UpdateSprites3_1_Block_6: + dec SprCount ; CPU:$C6B8 PRG:06B8 C6 39 lda $05C7 ; CPU:$C6BA PRG:06BA AD C7 05 ora $05C8 ; CPU:$C6BD PRG:06BD 0D C8 05 - bne Label_C6C8 ; CPU:$C6C0 PRG:06C0 D0 06 + bne UpdateSprites3_1_Block_12 ; CPU:$C6C0 PRG:06C0 D0 06 jsr $C6EC ; CPU:$C6C2 PRG:06C2 20 EC C6 jsr $C6F9 ; CPU:$C6C5 PRG:06C5 20 F9 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C6C8 +; Routine: UpdateSprites3_1_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -813,10 +822,10 @@ Label_C6B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6C8: +UpdateSprites3_1_Block_12: rts ; CPU:$C6C8 PRG:06C8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C6C9 +; Routine: UpdateSprites3_1_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +833,11 @@ Label_C6C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6C9: - dec Zp39 ; CPU:$C6C9 PRG:06C9 C6 39 +UpdateSprites3_1_Block_7: + dec SprCount ; CPU:$C6C9 PRG:06C9 C6 39 jmp $C6F9 ; CPU:$C6CB PRG:06CB 4C F9 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C6CE +; Routine: UpdateSprites3_1_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -836,11 +845,11 @@ Label_C6C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6CE: +UpdateSprites3_1_Block_8: jsr $C707 ; CPU:$C6CE PRG:06CE 20 07 C7 - lda Zp4A ; CPU:$C6D1 PRG:06D1 A5 4A + lda SprIndex ; CPU:$C6D1 PRG:06D1 A5 4A cmp #$02 ; CPU:$C6D3 PRG:06D3 C9 02 - bpl Label_C6E2 ; CPU:$C6D5 PRG:06D5 10 0B + bpl UpdateSprites3_1_Block_13 ; CPU:$C6D5 PRG:06D5 10 0B ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -851,11 +860,11 @@ Label_C6CE: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSprites4: - dec Zp39 ; CPU:$C6D7 PRG:06D7 C6 39 + dec SprCount ; CPU:$C6D7 PRG:06D7 C6 39 lda Zp4C ; CPU:$C6D9 PRG:06D9 A5 4C - beq Label_C6E1 ; CPU:$C6DB PRG:06DB F0 04 + beq UpdateSprites4_Block ; CPU:$C6DB PRG:06DB F0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C6DD +; Routine: UpdateSprites4_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -863,11 +872,11 @@ UpdateSprites4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6DD: +UpdateSprites4_Block_2: lda #$6D ; CPU:$C6DD PRG:06DD A9 6D - sta Zp39 ; CPU:$C6DF PRG:06DF 85 39 + sta SprCount ; CPU:$C6DF PRG:06DF 85 39 ; ----------------------------------------------------------------------------- -; Routine: Label_C6E1 +; Routine: UpdateSprites4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -875,10 +884,10 @@ Label_C6DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6E1: +UpdateSprites4_Block: rts ; CPU:$C6E1 PRG:06E1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C6E2 +; Routine: UpdateSprites3_1_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -886,9 +895,9 @@ Label_C6E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6E2: +UpdateSprites3_1_Block_13: cmp #$02 ; CPU:$C6E2 PRG:06E2 C9 02 - beq Label_C6DD ; CPU:$C6E4 PRG:06E4 F0 F7 + beq UpdateSprites4_Block_2 ; CPU:$C6E4 PRG:06E4 F0 F7 jsr $E259 ; CPU:$C6E6 PRG:06E6 20 59 E2 jmp $C6D7 ; CPU:$C6E9 PRG:06E9 4C D7 C6 ; ----------------------------------------------------------------------------- @@ -918,9 +927,9 @@ ClearZeropage_3: ; ----------------------------------------------------------------------------- InitSpriteData: lda #$24 ; CPU:$C6F9 PRG:06F9 A9 24 - sta Zp00 ; CPU:$C6FB PRG:06FB 85 00 + sta PtrLo ; CPU:$C6FB PRG:06FB 85 00 lda #$01 ; CPU:$C6FD PRG:06FD A9 01 - sta Zp01 ; CPU:$C6FF PRG:06FF 85 01 + sta PtrHi ; CPU:$C6FF PRG:06FF 85 01 jsr $C71F ; CPU:$C701 PRG:0701 20 1F C7 jmp $F197 ; CPU:$C704 PRG:0704 4C 97 F1 ; ----------------------------------------------------------------------------- @@ -934,16 +943,16 @@ InitSpriteData: ; ----------------------------------------------------------------------------- UpdateSprites2_3: jsr $C71F ; CPU:$C707 PRG:0707 20 1F C7 - ldy Zp4A ; CPU:$C70A PRG:070A A4 4A + ldy SprIndex ; CPU:$C70A PRG:070A A4 4A dey ; CPU:$C70C PRG:070C 88 tya ; CPU:$C70D PRG:070D 98 asl a ; CPU:$C70E PRG:070E 0A sta Zp08 ; CPU:$C70F PRG:070F 85 08 tay ; CPU:$C711 PRG:0711 A8 lda $C293,y ; CPU:$C712 PRG:0712 B9 93 C2 - sta Zp00 ; CPU:$C715 PRG:0715 85 00 + sta PtrLo ; CPU:$C715 PRG:0715 85 00 lda $C294,y ; CPU:$C717 PRG:0717 B9 94 C2 - sta Zp01 ; CPU:$C71A PRG:071A 85 01 + sta PtrHi ; CPU:$C71A PRG:071A 85 01 jmp $F218 ; CPU:$C71C PRG:071C 4C 18 F2 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites2_4 @@ -983,7 +992,7 @@ InitSprites_3: lda #$00 ; CPU:$C729 PRG:0729 A9 00 ldy #$53 ; CPU:$C72B PRG:072B A0 53 ; ----------------------------------------------------------------------------- -; Routine: Label_C72D +; Routine: InitSprites_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -991,13 +1000,13 @@ InitSprites_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C72D: +InitSprites_3_Block: sta a:$0000,y ; CPU:$C72D PRG:072D 99 00 00 iny ; CPU:$C730 PRG:0730 C8 cpy #$E9 ; CPU:$C731 PRG:0731 C0 E9 - bne Label_C72D ; CPU:$C733 PRG:0733 D0 F8 + bne InitSprites_3_Block ; CPU:$C733 PRG:0733 D0 F8 lda #$01 ; CPU:$C735 PRG:0735 A9 01 - sta Zp5F ; CPU:$C737 PRG:0737 85 5F + sta ObjIndex ; CPU:$C737 PRG:0737 85 5F sta Zp60 ; CPU:$C739 PRG:0739 85 60 sta Zp85 ; CPU:$C73B PRG:073B 85 85 sta Zp87 ; CPU:$C73D PRG:073D 85 87 @@ -1021,14 +1030,14 @@ Label_C72D: lda #$24 ; CPU:$C761 PRG:0761 A9 24 sta Zp59 ; CPU:$C763 PRG:0763 85 59 sta Zp5A ; CPU:$C765 PRG:0765 85 5A - ldy Zp4A ; CPU:$C767 PRG:0767 A4 4A + ldy SprIndex ; CPU:$C767 PRG:0767 A4 4A jsr $C7F1 ; CPU:$C769 PRG:0769 20 F1 C7 ldy Zp08 ; CPU:$C76C PRG:076C A4 08 ldx #$00 ; CPU:$C76E PRG:076E A2 00 jsr $C814 ; CPU:$C770 PRG:0770 20 14 C8 - lda Zp4A ; CPU:$C773 PRG:0773 A5 4A + lda SprIndex ; CPU:$C773 PRG:0773 A5 4A cmp #$01 ; CPU:$C775 PRG:0775 C9 01 - bne Label_C794 ; CPU:$C777 PRG:0777 D0 1B + bne InitSprites_3_Block_2 ; CPU:$C777 PRG:0777 D0 1B jsr $C83F ; CPU:$C779 PRG:0779 20 3F C8 jsr $C79B ; CPU:$C77C PRG:077C 20 9B C7 jsr $DC0D ; CPU:$C77F PRG:077F 20 0D DC @@ -1040,7 +1049,7 @@ Label_C72D: sta $05D4 ; CPU:$C790 PRG:0790 8D D4 05 rts ; CPU:$C793 PRG:0793 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C794 +; Routine: InitSprites_3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1048,7 +1057,7 @@ Label_C72D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C794: +InitSprites_3_Block_2: jmp $C797 ; CPU:$C794 PRG:0794 4C 97 C7 ; ----------------------------------------------------------------------------- ; Routine: InitLevel @@ -1077,14 +1086,14 @@ InitLevel2: jsr $E72C ; CPU:$C79F PRG:079F 20 2C E7 jsr $E6C9 ; CPU:$C7A2 PRG:07A2 20 C9 E6 jsr $E387 ; CPU:$C7A5 PRG:07A5 20 87 E3 - lda Zp4A ; CPU:$C7A8 PRG:07A8 A5 4A + lda SprIndex ; CPU:$C7A8 PRG:07A8 A5 4A cmp #$03 ; CPU:$C7AA PRG:07AA C9 03 - bmi Label_C7B5 ; CPU:$C7AC PRG:07AC 30 07 + bmi InitLevel2_Block ; CPU:$C7AC PRG:07AC 30 07 lda #$05 ; CPU:$C7AE PRG:07AE A9 05 - sta ZpEC ; CPU:$C7B0 PRG:07B0 85 EC + sta GameState ; CPU:$C7B0 PRG:07B0 85 EC jsr $E825 ; CPU:$C7B2 PRG:07B2 20 25 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_C7B5 +; Routine: InitLevel2_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +1101,10 @@ InitLevel2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7B5: +InitLevel2_Block: lda #$02 ; CPU:$C7B5 PRG:07B5 A9 02 sta ZpFC ; CPU:$C7B7 PRG:07B7 85 FC - lda Zp4A ; CPU:$C7B9 PRG:07B9 A5 4A + lda SprIndex ; CPU:$C7B9 PRG:07B9 A5 4A cmp #$01 ; CPU:$C7BB PRG:07BB C9 01 bne UpdateGameState ; CPU:$C7BD PRG:07BD D0 04 lda #$10 ; CPU:$C7BF PRG:07BF A9 10 @@ -1111,12 +1120,12 @@ Label_C7B5: ; ----------------------------------------------------------------------------- UpdateGameState: lda $0416 ; CPU:$C7C3 PRG:07C3 AD 16 04 - bne Label_C7CF ; CPU:$C7C6 PRG:07C6 D0 07 + bne UpdateGameState_Block ; CPU:$C7C6 PRG:07C6 D0 07 lda $0402 ; CPU:$C7C8 PRG:07C8 AD 02 04 cmp #$0A ; CPU:$C7CB PRG:07CB C9 0A - bne Label_C7DC ; CPU:$C7CD PRG:07CD D0 0D + bne UpdateGameState_Block_2 ; CPU:$C7CD PRG:07CD D0 0D ; ----------------------------------------------------------------------------- -; Routine: Label_C7CF +; Routine: UpdateGameState_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1124,14 +1133,14 @@ UpdateGameState: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7CF: +UpdateGameState_Block: lda #$00 ; CPU:$C7CF PRG:07CF A9 00 sta $0416 ; CPU:$C7D1 PRG:07D1 8D 16 04 - sta ZpEC ; CPU:$C7D4 PRG:07D4 85 EC + sta GameState ; CPU:$C7D4 PRG:07D4 85 EC sta $0402 ; CPU:$C7D6 PRG:07D6 8D 02 04 jmp $C8E2 ; CPU:$C7D9 PRG:07D9 4C E2 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C7DC +; Routine: UpdateGameState_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1139,7 +1148,7 @@ Label_C7CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7DC: +UpdateGameState_Block_2: lda #$22 ; CPU:$C7DC PRG:07DC A9 22 sta ZpB7 ; CPU:$C7DE PRG:07DE 85 B7 lda #$C8 ; CPU:$C7E0 PRG:07E0 A9 C8 @@ -1174,8 +1183,8 @@ CheckLevelComplete: CheckLevelComplete2: lda $C179,x ; CPU:$C7F3 PRG:07F3 BD 79 C1 cmp #$FF ; CPU:$C7F6 PRG:07F6 C9 FF - beq Label_C80F ; CPU:$C7F8 PRG:07F8 F0 15 - sta Zp02 ; CPU:$C7FA PRG:07FA 85 02 + beq CheckLevelComplete2_Block ; CPU:$C7F8 PRG:07F8 F0 15 + sta Ptr2Lo ; CPU:$C7FA PRG:07FA 85 02 lda $C17A,x ; CPU:$C7FC PRG:07FC BD 7A C1 sta Zp03 ; CPU:$C7FF PRG:07FF 85 03 lda $C17B,x ; CPU:$C801 PRG:0801 BD 7B C1 @@ -1186,7 +1195,7 @@ CheckLevelComplete2: inx ; CPU:$C80B PRG:080B E8 jmp $C7F3 ; CPU:$C80C PRG:080C 4C F3 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C80F +; Routine: CheckLevelComplete2_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1194,7 +1203,7 @@ CheckLevelComplete2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C80F: +CheckLevelComplete2_Block: inx ; CPU:$C80F PRG:080F E8 dey ; CPU:$C810 PRG:0810 88 bne CheckLevelComplete2 ; CPU:$C811 PRG:0811 D0 E0 @@ -1210,21 +1219,21 @@ Label_C80F: ; ----------------------------------------------------------------------------- UpdatePlayerPosition_1: lda $C173,y ; CPU:$C814 PRG:0814 B9 73 C1 - sta Zp00 ; CPU:$C817 PRG:0817 85 00 + sta PtrLo ; CPU:$C817 PRG:0817 85 00 lda $C174,y ; CPU:$C819 PRG:0819 B9 74 C1 - sta Zp01 ; CPU:$C81C PRG:081C 85 01 + sta PtrHi ; CPU:$C81C PRG:081C 85 01 lda #$50 ; CPU:$C81E PRG:081E A9 50 - sta Zp02 ; CPU:$C820 PRG:0820 85 02 - lda Zp5F,x ; CPU:$C822 PRG:0822 B5 5F + sta Ptr2Lo ; CPU:$C820 PRG:0820 85 02 + lda ObjIndex,x ; CPU:$C822 PRG:0822 B5 5F cmp #$01 ; CPU:$C824 PRG:0824 C9 01 - beq Label_C833 ; CPU:$C826 PRG:0826 F0 0B + beq UpdatePlayerPosition_1_Block_2 ; CPU:$C826 PRG:0826 F0 0B lda $0233 ; CPU:$C828 PRG:0828 AD 33 02 cmp #$80 ; CPU:$C82B PRG:082B C9 80 - bcs Label_C833 ; CPU:$C82D PRG:082D B0 04 + bcs UpdatePlayerPosition_1_Block_2 ; CPU:$C82D PRG:082D B0 04 lda #$D8 ; CPU:$C82F PRG:082F A9 D8 - sta Zp00 ; CPU:$C831 PRG:0831 85 00 + sta PtrLo ; CPU:$C831 PRG:0831 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C833 +; Routine: UpdatePlayerPosition_1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1232,13 +1241,13 @@ UpdatePlayerPosition_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C833: +UpdatePlayerPosition_1_Block_2: jsr $D69F ; CPU:$C833 PRG:0833 20 9F D6 - lda Zp4A ; CPU:$C836 PRG:0836 A5 4A + lda SprIndex ; CPU:$C836 PRG:0836 A5 4A cmp #$02 ; CPU:$C838 PRG:0838 C9 02 - bpl Label_C861 ; CPU:$C83A PRG:083A 10 25 + bpl UpdatePlayerPosition_1_Block_4 ; CPU:$C83A PRG:083A 10 25 txa ; CPU:$C83C PRG:083C 8A - beq Label_C861 ; CPU:$C83D PRG:083D F0 22 + beq UpdatePlayerPosition_1_Block_4 ; CPU:$C83D PRG:083D F0 22 ; ----------------------------------------------------------------------------- ; Routine: UpdateSpritePosition ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -1250,21 +1259,21 @@ Label_C833: ; ----------------------------------------------------------------------------- UpdateSpritePosition: lda #$D8 ; CPU:$C83F PRG:083F A9 D8 - sta Zp00 ; CPU:$C841 PRG:0841 85 00 + sta PtrLo ; CPU:$C841 PRG:0841 85 00 lda #$BF ; CPU:$C843 PRG:0843 A9 BF - sta Zp01 ; CPU:$C845 PRG:0845 85 01 + sta PtrHi ; CPU:$C845 PRG:0845 85 01 lda #$50 ; CPU:$C847 PRG:0847 A9 50 - sta Zp02 ; CPU:$C849 PRG:0849 85 02 - lda Zp5F,x ; CPU:$C84B PRG:084B B5 5F + sta Ptr2Lo ; CPU:$C849 PRG:0849 85 02 + lda ObjIndex,x ; CPU:$C84B PRG:084B B5 5F cmp #$01 ; CPU:$C84D PRG:084D C9 01 - beq Label_C85C ; CPU:$C84F PRG:084F F0 0B + beq UpdateSpritePosition_Block_2 ; CPU:$C84F PRG:084F F0 0B lda $0213 ; CPU:$C851 PRG:0851 AD 13 02 cmp #$80 ; CPU:$C854 PRG:0854 C9 80 - bcc Label_C85C ; CPU:$C856 PRG:0856 90 04 + bcc UpdateSpritePosition_Block_2 ; CPU:$C856 PRG:0856 90 04 lda #$06 ; CPU:$C858 PRG:0858 A9 06 - sta Zp00 ; CPU:$C85A PRG:085A 85 00 + sta PtrLo ; CPU:$C85A PRG:085A 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C85C +; Routine: UpdateSpritePosition_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1272,11 +1281,11 @@ UpdateSpritePosition: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C85C: +UpdateSpritePosition_Block_2: ldx #$01 ; CPU:$C85C PRG:085C A2 01 jsr $D69F ; CPU:$C85E PRG:085E 20 9F D6 ; ----------------------------------------------------------------------------- -; Routine: Label_C861 +; Routine: UpdatePlayerPosition_1_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1284,7 +1293,7 @@ Label_C85C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C861: +UpdatePlayerPosition_1_Block_4: lda #$FF ; CPU:$C861 PRG:0861 A9 FF sta ZpDD,x ; CPU:$C863 PRG:0863 95 DD rts ; CPU:$C865 PRG:0865 60 @@ -1299,12 +1308,12 @@ Label_C861: ; ----------------------------------------------------------------------------- CheckController: lda Zp4C ; CPU:$C866 PRG:0866 A5 4C - beq Label_C872 ; CPU:$C868 PRG:0868 F0 08 + beq CheckController_Block_2 ; CPU:$C868 PRG:0868 F0 08 lda $06A2 ; CPU:$C86A PRG:086A AD A2 06 - bne Label_C872 ; CPU:$C86D PRG:086D D0 03 + bne CheckController_Block_2 ; CPU:$C86D PRG:086D D0 03 sta $4015 ; CPU:$C86F PRG:086F 8D 15 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C872 +; Routine: CheckController_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1312,13 +1321,13 @@ CheckController: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C872: +CheckController_Block_2: lda Zp15 ; CPU:$C872 PRG:0872 A5 15 and #$20 ; CPU:$C874 PRG:0874 29 20 - beq Label_C87B ; CPU:$C876 PRG:0876 F0 03 + beq CheckController_Block_3 ; CPU:$C876 PRG:0876 F0 03 jmp $C8E2 ; CPU:$C878 PRG:0878 4C E2 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C87B +; Routine: CheckController_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +1335,16 @@ Label_C872: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C87B: +CheckController_Block_3: lda ZpEB ; CPU:$C87B PRG:087B A5 EB bne UpdateGameState3_1 ; CPU:$C87D PRG:087D D0 5C lda ZpEE ; CPU:$C87F PRG:087F A5 EE - beq Label_C889 ; CPU:$C881 PRG:0881 F0 06 + beq CheckController_Block_4 ; CPU:$C881 PRG:0881 F0 06 txa ; CPU:$C883 PRG:0883 8A - bne Label_C888 ; CPU:$C884 PRG:0884 D0 02 + bne CheckController_Block_5 ; CPU:$C884 PRG:0884 D0 02 dec ZpEE ; CPU:$C886 PRG:0886 C6 EE ; ----------------------------------------------------------------------------- -; Routine: Label_C888 +; Routine: CheckController_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +1352,10 @@ Label_C87B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C888: +CheckController_Block_5: rts ; CPU:$C888 PRG:0888 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C889 +; Routine: CheckController_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1354,21 +1363,21 @@ Label_C888: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C889: - lda Zp5F,x ; CPU:$C889 PRG:0889 B5 5F +CheckController_Block_4: + lda ObjIndex,x ; CPU:$C889 PRG:0889 B5 5F cmp #$05 ; CPU:$C88B PRG:088B C9 05 - beq Label_C8D8 ; CPU:$C88D PRG:088D F0 49 + beq CheckController_Block_6 ; CPU:$C88D PRG:088D F0 49 cmp #$04 ; CPU:$C88F PRG:088F C9 04 - beq Label_C8B8 ; CPU:$C891 PRG:0891 F0 25 - lda Zp5F,x ; CPU:$C893 PRG:0893 B5 5F + beq CheckController_Block_8 ; CPU:$C891 PRG:0891 F0 25 + lda ObjIndex,x ; CPU:$C893 PRG:0893 B5 5F cmp #$03 ; CPU:$C895 PRG:0895 C9 03 - beq Label_C8B8 ; CPU:$C897 PRG:0897 F0 1F + beq CheckController_Block_8 ; CPU:$C897 PRG:0897 F0 1F lda Zp4C ; CPU:$C899 PRG:0899 A5 4C - beq Label_C8A3 ; CPU:$C89B PRG:089B F0 06 + beq CheckController_Block_9 ; CPU:$C89B PRG:089B F0 06 jsr $E26B ; CPU:$C89D PRG:089D 20 6B E2 jmp $C8BB ; CPU:$C8A0 PRG:08A0 4C BB C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C8A3 +; Routine: CheckController_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1376,18 +1385,18 @@ Label_C889: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8A3: +CheckController_Block_9: lda ZpC0 ; CPU:$C8A3 PRG:08A3 A5 C0 - bne Label_C8C7 ; CPU:$C8A5 PRG:08A5 D0 20 + bne CheckController_Block_10 ; CPU:$C8A5 PRG:08A5 D0 20 lda ZpE5 ; CPU:$C8A7 PRG:08A7 A5 E5 ora ZpE6 ; CPU:$C8A9 PRG:08A9 05 E6 - beq Label_C8B5 ; CPU:$C8AB PRG:08AB F0 08 + beq CheckController_Block_11 ; CPU:$C8AB PRG:08AB F0 08 lda #$00 ; CPU:$C8AD PRG:08AD A9 00 - sta Zp51 ; CPU:$C8AF PRG:08AF 85 51 + sta BtnState ; CPU:$C8AF PRG:08AF 85 51 sta Zp52 ; CPU:$C8B1 PRG:08B1 85 52 beq UpdateGameState2_1 ; CPU:$C8B3 PRG:08B3 F0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_C8B5 +; Routine: CheckController_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1395,10 +1404,10 @@ Label_C8A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8B5: +CheckController_Block_11: jsr $CA37 ; CPU:$C8B5 PRG:08B5 20 37 CA ; ----------------------------------------------------------------------------- -; Routine: Label_C8B8 +; Routine: CheckController_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1406,7 +1415,7 @@ Label_C8B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8B8: +CheckController_Block_8: jsr $E1D7 ; CPU:$C8B8 PRG:08B8 20 D7 E1 ; ----------------------------------------------------------------------------- ; Routine: UpdateGameState2_1 @@ -1423,7 +1432,7 @@ UpdateGameState2_1: jsr $CC9E ; CPU:$C8C1 PRG:08C1 20 9E CC jsr $D82F ; CPU:$C8C4 PRG:08C4 20 2F D8 ; ----------------------------------------------------------------------------- -; Routine: Label_C8C7 +; Routine: CheckController_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1431,18 +1440,18 @@ UpdateGameState2_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8C7: +CheckController_Block_10: txa ; CPU:$C8C7 PRG:08C7 8A pha ; CPU:$C8C8 PRG:08C8 48 jsr $CA99 ; CPU:$C8C9 PRG:08C9 20 99 CA jsr $F48D ; CPU:$C8CC PRG:08CC 20 8D F4 pla ; CPU:$C8CF PRG:08CF 68 tax ; CPU:$C8D0 PRG:08D0 AA - lda Zp51,x ; CPU:$C8D1 PRG:08D1 B5 51 + lda BtnState,x ; CPU:$C8D1 PRG:08D1 B5 51 sta Zp53,x ; CPU:$C8D3 PRG:08D3 95 53 jmp $C8DB ; CPU:$C8D5 PRG:08D5 4C DB C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C8D8 +; Routine: CheckController_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1450,7 +1459,7 @@ Label_C8C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8D8: +CheckController_Block_6: jsr $CAF7 ; CPU:$C8D8 PRG:08D8 20 F7 CA ; ----------------------------------------------------------------------------- ; Routine: UpdateGameState3_1 @@ -1463,10 +1472,10 @@ Label_C8D8: ; ----------------------------------------------------------------------------- UpdateGameState3_1: txa ; CPU:$C8DB PRG:08DB 8A - bne Label_C8E1 ; CPU:$C8DC PRG:08DC D0 03 + bne CheckGameState2_Block ; CPU:$C8DC PRG:08DC D0 03 jsr $C995 ; CPU:$C8DE PRG:08DE 20 95 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C8E1 +; Routine: CheckGameState2_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1474,7 +1483,7 @@ UpdateGameState3_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8E1: +CheckGameState2_Block: rts ; CPU:$C8E1 PRG:08E1 60 ; ----------------------------------------------------------------------------- ; Routine: CheckGameState2 @@ -1487,11 +1496,11 @@ Label_C8E1: ; ----------------------------------------------------------------------------- CheckGameState2: lda Zp49 ; CPU:$C8E2 PRG:08E2 A5 49 - bne Label_C8E1 ; CPU:$C8E4 PRG:08E4 D0 FB - lda Zp10 ; CPU:$C8E6 PRG:08E6 A5 10 + bne CheckGameState2_Block ; CPU:$C8E4 PRG:08E4 D0 FB + lda VBlankTimer ; CPU:$C8E6 PRG:08E6 A5 10 and #$FE ; CPU:$C8E8 PRG:08E8 29 FE sta $2000 ; CPU:$C8EA PRG:08EA 8D 00 20 - sta Zp10 ; CPU:$C8ED PRG:08ED 85 10 + sta VBlankTimer ; CPU:$C8ED PRG:08ED 85 10 lda #$01 ; CPU:$C8EF PRG:08EF A9 01 sta Zp49 ; CPU:$C8F1 PRG:08F1 85 49 sta Zp94 ; CPU:$C8F3 PRG:08F3 85 94 @@ -1519,15 +1528,15 @@ CheckGameState2: CheckButtonPress: lda Zp15 ; CPU:$C911 PRG:0911 A5 15 and #$20 ; CPU:$C913 PRG:0913 29 20 - beq Label_C926 ; CPU:$C915 PRG:0915 F0 0F + beq CheckButtonPress_Block ; CPU:$C915 PRG:0915 F0 0F lda #$00 ; CPU:$C917 PRG:0917 A9 00 - sta ZpEC ; CPU:$C919 PRG:0919 85 EC + sta GameState ; CPU:$C919 PRG:0919 85 EC sta ZpFC ; CPU:$C91B PRG:091B 85 FC jsr $E6C9 ; CPU:$C91D PRG:091D 20 C9 E6 jsr $E2B4 ; CPU:$C920 PRG:0920 20 B4 E2 jmp $C8E2 ; CPU:$C923 PRG:0923 4C E2 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C926 +; Routine: CheckButtonPress_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +1544,15 @@ CheckButtonPress: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C926: +CheckButtonPress_Block: lda ZpEB ; CPU:$C926 PRG:0926 A5 EB - bne Label_C98F ; CPU:$C928 PRG:0928 D0 65 + bne CheckButtonPress_Block_2 ; CPU:$C928 PRG:0928 D0 65 lda ZpEE ; CPU:$C92A PRG:092A A5 EE - beq Label_C931 ; CPU:$C92C PRG:092C F0 03 + beq CheckButtonPress_Block_3 ; CPU:$C92C PRG:092C F0 03 dec ZpEE ; CPU:$C92E PRG:092E C6 EE rts ; CPU:$C930 PRG:0930 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C931 +; Routine: CheckButtonPress_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1551,29 +1560,29 @@ Label_C926: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C931: +CheckButtonPress_Block_3: ldx #$00 ; CPU:$C931 PRG:0931 A2 00 - lda ZpEC ; CPU:$C933 PRG:0933 A5 EC + lda GameState ; CPU:$C933 PRG:0933 A5 EC cmp #$03 ; CPU:$C935 PRG:0935 C9 03 - beq Label_C98C ; CPU:$C937 PRG:0937 F0 53 + beq SubCC98C ; CPU:$C937 PRG:0937 F0 53 cmp #$30 ; CPU:$C939 PRG:0939 C9 30 - beq Label_C992 ; CPU:$C93B PRG:093B F0 55 + beq CheckButtonPress_Block_4 ; CPU:$C93B PRG:093B F0 55 cmp #$20 ; CPU:$C93D PRG:093D C9 20 - beq Label_C97F ; CPU:$C93F PRG:093F F0 3E - lda Zp5F ; CPU:$C941 PRG:0941 A5 5F + beq SubCC963_Block ; CPU:$C93F PRG:093F F0 3E + lda ObjIndex ; CPU:$C941 PRG:0941 A5 5F cmp #$05 ; CPU:$C943 PRG:0943 C9 05 - beq Label_C976 ; CPU:$C945 PRG:0945 F0 2F + beq CheckButtonPress_Block_6 ; CPU:$C945 PRG:0945 F0 2F cmp #$04 ; CPU:$C947 PRG:0947 C9 04 - beq Label_C963 ; CPU:$C949 PRG:0949 F0 18 + beq SubCC963 ; CPU:$C949 PRG:0949 F0 18 cmp #$03 ; CPU:$C94B PRG:094B C9 03 - beq Label_C963 ; CPU:$C94D PRG:094D F0 14 + beq SubCC963 ; CPU:$C94D PRG:094D F0 14 lda ZpAF ; CPU:$C94F PRG:094F A5 AF - beq Label_C95A ; CPU:$C951 PRG:0951 F0 07 + beq CheckButtonPress_Block_7 ; CPU:$C951 PRG:0951 F0 07 lda #$00 ; CPU:$C953 PRG:0953 A9 00 - sta Zp51 ; CPU:$C955 PRG:0955 85 51 + sta BtnState ; CPU:$C955 PRG:0955 85 51 jmp $C963 ; CPU:$C957 PRG:0957 4C 63 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C95A +; Routine: CheckButtonPress_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1581,13 +1590,13 @@ Label_C931: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C95A: - lda ZpEC ; CPU:$C95A PRG:095A A5 EC +CheckButtonPress_Block_7: + lda GameState ; CPU:$C95A PRG:095A A5 EC cmp #$03 ; CPU:$C95C PRG:095C C9 03 - beq Label_C963 ; CPU:$C95E PRG:095E F0 03 + beq SubCC963 ; CPU:$C95E PRG:095E F0 03 jsr $CA37 ; CPU:$C960 PRG:0960 20 37 CA ; ----------------------------------------------------------------------------- -; Routine: Label_C963 +; Routine: SubCC963 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1595,16 +1604,16 @@ Label_C95A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C963: +SubCC963: jsr $CA86 ; CPU:$C963 PRG:0963 20 86 CA jsr $CBD7 ; CPU:$C966 PRG:0966 20 D7 CB jsr $CC9E ; CPU:$C969 PRG:0969 20 9E CC jsr $CA99 ; CPU:$C96C PRG:096C 20 99 CA - lda Zp51 ; CPU:$C96F PRG:096F A5 51 + lda BtnState ; CPU:$C96F PRG:096F A5 51 sta Zp53 ; CPU:$C971 PRG:0971 85 53 jmp $C98C ; CPU:$C973 PRG:0973 4C 8C C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C976 +; Routine: CheckButtonPress_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1612,13 +1621,13 @@ Label_C963: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C976: - lda ZpEC ; CPU:$C976 PRG:0976 A5 EC +CheckButtonPress_Block_6: + lda GameState ; CPU:$C976 PRG:0976 A5 EC cmp #$20 ; CPU:$C978 PRG:0978 C9 20 - beq Label_C97F ; CPU:$C97A PRG:097A F0 03 + beq SubCC963_Block ; CPU:$C97A PRG:097A F0 03 jsr $CAF7 ; CPU:$C97C PRG:097C 20 F7 CA ; ----------------------------------------------------------------------------- -; Routine: Label_C97F +; Routine: SubCC963_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1626,7 +1635,7 @@ Label_C976: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C97F: +SubCC963_Block: txa ; CPU:$C97F PRG:097F 8A pha ; CPU:$C980 PRG:0980 48 jsr $E928 ; CPU:$C981 PRG:0981 20 28 E9 @@ -1635,7 +1644,7 @@ Label_C97F: pla ; CPU:$C98A PRG:098A 68 tax ; CPU:$C98B PRG:098B AA ; ----------------------------------------------------------------------------- -; Routine: Label_C98C +; Routine: SubCC98C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +1652,10 @@ Label_C97F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C98C: +SubCC98C: jsr $F48D ; CPU:$C98C PRG:098C 20 8D F4 ; ----------------------------------------------------------------------------- -; Routine: Label_C98F +; Routine: CheckButtonPress_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1654,10 +1663,10 @@ Label_C98C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C98F: +CheckButtonPress_Block_2: jmp $C995 ; CPU:$C98F PRG:098F 4C 95 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C992 +; Routine: CheckButtonPress_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1665,10 +1674,10 @@ Label_C98F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C992: +CheckButtonPress_Block_4: jmp $E9C0 ; CPU:$C992 PRG:0992 4C C0 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_C995 +; Routine: SubCC995 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1676,18 +1685,18 @@ Label_C992: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C995: +SubCC995: lda Zp15 ; CPU:$C995 PRG:0995 A5 15 and #$10 ; CPU:$C997 PRG:0997 29 10 - beq Label_CA01 ; CPU:$C999 PRG:0999 F0 66 + beq SubCC995_Block ; CPU:$C999 PRG:0999 F0 66 lda Zp4C ; CPU:$C99B PRG:099B A5 4C - beq Label_C9A8 ; CPU:$C99D PRG:099D F0 09 + beq SubCC995_Block_2 ; CPU:$C99D PRG:099D F0 09 lda #$00 ; CPU:$C99F PRG:099F A9 00 sta Zp4E ; CPU:$C9A1 PRG:09A1 85 4E sta Zp4C ; CPU:$C9A3 PRG:09A3 85 4C jmp $C5E4 ; CPU:$C9A5 PRG:09A5 4C E4 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C9A8 +; Routine: SubCC995_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1695,32 +1704,32 @@ Label_C995: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9A8: +SubCC995_Block_2: lda Zp15 ; CPU:$C9A8 PRG:09A8 A5 15 cmp $0418 ; CPU:$C9AA PRG:09AA CD 18 04 - beq Label_CA04 ; CPU:$C9AD PRG:09AD F0 55 + beq SubCC995_Block_3 ; CPU:$C9AD PRG:09AD F0 55 sta $0418 ; CPU:$C9AF PRG:09AF 8D 18 04 lda ZpEB ; CPU:$C9B2 PRG:09B2 A5 EB - beq Label_C9EC ; CPU:$C9B4 PRG:09B4 F0 36 + beq SubCC995_Block_4 ; CPU:$C9B4 PRG:09B4 F0 36 lda ZpEE ; CPU:$C9B6 PRG:09B6 A5 EE - bne Label_C9EB ; CPU:$C9B8 PRG:09B8 D0 31 + bne SubCC995_Block_5 ; CPU:$C9B8 PRG:09B8 D0 31 lda #$00 ; CPU:$C9BA PRG:09BA A9 00 sta ZpEB ; CPU:$C9BC PRG:09BC 85 EB lda Zp0E ; CPU:$C9BE PRG:09BE A5 0E sta ZpFC ; CPU:$C9C0 PRG:09C0 85 FC - lda Zp4A ; CPU:$C9C2 PRG:09C2 A5 4A + lda SprIndex ; CPU:$C9C2 PRG:09C2 A5 4A cmp #$01 ; CPU:$C9C4 PRG:09C4 C9 01 - bne Label_C9D9 ; CPU:$C9C6 PRG:09C6 D0 11 + bne SubCC995_Block_6 ; CPU:$C9C6 PRG:09C6 D0 11 lda #$01 ; CPU:$C9C8 PRG:09C8 A9 01 - sta Zp00 ; CPU:$C9CA PRG:09CA 85 00 + sta PtrLo ; CPU:$C9CA PRG:09CA 85 00 lda #$3F ; CPU:$C9CC PRG:09CC A9 3F - sta Zp01 ; CPU:$C9CE PRG:09CE 85 01 + sta PtrHi ; CPU:$C9CE PRG:09CE 85 01 lda #$00 ; CPU:$C9D0 PRG:09D0 A9 00 - sta Zp02 ; CPU:$C9D2 PRG:09D2 85 02 + sta Ptr2Lo ; CPU:$C9D2 PRG:09D2 85 02 lda #$C3 ; CPU:$C9D4 PRG:09D4 A9 C3 jsr $F2AA ; CPU:$C9D6 PRG:09D6 20 AA F2 ; ----------------------------------------------------------------------------- -; Routine: Label_C9D9 +; Routine: SubCC995_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +1737,17 @@ Label_C9A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9D9: - lda Zp10 ; CPU:$C9D9 PRG:09D9 A5 10 +SubCC995_Block_6: + lda VBlankTimer ; CPU:$C9D9 PRG:09D9 A5 10 and #$FE ; CPU:$C9DB PRG:09DB 29 FE - sta Zp10 ; CPU:$C9DD PRG:09DD 85 10 + sta VBlankTimer ; CPU:$C9DD PRG:09DD 85 10 sta $2000 ; CPU:$C9DF PRG:09DF 8D 00 20 lda Zp11 ; CPU:$C9E2 PRG:09E2 A5 11 and #$EF ; CPU:$C9E4 PRG:09E4 29 EF sta Zp11 ; CPU:$C9E6 PRG:09E6 85 11 jmp $C9F8 ; CPU:$C9E8 PRG:09E8 4C F8 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C9EB +; Routine: SubCC995_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1746,10 +1755,10 @@ Label_C9D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9EB: +SubCC995_Block_5: rts ; CPU:$C9EB PRG:09EB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C9EC +; Routine: SubCC995_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +1766,7 @@ Label_C9EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9EC: +SubCC995_Block_4: lda #$01 ; CPU:$C9EC PRG:09EC A9 01 sta ZpEB ; CPU:$C9EE PRG:09EE 85 EB lda ZpFC ; CPU:$C9F0 PRG:09F0 A5 FC @@ -1765,7 +1774,7 @@ Label_C9EC: lda #$00 ; CPU:$C9F4 PRG:09F4 A9 00 sta ZpFC ; CPU:$C9F6 PRG:09F6 85 FC ; ----------------------------------------------------------------------------- -; Routine: Label_C9F8 +; Routine: SubCC9F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1773,14 +1782,14 @@ Label_C9EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9F8: +SubCC9F8: lda #$40 ; CPU:$C9F8 PRG:09F8 A9 40 sta ZpEE ; CPU:$C9FA PRG:09FA 85 EE lda #$40 ; CPU:$C9FC PRG:09FC A9 40 sta ZpFD ; CPU:$C9FE PRG:09FE 85 FD rts ; CPU:$CA00 PRG:0A00 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA01 +; Routine: SubCC995_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1788,10 +1797,10 @@ Label_C9F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA01: +SubCC995_Block: sta $0418 ; CPU:$CA01 PRG:0A01 8D 18 04 ; ----------------------------------------------------------------------------- -; Routine: Label_CA04 +; Routine: SubCC995_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1799,13 +1808,13 @@ Label_CA01: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA04: +SubCC995_Block_3: lda ZpEE ; CPU:$CA04 PRG:0A04 A5 EE - beq Label_CA0B ; CPU:$CA06 PRG:0A06 F0 03 + beq SubCC9F8_Block ; CPU:$CA06 PRG:0A06 F0 03 dec ZpEE ; CPU:$CA08 PRG:0A08 C6 EE rts ; CPU:$CA0A PRG:0A0A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA0B +; Routine: SubCC9F8_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +1822,12 @@ Label_CA04: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA0B: +SubCC9F8_Block: lda ZpEB ; CPU:$CA0B PRG:0A0B A5 EB - bne Label_CA10 ; CPU:$CA0D PRG:0A0D D0 01 + bne SubCC9F8_Block_2 ; CPU:$CA0D PRG:0A0D D0 01 rts ; CPU:$CA0F PRG:0A0F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA10 +; Routine: SubCC9F8_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,27 +1835,27 @@ Label_CA0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA10: - lda Zp10 ; CPU:$CA10 PRG:0A10 A5 10 +SubCC9F8_Block_2: + lda VBlankTimer ; CPU:$CA10 PRG:0A10 A5 10 ora #$01 ; CPU:$CA12 PRG:0A12 09 01 - sta Zp10 ; CPU:$CA14 PRG:0A14 85 10 + sta VBlankTimer ; CPU:$CA14 PRG:0A14 85 10 sta $2000 ; CPU:$CA16 PRG:0A16 8D 00 20 lda Zp11 ; CPU:$CA19 PRG:0A19 A5 11 ora #$10 ; CPU:$CA1B PRG:0A1B 09 10 sta Zp11 ; CPU:$CA1D PRG:0A1D 85 11 - lda Zp4A ; CPU:$CA1F PRG:0A1F A5 4A + lda SprIndex ; CPU:$CA1F PRG:0A1F A5 4A cmp #$01 ; CPU:$CA21 PRG:0A21 C9 01 - bne Label_CA36 ; CPU:$CA23 PRG:0A23 D0 11 + bne SubCC9F8_Block_3 ; CPU:$CA23 PRG:0A23 D0 11 lda #$01 ; CPU:$CA25 PRG:0A25 A9 01 - sta Zp00 ; CPU:$CA27 PRG:0A27 85 00 + sta PtrLo ; CPU:$CA27 PRG:0A27 85 00 lda #$3F ; CPU:$CA29 PRG:0A29 A9 3F - sta Zp01 ; CPU:$CA2B PRG:0A2B 85 01 + sta PtrHi ; CPU:$CA2B PRG:0A2B 85 01 lda #$FD ; CPU:$CA2D PRG:0A2D A9 FD - sta Zp02 ; CPU:$CA2F PRG:0A2F 85 02 + sta Ptr2Lo ; CPU:$CA2F PRG:0A2F 85 02 lda #$C2 ; CPU:$CA31 PRG:0A31 A9 C2 jsr $F2AA ; CPU:$CA33 PRG:0A33 20 AA F2 ; ----------------------------------------------------------------------------- -; Routine: Label_CA36 +; Routine: SubCC9F8_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1854,7 +1863,7 @@ Label_CA10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA36: +SubCC9F8_Block_3: rts ; CPU:$CA36 PRG:0A36 60 ; ----------------------------------------------------------------------------- ; Routine: CheckAnswer @@ -1868,11 +1877,11 @@ Label_CA36: CheckAnswer: ldy #$00 ; CPU:$CA37 PRG:0A37 A0 00 txa ; CPU:$CA39 PRG:0A39 8A - bne Label_CA41 ; CPU:$CA3A PRG:0A3A D0 05 + bne CheckAnswer_Block ; CPU:$CA3A PRG:0A3A D0 05 lda Zp15 ; CPU:$CA3C PRG:0A3C A5 15 jmp $CA43 ; CPU:$CA3E PRG:0A3E 4C 43 CA ; ----------------------------------------------------------------------------- -; Routine: Label_CA41 +; Routine: CheckAnswer_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +1889,7 @@ CheckAnswer: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA41: +CheckAnswer_Block: lda Zp17 ; CPU:$CA41 PRG:0A41 A5 17 ; ----------------------------------------------------------------------------- ; Routine: CheckAnswer2 @@ -1893,18 +1902,18 @@ Label_CA41: ; ----------------------------------------------------------------------------- CheckAnswer2: and #$0F ; CPU:$CA43 PRG:0A43 29 0F - beq Label_CA5B ; CPU:$CA45 PRG:0A45 F0 14 + beq CheckAnswer2_Block_5 ; CPU:$CA45 PRG:0A45 F0 14 cmp #$08 ; CPU:$CA47 PRG:0A47 C9 08 - beq Label_CA5A ; CPU:$CA49 PRG:0A49 F0 0F + beq CheckAnswer2_Block_2 ; CPU:$CA49 PRG:0A49 F0 0F cmp #$04 ; CPU:$CA4B PRG:0A4B C9 04 - beq Label_CA59 ; CPU:$CA4D PRG:0A4D F0 0A + beq CheckAnswer2_Block_3 ; CPU:$CA4D PRG:0A4D F0 0A cmp #$02 ; CPU:$CA4F PRG:0A4F C9 02 - beq Label_CA58 ; CPU:$CA51 PRG:0A51 F0 05 + beq CheckAnswer2_Block_4 ; CPU:$CA51 PRG:0A51 F0 05 cmp #$01 ; CPU:$CA53 PRG:0A53 C9 01 - bne Label_CA5B ; CPU:$CA55 PRG:0A55 D0 04 + bne CheckAnswer2_Block_5 ; CPU:$CA55 PRG:0A55 D0 04 iny ; CPU:$CA57 PRG:0A57 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CA58 +; Routine: CheckAnswer2_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +1921,10 @@ CheckAnswer2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA58: +CheckAnswer2_Block_4: iny ; CPU:$CA58 PRG:0A58 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CA59 +; Routine: CheckAnswer2_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +1932,10 @@ Label_CA58: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA59: +CheckAnswer2_Block_3: iny ; CPU:$CA59 PRG:0A59 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CA5A +; Routine: CheckAnswer2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1934,10 +1943,10 @@ Label_CA59: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA5A: +CheckAnswer2_Block_2: iny ; CPU:$CA5A PRG:0A5A C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CA5B +; Routine: CheckAnswer2_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +1954,17 @@ Label_CA5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA5B: - sty Zp51,x ; CPU:$CA5B PRG:0A5B 94 51 +CheckAnswer2_Block_5: + sty BtnState,x ; CPU:$CA5B PRG:0A5B 94 51 lda $05CE,x ; CPU:$CA5D PRG:0A5D BD CE 05 - bne Label_CA6D ; CPU:$CA60 PRG:0A60 D0 0B - lda Zp51,x ; CPU:$CA62 PRG:0A62 B5 51 + bne CheckAnswer2_Block_7 ; CPU:$CA60 PRG:0A60 D0 0B + lda BtnState,x ; CPU:$CA62 PRG:0A62 B5 51 cmp Zp53,x ; CPU:$CA64 PRG:0A64 D5 53 - beq Label_CA6D ; CPU:$CA66 PRG:0A66 F0 05 + beq CheckAnswer2_Block_7 ; CPU:$CA66 PRG:0A66 F0 05 lda #$01 ; CPU:$CA68 PRG:0A68 A9 01 sta $05CE,x ; CPU:$CA6A PRG:0A6A 9D CE 05 ; ----------------------------------------------------------------------------- -; Routine: Label_CA6D +; Routine: CheckAnswer2_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +1972,16 @@ Label_CA5B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA6D: - lda Zp5F,x ; CPU:$CA6D PRG:0A6D B5 5F +CheckAnswer2_Block_7: + lda ObjIndex,x ; CPU:$CA6D PRG:0A6D B5 5F cmp #$02 ; CPU:$CA6F PRG:0A6F C9 02 - beq Label_CA85 ; CPU:$CA71 PRG:0A71 F0 12 + beq CheckAnswer3_1_Block ; CPU:$CA71 PRG:0A71 F0 12 txa ; CPU:$CA73 PRG:0A73 8A - bne Label_CA7B ; CPU:$CA74 PRG:0A74 D0 05 + bne CheckAnswer2_Block_9 ; CPU:$CA74 PRG:0A74 D0 05 lda Zp15 ; CPU:$CA76 PRG:0A76 A5 15 jmp $CA7D ; CPU:$CA78 PRG:0A78 4C 7D CA ; ----------------------------------------------------------------------------- -; Routine: Label_CA7B +; Routine: CheckAnswer2_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1980,7 +1989,7 @@ Label_CA6D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA7B: +CheckAnswer2_Block_9: lda Zp17 ; CPU:$CA7B PRG:0A7B A5 17 ; ----------------------------------------------------------------------------- ; Routine: CheckAnswer3_1 @@ -1993,11 +2002,11 @@ Label_CA7B: ; ----------------------------------------------------------------------------- CheckAnswer3_1: and #$80 ; CPU:$CA7D PRG:0A7D 29 80 - beq Label_CA85 ; CPU:$CA7F PRG:0A7F F0 04 + beq CheckAnswer3_1_Block ; CPU:$CA7F PRG:0A7F F0 04 lda #$03 ; CPU:$CA81 PRG:0A81 A9 03 - sta Zp5F,x ; CPU:$CA83 PRG:0A83 95 5F + sta ObjIndex,x ; CPU:$CA83 PRG:0A83 95 5F ; ----------------------------------------------------------------------------- -; Routine: Label_CA85 +; Routine: CheckAnswer3_1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +2014,7 @@ CheckAnswer3_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA85: +CheckAnswer3_1_Block: rts ; CPU:$CA85 PRG:0A85 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateScore_3 @@ -2018,15 +2027,15 @@ Label_CA85: ; ----------------------------------------------------------------------------- UpdateScore_3: lda Zp5B,x ; CPU:$CA86 PRG:0A86 B5 5B - beq Label_CA98 ; CPU:$CA88 PRG:0A88 F0 0E + beq UpdateScore_3_Block ; CPU:$CA88 PRG:0A88 F0 0E jsr $D6BA ; CPU:$CA8A PRG:0A8A 20 BA D6 lda #$08 ; CPU:$CA8D PRG:0A8D A9 08 - sta Zp02 ; CPU:$CA8F PRG:0A8F 85 02 + sta Ptr2Lo ; CPU:$CA8F PRG:0A8F 85 02 jsr $D6A3 ; CPU:$CA91 PRG:0A91 20 A3 D6 lda #$00 ; CPU:$CA94 PRG:0A94 A9 00 sta Zp5B,x ; CPU:$CA96 PRG:0A96 95 5B ; ----------------------------------------------------------------------------- -; Routine: Label_CA98 +; Routine: UpdateScore_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +2043,7 @@ UpdateScore_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA98: +UpdateScore_3_Block: rts ; CPU:$CA98 PRG:0A98 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateScore2_1 @@ -2046,24 +2055,24 @@ Label_CA98: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateScore2_1: - lda Zp4A ; CPU:$CA99 PRG:0A99 A5 4A + lda SprIndex ; CPU:$CA99 PRG:0A99 A5 4A cmp #$03 ; CPU:$CA9B PRG:0A9B C9 03 - beq Label_CAC7 ; CPU:$CA9D PRG:0A9D F0 28 + beq UpdateScore2_1_Block ; CPU:$CA9D PRG:0A9D F0 28 lda ZpC0 ; CPU:$CA9F PRG:0A9F A5 C0 - beq Label_CABA ; CPU:$CAA1 PRG:0AA1 F0 17 + beq UpdateScore2_1_Block_4 ; CPU:$CAA1 PRG:0AA1 F0 17 lda $0402 ; CPU:$CAA3 PRG:0AA3 AD 02 04 cmp #$0A ; CPU:$CAA6 PRG:0AA6 C9 0A - beq Label_CAC6 ; CPU:$CAA8 PRG:0AA8 F0 1C + beq UpdateScore2_1_Block_6 ; CPU:$CAA8 PRG:0AA8 F0 1C jsr $DECB ; CPU:$CAAA PRG:0AAA 20 CB DE - beq Label_CABA ; CPU:$CAAD PRG:0AAD F0 0B + beq UpdateScore2_1_Block_4 ; CPU:$CAAD PRG:0AAD F0 0B lda #$00 ; CPU:$CAAF PRG:0AAF A9 00 sta ZpC0 ; CPU:$CAB1 PRG:0AB1 85 C0 - lda Zp4A ; CPU:$CAB3 PRG:0AB3 A5 4A + lda SprIndex ; CPU:$CAB3 PRG:0AB3 A5 4A cmp #$01 ; CPU:$CAB5 PRG:0AB5 C9 01 - bne Label_CAC6 ; CPU:$CAB7 PRG:0AB7 D0 0D + bne UpdateScore2_1_Block_6 ; CPU:$CAB7 PRG:0AB7 D0 0D rts ; CPU:$CAB9 PRG:0AB9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CABA +; Routine: UpdateScore2_1_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2071,14 +2080,14 @@ UpdateScore2_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CABA: - lda Zp4A ; CPU:$CABA PRG:0ABA A5 4A +UpdateScore2_1_Block_4: + lda SprIndex ; CPU:$CABA PRG:0ABA A5 4A cmp #$02 ; CPU:$CABC PRG:0ABC C9 02 - beq Label_CAC6 ; CPU:$CABE PRG:0ABE F0 06 + beq UpdateScore2_1_Block_6 ; CPU:$CABE PRG:0ABE F0 06 jsr $D4F4 ; CPU:$CAC0 PRG:0AC0 20 F4 D4 jsr $DFEE ; CPU:$CAC3 PRG:0AC3 20 EE DF ; ----------------------------------------------------------------------------- -; Routine: Label_CAC6 +; Routine: UpdateScore2_1_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +2095,10 @@ Label_CABA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAC6: +UpdateScore2_1_Block_6: rts ; CPU:$CAC6 PRG:0AC6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CAC7 +; Routine: UpdateScore2_1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2097,15 +2106,15 @@ Label_CAC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAC7: +UpdateScore2_1_Block: txa ; CPU:$CAC7 PRG:0AC7 8A pha ; CPU:$CAC8 PRG:0AC8 48 jsr $E7FC ; CPU:$CAC9 PRG:0AC9 20 FC E7 lda ZpAF ; CPU:$CACC PRG:0ACC A5 AF - bne Label_CAD3 ; CPU:$CACE PRG:0ACE D0 03 + bne UpdateScore2_1_Block_7 ; CPU:$CACE PRG:0ACE D0 03 jsr $F006 ; CPU:$CAD0 PRG:0AD0 20 06 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_CAD3 +; Routine: UpdateScore2_1_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2113,19 +2122,19 @@ Label_CAC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAD3: +UpdateScore2_1_Block_7: jsr $E353 ; CPU:$CAD3 PRG:0AD3 20 53 E3 jsr $E674 ; CPU:$CAD6 PRG:0AD6 20 74 E6 jsr $E3A5 ; CPU:$CAD9 PRG:0AD9 20 A5 E3 jsr $E928 ; CPU:$CADC PRG:0ADC 20 28 E9 jsr $EA39 ; CPU:$CADF PRG:0ADF 20 39 EA jsr $E2DE ; CPU:$CAE2 PRG:0AE2 20 DE E2 - lda ZpEC ; CPU:$CAE5 PRG:0AE5 A5 EC + lda GameState ; CPU:$CAE5 PRG:0AE5 A5 EC cmp #$08 ; CPU:$CAE7 PRG:0AE7 C9 08 - beq Label_CAEE ; CPU:$CAE9 PRG:0AE9 F0 03 + beq UpdateScore2_1_Block_8 ; CPU:$CAE9 PRG:0AE9 F0 03 jsr $EFF7 ; CPU:$CAEB PRG:0AEB 20 F7 EF ; ----------------------------------------------------------------------------- -; Routine: Label_CAEE +; Routine: UpdateScore2_1_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2133,7 +2142,7 @@ Label_CAD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAEE: +UpdateScore2_1_Block_8: jsr $E715 ; CPU:$CAEE PRG:0AEE 20 15 E7 jsr $D34F ; CPU:$CAF1 PRG:0AF1 20 4F D3 pla ; CPU:$CAF4 PRG:0AF4 68 @@ -2152,13 +2161,13 @@ UpdateScore3: lda #$00 ; CPU:$CAF7 PRG:0AF7 A9 00 sta ZpFC ; CPU:$CAF9 PRG:0AF9 85 FC lda Zp57,x ; CPU:$CAFB PRG:0AFB B5 57 - bne Label_CB14 ; CPU:$CAFD PRG:0AFD D0 15 + bne UpdateScore3_Block ; CPU:$CAFD PRG:0AFD D0 15 lda Zp59,x ; CPU:$CAFF PRG:0AFF B5 59 - beq Label_CB09 ; CPU:$CB01 PRG:0B01 F0 06 + beq UpdateScore3_Block_2 ; CPU:$CB01 PRG:0B01 F0 06 jsr $D2BC ; CPU:$CB03 PRG:0B03 20 BC D2 jmp $CB17 ; CPU:$CB06 PRG:0B06 4C 17 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB09 +; Routine: UpdateScore3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2166,12 +2175,12 @@ UpdateScore3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB09: +UpdateScore3_Block_2: jsr $D562 ; CPU:$CB09 PRG:0B09 20 62 D5 - beq Label_CB11 ; CPU:$CB0C PRG:0B0C F0 03 + beq UpdateScore3_Block_3 ; CPU:$CB0C PRG:0B0C F0 03 jmp $CB26 ; CPU:$CB0E PRG:0B0E 4C 26 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB11 +; Routine: UpdateScore3_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2179,10 +2188,10 @@ Label_CB09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB11: +UpdateScore3_Block_3: jmp $D292 ; CPU:$CB11 PRG:0B11 4C 92 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_CB14 +; Routine: UpdateScore3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2190,7 +2199,7 @@ Label_CB11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB14: +UpdateScore3_Block: dec Zp57,x ; CPU:$CB14 PRG:0B14 D6 57 rts ; CPU:$CB16 PRG:0B16 60 ; ----------------------------------------------------------------------------- @@ -2204,12 +2213,12 @@ Label_CB14: ; ----------------------------------------------------------------------------- UpdateGameState2_3: lda #$03 ; CPU:$CB17 PRG:0B17 A9 03 - ldy ZpEC ; CPU:$CB19 PRG:0B19 A4 EC + ldy GameState ; CPU:$CB19 PRG:0B19 A4 EC cpy #$08 ; CPU:$CB1B PRG:0B1B C0 08 - bne Label_CB21 ; CPU:$CB1D PRG:0B1D D0 02 + bne UpdateGameState2_3_Block ; CPU:$CB1D PRG:0B1D D0 02 lda #$01 ; CPU:$CB1F PRG:0B1F A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_CB21 +; Routine: UpdateGameState2_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2217,7 +2226,7 @@ UpdateGameState2_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB21: +UpdateGameState2_3_Block: sta Zp57,x ; CPU:$CB21 PRG:0B21 95 57 dec Zp59,x ; CPU:$CB23 PRG:0B23 D6 59 rts ; CPU:$CB25 PRG:0B25 60 @@ -2231,19 +2240,19 @@ Label_CB21: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- CheckAnswer3_3: - lda Zp4A ; CPU:$CB26 PRG:0B26 A5 4A + lda SprIndex ; CPU:$CB26 PRG:0B26 A5 4A cmp #$01 ; CPU:$CB28 PRG:0B28 C9 01 - bne Label_CB3E ; CPU:$CB2A PRG:0B2A D0 12 + bne CheckAnswer3_3_Block ; CPU:$CB2A PRG:0B2A D0 12 lda #$32 ; CPU:$CB2C PRG:0B2C A9 32 sta Zp79 ; CPU:$CB2E PRG:0B2E 85 79 ldy #$00 ; CPU:$CB30 PRG:0B30 A0 00 jsr $C814 ; CPU:$CB32 PRG:0B32 20 14 C8 lda #$01 ; CPU:$CB35 PRG:0B35 A9 01 - sta Zp5F,x ; CPU:$CB37 PRG:0B37 95 5F + sta ObjIndex,x ; CPU:$CB37 PRG:0B37 95 5F ldy #$10 ; CPU:$CB39 PRG:0B39 A0 10 jmp $CB89 ; CPU:$CB3B PRG:0B3B 4C 89 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB3E +; Routine: CheckAnswer3_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2251,10 +2260,10 @@ CheckAnswer3_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB3E: - lda ZpEC ; CPU:$CB3E PRG:0B3E A5 EC +CheckAnswer3_3_Block: + lda GameState ; CPU:$CB3E PRG:0B3E A5 EC cmp #$08 ; CPU:$CB40 PRG:0B40 C9 08 - bne Label_CB6D ; CPU:$CB42 PRG:0B42 D0 29 + bne CheckAnswer3_3_Block_2 ; CPU:$CB42 PRG:0B42 D0 29 ; ----------------------------------------------------------------------------- ; Routine: UpdateGameState3_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -2268,18 +2277,18 @@ UpdateGameState3_3: jsr $E387 ; CPU:$CB44 PRG:0B44 20 87 E3 lda $0402 ; CPU:$CB47 PRG:0B47 AD 02 04 cmp #$0A ; CPU:$CB4A PRG:0B4A C9 0A - bmi Label_CB60 ; CPU:$CB4C PRG:0B4C 30 12 + bmi UpdateGameState3_3_Block ; CPU:$CB4C PRG:0B4C 30 12 jsr $E2B4 ; CPU:$CB4E PRG:0B4E 20 B4 E2 lda #$10 ; CPU:$CB51 PRG:0B51 A9 10 sta ZpFD ; CPU:$CB53 PRG:0B53 85 FD lda #$D0 ; CPU:$CB55 PRG:0B55 A9 D0 - sta Zp39 ; CPU:$CB57 PRG:0B57 85 39 + sta SprCount ; CPU:$CB57 PRG:0B57 85 39 lda #$00 ; CPU:$CB59 PRG:0B59 A9 00 sta Zp48 ; CPU:$CB5B PRG:0B5B 85 48 - sta ZpEC ; CPU:$CB5D PRG:0B5D 85 EC + sta GameState ; CPU:$CB5D PRG:0B5D 85 EC rts ; CPU:$CB5F PRG:0B5F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB60 +; Routine: UpdateGameState3_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +2296,14 @@ UpdateGameState3_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB60: +UpdateGameState3_3_Block: lda #$05 ; CPU:$CB60 PRG:0B60 A9 05 - sta ZpEC ; CPU:$CB62 PRG:0B62 85 EC + sta GameState ; CPU:$CB62 PRG:0B62 85 EC jsr $C707 ; CPU:$CB64 PRG:0B64 20 07 C7 jsr $C7C3 ; CPU:$CB67 PRG:0B67 20 C3 C7 jmp $CB73 ; CPU:$CB6A PRG:0B6A 4C 73 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB6D +; Routine: CheckAnswer3_3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,9 +2311,9 @@ Label_CB60: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB6D: +CheckAnswer3_3_Block_2: lda #$16 ; CPU:$CB6D PRG:0B6D A9 16 - sta ZpEC ; CPU:$CB6F PRG:0B6F 85 EC + sta GameState ; CPU:$CB6F PRG:0B6F 85 EC sta ZpDB ; CPU:$CB71 PRG:0B71 85 DB ; ----------------------------------------------------------------------------- ; Routine: UpdatePlayerScore @@ -2324,7 +2333,7 @@ UpdatePlayerScore: lda #$FF ; CPU:$CB7F PRG:0B7F A9 FF sta Zp79 ; CPU:$CB81 PRG:0B81 85 79 lda #$01 ; CPU:$CB83 PRG:0B83 A9 01 - sta Zp5F ; CPU:$CB85 PRG:0B85 85 5F + sta ObjIndex ; CPU:$CB85 PRG:0B85 85 5F ldy #$02 ; CPU:$CB87 PRG:0B87 A0 02 ; ----------------------------------------------------------------------------- ; Routine: CheckAnswer4 @@ -2352,14 +2361,14 @@ CheckAnswer4: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateGameState4_3: - lda Zp4A ; CPU:$CB94 PRG:0B94 A5 4A + lda SprIndex ; CPU:$CB94 PRG:0B94 A5 4A cmp #$01 ; CPU:$CB96 PRG:0B96 C9 01 - beq Label_CB9F ; CPU:$CB98 PRG:0B98 F0 05 + beq UpdateGameState4_3_Block ; CPU:$CB98 PRG:0B98 F0 05 cmp #$02 ; CPU:$CB9A PRG:0B9A C9 02 - bpl Label_CBC3 ; CPU:$CB9C PRG:0B9C 10 25 + bpl UpdateGameState4_3_Block_2 ; CPU:$CB9C PRG:0B9C 10 25 rts ; CPU:$CB9E PRG:0B9E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB9F +; Routine: UpdateGameState4_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +2376,7 @@ UpdateGameState4_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB9F: +UpdateGameState4_3_Block: ldx #$00 ; CPU:$CB9F PRG:0B9F A2 00 jsr $E1C1 ; CPU:$CBA1 PRG:0BA1 20 C1 E1 lda #$00 ; CPU:$CBA4 PRG:0BA4 A9 00 @@ -2382,9 +2391,9 @@ Label_CB9F: lda Zp4C ; CPU:$CBBB PRG:0BBB A5 4C beq UpdateGameState5 ; CPU:$CBBD PRG:0BBD F0 0D lda #$90 ; CPU:$CBBF PRG:0BBF A9 90 - bne Label_CBCE ; CPU:$CBC1 PRG:0BC1 D0 0B + bne UpdateGameState4_3_Block_3 ; CPU:$CBC1 PRG:0BC1 D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_CBC3 +; Routine: UpdateGameState4_3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2392,12 +2401,12 @@ Label_CB9F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBC3: - beq Label_CBCA ; CPU:$CBC3 PRG:0BC3 F0 05 - dec Zp4A ; CPU:$CBC5 PRG:0BC5 C6 4A +UpdateGameState4_3_Block_2: + beq UpdateGameState4_3_Block_4 ; CPU:$CBC3 PRG:0BC3 F0 05 + dec SprIndex ; CPU:$CBC5 PRG:0BC5 C6 4A jmp $CBCC ; CPU:$CBC7 PRG:0BC7 4C CC CB ; ----------------------------------------------------------------------------- -; Routine: Label_CBCA +; Routine: UpdateGameState4_3_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2405,8 +2414,8 @@ Label_CBC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBCA: - inc Zp4A ; CPU:$CBCA PRG:0BCA E6 4A +UpdateGameState4_3_Block_4: + inc SprIndex ; CPU:$CBCA PRG:0BCA E6 4A ; ----------------------------------------------------------------------------- ; Routine: UpdateGameState5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -2419,7 +2428,7 @@ Label_CBCA: UpdateGameState5: lda #$7A ; CPU:$CBCC PRG:0BCC A9 7A ; ----------------------------------------------------------------------------- -; Routine: Label_CBCE +; Routine: UpdateGameState4_3_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,8 +2436,8 @@ UpdateGameState5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBCE: - sta Zp39 ; CPU:$CBCE PRG:0BCE 85 39 +UpdateGameState4_3_Block_3: + sta SprCount ; CPU:$CBCE PRG:0BCE 85 39 lda #$00 ; CPU:$CBD0 PRG:0BD0 A9 00 sta Zp48 ; CPU:$CBD2 PRG:0BD2 85 48 sta Zp4B ; CPU:$CBD4 PRG:0BD4 85 4B @@ -2443,12 +2452,12 @@ Label_CBCE: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdatePlayerPosition_3: - lda Zp5F,x ; CPU:$CBD7 PRG:0BD7 B5 5F + lda ObjIndex,x ; CPU:$CBD7 PRG:0BD7 B5 5F cmp Zp61,x ; CPU:$CBD9 PRG:0BD9 D5 61 - bne Label_CBDE ; CPU:$CBDB PRG:0BDB D0 01 + bne UpdatePlayerPosition_3_Block ; CPU:$CBDB PRG:0BDB D0 01 rts ; CPU:$CBDD PRG:0BDD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CBDE +; Routine: UpdatePlayerPosition_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2456,26 +2465,26 @@ UpdatePlayerPosition_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBDE: +UpdatePlayerPosition_3_Block: lda #$00 ; CPU:$CBDE PRG:0BDE A9 00 sta Zp55,x ; CPU:$CBE0 PRG:0BE0 95 55 sta Zp75 ; CPU:$CBE2 PRG:0BE2 85 75 - lda Zp5F,x ; CPU:$CBE4 PRG:0BE4 B5 5F + lda ObjIndex,x ; CPU:$CBE4 PRG:0BE4 B5 5F cmp #$01 ; CPU:$CBE6 PRG:0BE6 C9 01 - beq Label_CC02 ; CPU:$CBE8 PRG:0BE8 F0 18 + beq UpdatePlayerPosition_3_Block_2 ; CPU:$CBE8 PRG:0BE8 F0 18 cmp #$02 ; CPU:$CBEA PRG:0BEA C9 02 - beq Label_CC10 ; CPU:$CBEC PRG:0BEC F0 22 + beq UpdatePlayerPosition_3_Block_3 ; CPU:$CBEC PRG:0BEC F0 22 cmp #$03 ; CPU:$CBEE PRG:0BEE C9 03 - beq Label_CC26 ; CPU:$CBF0 PRG:0BF0 F0 34 + beq UpdatePlayerPosition_3_Block_4 ; CPU:$CBF0 PRG:0BF0 F0 34 cmp #$04 ; CPU:$CBF2 PRG:0BF2 C9 04 - beq Label_CC2C ; CPU:$CBF4 PRG:0BF4 F0 36 + beq UpdatePlayerPosition_3_Block_5 ; CPU:$CBF4 PRG:0BF4 F0 36 lda Zp61,x ; CPU:$CBF6 PRG:0BF6 B5 61 cmp #$04 ; CPU:$CBF8 PRG:0BF8 C9 04 bne UpdateGameState7 ; CPU:$CBFA PRG:0BFA D0 46 jsr $D242 ; CPU:$CBFC PRG:0BFC 20 42 D2 jmp $CC3E ; CPU:$CBFF PRG:0BFF 4C 3E CC ; ----------------------------------------------------------------------------- -; Routine: Label_CC02 +; Routine: UpdatePlayerPosition_3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2483,16 +2492,16 @@ Label_CBDE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC02: +UpdatePlayerPosition_3_Block_2: lda #$00 ; CPU:$CC02 PRG:0C02 A9 00 sta Zp6F,x ; CPU:$CC04 PRG:0C04 95 6F - sta Zp02 ; CPU:$CC06 PRG:0C06 85 02 + sta Ptr2Lo ; CPU:$CC06 PRG:0C06 85 02 sta Zp69,x ; CPU:$CC08 PRG:0C08 95 69 sta Zp67,x ; CPU:$CC0A PRG:0C0A 95 67 - sta Zp39,x ; CPU:$CC0C PRG:0C0C 95 39 + sta SprCount,x ; CPU:$CC0C PRG:0C0C 95 39 beq UpdateGameState7 ; CPU:$CC0E PRG:0C0E F0 32 ; ----------------------------------------------------------------------------- -; Routine: Label_CC10 +; Routine: UpdatePlayerPosition_3_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2500,18 +2509,18 @@ Label_CC02: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC10: +UpdatePlayerPosition_3_Block_3: lda #$01 ; CPU:$CC10 PRG:0C10 A9 01 sta Zp6B,x ; CPU:$CC12 PRG:0C12 95 6B sta Zp76,x ; CPU:$CC14 PRG:0C14 95 76 jsr $E74A ; CPU:$CC16 PRG:0C16 20 4A E7 - lda Zp4A ; CPU:$CC19 PRG:0C19 A5 4A + lda SprIndex ; CPU:$CC19 PRG:0C19 A5 4A cmp #$03 ; CPU:$CC1B PRG:0C1B C9 03 - bne Label_CC23 ; CPU:$CC1D PRG:0C1D D0 04 + bne UpdatePlayerPosition_3_Block_6 ; CPU:$CC1D PRG:0C1D D0 04 lda #$00 ; CPU:$CC1F PRG:0C1F A9 00 sta Zp63,x ; CPU:$CC21 PRG:0C21 95 63 ; ----------------------------------------------------------------------------- -; Routine: Label_CC23 +; Routine: UpdatePlayerPosition_3_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +2528,10 @@ Label_CC10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC23: +UpdatePlayerPosition_3_Block_6: jmp $CC42 ; CPU:$CC23 PRG:0C23 4C 42 CC ; ----------------------------------------------------------------------------- -; Routine: Label_CC26 +; Routine: UpdatePlayerPosition_3_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +2539,11 @@ Label_CC23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC26: +UpdatePlayerPosition_3_Block_4: jsr $CC47 ; CPU:$CC26 PRG:0C26 20 47 CC jmp $CC42 ; CPU:$CC29 PRG:0C29 4C 42 CC ; ----------------------------------------------------------------------------- -; Routine: Label_CC2C +; Routine: UpdatePlayerPosition_3_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2542,8 +2551,8 @@ Label_CC26: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC2C: - jsr $DA5E ; CPU:$CC2C PRG:0C2C 20 5E DA +UpdatePlayerPosition_3_Block_5: + jsr SubCDA5E ; CPU:$CC2C PRG:0C2C 20 5E DA lda $0210,y ; CPU:$CC2F PRG:0C2F B9 10 02 sta Zp71,x ; CPU:$CC32 PRG:0C32 95 71 lda #$01 ; CPU:$CC34 PRG:0C34 A9 01 @@ -2562,7 +2571,7 @@ Label_CC2C: ; ----------------------------------------------------------------------------- UpdateGameState6: lda #$01 ; CPU:$CC3E PRG:0C3E A9 01 - sta ZpFF ; CPU:$CC40 PRG:0C40 85 FF + sta FrameCounter ; CPU:$CC40 PRG:0C40 85 FF ; ----------------------------------------------------------------------------- ; Routine: UpdateGameState7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -2573,7 +2582,7 @@ UpdateGameState6: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateGameState7: - lda Zp5F,x ; CPU:$CC42 PRG:0C42 B5 5F + lda ObjIndex,x ; CPU:$CC42 PRG:0C42 B5 5F sta Zp61,x ; CPU:$CC44 PRG:0C44 95 61 rts ; CPU:$CC46 PRG:0C46 60 ; ----------------------------------------------------------------------------- @@ -2592,8 +2601,8 @@ InitGame_3: lda #$00 ; CPU:$CC4A PRG:0C4A A9 00 sta a:$007C,y ; CPU:$CC4C PRG:0C4C 99 7C 00 lda #$40 ; CPU:$CC4F PRG:0C4F A9 40 - sta ZpFF ; CPU:$CC51 PRG:0C51 85 FF - jsr $DA5E ; CPU:$CC53 PRG:0C53 20 5E DA + sta FrameCounter ; CPU:$CC51 PRG:0C51 85 FF + jsr SubCDA5E ; CPU:$CC53 PRG:0C53 20 5E DA lda $0210,y ; CPU:$CC56 PRG:0C56 B9 10 02 sta Zp71,x ; CPU:$CC59 PRG:0C59 95 71 rts ; CPU:$CC5B PRG:0C5B 60 @@ -2615,7 +2624,7 @@ UpdateGameState8: pha ; CPU:$CC65 PRG:0C65 48 ldx #$03 ; CPU:$CC66 PRG:0C66 A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CC68 +; Routine: UpdateGameState8_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +2632,18 @@ UpdateGameState8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC68: +UpdateGameState8_Block: lda Zp88,x ; CPU:$CC68 PRG:0C68 B5 88 sta $05FC,x ; CPU:$CC6A PRG:0C6A 9D FC 05 dex ; CPU:$CC6D PRG:0C6D CA - bpl Label_CC68 ; CPU:$CC6E PRG:0C6E 10 F8 + bpl UpdateGameState8_Block ; CPU:$CC6E PRG:0C6E 10 F8 pla ; CPU:$CC70 PRG:0C70 68 tax ; CPU:$CC71 PRG:0C71 AA pla ; CPU:$CC72 PRG:0C72 68 tay ; CPU:$CC73 PRG:0C73 A8 rts ; CPU:$CC74 PRG:0C74 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC75 +; Routine: SubCCC75 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2642,14 +2651,14 @@ Label_CC68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC75: +SubCCC75: jsr $D6BA ; CPU:$CC75 PRG:0C75 20 BA D6 - lda Zp5F,x ; CPU:$CC78 PRG:0C78 B5 5F + lda ObjIndex,x ; CPU:$CC78 PRG:0C78 B5 5F cmp #$04 ; CPU:$CC7A PRG:0C7A C9 04 - bmi Label_CC80 ; CPU:$CC7C PRG:0C7C 30 02 + bmi SubCCC75_Block ; CPU:$CC7C PRG:0C7C 30 02 lda #$01 ; CPU:$CC7E PRG:0C7E A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_CC80 +; Routine: SubCCC75_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2657,17 +2666,17 @@ Label_CC75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC80: +SubCCC75_Block: sec ; CPU:$CC80 PRG:0C80 38 sbc #$01 ; CPU:$CC81 PRG:0C81 E9 01 asl a ; CPU:$CC83 PRG:0C83 0A asl a ; CPU:$CC84 PRG:0C84 0A clc ; CPU:$CC85 PRG:0C85 18 ldy Zp63,x ; CPU:$CC86 PRG:0C86 B4 63 - bne Label_CC8C ; CPU:$CC88 PRG:0C88 D0 02 + bne SubCCC75_Block_2 ; CPU:$CC88 PRG:0C88 D0 02 adc #$02 ; CPU:$CC8A PRG:0C8A 69 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CC8C +; Routine: SubCCC75_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +2684,13 @@ Label_CC80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC8C: +SubCCC75_Block_2: ldy Zp6B,x ; CPU:$CC8C PRG:0C8C B4 6B cpy #$02 ; CPU:$CC8E PRG:0C8E C0 02 - bne Label_CC94 ; CPU:$CC90 PRG:0C90 D0 02 + bne SubCCC75_Block_3 ; CPU:$CC90 PRG:0C90 D0 02 adc #$07 ; CPU:$CC92 PRG:0C92 69 07 ; ----------------------------------------------------------------------------- -; Routine: Label_CC94 +; Routine: SubCCC75_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2689,14 +2698,14 @@ Label_CC8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC94: +SubCCC75_Block_3: tay ; CPU:$CC94 PRG:0C94 A8 lda $C196,y ; CPU:$CC95 PRG:0C95 B9 96 C1 - sta Zp02 ; CPU:$CC98 PRG:0C98 85 02 + sta Ptr2Lo ; CPU:$CC98 PRG:0C98 85 02 lda $C197,y ; CPU:$CC9A PRG:0C9A B9 97 C1 rts ; CPU:$CC9D PRG:0C9D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC9E +; Routine: SubCCC9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2704,17 +2713,17 @@ Label_CC94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC9E: +SubCCC9E: lda #$FF ; CPU:$CC9E PRG:0C9E A9 FF sta $0414,x ; CPU:$CCA0 PRG:0CA0 9D 14 04 jsr $CC5C ; CPU:$CCA3 PRG:0CA3 20 5C CC - lda Zp5F,x ; CPU:$CCA6 PRG:0CA6 B5 5F + lda ObjIndex,x ; CPU:$CCA6 PRG:0CA6 B5 5F cmp #$01 ; CPU:$CCA8 PRG:0CA8 C9 01 beq UpdateGameState10 ; CPU:$CCAA PRG:0CAA F0 0B cmp #$02 ; CPU:$CCAC PRG:0CAC C9 02 - beq Label_CCBD ; CPU:$CCAE PRG:0CAE F0 0D + beq SubCCC9E_Block ; CPU:$CCAE PRG:0CAE F0 0D cmp #$03 ; CPU:$CCB0 PRG:0CB0 C9 03 - beq Label_CCC3 ; CPU:$CCB2 PRG:0CB2 F0 0F + beq SubCCC9E_Block_2 ; CPU:$CCB2 PRG:0CB2 F0 0F jmp $CE3D ; CPU:$CCB4 PRG:0CB4 4C 3D CE ; ----------------------------------------------------------------------------- ; Routine: UpdateGameState10 @@ -2729,7 +2738,7 @@ UpdateGameState10: jsr $CCC7 ; CPU:$CCB7 PRG:0CB7 20 C7 CC jmp $CCC6 ; CPU:$CCBA PRG:0CBA 4C C6 CC ; ----------------------------------------------------------------------------- -; Routine: Label_CCBD +; Routine: SubCCC9E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +2746,11 @@ UpdateGameState10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCBD: +SubCCC9E_Block: jsr $CCE2 ; CPU:$CCBD PRG:0CBD 20 E2 CC jmp $CCC6 ; CPU:$CCC0 PRG:0CC0 4C C6 CC ; ----------------------------------------------------------------------------- -; Routine: Label_CCC3 +; Routine: SubCCC9E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2749,10 +2758,10 @@ Label_CCBD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCC3: +SubCCC9E_Block_2: jsr $CDC6 ; CPU:$CCC3 PRG:0CC3 20 C6 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CCC6 +; Routine: SubCCCC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +2769,10 @@ Label_CCC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCC6: +SubCCCC6: rts ; CPU:$CCC6 PRG:0CC6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCC7 +; Routine: SubCCCC7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2771,13 +2780,13 @@ Label_CCC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCC7: +SubCCCC7: jsr $D556 ; CPU:$CCC7 PRG:0CC7 20 56 D5 bne UpdateGameState12 ; CPU:$CCCA PRG:0CCA D0 0A jsr $D562 ; CPU:$CCCC PRG:0CCC 20 62 D5 - bne Label_CCD9 ; CPU:$CCCF PRG:0CCF D0 08 + bne SubCCCC7_Block ; CPU:$CCCF PRG:0CCF D0 08 lda #$04 ; CPU:$CCD1 PRG:0CD1 A9 04 - sta Zp5F,x ; CPU:$CCD3 PRG:0CD3 95 5F + sta ObjIndex,x ; CPU:$CCD3 PRG:0CD3 95 5F rts ; CPU:$CCD5 PRG:0CD5 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateGameState12 @@ -2791,7 +2800,7 @@ Label_CCC7: UpdateGameState12: jmp $CE1E ; CPU:$CCD6 PRG:0CD6 4C 1E CE ; ----------------------------------------------------------------------------- -; Routine: Label_CCD9 +; Routine: SubCCCC7_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +2808,12 @@ UpdateGameState12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCD9: +SubCCCC7_Block: jsr $DC1F ; CPU:$CCD9 PRG:0CD9 20 1F DC jsr $D10B ; CPU:$CCDC PRG:0CDC 20 0B D1 jmp $CE85 ; CPU:$CCDF PRG:0CDF 4C 85 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CCE2 +; Routine: SubCCCE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2812,10 +2821,10 @@ Label_CCD9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCE2: +SubCCCE2: jsr $D55E ; CPU:$CCE2 PRG:0CE2 20 5E D5 - beq Label_CCF9 ; CPU:$CCE5 PRG:0CE5 F0 12 - jsr $DA5E ; CPU:$CCE7 PRG:0CE7 20 5E DA + beq SubCCCE2_Block ; CPU:$CCE5 PRG:0CE5 F0 12 + jsr SubCDA5E ; CPU:$CCE7 PRG:0CE7 20 5E DA lda Zp8D ; CPU:$CCEA PRG:0CEA A5 8D sec ; CPU:$CCEC PRG:0CEC 38 sbc $0210,y ; CPU:$CCED PRG:0CED F9 10 02 @@ -2824,7 +2833,7 @@ Label_CCE2: adc $0210,y ; CPU:$CCF3 PRG:0CF3 79 10 02 sta $0210,y ; CPU:$CCF6 PRG:0CF6 99 10 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CCF9 +; Routine: SubCCCE2_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2832,17 +2841,17 @@ Label_CCE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCF9: +SubCCCE2_Block: lda Zp76,x ; CPU:$CCF9 PRG:0CF9 B5 76 - beq Label_CD09 ; CPU:$CCFB PRG:0CFB F0 0C + beq SubCCCE2_Block_2 ; CPU:$CCFB PRG:0CFB F0 0C lda Zp73,x ; CPU:$CCFD PRG:0CFD B5 73 - sta Zp00 ; CPU:$CCFF PRG:0CFF 85 00 + sta PtrLo ; CPU:$CCFF PRG:0CFF 85 00 jsr $D158 ; CPU:$CD01 PRG:0D01 20 58 D1 lda #$00 ; CPU:$CD04 PRG:0D04 A9 00 sta Zp76,x ; CPU:$CD06 PRG:0D06 95 76 rts ; CPU:$CD08 PRG:0D08 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD09 +; Routine: SubCCCE2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2850,17 +2859,17 @@ Label_CCF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD09: +SubCCCE2_Block_2: jsr $D10B ; CPU:$CD09 PRG:0D09 20 0B D1 jsr $D562 ; CPU:$CD0C PRG:0D0C 20 62 D5 - beq Label_CD1B ; CPU:$CD0F PRG:0D0F F0 0A - lda Zp51,x ; CPU:$CD11 PRG:0D11 B5 51 + beq SubCCCE2_Block_4 ; CPU:$CD0F PRG:0D0F F0 0A + lda BtnState,x ; CPU:$CD11 PRG:0D11 B5 51 cmp #$02 ; CPU:$CD13 PRG:0D13 C9 02 - bne Label_CD1B ; CPU:$CD15 PRG:0D15 D0 04 + bne SubCCCE2_Block_4 ; CPU:$CD15 PRG:0D15 D0 04 eor #$02 ; CPU:$CD17 PRG:0D17 49 02 - sta Zp51,x ; CPU:$CD19 PRG:0D19 95 51 + sta BtnState,x ; CPU:$CD19 PRG:0D19 95 51 ; ----------------------------------------------------------------------------- -; Routine: Label_CD1B +; Routine: SubCCCE2_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2868,13 +2877,13 @@ Label_CD09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD1B: +SubCCCE2_Block_4: inc Zp99 ; CPU:$CD1B PRG:0D1B E6 99 jsr $D556 ; CPU:$CD1D PRG:0D1D 20 56 D5 - bne Label_CD25 ; CPU:$CD20 PRG:0D20 D0 03 + bne SubCCCE2_Block_5 ; CPU:$CD20 PRG:0D20 D0 03 jmp $CDC1 ; CPU:$CD22 PRG:0D22 4C C1 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CD25 +; Routine: SubCCCE2_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2882,15 +2891,15 @@ Label_CD1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD25: - lda Zp4A ; CPU:$CD25 PRG:0D25 A5 4A +SubCCCE2_Block_5: + lda SprIndex ; CPU:$CD25 PRG:0D25 A5 4A cmp #$03 ; CPU:$CD27 PRG:0D27 C9 03 - beq Label_CD31 ; CPU:$CD29 PRG:0D29 F0 06 + beq SubCCCE2_Block_6 ; CPU:$CD29 PRG:0D29 F0 06 cmp #$01 ; CPU:$CD2B PRG:0D2B C9 01 - beq Label_CD46 ; CPU:$CD2D PRG:0D2D F0 17 - bne Label_CD63 ; CPU:$CD2F PRG:0D2F D0 32 + beq SubCCCE2_Block_12 ; CPU:$CD2D PRG:0D2D F0 17 + bne SubCCCE2_Block_16 ; CPU:$CD2F PRG:0D2F D0 32 ; ----------------------------------------------------------------------------- -; Routine: Label_CD31 +; Routine: SubCCCE2_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2898,20 +2907,20 @@ Label_CD25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD31: - lda ZpEC ; CPU:$CD31 PRG:0D31 A5 EC +SubCCCE2_Block_6: + lda GameState ; CPU:$CD31 PRG:0D31 A5 EC cmp #$06 ; CPU:$CD33 PRG:0D33 C9 06 - beq Label_CD46 ; CPU:$CD35 PRG:0D35 F0 0F + beq SubCCCE2_Block_12 ; CPU:$CD35 PRG:0D35 F0 0F lda ZpBE ; CPU:$CD37 PRG:0D37 A5 BE - bne Label_CD46 ; CPU:$CD39 PRG:0D39 D0 0B + bne SubCCCE2_Block_12 ; CPU:$CD39 PRG:0D39 D0 0B lda Zp93 ; CPU:$CD3B PRG:0D3B A5 93 - bne Label_CD46 ; CPU:$CD3D PRG:0D3D D0 07 - lda Zp51,x ; CPU:$CD3F PRG:0D3F B5 51 + bne SubCCCE2_Block_12 ; CPU:$CD3D PRG:0D3D D0 07 + lda BtnState,x ; CPU:$CD3F PRG:0D3F B5 51 cmp #$03 ; CPU:$CD41 PRG:0D41 C9 03 - bmi Label_CD46 ; CPU:$CD43 PRG:0D43 30 01 + bmi SubCCCE2_Block_12 ; CPU:$CD43 PRG:0D43 30 01 rts ; CPU:$CD45 PRG:0D45 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD46 +; Routine: SubCCCE2_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2919,13 +2928,13 @@ Label_CD31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD46: +SubCCCE2_Block_12: lda $0419 ; CPU:$CD46 PRG:0D46 AD 19 04 cmp #$07 ; CPU:$CD49 PRG:0D49 C9 07 - bmi Label_CD4F ; CPU:$CD4B PRG:0D4B 30 02 + bmi SubCCCE2_Block_13 ; CPU:$CD4B PRG:0D4B 30 02 eor #$01 ; CPU:$CD4D PRG:0D4D 49 01 ; ----------------------------------------------------------------------------- -; Routine: Label_CD4F +; Routine: SubCCCE2_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2933,12 +2942,12 @@ Label_CD46: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD4F: +SubCCCE2_Block_13: and #$01 ; CPU:$CD4F PRG:0D4F 29 01 - beq Label_CD56 ; CPU:$CD51 PRG:0D51 F0 03 + beq SubCCCE2_Block_14 ; CPU:$CD51 PRG:0D51 F0 03 jsr $D44A ; CPU:$CD53 PRG:0D53 20 4A D4 ; ----------------------------------------------------------------------------- -; Routine: Label_CD56 +; Routine: SubCCCE2_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +2955,15 @@ Label_CD4F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD56: +SubCCCE2_Block_14: lda Zp4C ; CPU:$CD56 PRG:0D56 A5 4C - bne Label_CD63 ; CPU:$CD58 PRG:0D58 D0 09 + bne SubCCCE2_Block_16 ; CPU:$CD58 PRG:0D58 D0 09 jsr $CFE2 ; CPU:$CD5A PRG:0D5A 20 E2 CF lda $05CE,x ; CPU:$CD5D PRG:0D5D BD CE 05 - bne Label_CD63 ; CPU:$CD60 PRG:0D60 D0 01 + bne SubCCCE2_Block_16 ; CPU:$CD60 PRG:0D60 D0 01 rts ; CPU:$CD62 PRG:0D62 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD63 +; Routine: SubCCCE2_Block_16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2962,17 +2971,17 @@ Label_CD56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD63: +SubCCCE2_Block_16: lda Zp6B,x ; CPU:$CD63 PRG:0D63 B5 6B cmp #$01 ; CPU:$CD65 PRG:0D65 C9 01 - beq Label_CDBE ; CPU:$CD67 PRG:0D67 F0 55 + beq SubCCCE2_Block_17 ; CPU:$CD67 PRG:0D67 F0 55 jsr $D55A ; CPU:$CD69 PRG:0D69 20 5A D5 sta ZpDC ; CPU:$CD6C PRG:0D6C 85 DC cmp #$11 ; CPU:$CD6E PRG:0D6E C9 11 - bne Label_CD75 ; CPU:$CD70 PRG:0D70 D0 03 + bne SubCCCE2_Block_18 ; CPU:$CD70 PRG:0D70 D0 03 jmp $D0AF ; CPU:$CD72 PRG:0D72 4C AF D0 ; ----------------------------------------------------------------------------- -; Routine: Label_CD75 +; Routine: SubCCCE2_Block_18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2980,26 +2989,26 @@ Label_CD63: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD75: - lda Zp51,x ; CPU:$CD75 PRG:0D75 B5 51 +SubCCCE2_Block_18: + lda BtnState,x ; CPU:$CD75 PRG:0D75 B5 51 cmp #$02 ; CPU:$CD77 PRG:0D77 C9 02 - bmi Label_CDBD ; CPU:$CD79 PRG:0D79 30 42 + bmi SubCCCE2_Block_20 ; CPU:$CD79 PRG:0D79 30 42 lda #$0F ; CPU:$CD7B PRG:0D7B A9 0F jsr $D63C ; CPU:$CD7D PRG:0D7D 20 3C D6 - beq Label_CDBD ; CPU:$CD80 PRG:0D80 F0 3B - lda Zp51,x ; CPU:$CD82 PRG:0D82 B5 51 + beq SubCCCE2_Block_20 ; CPU:$CD80 PRG:0D80 F0 3B + lda BtnState,x ; CPU:$CD82 PRG:0D82 B5 51 cmp #$02 ; CPU:$CD84 PRG:0D84 C9 02 - beq Label_CD99 ; CPU:$CD86 PRG:0D86 F0 11 + beq SubCCCE2_Block_21 ; CPU:$CD86 PRG:0D86 F0 11 cmp #$03 ; CPU:$CD88 PRG:0D88 C9 03 - beq Label_CDAA ; CPU:$CD8A PRG:0D8A F0 1E + beq SubCCCE2_Block_22 ; CPU:$CD8A PRG:0D8A F0 1E lda #$01 ; CPU:$CD8C PRG:0D8C A9 01 sta Zp63,x ; CPU:$CD8E PRG:0D8E 95 63 lda ZpDC ; CPU:$CD90 PRG:0D90 A5 DC cmp #$01 ; CPU:$CD92 PRG:0D92 C9 01 - beq Label_CDBA ; CPU:$CD94 PRG:0D94 F0 24 + beq SubCCDBA ; CPU:$CD94 PRG:0D94 F0 24 jmp $CDB7 ; CPU:$CD96 PRG:0D96 4C B7 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CD99 +; Routine: SubCCCE2_Block_21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +3016,14 @@ Label_CD75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD99: +SubCCCE2_Block_21: lda ZpDC ; CPU:$CD99 PRG:0D99 A5 DC cmp #$01 ; CPU:$CD9B PRG:0D9B C9 01 - beq Label_CDA3 ; CPU:$CD9D PRG:0D9D F0 04 + beq SubCCCE2_Block_23 ; CPU:$CD9D PRG:0D9D F0 04 lda #$00 ; CPU:$CD9F PRG:0D9F A9 00 - beq Label_CDA5 ; CPU:$CDA1 PRG:0DA1 F0 02 + beq SubCCCE2_Block_24 ; CPU:$CDA1 PRG:0DA1 F0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CDA3 +; Routine: SubCCCE2_Block_23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3022,10 +3031,10 @@ Label_CD99: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDA3: +SubCCCE2_Block_23: lda #$01 ; CPU:$CDA3 PRG:0DA3 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_CDA5 +; Routine: SubCCCE2_Block_24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3033,11 +3042,11 @@ Label_CDA3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDA5: +SubCCCE2_Block_24: sta Zp63,x ; CPU:$CDA5 PRG:0DA5 95 63 jmp $D13F ; CPU:$CDA7 PRG:0DA7 4C 3F D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CDAA +; Routine: SubCCCE2_Block_22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3045,15 +3054,15 @@ Label_CDA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDAA: +SubCCCE2_Block_22: lda #$00 ; CPU:$CDAA PRG:0DAA A9 00 sta Zp63,x ; CPU:$CDAC PRG:0DAC 95 63 lda ZpDC ; CPU:$CDAE PRG:0DAE A5 DC cmp #$01 ; CPU:$CDB0 PRG:0DB0 C9 01 - beq Label_CDB7 ; CPU:$CDB2 PRG:0DB2 F0 03 + beq SubCCDB7 ; CPU:$CDB2 PRG:0DB2 F0 03 jmp $CDBA ; CPU:$CDB4 PRG:0DB4 4C BA CD ; ----------------------------------------------------------------------------- -; Routine: Label_CDB7 +; Routine: SubCCDB7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +3070,10 @@ Label_CDAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDB7: +SubCCDB7: jmp $D273 ; CPU:$CDB7 PRG:0DB7 4C 73 D2 ; ----------------------------------------------------------------------------- -; 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. @@ -3072,10 +3081,10 @@ Label_CDB7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDBA: +SubCCDBA: jmp $D13F ; CPU:$CDBA PRG:0DBA 4C 3F D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CDBD +; Routine: SubCCCE2_Block_20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3083,10 +3092,10 @@ Label_CDBA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDBD: +SubCCCE2_Block_20: rts ; CPU:$CDBD PRG:0DBD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CDBE +; Routine: SubCCCE2_Block_17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +3103,10 @@ Label_CDBD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDBE: +SubCCCE2_Block_17: jmp $CF21 ; CPU:$CDBE PRG:0DBE 4C 21 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CDC1 +; Routine: SubCCDC1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +3114,12 @@ Label_CDBE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDC1: +SubCCDC1: lda #$04 ; CPU:$CDC1 PRG:0DC1 A9 04 - sta Zp5F,x ; CPU:$CDC3 PRG:0DC3 95 5F + sta ObjIndex,x ; CPU:$CDC3 PRG:0DC3 95 5F rts ; CPU:$CDC5 PRG:0DC5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CDC6 +; Routine: SubCCDC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3118,13 +3127,13 @@ Label_CDC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDC6: +SubCCDC6: jsr $D995 ; CPU:$CDC6 PRG:0DC6 20 95 D9 - bne Label_CDD0 ; CPU:$CDC9 PRG:0DC9 D0 05 + bne SubCCDC6_Block ; CPU:$CDC9 PRG:0DC9 D0 05 jsr $D556 ; CPU:$CDCB PRG:0DCB 20 56 D5 - bne Label_CDF9 ; CPU:$CDCE PRG:0DCE D0 29 + bne SubCCDC6_Block_2 ; CPU:$CDCE PRG:0DCE D0 29 ; ----------------------------------------------------------------------------- -; Routine: Label_CDD0 +; Routine: SubCCDC6_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3132,12 +3141,12 @@ Label_CDC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDD0: +SubCCDC6_Block: lda $05C1,x ; CPU:$CDD0 PRG:0DD0 BD C1 05 - beq Label_CDD8 ; CPU:$CDD3 PRG:0DD3 F0 03 + beq SubCCDC6_Block_3 ; CPU:$CDD3 PRG:0DD3 F0 03 dec $05C1,x ; CPU:$CDD5 PRG:0DD5 DE C1 05 ; ----------------------------------------------------------------------------- -; Routine: Label_CDD8 +; Routine: SubCCDC6_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3145,17 +3154,17 @@ Label_CDD0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDD8: +SubCCDC6_Block_3: txa ; CPU:$CDD8 PRG:0DD8 8A asl a ; CPU:$CDD9 PRG:0DD9 0A tay ; CPU:$CDDA PRG:0DDA A8 lda a:$007C,y ; CPU:$CDDB PRG:0DDB B9 7C 00 cmp #$03 ; CPU:$CDDE PRG:0DDE C9 03 - bcc Label_CDE7 ; CPU:$CDE0 PRG:0DE0 90 05 + bcc SubCCDC6_Block_4 ; CPU:$CDE0 PRG:0DE0 90 05 jsr $D562 ; CPU:$CDE2 PRG:0DE2 20 62 D5 - bne Label_CE11 ; CPU:$CDE5 PRG:0DE5 D0 2A + bne SubCCDC6_Block_5 ; CPU:$CDE5 PRG:0DE5 D0 2A ; ----------------------------------------------------------------------------- -; Routine: Label_CDE7 +; Routine: SubCCDC6_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3163,16 +3172,16 @@ Label_CDD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDE7: +SubCCDC6_Block_4: jsr $D55E ; CPU:$CDE7 PRG:0DE7 20 5E D5 - bne Label_CE14 ; CPU:$CDEA PRG:0DEA D0 28 - jsr $DA5E ; CPU:$CDEC PRG:0DEC 20 5E DA + bne SubCCDC6_Block_6 ; CPU:$CDEA PRG:0DEA D0 28 + jsr SubCDA5E ; CPU:$CDEC PRG:0DEC 20 5E DA lda $0210,y ; CPU:$CDEF PRG:0DEF B9 10 02 cmp #$D8 ; CPU:$CDF2 PRG:0DF2 C9 D8 - bcs Label_CE19 ; CPU:$CDF4 PRG:0DF4 B0 23 + bcs SubCCDC6_Block_7 ; CPU:$CDF4 PRG:0DF4 B0 23 jmp $D0CA ; CPU:$CDF6 PRG:0DF6 4C CA D0 ; ----------------------------------------------------------------------------- -; Routine: Label_CDF9 +; Routine: SubCCDC6_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3180,19 +3189,19 @@ Label_CDE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDF9: +SubCCDC6_Block_2: jsr $CE1E ; CPU:$CDF9 PRG:0DF9 20 1E CE - lda Zp4A ; CPU:$CDFC PRG:0DFC A5 4A + lda SprIndex ; CPU:$CDFC PRG:0DFC A5 4A cmp #$01 ; CPU:$CDFE PRG:0DFE C9 01 - bne Label_CE10 ; CPU:$CE00 PRG:0E00 D0 0E + bne SubCCDC6_Block_9 ; CPU:$CE00 PRG:0E00 D0 0E jsr $CC5C ; CPU:$CE02 PRG:0E02 20 5C CC jsr $D995 ; CPU:$CE05 PRG:0E05 20 95 D9 - beq Label_CE10 ; CPU:$CE08 PRG:0E08 F0 06 + beq SubCCDC6_Block_9 ; CPU:$CE08 PRG:0E08 F0 06 lda Zp63,x ; CPU:$CE0A PRG:0E0A B5 63 eor #$01 ; CPU:$CE0C PRG:0E0C 49 01 sta Zp63,x ; CPU:$CE0E PRG:0E0E 95 63 ; ----------------------------------------------------------------------------- -; Routine: Label_CE10 +; Routine: SubCCDC6_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3200,10 +3209,10 @@ Label_CDF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE10: +SubCCDC6_Block_9: rts ; CPU:$CE10 PRG:0E10 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE11 +; Routine: SubCCDC6_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3211,10 +3220,10 @@ Label_CE10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE11: +SubCCDC6_Block_5: jmp $D117 ; CPU:$CE11 PRG:0E11 4C 17 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CE14 +; Routine: SubCCDC6_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3222,12 +3231,12 @@ Label_CE11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE14: +SubCCDC6_Block_6: lda #$04 ; CPU:$CE14 PRG:0E14 A9 04 - sta Zp5F,x ; CPU:$CE16 PRG:0E16 95 5F + sta ObjIndex,x ; CPU:$CE16 PRG:0E16 95 5F rts ; CPU:$CE18 PRG:0E18 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE19 +; Routine: SubCCDC6_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3235,12 +3244,12 @@ Label_CE14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE19: +SubCCDC6_Block_7: lda #$05 ; CPU:$CE19 PRG:0E19 A9 05 - sta Zp5F,x ; CPU:$CE1B PRG:0E1B 95 5F + sta ObjIndex,x ; CPU:$CE1B PRG:0E1B 95 5F rts ; CPU:$CE1D PRG:0E1D 60 ; ----------------------------------------------------------------------------- -; 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. @@ -3248,23 +3257,23 @@ Label_CE19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE1E: +SubCCE1E: lda Zp8C ; CPU:$CE1E PRG:0E1E A5 8C sec ; CPU:$CE20 PRG:0E20 38 sbc #$10 ; CPU:$CE21 PRG:0E21 E9 10 sta Zp73,x ; CPU:$CE23 PRG:0E23 95 73 lda #$02 ; CPU:$CE25 PRG:0E25 A9 02 - sta Zp5F,x ; CPU:$CE27 PRG:0E27 95 5F + sta ObjIndex,x ; CPU:$CE27 PRG:0E27 95 5F lda Zp8C ; CPU:$CE29 PRG:0E29 A5 8C cmp #$14 ; CPU:$CE2B PRG:0E2B C9 14 - beq Label_CE38 ; CPU:$CE2D PRG:0E2D F0 09 + beq SubCCE1E_Block ; CPU:$CE2D PRG:0E2D F0 09 cmp #$EC ; CPU:$CE2F PRG:0E2F C9 EC - bne Label_CE3C ; CPU:$CE31 PRG:0E31 D0 09 + bne SubCCE1E_Block_2 ; CPU:$CE31 PRG:0E31 D0 09 lda #$01 ; CPU:$CE33 PRG:0E33 A9 01 sta Zp63,x ; CPU:$CE35 PRG:0E35 95 63 rts ; CPU:$CE37 PRG:0E37 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE38 +; Routine: SubCCE1E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +3281,11 @@ Label_CE1E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE38: +SubCCE1E_Block: lda #$00 ; CPU:$CE38 PRG:0E38 A9 00 sta Zp63,x ; CPU:$CE3A PRG:0E3A 95 63 ; ----------------------------------------------------------------------------- -; Routine: Label_CE3C +; Routine: SubCCE1E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3284,10 +3293,10 @@ Label_CE38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE3C: +SubCCE1E_Block_2: rts ; CPU:$CE3C PRG:0E3C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE3D +; Routine: SubCCE3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +3304,15 @@ Label_CE3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE3D: +SubCCE3D: jsr $D562 ; CPU:$CE3D PRG:0E3D 20 62 D5 - beq Label_CE4A ; CPU:$CE40 PRG:0E40 F0 08 + beq SubCCE3D_Block ; CPU:$CE40 PRG:0E40 F0 08 jsr $D117 ; CPU:$CE42 PRG:0E42 20 17 D1 lda #$10 ; CPU:$CE45 PRG:0E45 A9 10 - sta ZpFF ; CPU:$CE47 PRG:0E47 85 FF + sta FrameCounter ; CPU:$CE47 PRG:0E47 85 FF rts ; CPU:$CE49 PRG:0E49 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE4A +; Routine: SubCCE3D_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +3320,18 @@ Label_CE3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE4A: - jsr $DA5E ; CPU:$CE4A PRG:0E4A 20 5E DA +SubCCE3D_Block: + jsr SubCDA5E ; CPU:$CE4A PRG:0E4A 20 5E DA lda $0210,y ; CPU:$CE4D PRG:0E4D B9 10 02 cmp #$D8 ; CPU:$CE50 PRG:0E50 C9 D8 - bcc Label_CE5D ; CPU:$CE52 PRG:0E52 90 09 + bcc SubCCE3D_Block_2 ; CPU:$CE52 PRG:0E52 90 09 lda #$10 ; CPU:$CE54 PRG:0E54 A9 10 - sta ZpFF ; CPU:$CE56 PRG:0E56 85 FF + sta FrameCounter ; CPU:$CE56 PRG:0E56 85 FF lda #$05 ; CPU:$CE58 PRG:0E58 A9 05 - sta Zp5F,x ; CPU:$CE5A PRG:0E5A 95 5F + sta ObjIndex,x ; CPU:$CE5A PRG:0E5A 95 5F rts ; CPU:$CE5C PRG:0E5C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE5D +; Routine: SubCCE3D_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,25 +3339,25 @@ Label_CE4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE5D: - jsr $DA5E ; CPU:$CE5D PRG:0E5D 20 5E DA +SubCCE3D_Block_2: + jsr SubCDA5E ; CPU:$CE5D PRG:0E5D 20 5E DA lda $0213,y ; CPU:$CE60 PRG:0E60 B9 13 02 - sta Zp00 ; CPU:$CE63 PRG:0E63 85 00 + sta PtrLo ; CPU:$CE63 PRG:0E63 85 00 lda $0210,y ; CPU:$CE65 PRG:0E65 B9 10 02 clc ; CPU:$CE68 PRG:0E68 18 adc Zp78 ; CPU:$CE69 PRG:0E69 65 78 - sta Zp01 ; CPU:$CE6B PRG:0E6B 85 01 + sta PtrHi ; CPU:$CE6B PRG:0E6B 85 01 lda $0211,y ; CPU:$CE6D PRG:0E6D B9 11 02 pha ; CPU:$CE70 PRG:0E70 48 lda $0212,y ; CPU:$CE71 PRG:0E71 B9 12 02 cmp #$40 ; CPU:$CE74 PRG:0E74 C9 40 - bmi Label_CE7F ; CPU:$CE76 PRG:0E76 30 07 + bmi SubCCE3D_Block_3 ; CPU:$CE76 PRG:0E76 30 07 pla ; CPU:$CE78 PRG:0E78 68 sec ; CPU:$CE79 PRG:0E79 38 sbc #$06 ; CPU:$CE7A PRG:0E7A E9 06 jmp $CE80 ; CPU:$CE7C PRG:0E7C 4C 80 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE7F +; Routine: SubCCE3D_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3356,10 +3365,10 @@ Label_CE5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE7F: +SubCCE3D_Block_3: pla ; CPU:$CE7F PRG:0E7F 68 ; ----------------------------------------------------------------------------- -; Routine: Label_CE80 +; Routine: SubCCE80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3367,11 +3376,11 @@ Label_CE7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE80: - sta Zp02 ; CPU:$CE80 PRG:0E80 85 02 +SubCCE80: + sta Ptr2Lo ; CPU:$CE80 PRG:0E80 85 02 jmp $D6A3 ; CPU:$CE82 PRG:0E82 4C A3 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_CE85 +; Routine: SubCCE85 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3379,19 +3388,19 @@ Label_CE80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE85: - jsr $DA5E ; CPU:$CE85 PRG:0E85 20 5E DA +SubCCE85: + jsr SubCDA5E ; CPU:$CE85 PRG:0E85 20 5E DA lda $0210,y ; CPU:$CE88 PRG:0E88 B9 10 02 - sta Zp01 ; CPU:$CE8B PRG:0E8B 85 01 - lda Zp51,x ; CPU:$CE8D PRG:0E8D B5 51 + sta PtrHi ; CPU:$CE8B PRG:0E8B 85 01 + lda BtnState,x ; CPU:$CE8D PRG:0E8D B5 51 cmp #$03 ; CPU:$CE8F PRG:0E8F C9 03 - beq Label_CE9D ; CPU:$CE91 PRG:0E91 F0 0A + beq SubCCE85_Block ; CPU:$CE91 PRG:0E91 F0 0A cmp #$04 ; CPU:$CE93 PRG:0E93 C9 04 - bne Label_CEBB ; CPU:$CE95 PRG:0E95 D0 24 + bne SubCCE85_Block_2 ; CPU:$CE95 PRG:0E95 D0 24 jsr $CEBC ; CPU:$CE97 PRG:0E97 20 BC CE jmp $CEA0 ; CPU:$CE9A PRG:0E9A 4C A0 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE9D +; Routine: SubCCE85_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +3408,10 @@ Label_CE85: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE9D: +SubCCE85_Block: jsr $CEDA ; CPU:$CE9D PRG:0E9D 20 DA CE ; ----------------------------------------------------------------------------- -; Routine: Label_CEA0 +; Routine: SubCCEA0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +3419,15 @@ Label_CE9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEA0: - sta Zp00 ; CPU:$CEA0 PRG:0EA0 85 00 +SubCCEA0: + sta PtrLo ; CPU:$CEA0 PRG:0EA0 85 00 and #$02 ; CPU:$CEA2 PRG:0EA2 29 02 pha ; CPU:$CEA4 PRG:0EA4 48 cmp Zp67,x ; CPU:$CEA5 PRG:0EA5 D5 67 - beq Label_CEAC ; CPU:$CEA7 PRG:0EA7 F0 03 + beq SubCCEA0_Block ; CPU:$CEA7 PRG:0EA7 F0 03 jsr $CEF8 ; CPU:$CEA9 PRG:0EA9 20 F8 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CEAC +; Routine: SubCCEA0_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3426,16 +3435,16 @@ Label_CEA0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEAC: +SubCCEA0_Block: pla ; CPU:$CEAC PRG:0EAC 68 sta Zp67,x ; CPU:$CEAD PRG:0EAD 95 67 lda Zp6F,x ; CPU:$CEAF PRG:0EAF B5 6F - sta Zp02 ; CPU:$CEB1 PRG:0EB1 85 02 + sta Ptr2Lo ; CPU:$CEB1 PRG:0EB1 85 02 lda $0210,y ; CPU:$CEB3 PRG:0EB3 B9 10 02 - sta Zp01 ; CPU:$CEB6 PRG:0EB6 85 01 + sta PtrHi ; CPU:$CEB6 PRG:0EB6 85 01 jsr $D6A3 ; CPU:$CEB8 PRG:0EB8 20 A3 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_CEBB +; Routine: SubCCE85_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +3452,10 @@ Label_CEAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEBB: +SubCCE85_Block_2: rts ; CPU:$CEBB PRG:0EBB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CEBC +; Routine: SubCCEBC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3454,12 +3463,12 @@ Label_CEBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEBC: +SubCCEBC: lda #$01 ; CPU:$CEBC PRG:0EBC A9 01 sta Zp63,x ; CPU:$CEBE PRG:0EBE 95 63 lda Zp75 ; CPU:$CEC0 PRG:0EC0 A5 75 cmp #$04 ; CPU:$CEC2 PRG:0EC2 C9 04 - beq Label_CED3 ; CPU:$CEC4 PRG:0EC4 F0 0D + beq SubCCEBC_Block ; CPU:$CEC4 PRG:0EC4 F0 0D lda Zp55,x ; CPU:$CEC6 PRG:0EC6 B5 55 clc ; CPU:$CEC8 PRG:0EC8 18 adc #$A0 ; CPU:$CEC9 PRG:0EC9 69 A0 @@ -3468,7 +3477,7 @@ Label_CEBC: adc #$00 ; CPU:$CED0 PRG:0ED0 69 00 rts ; CPU:$CED2 PRG:0ED2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CED3 +; Routine: SubCCEBC_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +3485,13 @@ Label_CEBC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CED3: +SubCCEBC_Block: lda $0213,y ; CPU:$CED3 PRG:0ED3 B9 13 02 sec ; CPU:$CED6 PRG:0ED6 38 sbc #$02 ; CPU:$CED7 PRG:0ED7 E9 02 rts ; CPU:$CED9 PRG:0ED9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CEDA +; Routine: SubCCEDA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +3499,12 @@ Label_CED3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEDA: +SubCCEDA: lda #$00 ; CPU:$CEDA PRG:0EDA A9 00 sta Zp63,x ; CPU:$CEDC PRG:0EDC 95 63 lda Zp75 ; CPU:$CEDE PRG:0EDE A5 75 cmp #$03 ; CPU:$CEE0 PRG:0EE0 C9 03 - beq Label_CEF1 ; CPU:$CEE2 PRG:0EE2 F0 0D + beq SubCCEDA_Block ; CPU:$CEE2 PRG:0EE2 F0 0D lda Zp55,x ; CPU:$CEE4 PRG:0EE4 B5 55 sec ; CPU:$CEE6 PRG:0EE6 38 sbc #$A0 ; CPU:$CEE7 PRG:0EE7 E9 A0 @@ -3504,7 +3513,7 @@ Label_CEDA: sbc #$00 ; CPU:$CEEE PRG:0EEE E9 00 rts ; CPU:$CEF0 PRG:0EF0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CEF1 +; Routine: SubCCEDA_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3512,13 +3521,13 @@ Label_CEDA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEF1: +SubCCEDA_Block: lda $0213,y ; CPU:$CEF1 PRG:0EF1 B9 13 02 clc ; CPU:$CEF4 PRG:0EF4 18 adc #$02 ; CPU:$CEF5 PRG:0EF5 69 02 rts ; CPU:$CEF7 PRG:0EF7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CEF8 +; Routine: SubCCEF8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +3535,17 @@ Label_CEF1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEF8: +SubCCEF8: tya ; CPU:$CEF8 PRG:0EF8 98 pha ; CPU:$CEF9 PRG:0EF9 48 lda Zp6F,x ; CPU:$CEFA PRG:0EFA B5 6F - beq Label_CF0D ; CPU:$CEFC PRG:0EFC F0 0F + beq SubCCEF8_Block_3 ; CPU:$CEFC PRG:0EFC F0 0F cmp #$10 ; CPU:$CEFE PRG:0EFE C9 10 - bpl Label_CF06 ; CPU:$CF00 PRG:0F00 10 04 + bpl SubCCEF8_Block_2 ; CPU:$CF00 PRG:0F00 10 04 ldy Zp69,x ; CPU:$CF02 PRG:0F02 B4 69 - beq Label_CF0D ; CPU:$CF04 PRG:0F04 F0 07 + beq SubCCEF8_Block_3 ; CPU:$CF04 PRG:0F04 F0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_CF06 +; Routine: SubCCEF8_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +3553,13 @@ Label_CEF8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF06: +SubCCEF8_Block_2: sec ; CPU:$CF06 PRG:0F06 38 sbc #$08 ; CPU:$CF07 PRG:0F07 E9 08 ldy #$01 ; CPU:$CF09 PRG:0F09 A0 01 - bne Label_CF12 ; CPU:$CF0B PRG:0F0B D0 05 + bne SubCCEF8_Block_4 ; CPU:$CF0B PRG:0F0B D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_CF0D +; Routine: SubCCEF8_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +3567,12 @@ Label_CF06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF0D: +SubCCEF8_Block_3: clc ; CPU:$CF0D PRG:0F0D 18 adc #$08 ; CPU:$CF0E PRG:0F0E 69 08 ldy #$00 ; CPU:$CF10 PRG:0F10 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CF12 +; Routine: SubCCEF8_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +3580,18 @@ Label_CF0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF12: +SubCCEF8_Block_4: sty Zp69,x ; CPU:$CF12 PRG:0F12 94 69 sta Zp6F,x ; CPU:$CF14 PRG:0F14 95 6F lda Zp63,x ; CPU:$CF16 PRG:0F16 B5 63 sta Zp65,x ; CPU:$CF18 PRG:0F18 95 65 lda #$80 ; CPU:$CF1A PRG:0F1A A9 80 - sta ZpFF ; CPU:$CF1C PRG:0F1C 85 FF + sta FrameCounter ; CPU:$CF1C PRG:0F1C 85 FF pla ; CPU:$CF1E PRG:0F1E 68 tay ; CPU:$CF1F PRG:0F1F A8 rts ; CPU:$CF20 PRG:0F20 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CF21 +; Routine: SubCCF21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +3599,18 @@ Label_CF12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF21: +SubCCF21: txa ; CPU:$CF21 PRG:0F21 8A pha ; CPU:$CF22 PRG:0F22 48 - jsr $DA5E ; CPU:$CF23 PRG:0F23 20 5E DA - lda Zp51,x ; CPU:$CF26 PRG:0F26 B5 51 - beq Label_CF37 ; CPU:$CF28 PRG:0F28 F0 0D + jsr SubCDA5E ; CPU:$CF23 PRG:0F23 20 5E DA + lda BtnState,x ; CPU:$CF26 PRG:0F26 B5 51 + beq SubCCF37 ; CPU:$CF28 PRG:0F28 F0 0D cmp #$03 ; CPU:$CF2A PRG:0F2A C9 03 - bmi Label_CF34 ; CPU:$CF2C PRG:0F2C 30 06 + bmi SubCCF21_Block ; CPU:$CF2C PRG:0F2C 30 06 jsr $CFB5 ; CPU:$CF2E PRG:0F2E 20 B5 CF jmp $CF37 ; CPU:$CF31 PRG:0F31 4C 37 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CF34 +; Routine: SubCCF21_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +3618,10 @@ Label_CF21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF34: +SubCCF21_Block: jsr $CF3A ; CPU:$CF34 PRG:0F34 20 3A CF ; ----------------------------------------------------------------------------- -; 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. @@ -3620,12 +3629,12 @@ Label_CF34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF37: +SubCCF37: pla ; CPU:$CF37 PRG:0F37 68 tax ; CPU:$CF38 PRG:0F38 AA rts ; CPU:$CF39 PRG:0F39 60 ; ----------------------------------------------------------------------------- -; 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. @@ -3633,14 +3642,14 @@ Label_CF37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF3A: - lda Zp51,x ; CPU:$CF3A PRG:0F3A B5 51 +SubCCF3A: + lda BtnState,x ; CPU:$CF3A PRG:0F3A B5 51 cmp #$01 ; CPU:$CF3C PRG:0F3C C9 01 - bne Label_CF46 ; CPU:$CF3E PRG:0F3E D0 06 + bne SubCCF3A_Block ; CPU:$CF3E PRG:0F3E D0 06 jsr $CF80 ; CPU:$CF40 PRG:0F40 20 80 CF jmp $CF65 ; CPU:$CF43 PRG:0F43 4C 65 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CF46 +; Routine: SubCCF3A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,22 +3657,22 @@ Label_CF3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF46: - lda Zp4A ; CPU:$CF46 PRG:0F46 A5 4A +SubCCF3A_Block: + lda SprIndex ; CPU:$CF46 PRG:0F46 A5 4A cmp #$01 ; CPU:$CF48 PRG:0F48 C9 01 - bne Label_CF62 ; CPU:$CF4A PRG:0F4A D0 16 + bne SubCCF3A_Block_4 ; CPU:$CF4A PRG:0F4A D0 16 lda $0210,y ; CPU:$CF4C PRG:0F4C B9 10 02 cmp #$AF ; CPU:$CF4F PRG:0F4F C9 AF - bcc Label_CF62 ; CPU:$CF51 PRG:0F51 90 0F + bcc SubCCF3A_Block_4 ; CPU:$CF51 PRG:0F51 90 0F jsr $D7F0 ; CPU:$CF53 PRG:0F53 20 F0 D7 cmp #$02 ; CPU:$CF56 PRG:0F56 C9 02 - bne Label_CF62 ; CPU:$CF58 PRG:0F58 D0 08 + bne SubCCF3A_Block_4 ; CPU:$CF58 PRG:0F58 D0 08 lda Zp8D ; CPU:$CF5A PRG:0F5A A5 8D sec ; CPU:$CF5C PRG:0F5C 38 sbc #$11 ; CPU:$CF5D PRG:0F5D E9 11 jmp $CF65 ; CPU:$CF5F PRG:0F5F 4C 65 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CF62 +; Routine: SubCCF3A_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3671,10 +3680,10 @@ Label_CF46: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF62: +SubCCF3A_Block_4: jsr $CF97 ; CPU:$CF62 PRG:0F62 20 97 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CF65 +; Routine: SubCCF65 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3682,14 +3691,14 @@ Label_CF62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF65: - sta Zp01 ; CPU:$CF65 PRG:0F65 85 01 +SubCCF65: + sta PtrHi ; CPU:$CF65 PRG:0F65 85 01 and #$01 ; CPU:$CF67 PRG:0F67 29 01 - beq Label_CF6F ; CPU:$CF69 PRG:0F69 F0 04 + beq SubCCF65_Block ; CPU:$CF69 PRG:0F69 F0 04 lda #$28 ; CPU:$CF6B PRG:0F6B A9 28 - bne Label_CF71 ; CPU:$CF6D PRG:0F6D D0 02 + bne SubCCF65_Block_2 ; CPU:$CF6D PRG:0F6D D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CF6F +; Routine: SubCCF65_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3697,10 +3706,10 @@ Label_CF65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF6F: +SubCCF65_Block: lda #$30 ; CPU:$CF6F PRG:0F6F A9 30 ; ----------------------------------------------------------------------------- -; Routine: Label_CF71 +; Routine: SubCCF65_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3708,16 +3717,16 @@ Label_CF6F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF71: - sta Zp02 ; CPU:$CF71 PRG:0F71 85 02 +SubCCF65_Block_2: + sta Ptr2Lo ; CPU:$CF71 PRG:0F71 85 02 lda $0213,y ; CPU:$CF73 PRG:0F73 B9 13 02 - sta Zp00 ; CPU:$CF76 PRG:0F76 85 00 + sta PtrLo ; CPU:$CF76 PRG:0F76 85 00 jsr $D6A3 ; CPU:$CF78 PRG:0F78 20 A3 D6 lda #$01 ; CPU:$CF7B PRG:0F7B A9 01 sta Zp6B,x ; CPU:$CF7D PRG:0F7D 95 6B rts ; CPU:$CF7F PRG:0F7F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CF80 +; Routine: SubCCF80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3725,14 +3734,14 @@ Label_CF71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF80: +SubCCF80: lda Zp99 ; CPU:$CF80 PRG:0F80 A5 99 and #$0A ; CPU:$CF82 PRG:0F82 29 0A - bne Label_CF8A ; CPU:$CF84 PRG:0F84 D0 04 + bne SubCCF80_Block ; CPU:$CF84 PRG:0F84 D0 04 lda #$20 ; CPU:$CF86 PRG:0F86 A9 20 - sta ZpFF ; CPU:$CF88 PRG:0F88 85 FF + sta FrameCounter ; CPU:$CF88 PRG:0F88 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_CF8A +; Routine: SubCCF80_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3740,7 +3749,7 @@ Label_CF80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF8A: +SubCCF80_Block: lda Zp55,x ; CPU:$CF8A PRG:0F8A B5 55 sec ; CPU:$CF8C PRG:0F8C 38 sbc #$A0 ; CPU:$CF8D PRG:0F8D E9 A0 @@ -3749,7 +3758,7 @@ Label_CF8A: sbc #$00 ; CPU:$CF94 PRG:0F94 E9 00 rts ; CPU:$CF96 PRG:0F96 60 ; ----------------------------------------------------------------------------- -; 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. @@ -3757,16 +3766,16 @@ Label_CF8A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF97: +SubCCF97: lda Zp75 ; CPU:$CF97 PRG:0F97 A5 75 cmp #$02 ; CPU:$CF99 PRG:0F99 C9 02 - bne Label_CFA4 ; CPU:$CF9B PRG:0F9B D0 07 + bne SubCCF97_Block ; CPU:$CF9B PRG:0F9B D0 07 sec ; CPU:$CF9D PRG:0F9D 38 lda $0210,y ; CPU:$CF9E PRG:0F9E B9 10 02 sbc #$01 ; CPU:$CFA1 PRG:0FA1 E9 01 rts ; CPU:$CFA3 PRG:0FA3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFA4 +; Routine: SubCCF97_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3774,18 +3783,18 @@ Label_CF97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFA4: +SubCCF97_Block: clc ; CPU:$CFA4 PRG:0FA4 18 lda Zp55,x ; CPU:$CFA5 PRG:0FA5 B5 55 adc #$50 ; CPU:$CFA7 PRG:0FA7 69 50 sta Zp55,x ; CPU:$CFA9 PRG:0FA9 95 55 lda #$20 ; CPU:$CFAB PRG:0FAB A9 20 - sta ZpFF ; CPU:$CFAD PRG:0FAD 85 FF + sta FrameCounter ; CPU:$CFAD PRG:0FAD 85 FF lda $0210,y ; CPU:$CFAF PRG:0FAF B9 10 02 adc #$01 ; CPU:$CFB2 PRG:0FB2 69 01 rts ; CPU:$CFB4 PRG:0FB4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFB5 +; Routine: SubCCFB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +3802,12 @@ Label_CFA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFB5: +SubCCFB5: jsr $D03D ; CPU:$CFB5 PRG:0FB5 20 3D D0 - beq Label_CFBB ; CPU:$CFB8 PRG:0FB8 F0 01 + beq SubCCFB5_Block ; CPU:$CFB8 PRG:0FB8 F0 01 rts ; CPU:$CFBA PRG:0FBA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFBB +; Routine: SubCCFB5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +3815,13 @@ Label_CFB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFBB: +SubCCFB5_Block: lda #$0B ; CPU:$CFBB PRG:0FBB A9 0B jsr $D63C ; CPU:$CFBD PRG:0FBD 20 3C D6 - bne Label_CFC3 ; CPU:$CFC0 PRG:0FC0 D0 01 + bne SubCCFB5_Block_2 ; CPU:$CFC0 PRG:0FC0 D0 01 rts ; CPU:$CFC2 PRG:0FC2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFC3 +; Routine: SubCCFB5_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3820,16 +3829,16 @@ Label_CFBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFC3: - lda Zp51,x ; CPU:$CFC3 PRG:0FC3 B5 51 +SubCCFB5_Block_2: + lda BtnState,x ; CPU:$CFC3 PRG:0FC3 B5 51 cmp #$04 ; CPU:$CFC5 PRG:0FC5 C9 04 - bne Label_CFD1 ; CPU:$CFC7 PRG:0FC7 D0 08 + bne SubCCFB5_Block_3 ; CPU:$CFC7 PRG:0FC7 D0 08 lda Zp63,x ; CPU:$CFC9 PRG:0FC9 B5 63 - beq Label_CFD5 ; CPU:$CFCB PRG:0FCB F0 08 + beq SubCCFB5_Block_4 ; CPU:$CFCB PRG:0FCB F0 08 lda #$00 ; CPU:$CFCD PRG:0FCD A9 00 - beq Label_CFDA ; CPU:$CFCF PRG:0FCF F0 09 + beq SubCCFB5_Block_5 ; CPU:$CFCF PRG:0FCF F0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_CFD1 +; Routine: SubCCFB5_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3837,11 +3846,11 @@ Label_CFC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD1: +SubCCFB5_Block_3: lda Zp63,x ; CPU:$CFD1 PRG:0FD1 B5 63 - beq Label_CFD8 ; CPU:$CFD3 PRG:0FD3 F0 03 + beq SubCCFB5_Block_6 ; CPU:$CFD3 PRG:0FD3 F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CFD5 +; Routine: SubCCFB5_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3849,10 +3858,10 @@ Label_CFD1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD5: +SubCCFB5_Block_4: jmp $D164 ; CPU:$CFD5 PRG:0FD5 4C 64 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CFD8 +; Routine: SubCCFB5_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +3869,10 @@ Label_CFD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD8: +SubCCFB5_Block_6: lda #$01 ; CPU:$CFD8 PRG:0FD8 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_CFDA +; Routine: SubCCFB5_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3871,12 +3880,12 @@ Label_CFD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFDA: +SubCCFB5_Block_5: sta Zp63,x ; CPU:$CFDA PRG:0FDA 95 63 jsr $D13F ; CPU:$CFDC PRG:0FDC 20 3F D1 jmp $D0C5 ; CPU:$CFDF PRG:0FDF 4C C5 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_CFE2 +; Routine: SubCCFE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,21 +3893,21 @@ Label_CFDA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFE2: +SubCCFE2: lda $05CE,x ; CPU:$CFE2 PRG:0FE2 BD CE 05 - beq Label_D03C ; CPU:$CFE5 PRG:0FE5 F0 55 - lda Zp39,x ; CPU:$CFE7 PRG:0FE7 B5 39 - bne Label_D00B ; CPU:$CFE9 PRG:0FE9 D0 20 - lda Zp51,x ; CPU:$CFEB PRG:0FEB B5 51 + beq SubCCFE2_Block_3 ; CPU:$CFE5 PRG:0FE5 F0 55 + lda SprCount,x ; CPU:$CFE7 PRG:0FE7 B5 39 + bne SubCCFE2_Block_2 ; CPU:$CFE9 PRG:0FE9 D0 20 + lda BtnState,x ; CPU:$CFEB PRG:0FEB B5 51 cmp #$03 ; CPU:$CFED PRG:0FED C9 03 - bmi Label_D03C ; CPU:$CFEF PRG:0FEF 30 4B + bmi SubCCFE2_Block_3 ; CPU:$CFEF PRG:0FEF 30 4B lda Zp63,x ; CPU:$CFF1 PRG:0FF1 B5 63 sta $05CA,x ; CPU:$CFF3 PRG:0FF3 9D CA 05 - beq Label_CFFC ; CPU:$CFF6 PRG:0FF6 F0 04 + beq SubCCFE2_Block_4 ; CPU:$CFF6 PRG:0FF6 F0 04 lda #$28 ; CPU:$CFF8 PRG:0FF8 A9 28 - bne Label_CFFE ; CPU:$CFFA PRG:0FFA D0 02 + bne SubCCFE2_Block_5 ; CPU:$CFFA PRG:0FFA D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CFFC +; Routine: SubCCFE2_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3906,10 +3915,10 @@ Label_CFE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFFC: +SubCCFE2_Block_4: lda #$2E ; CPU:$CFFC PRG:0FFC A9 2E ; ----------------------------------------------------------------------------- -; Routine: Label_CFFE +; Routine: SubCCFE2_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +3926,15 @@ Label_CFFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFFE: +SubCCFE2_Block_5: sta $05CC,x ; CPU:$CFFE PRG:0FFE 9D CC 05 - lda Zp51,x ; CPU:$D001 PRG:1001 B5 51 + lda BtnState,x ; CPU:$D001 PRG:1001 B5 51 sta $05CE,x ; CPU:$D003 PRG:1003 9D CE 05 lda #$30 ; CPU:$D006 PRG:1006 A9 30 - sta Zp39,x ; CPU:$D008 PRG:1008 95 39 + sta SprCount,x ; CPU:$D008 PRG:1008 95 39 rts ; CPU:$D00A PRG:100A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D00B +; Routine: SubCCFE2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +3942,16 @@ Label_CFFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D00B: +SubCCFE2_Block_2: lda Zp6B,x ; CPU:$D00B PRG:100B B5 6B cmp #$01 ; CPU:$D00D PRG:100D C9 01 - bne Label_D01B ; CPU:$D00F PRG:100F D0 0A + bne SubCCFE2_Block_6 ; CPU:$D00F PRG:100F D0 0A lda $05CE,x ; CPU:$D011 PRG:1011 BD CE 05 - sta Zp51,x ; CPU:$D014 PRG:1014 95 51 + sta BtnState,x ; CPU:$D014 PRG:1014 95 51 jsr $D03D ; CPU:$D016 PRG:1016 20 3D D0 - bne Label_D02D ; CPU:$D019 PRG:1019 D0 12 + bne SubCCFE2_Block_7 ; CPU:$D019 PRG:1019 D0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_D01B +; Routine: SubCCFE2_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +3959,16 @@ Label_D00B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D01B: +SubCCFE2_Block_6: lda Zp63,x ; CPU:$D01B PRG:101B B5 63 cmp $05CA,x ; CPU:$D01D PRG:101D DD CA 05 - bne Label_D037 ; CPU:$D020 PRG:1020 D0 15 - jsr $DA5E ; CPU:$D022 PRG:1022 20 5E DA + bne SubCCFE2_Block_9 ; CPU:$D020 PRG:1020 D0 15 + jsr SubCDA5E ; CPU:$D022 PRG:1022 20 5E DA lda $0211,y ; CPU:$D025 PRG:1025 B9 11 02 cmp $05CC,x ; CPU:$D028 PRG:1028 DD CC 05 - bne Label_D037 ; CPU:$D02B PRG:102B D0 0A + bne SubCCFE2_Block_9 ; CPU:$D02B PRG:102B D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D02D +; Routine: SubCCFE2_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3967,13 +3976,13 @@ Label_D01B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D02D: +SubCCFE2_Block_7: lda #$00 ; CPU:$D02D PRG:102D A9 00 sta $05CE,x ; CPU:$D02F PRG:102F 9D CE 05 - sta Zp39,x ; CPU:$D032 PRG:1032 95 39 + sta SprCount,x ; CPU:$D032 PRG:1032 95 39 jmp $E74A ; CPU:$D034 PRG:1034 4C 4A E7 ; ----------------------------------------------------------------------------- -; Routine: Label_D037 +; Routine: SubCCFE2_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3981,11 +3990,11 @@ Label_D02D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D037: +SubCCFE2_Block_9: lda $05CE,x ; CPU:$D037 PRG:1037 BD CE 05 - sta Zp51,x ; CPU:$D03A PRG:103A 95 51 + sta BtnState,x ; CPU:$D03A PRG:103A 95 51 ; ----------------------------------------------------------------------------- -; Routine: Label_D03C +; Routine: SubCCFE2_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +4002,10 @@ Label_D037: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D03C: +SubCCFE2_Block_3: rts ; CPU:$D03C PRG:103C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D03D +; Routine: SubCD03D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +4013,7 @@ Label_D03C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D03D: +SubCD03D: txa ; CPU:$D03D PRG:103D 8A pha ; CPU:$D03E PRG:103E 48 lda Zp88 ; CPU:$D03F PRG:103F A5 88 @@ -4012,13 +4021,13 @@ Label_D03D: lda Zp8A ; CPU:$D042 PRG:1042 A5 8A pha ; CPU:$D044 PRG:1044 48 stx Zp0A ; CPU:$D045 PRG:1045 86 0A - lda Zp51,x ; CPU:$D047 PRG:1047 B5 51 + lda BtnState,x ; CPU:$D047 PRG:1047 B5 51 cmp #$03 ; CPU:$D049 PRG:1049 C9 03 - beq Label_D053 ; CPU:$D04B PRG:104B F0 06 + beq SubCD03D_Block ; CPU:$D04B PRG:104B F0 06 jsr $D07B ; CPU:$D04D PRG:104D 20 7B D0 jmp $D056 ; CPU:$D050 PRG:1050 4C 56 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D053 +; Routine: SubCD03D_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4026,10 +4035,10 @@ Label_D03D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D053: +SubCD03D_Block: jsr $D093 ; CPU:$D053 PRG:1053 20 93 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D056 +; Routine: SubCD056 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4037,10 +4046,10 @@ Label_D053: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D056: - bne Label_D06C ; CPU:$D056 PRG:1056 D0 14 +SubCD056: + bne SubCD056_Block_2 ; CPU:$D056 PRG:1056 D0 14 jsr $D55E ; CPU:$D058 PRG:1058 20 5E D5 - bne Label_D06C ; CPU:$D05B PRG:105B D0 0F + bne SubCD056_Block_2 ; CPU:$D05B PRG:105B D0 0F dec Zp8B ; CPU:$D05D PRG:105D C6 8B lda Zp0A ; CPU:$D05F PRG:105F A5 0A eor #$01 ; CPU:$D061 PRG:1061 49 01 @@ -4049,7 +4058,7 @@ Label_D056: jsr $D9AF ; CPU:$D067 PRG:1067 20 AF D9 inc Zp8B ; CPU:$D06A PRG:106A E6 8B ; ----------------------------------------------------------------------------- -; Routine: Label_D06C +; Routine: SubCD056_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4057,7 +4066,7 @@ Label_D056: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D06C: +SubCD056_Block_2: dec Zp8B ; CPU:$D06C PRG:106C C6 8B sta Zp0F ; CPU:$D06E PRG:106E 85 0F pla ; CPU:$D070 PRG:1070 68 @@ -4069,7 +4078,7 @@ Label_D06C: lda Zp0F ; CPU:$D078 PRG:1078 A5 0F rts ; CPU:$D07A PRG:107A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D07B +; Routine: SubCD07B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +4086,13 @@ Label_D06C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D07B: +SubCD07B: lda Zp8A ; CPU:$D07B PRG:107B A5 8A sec ; CPU:$D07D PRG:107D 38 sbc Zp88 ; CPU:$D07E PRG:107E E5 88 clc ; CPU:$D080 PRG:1080 18 adc Zp8A ; CPU:$D081 PRG:1081 65 8A - bcs Label_D090 ; CPU:$D083 PRG:1083 B0 0B + bcs SubCD07B_Block ; CPU:$D083 PRG:1083 B0 0B ldx Zp8A ; CPU:$D085 PRG:1085 A6 8A sta Zp8A ; CPU:$D087 PRG:1087 85 8A stx Zp88 ; CPU:$D089 PRG:1089 86 88 @@ -4091,7 +4100,7 @@ Label_D07B: lda #$00 ; CPU:$D08D PRG:108D A9 00 rts ; CPU:$D08F PRG:108F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D090 +; Routine: SubCD07B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4099,11 +4108,11 @@ Label_D07B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D090: +SubCD07B_Block: lda #$01 ; CPU:$D090 PRG:1090 A9 01 rts ; CPU:$D092 PRG:1092 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D093 +; Routine: SubCD093 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4111,7 +4120,7 @@ Label_D090: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D093: +SubCD093: lda Zp8A ; CPU:$D093 PRG:1093 A5 8A sec ; CPU:$D095 PRG:1095 38 sbc Zp88 ; CPU:$D096 PRG:1096 E5 88 @@ -4119,7 +4128,7 @@ Label_D093: lda Zp88 ; CPU:$D09A PRG:109A A5 88 sec ; CPU:$D09C PRG:109C 38 sbc Zp8A ; CPU:$D09D PRG:109D E5 8A - bcc Label_D0AC ; CPU:$D09F PRG:109F 90 0B + bcc SubCD093_Block ; CPU:$D09F PRG:109F 90 0B ldx Zp88 ; CPU:$D0A1 PRG:10A1 A6 88 sta Zp88 ; CPU:$D0A3 PRG:10A3 85 88 stx Zp8A ; CPU:$D0A5 PRG:10A5 86 8A @@ -4127,7 +4136,7 @@ Label_D093: lda #$00 ; CPU:$D0A9 PRG:10A9 A9 00 rts ; CPU:$D0AB PRG:10AB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D0AC +; Routine: SubCD093_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4135,11 +4144,11 @@ Label_D093: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0AC: +SubCD093_Block: lda #$01 ; CPU:$D0AC PRG:10AC A9 01 rts ; CPU:$D0AE PRG:10AE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D0AF +; Routine: SubCD0AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4147,12 +4156,12 @@ Label_D0AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0AF: - lda Zp51,x ; CPU:$D0AF PRG:10AF B5 51 - bne Label_D0B4 ; CPU:$D0B1 PRG:10B1 D0 01 +SubCD0AF: + lda BtnState,x ; CPU:$D0AF PRG:10AF B5 51 + bne SubCD0AF_Block ; CPU:$D0B1 PRG:10B1 D0 01 rts ; CPU:$D0B3 PRG:10B3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D0B4 +; Routine: SubCD0AF_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4160,17 +4169,17 @@ Label_D0AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0B4: +SubCD0AF_Block: lda #$0B ; CPU:$D0B4 PRG:10B4 A9 0B jsr $D63C ; CPU:$D0B6 PRG:10B6 20 3C D6 - beq Label_D0C9 ; CPU:$D0B9 PRG:10B9 F0 0E - lda Zp51,x ; CPU:$D0BB PRG:10BB B5 51 + beq SubCD0AF_Block_2 ; CPU:$D0B9 PRG:10B9 F0 0E + lda BtnState,x ; CPU:$D0BB PRG:10BB B5 51 sec ; CPU:$D0BD PRG:10BD 38 sbc #$03 ; CPU:$D0BE PRG:10BE E9 03 sta Zp63,x ; CPU:$D0C0 PRG:10C0 95 63 jsr $D13F ; CPU:$D0C2 PRG:10C2 20 3F D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D0C5 +; Routine: SubCD0C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4178,11 +4187,11 @@ Label_D0B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0C5: +SubCD0C5: lda #$20 ; CPU:$D0C5 PRG:10C5 A9 20 - sta ZpFF ; CPU:$D0C7 PRG:10C7 85 FF + sta FrameCounter ; CPU:$D0C7 PRG:10C7 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D0C9 +; Routine: SubCD0AF_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4190,10 +4199,10 @@ Label_D0C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0C9: +SubCD0AF_Block_2: rts ; CPU:$D0C9 PRG:10C9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D0CA +; Routine: SubCD0CA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4201,18 +4210,18 @@ Label_D0C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0CA: - jsr $DA5E ; CPU:$D0CA PRG:10CA 20 5E DA +SubCD0CA: + jsr SubCDA5E ; CPU:$D0CA PRG:10CA 20 5E DA lda $0210,y ; CPU:$D0CD PRG:10CD B9 10 02 - sta Zp01 ; CPU:$D0D0 PRG:10D0 85 01 + sta PtrHi ; CPU:$D0D0 PRG:10D0 85 01 jsr $D65F ; CPU:$D0D2 PRG:10D2 20 5F D6 - lda Zp51,x ; CPU:$D0D5 PRG:10D5 B5 51 + lda BtnState,x ; CPU:$D0D5 PRG:10D5 B5 51 cmp #$03 ; CPU:$D0D7 PRG:10D7 C9 03 - bpl Label_D0E1 ; CPU:$D0D9 PRG:10D9 10 06 + bpl SubCD0CA_Block ; CPU:$D0D9 PRG:10D9 10 06 lda $0213,y ; CPU:$D0DB PRG:10DB B9 13 02 jmp $D102 ; CPU:$D0DE PRG:10DE 4C 02 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D0E1 +; Routine: SubCD0CA_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4220,23 +4229,23 @@ Label_D0CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0E1: +SubCD0CA_Block: clc ; CPU:$D0E1 PRG:10E1 18 lda Zp55,x ; CPU:$D0E2 PRG:10E2 B5 55 adc Zp7A,x ; CPU:$D0E4 PRG:10E4 75 7A sta Zp55,x ; CPU:$D0E6 PRG:10E6 95 55 lda #$00 ; CPU:$D0E8 PRG:10E8 A9 00 rol a ; CPU:$D0EA PRG:10EA 2A - sta Zp00 ; CPU:$D0EB PRG:10EB 85 00 - lda Zp51,x ; CPU:$D0ED PRG:10ED B5 51 + sta PtrLo ; CPU:$D0EB PRG:10EB 85 00 + lda BtnState,x ; CPU:$D0ED PRG:10ED B5 51 cmp #$03 ; CPU:$D0EF PRG:10EF C9 03 - beq Label_D0FC ; CPU:$D0F1 PRG:10F1 F0 09 + beq SubCD0CA_Block_2 ; CPU:$D0F1 PRG:10F1 F0 09 lda $0213,y ; CPU:$D0F3 PRG:10F3 B9 13 02 clc ; CPU:$D0F6 PRG:10F6 18 - adc Zp00 ; CPU:$D0F7 PRG:10F7 65 00 + adc PtrLo ; CPU:$D0F7 PRG:10F7 65 00 jmp $D102 ; CPU:$D0F9 PRG:10F9 4C 02 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D0FC +; Routine: SubCD0CA_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +4253,12 @@ Label_D0E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0FC: +SubCD0CA_Block_2: lda $0213,y ; CPU:$D0FC PRG:10FC B9 13 02 sec ; CPU:$D0FF PRG:10FF 38 - sbc Zp00 ; CPU:$D100 PRG:1100 E5 00 + sbc PtrLo ; CPU:$D100 PRG:1100 E5 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D102 +; Routine: SubCD102 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4257,13 +4266,13 @@ Label_D0FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D102: - sta Zp00 ; CPU:$D102 PRG:1102 85 00 +SubCD102: + sta PtrLo ; CPU:$D102 PRG:1102 85 00 lda #$18 ; CPU:$D104 PRG:1104 A9 18 - sta Zp02 ; CPU:$D106 PRG:1106 85 02 + sta Ptr2Lo ; CPU:$D106 PRG:1106 85 02 jmp $D6A3 ; CPU:$D108 PRG:1108 4C A3 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D10B +; Routine: SubCD10B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +4280,13 @@ Label_D102: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D10B: +SubCD10B: jsr $D55E ; CPU:$D10B PRG:110B 20 5E D5 - beq Label_D114 ; CPU:$D10E PRG:110E F0 04 + beq SubCD10B_Block ; CPU:$D10E PRG:110E F0 04 lda Zp53,x ; CPU:$D110 PRG:1110 B5 53 - sta Zp51,x ; CPU:$D112 PRG:1112 95 51 + sta BtnState,x ; CPU:$D112 PRG:1112 95 51 ; ----------------------------------------------------------------------------- -; Routine: Label_D114 +; Routine: SubCD10B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4285,11 +4294,11 @@ Label_D10B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D114: +SubCD10B_Block: sta Zp75 ; CPU:$D114 PRG:1114 85 75 rts ; CPU:$D116 PRG:1116 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D117 +; Routine: SubCD117 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +4306,14 @@ Label_D114: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D117: +SubCD117: jsr $D128 ; CPU:$D117 PRG:1117 20 28 D1 - bne Label_D123 ; CPU:$D11A PRG:111A D0 07 + bne SubCD117_Block ; CPU:$D11A PRG:111A D0 07 jsr $D242 ; CPU:$D11C PRG:111C 20 42 D2 lda #$01 ; CPU:$D11F PRG:111F A9 01 - bne Label_D125 ; CPU:$D121 PRG:1121 D0 02 + bne SubCD117_Block_2 ; CPU:$D121 PRG:1121 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D123 +; Routine: SubCD117_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +4321,10 @@ Label_D117: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D123: +SubCD117_Block: lda #$05 ; CPU:$D123 PRG:1123 A9 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D125 +; Routine: SubCD117_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +4332,11 @@ Label_D123: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D125: - sta Zp5F,x ; CPU:$D125 PRG:1125 95 5F +SubCD117_Block_2: + sta ObjIndex,x ; CPU:$D125 PRG:1125 95 5F rts ; CPU:$D127 PRG:1127 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D128 +; Routine: SubCD128 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4335,17 +4344,17 @@ Label_D125: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D128: - jsr $DA5E ; CPU:$D128 PRG:1128 20 5E DA +SubCD128: + jsr SubCDA5E ; CPU:$D128 PRG:1128 20 5E DA lda $0210,y ; CPU:$D12B PRG:112B B9 10 02 cmp Zp71,x ; CPU:$D12E PRG:112E D5 71 - bcc Label_D139 ; CPU:$D130 PRG:1130 90 07 + bcc SubCD128_Block ; CPU:$D130 PRG:1130 90 07 sec ; CPU:$D132 PRG:1132 38 sbc Zp71,x ; CPU:$D133 PRG:1133 F5 71 cmp Zp79 ; CPU:$D135 PRG:1135 C5 79 - bcs Label_D13C ; CPU:$D137 PRG:1137 B0 03 + bcs SubCD128_Block_2 ; CPU:$D137 PRG:1137 B0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D139 +; Routine: SubCD128_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4353,11 +4362,11 @@ Label_D128: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D139: +SubCD128_Block: lda #$00 ; CPU:$D139 PRG:1139 A9 00 rts ; CPU:$D13B PRG:113B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D13C +; Routine: SubCD128_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 @@ Label_D139: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D13C: +SubCD128_Block_2: lda #$01 ; CPU:$D13C PRG:113C A9 01 rts ; CPU:$D13E PRG:113E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D13F +; Routine: SubCD13F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +4386,17 @@ Label_D13C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D13F: +SubCD13F: jsr $D6BA ; CPU:$D13F PRG:113F 20 BA D6 ldy Zp6B,x ; CPU:$D142 PRG:1142 B4 6B cpy #$02 ; CPU:$D144 PRG:1144 C0 02 - bne Label_D156 ; CPU:$D146 PRG:1146 D0 0E + bne SubCD156 ; CPU:$D146 PRG:1146 D0 0E ldy Zp63,x ; CPU:$D148 PRG:1148 B4 63 - beq Label_D151 ; CPU:$D14A PRG:114A F0 05 + beq SubCD13F_Block ; CPU:$D14A PRG:114A F0 05 lda Zp6D ; CPU:$D14C PRG:114C A5 6D jmp $D153 ; CPU:$D14E PRG:114E 4C 53 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D151 +; Routine: SubCD13F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4395,10 +4404,10 @@ Label_D13F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D151: +SubCD13F_Block: lda Zp6E ; CPU:$D151 PRG:1151 A5 6E ; ----------------------------------------------------------------------------- -; Routine: Label_D153 +; Routine: SubCD153 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +4415,11 @@ Label_D151: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D153: +SubCD153: sec ; CPU:$D153 PRG:1153 38 sbc #$10 ; CPU:$D154 PRG:1154 E9 10 ; ----------------------------------------------------------------------------- -; Routine: Label_D156 +; Routine: SubCD156 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4418,10 +4427,10 @@ Label_D153: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D156: - sta Zp00 ; CPU:$D156 PRG:1156 85 00 +SubCD156: + sta PtrLo ; CPU:$D156 PRG:1156 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D158 +; Routine: SubCD158 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4429,15 +4438,15 @@ Label_D156: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D158: +SubCD158: lda #$28 ; CPU:$D158 PRG:1158 A9 28 - sta Zp02 ; CPU:$D15A PRG:115A 85 02 + sta Ptr2Lo ; CPU:$D15A PRG:115A 85 02 jsr $D6A3 ; CPU:$D15C PRG:115C 20 A3 D6 lda #$01 ; CPU:$D15F PRG:115F A9 01 sta Zp6B,x ; CPU:$D161 PRG:1161 95 6B rts ; CPU:$D163 PRG:1163 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D164 +; Routine: SubCD164 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4445,7 +4454,7 @@ Label_D158: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D164: +SubCD164: txa ; CPU:$D164 PRG:1164 8A pha ; CPU:$D165 PRG:1165 48 jsr $D6BA ; CPU:$D166 PRG:1166 20 BA D6 @@ -4453,7 +4462,7 @@ Label_D164: beq UpdateSpritePosition26 ; CPU:$D16B PRG:116B F0 08 sec ; CPU:$D16D PRG:116D 38 sbc #$0C ; CPU:$D16E PRG:116E E9 0C - sta Zp00 ; CPU:$D170 PRG:1170 85 00 + sta PtrLo ; CPU:$D170 PRG:1170 85 00 jmp $D17A ; CPU:$D172 PRG:1172 4C 7A D1 ; ----------------------------------------------------------------------------- ; Routine: UpdateSpritePosition26 @@ -4467,9 +4476,9 @@ Label_D164: UpdateSpritePosition26: clc ; CPU:$D175 PRG:1175 18 adc #$0C ; CPU:$D176 PRG:1176 69 0C - sta Zp00 ; CPU:$D178 PRG:1178 85 00 + sta PtrLo ; CPU:$D178 PRG:1178 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D17A +; Routine: SubCD17A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +4486,16 @@ UpdateSpritePosition26: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D17A: - lda Zp4A ; CPU:$D17A PRG:117A A5 4A +SubCD17A: + lda SprIndex ; CPU:$D17A PRG:117A A5 4A cmp #$02 ; CPU:$D17C PRG:117C C9 02 - bne Label_D1B8 ; CPU:$D17E PRG:117E D0 38 - lda Zp51 ; CPU:$D180 PRG:1180 A5 51 + bne SubCD17A_Block_3 ; CPU:$D17E PRG:117E D0 38 + lda BtnState ; CPU:$D180 PRG:1180 A5 51 cmp #$03 ; CPU:$D182 PRG:1182 C9 03 - bne Label_D189 ; CPU:$D184 PRG:1184 D0 03 + bne SubCD17A_Block_2 ; CPU:$D184 PRG:1184 D0 03 jmp $D23F ; CPU:$D186 PRG:1186 4C 3F D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D189 +; Routine: SubCD17A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4494,23 +4503,23 @@ Label_D17A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D189: +SubCD17A_Block_2: lda #$01 ; CPU:$D189 PRG:1189 A9 01 sta Zp63 ; CPU:$D18B PRG:118B 85 63 lda $0210 ; CPU:$D18D PRG:118D AD 10 02 cmp #$20 ; CPU:$D190 PRG:1190 C9 20 - bcc Label_D1B8 ; CPU:$D192 PRG:1192 90 24 + bcc SubCD17A_Block_3 ; CPU:$D192 PRG:1192 90 24 lda $0210 ; CPU:$D194 PRG:1194 AD 10 02 and #$0F ; CPU:$D197 PRG:1197 29 0F cmp #$08 ; CPU:$D199 PRG:1199 C9 08 - bpl Label_D1A8 ; CPU:$D19B PRG:119B 10 0B + bpl SubCD17A_Block_4 ; CPU:$D19B PRG:119B 10 0B lda $0210 ; CPU:$D19D PRG:119D AD 10 02 and #$F0 ; CPU:$D1A0 PRG:11A0 29 F0 sec ; CPU:$D1A2 PRG:11A2 38 sbc #$04 ; CPU:$D1A3 PRG:11A3 E9 04 jmp $D1AB ; CPU:$D1A5 PRG:11A5 4C AB D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D1A8 +; Routine: SubCD17A_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4518,10 +4527,10 @@ Label_D189: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1A8: +SubCD17A_Block_4: lda $0210 ; CPU:$D1A8 PRG:11A8 AD 10 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D1AB +; Routine: SubCD1AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4529,15 +4538,15 @@ Label_D1A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1AB: - sta Zp01 ; CPU:$D1AB PRG:11AB 85 01 +SubCD1AB: + sta PtrHi ; CPU:$D1AB PRG:11AB 85 01 lda #$02 ; CPU:$D1AD PRG:11AD A9 02 sta ZpFE ; CPU:$D1AF PRG:11AF 85 FE lda #$94 ; CPU:$D1B1 PRG:11B1 A9 94 sta Zp4B ; CPU:$D1B3 PRG:11B3 85 4B jmp $D231 ; CPU:$D1B5 PRG:11B5 4C 31 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1B8 +; Routine: SubCD17A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +4554,12 @@ Label_D1AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1B8: +SubCD17A_Block_3: cmp #$03 ; CPU:$D1B8 PRG:11B8 C9 03 - bne Label_D22F ; CPU:$D1BA PRG:11BA D0 73 + bne SubCD1AB_Block_3 ; CPU:$D1BA PRG:11BA D0 73 lda $0213 ; CPU:$D1BC PRG:11BC AD 13 02 cmp $05F3 ; CPU:$D1BF PRG:11BF CD F3 05 - bne Label_D22F ; CPU:$D1C2 PRG:11C2 D0 6B + bne SubCD1AB_Block_3 ; CPU:$D1C2 PRG:11C2 D0 6B jsr $E5F8 ; CPU:$D1C4 PRG:11C4 20 F8 E5 ldx #$00 ; CPU:$D1C7 PRG:11C7 A2 00 ldy #$00 ; CPU:$D1C9 PRG:11C9 A0 00 @@ -4559,7 +4568,7 @@ Label_D1B8: sta $02D0 ; CPU:$D1CF PRG:11CF 8D D0 02 sta $05F5 ; CPU:$D1D2 PRG:11D2 8D F5 05 lda ZpBE ; CPU:$D1D5 PRG:11D5 A5 BE - beq Label_D22F ; CPU:$D1D7 PRG:11D7 F0 56 + beq SubCD1AB_Block_3 ; CPU:$D1D7 PRG:11D7 F0 56 ldy #$08 ; CPU:$D1D9 PRG:11D9 A0 08 lda ZpA3 ; CPU:$D1DB PRG:11DB A5 A3 sta ZpA7 ; CPU:$D1DD PRG:11DD 85 A7 @@ -4568,14 +4577,14 @@ Label_D1B8: lda ZpA5 ; CPU:$D1E3 PRG:11E3 A5 A5 sta ZpA9 ; CPU:$D1E5 PRG:11E5 85 A9 lda ZpB4 ; CPU:$D1E7 PRG:11E7 A5 B4 - beq Label_D201 ; CPU:$D1E9 PRG:11E9 F0 16 + beq SubCD1AB_Block_4 ; CPU:$D1E9 PRG:11E9 F0 16 lda ZpB4 ; CPU:$D1EB PRG:11EB A5 B4 clc ; CPU:$D1ED PRG:11ED 18 adc $04FB ; CPU:$D1EE PRG:11EE 6D FB 04 - bcs Label_D1F6 ; CPU:$D1F1 PRG:11F1 B0 03 + bcs SubCD1AB_Block_5 ; CPU:$D1F1 PRG:11F1 B0 03 sta $04FB ; CPU:$D1F3 PRG:11F3 8D FB 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D1F6 +; Routine: SubCD1AB_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +4592,14 @@ Label_D1B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1F6: +SubCD1AB_Block_5: lda #$01 ; CPU:$D1F6 PRG:11F6 A9 01 sta Zp50 ; CPU:$D1F8 PRG:11F8 85 50 sta ZpB0 ; CPU:$D1FA PRG:11FA 85 B0 ldy #$18 ; CPU:$D1FC PRG:11FC A0 18 jsr $E6D3 ; CPU:$D1FE PRG:11FE 20 D3 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_D201 +; Routine: SubCD1AB_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4598,15 +4607,15 @@ Label_D1F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D201: +SubCD1AB_Block_4: jsr $E6DE ; CPU:$D201 PRG:1201 20 DE E6 - sty ZpEC ; CPU:$D204 PRG:1204 84 EC + sty GameState ; CPU:$D204 PRG:1204 84 EC cpy #$08 ; CPU:$D206 PRG:1206 C0 08 - beq Label_D20E ; CPU:$D208 PRG:1208 F0 04 + beq SubCD20E ; CPU:$D208 PRG:1208 F0 04 cpy #$18 ; CPU:$D20A PRG:120A C0 18 - bne Label_D22C ; CPU:$D20C PRG:120C D0 1E + bne SubCD1AB_Block_6 ; CPU:$D20C PRG:120C D0 1E ; ----------------------------------------------------------------------------- -; Routine: Label_D20E +; Routine: SubCD20E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4614,23 +4623,23 @@ Label_D201: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D20E: +SubCD20E: lda #$00 ; CPU:$D20E PRG:120E A9 00 ldx #$00 ; CPU:$D210 PRG:1210 A2 00 sta Zp33 ; CPU:$D212 PRG:1212 85 33 lda #$04 ; CPU:$D214 PRG:1214 A9 04 sta Zp79 ; CPU:$D216 PRG:1216 85 79 - sta Zp5F ; CPU:$D218 PRG:1218 85 5F + sta ObjIndex ; CPU:$D218 PRG:1218 85 5F jsr $D6BA ; CPU:$D21A PRG:121A 20 BA D6 lda #$18 ; CPU:$D21D PRG:121D A9 18 - sta Zp02 ; CPU:$D21F PRG:121F 85 02 + sta Ptr2Lo ; CPU:$D21F PRG:121F 85 02 lda Zp63 ; CPU:$D221 PRG:1221 A5 63 eor #$01 ; CPU:$D223 PRG:1223 49 01 jsr $D6A7 ; CPU:$D225 PRG:1225 20 A7 D6 lda #$00 ; CPU:$D228 PRG:1228 A9 00 sta Zp57 ; CPU:$D22A PRG:122A 85 57 ; ----------------------------------------------------------------------------- -; Routine: Label_D22C +; Routine: SubCD1AB_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4638,12 +4647,12 @@ Label_D20E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D22C: +SubCD1AB_Block_6: pla ; CPU:$D22C PRG:122C 68 tax ; CPU:$D22D PRG:122D AA rts ; CPU:$D22E PRG:122E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D22F +; Routine: SubCD1AB_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4651,10 +4660,10 @@ Label_D22C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D22F: +SubCD1AB_Block_3: lda #$38 ; CPU:$D22F PRG:122F A9 38 ; ----------------------------------------------------------------------------- -; Routine: Label_D231 +; Routine: SubCD231 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +4671,15 @@ Label_D22F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D231: - sta Zp02 ; CPU:$D231 PRG:1231 85 02 +SubCD231: + sta Ptr2Lo ; CPU:$D231 PRG:1231 85 02 jsr $D6A3 ; CPU:$D233 PRG:1233 20 A3 D6 jsr $E32D ; CPU:$D236 PRG:1236 20 2D E3 lda #$02 ; CPU:$D239 PRG:1239 A9 02 sta Zp6B,x ; CPU:$D23B PRG:123B 95 6B - sta Zp5F,x ; CPU:$D23D PRG:123D 95 5F + sta ObjIndex,x ; CPU:$D23D PRG:123D 95 5F ; ----------------------------------------------------------------------------- -; Routine: Label_D23F +; Routine: SubCD23F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +4687,12 @@ Label_D231: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D23F: +SubCD23F: pla ; CPU:$D23F PRG:123F 68 tax ; CPU:$D240 PRG:1240 AA rts ; CPU:$D241 PRG:1241 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D242 +; Routine: SubCD242 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4691,27 +4700,27 @@ Label_D23F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D242: +SubCD242: lda Zp8D ; CPU:$D242 PRG:1242 A5 8D sec ; CPU:$D244 PRG:1244 38 sbc #$11 ; CPU:$D245 PRG:1245 E9 11 - sta Zp01 ; CPU:$D247 PRG:1247 85 01 - jsr $DA5E ; CPU:$D249 PRG:1249 20 5E DA + sta PtrHi ; CPU:$D247 PRG:1247 85 01 + jsr SubCDA5E ; CPU:$D249 PRG:1249 20 5E DA lda $0213,y ; CPU:$D24C PRG:124C B9 13 02 - sta Zp00 ; CPU:$D24F PRG:124F 85 00 + sta PtrLo ; CPU:$D24F PRG:124F 85 00 lda #$20 ; CPU:$D251 PRG:1251 A9 20 - sta Zp02 ; CPU:$D253 PRG:1253 85 02 + sta Ptr2Lo ; CPU:$D253 PRG:1253 85 02 sta Zp5B,x ; CPU:$D255 PRG:1255 95 5B jsr $D6A3 ; CPU:$D257 PRG:1257 20 A3 D6 lda #$02 ; CPU:$D25A PRG:125A A9 02 sta Zp78 ; CPU:$D25C PRG:125C 85 78 lda #$FF ; CPU:$D25E PRG:125E A9 FF - ldy Zp4A ; CPU:$D260 PRG:1260 A4 4A + ldy SprIndex ; CPU:$D260 PRG:1260 A4 4A cpy #$01 ; CPU:$D262 PRG:1262 C0 01 - bne Label_D268 ; CPU:$D264 PRG:1264 D0 02 + bne SubCD242_Block ; CPU:$D264 PRG:1264 D0 02 lda #$32 ; CPU:$D266 PRG:1266 A9 32 ; ----------------------------------------------------------------------------- -; Routine: Label_D268 +; Routine: SubCD242_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4719,15 +4728,15 @@ Label_D242: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D268: +SubCD242_Block: sta Zp79 ; CPU:$D268 PRG:1268 85 79 lda #$A0 ; CPU:$D26A PRG:126A A9 A0 sta Zp7A,x ; CPU:$D26C PRG:126C 95 7A lda #$10 ; CPU:$D26E PRG:126E A9 10 - sta ZpFF ; CPU:$D270 PRG:1270 85 FF + sta FrameCounter ; CPU:$D270 PRG:1270 85 FF rts ; CPU:$D272 PRG:1272 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D273 +; Routine: SubCD273 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,23 +4744,23 @@ Label_D268: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D273: - jsr $DA5E ; CPU:$D273 PRG:1273 20 5E DA +SubCD273: + jsr SubCDA5E ; CPU:$D273 PRG:1273 20 5E DA lda $0210,y ; CPU:$D276 PRG:1276 B9 10 02 - sta Zp01 ; CPU:$D279 PRG:1279 85 01 + sta PtrHi ; CPU:$D279 PRG:1279 85 01 sta Zp71,x ; CPU:$D27B PRG:127B 95 71 lda $0213,y ; CPU:$D27D PRG:127D B9 13 02 - sta Zp00 ; CPU:$D280 PRG:1280 85 00 + sta PtrLo ; CPU:$D280 PRG:1280 85 00 lda #$18 ; CPU:$D282 PRG:1282 A9 18 - sta Zp02 ; CPU:$D284 PRG:1284 85 02 + sta Ptr2Lo ; CPU:$D284 PRG:1284 85 02 jsr $D6A3 ; CPU:$D286 PRG:1286 20 A3 D6 lda #$00 ; CPU:$D289 PRG:1289 A9 00 sta Zp6B,x ; CPU:$D28B PRG:128B 95 6B lda #$04 ; CPU:$D28D PRG:128D A9 04 - sta Zp5F,x ; CPU:$D28F PRG:128F 95 5F + sta ObjIndex,x ; CPU:$D28F PRG:128F 95 5F rts ; CPU:$D291 PRG:1291 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D292 +; Routine: SubCD292 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4759,25 +4768,25 @@ Label_D273: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D292: - jsr $DA5E ; CPU:$D292 PRG:1292 20 5E DA +SubCD292: + jsr SubCDA5E ; CPU:$D292 PRG:1292 20 5E DA lda $0210,y ; CPU:$D295 PRG:1295 B9 10 02 cmp #$D8 ; CPU:$D298 PRG:1298 C9 D8 - bcs Label_D2B5 ; CPU:$D29A PRG:129A B0 19 + bcs SubCD292_Block ; CPU:$D29A PRG:129A B0 19 clc ; CPU:$D29C PRG:129C 18 adc #$02 ; CPU:$D29D PRG:129D 69 02 - sta Zp01 ; CPU:$D29F PRG:129F 85 01 + sta PtrHi ; CPU:$D29F PRG:129F 85 01 lda Zp09 ; CPU:$D2A1 PRG:12A1 A5 09 - sta ZpFF ; CPU:$D2A3 PRG:12A3 85 FF + sta FrameCounter ; CPU:$D2A3 PRG:12A3 85 FF lda $0213,y ; CPU:$D2A5 PRG:12A5 B9 13 02 - sta Zp00 ; CPU:$D2A8 PRG:12A8 85 00 + sta PtrLo ; CPU:$D2A8 PRG:12A8 85 00 lda #$40 ; CPU:$D2AA PRG:12AA A9 40 - sta Zp02 ; CPU:$D2AC PRG:12AC 85 02 + sta Ptr2Lo ; CPU:$D2AC PRG:12AC 85 02 lda #$00 ; CPU:$D2AE PRG:12AE A9 00 sta Zp09 ; CPU:$D2B0 PRG:12B0 85 09 jmp $D6A7 ; CPU:$D2B2 PRG:12B2 4C A7 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D2B5 +; Routine: SubCD292_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4785,12 +4794,12 @@ Label_D292: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2B5: +SubCD292_Block: lda Zp08 ; CPU:$D2B5 PRG:12B5 A5 08 - sta ZpFF ; CPU:$D2B7 PRG:12B7 85 FF + sta FrameCounter ; CPU:$D2B7 PRG:12B7 85 FF jmp $CB26 ; CPU:$D2B9 PRG:12B9 4C 26 CB ; ----------------------------------------------------------------------------- -; Routine: Label_D2BC +; Routine: SubCD2BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4798,32 +4807,32 @@ Label_D2B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2BC: - lda Zp4A ; CPU:$D2BC PRG:12BC A5 4A +SubCD2BC: + lda SprIndex ; CPU:$D2BC PRG:12BC A5 4A cmp #$03 ; CPU:$D2BE PRG:12BE C9 03 - bne Label_D312 ; CPU:$D2C0 PRG:12C0 D0 50 + bne SubCD2BC_Block_2 ; CPU:$D2C0 PRG:12C0 D0 50 lda #$F8 ; CPU:$D2C2 PRG:12C2 A9 F8 sta $02D8 ; CPU:$D2C4 PRG:12C4 8D D8 02 sta $02DC ; CPU:$D2C7 PRG:12C7 8D DC 02 - lda ZpEC ; CPU:$D2CA PRG:12CA A5 EC + lda GameState ; CPU:$D2CA PRG:12CA A5 EC cmp #$08 ; CPU:$D2CC PRG:12CC C9 08 - bne Label_D312 ; CPU:$D2CE PRG:12CE D0 42 + bne SubCD2BC_Block_2 ; CPU:$D2CE PRG:12CE D0 42 lda $0211 ; CPU:$D2D0 PRG:12D0 AD 11 02 cmp #$F8 ; CPU:$D2D3 PRG:12D3 C9 F8 - beq Label_D2F7 ; CPU:$D2D5 PRG:12D5 F0 20 + beq SubCD2BC_Block_3 ; CPU:$D2D5 PRG:12D5 F0 20 lda #$C7 ; CPU:$D2D7 PRG:12D7 A9 C7 - sta Zp01 ; CPU:$D2D9 PRG:12D9 85 01 + sta PtrHi ; CPU:$D2D9 PRG:12D9 85 01 lda $0213 ; CPU:$D2DB PRG:12DB AD 13 02 - sta Zp00 ; CPU:$D2DE PRG:12DE 85 00 + sta PtrLo ; CPU:$D2DE PRG:12DE 85 00 lda #$F8 ; CPU:$D2E0 PRG:12E0 A9 F8 - sta Zp02 ; CPU:$D2E2 PRG:12E2 85 02 + sta Ptr2Lo ; CPU:$D2E2 PRG:12E2 85 02 jsr $D69F ; CPU:$D2E4 PRG:12E4 20 9F D6 ldy #$C0 ; CPU:$D2E7 PRG:12E7 A0 C0 lda ZpAF ; CPU:$D2E9 PRG:12E9 A5 AF - bne Label_D2EF ; CPU:$D2EB PRG:12EB D0 02 + bne SubCD2BC_Block_4 ; CPU:$D2EB PRG:12EB D0 02 ldy #$70 ; CPU:$D2ED PRG:12ED A0 70 ; ----------------------------------------------------------------------------- -; Routine: Label_D2EF +; Routine: SubCD2BC_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4831,12 +4840,12 @@ Label_D2BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2EF: +SubCD2BC_Block_4: sty Zp59 ; CPU:$D2EF PRG:12EF 84 59 sty $0420 ; CPU:$D2F1 PRG:12F1 8C 20 04 jsr $E912 ; CPU:$D2F4 PRG:12F4 20 12 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_D2F7 +; Routine: SubCD2BC_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4844,20 +4853,20 @@ Label_D2EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2F7: +SubCD2BC_Block_3: lda Zp59 ; CPU:$D2F7 PRG:12F7 A5 59 cmp #$01 ; CPU:$D2F9 PRG:12F9 C9 01 - bne Label_D311 ; CPU:$D2FB PRG:12FB D0 14 + bne SubCD2BC_Block_6 ; CPU:$D2FB PRG:12FB D0 14 lda $0402 ; CPU:$D2FD PRG:12FD AD 02 04 cmp #$0A ; CPU:$D300 PRG:1300 C9 0A - beq Label_D311 ; CPU:$D302 PRG:1302 F0 0D + beq SubCD2BC_Block_6 ; CPU:$D302 PRG:1302 F0 0D jsr $C6F9 ; CPU:$D304 PRG:1304 20 F9 C6 jsr $E387 ; CPU:$D307 PRG:1307 20 87 E3 lda #$18 ; CPU:$D30A PRG:130A A9 18 jsr $F22A ; CPU:$D30C PRG:130C 20 2A F2 ldx #$00 ; CPU:$D30F PRG:130F A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D311 +; Routine: SubCD2BC_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +4874,10 @@ Label_D2F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D311: +SubCD2BC_Block_6: rts ; CPU:$D311 PRG:1311 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D312 +; Routine: SubCD2BC_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4876,14 +4885,14 @@ Label_D311: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D312: +SubCD2BC_Block_2: lda Zp59,x ; CPU:$D312 PRG:1312 B5 59 cmp #$24 ; CPU:$D314 PRG:1314 C9 24 - bne Label_D31C ; CPU:$D316 PRG:1316 D0 04 + bne SubCD2BC_Block_7 ; CPU:$D316 PRG:1316 D0 04 lda #$02 ; CPU:$D318 PRG:1318 A9 02 - sta ZpFF ; CPU:$D31A PRG:131A 85 FF + sta FrameCounter ; CPU:$D31A PRG:131A 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D31C +; Routine: SubCD2BC_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4891,19 +4900,19 @@ Label_D312: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D31C: - jsr $DA5E ; CPU:$D31C PRG:131C 20 5E DA +SubCD2BC_Block_7: + jsr SubCDA5E ; CPU:$D31C PRG:131C 20 5E DA lda $0210,y ; CPU:$D31F PRG:131F B9 10 02 - sta Zp01 ; CPU:$D322 PRG:1322 85 01 + sta PtrHi ; CPU:$D322 PRG:1322 85 01 lda $0213,y ; CPU:$D324 PRG:1324 B9 13 02 - sta Zp00 ; CPU:$D327 PRG:1327 85 00 + sta PtrLo ; CPU:$D327 PRG:1327 85 00 ldy #$40 ; CPU:$D329 PRG:1329 A0 40 lda Zp59,x ; CPU:$D32B PRG:132B B5 59 and #$02 ; CPU:$D32D PRG:132D 29 02 - bne Label_D333 ; CPU:$D32F PRG:132F D0 02 + bne SubCD2BC_Block_8 ; CPU:$D32F PRG:132F D0 02 ldy #$48 ; CPU:$D331 PRG:1331 A0 48 ; ----------------------------------------------------------------------------- -; Routine: Label_D333 +; Routine: SubCD2BC_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4911,19 +4920,19 @@ Label_D31C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D333: - sty Zp02 ; CPU:$D333 PRG:1333 84 02 +SubCD2BC_Block_8: + sty Ptr2Lo ; CPU:$D333 PRG:1333 84 02 jsr $D69F ; CPU:$D335 PRG:1335 20 9F D6 lda #$20 ; CPU:$D338 PRG:1338 A9 20 - sta Zp39,x ; CPU:$D33A PRG:133A 95 39 - jsr $DA5E ; CPU:$D33C PRG:133C 20 5E DA + sta SprCount,x ; CPU:$D33A PRG:133A 95 39 + jsr SubCDA5E ; CPU:$D33C PRG:133C 20 5E DA lda $0210,y ; CPU:$D33F PRG:133F B9 10 02 cmp #$D8 ; CPU:$D342 PRG:1342 C9 D8 - bcs Label_D34A ; CPU:$D344 PRG:1344 B0 04 + bcs SubCD2BC_Block_9 ; CPU:$D344 PRG:1344 B0 04 lda #$10 ; CPU:$D346 PRG:1346 A9 10 - bne Label_D34C ; CPU:$D348 PRG:1348 D0 02 + bne SubCD2BC_Block_10 ; CPU:$D348 PRG:1348 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D34A +; Routine: SubCD2BC_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4931,10 +4940,10 @@ Label_D333: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D34A: +SubCD2BC_Block_9: lda #$00 ; CPU:$D34A PRG:134A A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D34C +; Routine: SubCD2BC_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +4951,11 @@ Label_D34A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D34C: +SubCD2BC_Block_10: sta Zp08 ; CPU:$D34C PRG:134C 85 08 rts ; CPU:$D34E PRG:134E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D34F +; Routine: SubCD34F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4954,13 +4963,13 @@ Label_D34C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D34F: - lda Zp5F ; CPU:$D34F PRG:134F A5 5F +SubCD34F: + lda ObjIndex ; CPU:$D34F PRG:134F A5 5F cmp #$02 ; CPU:$D351 PRG:1351 C9 02 - beq Label_D356 ; CPU:$D353 PRG:1353 F0 01 + beq SubCD34F_Block ; CPU:$D353 PRG:1353 F0 01 rts ; CPU:$D355 PRG:1355 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D356 +; Routine: SubCD34F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4968,14 +4977,14 @@ Label_D34F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D356: +SubCD34F_Block: txa ; CPU:$D356 PRG:1356 8A pha ; CPU:$D357 PRG:1357 48 ldx #$00 ; CPU:$D358 PRG:1358 A2 00 sta ZpE7 ; CPU:$D35A PRG:135A 85 E7 ldy #$02 ; CPU:$D35C PRG:135C A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D35E +; Routine: SubCD35E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4983,33 +4992,33 @@ Label_D356: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D35E: +SubCD35E: tya ; CPU:$D35E PRG:135E 98 pha ; CPU:$D35F PRG:135F 48 txa ; CPU:$D360 PRG:1360 8A pha ; CPU:$D361 PRG:1361 48 lda ZpC2,x ; CPU:$D362 PRG:1362 B5 C2 - sta Zp00 ; CPU:$D364 PRG:1364 85 00 + sta PtrLo ; CPU:$D364 PRG:1364 85 00 lda ZpC3,x ; CPU:$D366 PRG:1366 B5 C3 cmp #$40 ; CPU:$D368 PRG:1368 C9 40 - beq Label_D38D ; CPU:$D36A PRG:136A F0 21 - sta Zp01 ; CPU:$D36C PRG:136C 85 01 + beq SubCD35E_Block_5 ; CPU:$D36A PRG:136A F0 21 + sta PtrHi ; CPU:$D36C PRG:136C 85 01 lda #$8E ; CPU:$D36E PRG:136E A9 8E - sta Zp02 ; CPU:$D370 PRG:1370 85 02 + sta Ptr2Lo ; CPU:$D370 PRG:1370 85 02 lda #$C1 ; CPU:$D372 PRG:1372 A9 C1 sta Zp03 ; CPU:$D374 PRG:1374 85 03 jsr $D9AF ; CPU:$D376 PRG:1376 20 AF D9 - beq Label_D38D ; CPU:$D379 PRG:1379 F0 12 + beq SubCD35E_Block_5 ; CPU:$D379 PRG:1379 F0 12 lda Zp53 ; CPU:$D37B PRG:137B A5 53 - beq Label_D38D ; CPU:$D37D PRG:137D F0 0E - cmp Zp51 ; CPU:$D37F PRG:137F C5 51 - bne Label_D38D ; CPU:$D381 PRG:1381 D0 0A + beq SubCD35E_Block_5 ; CPU:$D37D PRG:137D F0 0E + cmp BtnState ; CPU:$D37F PRG:137F C5 51 + bne SubCD35E_Block_5 ; CPU:$D381 PRG:1381 D0 0A cmp #$01 ; CPU:$D383 PRG:1383 C9 01 - bne Label_D38D ; CPU:$D385 PRG:1385 D0 06 + bne SubCD35E_Block_5 ; CPU:$D385 PRG:1385 D0 06 jsr $D3A2 ; CPU:$D387 PRG:1387 20 A2 D3 jsr $D3C1 ; CPU:$D38A PRG:138A 20 C1 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D38D +; Routine: SubCD35E_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,21 +5026,21 @@ Label_D35E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D38D: +SubCD35E_Block_5: pla ; CPU:$D38D PRG:138D 68 tax ; CPU:$D38E PRG:138E AA pla ; CPU:$D38F PRG:138F 68 tay ; CPU:$D390 PRG:1390 A8 dey ; CPU:$D391 PRG:1391 88 - beq Label_D39F ; CPU:$D392 PRG:1392 F0 0B + beq SubCD35E_Block_7 ; CPU:$D392 PRG:1392 F0 0B lda Zp0D ; CPU:$D394 PRG:1394 A5 0D cmp #$02 ; CPU:$D396 PRG:1396 C9 02 - beq Label_D39F ; CPU:$D398 PRG:1398 F0 05 + beq SubCD35E_Block_7 ; CPU:$D398 PRG:1398 F0 05 inx ; CPU:$D39A PRG:139A E8 inx ; CPU:$D39B PRG:139B E8 jmp $D35E ; CPU:$D39C PRG:139C 4C 5E D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D39F +; Routine: SubCD35E_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5039,12 +5048,12 @@ Label_D38D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D39F: +SubCD35E_Block_7: pla ; CPU:$D39F PRG:139F 68 tax ; CPU:$D3A0 PRG:13A0 AA rts ; CPU:$D3A1 PRG:13A1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3A2 +; Routine: SubCD3A2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5052,7 +5061,7 @@ Label_D39F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3A2: +SubCD3A2: pha ; CPU:$D3A2 PRG:13A2 48 txa ; CPU:$D3A3 PRG:13A3 8A pha ; CPU:$D3A4 PRG:13A4 48 @@ -5062,7 +5071,7 @@ Label_D3A2: ldx #$01 ; CPU:$D3A9 PRG:13A9 A2 01 clc ; CPU:$D3AB PRG:13AB 18 ; ----------------------------------------------------------------------------- -; Routine: Label_D3AC +; Routine: SubCD3A2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5070,10 +5079,10 @@ Label_D3A2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3AC: +SubCD3A2_Block_2: ldy #$02 ; CPU:$D3AC PRG:13AC A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D3AE +; Routine: SubCD3A2_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5081,15 +5090,15 @@ Label_D3AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3AE: +SubCD3A2_Block: sta ZpD1,x ; CPU:$D3AE PRG:13AE 95 D1 adc #$01 ; CPU:$D3B0 PRG:13B0 69 01 inx ; CPU:$D3B2 PRG:13B2 E8 dey ; CPU:$D3B3 PRG:13B3 88 - bne Label_D3AE ; CPU:$D3B4 PRG:13B4 D0 F8 + bne SubCD3A2_Block ; CPU:$D3B4 PRG:13B4 D0 F8 inx ; CPU:$D3B6 PRG:13B6 E8 cpx #$0A ; CPU:$D3B7 PRG:13B7 E0 0A - bne Label_D3AC ; CPU:$D3B9 PRG:13B9 D0 F1 + bne SubCD3A2_Block_2 ; CPU:$D3B9 PRG:13B9 D0 F1 pla ; CPU:$D3BB PRG:13BB 68 tay ; CPU:$D3BC PRG:13BC A8 pla ; CPU:$D3BD PRG:13BD 68 @@ -5097,7 +5106,7 @@ Label_D3AE: pla ; CPU:$D3BF PRG:13BF 68 rts ; CPU:$D3C0 PRG:13C0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3C1 +; Routine: SubCD3C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5105,7 +5114,7 @@ Label_D3AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3C1: +SubCD3C1: lda #$33 ; CPU:$D3C1 PRG:13C1 A9 33 sta ZpD1 ; CPU:$D3C3 PRG:13C3 85 D1 lda #$24 ; CPU:$D3C5 PRG:13C5 A9 24 @@ -5116,24 +5125,24 @@ Label_D3C1: sec ; CPU:$D3CF PRG:13CF 38 sbc #$20 ; CPU:$D3D0 PRG:13D0 E9 20 sta ZpB6,x ; CPU:$D3D2 PRG:13D2 95 B6 - sta Zp00 ; CPU:$D3D4 PRG:13D4 85 00 + sta PtrLo ; CPU:$D3D4 PRG:13D4 85 00 lda ZpB7,x ; CPU:$D3D6 PRG:13D6 B5 B7 sbc #$00 ; CPU:$D3D8 PRG:13D8 E9 00 sta ZpB7,x ; CPU:$D3DA PRG:13DA 95 B7 - sta Zp01 ; CPU:$D3DC PRG:13DC 85 01 + sta PtrHi ; CPU:$D3DC PRG:13DC 85 01 lda ZpC3,x ; CPU:$D3DE PRG:13DE B5 C3 sec ; CPU:$D3E0 PRG:13E0 38 sbc #$08 ; CPU:$D3E1 PRG:13E1 E9 08 sta ZpC3,x ; CPU:$D3E3 PRG:13E3 95 C3 cmp #$60 ; CPU:$D3E5 PRG:13E5 C9 60 - beq Label_D3F9 ; CPU:$D3E7 PRG:13E7 F0 10 + beq SubCD3C1_Block ; CPU:$D3E7 PRG:13E7 F0 10 cmp #$68 ; CPU:$D3E9 PRG:13E9 C9 68 - beq Label_D420 ; CPU:$D3EB PRG:13EB F0 33 + beq SubCD3C1_Block_2 ; CPU:$D3EB PRG:13EB F0 33 cmp #$B0 ; CPU:$D3ED PRG:13ED C9 B0 - bne Label_D42A ; CPU:$D3EF PRG:13EF D0 39 - beq Label_D3F3 ; CPU:$D3F1 PRG:13F1 F0 00 + bne SubCD3C1_Block_6 ; CPU:$D3EF PRG:13EF D0 39 + beq SubCD3C1_Block_4 ; CPU:$D3F1 PRG:13F1 F0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D3F3 +; Routine: SubCD3C1_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5141,12 +5150,12 @@ Label_D3C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3F3: +SubCD3C1_Block_4: lda #$66 ; CPU:$D3F3 PRG:13F3 A9 66 sta ZpD7 ; CPU:$D3F5 PRG:13F5 85 D7 - bne Label_D42A ; CPU:$D3F7 PRG:13F7 D0 31 + bne SubCD3C1_Block_6 ; CPU:$D3F7 PRG:13F7 D0 31 ; ----------------------------------------------------------------------------- -; Routine: Label_D3F9 +; Routine: SubCD3C1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5154,7 +5163,7 @@ Label_D3F3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3F9: +SubCD3C1_Block: sta ZpAF ; CPU:$D3F9 PRG:13F9 85 AF lda #$1F ; CPU:$D3FB PRG:13FB A9 1F sta Zp32 ; CPU:$D3FD PRG:13FD 85 32 @@ -5173,9 +5182,9 @@ Label_D3F9: inc Zp95 ; CPU:$D418 PRG:1418 E6 95 lda #$04 ; CPU:$D41A PRG:141A A9 04 sta ZpFE ; CPU:$D41C PRG:141C 85 FE - bne Label_D42A ; CPU:$D41E PRG:141E D0 0A + bne SubCD3C1_Block_6 ; CPU:$D41E PRG:141E D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D420 +; Routine: SubCD3C1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5183,14 +5192,14 @@ Label_D3F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D420: +SubCD3C1_Block_2: lda #$6A ; CPU:$D420 PRG:1420 A9 6A sta ZpD2 ; CPU:$D422 PRG:1422 85 D2 sta ZpD8 ; CPU:$D424 PRG:1424 85 D8 lda #$6F ; CPU:$D426 PRG:1426 A9 6F sta ZpD5 ; CPU:$D428 PRG:1428 85 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D42A +; Routine: SubCD3C1_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5198,16 +5207,16 @@ Label_D420: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D42A: +SubCD3C1_Block_6: lda ZpC3 ; CPU:$D42A PRG:142A A5 C3 cmp #$60 ; CPU:$D42C PRG:142C C9 60 - beq Label_D438 ; CPU:$D42E PRG:142E F0 08 + beq SubCD3C1_Block_7 ; CPU:$D42E PRG:142E F0 08 lda #$F7 ; CPU:$D430 PRG:1430 A9 F7 sta ZpD5 ; CPU:$D432 PRG:1432 85 D5 lda #$89 ; CPU:$D434 PRG:1434 A9 89 - bne Label_D43E ; CPU:$D436 PRG:1436 D0 06 + bne SubCD3C1_Block_8 ; CPU:$D436 PRG:1436 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D438 +; Routine: SubCD3C1_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 @@ Label_D42A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D438: +SubCD3C1_Block_7: lda #$81 ; CPU:$D438 PRG:1438 A9 81 sta ZpD5 ; CPU:$D43A PRG:143A 85 D5 lda #$82 ; CPU:$D43C PRG:143C A9 82 ; ----------------------------------------------------------------------------- -; Routine: Label_D43E +; Routine: SubCD3C1_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +5237,15 @@ Label_D438: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D43E: +SubCD3C1_Block_8: sta ZpD6 ; CPU:$D43E PRG:143E 85 D6 lda #$D1 ; CPU:$D440 PRG:1440 A9 D1 - sta Zp02 ; CPU:$D442 PRG:1442 85 02 + sta Ptr2Lo ; CPU:$D442 PRG:1442 85 02 lda #$00 ; CPU:$D444 PRG:1444 A9 00 jsr $F2AA ; CPU:$D446 PRG:1446 20 AA F2 rts ; CPU:$D449 PRG:1449 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D44A +; Routine: SubCD44A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +5253,16 @@ Label_D43E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D44A: - lda Zp4A ; CPU:$D44A PRG:144A A5 4A +SubCD44A: + lda SprIndex ; CPU:$D44A PRG:144A A5 4A cmp #$01 ; CPU:$D44C PRG:144C C9 01 - bne Label_D459 ; CPU:$D44E PRG:144E D0 09 + bne SubCD44A_Block ; CPU:$D44E PRG:144E D0 09 lda ZpDF,x ; CPU:$D450 PRG:1450 B5 DF - bne Label_D45A ; CPU:$D452 PRG:1452 D0 06 + bne SubCD44A_Block_3 ; CPU:$D452 PRG:1452 D0 06 lda $03F2,x ; CPU:$D454 PRG:1454 BD F2 03 - beq Label_D45A ; CPU:$D457 PRG:1457 F0 01 + beq SubCD44A_Block_3 ; CPU:$D457 PRG:1457 F0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D459 +; Routine: SubCD44A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5261,10 +5270,10 @@ Label_D44A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D459: +SubCD44A_Block: rts ; CPU:$D459 PRG:1459 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D45A +; Routine: SubCD44A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5272,7 +5281,7 @@ Label_D459: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D45A: +SubCD44A_Block_3: txa ; CPU:$D45A PRG:145A 8A pha ; CPU:$D45B PRG:145B 48 lda $0419 ; CPU:$D45C PRG:145C AD 19 04 @@ -5282,7 +5291,7 @@ Label_D45A: tay ; CPU:$D463 PRG:1463 A8 ldx #$03 ; CPU:$D464 PRG:1464 A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D466 +; Routine: SubCD44A_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5290,28 +5299,28 @@ Label_D45A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D466: +SubCD44A_Block_6: lda $03E0,y ; CPU:$D466 PRG:1466 B9 E0 03 cmp #$FF ; CPU:$D469 PRG:1469 C9 FF - beq Label_D48A ; CPU:$D46B PRG:146B F0 1D + beq SubCD44A_Block_4 ; CPU:$D46B PRG:146B F0 1D tya ; CPU:$D46D PRG:146D 98 asl a ; CPU:$D46E PRG:146E 0A tay ; CPU:$D46F PRG:146F A8 lda $C255,y ; CPU:$D470 PRG:1470 B9 55 C2 - sta Zp00 ; CPU:$D473 PRG:1473 85 00 + sta PtrLo ; CPU:$D473 PRG:1473 85 00 lda $C256,y ; CPU:$D475 PRG:1475 B9 56 C2 - sta Zp01 ; CPU:$D478 PRG:1478 85 01 + sta PtrHi ; CPU:$D478 PRG:1478 85 01 lda #$92 ; CPU:$D47A PRG:147A A9 92 - sta Zp02 ; CPU:$D47C PRG:147C 85 02 + sta Ptr2Lo ; CPU:$D47C PRG:147C 85 02 lda #$C1 ; CPU:$D47E PRG:147E A9 C1 sta Zp03 ; CPU:$D480 PRG:1480 85 03 jsr $D9AF ; CPU:$D482 PRG:1482 20 AF D9 - bne Label_D496 ; CPU:$D485 PRG:1485 D0 0F + bne SubCD44A_Block_5 ; CPU:$D485 PRG:1485 D0 0F tya ; CPU:$D487 PRG:1487 98 lsr a ; CPU:$D488 PRG:1488 4A tay ; CPU:$D489 PRG:1489 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_D48A +; Routine: SubCD44A_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5319,7 +5328,7 @@ Label_D466: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D48A: +SubCD44A_Block_4: iny ; CPU:$D48A PRG:148A C8 iny ; CPU:$D48B PRG:148B C8 iny ; CPU:$D48C PRG:148C C8 @@ -5327,11 +5336,11 @@ Label_D48A: iny ; CPU:$D48E PRG:148E C8 iny ; CPU:$D48F PRG:148F C8 dex ; CPU:$D490 PRG:1490 CA - bne Label_D466 ; CPU:$D491 PRG:1491 D0 D3 + bne SubCD44A_Block_6 ; CPU:$D491 PRG:1491 D0 D3 pla ; CPU:$D493 PRG:1493 68 tax ; CPU:$D494 PRG:1494 AA ; ----------------------------------------------------------------------------- -; Routine: Label_D495 +; Routine: SubCD44A_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +5348,10 @@ Label_D48A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D495: +SubCD44A_Block_7: rts ; CPU:$D495 PRG:1495 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D496 +; Routine: SubCD44A_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +5359,16 @@ Label_D495: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D496: +SubCD44A_Block_5: pla ; CPU:$D496 PRG:1496 68 tax ; CPU:$D497 PRG:1497 AA lda $0330 ; CPU:$D498 PRG:1498 AD 30 03 - bne Label_D495 ; CPU:$D49B PRG:149B D0 F8 + bne SubCD44A_Block_7 ; CPU:$D49B PRG:149B D0 F8 lda $C1C0,y ; CPU:$D49D PRG:149D B9 C0 C1 - sta ZpA1 ; CPU:$D4A0 PRG:14A0 85 A1 + sta ScorePtrHi ; CPU:$D4A0 PRG:14A0 85 A1 sta $05D3,x ; CPU:$D4A2 PRG:14A2 9D D3 05 lda $C1C1,y ; CPU:$D4A5 PRG:14A5 B9 C1 C1 - sta ZpA0 ; CPU:$D4A8 PRG:14A8 85 A0 + sta ScorePtrLo ; CPU:$D4A8 PRG:14A8 85 A0 lda #$24 ; CPU:$D4AA PRG:14AA A9 24 jsr $EE5E ; CPU:$D4AC PRG:14AC 20 5E EE tya ; CPU:$D4AF PRG:14AF 98 @@ -5368,15 +5377,15 @@ Label_D496: lda #$FF ; CPU:$D4B2 PRG:14B2 A9 FF sta $03E0,y ; CPU:$D4B4 PRG:14B4 99 E0 03 lda #$20 ; CPU:$D4B7 PRG:14B7 A9 20 - sta ZpA1 ; CPU:$D4B9 PRG:14B9 85 A1 + sta ScorePtrHi ; CPU:$D4B9 PRG:14B9 85 A1 lda $C253,x ; CPU:$D4BB PRG:14BB BD 53 C2 - sta ZpA0 ; CPU:$D4BE PRG:14BE 85 A0 + sta ScorePtrLo ; CPU:$D4BE PRG:14BE 85 A0 lda $03F2,x ; CPU:$D4C0 PRG:14C0 BD F2 03 - bne Label_D4E0 ; CPU:$D4C3 PRG:14C3 D0 1B - lda ZpA0 ; CPU:$D4C5 PRG:14C5 A5 A0 + bne SubCD44A_Block_8 ; CPU:$D4C3 PRG:14C3 D0 1B + lda ScorePtrLo ; CPU:$D4C5 PRG:14C5 A5 A0 sec ; CPU:$D4C7 PRG:14C7 38 sbc #$07 ; CPU:$D4C8 PRG:14C8 E9 07 - sta ZpA0 ; CPU:$D4CA PRG:14CA 85 A0 + sta ScorePtrLo ; CPU:$D4CA PRG:14CA 85 A0 lda #$85 ; CPU:$D4CC PRG:14CC A9 85 sta $03F2,x ; CPU:$D4CE PRG:14CE 9D F2 03 txa ; CPU:$D4D1 PRG:14D1 8A @@ -5390,7 +5399,7 @@ Label_D496: tax ; CPU:$D4DD PRG:14DD AA lda #$00 ; CPU:$D4DE PRG:14DE A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D4E0 +; Routine: SubCD44A_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5398,7 +5407,7 @@ Label_D496: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4E0: +SubCD44A_Block_8: sta $040C,x ; CPU:$D4E0 PRG:14E0 9D 0C 04 lda #$05 ; CPU:$D4E3 PRG:14E3 A9 05 sta Zp3D,x ; CPU:$D4E5 PRG:14E5 95 3D @@ -5408,7 +5417,7 @@ Label_D4E0: sta $03FC,x ; CPU:$D4EE PRG:14EE 9D FC 03 jmp $EE5E ; CPU:$D4F1 PRG:14F1 4C 5E EE ; ----------------------------------------------------------------------------- -; Routine: Label_D4F4 +; Routine: SubCD4F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +5425,11 @@ Label_D4E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4F4: +SubCD4F4: lda $040C,x ; CPU:$D4F4 PRG:14F4 BD 0C 04 - bne Label_D4FA ; CPU:$D4F7 PRG:14F7 D0 01 + bne SubCD4F4_Block ; CPU:$D4F7 PRG:14F7 D0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D4F9 +; Routine: SubCD4F4_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +5437,10 @@ Label_D4F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4F9: +SubCD4F4_Block_3: rts ; CPU:$D4F9 PRG:14F9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D4FA +; Routine: SubCD4F4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5439,19 +5448,19 @@ Label_D4F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4FA: +SubCD4F4_Block: lda Zp3D,x ; CPU:$D4FA PRG:14FA B5 3D - bne Label_D4F9 ; CPU:$D4FC PRG:14FC D0 FB + bne SubCD4F4_Block_3 ; CPU:$D4FC PRG:14FC D0 FB lda $0330 ; CPU:$D4FE PRG:14FE AD 30 03 - bne Label_D4F9 ; CPU:$D501 PRG:1501 D0 F6 + bne SubCD4F4_Block_3 ; CPU:$D501 PRG:1501 D0 F6 lda ZpE3,x ; CPU:$D503 PRG:1503 B5 E3 cmp #$87 ; CPU:$D505 PRG:1505 C9 87 - bcc Label_D511 ; CPU:$D507 PRG:1507 90 08 - beq Label_D517 ; CPU:$D509 PRG:1509 F0 0C + bcc SubCD4F4_Block_4 ; CPU:$D507 PRG:1507 90 08 + beq SubCD4F4_Block_5 ; CPU:$D509 PRG:1509 F0 0C jsr $DB2D ; CPU:$D50B PRG:150B 20 2D DB jmp $D51A ; CPU:$D50E PRG:150E 4C 1A D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D511 +; Routine: SubCD4F4_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5459,11 +5468,11 @@ Label_D4FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D511: +SubCD4F4_Block_4: jsr $DADF ; CPU:$D511 PRG:1511 20 DF DA jmp $D51A ; CPU:$D514 PRG:1514 4C 1A D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D517 +; Routine: SubCD4F4_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +5480,10 @@ Label_D511: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D517: +SubCD4F4_Block_5: jsr $DB6B ; CPU:$D517 PRG:1517 20 6B DB ; ----------------------------------------------------------------------------- -; Routine: Label_D51A +; Routine: SubCD51A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5482,7 +5491,7 @@ Label_D517: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D51A: +SubCD51A: jsr $DBBF ; CPU:$D51A PRG:151A 20 BF DB txa ; CPU:$D51D PRG:151D 8A pha ; CPU:$D51E PRG:151E 48 @@ -5492,10 +5501,10 @@ Label_D51A: tay ; CPU:$D523 PRG:1523 A8 ldx #$00 ; CPU:$D524 PRG:1524 A2 00 lda $03F4,y ; CPU:$D526 PRG:1526 B9 F4 03 - bne Label_D54E ; CPU:$D529 PRG:1529 D0 23 + bne SubCD51A_Block_4 ; CPU:$D529 PRG:1529 D0 23 iny ; CPU:$D52B PRG:152B C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D52C +; Routine: SubCD51A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,26 +5512,26 @@ Label_D51A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D52C: +SubCD51A_Block_3: lda $051E,x ; CPU:$D52C PRG:152C BD 1E 05 cmp $03F4,y ; CPU:$D52F PRG:152F D9 F4 03 - bne Label_D54E ; CPU:$D532 PRG:1532 D0 1A + bne SubCD51A_Block_4 ; CPU:$D532 PRG:1532 D0 1A iny ; CPU:$D534 PRG:1534 C8 inx ; CPU:$D535 PRG:1535 E8 cpx #$03 ; CPU:$D536 PRG:1536 E0 03 - bne Label_D52C ; CPU:$D538 PRG:1538 D0 F2 + bne SubCD51A_Block_3 ; CPU:$D538 PRG:1538 D0 F2 ldx Zp05 ; CPU:$D53A PRG:153A A6 05 lda $03F2,x ; CPU:$D53C PRG:153C BD F2 03 cmp $0521 ; CPU:$D53F PRG:153F CD 21 05 - bne Label_D54E ; CPU:$D542 PRG:1542 D0 0A + bne SubCD51A_Block_4 ; CPU:$D542 PRG:1542 D0 0A sta ZpE5,x ; CPU:$D544 PRG:1544 95 E5 txa ; CPU:$D546 PRG:1546 8A eor #$01 ; CPU:$D547 PRG:1547 49 01 tax ; CPU:$D549 PRG:1549 AA lda #$05 ; CPU:$D54A PRG:154A A9 05 - sta Zp5F,x ; CPU:$D54C PRG:154C 95 5F + sta ObjIndex,x ; CPU:$D54C PRG:154C 95 5F ; ----------------------------------------------------------------------------- -; Routine: Label_D54E +; Routine: SubCD51A_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +5539,14 @@ Label_D52C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D54E: +SubCD51A_Block_4: pla ; CPU:$D54E PRG:154E 68 tax ; CPU:$D54F PRG:154F AA lda #$00 ; CPU:$D550 PRG:1550 A9 00 sta $040C,x ; CPU:$D552 PRG:1552 9D 0C 04 rts ; CPU:$D555 PRG:1555 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D556 +; Routine: SubCD556 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +5554,11 @@ Label_D54E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D556: +SubCD556: lda #$00 ; CPU:$D556 PRG:1556 A9 00 - beq Label_D564 ; CPU:$D558 PRG:1558 F0 0A + beq SubCD55E_Block ; CPU:$D558 PRG:1558 F0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D55A +; Routine: SubCD55A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5557,11 +5566,11 @@ Label_D556: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D55A: +SubCD55A: lda #$01 ; CPU:$D55A PRG:155A A9 01 - bne Label_D564 ; CPU:$D55C PRG:155C D0 06 + bne SubCD55E_Block ; CPU:$D55C PRG:155C D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D55E +; Routine: SubCD55E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5569,11 +5578,11 @@ Label_D55A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D55E: +SubCD55E: lda #$02 ; CPU:$D55E PRG:155E A9 02 - bne Label_D564 ; CPU:$D560 PRG:1560 D0 02 + bne SubCD55E_Block ; CPU:$D560 PRG:1560 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D562 +; Routine: SubCD562 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5581,10 +5590,10 @@ Label_D55E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D562: +SubCD562: lda #$03 ; CPU:$D562 PRG:1562 A9 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D564 +; Routine: SubCD55E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5592,30 +5601,30 @@ Label_D562: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D564: +SubCD55E_Block: sta Zp0F ; CPU:$D564 PRG:1564 85 0F txa ; CPU:$D566 PRG:1566 8A pha ; CPU:$D567 PRG:1567 48 tya ; CPU:$D568 PRG:1568 98 pha ; CPU:$D569 PRG:1569 48 - lda Zp00 ; CPU:$D56A PRG:156A A5 00 + lda PtrLo ; CPU:$D56A PRG:156A A5 00 pha ; CPU:$D56C PRG:156C 48 - lda Zp01 ; CPU:$D56D PRG:156D A5 01 + lda PtrHi ; CPU:$D56D PRG:156D A5 01 pha ; CPU:$D56F PRG:156F 48 - lda Zp02 ; CPU:$D570 PRG:1570 A5 02 + lda Ptr2Lo ; CPU:$D570 PRG:1570 A5 02 pha ; CPU:$D572 PRG:1572 48 lda Zp03 ; CPU:$D573 PRG:1573 A5 03 pha ; CPU:$D575 PRG:1575 48 lda Zp0F ; CPU:$D576 PRG:1576 A5 0F cmp #$01 ; CPU:$D578 PRG:1578 C9 01 - beq Label_D5AC ; CPU:$D57A PRG:157A F0 30 + beq SubCD562_Block ; CPU:$D57A PRG:157A F0 30 cmp #$02 ; CPU:$D57C PRG:157C C9 02 - beq Label_D5E3 ; CPU:$D57E PRG:157E F0 63 + beq SubCD562_Block_2 ; CPU:$D57E PRG:157E F0 63 cmp #$03 ; CPU:$D580 PRG:1580 C9 03 - bne Label_D587 ; CPU:$D582 PRG:1582 D0 03 + bne SubCD562_Block_3 ; CPU:$D582 PRG:1582 D0 03 jmp $D5F8 ; CPU:$D584 PRG:1584 4C F8 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D587 +; Routine: SubCD562_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5623,12 +5632,12 @@ Label_D564: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D587: +SubCD562_Block_3: cmp #$04 ; CPU:$D587 PRG:1587 C9 04 - bne Label_D58E ; CPU:$D589 PRG:1589 D0 03 + bne SubCD562_Block_4 ; CPU:$D589 PRG:1589 D0 03 jmp $D615 ; CPU:$D58B PRG:158B 4C 15 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D58E +; Routine: SubCD562_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5636,14 +5645,14 @@ Label_D587: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D58E: +SubCD562_Block_4: jsr $D59A ; CPU:$D58E PRG:158E 20 9A D5 ldx Zp8C ; CPU:$D591 PRG:1591 A6 8C stx Zp6D ; CPU:$D593 PRG:1593 86 6D stx Zp6E ; CPU:$D595 PRG:1595 86 6E jmp $D615 ; CPU:$D597 PRG:1597 4C 15 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D59A +; Routine: SubCD59A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5651,18 +5660,18 @@ Label_D58E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D59A: - lda Zp4A ; CPU:$D59A PRG:159A A5 4A +SubCD59A: + lda SprIndex ; CPU:$D59A PRG:159A A5 4A sec ; CPU:$D59C PRG:159C 38 sbc #$01 ; CPU:$D59D PRG:159D E9 01 asl a ; CPU:$D59F PRG:159F 0A tay ; CPU:$D5A0 PRG:15A0 A8 lda $C34A,y ; CPU:$D5A1 PRG:15A1 B9 4A C3 - sta Zp02 ; CPU:$D5A4 PRG:15A4 85 02 + sta Ptr2Lo ; CPU:$D5A4 PRG:15A4 85 02 lda $C34B,y ; CPU:$D5A6 PRG:15A6 B9 4B C3 jmp $D9B3 ; CPU:$D5A9 PRG:15A9 4C B3 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D5AC +; Routine: SubCD562_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5670,7 +5679,7 @@ Label_D59A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5AC: +SubCD562_Block: lda Zp88 ; CPU:$D5AC PRG:15AC A5 88 pha ; CPU:$D5AE PRG:15AE 48 clc ; CPU:$D5AF PRG:15AF 18 @@ -5691,12 +5700,12 @@ Label_D5AC: ldx Zp8C ; CPU:$D5CB PRG:15CB A6 8C stx Zp6E ; CPU:$D5CD PRG:15CD 86 6E cmp #$00 ; CPU:$D5CF PRG:15CF C9 00 - beq Label_D5D9 ; CPU:$D5D1 PRG:15D1 F0 06 + beq SubCD59A_Block ; CPU:$D5D1 PRG:15D1 F0 06 lda Zp0D ; CPU:$D5D3 PRG:15D3 A5 0D ora #$10 ; CPU:$D5D5 PRG:15D5 09 10 sta Zp0D ; CPU:$D5D7 PRG:15D7 85 0D ; ----------------------------------------------------------------------------- -; Routine: Label_D5D9 +; Routine: SubCD59A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5704,14 +5713,14 @@ Label_D5AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5D9: +SubCD59A_Block: pla ; CPU:$D5D9 PRG:15D9 68 sta Zp8A ; CPU:$D5DA PRG:15DA 85 8A lda Zp0D ; CPU:$D5DC PRG:15DC A5 0D sta Zp0F ; CPU:$D5DE PRG:15DE 85 0F jmp $D615 ; CPU:$D5E0 PRG:15E0 4C 15 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D5E3 +; Routine: SubCD562_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +5728,19 @@ Label_D5D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5E3: - lda Zp4A ; CPU:$D5E3 PRG:15E3 A5 4A +SubCD562_Block_2: + lda SprIndex ; CPU:$D5E3 PRG:15E3 A5 4A sec ; CPU:$D5E5 PRG:15E5 38 sbc #$01 ; CPU:$D5E6 PRG:15E6 E9 01 asl a ; CPU:$D5E8 PRG:15E8 0A tay ; CPU:$D5E9 PRG:15E9 A8 lda $C350,y ; CPU:$D5EA PRG:15EA B9 50 C3 - sta Zp02 ; CPU:$D5ED PRG:15ED 85 02 + sta Ptr2Lo ; CPU:$D5ED PRG:15ED 85 02 lda $C351,y ; CPU:$D5EF PRG:15EF B9 51 C3 jsr $D9B3 ; CPU:$D5F2 PRG:15F2 20 B3 D9 jmp $D615 ; CPU:$D5F5 PRG:15F5 4C 15 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D5F8 +; Routine: SubCD5F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5739,7 +5748,7 @@ Label_D5E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5F8: +SubCD5F8: jsr $D62A ; CPU:$D5F8 PRG:15F8 20 2A D6 lda Zp89 ; CPU:$D5FB PRG:15FB A5 89 pha ; CPU:$D5FD PRG:15FD 48 @@ -5757,7 +5766,7 @@ Label_D5F8: sta Zp89 ; CPU:$D611 PRG:1611 85 89 lda Zp0F ; CPU:$D613 PRG:1613 A5 0F ; ----------------------------------------------------------------------------- -; 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. @@ -5765,16 +5774,16 @@ Label_D5F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D615: +SubCD615: sta Zp0F ; CPU:$D615 PRG:1615 85 0F pla ; CPU:$D617 PRG:1617 68 sta Zp03 ; CPU:$D618 PRG:1618 85 03 pla ; CPU:$D61A PRG:161A 68 - sta Zp02 ; CPU:$D61B PRG:161B 85 02 + sta Ptr2Lo ; CPU:$D61B PRG:161B 85 02 pla ; CPU:$D61D PRG:161D 68 - sta Zp01 ; CPU:$D61E PRG:161E 85 01 + sta PtrHi ; CPU:$D61E PRG:161E 85 01 pla ; CPU:$D620 PRG:1620 68 - sta Zp00 ; CPU:$D621 PRG:1621 85 00 + sta PtrLo ; CPU:$D621 PRG:1621 85 00 pla ; CPU:$D623 PRG:1623 68 tay ; CPU:$D624 PRG:1624 A8 pla ; CPU:$D625 PRG:1625 68 @@ -5782,7 +5791,7 @@ Label_D615: lda Zp0F ; CPU:$D627 PRG:1627 A5 0F rts ; CPU:$D629 PRG:1629 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D62A +; Routine: SubCD62A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5790,19 +5799,19 @@ Label_D615: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D62A: - lda Zp4A ; CPU:$D62A PRG:162A A5 4A +SubCD62A: + lda SprIndex ; CPU:$D62A PRG:162A A5 4A sec ; CPU:$D62C PRG:162C 38 sbc #$01 ; CPU:$D62D PRG:162D E9 01 asl a ; CPU:$D62F PRG:162F 0A tay ; CPU:$D630 PRG:1630 A8 lda $C344,y ; CPU:$D631 PRG:1631 B9 44 C3 - sta Zp02 ; CPU:$D634 PRG:1634 85 02 + sta Ptr2Lo ; CPU:$D634 PRG:1634 85 02 lda $C345,y ; CPU:$D636 PRG:1636 B9 45 C3 sta Zp03 ; CPU:$D639 PRG:1639 85 03 rts ; CPU:$D63B PRG:163B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D63C +; Routine: SubCD63C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5810,19 +5819,19 @@ Label_D62A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D63C: +SubCD63C: sta $0530 ; CPU:$D63C PRG:163C 8D 30 05 lda Zp53,x ; CPU:$D63F PRG:163F B5 53 - cmp Zp51,x ; CPU:$D641 PRG:1641 D5 51 - bne Label_D653 ; CPU:$D643 PRG:1643 D0 0E + cmp BtnState,x ; CPU:$D641 PRG:1641 D5 51 + bne SubCD63C_Block_2 ; CPU:$D643 PRG:1643 D0 0E dec $0531,x ; CPU:$D645 PRG:1645 DE 31 05 lda $0531,x ; CPU:$D648 PRG:1648 BD 31 05 cmp #$FF ; CPU:$D64B PRG:164B C9 FF - beq Label_D653 ; CPU:$D64D PRG:164D F0 04 + beq SubCD63C_Block_2 ; CPU:$D64D PRG:164D F0 04 cmp #$00 ; CPU:$D64F PRG:164F C9 00 - bne Label_D65C ; CPU:$D651 PRG:1651 D0 09 + bne SubCD63C_Block_3 ; CPU:$D651 PRG:1651 D0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_D653 +; Routine: SubCD63C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5830,13 +5839,13 @@ Label_D63C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D653: +SubCD63C_Block_2: lda $0530 ; CPU:$D653 PRG:1653 AD 30 05 sta $0531,x ; CPU:$D656 PRG:1656 9D 31 05 lda #$01 ; CPU:$D659 PRG:1659 A9 01 rts ; CPU:$D65B PRG:165B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D65C +; Routine: SubCD63C_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +5853,11 @@ Label_D653: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D65C: +SubCD63C_Block_3: lda #$00 ; CPU:$D65C PRG:165C A9 00 rts ; CPU:$D65E PRG:165E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D65F +; Routine: SubCD65F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5856,21 +5865,21 @@ Label_D65C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D65F: +SubCD65F: stx Zp0F ; CPU:$D65F PRG:165F 86 0F txa ; CPU:$D661 PRG:1661 8A asl a ; CPU:$D662 PRG:1662 0A tax ; CPU:$D663 PRG:1663 AA lda Zp7C,x ; CPU:$D664 PRG:1664 B5 7C - bne Label_D674 ; CPU:$D666 PRG:1666 D0 0C + bne SubCD65F_Block ; CPU:$D666 PRG:1666 D0 0C sta Zp81,x ; CPU:$D668 PRG:1668 95 81 lda #$08 ; CPU:$D66A PRG:166A A9 08 sta Zp80,x ; CPU:$D66C PRG:166C 95 80 lda #$F0 ; CPU:$D66E PRG:166E A9 F0 sta Zp7D,x ; CPU:$D670 PRG:1670 95 7D - bne Label_D680 ; CPU:$D672 PRG:1672 D0 0C + bne SubCD65F_Block_2 ; CPU:$D672 PRG:1672 D0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D674 +; Routine: SubCD65F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5878,7 +5887,7 @@ Label_D65F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D674: +SubCD65F_Block: lda Zp80,x ; CPU:$D674 PRG:1674 B5 80 adc #$10 ; CPU:$D676 PRG:1676 69 10 sta Zp80,x ; CPU:$D678 PRG:1678 95 80 @@ -5886,7 +5895,7 @@ Label_D674: adc #$00 ; CPU:$D67C PRG:167C 69 00 sta Zp81,x ; CPU:$D67E PRG:167E 95 81 ; ----------------------------------------------------------------------------- -; Routine: Label_D680 +; Routine: SubCD65F_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,26 +5903,26 @@ Label_D674: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D680: +SubCD65F_Block_2: lda Zp7D,x ; CPU:$D680 PRG:1680 B5 7D sec ; CPU:$D682 PRG:1682 38 sbc Zp84,x ; CPU:$D683 PRG:1683 F5 84 sta Zp7D,x ; CPU:$D685 PRG:1685 95 7D - lda Zp01 ; CPU:$D687 PRG:1687 A5 01 + lda PtrHi ; CPU:$D687 PRG:1687 A5 01 sbc Zp85,x ; CPU:$D689 PRG:1689 F5 85 - sta Zp01 ; CPU:$D68B PRG:168B 85 01 + sta PtrHi ; CPU:$D68B PRG:168B 85 01 clc ; CPU:$D68D PRG:168D 18 lda Zp7D,x ; CPU:$D68E PRG:168E B5 7D adc Zp80,x ; CPU:$D690 PRG:1690 75 80 sta Zp7D,x ; CPU:$D692 PRG:1692 95 7D - lda Zp01 ; CPU:$D694 PRG:1694 A5 01 + lda PtrHi ; CPU:$D694 PRG:1694 A5 01 adc Zp81,x ; CPU:$D696 PRG:1696 75 81 - sta Zp01 ; CPU:$D698 PRG:1698 85 01 + sta PtrHi ; CPU:$D698 PRG:1698 85 01 inc Zp7C,x ; CPU:$D69A PRG:169A F6 7C ldx Zp0F ; CPU:$D69C PRG:169C A6 0F rts ; CPU:$D69E PRG:169E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D69F +; Routine: SubCD69F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5921,11 +5930,11 @@ Label_D680: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D69F: +SubCD69F: lda #$00 ; CPU:$D69F PRG:169F A9 00 - beq Label_D6A7 ; CPU:$D6A1 PRG:16A1 F0 04 + beq SubCD6A7 ; CPU:$D6A1 PRG:16A1 F0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D6A3 +; Routine: SubCD6A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5933,11 +5942,11 @@ Label_D69F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6A3: +SubCD6A3: lda Zp63,x ; CPU:$D6A3 PRG:16A3 B5 63 eor #$01 ; CPU:$D6A5 PRG:16A5 49 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D6A7 +; Routine: SubCD6A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5945,16 +5954,16 @@ Label_D6A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6A7: +SubCD6A7: pha ; CPU:$D6A7 PRG:16A7 48 lda #$24 ; CPU:$D6A8 PRG:16A8 A9 24 sta Zp03 ; CPU:$D6AA PRG:16AA 85 03 lda #$10 ; CPU:$D6AC PRG:16AC A9 10 cpx #$00 ; CPU:$D6AE PRG:16AE E0 00 - beq Label_D6B4 ; CPU:$D6B0 PRG:16B0 F0 02 + beq SubCD6A7_Block ; CPU:$D6B0 PRG:16B0 F0 02 lda #$30 ; CPU:$D6B2 PRG:16B2 A9 30 ; ----------------------------------------------------------------------------- -; Routine: Label_D6B4 +; Routine: SubCD6A7_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +5971,12 @@ Label_D6A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6B4: +SubCD6A7_Block: sta Zp04 ; CPU:$D6B4 PRG:16B4 85 04 pla ; CPU:$D6B6 PRG:16B6 68 jmp $D6D2 ; CPU:$D6B7 PRG:16B7 4C D2 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D6BA +; Routine: SubCD6BA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5975,17 +5984,18 @@ Label_D6B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6BA: - jsr $DA5E ; CPU:$D6BA PRG:16BA 20 5E DA +SubCD6BA: + jsr SubCDA5E ; CPU:$D6BA PRG:16BA 20 5E DA lda $0210,y ; CPU:$D6BD PRG:16BD B9 10 02 - sta Zp01 ; CPU:$D6C0 PRG:16C0 85 01 + sta PtrHi ; CPU:$D6C0 PRG:16C0 85 01 lda $0213,y ; CPU:$D6C2 PRG:16C2 B9 13 02 - sta Zp00 ; CPU:$D6C5 PRG:16C5 85 00 + sta PtrLo ; CPU:$D6C5 PRG:16C5 85 00 rts ; CPU:$D6C7 PRG:16C7 60 ; ---- data $D6C8-$D6CB (4 bytes) ---- + SoundTempData: ; Sound engine temp data .byte $A9, $00, $F0, $06 ; CPU:$D6C8 PRG:16C8 A9 00 F0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D6CC +; Routine: SubCD6CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5993,11 +6003,11 @@ Label_D6BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6CC: +SubCD6CC: lda #$01 ; CPU:$D6CC PRG:16CC A9 01 - bne Label_D6D2 ; CPU:$D6CE PRG:16CE D0 02 + bne SubCD6D2 ; CPU:$D6CE PRG:16CE D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D6D0 +; Routine: SubCD6D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6005,10 +6015,10 @@ Label_D6CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6D0: +SubCD6D0: lda #$04 ; CPU:$D6D0 PRG:16D0 A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D6D2 +; Routine: SubCD6D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6016,16 +6026,16 @@ Label_D6D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6D2: +SubCD6D2: pha ; CPU:$D6D2 PRG:16D2 48 sta Zp0F ; CPU:$D6D3 PRG:16D3 85 0F txa ; CPU:$D6D5 PRG:16D5 8A pha ; CPU:$D6D6 PRG:16D6 48 tya ; CPU:$D6D7 PRG:16D7 98 pha ; CPU:$D6D8 PRG:16D8 48 - lda Zp00 ; CPU:$D6D9 PRG:16D9 A5 00 + lda PtrLo ; CPU:$D6D9 PRG:16D9 A5 00 pha ; CPU:$D6DB PRG:16DB 48 - lda Zp01 ; CPU:$D6DC PRG:16DC A5 01 + lda PtrHi ; CPU:$D6DC PRG:16DC A5 01 pha ; CPU:$D6DE PRG:16DE 48 lda Zp05 ; CPU:$D6DF PRG:16DF A5 05 pha ; CPU:$D6E1 PRG:16E1 48 @@ -6041,7 +6051,7 @@ Label_D6D2: sta Zp05 ; CPU:$D6F0 PRG:16F0 85 05 lda Zp0F ; CPU:$D6F2 PRG:16F2 A5 0F cmp #$04 ; CPU:$D6F4 PRG:16F4 C9 04 - beq Label_D72E ; CPU:$D6F6 PRG:16F6 F0 36 + beq SubCD6D2_Block ; CPU:$D6F6 PRG:16F6 F0 36 lda #$0F ; CPU:$D6F8 PRG:16F8 A9 0F and Zp03 ; CPU:$D6FA PRG:16FA 25 03 sta Zp07 ; CPU:$D6FC PRG:16FC 85 07 @@ -6055,7 +6065,7 @@ Label_D6D2: lda #$00 ; CPU:$D707 PRG:1707 A9 00 clc ; CPU:$D709 PRG:1709 18 ; ----------------------------------------------------------------------------- -; Routine: Label_D70A +; Routine: SubCD6D2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +6073,17 @@ Label_D6D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D70A: +SubCD6D2_Block_2: adc Zp07 ; CPU:$D70A PRG:170A 65 07 dex ; CPU:$D70C PRG:170C CA - bne Label_D70A ; CPU:$D70D PRG:170D D0 FB + bne SubCD6D2_Block_2 ; CPU:$D70D PRG:170D D0 FB sta Zp08 ; CPU:$D70F PRG:170F 85 08 lda Zp0F ; CPU:$D711 PRG:1711 A5 0F - bne Label_D71B ; CPU:$D713 PRG:1713 D0 06 + bne SubCD6D2_Block_3 ; CPU:$D713 PRG:1713 D0 06 jsr $D75C ; CPU:$D715 PRG:1715 20 5C D7 jmp $D728 ; CPU:$D718 PRG:1718 4C 28 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D71B +; Routine: SubCD6D2_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6081,13 +6091,13 @@ Label_D70A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D71B: +SubCD6D2_Block_3: cmp #$01 ; CPU:$D71B PRG:171B C9 01 - beq Label_D725 ; CPU:$D71D PRG:171D F0 06 + beq SubCD6D2_Block_4 ; CPU:$D71D PRG:171D F0 06 jsr $D7D1 ; CPU:$D71F PRG:171F 20 D1 D7 jmp $D731 ; CPU:$D722 PRG:1722 4C 31 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D725 +; Routine: SubCD6D2_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6095,10 +6105,10 @@ Label_D71B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D725: +SubCD6D2_Block_4: jsr $D79D ; CPU:$D725 PRG:1725 20 9D D7 ; ----------------------------------------------------------------------------- -; 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. @@ -6106,11 +6116,11 @@ Label_D725: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D728: +SubCD728: jsr $D777 ; CPU:$D728 PRG:1728 20 77 D7 jmp $D731 ; CPU:$D72B PRG:172B 4C 31 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D72E +; Routine: SubCD6D2_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +6128,10 @@ Label_D728: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D72E: +SubCD6D2_Block: jsr $D74C ; CPU:$D72E PRG:172E 20 4C D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D731 +; Routine: SubCD731 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6129,7 +6139,7 @@ Label_D72E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D731: +SubCD731: pla ; CPU:$D731 PRG:1731 68 sta Zp09 ; CPU:$D732 PRG:1732 85 09 pla ; CPU:$D734 PRG:1734 68 @@ -6141,9 +6151,9 @@ Label_D731: pla ; CPU:$D73D PRG:173D 68 sta Zp05 ; CPU:$D73E PRG:173E 85 05 pla ; CPU:$D740 PRG:1740 68 - sta Zp01 ; CPU:$D741 PRG:1741 85 01 + sta PtrHi ; CPU:$D741 PRG:1741 85 01 pla ; CPU:$D743 PRG:1743 68 - sta Zp00 ; CPU:$D744 PRG:1744 85 00 + sta PtrLo ; CPU:$D744 PRG:1744 85 00 pla ; CPU:$D746 PRG:1746 68 tay ; CPU:$D747 PRG:1747 A8 pla ; CPU:$D748 PRG:1748 68 @@ -6151,7 +6161,7 @@ Label_D731: pla ; CPU:$D74A PRG:174A 68 rts ; CPU:$D74B PRG:174B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D74C +; Routine: SubCD74C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6159,12 +6169,12 @@ Label_D731: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D74C: - lda Zp02 ; CPU:$D74C PRG:174C A5 02 +SubCD74C: + lda Ptr2Lo ; CPU:$D74C PRG:174C A5 02 ldx Zp03 ; CPU:$D74E PRG:174E A6 03 ldy #$02 ; CPU:$D750 PRG:1750 A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D752 +; Routine: SubCD74C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6172,17 +6182,17 @@ Label_D74C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D752: +SubCD74C_Block: sta (Zp04),y ; CPU:$D752 PRG:1752 91 04 iny ; CPU:$D754 PRG:1754 C8 iny ; CPU:$D755 PRG:1755 C8 iny ; CPU:$D756 PRG:1756 C8 iny ; CPU:$D757 PRG:1757 C8 dex ; CPU:$D758 PRG:1758 CA - bne Label_D752 ; CPU:$D759 PRG:1759 D0 F7 + bne SubCD74C_Block ; CPU:$D759 PRG:1759 D0 F7 rts ; CPU:$D75B PRG:175B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D75C +; Routine: SubCD75C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6190,12 +6200,12 @@ Label_D752: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D75C: - lda Zp02 ; CPU:$D75C PRG:175C A5 02 +SubCD75C: + lda Ptr2Lo ; CPU:$D75C PRG:175C A5 02 ldx Zp08 ; CPU:$D75E PRG:175E A6 08 ldy #$01 ; CPU:$D760 PRG:1760 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D762 +; Routine: SubCD75C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +6213,7 @@ Label_D75C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D762: +SubCD75C_Block: sta (Zp04),y ; CPU:$D762 PRG:1762 91 04 clc ; CPU:$D764 PRG:1764 18 adc #$01 ; CPU:$D765 PRG:1765 69 01 @@ -6217,10 +6227,10 @@ Label_D762: iny ; CPU:$D771 PRG:1771 C8 iny ; CPU:$D772 PRG:1772 C8 dex ; CPU:$D773 PRG:1773 CA - bne Label_D762 ; CPU:$D774 PRG:1774 D0 EC + bne SubCD75C_Block ; CPU:$D774 PRG:1774 D0 EC rts ; CPU:$D776 PRG:1776 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D777 +; Routine: SubCD777 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6228,10 +6238,10 @@ Label_D762: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D777: +SubCD777: ldy #$00 ; CPU:$D777 PRG:1777 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D779 +; Routine: SubCD777_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +6249,12 @@ Label_D777: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D779: +SubCD777_Block_2: ldx Zp06 ; CPU:$D779 PRG:1779 A6 06 - lda Zp01 ; CPU:$D77B PRG:177B A5 01 + lda PtrHi ; CPU:$D77B PRG:177B A5 01 sta Zp09 ; CPU:$D77D PRG:177D 85 09 ; ----------------------------------------------------------------------------- -; Routine: Label_D77F +; Routine: SubCD777_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +6262,7 @@ Label_D779: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D77F: +SubCD777_Block: lda Zp09 ; CPU:$D77F PRG:177F A5 09 sta (Zp04),y ; CPU:$D781 PRG:1781 91 04 clc ; CPU:$D783 PRG:1783 18 @@ -6261,19 +6271,19 @@ Label_D77F: iny ; CPU:$D788 PRG:1788 C8 iny ; CPU:$D789 PRG:1789 C8 iny ; CPU:$D78A PRG:178A C8 - lda Zp00 ; CPU:$D78B PRG:178B A5 00 + lda PtrLo ; CPU:$D78B PRG:178B A5 00 sta (Zp04),y ; CPU:$D78D PRG:178D 91 04 iny ; CPU:$D78F PRG:178F C8 dex ; CPU:$D790 PRG:1790 CA - bne Label_D77F ; CPU:$D791 PRG:1791 D0 EC + bne SubCD777_Block ; CPU:$D791 PRG:1791 D0 EC clc ; CPU:$D793 PRG:1793 18 adc #$08 ; CPU:$D794 PRG:1794 69 08 - sta Zp00 ; CPU:$D796 PRG:1796 85 00 + sta PtrLo ; CPU:$D796 PRG:1796 85 00 dec Zp07 ; CPU:$D798 PRG:1798 C6 07 - bne Label_D779 ; CPU:$D79A PRG:179A D0 DD + bne SubCD777_Block_2 ; CPU:$D79A PRG:179A D0 DD rts ; CPU:$D79C PRG:179C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D79D +; Routine: SubCD79D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6281,14 +6291,14 @@ Label_D77F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D79D: +SubCD79D: ldy #$01 ; CPU:$D79D PRG:179D A0 01 sty Zp0A ; CPU:$D79F PRG:179F 84 0A lda Zp08 ; CPU:$D7A1 PRG:17A1 A5 08 sec ; CPU:$D7A3 PRG:17A3 38 sbc Zp06 ; CPU:$D7A4 PRG:17A4 E5 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D7A6 +; Routine: SubCD79D_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6296,12 +6306,12 @@ Label_D79D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7A6: +SubCD79D_Block_2: tay ; CPU:$D7A6 PRG:17A6 A8 sta Zp0B ; CPU:$D7A7 PRG:17A7 85 0B ldx Zp06 ; CPU:$D7A9 PRG:17A9 A6 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D7AB +; Routine: SubCD79D_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6309,12 +6319,12 @@ Label_D7A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7AB: +SubCD79D_Block: tya ; CPU:$D7AB PRG:17AB 98 pha ; CPU:$D7AC PRG:17AC 48 clc ; CPU:$D7AD PRG:17AD 18 tya ; CPU:$D7AE PRG:17AE 98 - adc Zp02 ; CPU:$D7AF PRG:17AF 65 02 + adc Ptr2Lo ; CPU:$D7AF PRG:17AF 65 02 ldy Zp0A ; CPU:$D7B1 PRG:17B1 A4 0A sta (Zp04),y ; CPU:$D7B3 PRG:17B3 91 04 iny ; CPU:$D7B5 PRG:17B5 C8 @@ -6330,14 +6340,14 @@ Label_D7AB: tay ; CPU:$D7C4 PRG:17C4 A8 iny ; CPU:$D7C5 PRG:17C5 C8 dex ; CPU:$D7C6 PRG:17C6 CA - bne Label_D7AB ; CPU:$D7C7 PRG:17C7 D0 E2 + bne SubCD79D_Block ; CPU:$D7C7 PRG:17C7 D0 E2 lda Zp0B ; CPU:$D7C9 PRG:17C9 A5 0B sec ; CPU:$D7CB PRG:17CB 38 sbc Zp06 ; CPU:$D7CC PRG:17CC E5 06 - bpl Label_D7A6 ; CPU:$D7CE PRG:17CE 10 D6 + bpl SubCD79D_Block_2 ; CPU:$D7CE PRG:17CE 10 D6 rts ; CPU:$D7D0 PRG:17D0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D7D1 +; Routine: SubCD7D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6345,10 +6355,10 @@ Label_D7AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7D1: +SubCD7D1: ldy #$00 ; CPU:$D7D1 PRG:17D1 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D7D3 +; Routine: SubCD7D1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6356,13 +6366,13 @@ Label_D7D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7D3: +SubCD7D1_Block_2: ldx Zp06 ; CPU:$D7D3 PRG:17D3 A6 06 - lda Zp01 ; CPU:$D7D5 PRG:17D5 A5 01 + lda PtrHi ; CPU:$D7D5 PRG:17D5 A5 01 sta Zp09 ; CPU:$D7D7 PRG:17D7 85 09 lda #$FF ; CPU:$D7D9 PRG:17D9 A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D7DB +; Routine: SubCD7D1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,23 +6380,23 @@ Label_D7D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7DB: +SubCD7D1_Block: sta (Zp04),y ; CPU:$D7DB PRG:17DB 91 04 iny ; CPU:$D7DD PRG:17DD C8 iny ; CPU:$D7DE PRG:17DE C8 iny ; CPU:$D7DF PRG:17DF C8 iny ; CPU:$D7E0 PRG:17E0 C8 dex ; CPU:$D7E1 PRG:17E1 CA - bne Label_D7DB ; CPU:$D7E2 PRG:17E2 D0 F7 - lda Zp00 ; CPU:$D7E4 PRG:17E4 A5 00 + bne SubCD7D1_Block ; CPU:$D7E2 PRG:17E2 D0 F7 + lda PtrLo ; CPU:$D7E4 PRG:17E4 A5 00 clc ; CPU:$D7E6 PRG:17E6 18 adc #$08 ; CPU:$D7E7 PRG:17E7 69 08 - sta Zp00 ; CPU:$D7E9 PRG:17E9 85 00 + sta PtrLo ; CPU:$D7E9 PRG:17E9 85 00 dec Zp07 ; CPU:$D7EB PRG:17EB C6 07 - bne Label_D7D3 ; CPU:$D7ED PRG:17ED D0 E4 + bne SubCD7D1_Block_2 ; CPU:$D7ED PRG:17ED D0 E4 rts ; CPU:$D7EF PRG:17EF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D7F0 +; Routine: SubCD7F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6394,13 +6404,13 @@ Label_D7DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7F0: +SubCD7F0: tya ; CPU:$D7F0 PRG:17F0 98 pha ; CPU:$D7F1 PRG:17F1 48 ldy #$00 ; CPU:$D7F2 PRG:17F2 A0 00 stx Zp0C ; CPU:$D7F4 PRG:17F4 86 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D7F6 +; Routine: SubCD7F0_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6408,11 +6418,11 @@ Label_D7F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7F6: +SubCD7F0_Block_4: lda #$00 ; CPU:$D7F6 PRG:17F6 A9 00 sta Zp0D ; CPU:$D7F8 PRG:17F8 85 0D ; ----------------------------------------------------------------------------- -; Routine: Label_D7FA +; Routine: SubCD7F0_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,20 +6430,20 @@ Label_D7F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7FA: +SubCD7F0_Block_3: jsr $CC5C ; CPU:$D7FA PRG:17FA 20 5C CC lda #$00 ; CPU:$D7FD PRG:17FD A9 00 - sta Zp00 ; CPU:$D7FF PRG:17FF 85 00 - sta Zp01 ; CPU:$D801 PRG:1801 85 01 + sta PtrLo ; CPU:$D7FF PRG:17FF 85 00 + sta PtrHi ; CPU:$D801 PRG:1801 85 01 lda $C320,y ; CPU:$D803 PRG:1803 B9 20 C3 - sta Zp02 ; CPU:$D806 PRG:1806 85 02 + sta Ptr2Lo ; CPU:$D806 PRG:1806 85 02 lda $C321,y ; CPU:$D808 PRG:1808 B9 21 C3 sta Zp03 ; CPU:$D80B PRG:180B 85 03 jsr $D9AF ; CPU:$D80D PRG:180D 20 AF D9 - beq Label_D814 ; CPU:$D810 PRG:1810 F0 02 + beq SubCD7F0_Block ; CPU:$D810 PRG:1810 F0 02 inc Zp0D ; CPU:$D812 PRG:1812 E6 0D ; ----------------------------------------------------------------------------- -; Routine: Label_D814 +; Routine: SubCD7F0_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6441,21 +6451,21 @@ Label_D7FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D814: +SubCD7F0_Block: lda Zp0D ; CPU:$D814 PRG:1814 A5 0D cmp #$02 ; CPU:$D816 PRG:1816 C9 02 - beq Label_D828 ; CPU:$D818 PRG:1818 F0 0E + beq SubCD7F0_Block_2 ; CPU:$D818 PRG:1818 F0 0E txa ; CPU:$D81A PRG:181A 8A eor #$01 ; CPU:$D81B PRG:181B 49 01 tax ; CPU:$D81D PRG:181D AA cpx Zp0C ; CPU:$D81E PRG:181E E4 0C - bne Label_D7FA ; CPU:$D820 PRG:1820 D0 D8 + bne SubCD7F0_Block_3 ; CPU:$D820 PRG:1820 D0 D8 iny ; CPU:$D822 PRG:1822 C8 iny ; CPU:$D823 PRG:1823 C8 cpy #$0C ; CPU:$D824 PRG:1824 C0 0C - bne Label_D7F6 ; CPU:$D826 PRG:1826 D0 CE + bne SubCD7F0_Block_4 ; CPU:$D826 PRG:1826 D0 CE ; ----------------------------------------------------------------------------- -; Routine: Label_D828 +; Routine: SubCD7F0_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6463,14 +6473,14 @@ Label_D814: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D828: +SubCD7F0_Block_2: ldx Zp0C ; CPU:$D828 PRG:1828 A6 0C pla ; CPU:$D82A PRG:182A 68 tay ; CPU:$D82B PRG:182B A8 lda Zp0D ; CPU:$D82C PRG:182C A5 0D rts ; CPU:$D82E PRG:182E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D82F +; Routine: SubCD82F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6478,22 +6488,22 @@ Label_D828: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D82F: +SubCD82F: jsr $CC5C ; CPU:$D82F PRG:182F 20 5C CC - lda Zp5F ; CPU:$D832 PRG:1832 A5 5F + lda ObjIndex ; CPU:$D832 PRG:1832 A5 5F cmp #$05 ; CPU:$D834 PRG:1834 C9 05 - beq Label_D84C ; CPU:$D836 PRG:1836 F0 14 + beq SubCD82F_Block_2 ; CPU:$D836 PRG:1836 F0 14 lda Zp60 ; CPU:$D838 PRG:1838 A5 60 cmp #$05 ; CPU:$D83A PRG:183A C9 05 - beq Label_D84C ; CPU:$D83C PRG:183C F0 0E + beq SubCD82F_Block_2 ; CPU:$D83C PRG:183C F0 0E stx Zp0A ; CPU:$D83E PRG:183E 86 0A jsr $D995 ; CPU:$D840 PRG:1840 20 95 D9 - bne Label_D84D ; CPU:$D843 PRG:1843 D0 08 + bne SubCD82F_Block_3 ; CPU:$D843 PRG:1843 D0 08 lda #$00 ; CPU:$D845 PRG:1845 A9 00 sta $05C0 ; CPU:$D847 PRG:1847 8D C0 05 ldx Zp0A ; CPU:$D84A PRG:184A A6 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D84C +; Routine: SubCD82F_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6501,10 +6511,10 @@ Label_D82F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D84C: +SubCD82F_Block_2: rts ; CPU:$D84C PRG:184C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D84D +; Routine: SubCD82F_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6512,31 +6522,31 @@ Label_D84C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D84D: +SubCD82F_Block_3: ldx Zp0A ; CPU:$D84D PRG:184D A6 0A - jsr $DA5E ; CPU:$D84F PRG:184F 20 5E DA - lda Zp5F,x ; CPU:$D852 PRG:1852 B5 5F + jsr SubCDA5E ; CPU:$D84F PRG:184F 20 5E DA + lda ObjIndex,x ; CPU:$D852 PRG:1852 B5 5F cmp #$01 ; CPU:$D854 PRG:1854 C9 01 - beq Label_D8A4 ; CPU:$D856 PRG:1856 F0 4C + beq SubCD82F_Block_4 ; CPU:$D856 PRG:1856 F0 4C cmp #$02 ; CPU:$D858 PRG:1858 C9 02 - beq Label_D87A ; CPU:$D85A PRG:185A F0 1E + beq SubCD82F_Block_5 ; CPU:$D85A PRG:185A F0 1E cmp #$03 ; CPU:$D85C PRG:185C C9 03 - beq Label_D8C5 ; CPU:$D85E PRG:185E F0 65 + beq SubCD8C5 ; CPU:$D85E PRG:185E F0 65 lda $0211,y ; CPU:$D860 PRG:1860 B9 11 02 cmp #$2E ; CPU:$D863 PRG:1863 C9 2E - beq Label_D879 ; CPU:$D865 PRG:1865 F0 12 + beq SubCD82F_Block_7 ; CPU:$D865 PRG:1865 F0 12 cmp #$28 ; CPU:$D867 PRG:1867 C9 28 - beq Label_D879 ; CPU:$D869 PRG:1869 F0 0E + beq SubCD82F_Block_7 ; CPU:$D869 PRG:1869 F0 0E lda #$03 ; CPU:$D86B PRG:186B A9 03 - sta Zp5F,x ; CPU:$D86D PRG:186D 95 5F + sta ObjIndex,x ; CPU:$D86D PRG:186D 95 5F ldy Zp63,x ; CPU:$D86F PRG:186F B4 63 iny ; CPU:$D871 PRG:1871 C8 iny ; CPU:$D872 PRG:1872 C8 iny ; CPU:$D873 PRG:1873 C8 - sty Zp51,x ; CPU:$D874 PRG:1874 94 51 + sty BtnState,x ; CPU:$D874 PRG:1874 94 51 jsr $D908 ; CPU:$D876 PRG:1876 20 08 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D879 +; Routine: SubCD82F_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6544,10 +6554,10 @@ Label_D84D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D879: +SubCD82F_Block_7: rts ; CPU:$D879 PRG:1879 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D87A +; Routine: SubCD82F_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6555,27 +6565,27 @@ Label_D879: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D87A: +SubCD82F_Block_5: lda Zp6B,x ; CPU:$D87A PRG:187A B5 6B - beq Label_D8A3 ; CPU:$D87C PRG:187C F0 25 + beq SubCD82F_Block_9 ; CPU:$D87C PRG:187C F0 25 cmp #$02 ; CPU:$D87E PRG:187E C9 02 - beq Label_D8A3 ; CPU:$D880 PRG:1880 F0 21 + beq SubCD82F_Block_9 ; CPU:$D880 PRG:1880 F0 21 lda $0213,y ; CPU:$D882 PRG:1882 B9 13 02 - sta Zp00 ; CPU:$D885 PRG:1885 85 00 + sta PtrLo ; CPU:$D885 PRG:1885 85 00 lda $0101 ; CPU:$D887 PRG:1887 AD 01 01 - sta Zp01 ; CPU:$D88A PRG:188A 85 01 + sta PtrHi ; CPU:$D88A PRG:188A 85 01 txa ; CPU:$D88C PRG:188C 8A eor #$01 ; CPU:$D88D PRG:188D 49 01 tax ; CPU:$D88F PRG:188F AA - lda Zp5F,x ; CPU:$D890 PRG:1890 B5 5F + lda ObjIndex,x ; CPU:$D890 PRG:1890 B5 5F cmp #$01 ; CPU:$D892 PRG:1892 C9 01 - bne Label_D89E ; CPU:$D894 PRG:1894 D0 08 + bne SubCD82F_Block_11 ; CPU:$D894 PRG:1894 D0 08 lda Zp89 ; CPU:$D896 PRG:1896 A5 89 cmp Zp8F ; CPU:$D898 PRG:1898 C5 8F - bne Label_D89E ; CPU:$D89A PRG:189A D0 02 - inc Zp01 ; CPU:$D89C PRG:189C E6 01 + bne SubCD82F_Block_11 ; CPU:$D89A PRG:189A D0 02 + inc PtrHi ; CPU:$D89C PRG:189C E6 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D89E +; Routine: SubCD82F_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6583,11 +6593,11 @@ Label_D87A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D89E: +SubCD82F_Block_11: ldx Zp0A ; CPU:$D89E PRG:189E A6 0A jsr $D158 ; CPU:$D8A0 PRG:18A0 20 58 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D8A3 +; Routine: SubCD82F_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6595,10 +6605,10 @@ Label_D89E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8A3: +SubCD82F_Block_9: rts ; CPU:$D8A3 PRG:18A3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8A4 +; Routine: SubCD82F_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6606,21 +6616,21 @@ Label_D8A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8A4: +SubCD82F_Block_4: lda $0211,y ; CPU:$D8A4 PRG:18A4 B9 11 02 cmp #$50 ; CPU:$D8A7 PRG:18A7 C9 50 - beq Label_D8C4 ; CPU:$D8A9 PRG:18A9 F0 19 + beq SubCD82F_Block_12 ; CPU:$D8A9 PRG:18A9 F0 19 lda $0100 ; CPU:$D8AB PRG:18AB AD 00 01 - sta Zp00 ; CPU:$D8AE PRG:18AE 85 00 + sta PtrLo ; CPU:$D8AE PRG:18AE 85 00 lda $0210,y ; CPU:$D8B0 PRG:18B0 B9 10 02 - sta Zp01 ; CPU:$D8B3 PRG:18B3 85 01 + sta PtrHi ; CPU:$D8B3 PRG:18B3 85 01 lda $0211,y ; CPU:$D8B5 PRG:18B5 B9 11 02 ldy Zp63,x ; CPU:$D8B8 PRG:18B8 B4 63 - bne Label_D8BF ; CPU:$D8BA PRG:18BA D0 03 + bne SubCD82F_Block_13 ; CPU:$D8BA PRG:18BA D0 03 sec ; CPU:$D8BC PRG:18BC 38 sbc #$06 ; CPU:$D8BD PRG:18BD E9 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D8BF +; Routine: SubCD82F_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6638,11 @@ Label_D8A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8BF: - sta Zp02 ; CPU:$D8BF PRG:18BF 85 02 +SubCD82F_Block_13: + sta Ptr2Lo ; CPU:$D8BF PRG:18BF 85 02 jsr $D6A3 ; CPU:$D8C1 PRG:18C1 20 A3 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D8C4 +; Routine: SubCD82F_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +6650,10 @@ Label_D8BF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8C4: +SubCD82F_Block_12: rts ; CPU:$D8C4 PRG:18C4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8C5 +; Routine: SubCD8C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6651,28 +6661,28 @@ Label_D8C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8C5: +SubCD8C5: lda $05C0 ; CPU:$D8C5 PRG:18C5 AD C0 05 - bne Label_D922 ; CPU:$D8C8 PRG:18C8 D0 58 + bne SubCD8C5_Block ; CPU:$D8C8 PRG:18C8 D0 58 lda $05C1,x ; CPU:$D8CA PRG:18CA BD C1 05 - bne Label_D915 ; CPU:$D8CD PRG:18CD D0 46 + bne SubCD908_Block ; CPU:$D8CD PRG:18CD D0 46 lda #$03 ; CPU:$D8CF PRG:18CF A9 03 sta $05C1,x ; CPU:$D8D1 PRG:18D1 9D C1 05 txa ; CPU:$D8D4 PRG:18D4 8A eor #$01 ; CPU:$D8D5 PRG:18D5 49 01 tax ; CPU:$D8D7 PRG:18D7 AA - lda Zp5F,x ; CPU:$D8D8 PRG:18D8 B5 5F + lda ObjIndex,x ; CPU:$D8D8 PRG:18D8 B5 5F cmp #$03 ; CPU:$D8DA PRG:18DA C9 03 - beq Label_D916 ; CPU:$D8DC PRG:18DC F0 38 + beq SubCD8C5_Block_3 ; CPU:$D8DC PRG:18DC F0 38 cmp #$02 ; CPU:$D8DE PRG:18DE C9 02 - bne Label_D8EE ; CPU:$D8E0 PRG:18E0 D0 0C + bne SubCD908_Block_2 ; CPU:$D8E0 PRG:18E0 D0 0C lda Zp6B,x ; CPU:$D8E2 PRG:18E2 B5 6B cmp #$02 ; CPU:$D8E4 PRG:18E4 C9 02 - beq Label_D8EE ; CPU:$D8E6 PRG:18E6 F0 06 + beq SubCD908_Block_2 ; CPU:$D8E6 PRG:18E6 F0 06 jsr $D95B ; CPU:$D8E8 PRG:18E8 20 5B D9 jmp $D8C5 ; CPU:$D8EB PRG:18EB 4C C5 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D8EE +; Routine: SubCD908_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6680,21 +6690,21 @@ Label_D8C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8EE: +SubCD908_Block_2: ldx Zp0A ; CPU:$D8EE PRG:18EE A6 0A - jsr $DA5E ; CPU:$D8F0 PRG:18F0 20 5E DA + jsr SubCDA5E ; CPU:$D8F0 PRG:18F0 20 5E DA lda $021B,y ; CPU:$D8F3 PRG:18F3 B9 1B 02 - sta Zp00 ; CPU:$D8F6 PRG:18F6 85 00 + sta PtrLo ; CPU:$D8F6 PRG:18F6 85 00 tya ; CPU:$D8F8 PRG:18F8 98 eor #$20 ; CPU:$D8F9 PRG:18F9 49 20 tay ; CPU:$D8FB PRG:18FB A8 lda $021B,y ; CPU:$D8FC PRG:18FC B9 1B 02 ldy #$03 ; CPU:$D8FF PRG:18FF A0 03 - cmp Zp00 ; CPU:$D901 PRG:1901 C5 00 - bcs Label_D906 ; CPU:$D903 PRG:1903 B0 01 + cmp PtrLo ; CPU:$D901 PRG:1901 C5 00 + bcs SubCD8C5_Block_6 ; CPU:$D903 PRG:1903 B0 01 iny ; CPU:$D905 PRG:1905 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D906 +; Routine: SubCD8C5_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6712,10 @@ Label_D8EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D906: - sty Zp51,x ; CPU:$D906 PRG:1906 94 51 +SubCD8C5_Block_6: + sty BtnState,x ; CPU:$D906 PRG:1906 94 51 ; ----------------------------------------------------------------------------- -; Routine: Label_D908 +; Routine: SubCD908 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +6723,16 @@ Label_D906: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D908: +SubCD908: txa ; CPU:$D908 PRG:1908 8A asl a ; CPU:$D909 PRG:1909 0A tay ; CPU:$D90A PRG:190A A8 lda a:$007C,y ; CPU:$D90B PRG:190B B9 7C 00 cmp #$1A ; CPU:$D90E PRG:190E C9 1A - bmi Label_D915 ; CPU:$D910 PRG:1910 30 03 + bmi SubCD908_Block ; CPU:$D910 PRG:1910 30 03 jsr $CC47 ; CPU:$D912 PRG:1912 20 47 CC ; ----------------------------------------------------------------------------- -; Routine: Label_D915 +; Routine: SubCD908_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +6740,10 @@ Label_D908: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D915: +SubCD908_Block: rts ; CPU:$D915 PRG:1915 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D916 +; Routine: SubCD8C5_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6741,11 +6751,11 @@ Label_D915: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D916: +SubCD8C5_Block_3: jsr $D980 ; CPU:$D916 PRG:1916 20 80 D9 - beq Label_D8EE ; CPU:$D919 PRG:1919 F0 D3 + beq SubCD908_Block_2 ; CPU:$D919 PRG:1919 F0 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D91B +; Routine: SubCD908_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6763,13 @@ Label_D916: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D91B: +SubCD908_Block_4: ldx Zp0A ; CPU:$D91B PRG:191B A6 0A lda #$04 ; CPU:$D91D PRG:191D A9 04 - sta Zp5F,x ; CPU:$D91F PRG:191F 95 5F + sta ObjIndex,x ; CPU:$D91F PRG:191F 95 5F rts ; CPU:$D921 PRG:1921 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D922 +; Routine: SubCD8C5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,29 +6777,29 @@ Label_D91B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D922: +SubCD8C5_Block: lda Zp0A ; CPU:$D922 PRG:1922 A5 0A eor #$01 ; CPU:$D924 PRG:1924 49 01 tax ; CPU:$D926 PRG:1926 AA - jsr $DA5E ; CPU:$D927 PRG:1927 20 5E DA + jsr SubCDA5E ; CPU:$D927 PRG:1927 20 5E DA lda Zp6B,x ; CPU:$D92A PRG:192A B5 6B cmp #$02 ; CPU:$D92C PRG:192C C9 02 - beq Label_D91B ; CPU:$D92E PRG:192E F0 EB - lda Zp5F,x ; CPU:$D930 PRG:1930 B5 5F + beq SubCD908_Block_4 ; CPU:$D92E PRG:192E F0 EB + lda ObjIndex,x ; CPU:$D930 PRG:1930 B5 5F cmp #$04 ; CPU:$D932 PRG:1932 C9 04 - beq Label_D91B ; CPU:$D934 PRG:1934 F0 E5 + beq SubCD908_Block_4 ; CPU:$D934 PRG:1934 F0 E5 lda $05C0 ; CPU:$D936 PRG:1936 AD C0 05 cmp #$02 ; CPU:$D939 PRG:1939 C9 02 - bpl Label_D94C ; CPU:$D93B PRG:193B 10 0F + bpl SubCD908_Block_5 ; CPU:$D93B PRG:193B 10 0F lda $0210,y ; CPU:$D93D PRG:193D B9 10 02 sec ; CPU:$D940 PRG:1940 38 sbc #$04 ; CPU:$D941 PRG:1941 E9 04 cmp #$59 ; CPU:$D943 PRG:1943 C9 59 - bcs Label_D952 ; CPU:$D945 PRG:1945 B0 0B + bcs SubCD952 ; CPU:$D945 PRG:1945 B0 0B lda #$59 ; CPU:$D947 PRG:1947 A9 59 jmp $D952 ; CPU:$D949 PRG:1949 4C 52 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D94C +; Routine: SubCD908_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6797,12 +6807,12 @@ Label_D922: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D94C: +SubCD908_Block_5: lda $0210,y ; CPU:$D94C PRG:194C B9 10 02 clc ; CPU:$D94F PRG:194F 18 adc #$04 ; CPU:$D950 PRG:1950 69 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D952 +; Routine: SubCD952 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +6820,13 @@ Label_D94C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D952: - sta Zp01 ; CPU:$D952 PRG:1952 85 01 +SubCD952: + sta PtrHi ; CPU:$D952 PRG:1952 85 01 lda $0213,y ; CPU:$D954 PRG:1954 B9 13 02 jsr $D156 ; CPU:$D957 PRG:1957 20 56 D1 rts ; CPU:$D95A PRG:195A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D95B +; Routine: SubCD95B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +6834,18 @@ Label_D952: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D95B: +SubCD95B: ldx #$01 ; CPU:$D95B PRG:195B A2 01 lda Zp89 ; CPU:$D95D PRG:195D A5 89 cmp Zp8D ; CPU:$D95F PRG:195F C5 8D - bcs Label_D96C ; CPU:$D961 PRG:1961 B0 09 + bcs SubCD95B_Block ; CPU:$D961 PRG:1961 B0 09 inx ; CPU:$D963 PRG:1963 E8 lda Zp8B ; CPU:$D964 PRG:1964 A5 8B sec ; CPU:$D966 PRG:1966 38 sbc Zp8D ; CPU:$D967 PRG:1967 E5 8D jmp $D971 ; CPU:$D969 PRG:1969 4C 71 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D96C +; Routine: SubCD95B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6853,12 @@ Label_D95B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D96C: +SubCD95B_Block: lda Zp8F ; CPU:$D96C PRG:196C A5 8F sec ; CPU:$D96E PRG:196E 38 sbc Zp89 ; CPU:$D96F PRG:196F E5 89 ; ----------------------------------------------------------------------------- -; Routine: Label_D971 +; Routine: SubCD971 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +6866,13 @@ Label_D96C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D971: +SubCD971: cmp #$20 ; CPU:$D971 PRG:1971 C9 20 - bmi Label_D979 ; CPU:$D973 PRG:1973 30 04 - beq Label_D979 ; CPU:$D975 PRG:1975 F0 02 + bmi SubCD971_Block_2 ; CPU:$D973 PRG:1973 30 04 + beq SubCD971_Block_2 ; CPU:$D975 PRG:1975 F0 02 ldx #$00 ; CPU:$D977 PRG:1977 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D979 +; Routine: SubCD971_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +6880,13 @@ Label_D971: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D979: +SubCD971_Block_2: stx $05C0 ; CPU:$D979 PRG:1979 8E C0 05 txa ; CPU:$D97C PRG:197C 8A ldx Zp0A ; CPU:$D97D PRG:197D A6 0A rts ; CPU:$D97F PRG:197F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D980 +; Routine: SubCD980 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6884,17 +6894,17 @@ Label_D979: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D980: +SubCD980: lda Zp89 ; CPU:$D980 PRG:1980 A5 89 cmp Zp8D ; CPU:$D982 PRG:1982 C5 8D - bcc Label_D992 ; CPU:$D984 PRG:1984 90 0C + bcc SubCD980_Block_3 ; CPU:$D984 PRG:1984 90 0C sec ; CPU:$D986 PRG:1986 38 sbc Zp8F ; CPU:$D987 PRG:1987 E5 8F - beq Label_D98F ; CPU:$D989 PRG:1989 F0 04 + beq SubCD980_Block_2 ; CPU:$D989 PRG:1989 F0 04 cmp #$FD ; CPU:$D98B PRG:198B C9 FD - bmi Label_D992 ; CPU:$D98D PRG:198D 30 03 + bmi SubCD980_Block_3 ; CPU:$D98D PRG:198D 30 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D98F +; Routine: SubCD980_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6902,11 +6912,11 @@ Label_D980: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D98F: +SubCD980_Block_2: lda #$01 ; CPU:$D98F PRG:198F A9 01 rts ; CPU:$D991 PRG:1991 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D992 +; Routine: SubCD980_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6914,11 +6924,11 @@ Label_D98F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D992: +SubCD980_Block_3: lda #$00 ; CPU:$D992 PRG:1992 A9 00 rts ; CPU:$D994 PRG:1994 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D995 +; Routine: SubCD995 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6926,7 +6936,7 @@ Label_D992: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D995: +SubCD995: txa ; CPU:$D995 PRG:1995 8A pha ; CPU:$D996 PRG:1996 48 eor #$01 ; CPU:$D997 PRG:1997 49 01 @@ -6939,7 +6949,7 @@ Label_D995: lda Zp0F ; CPU:$D9A4 PRG:19A4 A5 0F rts ; CPU:$D9A6 PRG:19A6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9A7 +; Routine: SubCD9A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6957,13 @@ Label_D995: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9A7: +SubCD9A7: sta Zp03 ; CPU:$D9A7 PRG:19A7 85 03 lda #$00 ; CPU:$D9A9 PRG:19A9 A9 00 - beq Label_D9B7 ; CPU:$D9AB PRG:19AB F0 0A - sta Zp00 ; CPU:$D9AD PRG:19AD 85 00 + beq SubCD9AF_Block ; CPU:$D9AB PRG:19AB F0 0A + sta PtrLo ; CPU:$D9AD PRG:19AD 85 00 ; ----------------------------------------------------------------------------- -; 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. @@ -6961,11 +6971,11 @@ Label_D9A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9AF: +SubCD9AF: lda #$01 ; CPU:$D9AF PRG:19AF A9 01 - bne Label_D9B7 ; CPU:$D9B1 PRG:19B1 D0 04 + bne SubCD9AF_Block ; CPU:$D9B1 PRG:19B1 D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D9B3 +; Routine: SubCD9B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +6983,10 @@ Label_D9AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9B3: +SubCD9B3: sta Zp03 ; CPU:$D9B3 PRG:19B3 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D9B5 +; Routine: SubCD9B5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6984,10 +6994,10 @@ Label_D9B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9B5: +SubCD9B5: lda #$02 ; CPU:$D9B5 PRG:19B5 A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D9B7 +; Routine: SubCD9AF_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +7005,7 @@ Label_D9B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9B7: +SubCD9AF_Block: sta Zp0F ; CPU:$D9B7 PRG:19B7 85 0F txa ; CPU:$D9B9 PRG:19B9 8A pha ; CPU:$D9BA PRG:19BA 48 @@ -7005,13 +7015,13 @@ Label_D9B7: sty $0419 ; CPU:$D9BF PRG:19BF 8C 19 04 lda Zp0F ; CPU:$D9C2 PRG:19C2 A5 0F cmp #$02 ; CPU:$D9C4 PRG:19C4 C9 02 - beq Label_D9DB ; CPU:$D9C6 PRG:19C6 F0 13 + beq SubCD9B5_Block_4 ; CPU:$D9C6 PRG:19C6 F0 13 cmp #$01 ; CPU:$D9C8 PRG:19C8 C9 01 - beq Label_D9D2 ; CPU:$D9CA PRG:19CA F0 06 + beq SubCD9B5_Block_2 ; CPU:$D9CA PRG:19CA F0 06 jsr $DA0C ; CPU:$D9CC PRG:19CC 20 0C DA jmp $DA05 ; CPU:$D9CF PRG:19CF 4C 05 DA ; ----------------------------------------------------------------------------- -; Routine: Label_D9D2 +; Routine: SubCD9B5_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7019,12 +7029,12 @@ Label_D9B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9D2: +SubCD9B5_Block_2: jsr $DA0C ; CPU:$D9D2 PRG:19D2 20 0C DA jsr $DA2A ; CPU:$D9D5 PRG:19D5 20 2A DA jmp $DA03 ; CPU:$D9D8 PRG:19D8 4C 03 DA ; ----------------------------------------------------------------------------- -; Routine: Label_D9DB +; Routine: SubCD9B5_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7032,27 +7042,27 @@ Label_D9D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9DB: - lda (Zp02),y ; CPU:$D9DB PRG:19DB B1 02 +SubCD9B5_Block_4: + lda (Ptr2Lo),y ; CPU:$D9DB PRG:19DB B1 02 cmp #$FF ; CPU:$D9DD PRG:19DD C9 FF - beq Label_D9FE ; CPU:$D9DF PRG:19DF F0 1D + beq SubCD9B5_Block_3 ; CPU:$D9DF PRG:19DF F0 1D sta Zp8C ; CPU:$D9E1 PRG:19E1 85 8C iny ; CPU:$D9E3 PRG:19E3 C8 - lda (Zp02),y ; CPU:$D9E4 PRG:19E4 B1 02 + lda (Ptr2Lo),y ; CPU:$D9E4 PRG:19E4 B1 02 sta Zp8D ; CPU:$D9E6 PRG:19E6 85 8D iny ; CPU:$D9E8 PRG:19E8 C8 - lda (Zp02),y ; CPU:$D9E9 PRG:19E9 B1 02 + lda (Ptr2Lo),y ; CPU:$D9E9 PRG:19E9 B1 02 sta Zp8E ; CPU:$D9EB PRG:19EB 85 8E iny ; CPU:$D9ED PRG:19ED C8 - lda (Zp02),y ; CPU:$D9EE PRG:19EE B1 02 + lda (Ptr2Lo),y ; CPU:$D9EE PRG:19EE B1 02 sta Zp8F ; CPU:$D9F0 PRG:19F0 85 8F iny ; CPU:$D9F2 PRG:19F2 C8 inc $0419 ; CPU:$D9F3 PRG:19F3 EE 19 04 jsr $DA2A ; CPU:$D9F6 PRG:19F6 20 2A DA - beq Label_D9DB ; CPU:$D9F9 PRG:19F9 F0 E0 + beq SubCD9B5_Block_4 ; CPU:$D9F9 PRG:19F9 F0 E0 jmp $DA03 ; CPU:$D9FB PRG:19FB 4C 03 DA ; ----------------------------------------------------------------------------- -; Routine: Label_D9FE +; Routine: SubCD9B5_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7060,11 +7070,11 @@ Label_D9DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9FE: +SubCD9B5_Block_3: lda #$00 ; CPU:$D9FE PRG:19FE A9 00 sta $0419 ; CPU:$DA00 PRG:1A00 8D 19 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DA03 +; Routine: SubCDA03 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7072,10 +7082,10 @@ Label_D9FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA03: +SubCDA03: sta Zp0F ; CPU:$DA03 PRG:1A03 85 0F ; ----------------------------------------------------------------------------- -; Routine: Label_DA05 +; Routine: SubCDA05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7083,7 +7093,7 @@ Label_DA03: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA05: +SubCDA05: pla ; CPU:$DA05 PRG:1A05 68 tay ; CPU:$DA06 PRG:1A06 A8 pla ; CPU:$DA07 PRG:1A07 68 @@ -7091,7 +7101,7 @@ Label_DA05: lda Zp0F ; CPU:$DA09 PRG:1A09 A5 0F rts ; CPU:$DA0B PRG:1A0B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA0C +; Routine: SubCDA0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7099,13 +7109,13 @@ Label_DA05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA0C: +SubCDA0C: ldx #$00 ; CPU:$DA0C PRG:1A0C A2 00 lda Zp0F ; CPU:$DA0E PRG:1A0E A5 0F - beq Label_DA14 ; CPU:$DA10 PRG:1A10 F0 02 + beq SubCDA0C_Block ; CPU:$DA10 PRG:1A10 F0 02 ldx #$04 ; CPU:$DA12 PRG:1A12 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DA14 +; Routine: SubCDA0C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7113,10 +7123,10 @@ Label_DA0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA14: +SubCDA0C_Block: jsr $DA17 ; CPU:$DA14 PRG:1A14 20 17 DA ; ----------------------------------------------------------------------------- -; Routine: Label_DA17 +; Routine: SubCDA17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7124,22 +7134,22 @@ Label_DA14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA17: - lda (Zp02),y ; CPU:$DA17 PRG:1A17 B1 02 +SubCDA17: + lda (Ptr2Lo),y ; CPU:$DA17 PRG:1A17 B1 02 clc ; CPU:$DA19 PRG:1A19 18 - adc Zp00 ; CPU:$DA1A PRG:1A1A 65 00 + adc PtrLo ; CPU:$DA1A PRG:1A1A 65 00 sta Zp88,x ; CPU:$DA1C PRG:1A1C 95 88 inx ; CPU:$DA1E PRG:1A1E E8 iny ; CPU:$DA1F PRG:1A1F C8 - lda (Zp02),y ; CPU:$DA20 PRG:1A20 B1 02 + lda (Ptr2Lo),y ; CPU:$DA20 PRG:1A20 B1 02 clc ; CPU:$DA22 PRG:1A22 18 - adc Zp01 ; CPU:$DA23 PRG:1A23 65 01 + adc PtrHi ; CPU:$DA23 PRG:1A23 65 01 sta Zp88,x ; CPU:$DA25 PRG:1A25 95 88 inx ; CPU:$DA27 PRG:1A27 E8 iny ; CPU:$DA28 PRG:1A28 C8 rts ; CPU:$DA29 PRG:1A29 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA2A +; Routine: SubCDA2A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7147,18 +7157,18 @@ Label_DA17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA2A: +SubCDA2A: lda Zp88 ; CPU:$DA2A PRG:1A2A A5 88 cmp Zp8C ; CPU:$DA2C PRG:1A2C C5 8C - bcc Label_DA3B ; CPU:$DA2E PRG:1A2E 90 0B - beq Label_DA41 ; CPU:$DA30 PRG:1A30 F0 0F + bcc SubCDA2A_Block ; CPU:$DA2E PRG:1A2E 90 0B + beq SubCDA2A_Block_4 ; CPU:$DA30 PRG:1A30 F0 0F cmp Zp8E ; CPU:$DA32 PRG:1A32 C5 8E - bcc Label_DA41 ; CPU:$DA34 PRG:1A34 90 0B - beq Label_DA41 ; CPU:$DA36 PRG:1A36 F0 09 + bcc SubCDA2A_Block_4 ; CPU:$DA34 PRG:1A34 90 0B + beq SubCDA2A_Block_4 ; CPU:$DA36 PRG:1A36 F0 09 lda #$00 ; CPU:$DA38 PRG:1A38 A9 00 rts ; CPU:$DA3A PRG:1A3A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA3B +; Routine: SubCDA2A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7166,12 +7176,12 @@ Label_DA2A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA3B: +SubCDA2A_Block: lda Zp8A ; CPU:$DA3B PRG:1A3B A5 8A cmp Zp8C ; CPU:$DA3D PRG:1A3D C5 8C - bcc Label_DA5B ; CPU:$DA3F PRG:1A3F 90 1A + bcc SubCDA2A_Block_10 ; CPU:$DA3F PRG:1A3F 90 1A ; ----------------------------------------------------------------------------- -; Routine: Label_DA41 +; Routine: SubCDA2A_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +7189,18 @@ Label_DA3B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA41: +SubCDA2A_Block_4: lda Zp89 ; CPU:$DA41 PRG:1A41 A5 89 cmp Zp8D ; CPU:$DA43 PRG:1A43 C5 8D - bcc Label_DA52 ; CPU:$DA45 PRG:1A45 90 0B - beq Label_DA58 ; CPU:$DA47 PRG:1A47 F0 0F + bcc SubCDA2A_Block_6 ; CPU:$DA45 PRG:1A45 90 0B + beq SubCDA2A_Block_9 ; CPU:$DA47 PRG:1A47 F0 0F cmp Zp8F ; CPU:$DA49 PRG:1A49 C5 8F - bcc Label_DA58 ; CPU:$DA4B PRG:1A4B 90 0B - beq Label_DA58 ; CPU:$DA4D PRG:1A4D F0 09 + bcc SubCDA2A_Block_9 ; CPU:$DA4B PRG:1A4B 90 0B + beq SubCDA2A_Block_9 ; CPU:$DA4D PRG:1A4D F0 09 lda #$00 ; CPU:$DA4F PRG:1A4F A9 00 rts ; CPU:$DA51 PRG:1A51 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA52 +; Routine: SubCDA2A_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7198,12 +7208,12 @@ Label_DA41: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA52: +SubCDA2A_Block_6: lda Zp8B ; CPU:$DA52 PRG:1A52 A5 8B cmp Zp8D ; CPU:$DA54 PRG:1A54 C5 8D - bcc Label_DA5B ; CPU:$DA56 PRG:1A56 90 03 + bcc SubCDA2A_Block_10 ; CPU:$DA56 PRG:1A56 90 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DA58 +; Routine: SubCDA2A_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7211,11 +7221,11 @@ Label_DA52: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA58: +SubCDA2A_Block_9: lda #$01 ; CPU:$DA58 PRG:1A58 A9 01 rts ; CPU:$DA5A PRG:1A5A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA5B +; Routine: SubCDA2A_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +7233,11 @@ Label_DA58: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA5B: +SubCDA2A_Block_10: lda #$00 ; CPU:$DA5B PRG:1A5B A9 00 rts ; CPU:$DA5D PRG:1A5D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA5E +; Routine: SubCDA5E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7235,13 +7245,13 @@ Label_DA5B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA5E: +SubCDA5E: ldy #$00 ; CPU:$DA5E PRG:1A5E A0 00 txa ; CPU:$DA60 PRG:1A60 8A - beq Label_DA65 ; CPU:$DA61 PRG:1A61 F0 02 + beq SubCDA5E_Block ; CPU:$DA61 PRG:1A61 F0 02 ldy #$20 ; CPU:$DA63 PRG:1A63 A0 20 ; ----------------------------------------------------------------------------- -; Routine: Label_DA65 +; Routine: SubCDA5E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7249,10 +7259,10 @@ Label_DA5E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA65: +SubCDA5E_Block: rts ; CPU:$DA65 PRG:1A65 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA66 +; Routine: SubCDA66 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7260,7 +7270,7 @@ Label_DA65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA66: +SubCDA66: txa ; CPU:$DA66 PRG:1A66 8A pha ; CPU:$DA67 PRG:1A67 48 asl a ; CPU:$DA68 PRG:1A68 0A @@ -7268,7 +7278,7 @@ Label_DA66: tax ; CPU:$DA6A PRG:1A6A AA tay ; CPU:$DA6B PRG:1A6B A8 ; ----------------------------------------------------------------------------- -; Routine: Label_DA6C +; Routine: SubCDA66_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +7286,7 @@ Label_DA66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA6C: +SubCDA66_Block_3: lda a:$002A,y ; CPU:$DA6C PRG:1A6C B9 2A 00 and #$F0 ; CPU:$DA6F PRG:1A6F 29 F0 lsr a ; CPU:$DA71 PRG:1A71 4A @@ -7291,12 +7301,12 @@ Label_DA6C: inx ; CPU:$DA81 PRG:1A81 E8 iny ; CPU:$DA82 PRG:1A82 C8 cpy #$02 ; CPU:$DA83 PRG:1A83 C0 02 - bmi Label_DA6C ; CPU:$DA85 PRG:1A85 30 E5 - beq Label_DA8D ; CPU:$DA87 PRG:1A87 F0 04 + bmi SubCDA66_Block_3 ; CPU:$DA85 PRG:1A85 30 E5 + beq SubCDA66_Block_2 ; CPU:$DA87 PRG:1A87 F0 04 cpy #$06 ; CPU:$DA89 PRG:1A89 C0 06 - bmi Label_DA6C ; CPU:$DA8B PRG:1A8B 30 DF + bmi SubCDA66_Block_3 ; CPU:$DA8B PRG:1A8B 30 DF ; ----------------------------------------------------------------------------- -; Routine: Label_DA8D +; Routine: SubCDA66_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +7314,12 @@ Label_DA6C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA8D: +SubCDA66_Block_2: pla ; CPU:$DA8D PRG:1A8D 68 tax ; CPU:$DA8E PRG:1A8E AA rts ; CPU:$DA8F PRG:1A8F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA90 +; Routine: SubCDA90 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +7327,7 @@ Label_DA8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA90: +SubCDA90: txa ; CPU:$DA90 PRG:1A90 8A pha ; CPU:$DA91 PRG:1A91 48 asl a ; CPU:$DA92 PRG:1A92 0A @@ -7330,7 +7340,7 @@ Label_DA90: sta Zp2C ; CPU:$DA9C PRG:1A9C 85 2C sta Zp2D ; CPU:$DA9E PRG:1A9E 85 2D ; ----------------------------------------------------------------------------- -; Routine: Label_DAA0 +; Routine: SubCDA90_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7338,7 +7348,7 @@ Label_DA90: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAA0: +SubCDA90_Block_3: lda $03F4,y ; CPU:$DAA0 PRG:1AA0 B9 F4 03 asl a ; CPU:$DAA3 PRG:1AA3 0A asl a ; CPU:$DAA4 PRG:1AA4 0A @@ -7353,12 +7363,12 @@ Label_DAA0: iny ; CPU:$DAB3 PRG:1AB3 C8 inx ; CPU:$DAB4 PRG:1AB4 E8 cpx #$02 ; CPU:$DAB5 PRG:1AB5 E0 02 - bmi Label_DAA0 ; CPU:$DAB7 PRG:1AB7 30 E7 - beq Label_DABF ; CPU:$DAB9 PRG:1AB9 F0 04 + bmi SubCDA90_Block_3 ; CPU:$DAB7 PRG:1AB7 30 E7 + beq SubCDA90_Block_2 ; CPU:$DAB9 PRG:1AB9 F0 04 cpx #$06 ; CPU:$DABB PRG:1ABB E0 06 - bmi Label_DAA0 ; CPU:$DABD PRG:1ABD 30 E1 + bmi SubCDA90_Block_3 ; CPU:$DABD PRG:1ABD 30 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_DABF +; Routine: SubCDA90_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7366,12 +7376,12 @@ Label_DAA0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DABF: +SubCDA90_Block_2: pla ; CPU:$DABF PRG:1ABF 68 tax ; CPU:$DAC0 PRG:1AC0 AA rts ; CPU:$DAC1 PRG:1AC1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DAC2 +; Routine: SubCDAC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +7389,7 @@ Label_DABF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAC2: +SubCDAC2: txa ; CPU:$DAC2 PRG:1AC2 8A asl a ; CPU:$DAC3 PRG:1AC3 0A asl a ; CPU:$DAC4 PRG:1AC4 0A @@ -7388,7 +7398,7 @@ Label_DAC2: iny ; CPU:$DAC7 PRG:1AC7 C8 iny ; CPU:$DAC8 PRG:1AC8 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_DAC9 +; Routine: SubCDAC2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7396,19 +7406,19 @@ Label_DAC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAC9: +SubCDAC2_Block_2: clc ; CPU:$DAC9 PRG:1AC9 18 lda #$01 ; CPU:$DACA PRG:1ACA A9 01 adc $03F4,y ; CPU:$DACC PRG:1ACC 79 F4 03 sta $03F4,y ; CPU:$DACF PRG:1ACF 99 F4 03 cmp #$0A ; CPU:$DAD2 PRG:1AD2 C9 0A - bmi Label_DADE ; CPU:$DAD4 PRG:1AD4 30 08 + bmi SubCDAC2_Block ; CPU:$DAD4 PRG:1AD4 30 08 lda #$00 ; CPU:$DAD6 PRG:1AD6 A9 00 sta $03F4,y ; CPU:$DAD8 PRG:1AD8 99 F4 03 dey ; CPU:$DADB PRG:1ADB 88 - bpl Label_DAC9 ; CPU:$DADC PRG:1ADC 10 EB + bpl SubCDAC2_Block_2 ; CPU:$DADC PRG:1ADC 10 EB ; ----------------------------------------------------------------------------- -; Routine: Label_DADE +; Routine: SubCDAC2_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7416,10 +7426,10 @@ Label_DAC9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DADE: +SubCDAC2_Block: rts ; CPU:$DADE PRG:1ADE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DADF +; Routine: SubCDADF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7427,19 +7437,19 @@ Label_DADE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DADF: +SubCDADF: txa ; CPU:$DADF PRG:1ADF 8A pha ; CPU:$DAE0 PRG:1AE0 48 - jsr $DA90 ; CPU:$DAE1 PRG:1AE1 20 90 DA + jsr SubCDA90 ; CPU:$DAE1 PRG:1AE1 20 90 DA lda #$00 ; CPU:$DAE4 PRG:1AE4 A9 00 sta Zp05 ; CPU:$DAE6 PRG:1AE6 85 05 ldy $03F2,x ; CPU:$DAE8 PRG:1AE8 BC F2 03 cpy #$85 ; CPU:$DAEB PRG:1AEB C0 85 - beq Label_DAF3 ; CPU:$DAED PRG:1AED F0 04 + beq SubCDADF_Block ; CPU:$DAED PRG:1AED F0 04 lda #$FF ; CPU:$DAEF PRG:1AEF A9 FF sta Zp05 ; CPU:$DAF1 PRG:1AF1 85 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DAF3 +; Routine: SubCDADF_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7447,7 +7457,7 @@ Label_DADF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAF3: +SubCDADF_Block: txa ; CPU:$DAF3 PRG:1AF3 8A asl a ; CPU:$DAF4 PRG:1AF4 0A asl a ; CPU:$DAF5 PRG:1AF5 0A @@ -7455,18 +7465,18 @@ Label_DAF3: lda Zp05 ; CPU:$DAF7 PRG:1AF7 A5 05 sta a:$0028,y ; CPU:$DAF9 PRG:1AF9 99 28 00 lda $03FC,x ; CPU:$DAFC PRG:1AFC BD FC 03 - sta Zp00 ; CPU:$DAFF PRG:1AFF 85 00 + sta PtrLo ; CPU:$DAFF PRG:1AFF 85 00 txa ; CPU:$DB01 PRG:1B01 8A tay ; CPU:$DB02 PRG:1B02 A8 iny ; CPU:$DB03 PRG:1B03 C8 - sty Zp01 ; CPU:$DB04 PRG:1B04 84 01 + sty PtrHi ; CPU:$DB04 PRG:1B04 84 01 lda ZpE3,x ; CPU:$DB06 PRG:1B06 B5 E3 cmp #$85 ; CPU:$DB08 PRG:1B08 C9 85 - bne Label_DB12 ; CPU:$DB0A PRG:1B0A D0 06 + bne SubCDADF_Block_2 ; CPU:$DB0A PRG:1B0A D0 06 jsr $F322 ; CPU:$DB0C PRG:1B0C 20 22 F3 jmp $DB15 ; CPU:$DB0F PRG:1B0F 4C 15 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DB12 +; Routine: SubCDADF_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +7484,10 @@ Label_DAF3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB12: +SubCDADF_Block_2: jsr $F31E ; CPU:$DB12 PRG:1B12 20 1E F3 ; ----------------------------------------------------------------------------- -; Routine: Label_DB15 +; Routine: SubCDB15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7485,7 +7495,7 @@ Label_DB12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB15: +SubCDB15: pla ; CPU:$DB15 PRG:1B15 68 tax ; CPU:$DB16 PRG:1B16 AA jsr $DA66 ; CPU:$DB17 PRG:1B17 20 66 DA @@ -7494,11 +7504,11 @@ Label_DB15: asl a ; CPU:$DB1C PRG:1B1C 0A tay ; CPU:$DB1D PRG:1B1D A8 lda a:$0028,y ; CPU:$DB1E PRG:1B1E B9 28 00 - bne Label_DB27 ; CPU:$DB21 PRG:1B21 D0 04 + bne SubCDB15_Block ; CPU:$DB21 PRG:1B21 D0 04 lda #$85 ; CPU:$DB23 PRG:1B23 A9 85 - bne Label_DB29 ; CPU:$DB25 PRG:1B25 D0 02 + bne SubCDB15_Block_2 ; CPU:$DB25 PRG:1B25 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DB27 +; Routine: SubCDB15_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +7516,10 @@ Label_DB15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB27: +SubCDB15_Block: lda #$86 ; CPU:$DB27 PRG:1B27 A9 86 ; ----------------------------------------------------------------------------- -; Routine: Label_DB29 +; Routine: SubCDB15_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +7527,11 @@ Label_DB27: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB29: +SubCDB15_Block_2: sta $03F2,x ; CPU:$DB29 PRG:1B29 9D F2 03 rts ; CPU:$DB2C PRG:1B2C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DB2D +; Routine: SubCDB2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7529,14 +7539,14 @@ Label_DB29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB2D: - jsr $DA90 ; CPU:$DB2D PRG:1B2D 20 90 DA +SubCDB2D: + jsr SubCDA90 ; CPU:$DB2D PRG:1B2D 20 90 DA txa ; CPU:$DB30 PRG:1B30 8A asl a ; CPU:$DB31 PRG:1B31 0A asl a ; CPU:$DB32 PRG:1B32 0A tay ; CPU:$DB33 PRG:1B33 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_DB34 +; Routine: SubCDB2D_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7544,16 +7554,16 @@ Label_DB2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB34: +SubCDB2D_Block: lda #$00 ; CPU:$DB34 PRG:1B34 A9 00 sta $03F4,y ; CPU:$DB36 PRG:1B36 99 F4 03 iny ; CPU:$DB39 PRG:1B39 C8 cpy #$04 ; CPU:$DB3A PRG:1B3A C0 04 - beq Label_DB42 ; CPU:$DB3C PRG:1B3C F0 04 + beq SubCDB42 ; CPU:$DB3C PRG:1B3C F0 04 cpy #$08 ; CPU:$DB3E PRG:1B3E C0 08 - bne Label_DB34 ; CPU:$DB40 PRG:1B40 D0 F2 + bne SubCDB2D_Block ; CPU:$DB40 PRG:1B40 D0 F2 ; ----------------------------------------------------------------------------- -; Routine: Label_DB42 +; Routine: SubCDB42 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7561,24 +7571,24 @@ Label_DB34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB42: +SubCDB42: lda $03FC,x ; CPU:$DB42 PRG:1B42 BD FC 03 - sta Zp00 ; CPU:$DB45 PRG:1B45 85 00 + sta PtrLo ; CPU:$DB45 PRG:1B45 85 00 txa ; CPU:$DB47 PRG:1B47 8A tay ; CPU:$DB48 PRG:1B48 A8 iny ; CPU:$DB49 PRG:1B49 C8 - sty Zp01 ; CPU:$DB4A PRG:1B4A 84 01 + sty PtrHi ; CPU:$DB4A PRG:1B4A 84 01 txa ; CPU:$DB4C PRG:1B4C 8A asl a ; CPU:$DB4D PRG:1B4D 0A asl a ; CPU:$DB4E PRG:1B4E 0A tay ; CPU:$DB4F PRG:1B4F A8 lda a:$002A,y ; CPU:$DB50 PRG:1B50 B9 2A 00 - bne Label_DB5D ; CPU:$DB53 PRG:1B53 D0 08 + bne SubCDB42_Block ; CPU:$DB53 PRG:1B53 D0 08 lda a:$002B,y ; CPU:$DB55 PRG:1B55 B9 2B 00 cmp $03FC,x ; CPU:$DB58 PRG:1B58 DD FC 03 - bcc Label_DB6A ; CPU:$DB5B PRG:1B5B 90 0D + bcc SubCDB42_Block_2 ; CPU:$DB5B PRG:1B5B 90 0D ; ----------------------------------------------------------------------------- -; Routine: Label_DB5D +; Routine: SubCDB42_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7586,7 +7596,7 @@ Label_DB42: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB5D: +SubCDB42_Block: txa ; CPU:$DB5D PRG:1B5D 8A pha ; CPU:$DB5E PRG:1B5E 48 jsr $F31E ; CPU:$DB5F PRG:1B5F 20 1E F3 @@ -7595,7 +7605,7 @@ Label_DB5D: jsr $DAC2 ; CPU:$DB64 PRG:1B64 20 C2 DA jmp $DB42 ; CPU:$DB67 PRG:1B67 4C 42 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DB6A +; Routine: SubCDB42_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7603,10 +7613,10 @@ Label_DB5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB6A: +SubCDB42_Block_2: rts ; CPU:$DB6A PRG:1B6A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DB6B +; Routine: SubCDB6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +7624,7 @@ Label_DB6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB6B: +SubCDB6B: txa ; CPU:$DB6B PRG:1B6B 8A stx Zp09 ; CPU:$DB6C PRG:1B6C 86 09 asl a ; CPU:$DB6E PRG:1B6E 0A @@ -7629,7 +7639,7 @@ Label_DB6B: lda $03F7,y ; CPU:$DB80 PRG:1B80 B9 F7 03 sta Zp08 ; CPU:$DB83 PRG:1B83 85 08 ; ----------------------------------------------------------------------------- -; Routine: Label_DB85 +; Routine: SubCDB85 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7637,10 +7647,10 @@ Label_DB6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB85: +SubCDB85: ldx Zp09 ; CPU:$DB85 PRG:1B85 A6 09 dec $03FC,x ; CPU:$DB87 PRG:1B87 DE FC 03 - beq Label_DBB2 ; CPU:$DB8A PRG:1B8A F0 26 + beq SubCDB85_Block ; CPU:$DB8A PRG:1B8A F0 26 txa ; CPU:$DB8C PRG:1B8C 8A asl a ; CPU:$DB8D PRG:1B8D 0A asl a ; CPU:$DB8E PRG:1B8E 0A @@ -7651,7 +7661,7 @@ Label_DB85: clc ; CPU:$DB93 PRG:1B93 18 ldx #$03 ; CPU:$DB94 PRG:1B94 A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DB96 +; Routine: SubCDB85_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7659,18 +7669,18 @@ Label_DB85: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB96: +SubCDB85_Block_4: lda $03F4,y ; CPU:$DB96 PRG:1B96 B9 F4 03 adc Zp05,x ; CPU:$DB99 PRG:1B99 75 05 sta $03F4,y ; CPU:$DB9B PRG:1B9B 99 F4 03 lda #$F6 ; CPU:$DB9E PRG:1B9E A9 F6 adc $03F4,y ; CPU:$DBA0 PRG:1BA0 79 F4 03 - bcc Label_DBAC ; CPU:$DBA3 PRG:1BA3 90 07 + bcc SubCDB85_Block_2 ; CPU:$DBA3 PRG:1BA3 90 07 sta $03F4,y ; CPU:$DBA5 PRG:1BA5 99 F4 03 cpx #$00 ; CPU:$DBA8 PRG:1BA8 E0 00 - beq Label_DBB5 ; CPU:$DBAA PRG:1BAA F0 09 + beq SubCDB85_Block_3 ; CPU:$DBAA PRG:1BAA F0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_DBAC +; Routine: SubCDB85_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7678,13 +7688,13 @@ Label_DB96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBAC: +SubCDB85_Block_2: dey ; CPU:$DBAC PRG:1BAC 88 dex ; CPU:$DBAD PRG:1BAD CA - bpl Label_DB96 ; CPU:$DBAE PRG:1BAE 10 E6 - bmi Label_DB85 ; CPU:$DBB0 PRG:1BB0 30 D3 + bpl SubCDB85_Block_4 ; CPU:$DBAE PRG:1BAE 10 E6 + bmi SubCDB85 ; CPU:$DBB0 PRG:1BB0 30 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_DBB2 +; Routine: SubCDB85_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7692,11 +7702,11 @@ Label_DBAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBB2: +SubCDB85_Block: ldx Zp09 ; CPU:$DBB2 PRG:1BB2 A6 09 rts ; CPU:$DBB4 PRG:1BB4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBB5 +; Routine: SubCDB85_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7704,13 +7714,13 @@ Label_DBB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBB5: +SubCDB85_Block_3: ldx Zp09 ; CPU:$DBB5 PRG:1BB5 A6 09 lda #$FF ; CPU:$DBB7 PRG:1BB7 A9 FF sta $05D1,x ; CPU:$DBB9 PRG:1BB9 9D D1 05 jmp $DB85 ; CPU:$DBBC PRG:1BBC 4C 85 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DBBF +; Routine: SubCDBBF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7718,10 +7728,10 @@ Label_DBB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBBF: +SubCDBBF: jsr $DC0D ; CPU:$DBBF PRG:1BBF 20 0D DC ; ----------------------------------------------------------------------------- -; Routine: Label_DBC2 +; Routine: SubCDBC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +7739,11 @@ Label_DBBF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBC2: +SubCDBC2: lda $C251,x ; CPU:$DBC2 PRG:1BC2 BD 51 C2 - sta ZpA0 ; CPU:$DBC5 PRG:1BC5 85 A0 + sta ScorePtrLo ; CPU:$DBC5 PRG:1BC5 85 A0 lda #$20 ; CPU:$DBC7 PRG:1BC7 A9 20 - sta ZpA1 ; CPU:$DBC9 PRG:1BC9 85 A1 + sta ScorePtrHi ; CPU:$DBC9 PRG:1BC9 85 A1 txa ; CPU:$DBCB PRG:1BCB 8A asl a ; CPU:$DBCC PRG:1BCC 0A asl a ; CPU:$DBCD PRG:1BCD 0A @@ -7743,7 +7753,7 @@ Label_DBC2: lda #$00 ; CPU:$DBD5 PRG:1BD5 A9 00 sta $040A,x ; CPU:$DBD7 PRG:1BD7 9D 0A 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DBDA +; Routine: SubCDBC2_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7751,19 +7761,19 @@ Label_DBC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBDA: +SubCDBC2_Block_7: lda $03F4,y ; CPU:$DBDA PRG:1BDA B9 F4 03 sta Zp05 ; CPU:$DBDD PRG:1BDD 85 05 - bne Label_DBF5 ; CPU:$DBDF PRG:1BDF D0 14 + bne SubCDBC2_Block_2 ; CPU:$DBDF PRG:1BDF D0 14 lda $040A,x ; CPU:$DBE1 PRG:1BE1 BD 0A 04 - bne Label_DBF5 ; CPU:$DBE4 PRG:1BE4 D0 0F + bne SubCDBC2_Block_2 ; CPU:$DBE4 PRG:1BE4 D0 0F iny ; CPU:$DBE6 PRG:1BE6 C8 cpy #$04 ; CPU:$DBE7 PRG:1BE7 C0 04 - beq Label_DBEF ; CPU:$DBE9 PRG:1BE9 F0 04 + beq SubCDBC2_Block_3 ; CPU:$DBE9 PRG:1BE9 F0 04 cpy #$08 ; CPU:$DBEB PRG:1BEB C0 08 - bne Label_DBDA ; CPU:$DBED PRG:1BED D0 EB + bne SubCDBC2_Block_7 ; CPU:$DBED PRG:1BED D0 EB ; ----------------------------------------------------------------------------- -; Routine: Label_DBEF +; Routine: SubCDBC2_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7771,12 +7781,12 @@ Label_DBDA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBEF: +SubCDBC2_Block_3: dey ; CPU:$DBEF PRG:1BEF 88 lda #$24 ; CPU:$DBF0 PRG:1BF0 A9 24 jsr $EE5E ; CPU:$DBF2 PRG:1BF2 20 5E EE ; ----------------------------------------------------------------------------- -; Routine: Label_DBF5 +; Routine: SubCDBC2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7784,20 +7794,20 @@ Label_DBEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBF5: +SubCDBC2_Block_2: lda Zp05 ; CPU:$DBF5 PRG:1BF5 A5 05 - inc ZpA0 ; CPU:$DBF7 PRG:1BF7 E6 A0 + inc ScorePtrLo ; CPU:$DBF7 PRG:1BF7 E6 A0 jsr $EE5E ; CPU:$DBF9 PRG:1BF9 20 5E EE lda #$01 ; CPU:$DBFC PRG:1BFC A9 01 sta $040A,x ; CPU:$DBFE PRG:1BFE 9D 0A 04 iny ; CPU:$DC01 PRG:1C01 C8 cpy #$04 ; CPU:$DC02 PRG:1C02 C0 04 - bmi Label_DBDA ; CPU:$DC04 PRG:1C04 30 D4 - beq Label_DC0C ; CPU:$DC06 PRG:1C06 F0 04 + bmi SubCDBC2_Block_7 ; CPU:$DC04 PRG:1C04 30 D4 + beq SubCDBC2_Block_6 ; CPU:$DC06 PRG:1C06 F0 04 cpy #$08 ; CPU:$DC08 PRG:1C08 C0 08 - bmi Label_DBDA ; CPU:$DC0A PRG:1C0A 30 CE + bmi SubCDBC2_Block_7 ; CPU:$DC0A PRG:1C0A 30 CE ; ----------------------------------------------------------------------------- -; Routine: Label_DC0C +; Routine: SubCDBC2_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7805,7 +7815,7 @@ Label_DBF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC0C: +SubCDBC2_Block_6: rts ; CPU:$DC0C PRG:1C0C 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSpritePosition61 @@ -7818,15 +7828,15 @@ Label_DC0C: ; ----------------------------------------------------------------------------- UpdateSpritePosition61: lda $C251,x ; CPU:$DC0D PRG:1C0D BD 51 C2 - sta Zp00 ; CPU:$DC10 PRG:1C10 85 00 + sta PtrLo ; CPU:$DC10 PRG:1C10 85 00 lda #$20 ; CPU:$DC12 PRG:1C12 A9 20 - sta Zp01 ; CPU:$DC14 PRG:1C14 85 01 + sta PtrHi ; CPU:$DC14 PRG:1C14 85 01 lda #$06 ; CPU:$DC16 PRG:1C16 A9 06 - sta Zp02 ; CPU:$DC18 PRG:1C18 85 02 + sta Ptr2Lo ; CPU:$DC18 PRG:1C18 85 02 lda #$C3 ; CPU:$DC1A PRG:1C1A A9 C3 jmp $F2AA ; CPU:$DC1C PRG:1C1C 4C AA F2 ; ----------------------------------------------------------------------------- -; Routine: Label_DC1F +; Routine: SubCDC1F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7834,12 +7844,12 @@ UpdateSpritePosition61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC1F: +SubCDC1F: lda $0330 ; CPU:$DC1F PRG:1C1F AD 30 03 - beq Label_DC25 ; CPU:$DC22 PRG:1C22 F0 01 + beq SubCDC1F_Block ; CPU:$DC22 PRG:1C22 F0 01 rts ; CPU:$DC24 PRG:1C24 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC25 +; Routine: SubCDC1F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,30 +7857,30 @@ Label_DC1F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC25: +SubCDC1F_Block: ldy #$00 ; CPU:$DC25 PRG:1C25 A0 00 lda Zp8C ; CPU:$DC27 PRG:1C27 A5 8C - beq Label_DC4A ; CPU:$DC29 PRG:1C29 F0 1F + beq SubCDC1F_Block_7 ; CPU:$DC29 PRG:1C29 F0 1F iny ; CPU:$DC2B PRG:1C2B C8 cmp #$3D ; CPU:$DC2C PRG:1C2C C9 3D - beq Label_DC4A ; CPU:$DC2E PRG:1C2E F0 1A + beq SubCDC1F_Block_7 ; CPU:$DC2E PRG:1C2E F0 1A iny ; CPU:$DC30 PRG:1C30 C8 cmp #$64 ; CPU:$DC31 PRG:1C31 C9 64 - beq Label_DC4A ; CPU:$DC33 PRG:1C33 F0 15 + beq SubCDC1F_Block_7 ; CPU:$DC33 PRG:1C33 F0 15 iny ; CPU:$DC35 PRG:1C35 C8 cmp #$8C ; CPU:$DC36 PRG:1C36 C9 8C - beq Label_DC4A ; CPU:$DC38 PRG:1C38 F0 10 + beq SubCDC1F_Block_7 ; CPU:$DC38 PRG:1C38 F0 10 iny ; CPU:$DC3A PRG:1C3A C8 cmp #$B5 ; CPU:$DC3B PRG:1C3B C9 B5 - beq Label_DC4A ; CPU:$DC3D PRG:1C3D F0 0B + beq SubCDC1F_Block_7 ; CPU:$DC3D PRG:1C3D F0 0B iny ; CPU:$DC3F PRG:1C3F C8 cmp #$DC ; CPU:$DC40 PRG:1C40 C9 DC - beq Label_DC4A ; CPU:$DC42 PRG:1C42 F0 06 + beq SubCDC1F_Block_7 ; CPU:$DC42 PRG:1C42 F0 06 lda #$FF ; CPU:$DC44 PRG:1C44 A9 FF sta $0414,x ; CPU:$DC46 PRG:1C46 9D 14 04 rts ; CPU:$DC49 PRG:1C49 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC4A +; Routine: SubCDC1F_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,31 +7888,31 @@ Label_DC25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC4A: +SubCDC1F_Block_7: tya ; CPU:$DC4A PRG:1C4A 98 sta $0414,x ; CPU:$DC4B PRG:1C4B 9D 14 04 lda #$20 ; CPU:$DC4E PRG:1C4E A9 20 - sta ZpA1 ; CPU:$DC50 PRG:1C50 85 A1 + sta ScorePtrHi ; CPU:$DC50 PRG:1C50 85 A1 lda $C24F,x ; CPU:$DC52 PRG:1C52 BD 4F C2 - sta ZpA0 ; CPU:$DC55 PRG:1C55 85 A0 + sta ScorePtrLo ; CPU:$DC55 PRG:1C55 85 A0 lda $0513,y ; CPU:$DC57 PRG:1C57 B9 13 05 sta Zp0C ; CPU:$DC5A PRG:1C5A 85 0C - beq Label_DCC6 ; CPU:$DC5C PRG:1C5C F0 68 + beq SubCDC1F_Block_8 ; CPU:$DC5C PRG:1C5C F0 68 lda ZpDF,x ; CPU:$DC5E PRG:1C5E B5 DF - bne Label_DC7C ; CPU:$DC60 PRG:1C60 D0 1A + bne SubCDC1F_Block_12 ; CPU:$DC60 PRG:1C60 D0 1A lda $03F2,x ; CPU:$DC62 PRG:1C62 BD F2 03 - beq Label_DC7C ; CPU:$DC65 PRG:1C65 F0 15 + beq SubCDC1F_Block_12 ; CPU:$DC65 PRG:1C65 F0 15 lda $040C,x ; CPU:$DC67 PRG:1C67 BD 0C 04 - bne Label_DC7C ; CPU:$DC6A PRG:1C6A D0 10 + bne SubCDC1F_Block_12 ; CPU:$DC6A PRG:1C6A D0 10 lda ZpDD,x ; CPU:$DC6C PRG:1C6C B5 DD - bne Label_DC7C ; CPU:$DC6E PRG:1C6E D0 0C + bne SubCDC1F_Block_12 ; CPU:$DC6E PRG:1C6E D0 0C lda Zp0C ; CPU:$DC70 PRG:1C70 A5 0C sta ZpE3,x ; CPU:$DC72 PRG:1C72 95 E3 sta ZpDF,x ; CPU:$DC74 PRG:1C74 95 DF sta $05D3,x ; CPU:$DC76 PRG:1C76 9D D3 05 jsr $EE5E ; CPU:$DC79 PRG:1C79 20 5E EE ; ----------------------------------------------------------------------------- -; Routine: Label_DC7C +; Routine: SubCDC1F_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7910,21 +7920,21 @@ Label_DC4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC7C: +SubCDC1F_Block_12: txa ; CPU:$DC7C PRG:1C7C 8A pha ; CPU:$DC7D PRG:1C7D 48 lda $0513,y ; CPU:$DC7E PRG:1C7E B9 13 05 sta Zp0A ; CPU:$DC81 PRG:1C81 85 0A lda #$23 ; CPU:$DC83 PRG:1C83 A9 23 - sta ZpA1 ; CPU:$DC85 PRG:1C85 85 A1 + sta ScorePtrHi ; CPU:$DC85 PRG:1C85 85 A1 lda $C1E4,y ; CPU:$DC87 PRG:1C87 B9 E4 C1 - sta ZpA0 ; CPU:$DC8A PRG:1C8A 85 A0 + sta ScorePtrLo ; CPU:$DC8A PRG:1C8A 85 A0 lda #$24 ; CPU:$DC8C PRG:1C8C A9 24 jsr $EE5E ; CPU:$DC8E PRG:1C8E 20 5E EE sty Zp0B ; CPU:$DC91 PRG:1C91 84 0B ldy #$00 ; CPU:$DC93 PRG:1C93 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DC95 +; Routine: SubCDC1F_Block_16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7932,14 +7942,14 @@ Label_DC7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC95: +SubCDC1F_Block_16: lda $0513,y ; CPU:$DC95 PRG:1C95 B9 13 05 - beq Label_DC9F ; CPU:$DC98 PRG:1C98 F0 05 + beq SubCDC1F_Block_13 ; CPU:$DC98 PRG:1C98 F0 05 iny ; CPU:$DC9A PRG:1C9A C8 cpy #$06 ; CPU:$DC9B PRG:1C9B C0 06 - bne Label_DC95 ; CPU:$DC9D PRG:1C9D D0 F6 + bne SubCDC1F_Block_16 ; CPU:$DC9D PRG:1C9D D0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_DC9F +; Routine: SubCDC1F_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7947,17 +7957,17 @@ Label_DC95: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC9F: +SubCDC1F_Block_13: txa ; CPU:$DC9F PRG:1C9F 8A eor #$01 ; CPU:$DCA0 PRG:1CA0 49 01 tax ; CPU:$DCA2 PRG:1CA2 AA tya ; CPU:$DCA3 PRG:1CA3 98 cmp $0414,x ; CPU:$DCA4 PRG:1CA4 DD 14 04 - bne Label_DCAC ; CPU:$DCA7 PRG:1CA7 D0 03 + bne SubCDC1F_Block_15 ; CPU:$DCA7 PRG:1CA7 D0 03 iny ; CPU:$DCA9 PRG:1CA9 C8 - bne Label_DC95 ; CPU:$DCAA PRG:1CAA D0 E9 + bne SubCDC1F_Block_16 ; CPU:$DCAA PRG:1CAA D0 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_DCAC +; Routine: SubCDC1F_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7965,11 +7975,11 @@ Label_DC9F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCAC: +SubCDC1F_Block_15: lda #$23 ; CPU:$DCAC PRG:1CAC A9 23 - sta ZpA1 ; CPU:$DCAE PRG:1CAE 85 A1 + sta ScorePtrHi ; CPU:$DCAE PRG:1CAE 85 A1 lda $C1E4,y ; CPU:$DCB0 PRG:1CB0 B9 E4 C1 - sta ZpA0 ; CPU:$DCB3 PRG:1CB3 85 A0 + sta ScorePtrLo ; CPU:$DCB3 PRG:1CB3 85 A0 lda Zp0A ; CPU:$DCB5 PRG:1CB5 A5 0A sta $0513,y ; CPU:$DCB7 PRG:1CB7 99 13 05 jsr $EE5E ; CPU:$DCBA PRG:1CBA 20 5E EE @@ -7979,7 +7989,7 @@ Label_DCAC: pla ; CPU:$DCC4 PRG:1CC4 68 tax ; CPU:$DCC5 PRG:1CC5 AA ; ----------------------------------------------------------------------------- -; Routine: Label_DCC6 +; Routine: SubCDC1F_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7987,12 +7997,12 @@ Label_DCAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCC6: +SubCDC1F_Block_8: lda #$00 ; CPU:$DCC6 PRG:1CC6 A9 00 sta ZpDD,x ; CPU:$DCC8 PRG:1CC8 95 DD rts ; CPU:$DCCA PRG:1CCA 60 ; ----------------------------------------------------------------------------- -; 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. @@ -8000,12 +8010,12 @@ Label_DCC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCCB: +SubCDCCB: lda $0412 ; CPU:$DCCB PRG:1CCB AD 12 04 - bne Label_DCD1 ; CPU:$DCCE PRG:1CCE D0 01 + bne SubCDCCB_Block ; CPU:$DCCE PRG:1CCE D0 01 rts ; CPU:$DCD0 PRG:1CD0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCD1 +; Routine: SubCDCCB_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +8023,11 @@ Label_DCCB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCD1: +SubCDCCB_Block: cmp #$01 ; CPU:$DCD1 PRG:1CD1 C9 01 - beq Label_DCE4 ; CPU:$DCD3 PRG:1CD3 F0 0F + beq SubCDCCB_Block_2 ; CPU:$DCD3 PRG:1CD3 F0 0F cmp #$02 ; CPU:$DCD5 PRG:1CD5 C9 02 - beq Label_DCFE ; CPU:$DCD7 PRG:1CD7 F0 25 + beq SubCDCCB_Block_3 ; CPU:$DCD7 PRG:1CD7 F0 25 jsr $DD4E ; CPU:$DCD9 PRG:1CD9 20 4E DD beq UpdateSpritePosition66 ; CPU:$DCDC PRG:1CDC F0 05 lda #$00 ; CPU:$DCDE PRG:1CDE A9 00 @@ -8034,7 +8044,7 @@ Label_DCD1: UpdateSpritePosition66: rts ; CPU:$DCE3 PRG:1CE3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCE4 +; Routine: SubCDCCB_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +8052,12 @@ UpdateSpritePosition66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCE4: +SubCDCCB_Block_2: jsr $DE3D ; CPU:$DCE4 PRG:1CE4 20 3D DE lda #$00 ; CPU:$DCE7 PRG:1CE7 A9 00 tax ; CPU:$DCE9 PRG:1CE9 AA ; ----------------------------------------------------------------------------- -; Routine: Label_DCEA +; Routine: SubCDCCB_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +8065,18 @@ Label_DCE4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCEA: +SubCDCCB_Block_4: sta $0500,x ; CPU:$DCEA PRG:1CEA 9D 00 05 inx ; CPU:$DCED PRG:1CED E8 cpx #$12 ; CPU:$DCEE PRG:1CEE E0 12 - bmi Label_DCEA ; CPU:$DCF0 PRG:1CF0 30 F8 + bmi SubCDCCB_Block_4 ; CPU:$DCF0 PRG:1CF0 30 F8 sta $0413 ; CPU:$DCF2 PRG:1CF2 8D 13 04 lda #$01 ; CPU:$DCF5 PRG:1CF5 A9 01 sta $0512 ; CPU:$DCF7 PRG:1CF7 8D 12 05 asl $0412 ; CPU:$DCFA PRG:1CFA 0E 12 04 rts ; CPU:$DCFD PRG:1CFD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCFE +; Routine: SubCDCCB_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8074,13 +8084,13 @@ Label_DCEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCFE: +SubCDCCB_Block_3: jsr $DD0A ; CPU:$DCFE PRG:1CFE 20 0A DD lda $0512 ; CPU:$DD01 PRG:1D01 AD 12 05 - bne Label_DD09 ; CPU:$DD04 PRG:1D04 D0 03 + bne SubCDCCB_Block_5 ; CPU:$DD04 PRG:1D04 D0 03 asl $0412 ; CPU:$DD06 PRG:1D06 0E 12 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DD09 +; Routine: SubCDCCB_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8088,10 +8098,10 @@ Label_DCFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD09: +SubCDCCB_Block_5: rts ; CPU:$DD09 PRG:1D09 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD0A +; Routine: SubCDD0A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +8109,10 @@ Label_DD09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD0A: +SubCDD0A: ldx #$00 ; CPU:$DD0A PRG:1D0A A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DD0C +; Routine: SubCDD16_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +8120,14 @@ Label_DD0A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD0C: +SubCDD16_Block_2: lda Zp18,x ; CPU:$DD0C PRG:1D0C B5 18 and #$1F ; CPU:$DD0E PRG:1D0E 29 1F cmp #$12 ; CPU:$DD10 PRG:1D10 C9 12 - bmi Label_DD15 ; CPU:$DD12 PRG:1D12 30 01 + bmi SubCDD0A_Block ; CPU:$DD12 PRG:1D12 30 01 lsr a ; CPU:$DD14 PRG:1D14 4A ; ----------------------------------------------------------------------------- -; Routine: Label_DD15 +; Routine: SubCDD0A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +8135,10 @@ Label_DD0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD15: +SubCDD0A_Block: tay ; CPU:$DD15 PRG:1D15 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_DD16 +; Routine: SubCDD16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8136,16 +8146,16 @@ Label_DD15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD16: +SubCDD16: lda $0500,y ; CPU:$DD16 PRG:1D16 B9 00 05 - beq Label_DD25 ; CPU:$DD19 PRG:1D19 F0 0A + beq SubCDD16_Block ; CPU:$DD19 PRG:1D19 F0 0A iny ; CPU:$DD1B PRG:1D1B C8 cpy #$12 ; CPU:$DD1C PRG:1D1C C0 12 - bmi Label_DD16 ; CPU:$DD1E PRG:1D1E 30 F6 + bmi SubCDD16 ; CPU:$DD1E PRG:1D1E 30 F6 ldy #$00 ; CPU:$DD20 PRG:1D20 A0 00 jmp $DD16 ; CPU:$DD22 PRG:1D22 4C 16 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD25 +; Routine: SubCDD16_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,24 +8163,24 @@ Label_DD16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD25: +SubCDD16_Block: lda $0512 ; CPU:$DD25 PRG:1D25 AD 12 05 sta $0500,y ; CPU:$DD28 PRG:1D28 99 00 05 inx ; CPU:$DD2B PRG:1D2B E8 cpx #$02 ; CPU:$DD2C PRG:1D2C E0 02 - bmi Label_DD0C ; CPU:$DD2E PRG:1D2E 30 DC + bmi SubCDD16_Block_2 ; CPU:$DD2E PRG:1D2E 30 DC inc $0512 ; CPU:$DD30 PRG:1D30 EE 12 05 lda $0512 ; CPU:$DD33 PRG:1D33 AD 12 05 cmp #$0A ; CPU:$DD36 PRG:1D36 C9 0A - bmi Label_DD4D ; CPU:$DD38 PRG:1D38 30 13 + bmi SubCDD16_Block_3 ; CPU:$DD38 PRG:1D38 30 13 lda Zp4C ; CPU:$DD3A PRG:1D3A A5 4C - beq Label_DD48 ; CPU:$DD3C PRG:1D3C F0 0A + beq SubCDD16_Block_4 ; CPU:$DD3C PRG:1D3C F0 0A lda #$03 ; CPU:$DD3E PRG:1D3E A9 03 sta $0500 ; CPU:$DD40 PRG:1D40 8D 00 05 lda #$06 ; CPU:$DD43 PRG:1D43 A9 06 sta $0508 ; CPU:$DD45 PRG:1D45 8D 08 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DD48 +; Routine: SubCDD16_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +8188,11 @@ Label_DD25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD48: +SubCDD16_Block_4: lda #$00 ; CPU:$DD48 PRG:1D48 A9 00 sta $0512 ; CPU:$DD4A PRG:1D4A 8D 12 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DD4D +; Routine: SubCDD16_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +8200,10 @@ Label_DD48: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD4D: +SubCDD16_Block_3: rts ; CPU:$DD4D PRG:1D4D 60 ; ----------------------------------------------------------------------------- -; 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. @@ -8201,15 +8211,15 @@ Label_DD4D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD4E: +SubCDD4E: lda $0413 ; CPU:$DD4E PRG:1D4E AD 13 04 clc ; CPU:$DD51 PRG:1D51 18 adc #$06 ; CPU:$DD52 PRG:1D52 69 06 - sta Zp00 ; CPU:$DD54 PRG:1D54 85 00 + sta PtrLo ; CPU:$DD54 PRG:1D54 85 00 ldx $0413 ; CPU:$DD56 PRG:1D56 AE 13 04 ldy #$00 ; CPU:$DD59 PRG:1D59 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DD5B +; Routine: SubCDD4E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8217,7 +8227,7 @@ Label_DD4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD5B: +SubCDD4E_Block: txa ; CPU:$DD5B PRG:1D5B 8A asl a ; CPU:$DD5C PRG:1D5C 0A tax ; CPU:$DD5D PRG:1D5D AA @@ -8237,21 +8247,21 @@ Label_DD5B: iny ; CPU:$DD7A PRG:1D7A C8 iny ; CPU:$DD7B PRG:1D7B C8 inx ; CPU:$DD7C PRG:1D7C E8 - cpx Zp00 ; CPU:$DD7D PRG:1D7D E4 00 - bmi Label_DD5B ; CPU:$DD7F PRG:1D7F 30 DA + cpx PtrLo ; CPU:$DD7D PRG:1D7D E4 00 + bmi SubCDD4E_Block ; CPU:$DD7F PRG:1D7F 30 DA lda #$00 ; CPU:$DD81 PRG:1D81 A9 00 sta $0349 ; CPU:$DD83 PRG:1D83 8D 49 03 - lda Zp00 ; CPU:$DD86 PRG:1D86 A5 00 + lda PtrLo ; CPU:$DD86 PRG:1D86 A5 00 sta $0413 ; CPU:$DD88 PRG:1D88 8D 13 04 lda #$25 ; CPU:$DD8B PRG:1D8B A9 25 sta $0330 ; CPU:$DD8D PRG:1D8D 8D 30 03 lda $0413 ; CPU:$DD90 PRG:1D90 AD 13 04 cmp #$12 ; CPU:$DD93 PRG:1D93 C9 12 - bmi Label_DD9A ; CPU:$DD95 PRG:1D95 30 03 + bmi SubCDD4E_Block_2 ; CPU:$DD95 PRG:1D95 30 03 lda #$01 ; CPU:$DD97 PRG:1D97 A9 01 rts ; CPU:$DD99 PRG:1D99 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD9A +; Routine: SubCDD4E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +8269,11 @@ Label_DD5B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD9A: +SubCDD4E_Block_2: lda #$00 ; CPU:$DD9A PRG:1D9A A9 00 rts ; CPU:$DD9C PRG:1D9C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD9D +; Routine: SubCDD9D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8271,7 +8281,7 @@ Label_DD9A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD9D: +SubCDD9D: txa ; CPU:$DD9D PRG:1D9D 8A pha ; CPU:$DD9E PRG:1D9E 48 ldx #$00 ; CPU:$DD9F PRG:1D9F A2 00 @@ -8279,7 +8289,7 @@ Label_DD9D: stx Zp0A ; CPU:$DDA3 PRG:1DA3 86 0A stx Zp0B ; CPU:$DDA5 PRG:1DA5 86 0B ; ----------------------------------------------------------------------------- -; Routine: Label_DDA7 +; Routine: SubCDDA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8287,11 +8297,11 @@ Label_DD9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDA7: +SubCDDA7: lda $03E0,y ; CPU:$DDA7 PRG:1DA7 B9 E0 03 - beq Label_DE10 ; CPU:$DDAA PRG:1DAA F0 64 + beq SubCDE10 ; CPU:$DDAA PRG:1DAA F0 64 lda Zp41,x ; CPU:$DDAC PRG:1DAC B5 41 - bne Label_DDC6 ; CPU:$DDAE PRG:1DAE D0 16 + bne SubCDDA7_Block ; CPU:$DDAE PRG:1DAE D0 16 txa ; CPU:$DDB0 PRG:1DB0 8A pha ; CPU:$DDB1 PRG:1DB1 48 lda Zp18 ; CPU:$DDB2 PRG:1DB2 A5 18 @@ -8305,7 +8315,7 @@ Label_DDA7: tax ; CPU:$DDC2 PRG:1DC2 AA jmp $DE10 ; CPU:$DDC3 PRG:1DC3 4C 10 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DDC6 +; Routine: SubCDDA7_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +8323,16 @@ Label_DDA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDC6: +SubCDDA7_Block: cmp #$01 ; CPU:$DDC6 PRG:1DC6 C9 01 - bne Label_DDD6 ; CPU:$DDC8 PRG:1DC8 D0 0C + bne SubCDDA7_Block_2 ; CPU:$DDC8 PRG:1DC8 D0 0C lda #$00 ; CPU:$DDCA PRG:1DCA A9 00 sta $03E0,y ; CPU:$DDCC PRG:1DCC 99 E0 03 lda #$02 ; CPU:$DDCF PRG:1DCF A9 02 sta Zp0B ; CPU:$DDD1 PRG:1DD1 85 0B jmp $DE10 ; CPU:$DDD3 PRG:1DD3 4C 10 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DDD6 +; Routine: SubCDDA7_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8330,19 +8340,19 @@ Label_DDC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDD6: +SubCDDA7_Block_2: cmp #$11 ; CPU:$DDD6 PRG:1DD6 C9 11 - bcs Label_DE10 ; CPU:$DDD8 PRG:1DD8 B0 36 + bcs SubCDE10 ; CPU:$DDD8 PRG:1DD8 B0 36 lda $05B0 ; CPU:$DDDA PRG:1DDA AD B0 05 cmp #$02 ; CPU:$DDDD PRG:1DDD C9 02 - bne Label_DE10 ; CPU:$DDDF PRG:1DDF D0 2F + bne SubCDE10 ; CPU:$DDDF PRG:1DDF D0 2F lda Zp41,x ; CPU:$DDE1 PRG:1DE1 B5 41 and #$01 ; CPU:$DDE3 PRG:1DE3 29 01 - bne Label_DDED ; CPU:$DDE5 PRG:1DE5 D0 06 + bne SubCDDA7_Block_3 ; CPU:$DDE5 PRG:1DE5 D0 06 lda $0500,y ; CPU:$DDE7 PRG:1DE7 B9 00 05 jmp $DDEF ; CPU:$DDEA PRG:1DEA 4C EF DD ; ----------------------------------------------------------------------------- -; Routine: Label_DDED +; Routine: SubCDDA7_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8350,10 +8360,10 @@ Label_DDD6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDED: +SubCDDA7_Block_3: lda #$24 ; CPU:$DDED PRG:1DED A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_DDEF +; Routine: SubCDDEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8361,7 +8371,7 @@ Label_DDED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDEF: +SubCDDEF: sta $0539 ; CPU:$DDEF PRG:1DEF 8D 39 05 lda #$11 ; CPU:$DDF2 PRG:1DF2 A9 11 sta $0538 ; CPU:$DDF4 PRG:1DF4 8D 38 05 @@ -8370,17 +8380,17 @@ Label_DDEF: asl a ; CPU:$DDF9 PRG:1DF9 0A tay ; CPU:$DDFA PRG:1DFA A8 lda $C1C0,y ; CPU:$DDFB PRG:1DFB B9 C0 C1 - sta Zp01 ; CPU:$DDFE PRG:1DFE 85 01 + sta PtrHi ; CPU:$DDFE PRG:1DFE 85 01 lda $C1C1,y ; CPU:$DE00 PRG:1E00 B9 C1 C1 - sta Zp00 ; CPU:$DE03 PRG:1E03 85 00 + sta PtrLo ; CPU:$DE03 PRG:1E03 85 00 lda #$38 ; CPU:$DE05 PRG:1E05 A9 38 - sta Zp02 ; CPU:$DE07 PRG:1E07 85 02 + sta Ptr2Lo ; CPU:$DE07 PRG:1E07 85 02 lda #$05 ; CPU:$DE09 PRG:1E09 A9 05 jsr $F2AA ; CPU:$DE0B PRG:1E0B 20 AA F2 pla ; CPU:$DE0E PRG:1E0E 68 tay ; CPU:$DE0F PRG:1E0F A8 ; ----------------------------------------------------------------------------- -; Routine: Label_DE10 +; Routine: SubCDE10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +8398,19 @@ Label_DDEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE10: +SubCDE10: iny ; CPU:$DE10 PRG:1E10 C8 inc Zp0A ; CPU:$DE11 PRG:1E11 E6 0A lda Zp0A ; CPU:$DE13 PRG:1E13 A5 0A cmp #$03 ; CPU:$DE15 PRG:1E15 C9 03 - bne Label_DE33 ; CPU:$DE17 PRG:1E17 D0 1A + bne SubCDE10_Block ; CPU:$DE17 PRG:1E17 D0 1A lda Zp0B ; CPU:$DE19 PRG:1E19 A5 0B cmp #$01 ; CPU:$DE1B PRG:1E1B C9 01 - bne Label_DE24 ; CPU:$DE1D PRG:1E1D D0 05 + bne SubCDE10_Block_2 ; CPU:$DE1D PRG:1E1D D0 05 lda #$80 ; CPU:$DE1F PRG:1E1F A9 80 jmp $DE2A ; CPU:$DE21 PRG:1E21 4C 2A DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE24 +; Routine: SubCDE10_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8408,12 +8418,12 @@ Label_DE10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE24: +SubCDE10_Block_2: cmp #$02 ; CPU:$DE24 PRG:1E24 C9 02 - bne Label_DE2C ; CPU:$DE26 PRG:1E26 D0 04 + bne SubCDE10_Block_3 ; CPU:$DE26 PRG:1E26 D0 04 lda #$00 ; CPU:$DE28 PRG:1E28 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DE2A +; Routine: SubCDE2A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8421,10 +8431,10 @@ Label_DE24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE2A: +SubCDE2A: sta Zp41,x ; CPU:$DE2A PRG:1E2A 95 41 ; ----------------------------------------------------------------------------- -; Routine: Label_DE2C +; Routine: SubCDE10_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8432,13 +8442,13 @@ Label_DE2A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE2C: +SubCDE10_Block_3: lda #$00 ; CPU:$DE2C PRG:1E2C A9 00 sta Zp0A ; CPU:$DE2E PRG:1E2E 85 0A sta Zp0B ; CPU:$DE30 PRG:1E30 85 0B inx ; CPU:$DE32 PRG:1E32 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DE33 +; Routine: SubCDE10_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8446,12 +8456,12 @@ Label_DE2C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE33: +SubCDE10_Block: cpy #$12 ; CPU:$DE33 PRG:1E33 C0 12 - bpl Label_DE3A ; CPU:$DE35 PRG:1E35 10 03 + bpl SubCDE2A_Block ; CPU:$DE35 PRG:1E35 10 03 jmp $DDA7 ; CPU:$DE37 PRG:1E37 4C A7 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DE3A +; Routine: SubCDE2A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +8469,12 @@ Label_DE33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE3A: +SubCDE2A_Block: pla ; CPU:$DE3A PRG:1E3A 68 tax ; CPU:$DE3B PRG:1E3B AA rts ; CPU:$DE3C PRG:1E3C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE3D +; Routine: SubCDE3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8472,15 +8482,15 @@ Label_DE3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE3D: +SubCDE3D: txa ; CPU:$DE3D PRG:1E3D 8A pha ; CPU:$DE3E PRG:1E3E 48 lda Zp18 ; CPU:$DE3F PRG:1E3F A5 18 - sta Zp00 ; CPU:$DE41 PRG:1E41 85 00 + sta PtrLo ; CPU:$DE41 PRG:1E41 85 00 lda Zp19 ; CPU:$DE43 PRG:1E43 A5 19 - sta Zp01 ; CPU:$DE45 PRG:1E45 85 01 + sta PtrHi ; CPU:$DE45 PRG:1E45 85 01 lda Zp1A ; CPU:$DE47 PRG:1E47 A5 1A - sta Zp02 ; CPU:$DE49 PRG:1E49 85 02 + sta Ptr2Lo ; CPU:$DE49 PRG:1E49 85 02 eor Zp18 ; CPU:$DE4B PRG:1E4B 45 18 sta Zp03 ; CPU:$DE4D PRG:1E4D 85 03 ldx #$00 ; CPU:$DE4F PRG:1E4F A2 00 @@ -8500,11 +8510,11 @@ Label_DE3D: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSpritePosition82: - lda Zp00,x ; CPU:$DE63 PRG:1E63 B5 00 + lda PtrLo,x ; CPU:$DE63 PRG:1E63 B5 00 and #$03 ; CPU:$DE65 PRG:1E65 29 03 tay ; CPU:$DE67 PRG:1E67 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_DE68 +; Routine: SubCDE68 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8512,16 +8522,16 @@ UpdateSpritePosition82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE68: +SubCDE68: lda $0514,y ; CPU:$DE68 PRG:1E68 B9 14 05 - beq Label_DE77 ; CPU:$DE6B PRG:1E6B F0 0A + beq SubCDE68_Block ; CPU:$DE6B PRG:1E6B F0 0A iny ; CPU:$DE6D PRG:1E6D C8 cpy #$04 ; CPU:$DE6E PRG:1E6E C0 04 - bmi Label_DE68 ; CPU:$DE70 PRG:1E70 30 F6 + bmi SubCDE68 ; CPU:$DE70 PRG:1E70 30 F6 ldy #$00 ; CPU:$DE72 PRG:1E72 A0 00 jmp $DE68 ; CPU:$DE74 PRG:1E74 4C 68 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE77 +; Routine: SubCDE68_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8529,7 +8539,7 @@ Label_DE68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE77: +SubCDE68_Block: txa ; CPU:$DE77 PRG:1E77 8A clc ; CPU:$DE78 PRG:1E78 18 adc #$85 ; CPU:$DE79 PRG:1E79 69 85 @@ -8538,7 +8548,7 @@ Label_DE77: cpx #$04 ; CPU:$DE7F PRG:1E7F E0 04 bmi UpdateSpritePosition82 ; CPU:$DE81 PRG:1E81 30 E0 lda Zp4C ; CPU:$DE83 PRG:1E83 A5 4C - beq Label_DE9B ; CPU:$DE85 PRG:1E85 F0 14 + beq SubCDE68_Block_2 ; CPU:$DE85 PRG:1E85 F0 14 lda #$87 ; CPU:$DE87 PRG:1E87 A9 87 sta $0514 ; CPU:$DE89 PRG:1E89 8D 14 05 lda #$86 ; CPU:$DE8C PRG:1E8C A9 86 @@ -8548,7 +8558,7 @@ Label_DE77: lda #$85 ; CPU:$DE96 PRG:1E96 A9 85 sta $0517 ; CPU:$DE98 PRG:1E98 8D 17 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DE9B +; Routine: SubCDE68_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +8566,11 @@ Label_DE77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE9B: +SubCDE68_Block_2: ldx #$00 ; CPU:$DE9B PRG:1E9B A2 00 ldy #$00 ; CPU:$DE9D PRG:1E9D A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DE9F +; Routine: SubCDE68_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8568,7 +8578,7 @@ Label_DE9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE9F: +SubCDE68_Block_3: lda #$23 ; CPU:$DE9F PRG:1E9F A9 23 sta $0331,y ; CPU:$DEA1 PRG:1EA1 99 31 03 lda $C1E5,x ; CPU:$DEA4 PRG:1EA4 BD E5 C1 @@ -8583,7 +8593,7 @@ Label_DE9F: iny ; CPU:$DEB8 PRG:1EB8 C8 inx ; CPU:$DEB9 PRG:1EB9 E8 cpx #$04 ; CPU:$DEBA PRG:1EBA E0 04 - bmi Label_DE9F ; CPU:$DEBC PRG:1EBC 30 E1 + bmi SubCDE68_Block_3 ; CPU:$DEBC PRG:1EBC 30 E1 lda #$00 ; CPU:$DEBE PRG:1EBE A9 00 sta $0341 ; CPU:$DEC0 PRG:1EC0 8D 41 03 lda #$11 ; CPU:$DEC3 PRG:1EC3 A9 11 @@ -8592,7 +8602,7 @@ Label_DE9F: tax ; CPU:$DEC9 PRG:1EC9 AA rts ; CPU:$DECA PRG:1ECA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DECB +; Routine: SubCDECB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +8610,17 @@ Label_DE9F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DECB: - ldx Zp4A ; CPU:$DECB PRG:1ECB A6 4A +SubCDECB: + ldx SprIndex ; CPU:$DECB PRG:1ECB A6 4A lda Zp37 ; CPU:$DECD PRG:1ECD A5 37 - bne Label_DEDB ; CPU:$DECF PRG:1ECF D0 0A + bne SubCDECB_Block ; CPU:$DECF PRG:1ECF D0 0A lda #$A0 ; CPU:$DED1 PRG:1ED1 A9 A0 sta Zp37 ; CPU:$DED3 PRG:1ED3 85 37 sta $0522 ; CPU:$DED5 PRG:1ED5 8D 22 05 lda #$00 ; CPU:$DED8 PRG:1ED8 A9 00 rts ; CPU:$DEDA PRG:1EDA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DEDB +; Routine: SubCDECB_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8618,18 +8628,18 @@ Label_DECB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEDB: +SubCDECB_Block: cmp #$0B ; CPU:$DEDB PRG:1EDB C9 0B - beq Label_DEED ; CPU:$DEDD PRG:1EDD F0 0E + beq SubCDECB_Block_2 ; CPU:$DEDD PRG:1EDD F0 0E cmp #$0E ; CPU:$DEDF PRG:1EDF C9 0E - bne Label_DF0C ; CPU:$DEE1 PRG:1EE1 D0 29 + bne SubCDECB_Block_3 ; CPU:$DEE1 PRG:1EE1 D0 29 cpx #$03 ; CPU:$DEE3 PRG:1EE3 E0 03 - beq Label_DF05 ; CPU:$DEE5 PRG:1EE5 F0 1E + beq SubCDECB_Block_6 ; CPU:$DEE5 PRG:1EE5 F0 1E jsr $DF47 ; CPU:$DEE7 PRG:1EE7 20 47 DF lda #$00 ; CPU:$DEEA PRG:1EEA A9 00 rts ; CPU:$DEEC PRG:1EEC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DEED +; Routine: SubCDECB_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8637,12 +8647,12 @@ Label_DEDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEED: - lda Zp4A ; CPU:$DEED PRG:1EED A5 4A +SubCDECB_Block_2: + lda SprIndex ; CPU:$DEED PRG:1EED A5 4A cmp #$01 ; CPU:$DEEF PRG:1EEF C9 01 - bne Label_DF05 ; CPU:$DEF1 PRG:1EF1 D0 12 + bne SubCDECB_Block_6 ; CPU:$DEF1 PRG:1EF1 D0 12 lda ZpEF ; CPU:$DEF3 PRG:1EF3 A5 EF - beq Label_DF05 ; CPU:$DEF5 PRG:1EF5 F0 0E + beq SubCDECB_Block_6 ; CPU:$DEF5 PRG:1EF5 F0 0E txa ; CPU:$DEF7 PRG:1EF7 8A pha ; CPU:$DEF8 PRG:1EF8 48 ldx #$00 ; CPU:$DEF9 PRG:1EF9 A2 00 @@ -8652,7 +8662,7 @@ Label_DEED: pla ; CPU:$DF03 PRG:1F03 68 tax ; CPU:$DF04 PRG:1F04 AA ; ----------------------------------------------------------------------------- -; Routine: Label_DF05 +; Routine: SubCDECB_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8660,13 +8670,13 @@ Label_DEED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF05: +SubCDECB_Block_6: lda #$00 ; CPU:$DF05 PRG:1F05 A9 00 sta Zp37 ; CPU:$DF07 PRG:1F07 85 37 lda #$01 ; CPU:$DF09 PRG:1F09 A9 01 rts ; CPU:$DF0B PRG:1F0B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DF0C +; Routine: SubCDECB_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,28 +8684,28 @@ Label_DF05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF0C: +SubCDECB_Block_3: dex ; CPU:$DF0C PRG:1F0C CA lda $C249,x ; CPU:$DF0D PRG:1F0D BD 49 C2 - sta Zp00 ; CPU:$DF10 PRG:1F10 85 00 + sta PtrLo ; CPU:$DF10 PRG:1F10 85 00 lda $C243,x ; CPU:$DF12 PRG:1F12 BD 43 C2 - sta Zp01 ; CPU:$DF15 PRG:1F15 85 01 + sta PtrHi ; CPU:$DF15 PRG:1F15 85 01 ldy #$00 ; CPU:$DF17 PRG:1F17 A0 00 lda Zp37 ; CPU:$DF19 PRG:1F19 A5 37 cmp #$20 ; CPU:$DF1B PRG:1F1B C9 20 - bpl Label_DF31 ; CPU:$DF1D PRG:1F1D 10 12 + bpl SubCDECB_Block_8 ; CPU:$DF1D PRG:1F1D 10 12 iny ; CPU:$DF1F PRG:1F1F C8 iny ; CPU:$DF20 PRG:1F20 C8 cmp #$10 ; CPU:$DF21 PRG:1F21 C9 10 - bpl Label_DF31 ; CPU:$DF23 PRG:1F23 10 0C + bpl SubCDECB_Block_8 ; CPU:$DF23 PRG:1F23 10 0C iny ; CPU:$DF25 PRG:1F25 C8 iny ; CPU:$DF26 PRG:1F26 C8 lda $C24C,x ; CPU:$DF27 PRG:1F27 BD 4C C2 - sta Zp00 ; CPU:$DF2A PRG:1F2A 85 00 + sta PtrLo ; CPU:$DF2A PRG:1F2A 85 00 lda $C246,x ; CPU:$DF2C PRG:1F2C BD 46 C2 - sta Zp01 ; CPU:$DF2F PRG:1F2F 85 01 + sta PtrHi ; CPU:$DF2F PRG:1F2F 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DF31 +; Routine: SubCDECB_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8703,16 +8713,16 @@ Label_DF0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF31: +SubCDECB_Block_8: cpy $0522 ; CPU:$DF31 PRG:1F31 CC 22 05 - beq Label_DF44 ; CPU:$DF34 PRG:1F34 F0 0E + beq SubCDECB_Block_9 ; CPU:$DF34 PRG:1F34 F0 0E sty $0522 ; CPU:$DF36 PRG:1F36 8C 22 05 lda $C1EA,y ; CPU:$DF39 PRG:1F39 B9 EA C1 - sta Zp02 ; CPU:$DF3C PRG:1F3C 85 02 + sta Ptr2Lo ; CPU:$DF3C PRG:1F3C 85 02 lda $C1EB,y ; CPU:$DF3E PRG:1F3E B9 EB C1 jsr $F2AA ; CPU:$DF41 PRG:1F41 20 AA F2 ; ----------------------------------------------------------------------------- -; Routine: Label_DF44 +; Routine: SubCDECB_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +8730,11 @@ Label_DF31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF44: +SubCDECB_Block_9: lda #$00 ; CPU:$DF44 PRG:1F44 A9 00 rts ; CPU:$DF46 PRG:1F46 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DF47 +; Routine: SubCDF47 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,9 +8742,9 @@ Label_DF44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF47: +SubCDF47: cpx #$02 ; CPU:$DF47 PRG:1F47 E0 02 - bne Label_DF6A ; CPU:$DF49 PRG:1F49 D0 1F + bne SubCDF47_Block ; CPU:$DF49 PRG:1F49 D0 1F lda #$54 ; CPU:$DF4B PRG:1F4B A9 54 sta $051A ; CPU:$DF4D PRG:1F4D 8D 1A 05 lda #$55 ; CPU:$DF50 PRG:1F50 A9 55 @@ -8744,12 +8754,12 @@ Label_DF47: lda #$57 ; CPU:$DF5A PRG:1F5A A9 57 sta $051D ; CPU:$DF5C PRG:1F5C 8D 1D 05 lda #$23 ; CPU:$DF5F PRG:1F5F A9 23 - sta Zp00 ; CPU:$DF61 PRG:1F61 85 00 + sta PtrLo ; CPU:$DF61 PRG:1F61 85 00 lda #$22 ; CPU:$DF63 PRG:1F63 A9 22 - sta Zp01 ; CPU:$DF65 PRG:1F65 85 01 + sta PtrHi ; CPU:$DF65 PRG:1F65 85 01 jmp $DFE0 ; CPU:$DF67 PRG:1F67 4C E0 DF ; ----------------------------------------------------------------------------- -; Routine: Label_DF6A +; Routine: SubCDF47_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +8767,11 @@ Label_DF47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF6A: +SubCDF47_Block: ldx #$00 ; CPU:$DF6A PRG:1F6A A2 00 stx Zp0F ; CPU:$DF6C PRG:1F6C 86 0F ; ----------------------------------------------------------------------------- -; Routine: Label_DF6E +; Routine: SubCDF6E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +8779,13 @@ Label_DF6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF6E: +SubCDF6E: lda ZpEF ; CPU:$DF6E PRG:1F6E A5 EF - bne Label_DF76 ; CPU:$DF70 PRG:1F70 D0 04 + bne SubCDF6E_Block ; CPU:$DF70 PRG:1F70 D0 04 cpx #$00 ; CPU:$DF72 PRG:1F72 E0 00 - beq Label_DF84 ; CPU:$DF74 PRG:1F74 F0 0E + beq SubCDF6E_Block_3 ; CPU:$DF74 PRG:1F74 F0 0E ; ----------------------------------------------------------------------------- -; Routine: Label_DF76 +; Routine: SubCDF6E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8783,13 +8793,13 @@ Label_DF6E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF76: +SubCDF6E_Block: lda Zp18,x ; CPU:$DF76 PRG:1F76 B5 18 and #$0F ; CPU:$DF78 PRG:1F78 29 0F cmp #$0A ; CPU:$DF7A PRG:1F7A C9 0A - bmi Label_DF84 ; CPU:$DF7C PRG:1F7C 30 06 + bmi SubCDF6E_Block_3 ; CPU:$DF7C PRG:1F7C 30 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DF7E +; Routine: SubCDF7E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +8807,11 @@ Label_DF76: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF7E: +SubCDF7E: jsr $F4D2 ; CPU:$DF7E PRG:1F7E 20 D2 F4 jmp $DF6E ; CPU:$DF81 PRG:1F81 4C 6E DF ; ----------------------------------------------------------------------------- -; Routine: Label_DF84 +; Routine: SubCDF6E_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8809,19 +8819,19 @@ Label_DF7E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF84: +SubCDF6E_Block_3: sta $051E,x ; CPU:$DF84 PRG:1F84 9D 1E 05 lda $051E,x ; CPU:$DF87 PRG:1F87 BD 1E 05 - bne Label_DF9F ; CPU:$DF8A PRG:1F8A D0 13 + bne SubCDF7E_Block_4 ; CPU:$DF8A PRG:1F8A D0 13 cpx #$00 ; CPU:$DF8C PRG:1F8C E0 00 - beq Label_DF9B ; CPU:$DF8E PRG:1F8E F0 0B + beq SubCDF7E_Block_2 ; CPU:$DF8E PRG:1F8E F0 0B cpx #$01 ; CPU:$DF90 PRG:1F90 E0 01 - bne Label_DF9F ; CPU:$DF92 PRG:1F92 D0 0B + bne SubCDF7E_Block_4 ; CPU:$DF92 PRG:1F92 D0 0B lda Zp0F ; CPU:$DF94 PRG:1F94 A5 0F - beq Label_DF9F ; CPU:$DF96 PRG:1F96 F0 07 + beq SubCDF7E_Block_4 ; CPU:$DF96 PRG:1F96 F0 07 jmp $DF7E ; CPU:$DF98 PRG:1F98 4C 7E DF ; ----------------------------------------------------------------------------- -; Routine: Label_DF9B +; Routine: SubCDF7E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +8839,11 @@ Label_DF84: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF9B: +SubCDF7E_Block_2: lda #$24 ; CPU:$DF9B PRG:1F9B A9 24 sta Zp0F ; CPU:$DF9D PRG:1F9D 85 0F ; ----------------------------------------------------------------------------- -; Routine: Label_DF9F +; Routine: SubCDF7E_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8841,14 +8851,14 @@ Label_DF9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF9F: +SubCDF7E_Block_4: sta $051B,x ; CPU:$DF9F PRG:1F9F 9D 1B 05 inx ; CPU:$DFA2 PRG:1FA2 E8 cpx #$03 ; CPU:$DFA3 PRG:1FA3 E0 03 - bpl Label_DFAA ; CPU:$DFA5 PRG:1FA5 10 03 + bpl SubCDF7E_Block_5 ; CPU:$DFA5 PRG:1FA5 10 03 jmp $DF6E ; CPU:$DFA7 PRG:1FA7 4C 6E DF ; ----------------------------------------------------------------------------- -; Routine: Label_DFAA +; Routine: SubCDF7E_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,20 +8866,20 @@ Label_DF9F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFAA: +SubCDF7E_Block_5: lda #$85 ; CPU:$DFAA PRG:1FAA A9 85 sta $051A ; CPU:$DFAC PRG:1FAC 8D 1A 05 sta $0521 ; CPU:$DFAF PRG:1FAF 8D 21 05 lda ZpEF ; CPU:$DFB2 PRG:1FB2 A5 EF - beq Label_DFC4 ; CPU:$DFB4 PRG:1FB4 F0 0E + beq SubCDF7E_Block_7 ; CPU:$DFB4 PRG:1FB4 F0 0E lda Zp18 ; CPU:$DFB6 PRG:1FB6 A5 18 and #$80 ; CPU:$DFB8 PRG:1FB8 29 80 - beq Label_DFC4 ; CPU:$DFBA PRG:1FBA F0 08 + beq SubCDF7E_Block_7 ; CPU:$DFBA PRG:1FBA F0 08 lda #$86 ; CPU:$DFBC PRG:1FBC A9 86 sta $0521 ; CPU:$DFBE PRG:1FBE 8D 21 05 inc $051A ; CPU:$DFC1 PRG:1FC1 EE 1A 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DFC4 +; Routine: SubCDF7E_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8877,9 +8887,9 @@ Label_DFAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFC4: +SubCDF7E_Block_7: lda Zp4C ; CPU:$DFC4 PRG:1FC4 A5 4C - beq Label_DFD8 ; CPU:$DFC6 PRG:1FC6 F0 10 + beq SubCDF7E_Block_8 ; CPU:$DFC6 PRG:1FC6 F0 10 lda #$01 ; CPU:$DFC8 PRG:1FC8 A9 01 sta $051C ; CPU:$DFCA PRG:1FCA 8D 1C 05 sta $051F ; CPU:$DFCD PRG:1FCD 8D 1F 05 @@ -8887,7 +8897,7 @@ Label_DFC4: sta $051D ; CPU:$DFD2 PRG:1FD2 8D 1D 05 sta $0520 ; CPU:$DFD5 PRG:1FD5 8D 20 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DFD8 +; Routine: SubCDF7E_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8895,13 +8905,13 @@ Label_DFC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFD8: +SubCDF7E_Block_8: lda #$6E ; CPU:$DFD8 PRG:1FD8 A9 6E - sta Zp00 ; CPU:$DFDA PRG:1FDA 85 00 + sta PtrLo ; CPU:$DFDA PRG:1FDA 85 00 lda #$20 ; CPU:$DFDC PRG:1FDC A9 20 - sta Zp01 ; CPU:$DFDE PRG:1FDE 85 01 + sta PtrHi ; CPU:$DFDE PRG:1FDE 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DFE0 +; Routine: SubCDFE0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +8919,15 @@ Label_DFD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFE0: +SubCDFE0: lda #$14 ; CPU:$DFE0 PRG:1FE0 A9 14 sta $0519 ; CPU:$DFE2 PRG:1FE2 8D 19 05 lda #$19 ; CPU:$DFE5 PRG:1FE5 A9 19 - sta Zp02 ; CPU:$DFE7 PRG:1FE7 85 02 + sta Ptr2Lo ; CPU:$DFE7 PRG:1FE7 85 02 lda #$05 ; CPU:$DFE9 PRG:1FE9 A9 05 jmp $F2AA ; CPU:$DFEB PRG:1FEB 4C AA F2 ; ----------------------------------------------------------------------------- -; Routine: Label_DFEE +; Routine: SubCDFEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8925,12 +8935,12 @@ Label_DFE0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFEE: +SubCDFEE: lda ZpE5,x ; CPU:$DFEE PRG:1FEE B5 E5 - bne Label_DFF3 ; CPU:$DFF0 PRG:1FF0 D0 01 + bne SubCDFEE_Block ; CPU:$DFF0 PRG:1FF0 D0 01 rts ; CPU:$DFF2 PRG:1FF2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DFF3 +; Routine: SubCDFEE_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,9 +8948,9 @@ Label_DFEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFF3: +SubCDFEE_Block: lda Zp37 ; CPU:$DFF3 PRG:1FF3 A5 37 - bne Label_E003 ; CPU:$DFF5 PRG:1FF5 D0 0C + bne SubCDFEE_Block_2 ; CPU:$DFF5 PRG:1FF5 D0 0C lda #$FF ; CPU:$DFF7 PRG:1FF7 A9 FF sta Zp37 ; CPU:$DFF9 PRG:1FF9 85 37 lda #$10 ; CPU:$DFFB PRG:1FFB A9 10 @@ -8948,7 +8958,7 @@ Label_DFF3: lda #$00 ; CPU:$E000 PRG:2000 A9 00 rts ; CPU:$E002 PRG:2002 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E003 +; Routine: SubCDFEE_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8956,11 +8966,11 @@ Label_DFF3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E003: +SubCDFEE_Block_2: cmp #$50 ; CPU:$E003 PRG:2003 C9 50 - bne Label_E00A ; CPU:$E005 PRG:2005 D0 03 + bne SubCDFEE_Block_3 ; CPU:$E005 PRG:2005 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E007 +; Routine: SubCDFEE_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8968,10 +8978,10 @@ Label_E003: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E007: +SubCDFEE_Block_4: jmp $E0E4 ; CPU:$E007 PRG:2007 4C E4 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E00A +; Routine: SubCDFEE_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +8989,15 @@ Label_E007: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E00A: +SubCDFEE_Block_3: cmp #$49 ; CPU:$E00A PRG:200A C9 49 - beq Label_E007 ; CPU:$E00C PRG:200C F0 F9 + beq SubCDFEE_Block_4 ; CPU:$E00C PRG:200C F0 F9 and #$0F ; CPU:$E00E PRG:200E 29 0F - beq Label_E015 ; CPU:$E010 PRG:2010 F0 03 + beq SubCDFEE_Block_5 ; CPU:$E010 PRG:2010 F0 03 lda #$00 ; CPU:$E012 PRG:2012 A9 00 rts ; CPU:$E014 PRG:2014 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E015 +; Routine: SubCDFEE_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8995,13 +9005,13 @@ Label_E00A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E015: +SubCDFEE_Block_5: lda $0523 ; CPU:$E015 PRG:2015 AD 23 05 cmp #$01 ; CPU:$E018 PRG:2018 C9 01 - beq Label_E01F ; CPU:$E01A PRG:201A F0 03 + beq SubCDFEE_Block_6 ; CPU:$E01A PRG:201A F0 03 jmp $E09E ; CPU:$E01C PRG:201C 4C 9E E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E01F +; Routine: SubCDFEE_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9009,15 +9019,15 @@ Label_E015: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E01F: +SubCDFEE_Block_6: txa ; CPU:$E01F PRG:201F 8A pha ; CPU:$E020 PRG:2020 48 lda $C279,x ; CPU:$E021 PRG:2021 BD 79 C2 - sta Zp00 ; CPU:$E024 PRG:2024 85 00 + sta PtrLo ; CPU:$E024 PRG:2024 85 00 ldx #$00 ; CPU:$E026 PRG:2026 A2 00 ldy #$00 ; CPU:$E028 PRG:2028 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E02A +; Routine: SubCDFEE_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9025,12 +9035,12 @@ Label_E01F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E02A: +SubCDFEE_Block_7: lda #$20 ; CPU:$E02A PRG:202A A9 20 sta $0331,y ; CPU:$E02C PRG:202C 99 31 03 lda $C27B,x ; CPU:$E02F PRG:202F BD 7B C2 clc ; CPU:$E032 PRG:2032 18 - adc Zp00 ; CPU:$E033 PRG:2033 65 00 + adc PtrLo ; CPU:$E033 PRG:2033 65 00 sta $0332,y ; CPU:$E035 PRG:2035 99 32 03 lda $C27C,x ; CPU:$E038 PRG:2038 BD 7C C2 sta $0333,y ; CPU:$E03B PRG:203B 99 33 03 @@ -9044,13 +9054,13 @@ Label_E02A: inx ; CPU:$E049 PRG:2049 E8 inx ; CPU:$E04A PRG:204A E8 cpx #$18 ; CPU:$E04B PRG:204B E0 18 - bmi Label_E02A ; CPU:$E04D PRG:204D 30 DB + bmi SubCDFEE_Block_7 ; CPU:$E04D PRG:204D 30 DB ldx #$85 ; CPU:$E04F PRG:204F A2 85 cpx $0521 ; CPU:$E051 PRG:2051 EC 21 05 - beq Label_E057 ; CPU:$E054 PRG:2054 F0 01 + beq SubCDFEE_Block_8 ; CPU:$E054 PRG:2054 F0 01 inx ; CPU:$E056 PRG:2056 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E057 +; Routine: SubCDFEE_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9058,7 +9068,7 @@ Label_E02A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E057: +SubCDFEE_Block_8: stx $0354 ; CPU:$E057 PRG:2057 8E 54 03 lda #$20 ; CPU:$E05A PRG:205A A9 20 sta $0351 ; CPU:$E05C PRG:205C 8D 51 03 @@ -9072,7 +9082,7 @@ Label_E057: sta $0353 ; CPU:$E06B PRG:206B 8D 53 03 ldx #$00 ; CPU:$E06E PRG:206E A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E070 +; Routine: SubCDFEE_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9080,22 +9090,22 @@ Label_E057: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E070: +SubCDFEE_Block_9: lda $051E,x ; CPU:$E070 PRG:2070 BD 1E 05 sta $0355,x ; CPU:$E073 PRG:2073 9D 55 03 inx ; CPU:$E076 PRG:2076 E8 cpx #$03 ; CPU:$E077 PRG:2077 E0 03 - bmi Label_E070 ; CPU:$E079 PRG:2079 30 F5 + bmi SubCDFEE_Block_9 ; CPU:$E079 PRG:2079 30 F5 ldx $0356 ; CPU:$E07B PRG:207B AE 56 03 ldy $0357 ; CPU:$E07E PRG:207E AC 57 03 lda $0355 ; CPU:$E081 PRG:2081 AD 55 03 - bne Label_E091 ; CPU:$E084 PRG:2084 D0 0B + bne SubCDFEE_Block_10 ; CPU:$E084 PRG:2084 D0 0B stx $0355 ; CPU:$E086 PRG:2086 8E 55 03 sty $0356 ; CPU:$E089 PRG:2089 8C 56 03 lda #$24 ; CPU:$E08C PRG:208C A9 24 sta $0357 ; CPU:$E08E PRG:208E 8D 57 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E091 +; Routine: SubCDFEE_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +9113,14 @@ Label_E070: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E091: +SubCDFEE_Block_10: lda #$00 ; CPU:$E091 PRG:2091 A9 00 sta $0358 ; CPU:$E093 PRG:2093 8D 58 03 lda #$27 ; CPU:$E096 PRG:2096 A9 27 sta $0330 ; CPU:$E098 PRG:2098 8D 30 03 jmp $E0D7 ; CPU:$E09B PRG:209B 4C D7 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E09E +; Routine: SubCE09E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +9128,15 @@ Label_E091: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E09E: +SubCE09E: txa ; CPU:$E09E PRG:209E 8A pha ; CPU:$E09F PRG:209F 48 lda $C279,x ; CPU:$E0A0 PRG:20A0 BD 79 C2 - sta Zp00 ; CPU:$E0A3 PRG:20A3 85 00 + sta PtrLo ; CPU:$E0A3 PRG:20A3 85 00 ldx #$00 ; CPU:$E0A5 PRG:20A5 A2 00 ldy #$00 ; CPU:$E0A7 PRG:20A7 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E0A9 +; Routine: SubCE09E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 @@ Label_E09E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0A9: +SubCE09E_Block: lda #$20 ; CPU:$E0A9 PRG:20A9 A9 20 sta $0331,y ; CPU:$E0AB PRG:20AB 99 31 03 - lda Zp00 ; CPU:$E0AE PRG:20AE A5 00 + lda PtrLo ; CPU:$E0AE PRG:20AE A5 00 sta $0332,y ; CPU:$E0B0 PRG:20B0 99 32 03 lda #$4B ; CPU:$E0B3 PRG:20B3 A9 4B sta $0333,y ; CPU:$E0B5 PRG:20B5 99 33 03 lda #$24 ; CPU:$E0B8 PRG:20B8 A9 24 sta $0334,y ; CPU:$E0BA PRG:20BA 99 34 03 - lda Zp00 ; CPU:$E0BD PRG:20BD A5 00 + lda PtrLo ; CPU:$E0BD PRG:20BD A5 00 clc ; CPU:$E0BF PRG:20BF 18 adc #$20 ; CPU:$E0C0 PRG:20C0 69 20 - sta Zp00 ; CPU:$E0C2 PRG:20C2 85 00 + sta PtrLo ; CPU:$E0C2 PRG:20C2 85 00 iny ; CPU:$E0C4 PRG:20C4 C8 iny ; CPU:$E0C5 PRG:20C5 C8 iny ; CPU:$E0C6 PRG:20C6 C8 iny ; CPU:$E0C7 PRG:20C7 C8 inx ; CPU:$E0C8 PRG:20C8 E8 cpx #$03 ; CPU:$E0C9 PRG:20C9 E0 03 - bmi Label_E0A9 ; CPU:$E0CB PRG:20CB 30 DC + bmi SubCE09E_Block ; CPU:$E0CB PRG:20CB 30 DC lda #$00 ; CPU:$E0CD PRG:20CD A9 00 sta $033D ; CPU:$E0CF PRG:20CF 8D 3D 03 lda #$0C ; CPU:$E0D2 PRG:20D2 A9 0C sta $0330 ; CPU:$E0D4 PRG:20D4 8D 30 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E0D7 +; Routine: SubCE0D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +9177,7 @@ Label_E0A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0D7: +SubCE0D7: pla ; CPU:$E0D7 PRG:20D7 68 tax ; CPU:$E0D8 PRG:20D8 AA lda $0523 ; CPU:$E0D9 PRG:20D9 AD 23 05 @@ -9176,7 +9186,7 @@ Label_E0D7: lda #$00 ; CPU:$E0E1 PRG:20E1 A9 00 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. @@ -9184,18 +9194,18 @@ Label_E0D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0E4: +SubCE0E4: lda #$00 ; CPU:$E0E4 PRG:20E4 A9 00 sta Zp0D ; CPU:$E0E6 PRG:20E6 85 0D ldy #$30 ; CPU:$E0E8 PRG:20E8 A0 30 txa ; CPU:$E0EA PRG:20EA 8A pha ; CPU:$E0EB PRG:20EB 48 - beq Label_E0F4 ; CPU:$E0EC PRG:20EC F0 06 + beq SubCE0E4_Block ; CPU:$E0EC PRG:20EC F0 06 lda #$14 ; CPU:$E0EE PRG:20EE A9 14 sta Zp0D ; CPU:$E0F0 PRG:20F0 85 0D ldy #$B8 ; CPU:$E0F2 PRG:20F2 A0 B8 ; ----------------------------------------------------------------------------- -; Routine: Label_E0F4 +; Routine: SubCE0E4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9203,7 +9213,7 @@ Label_E0E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0F4: +SubCE0E4_Block: sty Zp09 ; CPU:$E0F4 PRG:20F4 84 09 lda $05C7,x ; CPU:$E0F6 PRG:20F6 BD C7 05 tay ; CPU:$E0F9 PRG:20F9 A8 @@ -9245,13 +9255,13 @@ InitGame_4: sta ZpE6 ; CPU:$E126 PRG:2126 85 E6 lda $05C7,x ; CPU:$E128 PRG:2128 BD C7 05 cmp #$05 ; CPU:$E12B PRG:212B C9 05 - bpl Label_E137 ; CPU:$E12D PRG:212D 10 08 + bpl SubCE0E4_Block_2 ; CPU:$E12D PRG:212D 10 08 lda #$01 ; CPU:$E12F PRG:212F A9 01 sta $0411 ; CPU:$E131 PRG:2131 8D 11 04 sta Zp4B ; CPU:$E134 PRG:2134 85 4B rts ; CPU:$E136 PRG:2136 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E137 +; Routine: SubCE0E4_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9259,28 +9269,28 @@ InitGame_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E137: +SubCE0E4_Block_2: lda #$B4 ; CPU:$E137 PRG:2137 A9 B4 - sta Zp39 ; CPU:$E139 PRG:2139 85 39 + sta SprCount ; CPU:$E139 PRG:2139 85 39 lda #$00 ; CPU:$E13B PRG:213B A9 00 sta Zp37 ; CPU:$E13D PRG:213D 85 37 sta Zp48 ; CPU:$E13F PRG:213F 85 48 sta $05C7 ; CPU:$E141 PRG:2141 8D C7 05 sta $05C8 ; CPU:$E144 PRG:2144 8D C8 05 lda $C41C,x ; CPU:$E147 PRG:2147 BD 1C C4 - sta Zp00 ; CPU:$E14A PRG:214A 85 00 + sta PtrLo ; CPU:$E14A PRG:214A 85 00 lda #$2F ; CPU:$E14C PRG:214C A9 2F - sta Zp01 ; CPU:$E14E PRG:214E 85 01 + sta PtrHi ; CPU:$E14E PRG:214E 85 01 lda #$F8 ; CPU:$E150 PRG:2150 A9 F8 - sta Zp02 ; CPU:$E152 PRG:2152 85 02 + sta Ptr2Lo ; CPU:$E152 PRG:2152 85 02 jsr $D69F ; CPU:$E154 PRG:2154 20 9F D6 ldy #$00 ; CPU:$E157 PRG:2157 A0 00 txa ; CPU:$E159 PRG:2159 8A pha ; CPU:$E15A PRG:215A 48 - beq Label_E15F ; CPU:$E15B PRG:215B F0 02 + beq SubCE0E4_Block_3 ; CPU:$E15B PRG:215B F0 02 ldy #$14 ; CPU:$E15D PRG:215D A0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_E15F +; Routine: SubCE0E4_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +9298,11 @@ Label_E137: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E15F: +SubCE0E4_Block_3: ldx #$05 ; CPU:$E15F PRG:215F A2 05 lda #$F7 ; CPU:$E161 PRG:2161 A9 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_E163 +; Routine: SubCE0E4_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9300,19 +9310,19 @@ Label_E15F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E163: +SubCE0E4_Block_4: sta $0250,y ; CPU:$E163 PRG:2163 99 50 02 iny ; CPU:$E166 PRG:2166 C8 iny ; CPU:$E167 PRG:2167 C8 iny ; CPU:$E168 PRG:2168 C8 iny ; CPU:$E169 PRG:2169 C8 dex ; CPU:$E16A PRG:216A CA - bne Label_E163 ; CPU:$E16B PRG:216B D0 F6 + bne SubCE0E4_Block_4 ; CPU:$E16B PRG:216B D0 F6 pla ; CPU:$E16D PRG:216D 68 tax ; CPU:$E16E PRG:216E AA rts ; CPU:$E16F PRG:216F 60 ; ----------------------------------------------------------------------------- -; 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. @@ -9320,11 +9330,11 @@ Label_E163: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E170: +SubCE170: ldy #$36 ; CPU:$E170 PRG:2170 A0 36 lda #$00 ; CPU:$E172 PRG:2172 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E174 +; Routine: SubCE170_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9332,13 +9342,13 @@ Label_E170: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E174: +SubCE170_Block: sta $03E0,y ; CPU:$E174 PRG:2174 99 E0 03 dey ; CPU:$E177 PRG:2177 88 - bpl Label_E174 ; CPU:$E178 PRG:2178 10 FA + bpl SubCE170_Block ; CPU:$E178 PRG:2178 10 FA rts ; CPU:$E17A PRG:217A 60 ; ----------------------------------------------------------------------------- -; 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. @@ -9346,13 +9356,13 @@ Label_E174: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E17B: - lda Zp4A ; CPU:$E17B PRG:217B A5 4A +SubCE17B: + lda SprIndex ; CPU:$E17B PRG:217B A5 4A cmp #$01 ; CPU:$E17D PRG:217D C9 01 - beq Label_E182 ; CPU:$E17F PRG:217F F0 01 + beq SubCE17B_Block ; CPU:$E17F PRG:217F F0 01 rts ; CPU:$E181 PRG:2181 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E182 +; Routine: SubCE17B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9360,7 +9370,7 @@ Label_E17B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E182: +SubCE17B_Block: txa ; CPU:$E182 PRG:2182 8A pha ; CPU:$E183 PRG:2183 48 jsr $E1C1 ; CPU:$E184 PRG:2184 20 C1 E1 @@ -9374,7 +9384,7 @@ Label_E182: inx ; CPU:$E196 PRG:2196 E8 stx Zp0A ; CPU:$E197 PRG:2197 86 0A ; ----------------------------------------------------------------------------- -; Routine: Label_E199 +; Routine: SubCE199 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9382,10 +9392,10 @@ Label_E182: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E199: +SubCE199: ldy #$01 ; CPU:$E199 PRG:2199 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E19B +; Routine: SubCE199_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9393,23 +9403,23 @@ Label_E199: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E19B: +SubCE199_Block: lda $C1B6,x ; CPU:$E19B PRG:219B BD B6 C1 sta $0526,y ; CPU:$E19E PRG:219E 99 26 05 sta $03F5,y ; CPU:$E1A1 PRG:21A1 99 F5 03 sta $03F9,y ; CPU:$E1A4 PRG:21A4 99 F9 03 dex ; CPU:$E1A7 PRG:21A7 CA dey ; CPU:$E1A8 PRG:21A8 88 - bpl Label_E19B ; CPU:$E1A9 PRG:21A9 10 F0 + bpl SubCE199_Block ; CPU:$E1A9 PRG:21A9 10 F0 lda $0527 ; CPU:$E1AB PRG:21AB AD 27 05 cmp $051F ; CPU:$E1AE PRG:21AE CD 1F 05 - bne Label_E1BC ; CPU:$E1B1 PRG:21B1 D0 09 + bne SubCE199_Block_2 ; CPU:$E1B1 PRG:21B1 D0 09 inc Zp0A ; CPU:$E1B3 PRG:21B3 E6 0A inc Zp0A ; CPU:$E1B5 PRG:21B5 E6 0A ldx Zp0A ; CPU:$E1B7 PRG:21B7 A6 0A jmp $E199 ; CPU:$E1B9 PRG:21B9 4C 99 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E1BC +; Routine: SubCE199_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +9427,12 @@ Label_E19B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1BC: +SubCE199_Block_2: pla ; CPU:$E1BC PRG:21BC 68 tax ; CPU:$E1BD PRG:21BD AA jmp $DBC2 ; CPU:$E1BE PRG:21BE 4C C2 DB ; ----------------------------------------------------------------------------- -; Routine: Label_E1C1 +; Routine: SubCE1C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +9440,13 @@ Label_E1BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1C1: +SubCE1C1: txa ; CPU:$E1C1 PRG:21C1 8A asl a ; CPU:$E1C2 PRG:21C2 0A asl a ; CPU:$E1C3 PRG:21C3 0A tay ; CPU:$E1C4 PRG:21C4 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_E1C5 +; Routine: SubCE1C1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +9454,16 @@ Label_E1C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1C5: +SubCE1C1_Block_2: lda #$00 ; CPU:$E1C5 PRG:21C5 A9 00 sta $03F4,y ; CPU:$E1C7 PRG:21C7 99 F4 03 iny ; CPU:$E1CA PRG:21CA C8 cpy #$04 ; CPU:$E1CB PRG:21CB C0 04 - beq Label_E1D3 ; CPU:$E1CD PRG:21CD F0 04 + beq SubCE1C1_Block ; CPU:$E1CD PRG:21CD F0 04 cpy #$08 ; CPU:$E1CF PRG:21CF C0 08 - bne Label_E1C5 ; CPU:$E1D1 PRG:21D1 D0 F2 + bne SubCE1C1_Block_2 ; CPU:$E1D1 PRG:21D1 D0 F2 ; ----------------------------------------------------------------------------- -; Routine: Label_E1D3 +; Routine: SubCE1C1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9461,11 +9471,11 @@ Label_E1C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1D3: +SubCE1C1_Block: sta $03F2,x ; CPU:$E1D3 PRG:21D3 9D F2 03 rts ; CPU:$E1D6 PRG:21D6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E1D7 +; Routine: SubCE1D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9473,12 +9483,12 @@ Label_E1D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1D7: +SubCE1D7: lda Zp4C ; CPU:$E1D7 PRG:21D7 A5 4C - beq Label_E1DC ; CPU:$E1D9 PRG:21D9 F0 01 + beq SubCE1D7_Block ; CPU:$E1D9 PRG:21D9 F0 01 rts ; CPU:$E1DB PRG:21DB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E1DC +; Routine: SubCE1D7_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9486,12 +9496,12 @@ Label_E1D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1DC: +SubCE1D7_Block: lda $05D3,x ; CPU:$E1DC PRG:21DC BD D3 05 - bne Label_E1E2 ; CPU:$E1DF PRG:21DF D0 01 + bne SubCE1D7_Block_2 ; CPU:$E1DF PRG:21DF D0 01 rts ; CPU:$E1E1 PRG:21E1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E1E2 +; Routine: SubCE1D7_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +9509,13 @@ Label_E1DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1E2: +SubCE1D7_Block_2: lda $040C ; CPU:$E1E2 PRG:21E2 AD 0C 04 ora $040D ; CPU:$E1E5 PRG:21E5 0D 0D 04 - beq Label_E1EB ; CPU:$E1E8 PRG:21E8 F0 01 + beq SubCE1D7_Block_3 ; CPU:$E1E8 PRG:21E8 F0 01 rts ; CPU:$E1EA PRG:21EA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E1EB +; Routine: SubCE1D7_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9513,17 +9523,17 @@ Label_E1E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1EB: +SubCE1D7_Block_3: txa ; CPU:$E1EB PRG:21EB 8A asl a ; CPU:$E1EC PRG:21EC 0A tay ; CPU:$E1ED PRG:21ED A8 lda a:$0015,y ; CPU:$E1EE PRG:21EE B9 15 00 cmp #$40 ; CPU:$E1F1 PRG:21F1 C9 40 - beq Label_E1F9 ; CPU:$E1F3 PRG:21F3 F0 04 + beq SubCE1D7_Block_4 ; CPU:$E1F3 PRG:21F3 F0 04 sta $0528,x ; CPU:$E1F5 PRG:21F5 9D 28 05 rts ; CPU:$E1F8 PRG:21F8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E1F9 +; Routine: SubCE1D7_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9531,12 +9541,12 @@ Label_E1EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1F9: +SubCE1D7_Block_4: cmp $0528,x ; CPU:$E1F9 PRG:21F9 DD 28 05 - bne Label_E1FF ; CPU:$E1FC PRG:21FC D0 01 + bne SubCE1D7_Block_5 ; CPU:$E1FC PRG:21FC D0 01 rts ; CPU:$E1FE PRG:21FE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E1FF +; Routine: SubCE1D7_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9544,15 +9554,15 @@ Label_E1F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1FF: +SubCE1D7_Block_5: sta $0528,x ; CPU:$E1FF PRG:21FF 9D 28 05 lda $0330 ; CPU:$E202 PRG:2202 AD 30 03 - beq Label_E20D ; CPU:$E205 PRG:2205 F0 06 + beq SubCE1D7_Block_6 ; CPU:$E205 PRG:2205 F0 06 lda #$00 ; CPU:$E207 PRG:2207 A9 00 sta $0528,x ; CPU:$E209 PRG:2209 9D 28 05 rts ; CPU:$E20C PRG:220C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E20D +; Routine: SubCE1D7_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +9570,14 @@ Label_E1FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E20D: +SubCE1D7_Block_6: jsr $E1C1 ; CPU:$E20D PRG:220D 20 C1 E1 lda #$40 ; CPU:$E210 PRG:2210 A9 40 sta ZpFD ; CPU:$E212 PRG:2212 85 FD lda #$00 ; CPU:$E214 PRG:2214 A9 00 sta $05D3,x ; CPU:$E216 PRG:2216 9D D3 05 lda ZpEF ; CPU:$E219 PRG:2219 A5 EF - beq Label_E23A ; CPU:$E21B PRG:221B F0 1D + beq SubCE1D7_Block_7 ; CPU:$E21B PRG:221B F0 1D txa ; CPU:$E21D PRG:221D 8A asl a ; CPU:$E21E PRG:221E 0A asl a ; CPU:$E21F PRG:221F 0A @@ -9582,7 +9592,7 @@ Label_E20D: sta ZpDF,x ; CPU:$E235 PRG:2235 95 DF jmp $DBBF ; CPU:$E237 PRG:2237 4C BF DB ; ----------------------------------------------------------------------------- -; Routine: Label_E23A +; Routine: SubCE1D7_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9590,12 +9600,12 @@ Label_E20D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E23A: +SubCE1D7_Block_7: lda #$00 ; CPU:$E23A PRG:223A A9 00 sta $03F2,x ; CPU:$E23C PRG:223C 9D F2 03 jmp $DC0D ; CPU:$E23F PRG:223F 4C 0D DC ; ----------------------------------------------------------------------------- -; Routine: Label_E242 +; Routine: SubCE242 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9603,19 +9613,19 @@ Label_E23A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E242: +SubCE242: txa ; CPU:$E242 PRG:2242 8A pha ; CPU:$E243 PRG:2243 48 tya ; CPU:$E244 PRG:2244 98 pha ; CPU:$E245 PRG:2245 48 lda Zp4C ; CPU:$E246 PRG:2246 A5 4C - bne Label_E254 ; CPU:$E248 PRG:2248 D0 0A + bne SubCE242_Block ; CPU:$E248 PRG:2248 D0 0A lda #$10 ; CPU:$E24A PRG:224A A9 10 - sta Zp01 ; CPU:$E24C PRG:224C 85 01 + sta PtrHi ; CPU:$E24C PRG:224C 85 01 lda $C41B,x ; CPU:$E24E PRG:224E BD 1B C4 jsr $F17A ; CPU:$E251 PRG:2251 20 7A F1 ; ----------------------------------------------------------------------------- -; Routine: Label_E254 +; Routine: SubCE242_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9623,14 +9633,14 @@ Label_E242: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E254: +SubCE242_Block: pla ; CPU:$E254 PRG:2254 68 tay ; CPU:$E255 PRG:2255 A8 pla ; CPU:$E256 PRG:2256 68 tax ; CPU:$E257 PRG:2257 AA rts ; CPU:$E258 PRG:2258 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E259 +; Routine: SubCE259 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +9648,17 @@ Label_E254: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E259: +SubCE259: lda #$30 ; CPU:$E259 PRG:2259 A9 30 - sta Zp01 ; CPU:$E25B PRG:225B 85 01 + sta PtrHi ; CPU:$E25B PRG:225B 85 01 lda #$F9 ; CPU:$E25D PRG:225D A9 F9 jsr $F17A ; CPU:$E25F PRG:225F 20 7A F1 lda #$40 ; CPU:$E262 PRG:2262 A9 40 - sta Zp01 ; CPU:$E264 PRG:2264 85 01 + sta PtrHi ; CPU:$E264 PRG:2264 85 01 lda #$18 ; CPU:$E266 PRG:2266 A9 18 jmp $F17A ; CPU:$E268 PRG:2268 4C 7A F1 ; ----------------------------------------------------------------------------- -; 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. @@ -9656,9 +9666,9 @@ Label_E259: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E26B: +SubCE26B: lda ZpE8 ; CPU:$E26B PRG:226B A5 E8 - bne Label_E27E ; CPU:$E26D PRG:226D D0 0F + bne SubCE26B_Block ; CPU:$E26D PRG:226D D0 0F lda #$01 ; CPU:$E26F PRG:226F A9 01 sta ZpE8 ; CPU:$E271 PRG:2271 85 E8 lda #$00 ; CPU:$E273 PRG:2273 A9 00 @@ -9668,7 +9678,7 @@ Label_E26B: sta Zp92 ; CPU:$E27B PRG:227B 85 92 rts ; CPU:$E27D PRG:227D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E27E +; Routine: SubCE26B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +9686,17 @@ Label_E26B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E27E: +SubCE26B_Block: lda Zp91,x ; CPU:$E27E PRG:227E B5 91 - beq Label_E296 ; CPU:$E280 PRG:2280 F0 14 + beq SubCE26B_Block_2 ; CPU:$E280 PRG:2280 F0 14 lda ZpBA,x ; CPU:$E282 PRG:2282 B5 BA cmp #$05 ; CPU:$E284 PRG:2284 C9 05 - bne Label_E28F ; CPU:$E286 PRG:2286 D0 07 + bne SubCE26B_Block_3 ; CPU:$E286 PRG:2286 D0 07 lda #$03 ; CPU:$E288 PRG:2288 A9 03 - sta Zp5F,x ; CPU:$E28A PRG:228A 95 5F + sta ObjIndex,x ; CPU:$E28A PRG:228A 95 5F jmp $E291 ; CPU:$E28C PRG:228C 4C 91 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E28F +; Routine: SubCE26B_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +9704,10 @@ Label_E27E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E28F: - sta Zp51,x ; CPU:$E28F PRG:228F 95 51 +SubCE26B_Block_3: + sta BtnState,x ; CPU:$E28F PRG:228F 95 51 ; ----------------------------------------------------------------------------- -; Routine: Label_E291 +; Routine: SubCE291 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9705,11 +9715,11 @@ Label_E28F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E291: +SubCE291: dec Zp91,x ; CPU:$E291 PRG:2291 D6 91 jmp $E2B3 ; CPU:$E293 PRG:2293 4C B3 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E296 +; Routine: SubCE26B_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +9727,15 @@ Label_E291: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E296: +SubCE26B_Block_2: lda Zp4E,x ; CPU:$E296 PRG:2296 B5 4E tay ; CPU:$E298 PRG:2298 A8 lda $0740,y ; CPU:$E299 PRG:2299 B9 40 07 cpx #$00 ; CPU:$E29C PRG:229C E0 00 - beq Label_E2A3 ; CPU:$E29E PRG:229E F0 03 + beq SubCE291_Block ; CPU:$E29E PRG:229E F0 03 lda $0760,y ; CPU:$E2A0 PRG:22A0 B9 60 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E2A3 +; Routine: SubCE291_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9733,14 +9743,14 @@ Label_E296: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2A3: +SubCE291_Block: sta Zp91,x ; CPU:$E2A3 PRG:22A3 95 91 lda $0700,y ; CPU:$E2A5 PRG:22A5 B9 00 07 cpx #$00 ; CPU:$E2A8 PRG:22A8 E0 00 - beq Label_E2AF ; CPU:$E2AA PRG:22AA F0 03 + beq SubCE291_Block_2 ; CPU:$E2AA PRG:22AA F0 03 lda $0720,y ; CPU:$E2AC PRG:22AC B9 20 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E2AF +; Routine: SubCE291_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9748,11 +9758,11 @@ Label_E2A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2AF: +SubCE291_Block_2: sta ZpBA,x ; CPU:$E2AF PRG:22AF 95 BA inc Zp4E,x ; CPU:$E2B1 PRG:22B1 F6 4E ; ----------------------------------------------------------------------------- -; Routine: Label_E2B3 +; Routine: SubCE2B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9760,10 +9770,10 @@ Label_E2AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2B3: +SubCE2B3: rts ; CPU:$E2B3 PRG:22B3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E2B4 +; Routine: SubCE2B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +9781,13 @@ Label_E2B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2B4: - lda ZpEA ; CPU:$E2B4 PRG:22B4 A5 EA +SubCE2B4: + lda SndChannel ; CPU:$E2B4 PRG:22B4 A5 EA cmp #$0A ; CPU:$E2B6 PRG:22B6 C9 0A - bmi Label_E2BC ; CPU:$E2B8 PRG:22B8 30 02 + bmi SubCE2B4_Block ; CPU:$E2B8 PRG:22B8 30 02 lda #$09 ; CPU:$E2BA PRG:22BA A9 09 ; ----------------------------------------------------------------------------- -; Routine: Label_E2BC +; Routine: SubCE2B4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9785,7 +9795,7 @@ Label_E2B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2BC: +SubCE2B4_Block: sec ; CPU:$E2BC PRG:22BC 38 sbc #$01 ; CPU:$E2BD PRG:22BD E9 01 asl a ; CPU:$E2BF PRG:22BF 0A @@ -9796,7 +9806,7 @@ Label_E2BC: sta $04D8,x ; CPU:$E2C8 PRG:22C8 9D D8 04 rts ; CPU:$E2CB PRG:22CB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E2CC +; Routine: SubCE2CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9804,8 +9814,8 @@ Label_E2BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2CC: - lda ZpEA ; CPU:$E2CC PRG:22CC A5 EA +SubCE2CC: + lda SndChannel ; CPU:$E2CC PRG:22CC A5 EA sec ; CPU:$E2CE PRG:22CE 38 sbc #$01 ; CPU:$E2CF PRG:22CF E9 01 asl a ; CPU:$E2D1 PRG:22D1 0A @@ -9816,7 +9826,7 @@ Label_E2CC: sta Zp23 ; CPU:$E2DB PRG:22DB 85 23 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. @@ -9824,11 +9834,11 @@ Label_E2CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2DE: +SubCE2DE: lda ZpBF ; CPU:$E2DE PRG:22DE A5 BF - bne Label_E2E3 ; CPU:$E2E0 PRG:22E0 D0 01 + bne SubCE2DE_Block ; CPU:$E2E0 PRG:22E0 D0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E2E2 +; Routine: SubCE2DE_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9836,10 +9846,10 @@ Label_E2DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2E2: +SubCE2DE_Block_2: rts ; CPU:$E2E2 PRG:22E2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E2E3 +; Routine: SubCE2DE_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9847,16 +9857,16 @@ Label_E2E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2E3: +SubCE2DE_Block: jsr $E314 ; CPU:$E2E3 PRG:22E3 20 14 E3 lda $0213 ; CPU:$E2E6 PRG:22E6 AD 13 02 cmp $05F3 ; CPU:$E2E9 PRG:22E9 CD F3 05 - bne Label_E2E2 ; CPU:$E2EC PRG:22EC D0 F4 + bne SubCE2DE_Block_2 ; CPU:$E2EC PRG:22EC D0 F4 lda #$00 ; CPU:$E2EE PRG:22EE A9 00 sta $0400 ; CPU:$E2F0 PRG:22F0 8D 00 04 lda #$B8 ; CPU:$E2F3 PRG:22F3 A9 B8 ; ----------------------------------------------------------------------------- -; Routine: Label_E2F5 +; Routine: SubCE2F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9864,16 +9874,16 @@ Label_E2E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2F5: +SubCE2F5: sta $0401 ; CPU:$E2F5 PRG:22F5 8D 01 04 lda $0210 ; CPU:$E2F8 PRG:22F8 AD 10 02 cmp $0401 ; CPU:$E2FB PRG:22FB CD 01 04 - bcc Label_E308 ; CPU:$E2FE PRG:22FE 90 08 + bcc SubCE2F5_Block ; CPU:$E2FE PRG:22FE 90 08 lda $0400 ; CPU:$E300 PRG:2300 AD 00 04 sta ZpBC ; CPU:$E303 PRG:2303 85 BC jmp $EA7C ; CPU:$E305 PRG:2305 4C 7C EA ; ----------------------------------------------------------------------------- -; Routine: Label_E308 +; Routine: SubCE2F5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9881,14 +9891,14 @@ Label_E2F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E308: +SubCE2F5_Block: inc $0400 ; CPU:$E308 PRG:2308 EE 00 04 lda $0401 ; CPU:$E30B PRG:230B AD 01 04 sec ; CPU:$E30E PRG:230E 38 sbc #$08 ; CPU:$E30F PRG:230F E9 08 jmp $E2F5 ; CPU:$E311 PRG:2311 4C F5 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E314 +; Routine: SubCE314 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9896,15 +9906,15 @@ Label_E308: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E314: +SubCE314: lda Zp33 ; CPU:$E314 PRG:2314 A5 33 - beq Label_E328 ; CPU:$E316 PRG:2316 F0 10 + beq SubCE314_Block ; CPU:$E316 PRG:2316 F0 10 cmp #$2E ; CPU:$E318 PRG:2318 C9 2E - bmi Label_E322 ; CPU:$E31A PRG:231A 30 06 + bmi SubCE314_Block_2 ; CPU:$E31A PRG:231A 30 06 lda $05F5 ; CPU:$E31C PRG:231C AD F5 05 jmp $E324 ; CPU:$E31F PRG:231F 4C 24 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E322 +; Routine: SubCE314_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9912,10 +9922,10 @@ Label_E314: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E322: +SubCE314_Block_2: lda #$F8 ; CPU:$E322 PRG:2322 A9 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_E324 +; Routine: SubCE324 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9923,11 +9933,11 @@ Label_E322: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E324: +SubCE324: sta $02D0 ; CPU:$E324 PRG:2324 8D D0 02 rts ; CPU:$E327 PRG:2327 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E328 +; Routine: SubCE314_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +9945,12 @@ Label_E324: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E328: +SubCE314_Block: lda #$3E ; CPU:$E328 PRG:2328 A9 3E sta Zp33 ; CPU:$E32A PRG:232A 85 33 rts ; CPU:$E32C PRG:232C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E32D +; Routine: SubCE32D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9948,14 +9958,14 @@ Label_E328: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E32D: +SubCE32D: lda $0211 ; CPU:$E32D PRG:232D AD 11 02 cmp #$94 ; CPU:$E330 PRG:2330 C9 94 - bne Label_E352 ; CPU:$E332 PRG:2332 D0 1E + bne SubCE32D_Block ; CPU:$E332 PRG:2332 D0 1E ldy #$01 ; CPU:$E334 PRG:2334 A0 01 lda #$4B ; CPU:$E336 PRG:2336 A9 4B ; ----------------------------------------------------------------------------- -; Routine: Label_E338 +; Routine: SubCE338 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +9973,15 @@ Label_E32D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E338: +SubCE338: cmp $0214 ; CPU:$E338 PRG:2338 CD 14 02 - bcs Label_E344 ; CPU:$E33B PRG:233B B0 07 + bcs SubCE338_Block ; CPU:$E33B PRG:233B B0 07 iny ; CPU:$E33D PRG:233D C8 clc ; CPU:$E33E PRG:233E 18 adc #$10 ; CPU:$E33F PRG:233F 69 10 jmp $E338 ; CPU:$E341 PRG:2341 4C 38 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E344 +; Routine: SubCE338_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +9989,15 @@ Label_E338: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E344: - sty ZpEA ; CPU:$E344 PRG:2344 84 EA +SubCE338_Block: + sty SndChannel ; CPU:$E344 PRG:2344 84 EA jsr $E6C9 ; CPU:$E346 PRG:2346 20 C9 E6 lda #$00 ; CPU:$E349 PRG:2349 A9 00 sta Zp26 ; CPU:$E34B PRG:234B 85 26 sta Zp27 ; CPU:$E34D PRG:234D 85 27 jsr $E2CC ; CPU:$E34F PRG:234F 20 CC E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E352 +; Routine: SubCE32D_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9995,10 +10005,10 @@ Label_E344: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E352: +SubCE32D_Block: rts ; CPU:$E352 PRG:2352 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E353 +; Routine: SubCE353 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +10016,12 @@ Label_E352: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E353: +SubCE353: lda $0402 ; CPU:$E353 PRG:2353 AD 02 04 - bne Label_E359 ; CPU:$E356 PRG:2356 D0 01 + bne SubCE353_Block ; CPU:$E356 PRG:2356 D0 01 rts ; CPU:$E358 PRG:2358 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E359 +; Routine: SubCE353_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10019,19 +10029,19 @@ Label_E353: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E359: +SubCE353_Block: lda Zp35 ; CPU:$E359 PRG:2359 A5 35 - bne Label_E386 ; CPU:$E35B PRG:235B D0 29 + bne SubCE353_Block_2 ; CPU:$E35B PRG:235B D0 29 lda #$10 ; CPU:$E35D PRG:235D A9 10 sta Zp35 ; CPU:$E35F PRG:235F 85 35 lda $0405 ; CPU:$E361 PRG:2361 AD 05 04 - bne Label_E36F ; CPU:$E364 PRG:2364 D0 09 + bne SubCE353_Block_3 ; CPU:$E364 PRG:2364 D0 09 jsr $E387 ; CPU:$E366 PRG:2366 20 87 E3 lda #$01 ; CPU:$E369 PRG:2369 A9 01 sta $0405 ; CPU:$E36B PRG:236B 8D 05 04 rts ; CPU:$E36E PRG:236E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E36F +; Routine: SubCE353_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +10049,7 @@ Label_E359: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E36F: +SubCE353_Block_3: ldy $0402 ; CPU:$E36F PRG:236F AC 02 04 dey ; CPU:$E372 PRG:2372 88 lda $C299,y ; CPU:$E373 PRG:2373 B9 99 C2 @@ -10050,7 +10060,7 @@ Label_E36F: lda #$00 ; CPU:$E381 PRG:2381 A9 00 sta $0405 ; CPU:$E383 PRG:2383 8D 05 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E386 +; Routine: SubCE353_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10058,10 +10068,10 @@ Label_E36F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E386: +SubCE353_Block_2: rts ; CPU:$E386 PRG:2386 60 ; ----------------------------------------------------------------------------- -; 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. @@ -10069,7 +10079,7 @@ Label_E386: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E387: +SubCE387: lda #$FF ; CPU:$E387 PRG:2387 A9 FF sta $02D8 ; CPU:$E389 PRG:2389 8D D8 02 sta $02DC ; CPU:$E38C PRG:238C 8D DC 02 @@ -10083,7 +10093,7 @@ Label_E387: sta $02DB ; CPU:$E3A1 PRG:23A1 8D DB 02 rts ; CPU:$E3A4 PRG:23A4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E3A5 +; Routine: SubCE3A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10091,28 +10101,28 @@ Label_E387: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3A5: +SubCE3A5: lda $02E0 ; CPU:$E3A5 PRG:23A5 AD E0 02 - sta Zp01 ; CPU:$E3A8 PRG:23A8 85 01 + sta PtrHi ; CPU:$E3A8 PRG:23A8 85 01 lda #$22 ; CPU:$E3AA PRG:23AA A9 22 sta Zp03 ; CPU:$E3AC PRG:23AC 85 03 lda #$E0 ; CPU:$E3AE PRG:23AE A9 E0 sta Zp04 ; CPU:$E3B0 PRG:23B0 85 04 lda ZpAF ; CPU:$E3B2 PRG:23B2 A5 AF - bne Label_E3D1 ; CPU:$E3B4 PRG:23B4 D0 1B - lda ZpEC ; CPU:$E3B6 PRG:23B6 A5 EC + bne SubCE3A5_Block_5 ; CPU:$E3B4 PRG:23B4 D0 1B + lda GameState ; CPU:$E3B6 PRG:23B6 A5 EC cmp #$05 ; CPU:$E3B8 PRG:23B8 C9 05 - beq Label_E405 ; CPU:$E3BA PRG:23BA F0 49 + beq SubCE3FE_Block_17 ; CPU:$E3BA PRG:23BA F0 49 cmp #$16 ; CPU:$E3BC PRG:23BC C9 16 - beq Label_E3CC ; CPU:$E3BE PRG:23BE F0 0C + beq SubCE3A5_Block_3 ; CPU:$E3BE PRG:23BE F0 0C and #$08 ; CPU:$E3C0 PRG:23C0 29 08 cmp #$08 ; CPU:$E3C2 PRG:23C2 C9 08 - beq Label_E3D1 ; CPU:$E3C4 PRG:23C4 F0 0B + beq SubCE3A5_Block_5 ; CPU:$E3C4 PRG:23C4 F0 0B lda ZpBE ; CPU:$E3C6 PRG:23C6 A5 BE - bne Label_E3D1 ; CPU:$E3C8 PRG:23C8 D0 07 - beq Label_E3F0 ; CPU:$E3CA PRG:23CA F0 24 + bne SubCE3A5_Block_5 ; CPU:$E3C8 PRG:23C8 D0 07 + beq SubCE3F0 ; CPU:$E3CA PRG:23CA F0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_E3CC +; Routine: SubCE3A5_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +10130,11 @@ Label_E3A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3CC: +SubCE3A5_Block_3: jsr $E4C5 ; CPU:$E3CC PRG:23CC 20 C5 E4 - bne Label_E40B ; CPU:$E3CF PRG:23CF D0 3A + bne SubCE3A5_Block_6 ; CPU:$E3CF PRG:23CF D0 3A ; ----------------------------------------------------------------------------- -; Routine: Label_E3D1 +; Routine: SubCE3A5_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +10142,15 @@ Label_E3CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3D1: +SubCE3A5_Block_5: lda $040E ; CPU:$E3D1 PRG:23D1 AD 0E 04 and #$01 ; CPU:$E3D4 PRG:23D4 29 01 - beq Label_E3F0 ; CPU:$E3D6 PRG:23D6 F0 18 + beq SubCE3F0 ; CPU:$E3D6 PRG:23D6 F0 18 lda ZpB1 ; CPU:$E3D8 PRG:23D8 A5 B1 - beq Label_E3DF ; CPU:$E3DA PRG:23DA F0 03 + beq SubCE3A5_Block_7 ; CPU:$E3DA PRG:23DA F0 03 jmp $E481 ; CPU:$E3DC PRG:23DC 4C 81 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E3DF +; Routine: SubCE3A5_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10148,17 +10158,17 @@ Label_E3D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3DF: +SubCE3A5_Block_7: lda $02E3 ; CPU:$E3DF PRG:23DF AD E3 02 clc ; CPU:$E3E2 PRG:23E2 18 adc #$02 ; CPU:$E3E3 PRG:23E3 69 02 sta $02E3 ; CPU:$E3E5 PRG:23E5 8D E3 02 cmp #$D0 ; CPU:$E3E8 PRG:23E8 C9 D0 - bcc Label_E3F0 ; CPU:$E3EA PRG:23EA 90 04 + bcc SubCE3F0 ; CPU:$E3EA PRG:23EA 90 04 lda #$01 ; CPU:$E3EC PRG:23EC A9 01 sta ZpB1 ; CPU:$E3EE PRG:23EE 85 B1 ; ----------------------------------------------------------------------------- -; Routine: Label_E3F0 +; Routine: SubCE3F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10166,15 +10176,15 @@ Label_E3DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3F0: +SubCE3F0: lda $02E3 ; CPU:$E3F0 PRG:23F0 AD E3 02 - sta Zp00 ; CPU:$E3F3 PRG:23F3 85 00 + sta PtrLo ; CPU:$E3F3 PRG:23F3 85 00 lda $040E ; CPU:$E3F5 PRG:23F5 AD 0E 04 and #$10 ; CPU:$E3F8 PRG:23F8 29 10 - beq Label_E406 ; CPU:$E3FA PRG:23FA F0 0A + beq SubCE3F0_Block ; CPU:$E3FA PRG:23FA F0 0A lda #$6C ; CPU:$E3FC PRG:23FC A9 6C ; ----------------------------------------------------------------------------- -; Routine: Label_E3FE +; Routine: SubCE3FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10182,12 +10192,12 @@ Label_E3F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3FE: - sta Zp02 ; CPU:$E3FE PRG:23FE 85 02 +SubCE3FE: + sta Ptr2Lo ; CPU:$E3FE PRG:23FE 85 02 lda ZpB1 ; CPU:$E400 PRG:2400 A5 B1 jsr $D6D2 ; CPU:$E402 PRG:2402 20 D2 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_E405 +; Routine: SubCE3FE_Block_17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +10205,10 @@ Label_E3FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E405: +SubCE3FE_Block_17: rts ; CPU:$E405 PRG:2405 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E406 +; Routine: SubCE3F0_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10206,11 +10216,11 @@ Label_E405: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E406: +SubCE3F0_Block: lda #$68 ; CPU:$E406 PRG:2406 A9 68 jmp $E3FE ; CPU:$E408 PRG:2408 4C FE E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E40B +; Routine: SubCE3A5_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +10228,15 @@ Label_E406: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E40B: +SubCE3A5_Block_6: ldx ZpBD ; CPU:$E40B PRG:240B A6 BD ldy Zp4D ; CPU:$E40D PRG:240D A4 4D cmp #$09 ; CPU:$E40F PRG:240F C9 09 - bne Label_E418 ; CPU:$E411 PRG:2411 D0 05 + bne SubCE3FE_Block ; CPU:$E411 PRG:2411 D0 05 lda $C2D8,y ; CPU:$E413 PRG:2413 B9 D8 C2 - bne Label_E443 ; CPU:$E416 PRG:2416 D0 2B + bne SubCE3FE_Block_10 ; CPU:$E416 PRG:2416 D0 2B ; ----------------------------------------------------------------------------- -; Routine: Label_E418 +; Routine: SubCE3FE_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +10244,13 @@ Label_E40B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E418: +SubCE3FE_Block: cmp #$0A ; CPU:$E418 PRG:2418 C9 0A - bne Label_E421 ; CPU:$E41A PRG:241A D0 05 + bne SubCE3FE_Block_3 ; CPU:$E41A PRG:241A D0 05 lda $C2E1,y ; CPU:$E41C PRG:241C B9 E1 C2 - bne Label_E443 ; CPU:$E41F PRG:241F D0 22 + bne SubCE3FE_Block_10 ; CPU:$E41F PRG:241F D0 22 ; ----------------------------------------------------------------------------- -; Routine: Label_E421 +; Routine: SubCE3FE_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10248,13 +10258,13 @@ Label_E418: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E421: +SubCE3FE_Block_3: cmp #$0B ; CPU:$E421 PRG:2421 C9 0B - bne Label_E42A ; CPU:$E423 PRG:2423 D0 05 + bne SubCE3FE_Block_5 ; CPU:$E423 PRG:2423 D0 05 lda $C2E6,y ; CPU:$E425 PRG:2425 B9 E6 C2 - bne Label_E443 ; CPU:$E428 PRG:2428 D0 19 + bne SubCE3FE_Block_10 ; CPU:$E428 PRG:2428 D0 19 ; ----------------------------------------------------------------------------- -; Routine: Label_E42A +; Routine: SubCE3FE_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10262,13 +10272,13 @@ Label_E421: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E42A: +SubCE3FE_Block_5: cmp #$0C ; CPU:$E42A PRG:242A C9 0C - bne Label_E433 ; CPU:$E42C PRG:242C D0 05 + bne SubCE3FE_Block_7 ; CPU:$E42C PRG:242C D0 05 lda $C2EA,y ; CPU:$E42E PRG:242E B9 EA C2 - bne Label_E443 ; CPU:$E431 PRG:2431 D0 10 + bne SubCE3FE_Block_10 ; CPU:$E431 PRG:2431 D0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E433 +; Routine: SubCE3FE_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10276,13 +10286,13 @@ Label_E42A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E433: +SubCE3FE_Block_7: cmp #$0D ; CPU:$E433 PRG:2433 C9 0D - bne Label_E43C ; CPU:$E435 PRG:2435 D0 05 + bne SubCE3FE_Block_9 ; CPU:$E435 PRG:2435 D0 05 lda $C2F1,y ; CPU:$E437 PRG:2437 B9 F1 C2 - bne Label_E443 ; CPU:$E43A PRG:243A D0 07 + bne SubCE3FE_Block_10 ; CPU:$E43A PRG:243A D0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E43C +; Routine: SubCE3FE_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10290,12 +10300,12 @@ Label_E433: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E43C: +SubCE3FE_Block_9: cmp #$0E ; CPU:$E43C PRG:243C C9 0E - bne Label_E44E ; CPU:$E43E PRG:243E D0 0E + bne SubCE3FE_Block_11 ; CPU:$E43E PRG:243E D0 0E lda $C2F5,y ; CPU:$E440 PRG:2440 B9 F5 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_E443 +; Routine: SubCE3FE_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10303,14 +10313,14 @@ Label_E43C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E443: +SubCE3FE_Block_10: pha ; CPU:$E443 PRG:2443 48 lda ZpB0 ; CPU:$E444 PRG:2444 A5 B0 - beq Label_E44B ; CPU:$E446 PRG:2446 F0 03 + beq SubCE3FE_Block_12 ; CPU:$E446 PRG:2446 F0 03 pla ; CPU:$E448 PRG:2448 68 - bne Label_E45F ; CPU:$E449 PRG:2449 D0 14 + bne SubCE3FE_Block_15 ; CPU:$E449 PRG:2449 D0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_E44B +; Routine: SubCE3FE_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +10328,11 @@ Label_E443: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E44B: +SubCE3FE_Block_12: pla ; CPU:$E44B PRG:244B 68 bne UpdateDisplay2 ; CPU:$E44C PRG:244C D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_E44E +; Routine: SubCE3FE_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +10340,14 @@ Label_E44B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E44E: +SubCE3FE_Block_11: tay ; CPU:$E44E PRG:244E A8 dey ; CPU:$E44F PRG:244F 88 lda ZpB0 ; CPU:$E450 PRG:2450 A5 B0 - beq Label_E456 ; CPU:$E452 PRG:2452 F0 02 - bne Label_E45F ; CPU:$E454 PRG:2454 D0 09 + beq SubCE3FE_Block_14 ; CPU:$E452 PRG:2452 F0 02 + bne SubCE3FE_Block_15 ; CPU:$E454 PRG:2454 D0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_E456 +; Routine: SubCE3FE_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +10355,7 @@ Label_E44E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E456: +SubCE3FE_Block_14: lda $C2B0,y ; CPU:$E456 PRG:2456 B9 B0 C2 ; ----------------------------------------------------------------------------- ; Routine: UpdateDisplay2 @@ -10360,7 +10370,7 @@ UpdateDisplay2: sta $0470,x ; CPU:$E459 PRG:2459 9D 70 04 sta $02D4 ; CPU:$E45C PRG:245C 8D D4 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E45F +; Routine: SubCE3FE_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10368,7 +10378,7 @@ UpdateDisplay2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E45F: +SubCE3FE_Block_15: lda #$03 ; CPU:$E45F PRG:245F A9 03 sta $02D6 ; CPU:$E461 PRG:2461 8D D6 02 lda $02E3 ; CPU:$E464 PRG:2464 AD E3 02 @@ -10376,11 +10386,11 @@ Label_E45F: adc #$04 ; CPU:$E468 PRG:2468 69 04 sta $02D7 ; CPU:$E46A PRG:246A 8D D7 02 ldy ZpB0 ; CPU:$E46D PRG:246D A4 B0 - bne Label_E476 ; CPU:$E46F PRG:246F D0 05 + bne SubCE3FE_Block_16 ; CPU:$E46F PRG:246F D0 05 sta $0460,x ; CPU:$E471 PRG:2471 9D 60 04 inc ZpBD ; CPU:$E474 PRG:2474 E6 BD ; ----------------------------------------------------------------------------- -; Routine: Label_E476 +; Routine: SubCE3FE_Block_16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10388,14 +10398,14 @@ Label_E45F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E476: +SubCE3FE_Block_16: lda #$9C ; CPU:$E476 PRG:2476 A9 9C sta $02D5 ; CPU:$E478 PRG:2478 8D D5 02 lda #$06 ; CPU:$E47B PRG:247B A9 06 - sta ZpEC ; CPU:$E47D PRG:247D 85 EC - bne Label_E405 ; CPU:$E47F PRG:247F D0 84 + sta GameState ; CPU:$E47D PRG:247D 85 EC + bne SubCE3FE_Block_17 ; CPU:$E47F PRG:247F D0 84 ; ----------------------------------------------------------------------------- -; Routine: Label_E481 +; Routine: SubCE481 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10403,19 +10413,19 @@ Label_E476: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E481: +SubCE481: lda $02E3 ; CPU:$E481 PRG:2481 AD E3 02 sec ; CPU:$E484 PRG:2484 38 sbc #$02 ; CPU:$E485 PRG:2485 E9 02 sta $02E3 ; CPU:$E487 PRG:2487 8D E3 02 - lda ZpEA ; CPU:$E48A PRG:248A A5 EA + lda SndChannel ; CPU:$E48A PRG:248A A5 EA cmp #$09 ; CPU:$E48C PRG:248C C9 09 - bpl Label_E4A2 ; CPU:$E48E PRG:248E 10 12 + bpl SubCE481_Block_2 ; CPU:$E48E PRG:248E 10 12 cmp #$05 ; CPU:$E490 PRG:2490 C9 05 - beq Label_E4A2 ; CPU:$E492 PRG:2492 F0 0E + beq SubCE481_Block_2 ; CPU:$E492 PRG:2492 F0 0E lda #$68 ; CPU:$E494 PRG:2494 A9 68 ; ----------------------------------------------------------------------------- -; Routine: Label_E496 +; Routine: SubCE481_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10423,13 +10433,13 @@ Label_E481: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E496: +SubCE481_Block_4: cmp $02E3 ; CPU:$E496 PRG:2496 CD E3 02 - bcc Label_E49F ; CPU:$E499 PRG:2499 90 04 + bcc SubCE481_Block_3 ; CPU:$E499 PRG:2499 90 04 lda #$00 ; CPU:$E49B PRG:249B A9 00 sta ZpB1 ; CPU:$E49D PRG:249D 85 B1 ; ----------------------------------------------------------------------------- -; Routine: Label_E49F +; Routine: SubCE481_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10437,10 +10447,10 @@ Label_E496: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E49F: +SubCE481_Block_3: jmp $E3F0 ; CPU:$E49F PRG:249F 4C F0 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E4A2 +; Routine: SubCE481_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10448,11 +10458,11 @@ Label_E49F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4A2: +SubCE481_Block_2: lda #$B8 ; CPU:$E4A2 PRG:24A2 A9 B8 - bne Label_E496 ; CPU:$E4A4 PRG:24A4 D0 F0 + bne SubCE481_Block_4 ; CPU:$E4A4 PRG:24A4 D0 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_E4A6 +; Routine: SubCE4A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +10470,14 @@ Label_E4A2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4A6: +SubCE4A6: cmp #$FF ; CPU:$E4A6 PRG:24A6 C9 FF - beq Label_E4B4 ; CPU:$E4A8 PRG:24A8 F0 0A + beq SubCE4A6_Block ; CPU:$E4A8 PRG:24A8 F0 0A cmp $02E3 ; CPU:$E4AA PRG:24AA CD E3 02 - bne Label_E4BC ; CPU:$E4AD PRG:24AD D0 0D + bne SubCE4A6_Block_2 ; CPU:$E4AD PRG:24AD D0 0D inc ZpAD ; CPU:$E4AF PRG:24AF E6 AD ; ----------------------------------------------------------------------------- -; Routine: Label_E4B1 +; Routine: SubCE4B1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10475,11 +10485,11 @@ Label_E4A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4B1: - lda ZpEA ; CPU:$E4B1 PRG:24B1 A5 EA +SubCE4B1: + lda SndChannel ; CPU:$E4B1 PRG:24B1 A5 EA rts ; CPU:$E4B3 PRG:24B3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4B4 +; Routine: SubCE4A6_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10487,13 +10497,13 @@ Label_E4B1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4B4: +SubCE4A6_Block: lda #$01 ; CPU:$E4B4 PRG:24B4 A9 01 sta ZpBE ; CPU:$E4B6 PRG:24B6 85 BE lda #$00 ; CPU:$E4B8 PRG:24B8 A9 00 sta ZpAD ; CPU:$E4BA PRG:24BA 85 AD ; ----------------------------------------------------------------------------- -; Routine: Label_E4BC +; Routine: SubCE4A6_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +10511,11 @@ Label_E4B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4BC: +SubCE4A6_Block_2: lda #$00 ; CPU:$E4BC PRG:24BC A9 00 rts ; CPU:$E4BE PRG:24BE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4BF +; Routine: SubCE4BF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10513,12 +10523,12 @@ Label_E4BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4BF: +SubCE4BF: lda #$F8 ; CPU:$E4BF PRG:24BF A9 F8 sta $0470,y ; CPU:$E4C1 PRG:24C1 99 70 04 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. @@ -10526,18 +10536,18 @@ Label_E4BF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4C5: +SubCE4C5: lda ZpB0 ; CPU:$E4C5 PRG:24C5 A5 B0 - bne Label_E502 ; CPU:$E4C7 PRG:24C7 D0 39 + bne SubCE502 ; CPU:$E4C7 PRG:24C7 D0 39 ldy ZpAD ; CPU:$E4C9 PRG:24C9 A4 AD - lda ZpEA ; CPU:$E4CB PRG:24CB A5 EA + lda SndChannel ; CPU:$E4CB PRG:24CB A5 EA cmp #$09 ; CPU:$E4CD PRG:24CD C9 09 - bcs Label_E4F1 ; CPU:$E4CF PRG:24CF B0 20 + bcs SubCE4C5_Block ; CPU:$E4CF PRG:24CF B0 20 lda ZpAA ; CPU:$E4D1 PRG:24D1 A5 AA - beq Label_E4D8 ; CPU:$E4D3 PRG:24D3 F0 03 + beq SubCE4C5_Block_2 ; CPU:$E4D3 PRG:24D3 F0 03 jmp $E56B ; CPU:$E4D5 PRG:24D5 4C 6B E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E4D8 +; Routine: SubCE4C5_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10545,12 +10555,12 @@ Label_E4C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4D8: +SubCE4C5_Block_2: lda ZpAB ; CPU:$E4D8 PRG:24D8 A5 AB - beq Label_E4DF ; CPU:$E4DA PRG:24DA F0 03 + beq SubCE4C5_Block_3 ; CPU:$E4DA PRG:24DA F0 03 jmp $E585 ; CPU:$E4DC PRG:24DC 4C 85 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E4DF +; Routine: SubCE4C5_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10558,12 +10568,12 @@ Label_E4D8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4DF: +SubCE4C5_Block_3: lda ZpAC ; CPU:$E4DF PRG:24DF A5 AC - beq Label_E4E6 ; CPU:$E4E1 PRG:24E1 F0 03 + beq SubCE4C5_Block_4 ; CPU:$E4E1 PRG:24E1 F0 03 jmp $E596 ; CPU:$E4E3 PRG:24E3 4C 96 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E4E6 +; Routine: SubCE4C5_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10571,7 +10581,7 @@ Label_E4DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4E6: +SubCE4C5_Block_4: lda #$01 ; CPU:$E4E6 PRG:24E6 A9 01 sta Zp93 ; CPU:$E4E8 PRG:24E8 85 93 lda #$00 ; CPU:$E4EA PRG:24EA A9 00 @@ -10579,7 +10589,7 @@ Label_E4E6: lda #$00 ; CPU:$E4EE PRG:24EE A9 00 rts ; CPU:$E4F0 PRG:24F0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4F1 +; Routine: SubCE4C5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10587,10 +10597,10 @@ Label_E4E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F1: +SubCE4C5_Block: jmp $E5C0 ; CPU:$E4F1 PRG:24F1 4C C0 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E4F4 +; Routine: SubCE502_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10598,16 +10608,16 @@ Label_E4F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F4: +SubCE502_Block: sec ; CPU:$E4F4 PRG:24F4 38 sbc #$09 ; CPU:$E4F5 PRG:24F5 E9 09 tax ; CPU:$E4F7 PRG:24F7 AA lda $C0CB,x ; CPU:$E4F8 PRG:24F8 BD CB C0 cmp ZpBD ; CPU:$E4FB PRG:24FB C5 BD - bne Label_E50F ; CPU:$E4FD PRG:24FD D0 10 + bne SubCE502_Block_2 ; CPU:$E4FD PRG:24FD D0 10 jmp $E5B9 ; CPU:$E4FF PRG:24FF 4C B9 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E502 +; Routine: SubCE502 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10615,15 +10625,15 @@ Label_E4F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E502: - lda ZpEA ; CPU:$E502 PRG:2502 A5 EA +SubCE502: + lda SndChannel ; CPU:$E502 PRG:2502 A5 EA cmp #$09 ; CPU:$E504 PRG:2504 C9 09 - bpl Label_E4F4 ; CPU:$E506 PRG:2506 10 EC + bpl SubCE502_Block ; CPU:$E506 PRG:2506 10 EC lda ZpA9 ; CPU:$E508 PRG:2508 A5 A9 - bne Label_E50F ; CPU:$E50A PRG:250A D0 03 + bne SubCE502_Block_2 ; CPU:$E50A PRG:250A D0 03 jmp $E5B9 ; CPU:$E50C PRG:250C 4C B9 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E50F +; Routine: SubCE502_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10631,18 +10641,18 @@ Label_E502: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E50F: +SubCE502_Block_2: ldx ZpBD ; CPU:$E50F PRG:250F A6 BD lda $0470,x ; CPU:$E511 PRG:2511 BD 70 04 cmp #$F8 ; CPU:$E514 PRG:2514 C9 F8 - bne Label_E542 ; CPU:$E516 PRG:2516 D0 2A + bne SubCE502_Block_3 ; CPU:$E516 PRG:2516 D0 2A inc ZpBD ; CPU:$E518 PRG:2518 E6 BD lda ZpA7 ; CPU:$E51A PRG:251A A5 A7 - beq Label_E523 ; CPU:$E51C PRG:251C F0 05 + beq SubCE502_Block_4 ; CPU:$E51C PRG:251C F0 05 dec ZpA7 ; CPU:$E51E PRG:251E C6 A7 jmp $E502 ; CPU:$E520 PRG:2520 4C 02 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E523 +; Routine: SubCE502_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10650,12 +10660,12 @@ Label_E50F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E523: +SubCE502_Block_4: lda ZpA8 ; CPU:$E523 PRG:2523 A5 A8 - bne Label_E52C ; CPU:$E525 PRG:2525 D0 05 - beq Label_E531 ; CPU:$E527 PRG:2527 F0 08 + bne SubCE502_Block_5 ; CPU:$E525 PRG:2525 D0 05 + beq SubCE502_Block_6 ; CPU:$E527 PRG:2527 F0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_E529 +; Routine: SubCE502_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10663,10 +10673,10 @@ Label_E523: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E529: +SubCE502_Block_7: jmp $E5BD ; CPU:$E529 PRG:2529 4C BD E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E52C +; Routine: SubCE502_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10674,11 +10684,11 @@ Label_E529: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E52C: +SubCE502_Block_5: dec ZpA8 ; CPU:$E52C PRG:252C C6 A8 jmp $E502 ; CPU:$E52E PRG:252E 4C 02 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E531 +; Routine: SubCE502_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10686,16 +10696,16 @@ Label_E52C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E531: +SubCE502_Block_6: lda ZpA9 ; CPU:$E531 PRG:2531 A5 A9 - beq Label_E529 ; CPU:$E533 PRG:2533 F0 F4 + beq SubCE502_Block_7 ; CPU:$E533 PRG:2533 F0 F4 dec ZpA9 ; CPU:$E535 PRG:2535 C6 A9 lda ZpA9 ; CPU:$E537 PRG:2537 A5 A9 cmp #$01 ; CPU:$E539 PRG:2539 C9 01 - bne Label_E53F ; CPU:$E53B PRG:253B D0 02 + bne SubCE502_Block_8 ; CPU:$E53B PRG:253B D0 02 sta Zp93 ; CPU:$E53D PRG:253D 85 93 ; ----------------------------------------------------------------------------- -; Routine: Label_E53F +; Routine: SubCE502_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +10713,10 @@ Label_E531: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E53F: +SubCE502_Block_8: jmp $E502 ; CPU:$E53F PRG:253F 4C 02 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E542 +; Routine: SubCE502_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +10724,7 @@ Label_E53F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E542: +SubCE502_Block_3: lda ZpA9 ; CPU:$E542 PRG:2542 A5 A9 cmp #$01 ; CPU:$E544 PRG:2544 C9 01 bne PlayMusic ; CPU:$E546 PRG:2546 D0 02 @@ -10733,19 +10743,19 @@ PlayMusic: clc ; CPU:$E54D PRG:254D 18 adc #$04 ; CPU:$E54E PRG:254E 69 04 cmp $0460,x ; CPU:$E550 PRG:2550 DD 60 04 - bne Label_E5BD ; CPU:$E553 PRG:2553 D0 68 + bne SubCE5BD ; CPU:$E553 PRG:2553 D0 68 txa ; CPU:$E555 PRG:2555 8A asl a ; CPU:$E556 PRG:2556 0A asl a ; CPU:$E557 PRG:2557 0A tax ; CPU:$E558 PRG:2558 AA lda ZpDB ; CPU:$E559 PRG:2559 A5 DB - bne Label_E568 ; CPU:$E55B PRG:255B D0 0B + bne SubCE502_Block_9 ; CPU:$E55B PRG:255B D0 0B lda $0290,x ; CPU:$E55D PRG:255D BD 90 02 sta $02D4 ; CPU:$E560 PRG:2560 8D D4 02 lda #$F8 ; CPU:$E563 PRG:2563 A9 F8 sta $0290,x ; CPU:$E565 PRG:2565 9D 90 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E568 +; Routine: SubCE502_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +10763,10 @@ PlayMusic: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E568: +SubCE502_Block_9: jmp $E4B1 ; CPU:$E568 PRG:2568 4C B1 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E56B +; Routine: SubCE56B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10764,16 +10774,16 @@ Label_E568: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E56B: +SubCE56B: lda $02E3 ; CPU:$E56B PRG:256B AD E3 02 cmp $C2A3,y ; CPU:$E56E PRG:256E D9 A3 C2 - bne Label_E5BD ; CPU:$E571 PRG:2571 D0 4A + bne SubCE5BD ; CPU:$E571 PRG:2571 D0 4A lda #$01 ; CPU:$E573 PRG:2573 A9 01 pha ; CPU:$E575 PRG:2575 48 dec ZpAA ; CPU:$E576 PRG:2576 C6 AA - beq Label_E57E ; CPU:$E578 PRG:2578 F0 04 + beq SubCE5AB_Block ; CPU:$E578 PRG:2578 F0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E57A +; Routine: SubCE5AB_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +10791,10 @@ Label_E56B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E57A: +SubCE5AB_Block_2: inc ZpAD ; CPU:$E57A PRG:257A E6 AD ; ----------------------------------------------------------------------------- -; Routine: Label_E57C +; Routine: SubCE57C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +10802,11 @@ Label_E57A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E57C: +SubCE57C: pla ; CPU:$E57C PRG:257C 68 rts ; CPU:$E57D PRG:257D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E57E +; Routine: SubCE5AB_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10804,12 +10814,12 @@ Label_E57C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E57E: +SubCE5AB_Block: lda #$00 ; CPU:$E57E PRG:257E A9 00 sta ZpAD ; CPU:$E580 PRG:2580 85 AD jmp $E57C ; CPU:$E582 PRG:2582 4C 7C E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E585 +; Routine: SubCE585 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10817,17 +10827,17 @@ Label_E57E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E585: +SubCE585: lda $02E3 ; CPU:$E585 PRG:2585 AD E3 02 cmp $C2AA,y ; CPU:$E588 PRG:2588 D9 AA C2 - bne Label_E5BD ; CPU:$E58B PRG:258B D0 30 + bne SubCE5BD ; CPU:$E58B PRG:258B D0 30 lda #$02 ; CPU:$E58D PRG:258D A9 02 pha ; CPU:$E58F PRG:258F 48 dec ZpAB ; CPU:$E590 PRG:2590 C6 AB - beq Label_E57E ; CPU:$E592 PRG:2592 F0 EA - bne Label_E57A ; CPU:$E594 PRG:2594 D0 E4 + beq SubCE5AB_Block ; CPU:$E592 PRG:2592 F0 EA + bne SubCE5AB_Block_2 ; CPU:$E594 PRG:2594 D0 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E596 +; Routine: SubCE596 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10835,17 +10845,17 @@ Label_E585: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E596: - lda ZpEA ; CPU:$E596 PRG:2596 A5 EA +SubCE596: + lda SndChannel ; CPU:$E596 PRG:2596 A5 EA cmp #$05 ; CPU:$E598 PRG:2598 C9 05 - bne Label_E5A8 ; CPU:$E59A PRG:259A D0 0C + bne SubCE596_Block_2 ; CPU:$E59A PRG:259A D0 0C lda ZpA5 ; CPU:$E59C PRG:259C A5 A5 cmp #$01 ; CPU:$E59E PRG:259E C9 01 - beq Label_E5A8 ; CPU:$E5A0 PRG:25A0 F0 06 + beq SubCE596_Block_2 ; CPU:$E5A0 PRG:25A0 F0 06 lda $C2AE,y ; CPU:$E5A2 PRG:25A2 B9 AE C2 jmp $E5AB ; CPU:$E5A5 PRG:25A5 4C AB E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E5A8 +; Routine: SubCE596_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10853,10 +10863,10 @@ Label_E596: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5A8: +SubCE596_Block_2: lda $C2A3,y ; CPU:$E5A8 PRG:25A8 B9 A3 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_E5AB +; Routine: SubCE5AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10864,16 +10874,16 @@ Label_E5A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5AB: +SubCE5AB: cmp $02E3 ; CPU:$E5AB PRG:25AB CD E3 02 - bne Label_E5BD ; CPU:$E5AE PRG:25AE D0 0D + bne SubCE5BD ; CPU:$E5AE PRG:25AE D0 0D lda #$03 ; CPU:$E5B0 PRG:25B0 A9 03 pha ; CPU:$E5B2 PRG:25B2 48 dec ZpAC ; CPU:$E5B3 PRG:25B3 C6 AC - beq Label_E57E ; CPU:$E5B5 PRG:25B5 F0 C7 - bne Label_E57A ; CPU:$E5B7 PRG:25B7 D0 C1 + beq SubCE5AB_Block ; CPU:$E5B5 PRG:25B5 F0 C7 + bne SubCE5AB_Block_2 ; CPU:$E5B7 PRG:25B7 D0 C1 ; ----------------------------------------------------------------------------- -; Routine: Label_E5B9 +; Routine: SubCE5B9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +10891,11 @@ Label_E5AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5B9: +SubCE5B9: lda #$01 ; CPU:$E5B9 PRG:25B9 A9 01 sta ZpBE ; CPU:$E5BB PRG:25BB 85 BE ; ----------------------------------------------------------------------------- -; Routine: Label_E5BD +; Routine: SubCE5BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10893,11 +10903,11 @@ Label_E5B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5BD: +SubCE5BD: lda #$00 ; CPU:$E5BD PRG:25BD A9 00 rts ; CPU:$E5BF PRG:25BF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E5C0 +; Routine: SubCE5C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10905,13 +10915,13 @@ Label_E5BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5C0: +SubCE5C0: cmp #$09 ; CPU:$E5C0 PRG:25C0 C9 09 - bne Label_E5CA ; CPU:$E5C2 PRG:25C2 D0 06 + bne SubCE5C0_Block ; CPU:$E5C2 PRG:25C2 D0 06 lda $C2B3,y ; CPU:$E5C4 PRG:25C4 B9 B3 C2 jmp $E4A6 ; CPU:$E5C7 PRG:25C7 4C A6 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E5CA +; Routine: SubCE5C0_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +10929,13 @@ Label_E5C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5CA: +SubCE5C0_Block: cmp #$0A ; CPU:$E5CA PRG:25CA C9 0A - bne Label_E5D4 ; CPU:$E5CC PRG:25CC D0 06 + bne SubCE5C0_Block_2 ; CPU:$E5CC PRG:25CC D0 06 lda $C2BC,y ; CPU:$E5CE PRG:25CE B9 BC C2 jmp $E4A6 ; CPU:$E5D1 PRG:25D1 4C A6 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E5D4 +; Routine: SubCE5C0_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10933,13 +10943,13 @@ Label_E5CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5D4: +SubCE5C0_Block_2: cmp #$0B ; CPU:$E5D4 PRG:25D4 C9 0B - bne Label_E5DE ; CPU:$E5D6 PRG:25D6 D0 06 + bne SubCE5C0_Block_3 ; CPU:$E5D6 PRG:25D6 D0 06 lda $C2C1,y ; CPU:$E5D8 PRG:25D8 B9 C1 C2 jmp $E4A6 ; CPU:$E5DB PRG:25DB 4C A6 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E5DE +; Routine: SubCE5C0_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +10957,13 @@ Label_E5D4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5DE: +SubCE5C0_Block_3: cmp #$0C ; CPU:$E5DE PRG:25DE C9 0C - bne Label_E5E8 ; CPU:$E5E0 PRG:25E0 D0 06 + bne SubCE5C0_Block_4 ; CPU:$E5E0 PRG:25E0 D0 06 lda $C2C5,y ; CPU:$E5E2 PRG:25E2 B9 C5 C2 jmp $E4A6 ; CPU:$E5E5 PRG:25E5 4C A6 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E5E8 +; Routine: SubCE5C0_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +10971,13 @@ Label_E5DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5E8: +SubCE5C0_Block_4: cmp #$0D ; CPU:$E5E8 PRG:25E8 C9 0D - bne Label_E5F2 ; CPU:$E5EA PRG:25EA D0 06 + bne SubCE5C0_Block_5 ; CPU:$E5EA PRG:25EA D0 06 lda $C2CC,y ; CPU:$E5EC PRG:25EC B9 CC C2 jmp $E4A6 ; CPU:$E5EF PRG:25EF 4C A6 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E5F2 +; Routine: SubCE5C0_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10975,11 +10985,11 @@ Label_E5E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5F2: +SubCE5C0_Block_5: lda $C2D0,y ; CPU:$E5F2 PRG:25F2 B9 D0 C2 jmp $E4A6 ; CPU:$E5F5 PRG:25F5 4C A6 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E5F8 +; Routine: SubCE5F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10987,12 +10997,12 @@ Label_E5F2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5F8: +SubCE5F8: lda ZpBF ; CPU:$E5F8 PRG:25F8 A5 BF - bne Label_E5FD ; CPU:$E5FA PRG:25FA D0 01 + bne SubCE5F8_Block ; CPU:$E5FA PRG:25FA D0 01 rts ; CPU:$E5FC PRG:25FC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E5FD +; Routine: SubCE5F8_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11000,18 +11010,18 @@ Label_E5F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5FD: +SubCE5F8_Block: lda #$04 ; CPU:$E5FD PRG:25FD A9 04 - sta ZpFF ; CPU:$E5FF PRG:25FF 85 FF + sta FrameCounter ; CPU:$E5FF PRG:25FF 85 FF sta $05F2 ; CPU:$E601 PRG:2601 8D F2 05 ldy Zp4D ; CPU:$E604 PRG:2604 A4 4D dey ; CPU:$E606 PRG:2606 88 - lda ZpEA ; CPU:$E607 PRG:2607 A5 EA + lda SndChannel ; CPU:$E607 PRG:2607 A5 EA cmp #$09 ; CPU:$E609 PRG:2609 C9 09 - bcc Label_E613 ; CPU:$E60B PRG:260B 90 06 + bcc SubCE5F8_Block_2 ; CPU:$E60B PRG:260B 90 06 jmp $E63D ; CPU:$E60D PRG:260D 4C 3D E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E610 +; Routine: SubCE63D_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +11029,11 @@ Label_E5FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E610: +SubCE63D_Block_3: inc ZpB4 ; CPU:$E610 PRG:2610 E6 B4 rts ; CPU:$E612 PRG:2612 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E613 +; Routine: SubCE5F8_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +11041,14 @@ Label_E610: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E613: +SubCE5F8_Block_2: lda ZpA7 ; CPU:$E613 PRG:2613 A5 A7 - beq Label_E61E ; CPU:$E615 PRG:2615 F0 07 + beq SubCE5F8_Block_3 ; CPU:$E615 PRG:2615 F0 07 dec ZpA7 ; CPU:$E617 PRG:2617 C6 A7 lda ZpA7 ; CPU:$E619 PRG:2619 A5 A7 jmp $E63D ; CPU:$E61B PRG:261B 4C 3D E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E61E +; Routine: SubCE5F8_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11046,13 +11056,13 @@ Label_E613: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E61E: +SubCE5F8_Block_3: lda ZpA8 ; CPU:$E61E PRG:261E A5 A8 - beq Label_E627 ; CPU:$E620 PRG:2620 F0 05 + beq SubCE5F8_Block_4 ; CPU:$E620 PRG:2620 F0 05 dec ZpA8 ; CPU:$E622 PRG:2622 C6 A8 jmp $E63D ; CPU:$E624 PRG:2624 4C 3D E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E627 +; Routine: SubCE5F8_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +11070,18 @@ Label_E61E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E627: +SubCE5F8_Block_4: lda ZpA9 ; CPU:$E627 PRG:2627 A5 A9 - beq Label_E639 ; CPU:$E629 PRG:2629 F0 0E + beq SubCE5F8_Block_6 ; CPU:$E629 PRG:2629 F0 0E dec ZpA9 ; CPU:$E62B PRG:262B C6 A9 - beq Label_E639 ; CPU:$E62D PRG:262D F0 0A + beq SubCE5F8_Block_6 ; CPU:$E62D PRG:262D F0 0A lda ZpA9 ; CPU:$E62F PRG:262F A5 A9 cmp #$01 ; CPU:$E631 PRG:2631 C9 01 - bne Label_E63D ; CPU:$E633 PRG:2633 D0 08 + bne SubCE63D ; CPU:$E633 PRG:2633 D0 08 sta Zp93 ; CPU:$E635 PRG:2635 85 93 - beq Label_E63D ; CPU:$E637 PRG:2637 F0 04 + beq SubCE63D ; CPU:$E637 PRG:2637 F0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E639 +; Routine: SubCE5F8_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11079,11 +11089,11 @@ Label_E627: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E639: +SubCE5F8_Block_6: lda #$FF ; CPU:$E639 PRG:2639 A9 FF sta ZpBE ; CPU:$E63B PRG:263B 85 BE ; ----------------------------------------------------------------------------- -; Routine: Label_E63D +; Routine: SubCE63D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11091,20 +11101,20 @@ Label_E639: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E63D: +SubCE63D: jsr $E65E ; CPU:$E63D PRG:263D 20 5E E6 - lda ZpEA ; CPU:$E640 PRG:2640 A5 EA + lda SndChannel ; CPU:$E640 PRG:2640 A5 EA cmp #$09 ; CPU:$E642 PRG:2642 C9 09 - bmi Label_E654 ; CPU:$E644 PRG:2644 30 0E + bmi SubCE63D_Block_2 ; CPU:$E644 PRG:2644 30 0E sec ; CPU:$E646 PRG:2646 38 sbc #$09 ; CPU:$E647 PRG:2647 E9 09 tax ; CPU:$E649 PRG:2649 AA lda $C0CB,x ; CPU:$E64A PRG:264A BD CB C0 cmp $0410 ; CPU:$E64D PRG:264D CD 10 04 - bne Label_E654 ; CPU:$E650 PRG:2650 D0 02 + bne SubCE63D_Block_2 ; CPU:$E650 PRG:2650 D0 02 sta ZpBE ; CPU:$E652 PRG:2652 85 BE ; ----------------------------------------------------------------------------- -; Routine: Label_E654 +; Routine: SubCE63D_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11112,13 +11122,13 @@ Label_E63D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E654: +SubCE63D_Block_2: lda $05E0,y ; CPU:$E654 PRG:2654 B9 E0 05 cmp ZpBC ; CPU:$E657 PRG:2657 C5 BC - bne Label_E610 ; CPU:$E659 PRG:2659 D0 B5 + bne SubCE63D_Block_3 ; CPU:$E659 PRG:2659 D0 B5 jmp $E4BF ; CPU:$E65B PRG:265B 4C BF E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E65E +; Routine: SubCE65E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +11136,14 @@ Label_E654: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E65E: +SubCE65E: pha ; CPU:$E65E PRG:265E 48 lda ZpB0 ; CPU:$E65F PRG:265F A5 B0 - bne Label_E665 ; CPU:$E661 PRG:2661 D0 02 + bne SubCE65E_Block_2 ; CPU:$E661 PRG:2661 D0 02 pla ; CPU:$E663 PRG:2663 68 rts ; CPU:$E664 PRG:2664 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E665 +; Routine: SubCE65E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +11151,16 @@ Label_E65E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E665: +SubCE65E_Block_2: ldy $0410 ; CPU:$E665 PRG:2665 AC 10 04 inc $0410 ; CPU:$E668 PRG:2668 EE 10 04 lda $0470,y ; CPU:$E66B PRG:266B B9 70 04 cmp #$F8 ; CPU:$E66E PRG:266E C9 F8 - beq Label_E665 ; CPU:$E670 PRG:2670 F0 F3 + beq SubCE65E_Block_2 ; CPU:$E670 PRG:2670 F0 F3 pla ; CPU:$E672 PRG:2672 68 rts ; CPU:$E673 PRG:2673 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E674 +; Routine: SubCE674 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +11168,14 @@ Label_E665: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E674: +SubCE674: lda Zp15 ; CPU:$E674 PRG:2674 A5 15 cmp #$40 ; CPU:$E676 PRG:2676 C9 40 - beq Label_E67E ; CPU:$E678 PRG:2678 F0 04 + beq SubCE674_Block ; CPU:$E678 PRG:2678 F0 04 sta $0417 ; CPU:$E67A PRG:267A 8D 17 04 rts ; CPU:$E67D PRG:267D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E67E +; Routine: SubCE674_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +11183,12 @@ Label_E674: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E67E: +SubCE674_Block: cmp $0417 ; CPU:$E67E PRG:267E CD 17 04 - bne Label_E684 ; CPU:$E681 PRG:2681 D0 01 + bne SubCE674_Block_2 ; CPU:$E681 PRG:2681 D0 01 rts ; CPU:$E683 PRG:2683 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E684 +; Routine: SubCE674_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11186,17 +11196,17 @@ Label_E67E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E684: +SubCE674_Block_2: sta $0417 ; CPU:$E684 PRG:2684 8D 17 04 lda ZpB0 ; CPU:$E687 PRG:2687 A5 B0 - bne Label_E695 ; CPU:$E689 PRG:2689 D0 0A + bne SubCE674_Block_5 ; CPU:$E689 PRG:2689 D0 0A lda ZpBF ; CPU:$E68B PRG:268B A5 BF - bne Label_E695 ; CPU:$E68D PRG:268D D0 06 + bne SubCE674_Block_5 ; CPU:$E68D PRG:268D D0 06 lda $05F2 ; CPU:$E68F PRG:268F AD F2 05 - bne Label_E695 ; CPU:$E692 PRG:2692 D0 01 + bne SubCE674_Block_5 ; CPU:$E692 PRG:2692 D0 01 rts ; CPU:$E694 PRG:2694 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E695 +; Routine: SubCE674_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11204,13 +11214,13 @@ Label_E684: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E695: - lda Zp5F ; CPU:$E695 PRG:2695 A5 5F +SubCE674_Block_5: + lda ObjIndex ; CPU:$E695 PRG:2695 A5 5F cmp #$04 ; CPU:$E697 PRG:2697 C9 04 - bne Label_E69C ; CPU:$E699 PRG:2699 D0 01 + bne SubCE674_Block_6 ; CPU:$E699 PRG:2699 D0 01 rts ; CPU:$E69B PRG:269B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E69C +; Routine: SubCE674_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +11228,12 @@ Label_E695: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E69C: +SubCE674_Block_6: lda ZpAF ; CPU:$E69C PRG:269C A5 AF - beq Label_E6A1 ; CPU:$E69E PRG:269E F0 01 + beq SubCE674_Block_7 ; CPU:$E69E PRG:269E F0 01 rts ; CPU:$E6A0 PRG:26A0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6A1 +; Routine: SubCE674_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11231,20 +11241,20 @@ Label_E69C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6A1: +SubCE674_Block_7: lda #$40 ; CPU:$E6A1 PRG:26A1 A9 40 sta ZpFD ; CPU:$E6A3 PRG:26A3 85 FD jsr $E6BA ; CPU:$E6A5 PRG:26A5 20 BA E6 lda #$16 ; CPU:$E6A8 PRG:26A8 A9 16 - sta ZpEC ; CPU:$E6AA PRG:26AA 85 EC + sta GameState ; CPU:$E6AA PRG:26AA 85 EC lda #$01 ; CPU:$E6AC PRG:26AC A9 01 - sta Zp5F ; CPU:$E6AE PRG:26AE 85 5F + sta ObjIndex ; CPU:$E6AE PRG:26AE 85 5F ldy #$04 ; CPU:$E6B0 PRG:26B0 A0 04 ldx #$00 ; CPU:$E6B2 PRG:26B2 A2 00 jsr $C814 ; CPU:$E6B4 PRG:26B4 20 14 C8 jmp $E825 ; CPU:$E6B7 PRG:26B7 4C 25 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E6BA +; Routine: SubCE6BA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11252,14 +11262,14 @@ Label_E6A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6BA: +SubCE6BA: jsr $C71F ; CPU:$E6BA PRG:26BA 20 1F C7 jsr $EE97 ; CPU:$E6BD PRG:26BD 20 97 EE jsr $EDD7 ; CPU:$E6C0 PRG:26C0 20 D7 ED jsr $E72C ; CPU:$E6C3 PRG:26C3 20 2C E7 jmp $E6C9 ; CPU:$E6C6 PRG:26C6 4C C9 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E6C9 +; Routine: SubCE6C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +11277,14 @@ Label_E6BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6C9: +SubCE6C9: lda #$00 ; CPU:$E6C9 PRG:26C9 A9 00 sta ZpAD ; CPU:$E6CB PRG:26CB 85 AD sta ZpBF ; CPU:$E6CD PRG:26CD 85 BF sta ZpB0 ; CPU:$E6CF PRG:26CF 85 B0 sta ZpDB ; CPU:$E6D1 PRG:26D1 85 DB ; ----------------------------------------------------------------------------- -; Routine: Label_E6D3 +; Routine: SubCE6D3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +11292,14 @@ Label_E6C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6D3: +SubCE6D3: lda #$00 ; CPU:$E6D3 PRG:26D3 A9 00 sta ZpB4 ; CPU:$E6D5 PRG:26D5 85 B4 sta Zp98 ; CPU:$E6D7 PRG:26D7 85 98 sta ZpCF ; CPU:$E6D9 PRG:26D9 85 CF sta $04D4 ; CPU:$E6DB PRG:26DB 8D D4 04 ; ----------------------------------------------------------------------------- -; 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. @@ -11297,7 +11307,7 @@ Label_E6D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6DE: +SubCE6DE: lda #$00 ; CPU:$E6DE PRG:26DE A9 00 sta ZpB5 ; CPU:$E6E0 PRG:26E0 85 B5 sta $0410 ; CPU:$E6E2 PRG:26E2 8D 10 04 @@ -11308,7 +11318,7 @@ Label_E6DE: sta $05F2 ; CPU:$E6ED PRG:26ED 8D F2 05 rts ; CPU:$E6F0 PRG:26F0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6F1 +; Routine: SubCE6F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +11326,11 @@ Label_E6DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F1: +SubCE6F1: ldx #$00 ; CPU:$E6F1 PRG:26F1 A2 00 ldy #$00 ; CPU:$E6F3 PRG:26F3 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E6F5 +; Routine: SubCE6F1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11328,7 +11338,7 @@ Label_E6F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F5: +SubCE6F1_Block: lda $0470,x ; CPU:$E6F5 PRG:26F5 BD 70 04 sta $0290,y ; CPU:$E6F8 PRG:26F8 99 90 02 lda $0460,x ; CPU:$E6FB PRG:26FB BD 60 04 @@ -11343,10 +11353,10 @@ Label_E6F5: iny ; CPU:$E70E PRG:270E C8 iny ; CPU:$E70F PRG:270F C8 cpx #$0D ; CPU:$E710 PRG:2710 E0 0D - bmi Label_E6F5 ; CPU:$E712 PRG:2712 30 E1 + bmi SubCE6F1_Block ; CPU:$E712 PRG:2712 30 E1 rts ; CPU:$E714 PRG:2714 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E715 +; Routine: SubCE715 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11354,12 +11364,12 @@ Label_E6F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E715: +SubCE715: lda ZpDB ; CPU:$E715 PRG:2715 A5 DB - bne Label_E71A ; CPU:$E717 PRG:2717 D0 01 + bne SubCE715_Block ; CPU:$E717 PRG:2717 D0 01 rts ; CPU:$E719 PRG:2719 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E71A +; Routine: SubCE715_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11367,13 +11377,13 @@ Label_E715: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E71A: +SubCE715_Block: lda Zp33 ; CPU:$E71A PRG:271A A5 33 - bne Label_E722 ; CPU:$E71C PRG:271C D0 04 + bne SubCE715_Block_2 ; CPU:$E71C PRG:271C D0 04 lda #$3E ; CPU:$E71E PRG:271E A9 3E sta Zp33 ; CPU:$E720 PRG:2720 85 33 ; ----------------------------------------------------------------------------- -; Routine: Label_E722 +; Routine: SubCE715_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +11391,12 @@ Label_E71A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E722: +SubCE715_Block_2: cmp #$1F ; CPU:$E722 PRG:2722 C9 1F - bpl Label_E729 ; CPU:$E724 PRG:2724 10 03 + bpl SubCE715_Block_3 ; CPU:$E724 PRG:2724 10 03 jmp $E6F1 ; CPU:$E726 PRG:2726 4C F1 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E729 +; Routine: SubCE715_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +11404,10 @@ Label_E722: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E729: +SubCE715_Block_3: jmp $E73F ; CPU:$E729 PRG:2729 4C 3F E7 ; ----------------------------------------------------------------------------- -; 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. @@ -11405,10 +11415,10 @@ Label_E729: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E72C: +SubCE72C: ldx #$1E ; CPU:$E72C PRG:272C A2 1E ; ----------------------------------------------------------------------------- -; Routine: Label_E72E +; Routine: SubCE72C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +11426,16 @@ Label_E72C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E72E: +SubCE72C_Block: lda #$F7 ; CPU:$E72E PRG:272E A9 F7 sta $05F5 ; CPU:$E730 PRG:2730 8D F5 05 sta $02D0 ; CPU:$E733 PRG:2733 8D D0 02 sta $02D4 ; CPU:$E736 PRG:2736 8D D4 02 sta $0460,x ; CPU:$E739 PRG:2739 9D 60 04 dex ; CPU:$E73C PRG:273C CA - bpl Label_E72E ; CPU:$E73D PRG:273D 10 EF + bpl SubCE72C_Block ; CPU:$E73D PRG:273D 10 EF ; ----------------------------------------------------------------------------- -; Routine: Label_E73F +; Routine: SubCE73F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +11443,10 @@ Label_E72E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E73F: +SubCE73F: ldx #$34 ; CPU:$E73F PRG:273F A2 34 ; ----------------------------------------------------------------------------- -; Routine: Label_E741 +; Routine: SubCE73F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11444,14 +11454,14 @@ Label_E73F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E741: +SubCE73F_Block: lda #$F8 ; CPU:$E741 PRG:2741 A9 F8 sta $028F,x ; CPU:$E743 PRG:2743 9D 8F 02 dex ; CPU:$E746 PRG:2746 CA - bne Label_E741 ; CPU:$E747 PRG:2747 D0 F8 + bne SubCE73F_Block ; CPU:$E747 PRG:2747 D0 F8 rts ; CPU:$E749 PRG:2749 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E74A +; Routine: SubCE74A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11459,14 +11469,14 @@ Label_E741: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E74A: +SubCE74A: lda ZpBF ; CPU:$E74A PRG:274A A5 BF - bne Label_E754 ; CPU:$E74C PRG:274C D0 06 - lda ZpEC ; CPU:$E74E PRG:274E A5 EC + bne SubCE74A_Block_5 ; CPU:$E74C PRG:274C D0 06 + lda GameState ; CPU:$E74E PRG:274E A5 EC cmp #$06 ; CPU:$E750 PRG:2750 C9 06 - beq Label_E755 ; CPU:$E752 PRG:2752 F0 01 + beq SubCE74A_Block_2 ; CPU:$E752 PRG:2752 F0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E754 +; Routine: SubCE74A_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11474,10 +11484,10 @@ Label_E74A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E754: +SubCE74A_Block_5: rts ; CPU:$E754 PRG:2754 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E755 +; Routine: SubCE74A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +11495,12 @@ Label_E754: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E755: +SubCE74A_Block_2: jsr $D556 ; CPU:$E755 PRG:2755 20 56 D5 - bne Label_E75B ; CPU:$E758 PRG:2758 D0 01 + bne SubCE74A_Block_3 ; CPU:$E758 PRG:2758 D0 01 rts ; CPU:$E75A PRG:275A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E75B +; Routine: SubCE74A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11498,25 +11508,25 @@ Label_E755: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E75B: +SubCE74A_Block_3: lda Zp8C ; CPU:$E75B PRG:275B A5 8C sec ; CPU:$E75D PRG:275D 38 sbc #$10 ; CPU:$E75E PRG:275E E9 10 sta $05F3 ; CPU:$E760 PRG:2760 8D F3 05 lda $02E3 ; CPU:$E763 PRG:2763 AD E3 02 cmp Zp8C ; CPU:$E766 PRG:2766 C5 8C - bcs Label_E754 ; CPU:$E768 PRG:2768 B0 EA + bcs SubCE74A_Block_5 ; CPU:$E768 PRG:2768 B0 EA lda $02EB ; CPU:$E76A PRG:276A AD EB 02 clc ; CPU:$E76D PRG:276D 18 adc #$08 ; CPU:$E76E PRG:276E 69 08 cmp Zp8C ; CPU:$E770 PRG:2770 C5 8C - bcc Label_E754 ; CPU:$E772 PRG:2772 90 E0 + bcc SubCE74A_Block_5 ; CPU:$E772 PRG:2772 90 E0 txa ; CPU:$E774 PRG:2774 8A pha ; CPU:$E775 PRG:2775 48 lda ZpB0 ; CPU:$E776 PRG:2776 A5 B0 - beq Label_E79C ; CPU:$E778 PRG:2778 F0 22 + beq SubCE74A_Block_6 ; CPU:$E778 PRG:2778 F0 22 lda ZpDB ; CPU:$E77A PRG:277A A5 DB - beq Label_E795 ; CPU:$E77C PRG:277C F0 17 + beq SubCE74A_Block_7 ; CPU:$E77C PRG:277C F0 17 jsr $E6F1 ; CPU:$E77E PRG:277E 20 F1 E6 lda #$00 ; CPU:$E781 PRG:2781 A9 00 sta ZpDB ; CPU:$E783 PRG:2783 85 DB @@ -11529,7 +11539,7 @@ Label_E75B: lda #$F7 ; CPU:$E790 PRG:2790 A9 F7 sta $0290,x ; CPU:$E792 PRG:2792 9D 90 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E795 +; Routine: SubCE74A_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11537,12 +11547,12 @@ Label_E75B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E795: +SubCE74A_Block_7: inc ZpBD ; CPU:$E795 PRG:2795 E6 BD ldx ZpBD ; CPU:$E797 PRG:2797 A6 BD jmp $E7A0 ; CPU:$E799 PRG:2799 4C A0 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E79C +; Routine: SubCE74A_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +11560,11 @@ Label_E795: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79C: +SubCE74A_Block_6: inc Zp4D ; CPU:$E79C PRG:279C E6 4D ldx Zp4D ; CPU:$E79E PRG:279E A6 4D ; ----------------------------------------------------------------------------- -; 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. @@ -11562,18 +11572,18 @@ Label_E79C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7A0: - lda ZpEA ; CPU:$E7A0 PRG:27A0 A5 EA +SubCE7A0: + lda SndChannel ; CPU:$E7A0 PRG:27A0 A5 EA cmp #$08 ; CPU:$E7A2 PRG:27A2 C9 08 - bne Label_E7C3 ; CPU:$E7A4 PRG:27A4 D0 1D + bne SubCE7A0_Block_6 ; CPU:$E7A4 PRG:27A4 D0 1D cpx #$04 ; CPU:$E7A6 PRG:27A6 E0 04 - bmi Label_E7C3 ; CPU:$E7A8 PRG:27A8 30 19 + bmi SubCE7A0_Block_6 ; CPU:$E7A8 PRG:27A8 30 19 lda ZpA3 ; CPU:$E7AA PRG:27AA A5 A3 cmp #$03 ; CPU:$E7AC PRG:27AC C9 03 - bne Label_E7B1 ; CPU:$E7AE PRG:27AE D0 01 + bne SubCE7A0_Block_3 ; CPU:$E7AE PRG:27AE D0 01 inx ; CPU:$E7B0 PRG:27B0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7B1 +; Routine: SubCE7A0_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11581,12 +11591,12 @@ Label_E7A0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7B1: +SubCE7A0_Block_3: cpx #$04 ; CPU:$E7B1 PRG:27B1 E0 04 - bne Label_E7B8 ; CPU:$E7B3 PRG:27B3 D0 03 + bne SubCE7A0_Block_4 ; CPU:$E7B3 PRG:27B3 D0 03 jsr $E7F5 ; CPU:$E7B5 PRG:27B5 20 F5 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E7B8 +; Routine: SubCE7A0_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11594,15 +11604,15 @@ Label_E7B1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7B8: +SubCE7A0_Block_4: cpx #$08 ; CPU:$E7B8 PRG:27B8 E0 08 - bmi Label_E7C3 ; CPU:$E7BA PRG:27BA 30 07 + bmi SubCE7A0_Block_6 ; CPU:$E7BA PRG:27BA 30 07 lda ZpA4 ; CPU:$E7BC PRG:27BC A5 A4 cmp #$03 ; CPU:$E7BE PRG:27BE C9 03 - bne Label_E7C3 ; CPU:$E7C0 PRG:27C0 D0 01 + bne SubCE7A0_Block_6 ; CPU:$E7C0 PRG:27C0 D0 01 inx ; CPU:$E7C2 PRG:27C2 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7C3 +; Routine: SubCE7A0_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11610,12 +11620,12 @@ Label_E7B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7C3: +SubCE7A0_Block_6: cpx #$08 ; CPU:$E7C3 PRG:27C3 E0 08 - bne Label_E7CA ; CPU:$E7C5 PRG:27C5 D0 03 + bne SubCE7A0_Block_7 ; CPU:$E7C5 PRG:27C5 D0 03 jsr $E7F5 ; CPU:$E7C7 PRG:27C7 20 F5 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E7CA +; Routine: SubCE7A0_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +11633,7 @@ Label_E7C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7CA: +SubCE7A0_Block_7: stx Zp98 ; CPU:$E7CA PRG:27CA 86 98 lda $02D4 ; CPU:$E7CC PRG:27CC AD D4 02 sta $05F5 ; CPU:$E7CF PRG:27CF 8D F5 05 @@ -11637,14 +11647,14 @@ Label_E7CA: sta $02D4 ; CPU:$E7E4 PRG:27E4 8D D4 02 lda #$16 ; CPU:$E7E7 PRG:27E7 A9 16 sta ZpBF ; CPU:$E7E9 PRG:27E9 85 BF - sta ZpEC ; CPU:$E7EB PRG:27EB 85 EC + sta GameState ; CPU:$E7EB PRG:27EB 85 EC lda #$00 ; CPU:$E7ED PRG:27ED A9 00 sta $05F2 ; CPU:$E7EF PRG:27EF 8D F2 05 pla ; CPU:$E7F2 PRG:27F2 68 tax ; CPU:$E7F3 PRG:27F3 AA rts ; CPU:$E7F4 PRG:27F4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E7F5 +; Routine: SubCE7F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11652,13 +11662,13 @@ Label_E7CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7F5: +SubCE7F5: lda #$01 ; CPU:$E7F5 PRG:27F5 A9 01 eor ZpB1 ; CPU:$E7F7 PRG:27F7 45 B1 sta ZpB1 ; CPU:$E7F9 PRG:27F9 85 B1 rts ; CPU:$E7FB PRG:27FB 60 ; ----------------------------------------------------------------------------- -; 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. @@ -11666,13 +11676,13 @@ Label_E7F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7FC: - lda ZpEC ; CPU:$E7FC PRG:27FC A5 EC +SubCE7FC: + lda GameState ; CPU:$E7FC PRG:27FC A5 EC cmp #$05 ; CPU:$E7FE PRG:27FE C9 05 - beq Label_E803 ; CPU:$E800 PRG:2800 F0 01 + beq SubCE7FC_Block ; CPU:$E800 PRG:2800 F0 01 rts ; CPU:$E802 PRG:2802 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E803 +; Routine: SubCE7FC_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +11690,13 @@ Label_E7FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E803: +SubCE7FC_Block: lda #$09 ; CPU:$E803 PRG:2803 A9 09 - cmp ZpEA ; CPU:$E805 PRG:2805 C5 EA - bpl Label_E80B ; CPU:$E807 PRG:2807 10 02 - sta ZpEA ; CPU:$E809 PRG:2809 85 EA + cmp SndChannel ; CPU:$E805 PRG:2805 C5 EA + bpl SubCE7FC_Block_2 ; CPU:$E807 PRG:2807 10 02 + sta SndChannel ; CPU:$E809 PRG:2809 85 EA ; ----------------------------------------------------------------------------- -; Routine: Label_E80B +; Routine: SubCE7FC_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +11704,19 @@ Label_E803: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E80B: +SubCE7FC_Block_2: inc $0402 ; CPU:$E80B PRG:280B EE 02 04 jsr $EC0F ; CPU:$E80E PRG:280E 20 0F EC jsr $EB15 ; CPU:$E811 PRG:2811 20 15 EB jsr $EC1B ; CPU:$E814 PRG:2814 20 1B EC jsr $E6BA ; CPU:$E817 PRG:2817 20 BA E6 lda #$01 ; CPU:$E81A PRG:281A A9 01 - sta ZpEC ; CPU:$E81C PRG:281C 85 EC + sta GameState ; CPU:$E81C PRG:281C 85 EC lda #$00 ; CPU:$E81E PRG:281E A9 00 sta $04FB ; CPU:$E820 PRG:2820 8D FB 04 sta Zp50 ; CPU:$E823 PRG:2823 85 50 ; ----------------------------------------------------------------------------- -; Routine: Label_E825 +; Routine: SubCE825 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11714,26 +11724,26 @@ Label_E80B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E825: +SubCE825: lda #$03 ; CPU:$E825 PRG:2825 A9 03 sta $02D6 ; CPU:$E827 PRG:2827 8D D6 02 lda #$5F ; CPU:$E82A PRG:282A A9 5F - sta Zp01 ; CPU:$E82C PRG:282C 85 01 + sta PtrHi ; CPU:$E82C PRG:282C 85 01 lda #$22 ; CPU:$E82E PRG:282E A9 22 sta Zp03 ; CPU:$E830 PRG:2830 85 03 lda #$E0 ; CPU:$E832 PRG:2832 A9 E0 - sta Zp00 ; CPU:$E834 PRG:2834 85 00 + sta PtrLo ; CPU:$E834 PRG:2834 85 00 lda #$68 ; CPU:$E836 PRG:2836 A9 68 - sta Zp02 ; CPU:$E838 PRG:2838 85 02 + sta Ptr2Lo ; CPU:$E838 PRG:2838 85 02 lda #$E0 ; CPU:$E83A PRG:283A A9 E0 sta Zp04 ; CPU:$E83C PRG:283C 85 04 ldx #$D0 ; CPU:$E83E PRG:283E A2 D0 ldy #$01 ; CPU:$E840 PRG:2840 A0 01 - lda ZpEA ; CPU:$E842 PRG:2842 A5 EA + lda SndChannel ; CPU:$E842 PRG:2842 A5 EA cmp #$05 ; CPU:$E844 PRG:2844 C9 05 - bne Label_E870 ; CPU:$E846 PRG:2846 D0 28 + bne SubCE825_Block ; CPU:$E846 PRG:2846 D0 28 ; ----------------------------------------------------------------------------- -; Routine: Label_E848 +; Routine: SubCE825_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11741,11 +11751,11 @@ Label_E825: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E848: +SubCE825_Block_2: ldx #$BA ; CPU:$E848 PRG:2848 A2 BA ldy #$00 ; CPU:$E84A PRG:284A A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E84C +; Routine: SubCE825_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11753,16 +11763,16 @@ Label_E848: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E84C: - stx Zp00 ; CPU:$E84C PRG:284C 86 00 +SubCE825_Block_3: + stx PtrLo ; CPU:$E84C PRG:284C 86 00 sty ZpB1 ; CPU:$E84E PRG:284E 84 B1 jsr $D6CC ; CPU:$E850 PRG:2850 20 CC D6 lda #$10 ; CPU:$E853 PRG:2853 A9 10 - sta Zp00 ; CPU:$E855 PRG:2855 85 00 + sta PtrLo ; CPU:$E855 PRG:2855 85 00 lda #$5F ; CPU:$E857 PRG:2857 A9 5F - sta Zp01 ; CPU:$E859 PRG:2859 85 01 + sta PtrHi ; CPU:$E859 PRG:2859 85 01 lda #$84 ; CPU:$E85B PRG:285B A9 84 - sta Zp02 ; CPU:$E85D PRG:285D 85 02 + sta Ptr2Lo ; CPU:$E85D PRG:285D 85 02 lda #$F0 ; CPU:$E85F PRG:285F A9 F0 sta Zp04 ; CPU:$E861 PRG:2861 85 04 lda #$22 ; CPU:$E863 PRG:2863 A9 22 @@ -11772,7 +11782,7 @@ Label_E84C: sta $040F ; CPU:$E86C PRG:286C 8D 0F 04 rts ; CPU:$E86F PRG:286F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E870 +; Routine: SubCE825_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11780,12 +11790,12 @@ Label_E84C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E870: +SubCE825_Block: cmp #$09 ; CPU:$E870 PRG:2870 C9 09 - bpl Label_E848 ; CPU:$E872 PRG:2872 10 D4 - bne Label_E84C ; CPU:$E874 PRG:2874 D0 D6 + bpl SubCE825_Block_2 ; CPU:$E872 PRG:2872 10 D4 + bne SubCE825_Block_3 ; CPU:$E874 PRG:2874 D0 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_E876 +; Routine: SubCE876 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11793,12 +11803,12 @@ Label_E870: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E876: +SubCE876: lda $0420 ; CPU:$E876 PRG:2876 AD 20 04 - bne Label_E87C ; CPU:$E879 PRG:2879 D0 01 + bne SubCE876_Block ; CPU:$E879 PRG:2879 D0 01 rts ; CPU:$E87B PRG:287B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E87C +; Routine: SubCE876_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11806,16 +11816,16 @@ Label_E876: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E87C: +SubCE876_Block: jsr $E72C ; CPU:$E87C PRG:287C 20 2C E7 lda Zp50 ; CPU:$E87F PRG:287F A5 50 - beq Label_E88B ; CPU:$E881 PRG:2881 F0 08 + beq SubCE876_Block_2 ; CPU:$E881 PRG:2881 F0 08 lda #$00 ; CPU:$E883 PRG:2883 A9 00 sta Zp50 ; CPU:$E885 PRG:2885 85 50 lda ZpAF ; CPU:$E887 PRG:2887 A5 AF - beq Label_E8FD ; CPU:$E889 PRG:2889 F0 72 + beq SubCE876_Block_3 ; CPU:$E889 PRG:2889 F0 72 ; ----------------------------------------------------------------------------- -; Routine: Label_E88B +; Routine: SubCE876_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +11833,16 @@ Label_E87C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E88B: +SubCE876_Block_2: lda ZpAF ; CPU:$E88B PRG:288B A5 AF - beq Label_E89A ; CPU:$E88D PRG:288D F0 0B + beq SubCE876_Block_4 ; CPU:$E88D PRG:288D F0 0B lda #$00 ; CPU:$E88F PRG:288F A9 00 sta $0420 ; CPU:$E891 PRG:2891 8D 20 04 sta $0404 ; CPU:$E894 PRG:2894 8D 04 04 sta ZpAF ; CPU:$E897 PRG:2897 85 AF rts ; CPU:$E899 PRG:2899 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E89A +; Routine: SubCE876_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11840,17 +11850,17 @@ Label_E88B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E89A: +SubCE876_Block_4: lda $0404 ; CPU:$E89A PRG:289A AD 04 04 - bne Label_E8C9 ; CPU:$E89D PRG:289D D0 2A + bne SubCE876_Block_5 ; CPU:$E89D PRG:289D D0 2A lda #$40 ; CPU:$E89F PRG:289F A9 40 bit $02F2 ; CPU:$E8A1 PRG:28A1 2C F2 02 - bne Label_E8AE ; CPU:$E8A4 PRG:28A4 D0 08 + bne SubCE876_Block_6 ; CPU:$E8A4 PRG:28A4 D0 08 lda $02F3 ; CPU:$E8A6 PRG:28A6 AD F3 02 cmp #$28 ; CPU:$E8A9 PRG:28A9 C9 28 - beq Label_E8B5 ; CPU:$E8AB PRG:28AB F0 08 + beq SubCE876_Block_7 ; CPU:$E8AB PRG:28AB F0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_E8AD +; Routine: SubCE8AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +11868,10 @@ Label_E89A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8AD: +SubCE8AD: rts ; CPU:$E8AD PRG:28AD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8AE +; Routine: SubCE876_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11869,12 +11879,12 @@ Label_E8AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8AE: +SubCE876_Block_6: lda $02F3 ; CPU:$E8AE PRG:28AE AD F3 02 cmp #$20 ; CPU:$E8B1 PRG:28B1 C9 20 - bne Label_E8AD ; CPU:$E8B3 PRG:28B3 D0 F8 + bne SubCE8AD ; CPU:$E8B3 PRG:28B3 D0 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_E8B5 +; Routine: SubCE876_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11882,7 +11892,7 @@ Label_E8AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8B5: +SubCE876_Block_7: lda #$68 ; CPU:$E8B5 PRG:28B5 A9 68 sta $0240 ; CPU:$E8B7 PRG:28B7 8D 40 02 lda #$F0 ; CPU:$E8BA PRG:28BA A9 F0 @@ -11892,7 +11902,7 @@ Label_E8B5: lda #$28 ; CPU:$E8C4 PRG:28C4 A9 28 sta $0243 ; CPU:$E8C6 PRG:28C6 8D 43 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E8C9 +; Routine: SubCE876_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +11910,17 @@ Label_E8B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8C9: +SubCE876_Block_5: inc $0240 ; CPU:$E8C9 PRG:28C9 EE 40 02 lda $0240 ; CPU:$E8CC PRG:28CC AD 40 02 ldy $0402 ; CPU:$E8CF PRG:28CF AC 02 04 dey ; CPU:$E8D2 PRG:28D2 88 cmp $C299,y ; CPU:$E8D3 PRG:28D3 D9 99 C2 - beq Label_E8DE ; CPU:$E8D6 PRG:28D6 F0 06 + beq SubCE8AD_Block ; CPU:$E8D6 PRG:28D6 F0 06 inc $0404 ; CPU:$E8D8 PRG:28D8 EE 04 04 jmp $E8AD ; CPU:$E8DB PRG:28DB 4C AD E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E8DE +; Routine: SubCE8AD_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11918,10 +11928,10 @@ Label_E8C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8DE: +SubCE8AD_Block: ldx #$04 ; CPU:$E8DE PRG:28DE A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E8E0 +; Routine: SubCE8E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,9 +11939,9 @@ Label_E8DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8E0: +SubCE8E0: cpy #$00 ; CPU:$E8E0 PRG:28E0 C0 00 - beq Label_E8EC ; CPU:$E8E2 PRG:28E2 F0 08 + beq SubCE8E0_Block_2 ; CPU:$E8E2 PRG:28E2 F0 08 inx ; CPU:$E8E4 PRG:28E4 E8 inx ; CPU:$E8E5 PRG:28E5 E8 inx ; CPU:$E8E6 PRG:28E6 E8 @@ -11939,7 +11949,7 @@ Label_E8E0: dey ; CPU:$E8E8 PRG:28E8 88 jmp $E8E0 ; CPU:$E8E9 PRG:28E9 4C E0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E8EC +; Routine: SubCE8E0_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11947,17 +11957,17 @@ Label_E8E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8EC: +SubCE8E0_Block_2: lda $0240,y ; CPU:$E8EC PRG:28EC B9 40 02 sta $0240,x ; CPU:$E8EF PRG:28EF 9D 40 02 iny ; CPU:$E8F2 PRG:28F2 C8 inx ; CPU:$E8F3 PRG:28F3 E8 cpy #$04 ; CPU:$E8F4 PRG:28F4 C0 04 - bne Label_E8EC ; CPU:$E8F6 PRG:28F6 D0 F4 + bne SubCE8E0_Block_2 ; CPU:$E8F6 PRG:28F6 D0 F4 lda #$F7 ; CPU:$E8F8 PRG:28F8 A9 F7 sta $0240 ; CPU:$E8FA PRG:28FA 8D 40 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E8FD +; Routine: SubCE876_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11965,18 +11975,18 @@ Label_E8EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8FD: +SubCE876_Block_3: lda #$00 ; CPU:$E8FD PRG:28FD A9 00 sta $0420 ; CPU:$E8FF PRG:28FF 8D 20 04 sta $0404 ; CPU:$E902 PRG:2902 8D 04 04 jsr $E9E7 ; CPU:$E905 PRG:2905 20 E7 E9 lda #$20 ; CPU:$E908 PRG:2908 A9 20 - sta ZpEC ; CPU:$E90A PRG:290A 85 EC + sta GameState ; CPU:$E90A PRG:290A 85 EC lda #$00 ; CPU:$E90C PRG:290C A9 00 sta $04FC ; CPU:$E90E PRG:290E 8D FC 04 rts ; CPU:$E911 PRG:2911 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E912 +; Routine: SubCE912 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +11994,13 @@ Label_E8FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E912: +SubCE912: lda Zp50 ; CPU:$E912 PRG:2912 A5 50 - beq Label_E91A ; CPU:$E914 PRG:2914 F0 04 + beq SubCE912_Block ; CPU:$E914 PRG:2914 F0 04 lda ZpAF ; CPU:$E916 PRG:2916 A5 AF - beq Label_E923 ; CPU:$E918 PRG:2918 F0 09 + beq SubCE912_Block_3 ; CPU:$E918 PRG:2918 F0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_E91A +; Routine: SubCE912_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +12008,14 @@ Label_E912: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E91A: +SubCE912_Block: lda ZpAF ; CPU:$E91A PRG:291A A5 AF - beq Label_E923 ; CPU:$E91C PRG:291C F0 05 + beq SubCE912_Block_3 ; CPU:$E91C PRG:291C F0 05 lda #$02 ; CPU:$E91E PRG:291E A9 02 sta ZpFD ; CPU:$E920 PRG:2920 85 FD rts ; CPU:$E922 PRG:2922 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E923 +; Routine: SubCE912_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12013,12 +12023,12 @@ Label_E91A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E923: +SubCE912_Block_3: lda #$20 ; CPU:$E923 PRG:2923 A9 20 sta ZpFD ; CPU:$E925 PRG:2925 85 FD rts ; CPU:$E927 PRG:2927 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E928 +; Routine: SubCE928 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12026,23 +12036,23 @@ Label_E923: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E928: - lda ZpEC ; CPU:$E928 PRG:2928 A5 EC +SubCE928: + lda GameState ; CPU:$E928 PRG:2928 A5 EC cmp #$05 ; CPU:$E92A PRG:292A C9 05 - bcc Label_E96E ; CPU:$E92C PRG:292C 90 40 + bcc SubCE928_Block ; CPU:$E92C PRG:292C 90 40 lda $040E ; CPU:$E92E PRG:292E AD 0E 04 and #$01 ; CPU:$E931 PRG:2931 29 01 - beq Label_E949 ; CPU:$E933 PRG:2933 F0 14 + beq SubCE949 ; CPU:$E933 PRG:2933 F0 14 lda $040F ; CPU:$E935 PRG:2935 AD 0F 04 - bne Label_E96F ; CPU:$E938 PRG:2938 D0 35 + bne SubCE928_Block_2 ; CPU:$E938 PRG:2938 D0 35 inc $02F3 ; CPU:$E93A PRG:293A EE F3 02 lda $02F3 ; CPU:$E93D PRG:293D AD F3 02 cmp #$30 ; CPU:$E940 PRG:2940 C9 30 - bcc Label_E949 ; CPU:$E942 PRG:2942 90 05 + bcc SubCE949 ; CPU:$E942 PRG:2942 90 05 lda #$01 ; CPU:$E944 PRG:2944 A9 01 sta $040F ; CPU:$E946 PRG:2946 8D 0F 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E949 +; Routine: SubCE949 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12050,11 +12060,11 @@ Label_E928: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E949: +SubCE949: lda $02F3 ; CPU:$E949 PRG:2949 AD F3 02 - sta Zp00 ; CPU:$E94C PRG:294C 85 00 + sta PtrLo ; CPU:$E94C PRG:294C 85 00 lda $02F0 ; CPU:$E94E PRG:294E AD F0 02 - sta Zp01 ; CPU:$E951 PRG:2951 85 01 + sta PtrHi ; CPU:$E951 PRG:2951 85 01 lda #$22 ; CPU:$E953 PRG:2953 A9 22 sta Zp03 ; CPU:$E955 PRG:2955 85 03 lda #$F0 ; CPU:$E957 PRG:2957 A9 F0 @@ -12062,10 +12072,10 @@ Label_E949: ldy #$84 ; CPU:$E95B PRG:295B A0 84 lda $040E ; CPU:$E95D PRG:295D AD 0E 04 and #$10 ; CPU:$E960 PRG:2960 29 10 - beq Label_E966 ; CPU:$E962 PRG:2962 F0 02 + beq SubCE949_Block ; CPU:$E962 PRG:2962 F0 02 ldy #$88 ; CPU:$E964 PRG:2964 A0 88 ; ----------------------------------------------------------------------------- -; Routine: Label_E966 +; Routine: SubCE949_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12073,12 +12083,12 @@ Label_E949: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E966: - sty Zp02 ; CPU:$E966 PRG:2966 84 02 +SubCE949_Block: + sty Ptr2Lo ; CPU:$E966 PRG:2966 84 02 lda $040F ; CPU:$E968 PRG:2968 AD 0F 04 jsr $D6D2 ; CPU:$E96B PRG:296B 20 D2 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_E96E +; Routine: SubCE928_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12086,10 +12096,10 @@ Label_E966: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E96E: +SubCE928_Block: rts ; CPU:$E96E PRG:296E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E96F +; Routine: SubCE928_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12097,17 +12107,17 @@ Label_E96E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E96F: +SubCE928_Block_2: lda $02F3 ; CPU:$E96F PRG:296F AD F3 02 sec ; CPU:$E972 PRG:2972 38 sbc #$01 ; CPU:$E973 PRG:2973 E9 01 sta $02F3 ; CPU:$E975 PRG:2975 8D F3 02 cmp #$10 ; CPU:$E978 PRG:2978 C9 10 - bcs Label_E981 ; CPU:$E97A PRG:297A B0 05 + bcs SubCE949_Block_2 ; CPU:$E97A PRG:297A B0 05 lda #$00 ; CPU:$E97C PRG:297C A9 00 sta $040F ; CPU:$E97E PRG:297E 8D 0F 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E981 +; Routine: SubCE949_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +12125,10 @@ Label_E96F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E981: +SubCE949_Block_2: jmp $E949 ; CPU:$E981 PRG:2981 4C 49 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E984 +; Routine: SubCE984 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12126,13 +12136,13 @@ Label_E981: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E984: - lda ZpEC ; CPU:$E984 PRG:2984 A5 EC +SubCE984: + lda GameState ; CPU:$E984 PRG:2984 A5 EC cmp #$20 ; CPU:$E986 PRG:2986 C9 20 - beq Label_E98B ; CPU:$E988 PRG:2988 F0 01 + beq SubCE984_Block ; CPU:$E988 PRG:2988 F0 01 rts ; CPU:$E98A PRG:298A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E98B +; Routine: SubCE984_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12140,22 +12150,22 @@ Label_E984: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E98B: +SubCE984_Block: lda $04D5 ; CPU:$E98B PRG:298B AD D5 04 - beq Label_E9B1 ; CPU:$E98E PRG:298E F0 21 + beq SubCE984_Block_2 ; CPU:$E98E PRG:298E F0 21 lda Zp31 ; CPU:$E990 PRG:2990 A5 31 - bne Label_E9B0 ; CPU:$E992 PRG:2992 D0 1C + bne SubCE984_Block_3 ; CPU:$E992 PRG:2992 D0 1C lda #$02 ; CPU:$E994 PRG:2994 A9 02 sta Zp31 ; CPU:$E996 PRG:2996 85 31 ldx #$00 ; CPU:$E998 PRG:2998 A2 00 lda $040E ; CPU:$E99A PRG:299A AD 0E 04 and #$02 ; CPU:$E99D PRG:299D 29 02 cmp #$02 ; CPU:$E99F PRG:299F C9 02 - bne Label_E9A7 ; CPU:$E9A1 PRG:29A1 D0 04 + bne SubCE984_Block_4 ; CPU:$E9A1 PRG:29A1 D0 04 lda #$08 ; CPU:$E9A3 PRG:29A3 A9 08 - sta ZpFF ; CPU:$E9A5 PRG:29A5 85 FF + sta FrameCounter ; CPU:$E9A5 PRG:29A5 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E9A7 +; Routine: SubCE984_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12163,12 +12173,12 @@ Label_E98B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9A7: +SubCE984_Block_4: jsr $E242 ; CPU:$E9A7 PRG:29A7 20 42 E2 jsr $E259 ; CPU:$E9AA PRG:29AA 20 59 E2 dec $04D5 ; CPU:$E9AD PRG:29AD CE D5 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E9B0 +; Routine: SubCE984_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12176,10 +12186,10 @@ Label_E9A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9B0: +SubCE984_Block_3: rts ; CPU:$E9B0 PRG:29B0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9B1 +; Routine: SubCE984_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12187,16 +12197,16 @@ Label_E9B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9B1: +SubCE984_Block_2: lda #$00 ; CPU:$E9B1 PRG:29B1 A9 00 sta $04FB ; CPU:$E9B3 PRG:29B3 8D FB 04 lda #$30 ; CPU:$E9B6 PRG:29B6 A9 30 - sta ZpEC ; CPU:$E9B8 PRG:29B8 85 EC + sta GameState ; CPU:$E9B8 PRG:29B8 85 EC lda #$01 ; CPU:$E9BA PRG:29BA A9 01 sta $04FA ; CPU:$E9BC PRG:29BC 8D FA 04 rts ; CPU:$E9BF PRG:29BF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9C0 +; Routine: SubCE9C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12204,13 +12214,13 @@ Label_E9B1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9C0: - lda ZpEC ; CPU:$E9C0 PRG:29C0 A5 EC +SubCE9C0: + lda GameState ; CPU:$E9C0 PRG:29C0 A5 EC cmp #$30 ; CPU:$E9C2 PRG:29C2 C9 30 - beq Label_E9C7 ; CPU:$E9C4 PRG:29C4 F0 01 + beq SubCE9C0_Block ; CPU:$E9C4 PRG:29C4 F0 01 rts ; CPU:$E9C6 PRG:29C6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9C7 +; Routine: SubCE9C0_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +12228,17 @@ Label_E9C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9C7: +SubCE9C0_Block: lda $04FA ; CPU:$E9C7 PRG:29C7 AD FA 04 - beq Label_E9DE ; CPU:$E9CA PRG:29CA F0 12 + beq SubCE9C0_Block_2 ; CPU:$E9CA PRG:29CA F0 12 cmp #$01 ; CPU:$E9CC PRG:29CC C9 01 - bne Label_E9DA ; CPU:$E9CE PRG:29CE D0 0A + bne SubCE9C0_Block_3 ; CPU:$E9CE PRG:29CE D0 0A lda $0402 ; CPU:$E9D0 PRG:29D0 AD 02 04 cmp #$0A ; CPU:$E9D3 PRG:29D3 C9 0A - beq Label_E9E1 ; CPU:$E9D5 PRG:29D5 F0 0A + beq SubCE9C0_Block_4 ; CPU:$E9D5 PRG:29D5 F0 0A jsr $C6F9 ; CPU:$E9D7 PRG:29D7 20 F9 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_E9DA +; Routine: SubCE9C0_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12236,11 +12246,11 @@ Label_E9C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9DA: +SubCE9C0_Block_3: dec $04FA ; CPU:$E9DA PRG:29DA CE FA 04 rts ; CPU:$E9DD PRG:29DD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9DE +; Routine: SubCE9C0_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12248,10 +12258,10 @@ Label_E9DA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9DE: +SubCE9C0_Block_2: jsr $E259 ; CPU:$E9DE PRG:29DE 20 59 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E9E1 +; Routine: SubCE9C0_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12259,12 +12269,12 @@ Label_E9DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9E1: +SubCE9C0_Block_4: jsr $CB44 ; CPU:$E9E1 PRG:29E1 20 44 CB ldx #$00 ; CPU:$E9E4 PRG:29E4 A2 00 rts ; CPU:$E9E6 PRG:29E6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9E7 +; Routine: SubCE9E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12272,13 +12282,13 @@ Label_E9E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9E7: - lda ZpEC ; CPU:$E9E7 PRG:29E7 A5 EC +SubCE9E7: + lda GameState ; CPU:$E9E7 PRG:29E7 A5 EC cmp #$08 ; CPU:$E9E9 PRG:29E9 C9 08 - beq Label_E9EE ; CPU:$E9EB PRG:29EB F0 01 + beq SubCE9E7_Block ; CPU:$E9EB PRG:29EB F0 01 rts ; CPU:$E9ED PRG:29ED 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9EE +; Routine: SubCE9E7_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12286,19 +12296,19 @@ Label_E9E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9EE: +SubCE9E7_Block: lda #$64 ; CPU:$E9EE PRG:29EE A9 64 sta $04D5 ; CPU:$E9F0 PRG:29F0 8D D5 04 jsr $EA5B ; CPU:$E9F3 PRG:29F3 20 5B EA lda $04D5 ; CPU:$E9F6 PRG:29F6 AD D5 04 cmp #$0B ; CPU:$E9F9 PRG:29F9 C9 0B - bmi Label_EA29 ; CPU:$E9FB PRG:29FB 30 2C - lda ZpEA ; CPU:$E9FD PRG:29FD A5 EA + bmi SubCEA0D_Block_2 ; CPU:$E9FB PRG:29FB 30 2C + lda SndChannel ; CPU:$E9FD PRG:29FD A5 EA cmp #$09 ; CPU:$E9FF PRG:29FF C9 09 - bmi Label_EA05 ; CPU:$EA01 PRG:2A01 30 02 + bmi SubCE9E7_Block_3 ; CPU:$EA01 PRG:2A01 30 02 lda #$09 ; CPU:$EA03 PRG:2A03 A9 09 ; ----------------------------------------------------------------------------- -; Routine: Label_EA05 +; Routine: SubCE9E7_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12306,13 +12316,13 @@ Label_E9EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA05: +SubCE9E7_Block_3: tax ; CPU:$EA05 PRG:2A05 AA lda $04FC ; CPU:$EA06 PRG:2A06 AD FC 04 sec ; CPU:$EA09 PRG:2A09 38 sbc $C01E,x ; CPU:$EA0A PRG:2A0A FD 1E C0 ; ----------------------------------------------------------------------------- -; Routine: Label_EA0D +; Routine: SubCEA0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12320,21 +12330,21 @@ Label_EA05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA0D: - bcc Label_EA2C ; CPU:$EA0D PRG:2A0D 90 1D +SubCEA0D: + bcc SubCEA0D_Block ; CPU:$EA0D PRG:2A0D 90 1D sta $04FC ; CPU:$EA0F PRG:2A0F 8D FC 04 lda $04D5 ; CPU:$EA12 PRG:2A12 AD D5 04 sec ; CPU:$EA15 PRG:2A15 38 sbc #$05 ; CPU:$EA16 PRG:2A16 E9 05 cmp #$0B ; CPU:$EA18 PRG:2A18 C9 0B - bmi Label_EA29 ; CPU:$EA1A PRG:2A1A 30 0D + bmi SubCEA0D_Block_2 ; CPU:$EA1A PRG:2A1A 30 0D sta $04D5 ; CPU:$EA1C PRG:2A1C 8D D5 04 lda $04FC ; CPU:$EA1F PRG:2A1F AD FC 04 sec ; CPU:$EA22 PRG:2A22 38 sbc $C028,x ; CPU:$EA23 PRG:2A23 FD 28 C0 jmp $EA0D ; CPU:$EA26 PRG:2A26 4C 0D EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA29 +; Routine: SubCEA0D_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +12352,10 @@ Label_EA0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA29: +SubCEA0D_Block_2: sta $04D5 ; CPU:$EA29 PRG:2A29 8D D5 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EA2C +; Routine: SubCEA0D_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12353,13 +12363,13 @@ Label_EA29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA2C: +SubCEA0D_Block: lda $04D5 ; CPU:$EA2C PRG:2A2C AD D5 04 cmp ZpA2 ; CPU:$EA2F PRG:2A2F C5 A2 - bpl Label_EA35 ; CPU:$EA31 PRG:2A31 10 02 + bpl SubCEA0D_Block_3 ; CPU:$EA31 PRG:2A31 10 02 lda ZpA2 ; CPU:$EA33 PRG:2A33 A5 A2 ; ----------------------------------------------------------------------------- -; Routine: Label_EA35 +; Routine: SubCEA0D_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12367,11 +12377,11 @@ Label_EA2C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA35: +SubCEA0D_Block_3: sta $04D5 ; CPU:$EA35 PRG:2A35 8D D5 04 rts ; CPU:$EA38 PRG:2A38 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA39 +; Routine: SubCEA39 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12379,17 +12389,17 @@ Label_EA35: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA39: - lda ZpEC ; CPU:$EA39 PRG:2A39 A5 EC +SubCEA39: + lda GameState ; CPU:$EA39 PRG:2A39 A5 EC cmp #$05 ; CPU:$EA3B PRG:2A3B C9 05 - beq Label_EA48 ; CPU:$EA3D PRG:2A3D F0 09 + beq SubCEA39_Block_3 ; CPU:$EA3D PRG:2A3D F0 09 cmp #$06 ; CPU:$EA3F PRG:2A3F C9 06 - beq Label_EA48 ; CPU:$EA41 PRG:2A41 F0 05 + beq SubCEA39_Block_3 ; CPU:$EA41 PRG:2A41 F0 05 cmp #$16 ; CPU:$EA43 PRG:2A43 C9 16 - beq Label_EA48 ; CPU:$EA45 PRG:2A45 F0 01 + beq SubCEA39_Block_3 ; CPU:$EA45 PRG:2A45 F0 01 rts ; CPU:$EA47 PRG:2A47 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA48 +; Routine: SubCEA39_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +12407,17 @@ Label_EA39: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA48: +SubCEA39_Block_3: lda Zp34 ; CPU:$EA48 PRG:2A48 A5 34 - bne Label_EA5A ; CPU:$EA4A PRG:2A4A D0 0E + bne SubCEA39_Block_5 ; CPU:$EA4A PRG:2A4A D0 0E lda #$3E ; CPU:$EA4C PRG:2A4C A9 3E sta Zp34 ; CPU:$EA4E PRG:2A4E 85 34 lda $04FC ; CPU:$EA50 PRG:2A50 AD FC 04 cmp #$FE ; CPU:$EA53 PRG:2A53 C9 FE - beq Label_EA5A ; CPU:$EA55 PRG:2A55 F0 03 + beq SubCEA39_Block_5 ; CPU:$EA55 PRG:2A55 F0 03 inc $04FC ; CPU:$EA57 PRG:2A57 EE FC 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EA5A +; Routine: SubCEA39_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12415,10 +12425,10 @@ Label_EA48: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA5A: +SubCEA39_Block_5: rts ; CPU:$EA5A PRG:2A5A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA5B +; Routine: SubCEA5B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +12436,10 @@ Label_EA5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA5B: +SubCEA5B: ldy #$14 ; CPU:$EA5B PRG:2A5B A0 14 ; ----------------------------------------------------------------------------- -; 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. @@ -12437,18 +12447,18 @@ Label_EA5B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA5D: +SubCEA5D: lda $04FB ; CPU:$EA5D PRG:2A5D AD FB 04 - beq Label_EA79 ; CPU:$EA60 PRG:2A60 F0 17 + beq SubCEA5D_Block ; CPU:$EA60 PRG:2A60 F0 17 dec $04FB ; CPU:$EA62 PRG:2A62 CE FB 04 lda $04D5 ; CPU:$EA65 PRG:2A65 AD D5 04 sec ; CPU:$EA68 PRG:2A68 38 sbc #$0A ; CPU:$EA69 PRG:2A69 E9 0A cmp #$0B ; CPU:$EA6B PRG:2A6B C9 0B - bpl Label_EA71 ; CPU:$EA6D PRG:2A6D 10 02 + bpl SubCEA5D_Block_2 ; CPU:$EA6D PRG:2A6D 10 02 lda #$0A ; CPU:$EA6F PRG:2A6F A9 0A ; ----------------------------------------------------------------------------- -; Routine: Label_EA71 +; Routine: SubCEA5D_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12456,12 +12466,12 @@ Label_EA5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA71: +SubCEA5D_Block_2: sta $04D5 ; CPU:$EA71 PRG:2A71 8D D5 04 ldy #$0A ; CPU:$EA74 PRG:2A74 A0 0A jmp $EA5D ; CPU:$EA76 PRG:2A76 4C 5D EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA79 +; Routine: SubCEA5D_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +12479,11 @@ Label_EA71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA79: +SubCEA5D_Block: sty ZpA2 ; CPU:$EA79 PRG:2A79 84 A2 rts ; CPU:$EA7B PRG:2A7B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA7C +; Routine: SubCEA7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12481,12 +12491,12 @@ Label_EA79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA7C: +SubCEA7C: lda Zp98 ; CPU:$EA7C PRG:2A7C A5 98 - bne Label_EA81 ; CPU:$EA7E PRG:2A7E D0 01 + bne SubCEA7C_Block ; CPU:$EA7E PRG:2A7E D0 01 rts ; CPU:$EA80 PRG:2A80 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA81 +; Routine: SubCEA7C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12494,13 +12504,13 @@ Label_EA7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA81: +SubCEA7C_Block: lda ZpAF ; CPU:$EA81 PRG:2A81 A5 AF - beq Label_EA89 ; CPU:$EA83 PRG:2A83 F0 04 + beq SubCEA7C_Block_2 ; CPU:$EA83 PRG:2A83 F0 04 lda #$04 ; CPU:$EA85 PRG:2A85 A9 04 - sta ZpFF ; CPU:$EA87 PRG:2A87 85 FF + sta FrameCounter ; CPU:$EA87 PRG:2A87 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_EA89 +; Routine: SubCEA7C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12508,27 +12518,27 @@ Label_EA81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA89: - lda ZpEA ; CPU:$EA89 PRG:2A89 A5 EA +SubCEA7C_Block_2: + lda SndChannel ; CPU:$EA89 PRG:2A89 A5 EA cmp #$08 ; CPU:$EA8B PRG:2A8B C9 08 - bpl Label_EAB2 ; CPU:$EA8D PRG:2A8D 10 23 + bpl SubCEA7C_Block_3 ; CPU:$EA8D PRG:2A8D 10 23 lda #$21 ; CPU:$EA8F PRG:2A8F A9 21 - sta ZpA1 ; CPU:$EA91 PRG:2A91 85 A1 + sta ScorePtrHi ; CPU:$EA91 PRG:2A91 85 A1 lda #$7A ; CPU:$EA93 PRG:2A93 A9 7A - sta ZpA0 ; CPU:$EA95 PRG:2A95 85 A0 + sta ScorePtrLo ; CPU:$EA95 PRG:2A95 85 A0 lda ZpAF ; CPU:$EA97 PRG:2A97 A5 AF - bne Label_EAAD ; CPU:$EA99 PRG:2A99 D0 12 - lda ZpEA ; CPU:$EA9B PRG:2A9B A5 EA + bne SubCEA7C_Block_6 ; CPU:$EA99 PRG:2A99 D0 12 + lda SndChannel ; CPU:$EA9B PRG:2A9B A5 EA cmp #$05 ; CPU:$EA9D PRG:2A9D C9 05 - bne Label_EAAD ; CPU:$EA9F PRG:2A9F D0 0C + bne SubCEA7C_Block_6 ; CPU:$EA9F PRG:2A9F D0 0C lda ZpA5 ; CPU:$EAA1 PRG:2AA1 A5 A5 cmp #$01 ; CPU:$EAA3 PRG:2AA3 C9 01 - beq Label_EAAD ; CPU:$EAA5 PRG:2AA5 F0 06 + beq SubCEA7C_Block_6 ; CPU:$EAA5 PRG:2AA5 F0 06 lda Zp98 ; CPU:$EAA7 PRG:2AA7 A5 98 eor #$03 ; CPU:$EAA9 PRG:2AA9 49 03 - bne Label_EAAF ; CPU:$EAAB PRG:2AAB D0 02 + bne SubCEA7C_Block_7 ; CPU:$EAAB PRG:2AAB D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EAAD +; Routine: SubCEA7C_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12536,10 +12546,10 @@ Label_EA89: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAAD: +SubCEA7C_Block_6: lda Zp98 ; CPU:$EAAD PRG:2AAD A5 98 ; ----------------------------------------------------------------------------- -; Routine: Label_EAAF +; Routine: SubCEA7C_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12547,10 +12557,10 @@ Label_EAAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAAF: +SubCEA7C_Block_7: jmp $EAFE ; CPU:$EAAF PRG:2AAF 4C FE EA ; ----------------------------------------------------------------------------- -; Routine: Label_EAB2 +; Routine: SubCEA7C_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +12568,19 @@ Label_EAAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAB2: - bne Label_EAEB ; CPU:$EAB2 PRG:2AB2 D0 37 +SubCEA7C_Block_3: + bne SubCEA7C_Block_8 ; CPU:$EAB2 PRG:2AB2 D0 37 lda Zp98 ; CPU:$EAB4 PRG:2AB4 A5 98 cmp #$05 ; CPU:$EAB6 PRG:2AB6 C9 05 - bpl Label_EAC7 ; CPU:$EAB8 PRG:2AB8 10 0D + bpl SubCEA7C_Block_9 ; CPU:$EAB8 PRG:2AB8 10 0D lda #$20 ; CPU:$EABA PRG:2ABA A9 20 - sta ZpA1 ; CPU:$EABC PRG:2ABC 85 A1 + sta ScorePtrHi ; CPU:$EABC PRG:2ABC 85 A1 lda #$FA ; CPU:$EABE PRG:2ABE A9 FA - sta ZpA0 ; CPU:$EAC0 PRG:2AC0 85 A0 + sta ScorePtrLo ; CPU:$EAC0 PRG:2AC0 85 A0 lda Zp98 ; CPU:$EAC2 PRG:2AC2 A5 98 jmp $EAFE ; CPU:$EAC4 PRG:2AC4 4C FE EA ; ----------------------------------------------------------------------------- -; Routine: Label_EAC7 +; Routine: SubCEA7C_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12578,19 +12588,19 @@ Label_EAB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAC7: +SubCEA7C_Block_9: cmp #$09 ; CPU:$EAC7 PRG:2AC7 C9 09 - bpl Label_EADB ; CPU:$EAC9 PRG:2AC9 10 10 + bpl SubCEA7C_Block_10 ; CPU:$EAC9 PRG:2AC9 10 10 lda #$21 ; CPU:$EACB PRG:2ACB A9 21 - sta ZpA1 ; CPU:$EACD PRG:2ACD 85 A1 + sta ScorePtrHi ; CPU:$EACD PRG:2ACD 85 A1 lda #$38 ; CPU:$EACF PRG:2ACF A9 38 - sta ZpA0 ; CPU:$EAD1 PRG:2AD1 85 A0 + sta ScorePtrLo ; CPU:$EAD1 PRG:2AD1 85 A0 lda Zp98 ; CPU:$EAD3 PRG:2AD3 A5 98 sec ; CPU:$EAD5 PRG:2AD5 38 sbc #$04 ; CPU:$EAD6 PRG:2AD6 E9 04 jmp $EAFE ; CPU:$EAD8 PRG:2AD8 4C FE EA ; ----------------------------------------------------------------------------- -; Routine: Label_EADB +; Routine: SubCEA7C_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12598,17 +12608,17 @@ Label_EAC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EADB: +SubCEA7C_Block_10: lda #$21 ; CPU:$EADB PRG:2ADB A9 21 - sta ZpA1 ; CPU:$EADD PRG:2ADD 85 A1 + sta ScorePtrHi ; CPU:$EADD PRG:2ADD 85 A1 lda #$7A ; CPU:$EADF PRG:2ADF A9 7A - sta ZpA0 ; CPU:$EAE1 PRG:2AE1 85 A0 + sta ScorePtrLo ; CPU:$EAE1 PRG:2AE1 85 A0 lda Zp98 ; CPU:$EAE3 PRG:2AE3 A5 98 sec ; CPU:$EAE5 PRG:2AE5 38 sbc #$08 ; CPU:$EAE6 PRG:2AE6 E9 08 jmp $EAFE ; CPU:$EAE8 PRG:2AE8 4C FE EA ; ----------------------------------------------------------------------------- -; Routine: Label_EAEB +; Routine: SubCEA7C_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12616,18 +12626,18 @@ Label_EADB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAEB: +SubCEA7C_Block_8: tay ; CPU:$EAEB PRG:2AEB A8 lda $C0B6,y ; CPU:$EAEC PRG:2AEC B9 B6 C0 clc ; CPU:$EAEF PRG:2AEF 18 adc Zp98 ; CPU:$EAF0 PRG:2AF0 65 98 tax ; CPU:$EAF2 PRG:2AF2 AA lda $C04B,x ; CPU:$EAF3 PRG:2AF3 BD 4B C0 - sta ZpA1 ; CPU:$EAF6 PRG:2AF6 85 A1 + sta ScorePtrHi ; CPU:$EAF6 PRG:2AF6 85 A1 lda $C071,x ; CPU:$EAF8 PRG:2AF8 BD 71 C0 jmp $EB0D ; CPU:$EAFB PRG:2AFB 4C 0D EB ; ----------------------------------------------------------------------------- -; Routine: Label_EAFE +; Routine: SubCEAFE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12635,14 +12645,14 @@ Label_EAEB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAFE: +SubCEAFE: sec ; CPU:$EAFE PRG:2AFE 38 sbc #$01 ; CPU:$EAFF PRG:2AFF E9 01 sta ZpA2 ; CPU:$EB01 PRG:2B01 85 A2 clc ; CPU:$EB03 PRG:2B03 18 adc ZpA2 ; CPU:$EB04 PRG:2B04 65 A2 sta ZpA2 ; CPU:$EB06 PRG:2B06 85 A2 - lda ZpA0 ; CPU:$EB08 PRG:2B08 A5 A0 + lda ScorePtrLo ; CPU:$EB08 PRG:2B08 A5 A0 sec ; CPU:$EB0A PRG:2B0A 38 sbc ZpA2 ; CPU:$EB0B PRG:2B0B E5 A2 ; ----------------------------------------------------------------------------- @@ -12655,12 +12665,12 @@ Label_EAFE: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSoundChannel6: - sta ZpA0 ; CPU:$EB0D PRG:2B0D 85 A0 + sta ScorePtrLo ; CPU:$EB0D PRG:2B0D 85 A0 lda ZpBC ; CPU:$EB0F PRG:2B0F A5 BC jsr $EE5E ; CPU:$EB11 PRG:2B11 20 5E EE rts ; CPU:$EB14 PRG:2B14 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB15 +; Routine: SubCEB15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,8 +12678,8 @@ UpdateSoundChannel6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB15: - ldx ZpEA ; CPU:$EB15 PRG:2B15 A6 EA +SubCEB15: + ldx SndChannel ; CPU:$EB15 PRG:2B15 A6 EA lda $C032,x ; CPU:$EB17 PRG:2B17 BD 32 C0 and #$0F ; CPU:$EB1A PRG:2B1A 29 0F tay ; CPU:$EB1C PRG:2B1C A8 @@ -12682,18 +12692,18 @@ Label_EB15: tax ; CPU:$EB26 PRG:2B26 AA lda #$00 ; CPU:$EB27 PRG:2B27 A9 00 sta $04FD ; CPU:$EB29 PRG:2B29 8D FD 04 - lda ZpEA ; CPU:$EB2C PRG:2B2C A5 EA + lda SndChannel ; CPU:$EB2C PRG:2B2C A5 EA cmp #$05 ; CPU:$EB2E PRG:2B2E C9 05 - beq Label_EB62 ; CPU:$EB30 PRG:2B30 F0 30 + beq SubCEB15_Block_2 ; CPU:$EB30 PRG:2B30 F0 30 cmp #$08 ; CPU:$EB32 PRG:2B32 C9 08 - beq Label_EB62 ; CPU:$EB34 PRG:2B34 F0 2C + beq SubCEB15_Block_2 ; CPU:$EB34 PRG:2B34 F0 2C cmp #$09 ; CPU:$EB36 PRG:2B36 C9 09 - bpl Label_EB75 ; CPU:$EB38 PRG:2B38 10 3B + bpl SubCEB66_Block ; CPU:$EB38 PRG:2B38 10 3B inc $0487 ; CPU:$EB3A PRG:2B3A EE 87 04 lda #$0F ; CPU:$EB3D PRG:2B3D A9 0F sta ZpA2 ; CPU:$EB3F PRG:2B3F 85 A2 ; ----------------------------------------------------------------------------- -; Routine: Label_EB41 +; Routine: SubCEB41 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +12711,14 @@ Label_EB15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB41: +SubCEB41: dex ; CPU:$EB41 PRG:2B41 CA - bmi Label_EB4D ; CPU:$EB42 PRG:2B42 30 09 + bmi SubCEB41_Block ; CPU:$EB42 PRG:2B42 30 09 jsr $EBE5 ; CPU:$EB44 PRG:2B44 20 E5 EB sta $0498,x ; CPU:$EB47 PRG:2B47 9D 98 04 jmp $EB41 ; CPU:$EB4A PRG:2B4A 4C 41 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB4D +; Routine: SubCEB41_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +12726,14 @@ Label_EB41: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB4D: +SubCEB41_Block: inc $0487 ; CPU:$EB4D PRG:2B4D EE 87 04 lda #$F0 ; CPU:$EB50 PRG:2B50 A9 F0 sta ZpA2 ; CPU:$EB52 PRG:2B52 85 A2 tya ; CPU:$EB54 PRG:2B54 98 tax ; CPU:$EB55 PRG:2B55 AA ; ----------------------------------------------------------------------------- -; Routine: Label_EB56 +; Routine: SubCEB56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12731,14 +12741,14 @@ Label_EB4D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB56: +SubCEB56: dex ; CPU:$EB56 PRG:2B56 CA - bmi Label_EB8A ; CPU:$EB57 PRG:2B57 30 31 + bmi SubCEB7B_Block ; CPU:$EB57 PRG:2B57 30 31 jsr $EBE5 ; CPU:$EB59 PRG:2B59 20 E5 EB sta $04A0,x ; CPU:$EB5C PRG:2B5C 9D A0 04 jmp $EB56 ; CPU:$EB5F PRG:2B5F 4C 56 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB62 +; Routine: SubCEB15_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12746,11 +12756,11 @@ Label_EB56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB62: +SubCEB15_Block_2: lda #$0F ; CPU:$EB62 PRG:2B62 A9 0F sta ZpA2 ; CPU:$EB64 PRG:2B64 85 A2 ; ----------------------------------------------------------------------------- -; Routine: Label_EB66 +; Routine: SubCEB66 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12758,15 +12768,15 @@ Label_EB62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB66: +SubCEB66: inc $0487 ; CPU:$EB66 PRG:2B66 EE 87 04 dex ; CPU:$EB69 PRG:2B69 CA - bmi Label_EB75 ; CPU:$EB6A PRG:2B6A 30 09 + bmi SubCEB66_Block ; CPU:$EB6A PRG:2B6A 30 09 jsr $EBE5 ; CPU:$EB6C PRG:2B6C 20 E5 EB sta $0490,x ; CPU:$EB6F PRG:2B6F 9D 90 04 jmp $EB66 ; CPU:$EB72 PRG:2B72 4C 66 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB75 +; Routine: SubCEB66_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12774,13 +12784,13 @@ Label_EB66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB75: +SubCEB66_Block: lda #$F0 ; CPU:$EB75 PRG:2B75 A9 F0 sta ZpA2 ; CPU:$EB77 PRG:2B77 85 A2 tya ; CPU:$EB79 PRG:2B79 98 tax ; CPU:$EB7A PRG:2B7A AA ; ----------------------------------------------------------------------------- -; Routine: Label_EB7B +; Routine: SubCEB7B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +12798,15 @@ Label_EB75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB7B: +SubCEB7B: inc $0487 ; CPU:$EB7B PRG:2B7B EE 87 04 dex ; CPU:$EB7E PRG:2B7E CA - bmi Label_EB8A ; CPU:$EB7F PRG:2B7F 30 09 + bmi SubCEB7B_Block ; CPU:$EB7F PRG:2B7F 30 09 jsr $EBE5 ; CPU:$EB81 PRG:2B81 20 E5 EB sta $0488,x ; CPU:$EB84 PRG:2B84 9D 88 04 jmp $EB7B ; CPU:$EB87 PRG:2B87 4C 7B EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB8A +; Routine: SubCEB7B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12804,14 +12814,14 @@ Label_EB7B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB8A: - ldx ZpEA ; CPU:$EB8A PRG:2B8A A6 EA +SubCEB7B_Block: + ldx SndChannel ; CPU:$EB8A PRG:2B8A A6 EA lda $C0D1,x ; CPU:$EB8C PRG:2B8C BD D1 C0 cmp #$02 ; CPU:$EB8F PRG:2B8F C9 02 - bne Label_EBC1 ; CPU:$EB91 PRG:2B91 D0 2E + bne SubCEB7B_Block_2 ; CPU:$EB91 PRG:2B91 D0 2E ldx #$06 ; CPU:$EB93 PRG:2B93 A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_EB95 +; Routine: SubCEB95 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +12829,11 @@ Label_EB8A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB95: +SubCEB95: lda $0498,x ; CPU:$EB95 PRG:2B95 BD 98 04 cmp $04A0,x ; CPU:$EB98 PRG:2B98 DD A0 04 - beq Label_EBAF ; CPU:$EB9B PRG:2B9B F0 12 - bpl Label_EBC0 ; CPU:$EB9D PRG:2B9D 10 21 + beq SubCEB95_Block ; CPU:$EB9B PRG:2B9B F0 12 + bpl SubCEB95_Block_6 ; CPU:$EB9D PRG:2B9D 10 21 sta Zp0D ; CPU:$EB9F PRG:2B9F 85 0D lda $04A0,x ; CPU:$EBA1 PRG:2BA1 BD A0 04 sta $0498,x ; CPU:$EBA4 PRG:2BA4 9D 98 04 @@ -12831,7 +12841,7 @@ Label_EB95: sta $04A0,x ; CPU:$EBA9 PRG:2BA9 9D A0 04 jmp $EB95 ; CPU:$EBAC PRG:2BAC 4C 95 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EBAF +; Routine: SubCEB95_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12839,16 +12849,16 @@ Label_EB95: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBAF: +SubCEB95_Block: dex ; CPU:$EBAF PRG:2BAF CA - bpl Label_EB95 ; CPU:$EBB0 PRG:2BB0 10 E3 + bpl SubCEB95 ; CPU:$EBB0 PRG:2BB0 10 E3 lda $04A0 ; CPU:$EBB2 PRG:2BB2 AD A0 04 cmp #$00 ; CPU:$EBB5 PRG:2BB5 C9 00 - beq Label_EBBD ; CPU:$EBB7 PRG:2BB7 F0 04 + beq SubCEB95_Block_3 ; CPU:$EBB7 PRG:2BB7 F0 04 dec $04A0 ; CPU:$EBB9 PRG:2BB9 CE A0 04 rts ; CPU:$EBBC PRG:2BBC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EBBD +; Routine: SubCEB95_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +12866,10 @@ Label_EBAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBBD: +SubCEB95_Block_3: inc $0498 ; CPU:$EBBD PRG:2BBD EE 98 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EBC0 +; Routine: SubCEB95_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +12877,10 @@ Label_EBBD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBC0: +SubCEB95_Block_6: rts ; CPU:$EBC0 PRG:2BC0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EBC1 +; Routine: SubCEB7B_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +12888,12 @@ Label_EBC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBC1: +SubCEB7B_Block_2: cpx #$05 ; CPU:$EBC1 PRG:2BC1 E0 05 - bne Label_EBC8 ; CPU:$EBC3 PRG:2BC3 D0 03 + bne SubCEB95_Block_4 ; CPU:$EBC3 PRG:2BC3 D0 03 jmp $ED9F ; CPU:$EBC5 PRG:2BC5 4C 9F ED ; ----------------------------------------------------------------------------- -; Routine: Label_EBC8 +; Routine: SubCEB95_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12891,21 +12901,21 @@ Label_EBC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBC8: +SubCEB95_Block_4: cpx #$09 ; CPU:$EBC8 PRG:2BC8 E0 09 - bne Label_EBC0 ; CPU:$EBCA PRG:2BCA D0 F4 + bne SubCEB95_Block_6 ; CPU:$EBCA PRG:2BCA D0 F4 lda $0489 ; CPU:$EBCC PRG:2BCC AD 89 04 cmp $048A ; CPU:$EBCF PRG:2BCF CD 8A 04 - bpl Label_EBC0 ; CPU:$EBD2 PRG:2BD2 10 EC + bpl SubCEB95_Block_6 ; CPU:$EBD2 PRG:2BD2 10 EC lda #$0A ; CPU:$EBD4 PRG:2BD4 A9 0A - sta ZpEA ; CPU:$EBD6 PRG:2BD6 85 EA + sta SndChannel ; CPU:$EBD6 PRG:2BD6 85 EA lda $0488 ; CPU:$EBD8 PRG:2BD8 AD 88 04 sta $0498 ; CPU:$EBDB PRG:2BDB 8D 98 04 lda $0489 ; CPU:$EBDE PRG:2BDE AD 89 04 sta $0499 ; CPU:$EBE1 PRG:2BE1 8D 99 04 rts ; CPU:$EBE4 PRG:2BE4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EBE5 +; Routine: SubCEBE5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12913,12 +12923,12 @@ Label_EBC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBE5: +SubCEBE5: lda Zp18,x ; CPU:$EBE5 PRG:2BE5 B5 18 pha ; CPU:$EBE7 PRG:2BE7 48 lda ZpA2 ; CPU:$EBE8 PRG:2BE8 A5 A2 cmp #$0F ; CPU:$EBEA PRG:2BEA C9 0F - beq Label_EBF6 ; CPU:$EBEC PRG:2BEC F0 08 + beq SubCEBE5_Block ; CPU:$EBEC PRG:2BEC F0 08 pla ; CPU:$EBEE PRG:2BEE 68 ror a ; CPU:$EBEF PRG:2BEF 6A ror a ; CPU:$EBF0 PRG:2BF0 6A @@ -12926,7 +12936,7 @@ Label_EBE5: ror a ; CPU:$EBF2 PRG:2BF2 6A jmp $EBF7 ; CPU:$EBF3 PRG:2BF3 4C F7 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EBF6 +; Routine: SubCEBE5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12934,10 +12944,10 @@ Label_EBE5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBF6: +SubCEBE5_Block: pla ; CPU:$EBF6 PRG:2BF6 68 ; ----------------------------------------------------------------------------- -; Routine: Label_EBF7 +; Routine: SubCEBF7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12945,14 +12955,14 @@ Label_EBF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBF7: +SubCEBF7: and #$0F ; CPU:$EBF7 PRG:2BF7 29 0F - beq Label_EC09 ; CPU:$EBF9 PRG:2BF9 F0 0E + beq SubCEBF7_Block ; CPU:$EBF9 PRG:2BF9 F0 0E cmp #$0A ; CPU:$EBFB PRG:2BFB C9 0A - bmi Label_EC01 ; CPU:$EBFD PRG:2BFD 30 02 + bmi SubCEC01 ; CPU:$EBFD PRG:2BFD 30 02 and #$07 ; CPU:$EBFF PRG:2BFF 29 07 ; ----------------------------------------------------------------------------- -; Routine: Label_EC01 +; Routine: SubCEC01 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12960,14 +12970,14 @@ Label_EBF7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC01: +SubCEC01: pha ; CPU:$EC01 PRG:2C01 48 lda #$00 ; CPU:$EC02 PRG:2C02 A9 00 sta $0487 ; CPU:$EC04 PRG:2C04 8D 87 04 pla ; CPU:$EC07 PRG:2C07 68 rts ; CPU:$EC08 PRG:2C08 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC09 +; Routine: SubCEBF7_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12975,11 +12985,11 @@ Label_EC01: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC09: +SubCEBF7_Block: adc $0487 ; CPU:$EC09 PRG:2C09 6D 87 04 jmp $EC01 ; CPU:$EC0C PRG:2C0C 4C 01 EC ; ----------------------------------------------------------------------------- -; Routine: Label_EC0F +; Routine: SubCEC0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +12997,11 @@ Label_EC09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC0F: +SubCEC0F: lda #$00 ; CPU:$EC0F PRG:2C0F A9 00 tax ; CPU:$EC11 PRG:2C11 AA ; ----------------------------------------------------------------------------- -; Routine: Label_EC12 +; Routine: SubCEC0F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +13009,14 @@ Label_EC0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC12: +SubCEC0F_Block: sta $0480,x ; CPU:$EC12 PRG:2C12 9D 80 04 inx ; CPU:$EC15 PRG:2C15 E8 cpx #$40 ; CPU:$EC16 PRG:2C16 E0 40 - bne Label_EC12 ; CPU:$EC18 PRG:2C18 D0 F8 + bne SubCEC0F_Block ; CPU:$EC18 PRG:2C18 D0 F8 rts ; CPU:$EC1A PRG:2C1A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC1B +; Routine: SubCEC1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13014,18 +13024,18 @@ Label_EC12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC1B: - ldx ZpEA ; CPU:$EC1B PRG:2C1B A6 EA +SubCEC1B: + ldx SndChannel ; CPU:$EC1B PRG:2C1B A6 EA lda $C0D1,x ; CPU:$EC1D PRG:2C1D BD D1 C0 cmp #$01 ; CPU:$EC20 PRG:2C20 C9 01 - beq Label_EC2F ; CPU:$EC22 PRG:2C22 F0 0B + beq SubCEC2F ; CPU:$EC22 PRG:2C22 F0 0B cmp #$02 ; CPU:$EC24 PRG:2C24 C9 02 - beq Label_EC5B ; CPU:$EC26 PRG:2C26 F0 33 + beq SubCEC1B_Block ; CPU:$EC26 PRG:2C26 F0 33 cmp #$03 ; CPU:$EC28 PRG:2C28 C9 03 - beq Label_EC8B ; CPU:$EC2A PRG:2C2A F0 5F + beq SubCEC1B_Block_2 ; CPU:$EC2A PRG:2C2A F0 5F jmp $ED0F ; CPU:$EC2C PRG:2C2C 4C 0F ED ; ----------------------------------------------------------------------------- -; Routine: Label_EC2F +; Routine: SubCEC2F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13033,13 +13043,13 @@ Label_EC1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC2F: +SubCEC2F: pha ; CPU:$EC2F PRG:2C2F 48 txa ; CPU:$EC30 PRG:2C30 8A pha ; CPU:$EC31 PRG:2C31 48 ldx #$00 ; CPU:$EC32 PRG:2C32 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EC34 +; Routine: SubCEC53_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13047,13 +13057,13 @@ Label_EC2F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC34: +SubCEC53_Block: lda $0498,x ; CPU:$EC34 PRG:2C34 BD 98 04 clc ; CPU:$EC37 PRG:2C37 18 adc $04A0,x ; CPU:$EC38 PRG:2C38 7D A0 04 adc $04B0,x ; CPU:$EC3B PRG:2C3B 7D B0 04 cmp #$0A ; CPU:$EC3E PRG:2C3E C9 0A - bmi Label_EC4F ; CPU:$EC40 PRG:2C40 30 0D + bmi SubCEC2F_Block ; CPU:$EC40 PRG:2C40 30 0D sec ; CPU:$EC42 PRG:2C42 38 sbc #$0A ; CPU:$EC43 PRG:2C43 E9 0A sta $04A8,x ; CPU:$EC45 PRG:2C45 9D A8 04 @@ -13061,7 +13071,7 @@ Label_EC34: inc $04B0,x ; CPU:$EC49 PRG:2C49 FE B0 04 jmp $EC53 ; CPU:$EC4C PRG:2C4C 4C 53 EC ; ----------------------------------------------------------------------------- -; Routine: Label_EC4F +; Routine: SubCEC2F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13069,11 +13079,11 @@ Label_EC34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC4F: +SubCEC2F_Block: sta $04A8,x ; CPU:$EC4F PRG:2C4F 9D A8 04 inx ; CPU:$EC52 PRG:2C52 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_EC53 +; Routine: SubCEC53 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +13091,15 @@ Label_EC4F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC53: +SubCEC53: cpx #$08 ; CPU:$EC53 PRG:2C53 E0 08 - bne Label_EC34 ; CPU:$EC55 PRG:2C55 D0 DD + bne SubCEC53_Block ; CPU:$EC55 PRG:2C55 D0 DD pla ; CPU:$EC57 PRG:2C57 68 tax ; CPU:$EC58 PRG:2C58 AA pla ; CPU:$EC59 PRG:2C59 68 rts ; CPU:$EC5A PRG:2C5A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC5B +; Routine: SubCEC1B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13097,10 +13107,10 @@ Label_EC53: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC5B: +SubCEC1B_Block: ldx #$00 ; CPU:$EC5B PRG:2C5B A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EC5D +; Routine: SubCEC77_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13108,20 +13118,20 @@ Label_EC5B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC5D: +SubCEC77_Block: lda $04A0,x ; CPU:$EC5D PRG:2C5D BD A0 04 clc ; CPU:$EC60 PRG:2C60 18 adc $04B0,x ; CPU:$EC61 PRG:2C61 7D B0 04 cmp $0498,x ; CPU:$EC64 PRG:2C64 DD 98 04 - beq Label_EC75 ; CPU:$EC67 PRG:2C67 F0 0C - bmi Label_EC75 ; CPU:$EC69 PRG:2C69 30 0A + beq SubCEC53_Block_3 ; CPU:$EC67 PRG:2C67 F0 0C + bmi SubCEC53_Block_3 ; CPU:$EC69 PRG:2C69 30 0A lda #$0A ; CPU:$EC6B PRG:2C6B A9 0A inx ; CPU:$EC6D PRG:2C6D E8 inc $04B0,x ; CPU:$EC6E PRG:2C6E FE B0 04 dex ; CPU:$EC71 PRG:2C71 CA jmp $EC77 ; CPU:$EC72 PRG:2C72 4C 77 EC ; ----------------------------------------------------------------------------- -; Routine: Label_EC75 +; Routine: SubCEC53_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13129,10 +13139,10 @@ Label_EC5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC75: +SubCEC53_Block_3: lda #$00 ; CPU:$EC75 PRG:2C75 A9 00 ; ----------------------------------------------------------------------------- -; 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. @@ -13140,7 +13150,7 @@ Label_EC75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC77: +SubCEC77: clc ; CPU:$EC77 PRG:2C77 18 adc $0498,x ; CPU:$EC78 PRG:2C78 7D 98 04 sec ; CPU:$EC7B PRG:2C7B 38 @@ -13149,10 +13159,10 @@ Label_EC77: sta $04A8,x ; CPU:$EC82 PRG:2C82 9D A8 04 inx ; CPU:$EC85 PRG:2C85 E8 cpx #$08 ; CPU:$EC86 PRG:2C86 E0 08 - bne Label_EC5D ; CPU:$EC88 PRG:2C88 D0 D3 + bne SubCEC77_Block ; CPU:$EC88 PRG:2C88 D0 D3 rts ; CPU:$EC8A PRG:2C8A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC8B +; Routine: SubCEC1B_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13160,30 +13170,30 @@ Label_EC77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC8B: +SubCEC1B_Block_2: ldx $0490 ; CPU:$EC8B PRG:2C8B AE 90 04 lda #$B8 ; CPU:$EC8E PRG:2C8E A9 B8 - sta Zp00 ; CPU:$EC90 PRG:2C90 85 00 + sta PtrLo ; CPU:$EC90 PRG:2C90 85 00 lda #$04 ; CPU:$EC92 PRG:2C92 A9 04 - sta Zp01 ; CPU:$EC94 PRG:2C94 85 01 + sta PtrHi ; CPU:$EC94 PRG:2C94 85 01 lda #$98 ; CPU:$EC96 PRG:2C96 A9 98 - sta Zp02 ; CPU:$EC98 PRG:2C98 85 02 + sta Ptr2Lo ; CPU:$EC98 PRG:2C98 85 02 lda #$04 ; CPU:$EC9A PRG:2C9A A9 04 sta Zp03 ; CPU:$EC9C PRG:2C9C 85 03 jsr $ECDA ; CPU:$EC9E PRG:2C9E 20 DA EC ldx $0491 ; CPU:$ECA1 PRG:2CA1 AE 91 04 - beq Label_ECB9 ; CPU:$ECA4 PRG:2CA4 F0 13 + beq SubCEC77_Block_2 ; CPU:$ECA4 PRG:2CA4 F0 13 lda #$BC ; CPU:$ECA6 PRG:2CA6 A9 BC - sta Zp00 ; CPU:$ECA8 PRG:2CA8 85 00 + sta PtrLo ; CPU:$ECA8 PRG:2CA8 85 00 lda #$04 ; CPU:$ECAA PRG:2CAA A9 04 - sta Zp01 ; CPU:$ECAC PRG:2CAC 85 01 + sta PtrHi ; CPU:$ECAC PRG:2CAC 85 01 lda #$A1 ; CPU:$ECAE PRG:2CAE A9 A1 - sta Zp02 ; CPU:$ECB0 PRG:2CB0 85 02 + sta Ptr2Lo ; CPU:$ECB0 PRG:2CB0 85 02 lda #$04 ; CPU:$ECB2 PRG:2CB2 A9 04 sta Zp03 ; CPU:$ECB4 PRG:2CB4 85 03 jsr $ECDA ; CPU:$ECB6 PRG:2CB6 20 DA EC ; ----------------------------------------------------------------------------- -; Routine: Label_ECB9 +; Routine: SubCEC77_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13191,11 +13201,11 @@ Label_EC8B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECB9: +SubCEC77_Block_2: jsr $EC2F ; CPU:$ECB9 PRG:2CB9 20 2F EC - lda ZpEA ; CPU:$ECBC PRG:2CBC A5 EA + lda SndChannel ; CPU:$ECBC PRG:2CBC A5 EA cmp #$05 ; CPU:$ECBE PRG:2CBE C9 05 - bne Label_ECD9 ; CPU:$ECC0 PRG:2CC0 D0 17 + bne SubCEC77_Block_3 ; CPU:$ECC0 PRG:2CC0 D0 17 lda #$00 ; CPU:$ECC2 PRG:2CC2 A9 00 sta $0499 ; CPU:$ECC4 PRG:2CC4 8D 99 04 lda $0490 ; CPU:$ECC7 PRG:2CC7 AD 90 04 @@ -13205,7 +13215,7 @@ Label_ECB9: lda $04B9 ; CPU:$ECD3 PRG:2CD3 AD B9 04 sta $04B1 ; CPU:$ECD6 PRG:2CD6 8D B1 04 ; ----------------------------------------------------------------------------- -; Routine: Label_ECD9 +; Routine: SubCEC77_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13213,10 +13223,10 @@ Label_ECB9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECD9: +SubCEC77_Block_3: rts ; CPU:$ECD9 PRG:2CD9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ECDA +; Routine: SubCECDA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13224,13 +13234,13 @@ Label_ECD9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECDA: +SubCECDA: txa ; CPU:$ECDA PRG:2CDA 8A pha ; CPU:$ECDB PRG:2CDB 48 ldy #$00 ; CPU:$ECDC PRG:2CDC A0 00 sty Zp90 ; CPU:$ECDE PRG:2CDE 84 90 ; ----------------------------------------------------------------------------- -; Routine: Label_ECE0 +; Routine: SubCECDA_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +13248,10 @@ Label_ECDA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECE0: - lda (Zp00),y ; CPU:$ECE0 PRG:2CE0 B1 00 +SubCECDA_Block_4: + lda (PtrLo),y ; CPU:$ECE0 PRG:2CE0 B1 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ECE2 +; Routine: SubCECDA_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13249,16 +13259,16 @@ Label_ECE0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECE2: +SubCECDA_Block_2: clc ; CPU:$ECE2 PRG:2CE2 18 adc $0488,y ; CPU:$ECE3 PRG:2CE3 79 88 04 cmp #$0A ; CPU:$ECE6 PRG:2CE6 C9 0A - bmi Label_ECEF ; CPU:$ECE8 PRG:2CE8 30 05 + bmi SubCECDA_Block ; CPU:$ECE8 PRG:2CE8 30 05 sec ; CPU:$ECEA PRG:2CEA 38 sbc #$0A ; CPU:$ECEB PRG:2CEB E9 0A inc Zp90 ; CPU:$ECED PRG:2CED E6 90 ; ----------------------------------------------------------------------------- -; Routine: Label_ECEF +; Routine: SubCECDA_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13266,25 +13276,25 @@ Label_ECE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECEF: +SubCECDA_Block: dex ; CPU:$ECEF PRG:2CEF CA - bne Label_ECE2 ; CPU:$ECF0 PRG:2CF0 D0 F0 - sta (Zp02),y ; CPU:$ECF2 PRG:2CF2 91 02 + bne SubCECDA_Block_2 ; CPU:$ECF0 PRG:2CF0 D0 F0 + sta (Ptr2Lo),y ; CPU:$ECF2 PRG:2CF2 91 02 lda Zp90 ; CPU:$ECF4 PRG:2CF4 A5 90 iny ; CPU:$ECF6 PRG:2CF6 C8 - sta (Zp00),y ; CPU:$ECF7 PRG:2CF7 91 00 + sta (PtrLo),y ; CPU:$ECF7 PRG:2CF7 91 00 dey ; CPU:$ECF9 PRG:2CF9 88 cpy #$02 ; CPU:$ECFA PRG:2CFA C0 02 - beq Label_ED08 ; CPU:$ECFC PRG:2CFC F0 0A + beq SubCECDA_Block_3 ; CPU:$ECFC PRG:2CFC F0 0A iny ; CPU:$ECFE PRG:2CFE C8 pla ; CPU:$ECFF PRG:2CFF 68 pha ; CPU:$ED00 PRG:2D00 48 tax ; CPU:$ED01 PRG:2D01 AA lda #$00 ; CPU:$ED02 PRG:2D02 A9 00 sta Zp90 ; CPU:$ED04 PRG:2D04 85 90 - beq Label_ECE0 ; CPU:$ED06 PRG:2D06 F0 D8 + beq SubCECDA_Block_4 ; CPU:$ED06 PRG:2D06 F0 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_ED08 +; Routine: SubCECDA_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13292,14 +13302,14 @@ Label_ECEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED08: +SubCECDA_Block_3: iny ; CPU:$ED08 PRG:2D08 C8 - lda (Zp00),y ; CPU:$ED09 PRG:2D09 B1 00 - sta (Zp02),y ; CPU:$ED0B PRG:2D0B 91 02 + lda (PtrLo),y ; CPU:$ED09 PRG:2D09 B1 00 + sta (Ptr2Lo),y ; CPU:$ED0B PRG:2D0B 91 02 pla ; CPU:$ED0D PRG:2D0D 68 rts ; CPU:$ED0E PRG:2D0E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED0F +; Routine: SubCED0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +13317,10 @@ Label_ED08: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED0F: +SubCED0F: lda $0489 ; CPU:$ED0F PRG:2D0F AD 89 04 ; ----------------------------------------------------------------------------- -; Routine: Label_ED12 +; Routine: SubCED12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13318,10 +13328,10 @@ Label_ED0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED12: +SubCED12: sec ; CPU:$ED12 PRG:2D12 38 sbc $048A ; CPU:$ED13 PRG:2D13 ED 8A 04 - bmi Label_ED2D ; CPU:$ED16 PRG:2D16 30 15 + bmi SubCED12_Block ; CPU:$ED16 PRG:2D16 30 15 pha ; CPU:$ED18 PRG:2D18 48 lda $0491 ; CPU:$ED19 PRG:2D19 AD 91 04 clc ; CPU:$ED1C PRG:2D1C 18 @@ -13332,7 +13342,7 @@ Label_ED12: inc $0481 ; CPU:$ED27 PRG:2D27 EE 81 04 jmp $ED12 ; CPU:$ED2A PRG:2D2A 4C 12 ED ; ----------------------------------------------------------------------------- -; Routine: Label_ED2D +; Routine: SubCED12_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13340,15 +13350,15 @@ Label_ED12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED2D: +SubCED12_Block: lda $0488 ; CPU:$ED2D PRG:2D2D AD 88 04 sta $0498 ; CPU:$ED30 PRG:2D30 8D 98 04 lda $0499 ; CPU:$ED33 PRG:2D33 AD 99 04 tax ; CPU:$ED36 PRG:2D36 AA - beq Label_ED44 ; CPU:$ED37 PRG:2D37 F0 0B + beq SubCED12_Block_2 ; CPU:$ED37 PRG:2D37 F0 0B lda $0498 ; CPU:$ED39 PRG:2D39 AD 98 04 ; ----------------------------------------------------------------------------- -; Routine: Label_ED3C +; Routine: SubCED12_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +13366,14 @@ Label_ED2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED3C: +SubCED12_Block_4: clc ; CPU:$ED3C PRG:2D3C 18 adc #$0A ; CPU:$ED3D PRG:2D3D 69 0A dex ; CPU:$ED3F PRG:2D3F CA - beq Label_ED4B ; CPU:$ED40 PRG:2D40 F0 09 - bne Label_ED3C ; CPU:$ED42 PRG:2D42 D0 F8 + beq SubCED12_Block_3 ; CPU:$ED40 PRG:2D40 F0 09 + bne SubCED12_Block_4 ; CPU:$ED42 PRG:2D42 D0 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_ED44 +; Routine: SubCED12_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13371,12 +13381,12 @@ Label_ED3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED44: +SubCED12_Block_2: lda #$0C ; CPU:$ED44 PRG:2D44 A9 0C - sta ZpEA ; CPU:$ED46 PRG:2D46 85 EA + sta SndChannel ; CPU:$ED46 PRG:2D46 85 EA lda $0498 ; CPU:$ED48 PRG:2D48 AD 98 04 ; ----------------------------------------------------------------------------- -; Routine: Label_ED4B +; Routine: SubCED12_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +13394,11 @@ Label_ED44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED4B: +SubCED12_Block_3: cmp $048A ; CPU:$ED4B PRG:2D4B CD 8A 04 - bmi Label_ED75 ; CPU:$ED4E PRG:2D4E 30 25 + bmi SubCED12_Block_5 ; CPU:$ED4E PRG:2D4E 30 25 ; ----------------------------------------------------------------------------- -; 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. @@ -13396,22 +13406,22 @@ Label_ED4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED50: +SubCED50: sec ; CPU:$ED50 PRG:2D50 38 sbc $048A ; CPU:$ED51 PRG:2D51 ED 8A 04 - bmi Label_ED79 ; CPU:$ED54 PRG:2D54 30 23 + bmi SubCED50_Block ; CPU:$ED54 PRG:2D54 30 23 inc $0480 ; CPU:$ED56 PRG:2D56 EE 80 04 pha ; CPU:$ED59 PRG:2D59 48 lda $04A0 ; CPU:$ED5A PRG:2D5A AD A0 04 clc ; CPU:$ED5D PRG:2D5D 18 adc $048A ; CPU:$ED5E PRG:2D5E 6D 8A 04 cmp #$0A ; CPU:$ED61 PRG:2D61 C9 0A - bmi Label_ED6B ; CPU:$ED63 PRG:2D63 30 06 + bmi SubCED50_Block_2 ; CPU:$ED63 PRG:2D63 30 06 inc $04A1 ; CPU:$ED65 PRG:2D65 EE A1 04 sec ; CPU:$ED68 PRG:2D68 38 sbc #$0A ; CPU:$ED69 PRG:2D69 E9 0A ; ----------------------------------------------------------------------------- -; Routine: Label_ED6B +; Routine: SubCED50_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13419,13 +13429,13 @@ Label_ED50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED6B: +SubCED50_Block_2: sta $04A0 ; CPU:$ED6B PRG:2D6B 8D A0 04 pla ; CPU:$ED6E PRG:2D6E 68 sta $04A8 ; CPU:$ED6F PRG:2D6F 8D A8 04 jmp $ED50 ; CPU:$ED72 PRG:2D72 4C 50 ED ; ----------------------------------------------------------------------------- -; Routine: Label_ED75 +; Routine: SubCED12_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +13443,11 @@ Label_ED6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED75: +SubCED12_Block_5: lda #$0B ; CPU:$ED75 PRG:2D75 A9 0B - sta ZpEA ; CPU:$ED77 PRG:2D77 85 EA + sta SndChannel ; CPU:$ED77 PRG:2D77 85 EA ; ----------------------------------------------------------------------------- -; Routine: Label_ED79 +; Routine: SubCED50_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13445,18 +13455,18 @@ Label_ED75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED79: +SubCED50_Block: lda $04A1 ; CPU:$ED79 PRG:2D79 AD A1 04 sta $04B0 ; CPU:$ED7C PRG:2D7C 8D B0 04 - lda ZpEA ; CPU:$ED7F PRG:2D7F A5 EA + lda SndChannel ; CPU:$ED7F PRG:2D7F A5 EA cmp #$0A ; CPU:$ED81 PRG:2D81 C9 0A - bne Label_ED8F ; CPU:$ED83 PRG:2D83 D0 0A + bne SubCED50_Block_3 ; CPU:$ED83 PRG:2D83 D0 0A lda $04A1 ; CPU:$ED85 PRG:2D85 AD A1 04 - bne Label_ED8E ; CPU:$ED88 PRG:2D88 D0 04 + bne SubCED50_Block_4 ; CPU:$ED88 PRG:2D88 D0 04 lda #$0D ; CPU:$ED8A PRG:2D8A A9 0D - sta ZpEA ; CPU:$ED8C PRG:2D8C 85 EA + sta SndChannel ; CPU:$ED8C PRG:2D8C 85 EA ; ----------------------------------------------------------------------------- -; Routine: Label_ED8E +; Routine: SubCED50_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13464,10 +13474,10 @@ Label_ED79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED8E: +SubCED50_Block_4: rts ; CPU:$ED8E PRG:2D8E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED8F +; Routine: SubCED50_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13475,16 +13485,16 @@ Label_ED8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED8F: - lda ZpEA ; CPU:$ED8F PRG:2D8F A5 EA +SubCED50_Block_3: + lda SndChannel ; CPU:$ED8F PRG:2D8F A5 EA cmp #$09 ; CPU:$ED91 PRG:2D91 C9 09 - bne Label_ED9E ; CPU:$ED93 PRG:2D93 D0 09 + bne SubCED50_Block_6 ; CPU:$ED93 PRG:2D93 D0 09 lda $04A1 ; CPU:$ED95 PRG:2D95 AD A1 04 - bne Label_ED9E ; CPU:$ED98 PRG:2D98 D0 04 + bne SubCED50_Block_6 ; CPU:$ED98 PRG:2D98 D0 04 lda #$0E ; CPU:$ED9A PRG:2D9A A9 0E - sta ZpEA ; CPU:$ED9C PRG:2D9C 85 EA + sta SndChannel ; CPU:$ED9C PRG:2D9C 85 EA ; ----------------------------------------------------------------------------- -; Routine: Label_ED9E +; Routine: SubCED50_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13492,10 +13502,10 @@ Label_ED8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED9E: +SubCED50_Block_6: rts ; CPU:$ED9E PRG:2D9E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED9F +; Routine: SubCED9F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13503,10 +13513,10 @@ Label_ED9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED9F: +SubCED9F: ldy #$09 ; CPU:$ED9F PRG:2D9F A0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_EDA1 +; Routine: SubCED9F_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +13524,7 @@ Label_ED9F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDA1: +SubCED9F_Block_3: lda $0490 ; CPU:$EDA1 PRG:2DA1 AD 90 04 clc ; CPU:$EDA4 PRG:2DA4 18 rol a ; CPU:$EDA5 PRG:2DA5 2A @@ -13524,7 +13534,7 @@ Label_EDA1: ora $0488 ; CPU:$EDA9 PRG:2DA9 0D 88 04 ldx #$09 ; CPU:$EDAC PRG:2DAC A2 09 ; ----------------------------------------------------------------------------- -; Routine: Label_EDAE +; Routine: SubCED9F_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13532,15 +13542,15 @@ Label_EDA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDAE: +SubCED9F_Block_4: cmp $04C0,x ; CPU:$EDAE PRG:2DAE DD C0 04 - bne Label_EDCD ; CPU:$EDB1 PRG:2DB1 D0 1A + bne SubCED9F_Block ; CPU:$EDB1 PRG:2DB1 D0 1A dec $0488 ; CPU:$EDB3 PRG:2DB3 CE 88 04 - bne Label_EDBD ; CPU:$EDB6 PRG:2DB6 D0 05 + bne SubCED9F_Block_2 ; CPU:$EDB6 PRG:2DB6 D0 05 lda #$09 ; CPU:$EDB8 PRG:2DB8 A9 09 sta $0488 ; CPU:$EDBA PRG:2DBA 8D 88 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EDBD +; Routine: SubCED9F_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13548,16 +13558,16 @@ Label_EDAE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDBD: +SubCED9F_Block_2: dey ; CPU:$EDBD PRG:2DBD 88 - bne Label_EDA1 ; CPU:$EDBE PRG:2DBE D0 E1 + bne SubCED9F_Block_3 ; CPU:$EDBE PRG:2DBE D0 E1 dec $0490 ; CPU:$EDC0 PRG:2DC0 CE 90 04 - bne Label_ED9F ; CPU:$EDC3 PRG:2DC3 D0 DA + bne SubCED9F ; CPU:$EDC3 PRG:2DC3 D0 DA lda #$09 ; CPU:$EDC5 PRG:2DC5 A9 09 sta $0490 ; CPU:$EDC7 PRG:2DC7 8D 90 04 jmp $ED9F ; CPU:$EDCA PRG:2DCA 4C 9F ED ; ----------------------------------------------------------------------------- -; Routine: Label_EDCD +; Routine: SubCED9F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13565,14 +13575,14 @@ Label_EDBD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDCD: +SubCED9F_Block: dex ; CPU:$EDCD PRG:2DCD CA - bpl Label_EDAE ; CPU:$EDCE PRG:2DCE 10 DE + bpl SubCED9F_Block_4 ; CPU:$EDCE PRG:2DCE 10 DE ldx $0402 ; CPU:$EDD0 PRG:2DD0 AE 02 04 sta $04BF,x ; CPU:$EDD3 PRG:2DD3 9D BF 04 rts ; CPU:$EDD6 PRG:2DD6 60 ; ----------------------------------------------------------------------------- -; 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. @@ -13580,15 +13590,15 @@ Label_EDCD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDD7: - ldx ZpEA ; CPU:$EDD7 PRG:2DD7 A6 EA +SubCEDD7: + ldx SndChannel ; CPU:$EDD7 PRG:2DD7 A6 EA lda $C0D1,x ; CPU:$EDD9 PRG:2DD9 BD D1 C0 cpx #$08 ; CPU:$EDDC PRG:2DDC E0 08 - beq Label_EDF6 ; CPU:$EDDE PRG:2DDE F0 16 + beq SubCEDD7_Block ; CPU:$EDDE PRG:2DDE F0 16 cmp #$09 ; CPU:$EDE0 PRG:2DE0 C9 09 - beq Label_EE04 ; CPU:$EDE2 PRG:2DE2 F0 20 + beq SubCEDD7_Block_2 ; CPU:$EDE2 PRG:2DE2 F0 20 cmp #$0A ; CPU:$EDE4 PRG:2DE4 C9 0A - beq Label_EE0B ; CPU:$EDE6 PRG:2DE6 F0 23 + beq SubCEDD7_Block_3 ; CPU:$EDE6 PRG:2DE6 F0 23 ldx #$1E ; CPU:$EDE8 PRG:2DE8 A2 1E lda #$80 ; CPU:$EDEA PRG:2DEA A9 80 jsr $EE10 ; CPU:$EDEC PRG:2DEC 20 10 EE @@ -13596,7 +13606,7 @@ Label_EDD7: lda #$C0 ; CPU:$EDF1 PRG:2DF1 A9 C0 jmp $EE10 ; CPU:$EDF3 PRG:2DF3 4C 10 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EDF6 +; Routine: SubCEDD7_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13604,7 +13614,7 @@ Label_EDD7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDF6: +SubCEDD7_Block: ldx #$0E ; CPU:$EDF6 PRG:2DF6 A2 0E lda #$00 ; CPU:$EDF8 PRG:2DF8 A9 00 jsr $EE10 ; CPU:$EDFA PRG:2DFA 20 10 EE @@ -13612,7 +13622,7 @@ Label_EDF6: lda #$40 ; CPU:$EDFF PRG:2DFF A9 40 jmp $EE10 ; CPU:$EE01 PRG:2E01 4C 10 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EE04 +; Routine: SubCEDD7_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +13630,10 @@ Label_EDF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE04: +SubCEDD7_Block_2: lda #$40 ; CPU:$EE04 PRG:2E04 A9 40 ; ----------------------------------------------------------------------------- -; Routine: Label_EE06 +; Routine: SubCEE06 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13631,11 +13641,11 @@ Label_EE04: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE06: +SubCEE06: ldx #$0E ; CPU:$EE06 PRG:2E06 A2 0E jmp $EE10 ; CPU:$EE08 PRG:2E08 4C 10 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EE0B +; Routine: SubCEDD7_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13643,11 +13653,11 @@ Label_EE06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE0B: +SubCEDD7_Block_3: lda #$A0 ; CPU:$EE0B PRG:2E0B A9 A0 jmp $EE06 ; CPU:$EE0D PRG:2E0D 4C 06 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EE10 +; Routine: SubCEE10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13655,18 +13665,18 @@ Label_EE0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE10: +SubCEE10: sta $04D1 ; CPU:$EE10 PRG:2E10 8D D1 04 lda #$20 ; CPU:$EE13 PRG:2E13 A9 20 - sta ZpA1 ; CPU:$EE15 PRG:2E15 85 A1 + sta ScorePtrHi ; CPU:$EE15 PRG:2E15 85 A1 lda #$6E ; CPU:$EE17 PRG:2E17 A9 6E clc ; CPU:$EE19 PRG:2E19 18 adc $04D1 ; CPU:$EE1A PRG:2E1A 6D D1 04 - sta ZpA0 ; CPU:$EE1D PRG:2E1D 85 A0 - bcc Label_EE23 ; CPU:$EE1F PRG:2E1F 90 02 - inc ZpA1 ; CPU:$EE21 PRG:2E21 E6 A1 + sta ScorePtrLo ; CPU:$EE1D PRG:2E1D 85 A0 + bcc SubCEE10_Block ; CPU:$EE1F PRG:2E1F 90 02 + inc ScorePtrHi ; CPU:$EE21 PRG:2E21 E6 A1 ; ----------------------------------------------------------------------------- -; Routine: Label_EE23 +; Routine: SubCEE10_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +13684,10 @@ Label_EE10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE23: +SubCEE10_Block: ldy #$07 ; CPU:$EE23 PRG:2E23 A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_EE25 +; Routine: SubCEE25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13685,11 +13695,11 @@ Label_EE23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE25: +SubCEE25: lda $0480,x ; CPU:$EE25 PRG:2E25 BD 80 04 - beq Label_EE39 ; CPU:$EE28 PRG:2E28 F0 0F + beq SubCEE25_Block ; CPU:$EE28 PRG:2E28 F0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_EE2A +; Routine: SubCEE25_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13697,16 +13707,16 @@ Label_EE25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE2A: +SubCEE25_Block_2: lda $0480,x ; CPU:$EE2A PRG:2E2A BD 80 04 jsr $EE5E ; CPU:$EE2D PRG:2E2D 20 5E EE dex ; CPU:$EE30 PRG:2E30 CA - inc ZpA0 ; CPU:$EE31 PRG:2E31 E6 A0 - inc ZpA0 ; CPU:$EE33 PRG:2E33 E6 A0 + inc ScorePtrLo ; CPU:$EE31 PRG:2E31 E6 A0 + inc ScorePtrLo ; CPU:$EE33 PRG:2E33 E6 A0 dey ; CPU:$EE35 PRG:2E35 88 - bne Label_EE2A ; CPU:$EE36 PRG:2E36 D0 F2 + bne SubCEE25_Block_2 ; CPU:$EE36 PRG:2E36 D0 F2 ; ----------------------------------------------------------------------------- -; Routine: Label_EE38 +; Routine: SubCEE25_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13714,10 +13724,10 @@ Label_EE2A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE38: +SubCEE25_Block_3: rts ; CPU:$EE38 PRG:2E38 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE39 +; Routine: SubCEE25_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +13735,15 @@ Label_EE38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE39: +SubCEE25_Block: dex ; CPU:$EE39 PRG:2E39 CA - inc ZpA0 ; CPU:$EE3A PRG:2E3A E6 A0 - inc ZpA0 ; CPU:$EE3C PRG:2E3C E6 A0 + inc ScorePtrLo ; CPU:$EE3A PRG:2E3A E6 A0 + inc ScorePtrLo ; CPU:$EE3C PRG:2E3C E6 A0 dey ; CPU:$EE3E PRG:2E3E 88 - beq Label_EE38 ; CPU:$EE3F PRG:2E3F F0 F7 + beq SubCEE25_Block_3 ; CPU:$EE3F PRG:2E3F F0 F7 jmp $EE25 ; CPU:$EE41 PRG:2E41 4C 25 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EE44 +; Routine: SubCEE44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +13751,11 @@ Label_EE39: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE44: +SubCEE44: lda #$94 ; CPU:$EE44 PRG:2E44 A9 94 - sta Zp00 ; CPU:$EE46 PRG:2E46 85 00 + sta PtrLo ; CPU:$EE46 PRG:2E46 85 00 lda #$05 ; CPU:$EE48 PRG:2E48 A9 05 - sta Zp01 ; CPU:$EE4A PRG:2E4A 85 01 + sta PtrHi ; CPU:$EE4A PRG:2E4A 85 01 rts ; CPU:$EE4C PRG:2E4C 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateMusicChannel16 @@ -13758,16 +13768,16 @@ Label_EE44: ; ----------------------------------------------------------------------------- UpdateMusicChannel16: lda #$94 ; CPU:$EE4D PRG:2E4D A9 94 - sta Zp02 ; CPU:$EE4F PRG:2E4F 85 02 + sta Ptr2Lo ; CPU:$EE4F PRG:2E4F 85 02 lda #$05 ; CPU:$EE51 PRG:2E51 A9 05 sta Zp03 ; CPU:$EE53 PRG:2E53 85 03 - lda ZpA1 ; CPU:$EE55 PRG:2E55 A5 A1 - sta Zp01 ; CPU:$EE57 PRG:2E57 85 01 - lda ZpA0 ; CPU:$EE59 PRG:2E59 A5 A0 - sta Zp00 ; CPU:$EE5B PRG:2E5B 85 00 + lda ScorePtrHi ; CPU:$EE55 PRG:2E55 A5 A1 + sta PtrHi ; CPU:$EE57 PRG:2E57 85 01 + lda ScorePtrLo ; CPU:$EE59 PRG:2E59 A5 A0 + sta PtrLo ; CPU:$EE5B PRG:2E5B 85 00 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. @@ -13775,7 +13785,7 @@ UpdateMusicChannel16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE5E: +SubCEE5E: pha ; CPU:$EE5E PRG:2E5E 48 sta $0595 ; CPU:$EE5F PRG:2E5F 8D 95 05 lda #$11 ; CPU:$EE62 PRG:2E62 A9 11 @@ -13785,7 +13795,7 @@ Label_EE5E: pla ; CPU:$EE6D PRG:2E6D 68 rts ; CPU:$EE6E PRG:2E6E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE6F +; Routine: SubCEE6F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13793,12 +13803,12 @@ Label_EE5E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE6F: +SubCEE6F: ldy #$FF ; CPU:$EE6F PRG:2E6F A0 FF lda $C166,x ; CPU:$EE71 PRG:2E71 BD 66 C1 tax ; CPU:$EE74 PRG:2E74 AA ; ----------------------------------------------------------------------------- -; Routine: Label_EE75 +; Routine: SubCEE6F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13806,15 +13816,15 @@ Label_EE6F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE75: +SubCEE6F_Block: iny ; CPU:$EE75 PRG:2E75 C8 inx ; CPU:$EE76 PRG:2E76 E8 lda $C0F9,x ; CPU:$EE77 PRG:2E77 BD F9 C0 sta $0594,y ; CPU:$EE7A PRG:2E7A 99 94 05 - bne Label_EE75 ; CPU:$EE7D PRG:2E7D D0 F6 + bne SubCEE6F_Block ; CPU:$EE7D PRG:2E7D D0 F6 jmp $EF1B ; CPU:$EE7F PRG:2E7F 4C 1B EF ; ----------------------------------------------------------------------------- -; Routine: Label_EE82 +; Routine: SubCEE82 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +13832,7 @@ Label_EE75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE82: +SubCEE82: lda #$24 ; CPU:$EE82 PRG:2E82 A9 24 sta $0594,y ; CPU:$EE84 PRG:2E84 99 94 05 lda #$C4 ; CPU:$EE87 PRG:2E87 A9 C4 @@ -13830,12 +13840,12 @@ Label_EE82: sta $0594,y ; CPU:$EE8A PRG:2E8A 99 94 05 iny ; CPU:$EE8D PRG:2E8D C8 dex ; CPU:$EE8E PRG:2E8E CA - bne Label_EE82 ; CPU:$EE8F PRG:2E8F D0 F1 + bne SubCEE82 ; CPU:$EE8F PRG:2E8F D0 F1 lda #$00 ; CPU:$EE91 PRG:2E91 A9 00 sta $0594,y ; CPU:$EE93 PRG:2E93 99 94 05 rts ; CPU:$EE96 PRG:2E96 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE97 +; Routine: SubCEE97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13843,15 +13853,15 @@ Label_EE82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE97: +SubCEE97: lda #$00 ; CPU:$EE97 PRG:2E97 A9 00 jsr $EFEA ; CPU:$EE99 PRG:2E99 20 EA EF - lda ZpEA ; CPU:$EE9C PRG:2E9C A5 EA + lda SndChannel ; CPU:$EE9C PRG:2E9C A5 EA cmp #$08 ; CPU:$EE9E PRG:2E9E C9 08 - bmi Label_EEA5 ; CPU:$EEA0 PRG:2EA0 30 03 + bmi SubCEE97_Block ; CPU:$EEA0 PRG:2EA0 30 03 jmp $EF21 ; CPU:$EEA2 PRG:2EA2 4C 21 EF ; ----------------------------------------------------------------------------- -; Routine: Label_EEA5 +; Routine: SubCEE97_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +13869,10 @@ Label_EE97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEA5: +SubCEE97_Block: lda #$20 ; CPU:$EEA5 PRG:2EA5 A9 20 sta $0594 ; CPU:$EEA7 PRG:2EA7 8D 94 05 - ldy ZpEA ; CPU:$EEAA PRG:2EAA A4 EA + ldy SndChannel ; CPU:$EEAA PRG:2EAA A4 EA lda $C0EB,y ; CPU:$EEAC PRG:2EAC B9 EB C0 sta $0595 ; CPU:$EEAF PRG:2EAF 8D 95 05 lda $C0F2,y ; CPU:$EEB2 PRG:2EB2 B9 F2 C0 @@ -13877,14 +13887,14 @@ Label_EEA5: clc ; CPU:$EECA PRG:2ECA 18 adc $0595 ; CPU:$EECB PRG:2ECB 6D 95 05 sta $0595 ; CPU:$EECE PRG:2ECE 8D 95 05 - ldx ZpEA ; CPU:$EED1 PRG:2ED1 A6 EA + ldx SndChannel ; CPU:$EED1 PRG:2ED1 A6 EA lda $C044,x ; CPU:$EED3 PRG:2ED3 BD 44 C0 sta $0597 ; CPU:$EED6 PRG:2ED6 8D 97 05 jsr $EF1B ; CPU:$EED9 PRG:2ED9 20 1B EF - ldx ZpEA ; CPU:$EEDC PRG:2EDC A6 EA + ldx SndChannel ; CPU:$EEDC PRG:2EDC A6 EA jsr $EE6F ; CPU:$EEDE PRG:2EDE 20 6F EE ; ----------------------------------------------------------------------------- -; Routine: Label_EEE1 +; Routine: SubCEEE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +13902,7 @@ Label_EEA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEE1: +SubCEEE1: lda #$07 ; CPU:$EEE1 PRG:2EE1 A9 07 sta ZpA5 ; CPU:$EEE3 PRG:2EE3 85 A5 sta ZpA9 ; CPU:$EEE5 PRG:2EE5 85 A9 @@ -13900,7 +13910,7 @@ Label_EEE1: ldy #$03 ; CPU:$EEE9 PRG:2EE9 A0 03 ldx #$06 ; CPU:$EEEB PRG:2EEB A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_EEED +; Routine: SubCEEED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13908,11 +13918,11 @@ Label_EEE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEED: +SubCEEED: lda $04A8,x ; CPU:$EEED PRG:2EED BD A8 04 - bne Label_EF08 ; CPU:$EEF0 PRG:2EF0 D0 16 + bne SubCEEED_Block_2 ; CPU:$EEF0 PRG:2EF0 D0 16 dex ; CPU:$EEF2 PRG:2EF2 CA - bmi Label_EF08 ; CPU:$EEF3 PRG:2EF3 30 13 + bmi SubCEEED_Block_2 ; CPU:$EEF3 PRG:2EF3 30 13 lda #$24 ; CPU:$EEF5 PRG:2EF5 A9 24 sta $0594,y ; CPU:$EEF7 PRG:2EF7 99 94 05 iny ; CPU:$EEFA PRG:2EFA C8 @@ -13923,7 +13933,7 @@ Label_EEED: dec ZpAC ; CPU:$EF03 PRG:2F03 C6 AC jmp $EEED ; CPU:$EF05 PRG:2F05 4C ED EE ; ----------------------------------------------------------------------------- -; Routine: Label_EF08 +; Routine: SubCEEED_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +13941,7 @@ Label_EEED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF08: +SubCEEED_Block_2: inx ; CPU:$EF08 PRG:2F08 E8 lda #$21 ; CPU:$EF09 PRG:2F09 A9 21 sta $0594 ; CPU:$EF0B PRG:2F0B 8D 94 05 @@ -13940,7 +13950,7 @@ Label_EF08: lda #$0E ; CPU:$EF13 PRG:2F13 A9 0E sta $0596 ; CPU:$EF15 PRG:2F15 8D 96 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EF18 +; Routine: SubCEF18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13948,10 +13958,10 @@ Label_EF08: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF18: +SubCEF18: jsr $EE82 ; CPU:$EF18 PRG:2F18 20 82 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EF1B +; Routine: SubCEF1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13959,11 +13969,11 @@ Label_EF18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF1B: +SubCEF1B: jsr $EE44 ; CPU:$EF1B PRG:2F1B 20 44 EE jmp $F218 ; CPU:$EF1E PRG:2F1E 4C 18 F2 ; ----------------------------------------------------------------------------- -; Routine: Label_EF21 +; Routine: SubCEF21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +13981,11 @@ Label_EF1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF21: - lda ZpEA ; CPU:$EF21 PRG:2F21 A5 EA +SubCEF21: + lda SndChannel ; CPU:$EF21 PRG:2F21 A5 EA cmp #$08 ; CPU:$EF23 PRG:2F23 C9 08 - bne Label_EF80 ; CPU:$EF25 PRG:2F25 D0 59 - ldx ZpEA ; CPU:$EF27 PRG:2F27 A6 EA + bne SubCEF21_Block ; CPU:$EF25 PRG:2F25 D0 59 + ldx SndChannel ; CPU:$EF27 PRG:2F27 A6 EA jsr $EE6F ; CPU:$EF29 PRG:2F29 20 6F EE lda #$04 ; CPU:$EF2C PRG:2F2C A9 04 jsr $EFEA ; CPU:$EF2E PRG:2F2E 20 EA EF @@ -13988,7 +13998,7 @@ Label_EF21: ldx #$04 ; CPU:$EF40 PRG:2F40 A2 04 ldy #$03 ; CPU:$EF42 PRG:2F42 A0 03 lda $049B ; CPU:$EF44 PRG:2F44 AD 9B 04 - bne Label_EF5A ; CPU:$EF47 PRG:2F47 D0 11 + bne SubCEF21_Block_2 ; CPU:$EF47 PRG:2F47 D0 11 dex ; CPU:$EF49 PRG:2F49 CA dec ZpA3 ; CPU:$EF4A PRG:2F4A C6 A3 dec ZpA7 ; CPU:$EF4C PRG:2F4C C6 A7 @@ -13998,7 +14008,7 @@ Label_EF21: sta $0598 ; CPU:$EF55 PRG:2F55 8D 98 05 ldy #$05 ; CPU:$EF58 PRG:2F58 A0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EF5A +; Routine: SubCEF21_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +14016,7 @@ Label_EF21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF5A: +SubCEF21_Block_2: jsr $EF18 ; CPU:$EF5A PRG:2F5A 20 18 EF inc $0594 ; CPU:$EF5D PRG:2F5D EE 94 05 lda #$31 ; CPU:$EF60 PRG:2F60 A9 31 @@ -14014,14 +14024,14 @@ Label_EF5A: lda #$C4 ; CPU:$EF65 PRG:2F65 A9 C4 sta $0598 ; CPU:$EF67 PRG:2F67 8D 98 05 lda $04A4 ; CPU:$EF6A PRG:2F6A AD A4 04 - bne Label_EF7A ; CPU:$EF6D PRG:2F6D D0 0B + bne SubCEF21_Block_3 ; CPU:$EF6D PRG:2F6D D0 0B lda #$24 ; CPU:$EF6F PRG:2F6F A9 24 sta $0598 ; CPU:$EF71 PRG:2F71 8D 98 05 dec ZpA4 ; CPU:$EF74 PRG:2F74 C6 A4 dec ZpA8 ; CPU:$EF76 PRG:2F76 C6 A8 dec ZpAB ; CPU:$EF78 PRG:2F78 C6 AB ; ----------------------------------------------------------------------------- -; Routine: Label_EF7A +; Routine: SubCEF21_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14029,11 +14039,11 @@ Label_EF5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF7A: +SubCEF21_Block_3: jsr $EF1B ; CPU:$EF7A PRG:2F7A 20 1B EF jmp $EEE1 ; CPU:$EF7D PRG:2F7D 4C E1 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EF80 +; Routine: SubCEF21_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,8 +14051,8 @@ Label_EF7A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF80: - lda ZpEA ; CPU:$EF80 PRG:2F80 A5 EA +SubCEF21_Block: + lda SndChannel ; CPU:$EF80 PRG:2F80 A5 EA tax ; CPU:$EF82 PRG:2F82 AA lda $C0BC,x ; CPU:$EF83 PRG:2F83 BD BC C0 sta ZpA2 ; CPU:$EF86 PRG:2F86 85 A2 @@ -14057,12 +14067,12 @@ Label_EF80: jsr $EE82 ; CPU:$EF9B PRG:2F9B 20 82 EE lda ZpA2 ; CPU:$EF9E PRG:2F9E A5 A2 cmp #$97 ; CPU:$EFA0 PRG:2FA0 C9 97 - beq Label_EFAC ; CPU:$EFA2 PRG:2FA2 F0 08 + beq SubCEF21_Block_4 ; CPU:$EFA2 PRG:2FA2 F0 08 inc $0594 ; CPU:$EFA4 PRG:2FA4 EE 94 05 lda #$15 ; CPU:$EFA7 PRG:2FA7 A9 15 sta $0595 ; CPU:$EFA9 PRG:2FA9 8D 95 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EFAC +; Routine: SubCEF21_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14070,22 +14080,22 @@ Label_EF80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFAC: +SubCEF21_Block_4: jsr $EF1B ; CPU:$EFAC PRG:2FAC 20 1B EF - ldx ZpEA ; CPU:$EFAF PRG:2FAF A6 EA + ldx SndChannel ; CPU:$EFAF PRG:2FAF A6 EA lda $C0D1,x ; CPU:$EFB1 PRG:2FB1 BD D1 C0 tax ; CPU:$EFB4 PRG:2FB4 AA jsr $EE6F ; CPU:$EFB5 PRG:2FB5 20 6F EE lda #$C4 ; CPU:$EFB8 PRG:2FB8 A9 C4 sta ZpBC ; CPU:$EFBA PRG:2FBA 85 BC - lda ZpEA ; CPU:$EFBC PRG:2FBC A5 EA + lda SndChannel ; CPU:$EFBC PRG:2FBC A5 EA tax ; CPU:$EFBE PRG:2FBE AA lda $C0C2,x ; CPU:$EFBF PRG:2FBF BD C2 C0 sta ZpB3 ; CPU:$EFC2 PRG:2FC2 85 B3 lda #$01 ; CPU:$EFC4 PRG:2FC4 A9 01 sta Zp98 ; CPU:$EFC6 PRG:2FC6 85 98 ; ----------------------------------------------------------------------------- -; Routine: Label_EFC8 +; Routine: SubCEFC8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +14103,15 @@ Label_EFAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFC8: +SubCEFC8: jsr $EA7C ; CPU:$EFC8 PRG:2FC8 20 7C EA lda Zp98 ; CPU:$EFCB PRG:2FCB A5 98 cmp ZpB3 ; CPU:$EFCD PRG:2FCD C5 B3 - beq Label_EFD6 ; CPU:$EFCF PRG:2FCF F0 05 + beq SubCEFC8_Block ; CPU:$EFCF PRG:2FCF F0 05 inc Zp98 ; CPU:$EFD1 PRG:2FD1 E6 98 jmp $EFC8 ; CPU:$EFD3 PRG:2FD3 4C C8 EF ; ----------------------------------------------------------------------------- -; Routine: Label_EFD6 +; Routine: SubCEFC8_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14109,18 +14119,18 @@ Label_EFC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFD6: - lda ZpEA ; CPU:$EFD6 PRG:2FD6 A5 EA +SubCEFC8_Block: + lda SndChannel ; CPU:$EFD6 PRG:2FD6 A5 EA cmp #$0B ; CPU:$EFD8 PRG:2FD8 C9 0B - bne Label_EFE9 ; CPU:$EFDA PRG:2FDA D0 0D + bne SubCEFC8_Block_2 ; CPU:$EFDA PRG:2FDA D0 0D lda #$20 ; CPU:$EFDC PRG:2FDC A9 20 - sta ZpA1 ; CPU:$EFDE PRG:2FDE 85 A1 + sta ScorePtrHi ; CPU:$EFDE PRG:2FDE 85 A1 lda #$DA ; CPU:$EFE0 PRG:2FE0 A9 DA - sta ZpA0 ; CPU:$EFE2 PRG:2FE2 85 A0 + sta ScorePtrLo ; CPU:$EFE2 PRG:2FE2 85 A0 lda #$00 ; CPU:$EFE4 PRG:2FE4 A9 00 jsr $EE5E ; CPU:$EFE6 PRG:2FE6 20 5E EE ; ----------------------------------------------------------------------------- -; Routine: Label_EFE9 +; Routine: SubCEFC8_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14128,10 +14138,10 @@ Label_EFD6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFE9: +SubCEFC8_Block_2: rts ; CPU:$EFE9 PRG:2FE9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFEA +; Routine: SubCEFEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14139,7 +14149,7 @@ Label_EFE9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFEA: +SubCEFEA: sta ZpA3 ; CPU:$EFEA PRG:2FEA 85 A3 sta ZpA4 ; CPU:$EFEC PRG:2FEC 85 A4 sta ZpA7 ; CPU:$EFEE PRG:2FEE 85 A7 @@ -14148,7 +14158,7 @@ Label_EFEA: sta ZpAB ; CPU:$EFF4 PRG:2FF4 85 AB rts ; CPU:$EFF6 PRG:2FF6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFF7 +; Routine: SubCEFF7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14156,16 +14166,16 @@ Label_EFEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFF7: +SubCEFF7: lda ZpAF ; CPU:$EFF7 PRG:2FF7 A5 AF - bne Label_F00C ; CPU:$EFF9 PRG:2FF9 D0 11 - lda ZpEC ; CPU:$EFFB PRG:2FFB A5 EC + bne SubCEFF7_Block ; CPU:$EFF9 PRG:2FF9 D0 11 + lda GameState ; CPU:$EFFB PRG:2FFB A5 EC cmp #$01 ; CPU:$EFFD PRG:2FFD C9 01 - beq Label_F005 ; CPU:$EFFF PRG:2FFF F0 04 + beq SubCF04B_Block ; CPU:$EFFF PRG:2FFF F0 04 lda #$00 ; CPU:$F001 PRG:3001 A9 00 sta ZpCF ; CPU:$F003 PRG:3003 85 CF ; ----------------------------------------------------------------------------- -; Routine: Label_F005 +; Routine: SubCF04B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14173,10 +14183,10 @@ Label_EFF7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F005: +SubCF04B_Block: 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. @@ -14184,12 +14194,12 @@ Label_F005: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F006: - lda ZpEC ; CPU:$F006 PRG:3006 A5 EC +SubCF006: + lda GameState ; CPU:$F006 PRG:3006 A5 EC cmp #$01 ; CPU:$F008 PRG:3008 C9 01 - bne Label_F005 ; CPU:$F00A PRG:300A D0 F9 + bne SubCF04B_Block ; CPU:$F00A PRG:300A D0 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F00C +; Routine: SubCEFF7_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +14207,17 @@ Label_F006: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F00C: +SubCEFF7_Block: lda #$00 ; CPU:$F00C PRG:300C A9 00 sta ZpDB ; CPU:$F00E PRG:300E 85 DB sta ZpBF ; CPU:$F010 PRG:3010 85 BF lda ZpCF ; CPU:$F012 PRG:3012 A5 CF - beq Label_F01C ; CPU:$F014 PRG:3014 F0 06 - ldy ZpEC ; CPU:$F016 PRG:3016 A4 EC + beq SubCF006_Block_2 ; CPU:$F014 PRG:3014 F0 06 + ldy GameState ; CPU:$F016 PRG:3016 A4 EC cpy #$01 ; CPU:$F018 PRG:3018 C0 01 - beq Label_F024 ; CPU:$F01A PRG:301A F0 08 + beq SubCF006_Block_3 ; CPU:$F01A PRG:301A F0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_F01C +; Routine: SubCF006_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14215,13 +14225,13 @@ Label_F00C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F01C: +SubCF006_Block_2: lda Zp36 ; CPU:$F01C PRG:301C A5 36 - bne Label_F005 ; CPU:$F01E PRG:301E D0 E5 + bne SubCF04B_Block ; CPU:$F01E PRG:301E D0 E5 lda #$1F ; CPU:$F020 PRG:3020 A9 1F sta Zp36 ; CPU:$F022 PRG:3022 85 36 ; ----------------------------------------------------------------------------- -; Routine: Label_F024 +; Routine: SubCF006_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14229,15 +14239,15 @@ Label_F01C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F024: - lda ZpEA ; CPU:$F024 PRG:3024 A5 EA +SubCF006_Block_3: + lda SndChannel ; CPU:$F024 PRG:3024 A5 EA cmp #$08 ; CPU:$F026 PRG:3026 C9 08 - bpl Label_F08B ; CPU:$F028 PRG:3028 10 61 + bpl SubCF006_Block_5 ; CPU:$F028 PRG:3028 10 61 lda ZpCF ; CPU:$F02A PRG:302A A5 CF sta Zp98 ; CPU:$F02C PRG:302C 85 98 inc Zp98 ; CPU:$F02E PRG:302E E6 98 ; ----------------------------------------------------------------------------- -; 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. @@ -14245,18 +14255,18 @@ Label_F024: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F030: +SubCF030: tax ; CPU:$F030 PRG:3030 AA lda $04A8,x ; CPU:$F031 PRG:3031 BD A8 04 - ldy ZpEC ; CPU:$F034 PRG:3034 A4 EC + ldy GameState ; CPU:$F034 PRG:3034 A4 EC cpy #$01 ; CPU:$F036 PRG:3036 C0 01 - bne Label_F042 ; CPU:$F038 PRG:3038 D0 08 + bne SubCF030_Block ; CPU:$F038 PRG:3038 D0 08 jsr $F12B ; CPU:$F03A PRG:303A 20 2B F1 inx ; CPU:$F03D PRG:303D E8 txa ; CPU:$F03E PRG:303E 8A jmp $F04B ; CPU:$F03F PRG:303F 4C 4B F0 ; ----------------------------------------------------------------------------- -; Routine: Label_F042 +; Routine: SubCF030_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14264,7 +14274,7 @@ Label_F030: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F042: +SubCF030_Block: sta ZpBC ; CPU:$F042 PRG:3042 85 BC inx ; CPU:$F044 PRG:3044 E8 txa ; CPU:$F045 PRG:3045 8A @@ -14272,7 +14282,7 @@ Label_F042: jsr $EA7C ; CPU:$F047 PRG:3047 20 7C EA pla ; CPU:$F04A PRG:304A 68 ; ----------------------------------------------------------------------------- -; Routine: Label_F04B +; Routine: SubCF04B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14280,12 +14290,12 @@ Label_F042: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F04B: +SubCF04B: inc ZpCF ; CPU:$F04B PRG:304B E6 CF cmp ZpA5 ; CPU:$F04D PRG:304D C5 A5 - bne Label_F005 ; CPU:$F04F PRG:304F D0 B4 + bne SubCF04B_Block ; CPU:$F04F PRG:304F D0 B4 ; ----------------------------------------------------------------------------- -; Routine: Label_F051 +; Routine: SubCF051 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14293,11 +14303,11 @@ Label_F04B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F051: - ldy ZpEC ; CPU:$F051 PRG:3051 A4 EC +SubCF051: + ldy GameState ; CPU:$F051 PRG:3051 A4 EC cpy #$01 ; CPU:$F053 PRG:3053 C0 01 - bne Label_F07B ; CPU:$F055 PRG:3055 D0 24 - lda ZpEA ; CPU:$F057 PRG:3057 A5 EA + bne SubCF051_Block ; CPU:$F055 PRG:3055 D0 24 + lda SndChannel ; CPU:$F057 PRG:3057 A5 EA cmp #$05 ; CPU:$F059 PRG:3059 C9 05 bne UpdateMusicChannel22 ; CPU:$F05B PRG:305B D0 12 lda ZpA5 ; CPU:$F05D PRG:305D A5 A5 @@ -14318,13 +14328,13 @@ Label_F051: ; ----------------------------------------------------------------------------- UpdateMusicChannel22: lda #$16 ; CPU:$F06F PRG:306F A9 16 - sta ZpEC ; CPU:$F071 PRG:3071 85 EC + sta GameState ; CPU:$F071 PRG:3071 85 EC lda #$00 ; CPU:$F073 PRG:3073 A9 00 sta $05F0 ; CPU:$F075 PRG:3075 8D F0 05 sta Zp98 ; CPU:$F078 PRG:3078 85 98 rts ; CPU:$F07A PRG:307A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F07B +; Routine: SubCF051_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14332,9 +14342,9 @@ UpdateMusicChannel22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F07B: +SubCF051_Block: lda #$08 ; CPU:$F07B PRG:307B A9 08 - sta ZpEC ; CPU:$F07D PRG:307D 85 EC + sta GameState ; CPU:$F07D PRG:307D 85 EC lda #$00 ; CPU:$F07F PRG:307F A9 00 sta ZpAD ; CPU:$F081 PRG:3081 85 AD sta ZpCF ; CPU:$F083 PRG:3083 85 CF @@ -14342,7 +14352,7 @@ Label_F07B: ldx #$00 ; CPU:$F086 PRG:3086 A2 00 jmp $D20E ; CPU:$F088 PRG:3088 4C 0E D2 ; ----------------------------------------------------------------------------- -; Routine: Label_F08B +; Routine: SubCF006_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14350,23 +14360,23 @@ Label_F07B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F08B: - bne Label_F0F1 ; CPU:$F08B PRG:308B D0 64 +SubCF006_Block_5: + bne SubCF051_Block_2 ; CPU:$F08B PRG:308B D0 64 lda ZpCF ; CPU:$F08D PRG:308D A5 CF sta Zp98 ; CPU:$F08F PRG:308F 85 98 inc Zp98 ; CPU:$F091 PRG:3091 E6 98 cmp #$04 ; CPU:$F093 PRG:3093 C9 04 - bpl Label_F0BD ; CPU:$F095 PRG:3095 10 26 + bpl SubCF051_Block_3 ; CPU:$F095 PRG:3095 10 26 lda ZpCF ; CPU:$F097 PRG:3097 A5 CF tax ; CPU:$F099 PRG:3099 AA lda $0498,x ; CPU:$F09A PRG:309A BD 98 04 - ldy ZpEC ; CPU:$F09D PRG:309D A4 EC + ldy GameState ; CPU:$F09D PRG:309D A4 EC cpy #$01 ; CPU:$F09F PRG:309F C0 01 - bne Label_F0A9 ; CPU:$F0A1 PRG:30A1 D0 06 + bne SubCF051_Block_4 ; CPU:$F0A1 PRG:30A1 D0 06 jsr $F12B ; CPU:$F0A3 PRG:30A3 20 2B F1 jmp $F0AE ; CPU:$F0A6 PRG:30A6 4C AE F0 ; ----------------------------------------------------------------------------- -; Routine: Label_F0A9 +; Routine: SubCF051_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14374,11 +14384,11 @@ Label_F08B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0A9: +SubCF051_Block_4: sta ZpBC ; CPU:$F0A9 PRG:30A9 85 BC jsr $EA7C ; CPU:$F0AB PRG:30AB 20 7C EA ; ----------------------------------------------------------------------------- -; Routine: Label_F0AE +; Routine: SubCF0AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +14396,16 @@ Label_F0A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0AE: +SubCF0AE: inc ZpCF ; CPU:$F0AE PRG:30AE E6 CF lda ZpA3 ; CPU:$F0B0 PRG:30B0 A5 A3 cmp #$03 ; CPU:$F0B2 PRG:30B2 C9 03 - bne Label_F0BC ; CPU:$F0B4 PRG:30B4 D0 06 + bne SubCF0AE_Block_2 ; CPU:$F0B4 PRG:30B4 D0 06 cmp ZpCF ; CPU:$F0B6 PRG:30B6 C5 CF - bne Label_F0BC ; CPU:$F0B8 PRG:30B8 D0 02 + bne SubCF0AE_Block_2 ; CPU:$F0B8 PRG:30B8 D0 02 inc ZpCF ; CPU:$F0BA PRG:30BA E6 CF ; ----------------------------------------------------------------------------- -; Routine: Label_F0BC +; Routine: SubCF0AE_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14403,10 +14413,10 @@ Label_F0AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0BC: +SubCF0AE_Block_2: rts ; CPU:$F0BC PRG:30BC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F0BD +; Routine: SubCF051_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14414,19 +14424,19 @@ Label_F0BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0BD: +SubCF051_Block_3: cmp #$08 ; CPU:$F0BD PRG:30BD C9 08 - bpl Label_F0E9 ; CPU:$F0BF PRG:30BF 10 28 + bpl SubCF0AE_Block_3 ; CPU:$F0BF PRG:30BF 10 28 lda ZpCF ; CPU:$F0C1 PRG:30C1 A5 CF tax ; CPU:$F0C3 PRG:30C3 AA lda $049D,x ; CPU:$F0C4 PRG:30C4 BD 9D 04 - ldy ZpEC ; CPU:$F0C7 PRG:30C7 A4 EC + ldy GameState ; CPU:$F0C7 PRG:30C7 A4 EC cpy #$01 ; CPU:$F0C9 PRG:30C9 C0 01 - bne Label_F0D3 ; CPU:$F0CB PRG:30CB D0 06 + bne SubCF0AE_Block_4 ; CPU:$F0CB PRG:30CB D0 06 jsr $F12B ; CPU:$F0CD PRG:30CD 20 2B F1 jmp $F0D8 ; CPU:$F0D0 PRG:30D0 4C D8 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_F0D3 +; Routine: SubCF0AE_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +14444,11 @@ Label_F0BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0D3: +SubCF0AE_Block_4: sta ZpBC ; CPU:$F0D3 PRG:30D3 85 BC jsr $EA7C ; CPU:$F0D5 PRG:30D5 20 7C EA ; ----------------------------------------------------------------------------- -; Routine: Label_F0D8 +; Routine: SubCF0D8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14446,17 +14456,17 @@ Label_F0D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0D8: +SubCF0D8: inc ZpCF ; CPU:$F0D8 PRG:30D8 E6 CF lda ZpA4 ; CPU:$F0DA PRG:30DA A5 A4 cmp #$03 ; CPU:$F0DC PRG:30DC C9 03 - bne Label_F0E8 ; CPU:$F0DE PRG:30DE D0 08 + bne SubCF0D8_Block_2 ; CPU:$F0DE PRG:30DE D0 08 lda ZpCF ; CPU:$F0E0 PRG:30E0 A5 CF cmp #$07 ; CPU:$F0E2 PRG:30E2 C9 07 - bne Label_F0E8 ; CPU:$F0E4 PRG:30E4 D0 02 + bne SubCF0D8_Block_2 ; CPU:$F0E4 PRG:30E4 D0 02 inc ZpCF ; CPU:$F0E6 PRG:30E6 E6 CF ; ----------------------------------------------------------------------------- -; Routine: Label_F0E8 +; Routine: SubCF0D8_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +14474,10 @@ Label_F0D8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0E8: +SubCF0D8_Block_2: rts ; CPU:$F0E8 PRG:30E8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F0E9 +; Routine: SubCF0AE_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14475,13 +14485,13 @@ Label_F0E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0E9: +SubCF0AE_Block_3: lda ZpCF ; CPU:$F0E9 PRG:30E9 A5 CF sec ; CPU:$F0EB PRG:30EB 38 sbc #$08 ; CPU:$F0EC PRG:30EC E9 08 jmp $F030 ; CPU:$F0EE PRG:30EE 4C 30 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_F0F1 +; Routine: SubCF051_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14489,8 +14499,8 @@ Label_F0E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0F1: - lda ZpEA ; CPU:$F0F1 PRG:30F1 A5 EA +SubCF051_Block_2: + lda SndChannel ; CPU:$F0F1 PRG:30F1 A5 EA tax ; CPU:$F0F3 PRG:30F3 AA lda $C0B6,x ; CPU:$F0F4 PRG:30F4 BD B6 C0 clc ; CPU:$F0F7 PRG:30F7 18 @@ -14503,13 +14513,13 @@ Label_F0F1: lda $C098,x ; CPU:$F104 PRG:3104 BD 98 C0 tay ; CPU:$F107 PRG:3107 A8 lda $047F,y ; CPU:$F108 PRG:3108 B9 7F 04 - ldy ZpEC ; CPU:$F10B PRG:310B A4 EC + ldy GameState ; CPU:$F10B PRG:310B A4 EC cpy #$01 ; CPU:$F10D PRG:310D C0 01 - bne Label_F117 ; CPU:$F10F PRG:310F D0 06 + bne SubCF0D8_Block_3 ; CPU:$F10F PRG:310F D0 06 jsr $F12B ; CPU:$F111 PRG:3111 20 2B F1 jmp $F11C ; CPU:$F114 PRG:3114 4C 1C F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F117 +; Routine: SubCF0D8_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14517,11 +14527,11 @@ Label_F0F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F117: +SubCF0D8_Block_3: sta ZpBC ; CPU:$F117 PRG:3117 85 BC jsr $EA7C ; CPU:$F119 PRG:3119 20 7C EA ; ----------------------------------------------------------------------------- -; Routine: Label_F11C +; Routine: SubCF11C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14529,15 +14539,15 @@ Label_F117: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F11C: +SubCF11C: inc ZpCF ; CPU:$F11C PRG:311C E6 CF lda $04D4 ; CPU:$F11E PRG:311E AD D4 04 tax ; CPU:$F121 PRG:3121 AA lda $C099,x ; CPU:$F122 PRG:3122 BD 99 C0 - bne Label_F12A ; CPU:$F125 PRG:3125 D0 03 + bne SubCF11C_Block ; CPU:$F125 PRG:3125 D0 03 jmp $F051 ; CPU:$F127 PRG:3127 4C 51 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_F12A +; Routine: SubCF11C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14545,10 +14555,10 @@ Label_F11C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F12A: +SubCF11C_Block: rts ; CPU:$F12A PRG:312A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F12B +; Routine: SubCF12B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14556,13 +14566,13 @@ Label_F12A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F12B: +SubCF12B: ldy $05F0 ; CPU:$F12B PRG:312B AC F0 05 sta $05E0,y ; CPU:$F12E PRG:312E 99 E0 05 inc $05F0 ; CPU:$F131 PRG:3131 EE F0 05 rts ; CPU:$F134 PRG:3134 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F135 +; Routine: SubCF135 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14570,25 +14580,25 @@ Label_F12B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F135: +SubCF135: lda $0331 ; CPU:$F135 PRG:3135 AD 31 03 - bne Label_F179 ; CPU:$F138 PRG:3138 D0 3F + bne SubCF135_Block_2 ; CPU:$F138 PRG:3138 D0 3F ldx $0300 ; CPU:$F13A PRG:313A AE 00 03 lda $0302,x ; CPU:$F13D PRG:313D BD 02 03 - beq Label_F179 ; CPU:$F140 PRG:3140 F0 37 + beq SubCF135_Block_2 ; CPU:$F140 PRG:3140 F0 37 and #$F0 ; CPU:$F142 PRG:3142 29 F0 lsr a ; CPU:$F144 PRG:3144 4A lsr a ; CPU:$F145 PRG:3145 4A lsr a ; CPU:$F146 PRG:3146 4A tay ; CPU:$F147 PRG:3147 A8 lda $BFFE,y ; CPU:$F148 PRG:3148 B9 FE BF - sta Zp02 ; CPU:$F14B PRG:314B 85 02 + sta Ptr2Lo ; CPU:$F14B PRG:314B 85 02 iny ; CPU:$F14D PRG:314D C8 lda $BFFE,y ; CPU:$F14E PRG:314E B9 FE BF sta Zp03 ; CPU:$F151 PRG:3151 85 03 lda $0302,x ; CPU:$F153 PRG:3153 BD 02 03 and #$0F ; CPU:$F156 PRG:3156 29 0F - sta Zp01 ; CPU:$F158 PRG:3158 85 01 + sta PtrHi ; CPU:$F158 PRG:3158 85 01 lda #$00 ; CPU:$F15A PRG:315A A9 00 sta $0302,x ; CPU:$F15C PRG:315C 9D 02 03 lda #$F1 ; CPU:$F15F PRG:315F A9 F1 @@ -14599,10 +14609,10 @@ Label_F135: inx ; CPU:$F166 PRG:3166 E8 txa ; CPU:$F167 PRG:3167 8A cmp #$2E ; CPU:$F168 PRG:3168 C9 2E - bcc Label_F16E ; CPU:$F16A PRG:316A 90 02 + bcc SubCF135_Block_3 ; CPU:$F16A PRG:316A 90 02 lda #$00 ; CPU:$F16C PRG:316C A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F16E +; Routine: SubCF135_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14610,13 +14620,13 @@ Label_F135: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F16E: +SubCF135_Block_3: sta $0300 ; CPU:$F16E PRG:316E 8D 00 03 lda $0301,x ; CPU:$F171 PRG:3171 BD 01 03 - sta Zp00 ; CPU:$F174 PRG:3174 85 00 + sta PtrLo ; CPU:$F174 PRG:3174 85 00 jmp ($0002) ; CPU:$F176 PRG:3176 6C 02 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F179 +; Routine: SubCF135_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14624,10 +14634,10 @@ Label_F16E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F179: +SubCF135_Block_2: rts ; CPU:$F179 PRG:3179 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F17A +; Routine: SubCF17A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,21 +14645,21 @@ Label_F179: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F17A: +SubCF17A: ldx $0301 ; CPU:$F17A PRG:317A AE 01 03 ldy $0302,x ; CPU:$F17D PRG:317D BC 02 03 - bne Label_F196 ; CPU:$F180 PRG:3180 D0 14 + bne SubCF17A_Block ; CPU:$F180 PRG:3180 D0 14 sta $0303,x ; CPU:$F182 PRG:3182 9D 03 03 - lda Zp01 ; CPU:$F185 PRG:3185 A5 01 + lda PtrHi ; CPU:$F185 PRG:3185 A5 01 sta $0302,x ; CPU:$F187 PRG:3187 9D 02 03 inx ; CPU:$F18A PRG:318A E8 inx ; CPU:$F18B PRG:318B E8 txa ; CPU:$F18C PRG:318C 8A cmp #$2E ; CPU:$F18D PRG:318D C9 2E - bcc Label_F193 ; CPU:$F18F PRG:318F 90 02 + bcc SubCF17A_Block_2 ; CPU:$F18F PRG:318F 90 02 lda #$00 ; CPU:$F191 PRG:3191 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F193 +; Routine: SubCF17A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14657,10 +14667,10 @@ Label_F17A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F193: +SubCF17A_Block_2: sta $0301 ; CPU:$F193 PRG:3193 8D 01 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F196 +; Routine: SubCF17A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14668,10 +14678,10 @@ Label_F193: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F196: +SubCF17A_Block: rts ; CPU:$F196 PRG:3196 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F197 +; Routine: SubCF197 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14679,16 +14689,16 @@ Label_F196: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F197: +SubCF197: lda $2002 ; CPU:$F197 PRG:3197 AD 02 20 - lda Zp10 ; CPU:$F19A PRG:319A A5 10 + lda VBlankTimer ; CPU:$F19A PRG:319A A5 10 and #$FB ; CPU:$F19C PRG:319C 29 FB sta $2000 ; CPU:$F19E PRG:319E 8D 00 20 - sta Zp10 ; CPU:$F1A1 PRG:31A1 85 10 + sta VBlankTimer ; CPU:$F1A1 PRG:31A1 85 10 lda #$1C ; CPU:$F1A3 PRG:31A3 A9 1C clc ; CPU:$F1A5 PRG:31A5 18 ; ----------------------------------------------------------------------------- -; Routine: Label_F1A6 +; Routine: SubCF197_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14696,11 +14706,11 @@ Label_F197: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1A6: +SubCF197_Block: adc #$04 ; CPU:$F1A6 PRG:31A6 69 04 - dec Zp01 ; CPU:$F1A8 PRG:31A8 C6 01 - bne Label_F1A6 ; CPU:$F1AA PRG:31AA D0 FA - sta Zp02 ; CPU:$F1AC PRG:31AC 85 02 + dec PtrHi ; CPU:$F1A8 PRG:31A8 C6 01 + bne SubCF197_Block ; CPU:$F1AA PRG:31AA D0 FA + sta Ptr2Lo ; CPU:$F1AC PRG:31AC 85 02 sta $2006 ; CPU:$F1AE PRG:31AE 8D 06 20 lda #$00 ; CPU:$F1B1 PRG:31B1 A9 00 sta $2006 ; CPU:$F1B3 PRG:31B3 8D 06 20 @@ -14708,7 +14718,7 @@ Label_F1A6: ldy #$00 ; CPU:$F1B8 PRG:31B8 A0 00 lda #$24 ; CPU:$F1BA PRG:31BA A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_F1BC +; Routine: SubCF197_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +14726,13 @@ Label_F1A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1BC: +SubCF197_Block_3: sta $2007 ; CPU:$F1BC PRG:31BC 8D 07 20 dey ; CPU:$F1BF PRG:31BF 88 - bne Label_F1BC ; CPU:$F1C0 PRG:31C0 D0 FA + bne SubCF197_Block_3 ; CPU:$F1C0 PRG:31C0 D0 FA dex ; CPU:$F1C2 PRG:31C2 CA - bne Label_F1BC ; CPU:$F1C3 PRG:31C3 D0 F7 - lda Zp02 ; CPU:$F1C5 PRG:31C5 A5 02 + bne SubCF197_Block_3 ; CPU:$F1C3 PRG:31C3 D0 F7 + lda Ptr2Lo ; CPU:$F1C5 PRG:31C5 A5 02 adc #$03 ; CPU:$F1C7 PRG:31C7 69 03 sta $2006 ; CPU:$F1C9 PRG:31C9 8D 06 20 lda #$C0 ; CPU:$F1CC PRG:31CC A9 C0 @@ -14730,7 +14740,7 @@ Label_F1BC: ldy #$40 ; CPU:$F1D1 PRG:31D1 A0 40 lda #$00 ; CPU:$F1D3 PRG:31D3 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F1D5 +; Routine: SubCF197_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14738,13 +14748,13 @@ Label_F1BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1D5: +SubCF197_Block_4: sta $2007 ; CPU:$F1D5 PRG:31D5 8D 07 20 dey ; CPU:$F1D8 PRG:31D8 88 - bne Label_F1D5 ; CPU:$F1D9 PRG:31D9 D0 FA + bne SubCF197_Block_4 ; CPU:$F1D9 PRG:31D9 D0 FA rts ; CPU:$F1DB PRG:31DB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F1DC +; Routine: SubCF218_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14752,21 +14762,21 @@ Label_F1D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1DC: +SubCF218_Block: sta $2006 ; CPU:$F1DC PRG:31DC 8D 06 20 iny ; CPU:$F1DF PRG:31DF C8 - lda (Zp00),y ; CPU:$F1E0 PRG:31E0 B1 00 + lda (PtrLo),y ; CPU:$F1E0 PRG:31E0 B1 00 sta $2006 ; CPU:$F1E2 PRG:31E2 8D 06 20 iny ; CPU:$F1E5 PRG:31E5 C8 - lda (Zp00),y ; CPU:$F1E6 PRG:31E6 B1 00 + lda (PtrLo),y ; CPU:$F1E6 PRG:31E6 B1 00 asl a ; CPU:$F1E8 PRG:31E8 0A pha ; CPU:$F1E9 PRG:31E9 48 - lda Zp10 ; CPU:$F1EA PRG:31EA A5 10 + lda VBlankTimer ; CPU:$F1EA PRG:31EA A5 10 ora #$04 ; CPU:$F1EC PRG:31EC 09 04 - bcs Label_F1F2 ; CPU:$F1EE PRG:31EE B0 02 + bcs SubCF197_Block_5 ; CPU:$F1EE PRG:31EE B0 02 and #$FB ; CPU:$F1F0 PRG:31F0 29 FB ; ----------------------------------------------------------------------------- -; Routine: Label_F1F2 +; Routine: SubCF197_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +14784,16 @@ Label_F1DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1F2: +SubCF197_Block_5: sta $2000 ; CPU:$F1F2 PRG:31F2 8D 00 20 - sta Zp10 ; CPU:$F1F5 PRG:31F5 85 10 + sta VBlankTimer ; CPU:$F1F5 PRG:31F5 85 10 pla ; CPU:$F1F7 PRG:31F7 68 asl a ; CPU:$F1F8 PRG:31F8 0A - bcc Label_F1FE ; CPU:$F1F9 PRG:31F9 90 03 + bcc SubCF197_Block_6 ; CPU:$F1F9 PRG:31F9 90 03 ora #$02 ; CPU:$F1FB PRG:31FB 09 02 iny ; CPU:$F1FD PRG:31FD C8 ; ----------------------------------------------------------------------------- -; Routine: Label_F1FE +; Routine: SubCF197_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14791,12 +14801,12 @@ Label_F1F2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1FE: +SubCF197_Block_6: lsr a ; CPU:$F1FE PRG:31FE 4A lsr a ; CPU:$F1FF PRG:31FF 4A tax ; CPU:$F200 PRG:3200 AA ; ----------------------------------------------------------------------------- -; Routine: Label_F201 +; Routine: SubCF197_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14804,11 +14814,11 @@ Label_F1FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F201: - bcs Label_F204 ; CPU:$F201 PRG:3201 B0 01 +SubCF197_Block_8: + bcs SubCF197_Block_7 ; CPU:$F201 PRG:3201 B0 01 iny ; CPU:$F203 PRG:3203 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_F204 +; Routine: SubCF197_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14816,20 +14826,20 @@ Label_F201: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F204: - lda (Zp00),y ; CPU:$F204 PRG:3204 B1 00 +SubCF197_Block_7: + lda (PtrLo),y ; CPU:$F204 PRG:3204 B1 00 sta $2007 ; CPU:$F206 PRG:3206 8D 07 20 dex ; CPU:$F209 PRG:3209 CA - bne Label_F201 ; CPU:$F20A PRG:320A D0 F5 + bne SubCF197_Block_8 ; CPU:$F20A PRG:320A D0 F5 sec ; CPU:$F20C PRG:320C 38 tya ; CPU:$F20D PRG:320D 98 - adc Zp00 ; CPU:$F20E PRG:320E 65 00 - sta Zp00 ; CPU:$F210 PRG:3210 85 00 + adc PtrLo ; CPU:$F20E PRG:320E 65 00 + sta PtrLo ; CPU:$F210 PRG:3210 85 00 lda #$00 ; CPU:$F212 PRG:3212 A9 00 - adc Zp01 ; CPU:$F214 PRG:3214 65 01 - sta Zp01 ; CPU:$F216 PRG:3216 85 01 + adc PtrHi ; CPU:$F214 PRG:3214 65 01 + sta PtrHi ; CPU:$F216 PRG:3216 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F218 +; Routine: SubCF218 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14837,13 +14847,13 @@ Label_F204: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F218: +SubCF218: ldx $2002 ; CPU:$F218 PRG:3218 AE 02 20 ldy #$00 ; CPU:$F21B PRG:321B A0 00 - lda (Zp00),y ; CPU:$F21D PRG:321D B1 00 - bne Label_F1DC ; CPU:$F21F PRG:321F D0 BB + lda (PtrLo),y ; CPU:$F21D PRG:321D B1 00 + bne SubCF218_Block ; CPU:$F21F PRG:321F D0 BB ; ----------------------------------------------------------------------------- -; Routine: Label_F221 +; Routine: SubCF221 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14851,13 +14861,13 @@ Label_F218: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F221: +SubCF221: lda #$00 ; CPU:$F221 PRG:3221 A9 00 sta $2005 ; CPU:$F223 PRG:3223 8D 05 20 sta $2005 ; CPU:$F226 PRG:3226 8D 05 20 rts ; CPU:$F229 PRG:3229 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F22A +; Routine: SubCF22A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14865,11 +14875,11 @@ Label_F221: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F22A: - sta Zp00 ; CPU:$F22A PRG:322A 85 00 +SubCF22A: + sta PtrLo ; CPU:$F22A PRG:322A 85 00 lda #$04 ; CPU:$F22C PRG:322C A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_F22E +; Routine: SubCF22A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14877,14 +14887,14 @@ Label_F22A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F22E: - lsr Zp00 ; CPU:$F22E PRG:322E 46 00 - bcc Label_F237 ; CPU:$F230 PRG:3230 90 05 +SubCF22A_Block_2: + lsr PtrLo ; CPU:$F22E PRG:322E 46 00 + bcc SubCF22A_Block ; CPU:$F230 PRG:3230 90 05 pha ; CPU:$F232 PRG:3232 48 jsr $F23D ; CPU:$F233 PRG:3233 20 3D F2 pla ; CPU:$F236 PRG:3236 68 ; ----------------------------------------------------------------------------- -; Routine: Label_F237 +; Routine: SubCF22A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14892,13 +14902,13 @@ Label_F22E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F237: +SubCF22A_Block: clc ; CPU:$F237 PRG:3237 18 sbc #$00 ; CPU:$F238 PRG:3238 E9 00 - bpl Label_F22E ; CPU:$F23A PRG:323A 10 F2 + bpl SubCF22A_Block_2 ; CPU:$F23A PRG:323A 10 F2 rts ; CPU:$F23C PRG:323C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F23D +; Routine: SubCF23D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +14916,11 @@ Label_F237: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F23D: +SubCF23D: asl a ; CPU:$F23D PRG:323D 0A asl a ; CPU:$F23E PRG:323E 0A tay ; CPU:$F23F PRG:323F A8 - sta Zp02 ; CPU:$F240 PRG:3240 85 02 + sta Ptr2Lo ; CPU:$F240 PRG:3240 85 02 ldx $0330 ; CPU:$F242 PRG:3242 AE 30 03 lda $C00A,y ; CPU:$F245 PRG:3245 B9 0A C0 sta $0331,x ; CPU:$F248 PRG:3248 9D 31 03 @@ -14923,10 +14933,10 @@ Label_F23D: lda $C00A,y ; CPU:$F259 PRG:3259 B9 0A C0 and #$07 ; CPU:$F25C PRG:325C 29 07 sta $0331,x ; CPU:$F25E PRG:325E 9D 31 03 - sta Zp01 ; CPU:$F261 PRG:3261 85 01 + sta PtrHi ; CPU:$F261 PRG:3261 85 01 txa ; CPU:$F263 PRG:3263 8A sec ; CPU:$F264 PRG:3264 38 - adc Zp01 ; CPU:$F265 PRG:3265 65 01 + adc PtrHi ; CPU:$F265 PRG:3265 65 01 jsr $F30C ; CPU:$F267 PRG:3267 20 0C F3 tax ; CPU:$F26A PRG:326A AA stx $0330 ; CPU:$F26B PRG:326B 8E 30 03 @@ -14936,7 +14946,7 @@ Label_F23D: lda $C00A,y ; CPU:$F274 PRG:3274 B9 0A C0 sta Zp03 ; CPU:$F277 PRG:3277 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F279 +; Routine: SubCF23D_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14944,13 +14954,13 @@ Label_F23D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F279: +SubCF23D_Block_2: dex ; CPU:$F279 PRG:3279 CA lda a:$0020,y ; CPU:$F27A PRG:327A B9 20 00 and #$0F ; CPU:$F27D PRG:327D 29 0F sta $0331,x ; CPU:$F27F PRG:327F 9D 31 03 - dec Zp01 ; CPU:$F282 PRG:3282 C6 01 - beq Label_F298 ; CPU:$F284 PRG:3284 F0 12 + dec PtrHi ; CPU:$F282 PRG:3282 C6 01 + beq SubCF23D_Block ; CPU:$F284 PRG:3284 F0 12 dex ; CPU:$F286 PRG:3286 CA lda a:$0020,y ; CPU:$F287 PRG:3287 B9 20 00 and #$F0 ; CPU:$F28A PRG:328A 29 F0 @@ -14960,10 +14970,10 @@ Label_F279: lsr a ; CPU:$F28F PRG:328F 4A sta $0331,x ; CPU:$F290 PRG:3290 9D 31 03 dey ; CPU:$F293 PRG:3293 88 - dec Zp01 ; CPU:$F294 PRG:3294 C6 01 - bne Label_F279 ; CPU:$F296 PRG:3296 D0 E1 + dec PtrHi ; CPU:$F294 PRG:3294 C6 01 + bne SubCF23D_Block_2 ; CPU:$F296 PRG:3296 D0 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_F298 +; Routine: SubCF23D_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14971,17 +14981,17 @@ Label_F279: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F298: +SubCF23D_Block: lda Zp03 ; CPU:$F298 PRG:3298 A5 03 and #$01 ; CPU:$F29A PRG:329A 29 01 - beq Label_F2A9 ; CPU:$F29C PRG:329C F0 0B - ldy Zp02 ; CPU:$F29E PRG:329E A4 02 + beq SubCF23D_Block_3 ; CPU:$F29C PRG:329C F0 0B + ldy Ptr2Lo ; CPU:$F29E PRG:329E A4 02 clc ; CPU:$F2A0 PRG:32A0 18 lda a:$0020,y ; CPU:$F2A1 PRG:32A1 B9 20 00 adc #$37 ; CPU:$F2A4 PRG:32A4 69 37 sta $0331,x ; CPU:$F2A6 PRG:32A6 9D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F2A9 +; Routine: SubCF23D_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14989,10 +14999,10 @@ Label_F298: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2A9: +SubCF23D_Block_3: rts ; CPU:$F2A9 PRG:32A9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F2AA +; Routine: SubCF2AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15000,10 +15010,10 @@ Label_F2A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2AA: +SubCF2AA: sta Zp03 ; CPU:$F2AA PRG:32AA 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F2AC +; Routine: SubCF2AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15011,16 +15021,16 @@ Label_F2AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2AC: +SubCF2AC: txa ; CPU:$F2AC PRG:32AC 8A pha ; CPU:$F2AD PRG:32AD 48 tya ; CPU:$F2AE PRG:32AE 98 pha ; CPU:$F2AF PRG:32AF 48 ldy #$00 ; CPU:$F2B0 PRG:32B0 A0 00 - lda (Zp02),y ; CPU:$F2B2 PRG:32B2 B1 02 + lda (Ptr2Lo),y ; CPU:$F2B2 PRG:32B2 B1 02 and #$0F ; CPU:$F2B4 PRG:32B4 29 0F sta Zp05 ; CPU:$F2B6 PRG:32B6 85 05 - lda (Zp02),y ; CPU:$F2B8 PRG:32B8 B1 02 + lda (Ptr2Lo),y ; CPU:$F2B8 PRG:32B8 B1 02 lsr a ; CPU:$F2BA PRG:32BA 4A lsr a ; CPU:$F2BB PRG:32BB 4A lsr a ; CPU:$F2BC PRG:32BC 4A @@ -15028,7 +15038,7 @@ Label_F2AC: sta Zp04 ; CPU:$F2BE PRG:32BE 85 04 ldx $0330 ; CPU:$F2C0 PRG:32C0 AE 30 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F2C3 +; Routine: SubCF2AC_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15036,11 +15046,11 @@ Label_F2AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2C3: - lda Zp01 ; CPU:$F2C3 PRG:32C3 A5 01 +SubCF2AC_Block_2: + lda PtrHi ; CPU:$F2C3 PRG:32C3 A5 01 sta $0331,x ; CPU:$F2C5 PRG:32C5 9D 31 03 jsr $F30A ; CPU:$F2C8 PRG:32C8 20 0A F3 - lda Zp00 ; CPU:$F2CB PRG:32CB A5 00 + lda PtrLo ; CPU:$F2CB PRG:32CB A5 00 sta $0331,x ; CPU:$F2CD PRG:32CD 9D 31 03 jsr $F30A ; CPU:$F2D0 PRG:32D0 20 0A F3 lda Zp04 ; CPU:$F2D3 PRG:32D3 A5 04 @@ -15048,7 +15058,7 @@ Label_F2C3: ora #$80 ; CPU:$F2D7 PRG:32D7 09 80 sta $0331,x ; CPU:$F2D9 PRG:32D9 9D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F2DC +; Routine: SubCF2AC_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15056,28 +15066,28 @@ Label_F2C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2DC: +SubCF2AC_Block: jsr $F30A ; CPU:$F2DC PRG:32DC 20 0A F3 iny ; CPU:$F2DF PRG:32DF C8 - lda (Zp02),y ; CPU:$F2E0 PRG:32E0 B1 02 + lda (Ptr2Lo),y ; CPU:$F2E0 PRG:32E0 B1 02 sta $0331,x ; CPU:$F2E2 PRG:32E2 9D 31 03 dec Zp06 ; CPU:$F2E5 PRG:32E5 C6 06 - bne Label_F2DC ; CPU:$F2E7 PRG:32E7 D0 F3 + bne SubCF2AC_Block ; CPU:$F2E7 PRG:32E7 D0 F3 jsr $F30A ; CPU:$F2E9 PRG:32E9 20 0A F3 clc ; CPU:$F2EC PRG:32EC 18 lda #$01 ; CPU:$F2ED PRG:32ED A9 01 - adc Zp00 ; CPU:$F2EF PRG:32EF 65 00 - sta Zp00 ; CPU:$F2F1 PRG:32F1 85 00 + adc PtrLo ; CPU:$F2EF PRG:32EF 65 00 + sta PtrLo ; CPU:$F2F1 PRG:32F1 85 00 lda #$00 ; CPU:$F2F3 PRG:32F3 A9 00 - adc Zp01 ; CPU:$F2F5 PRG:32F5 65 01 - sta Zp01 ; CPU:$F2F7 PRG:32F7 85 01 + adc PtrHi ; CPU:$F2F5 PRG:32F5 65 01 + sta PtrHi ; CPU:$F2F7 PRG:32F7 85 01 stx $0330 ; CPU:$F2F9 PRG:32F9 8E 30 03 dec Zp05 ; CPU:$F2FC PRG:32FC C6 05 - bne Label_F2C3 ; CPU:$F2FE PRG:32FE D0 C3 + bne SubCF2AC_Block_2 ; CPU:$F2FE PRG:32FE D0 C3 lda #$00 ; CPU:$F300 PRG:3300 A9 00 sta $0331,x ; CPU:$F302 PRG:3302 9D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F305 +; Routine: SubCF305 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15085,14 +15095,14 @@ Label_F2DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F305: +SubCF305: pla ; CPU:$F305 PRG:3305 68 tay ; CPU:$F306 PRG:3306 A8 pla ; CPU:$F307 PRG:3307 68 tax ; CPU:$F308 PRG:3308 AA rts ; CPU:$F309 PRG:3309 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F30A +; Routine: SubCF30A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15100,11 +15110,11 @@ Label_F305: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F30A: +SubCF30A: inx ; CPU:$F30A PRG:330A E8 txa ; CPU:$F30B PRG:330B 8A ; ----------------------------------------------------------------------------- -; Routine: Label_F30C +; Routine: SubCF30C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15112,9 +15122,9 @@ Label_F30A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F30C: +SubCF30C: cmp #$3F ; CPU:$F30C PRG:330C C9 3F - bcc Label_F31D ; CPU:$F30E PRG:330E 90 0D + bcc SubCF30C_Block ; CPU:$F30E PRG:330E 90 0D ldx $0330 ; CPU:$F310 PRG:3310 AE 30 03 lda #$00 ; CPU:$F313 PRG:3313 A9 00 sta $0331,x ; CPU:$F315 PRG:3315 9D 31 03 @@ -15122,7 +15132,7 @@ Label_F30C: pla ; CPU:$F319 PRG:3319 68 jmp $F305 ; CPU:$F31A PRG:331A 4C 05 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_F31D +; Routine: SubCF30C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15130,10 +15140,10 @@ Label_F30C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F31D: +SubCF30C_Block: rts ; CPU:$F31D PRG:331D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F31E +; Routine: SubCF31E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15141,11 +15151,11 @@ Label_F31D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F31E: +SubCF31E: ldx #$FF ; CPU:$F31E PRG:331E A2 FF - bne Label_F324 ; CPU:$F320 PRG:3320 D0 02 + bne SubCF31E_Block ; CPU:$F320 PRG:3320 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F322 +; Routine: SubCF322 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15153,10 +15163,10 @@ Label_F31E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F322: +SubCF322: ldx #$00 ; CPU:$F322 PRG:3322 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F324 +; Routine: SubCF31E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15164,18 +15174,18 @@ Label_F322: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F324: +SubCF31E_Block: stx Zp04 ; CPU:$F324 PRG:3324 86 04 ldx #$00 ; CPU:$F326 PRG:3326 A2 00 stx Zp05 ; CPU:$F328 PRG:3328 86 05 stx Zp06 ; CPU:$F32A PRG:332A 86 06 stx Zp07 ; CPU:$F32C PRG:332C 86 07 - lda Zp01 ; CPU:$F32E PRG:332E A5 01 + lda PtrHi ; CPU:$F32E PRG:332E A5 01 and #$08 ; CPU:$F330 PRG:3330 29 08 - bne Label_F335 ; CPU:$F332 PRG:3332 D0 01 + bne SubCF322_Block ; CPU:$F332 PRG:3332 D0 01 inx ; CPU:$F334 PRG:3334 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_F335 +; Routine: SubCF322_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15183,14 +15193,14 @@ Label_F324: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F335: - lda Zp00 ; CPU:$F335 PRG:3335 A5 00 +SubCF322_Block: + lda PtrLo ; CPU:$F335 PRG:3335 A5 00 sta Zp06,x ; CPU:$F337 PRG:3337 95 06 - lda Zp01 ; CPU:$F339 PRG:3339 A5 01 + lda PtrHi ; CPU:$F339 PRG:3339 A5 01 jsr $F33F ; CPU:$F33B PRG:333B 20 3F F3 rts ; CPU:$F33E PRG:333E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F33F +; Routine: SubCF33F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15198,17 +15208,17 @@ Label_F335: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F33F: +SubCF33F: and #$07 ; CPU:$F33F PRG:333F 29 07 asl a ; CPU:$F341 PRG:3341 0A asl a ; CPU:$F342 PRG:3342 0A tax ; CPU:$F343 PRG:3343 AA lda Zp04 ; CPU:$F344 PRG:3344 A5 04 - beq Label_F36F ; CPU:$F346 PRG:3346 F0 27 + beq SubCF33F_Block ; CPU:$F346 PRG:3346 F0 27 lda Zp24,x ; CPU:$F348 PRG:3348 B5 24 - beq Label_F373 ; CPU:$F34A PRG:334A F0 27 + beq SubCF33F_Block_2 ; CPU:$F34A PRG:334A F0 27 ; ----------------------------------------------------------------------------- -; Routine: Label_F34C +; Routine: SubCF33F_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15216,7 +15226,7 @@ Label_F33F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F34C: +SubCF33F_Block_3: clc ; CPU:$F34C PRG:334C 18 lda Zp27,x ; CPU:$F34D PRG:334D B5 27 sta Zp03 ; CPU:$F34F PRG:334F 85 03 @@ -15235,7 +15245,7 @@ Label_F34C: sta Zp25,x ; CPU:$F36C PRG:336C 95 25 rts ; CPU:$F36E PRG:336E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F36F +; Routine: SubCF33F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15243,11 +15253,11 @@ Label_F34C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F36F: +SubCF33F_Block: lda Zp24,x ; CPU:$F36F PRG:336F B5 24 - beq Label_F34C ; CPU:$F371 PRG:3371 F0 D9 + beq SubCF33F_Block_3 ; CPU:$F371 PRG:3371 F0 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_F373 +; Routine: SubCF33F_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15255,7 +15265,7 @@ Label_F36F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F373: +SubCF33F_Block_2: sec ; CPU:$F373 PRG:3373 38 lda Zp27,x ; CPU:$F374 PRG:3374 B5 27 sta Zp03 ; CPU:$F376 PRG:3376 85 03 @@ -15273,13 +15283,13 @@ Label_F373: jsr $F3E5 ; CPU:$F390 PRG:3390 20 E5 F3 sta Zp25,x ; CPU:$F393 PRG:3393 95 25 lda Zp25,x ; CPU:$F395 PRG:3395 B5 25 - bne Label_F3A1 ; CPU:$F397 PRG:3397 D0 08 + bne SubCF33F_Block_5 ; CPU:$F397 PRG:3397 D0 08 lda Zp26,x ; CPU:$F399 PRG:3399 B5 26 - bne Label_F3A1 ; CPU:$F39B PRG:339B D0 04 + bne SubCF33F_Block_5 ; CPU:$F39B PRG:339B D0 04 lda Zp27,x ; CPU:$F39D PRG:339D B5 27 - beq Label_F3A7 ; CPU:$F39F PRG:339F F0 06 + beq SubCF33F_Block_6 ; CPU:$F39F PRG:339F F0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F3A1 +; Routine: SubCF33F_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15287,12 +15297,12 @@ Label_F373: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3A1: - bcs Label_F3C3 ; CPU:$F3A1 PRG:33A1 B0 20 +SubCF33F_Block_5: + bcs SubCF33F_Block_7 ; CPU:$F3A1 PRG:33A1 B0 20 lda Zp24,x ; CPU:$F3A3 PRG:33A3 B5 24 eor #$FF ; CPU:$F3A5 PRG:33A5 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_F3A7 +; Routine: SubCF33F_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15300,7 +15310,7 @@ Label_F3A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3A7: +SubCF33F_Block_6: sta Zp24,x ; CPU:$F3A7 PRG:33A7 95 24 sec ; CPU:$F3A9 PRG:33A9 38 lda #$00 ; CPU:$F3AA PRG:33AA A9 00 @@ -15315,7 +15325,7 @@ Label_F3A7: jsr $F3E5 ; CPU:$F3BE PRG:33BE 20 E5 F3 sta Zp25,x ; CPU:$F3C1 PRG:33C1 95 25 ; ----------------------------------------------------------------------------- -; Routine: Label_F3C3 +; Routine: SubCF33F_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15323,10 +15333,10 @@ Label_F3A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3C3: +SubCF33F_Block_7: rts ; CPU:$F3C3 PRG:33C3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F3C4 +; Routine: SubCF3C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15334,14 +15344,14 @@ Label_F3C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3C4: +SubCF3C4: jsr $F407 ; CPU:$F3C4 PRG:33C4 20 07 F4 - adc Zp01 ; CPU:$F3C7 PRG:33C7 65 01 + adc PtrHi ; CPU:$F3C7 PRG:33C7 65 01 cmp #$0A ; CPU:$F3C9 PRG:33C9 C9 0A - bcc Label_F3CF ; CPU:$F3CB PRG:33CB 90 02 + bcc SubCF3C4_Block ; CPU:$F3CB PRG:33CB 90 02 adc #$05 ; CPU:$F3CD PRG:33CD 69 05 ; ----------------------------------------------------------------------------- -; Routine: Label_F3CF +; Routine: SubCF3C4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15349,16 +15359,16 @@ Label_F3C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3CF: +SubCF3C4_Block: clc ; CPU:$F3CF PRG:33CF 18 - adc Zp02 ; CPU:$F3D0 PRG:33D0 65 02 - sta Zp02 ; CPU:$F3D2 PRG:33D2 85 02 + adc Ptr2Lo ; CPU:$F3D0 PRG:33D0 65 02 + sta Ptr2Lo ; CPU:$F3D2 PRG:33D2 85 02 lda Zp03 ; CPU:$F3D4 PRG:33D4 A5 03 and #$F0 ; CPU:$F3D6 PRG:33D6 29 F0 - adc Zp02 ; CPU:$F3D8 PRG:33D8 65 02 - bcc Label_F3E0 ; CPU:$F3DA PRG:33DA 90 04 + adc Ptr2Lo ; CPU:$F3D8 PRG:33D8 65 02 + bcc SubCF3C4_Block_2 ; CPU:$F3DA PRG:33DA 90 04 ; ----------------------------------------------------------------------------- -; Routine: Label_F3DC +; Routine: SubCF3C4_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15366,12 +15376,12 @@ Label_F3CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3DC: +SubCF3C4_Block_3: adc #$5F ; CPU:$F3DC PRG:33DC 69 5F sec ; CPU:$F3DE PRG:33DE 38 rts ; CPU:$F3DF PRG:33DF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F3E0 +; Routine: SubCF3C4_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15379,12 +15389,12 @@ Label_F3DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3E0: +SubCF3C4_Block_2: cmp #$A0 ; CPU:$F3E0 PRG:33E0 C9 A0 - bcs Label_F3DC ; CPU:$F3E2 PRG:33E2 B0 F8 + bcs SubCF3C4_Block_3 ; CPU:$F3E2 PRG:33E2 B0 F8 rts ; CPU:$F3E4 PRG:33E4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F3E5 +; Routine: SubCF3E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15392,18 +15402,18 @@ Label_F3E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3E5: +SubCF3E5: jsr $F407 ; CPU:$F3E5 PRG:33E5 20 07 F4 - sbc Zp01 ; CPU:$F3E8 PRG:33E8 E5 01 - sta Zp01 ; CPU:$F3EA PRG:33EA 85 01 - bcs Label_F3F8 ; CPU:$F3EC PRG:33EC B0 0A + sbc PtrHi ; CPU:$F3E8 PRG:33E8 E5 01 + sta PtrHi ; CPU:$F3EA PRG:33EA 85 01 + bcs SubCF3E5_Block ; CPU:$F3EC PRG:33EC B0 0A adc #$0A ; CPU:$F3EE PRG:33EE 69 0A - sta Zp01 ; CPU:$F3F0 PRG:33F0 85 01 - lda Zp02 ; CPU:$F3F2 PRG:33F2 A5 02 + sta PtrHi ; CPU:$F3F0 PRG:33F0 85 01 + lda Ptr2Lo ; CPU:$F3F2 PRG:33F2 A5 02 adc #$0F ; CPU:$F3F4 PRG:33F4 69 0F - sta Zp02 ; CPU:$F3F6 PRG:33F6 85 02 + sta Ptr2Lo ; CPU:$F3F6 PRG:33F6 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F3F8 +; Routine: SubCF3E5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15411,16 +15421,16 @@ Label_F3E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3F8: +SubCF3E5_Block: lda Zp03 ; CPU:$F3F8 PRG:33F8 A5 03 and #$F0 ; CPU:$F3FA PRG:33FA 29 F0 sec ; CPU:$F3FC PRG:33FC 38 - sbc Zp02 ; CPU:$F3FD PRG:33FD E5 02 - bcs Label_F404 ; CPU:$F3FF PRG:33FF B0 03 + sbc Ptr2Lo ; CPU:$F3FD PRG:33FD E5 02 + bcs SubCF3E5_Block_2 ; CPU:$F3FF PRG:33FF B0 03 adc #$A0 ; CPU:$F401 PRG:3401 69 A0 clc ; CPU:$F403 PRG:3403 18 ; ----------------------------------------------------------------------------- -; Routine: Label_F404 +; Routine: SubCF3E5_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15428,11 +15438,11 @@ Label_F3F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F404: - ora Zp01 ; CPU:$F404 PRG:3404 05 01 +SubCF3E5_Block_2: + ora PtrHi ; CPU:$F404 PRG:3404 05 01 rts ; CPU:$F406 PRG:3406 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F407 +; Routine: SubCF407 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15440,17 +15450,18 @@ Label_F404: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F407: +SubCF407: pha ; CPU:$F407 PRG:3407 48 and #$0F ; CPU:$F408 PRG:3408 29 0F - sta Zp01 ; CPU:$F40A PRG:340A 85 01 + sta PtrHi ; CPU:$F40A PRG:340A 85 01 pla ; CPU:$F40C PRG:340C 68 and #$F0 ; CPU:$F40D PRG:340D 29 F0 - sta Zp02 ; CPU:$F40F PRG:340F 85 02 + sta Ptr2Lo ; CPU:$F40F PRG:340F 85 02 lda Zp03 ; CPU:$F411 PRG:3411 A5 03 and #$0F ; CPU:$F413 PRG:3413 29 0F rts ; CPU:$F415 PRG:3415 60 ; ---- data $F416-$F48C (119 bytes) ---- + MusicSeqPtrTable: ; Music sequence pointer table .byte $A9, $00, $85, $04, $18, $A5, $00, $69, $10, $29, $F0, $4A, $4A, $A8, $A5, $00 ; CPU:$F416 PRG:3416 A9 00 85 04 18 A5 00 69 10 29 F0 4A 4A A8 A5 00 .byte $29, $07, $0A, $0A, $AA, $B9, $20, $00, $F0, $51, $B5, $24, $F0, $26, $38, $B9 ; CPU:$F426 PRG:3426 29 07 0A 0A AA B9 20 00 F0 51 B5 24 F0 26 38 B9 .byte $23, $00, $85, $03, $B5, $27, $20, $E5, $F3, $B9, $22, $00, $85, $03, $B5, $26 ; CPU:$F436 PRG:3436 23 00 85 03 B5 27 20 E5 F3 B9 22 00 85 03 B5 26 @@ -15460,7 +15471,7 @@ Label_F407: .byte $29, $08, $F0, $06, $CA, $CA, $CA, $CA, $10, $AB, $60, $B5, $24, $F0, $AF, $B9 ; CPU:$F476 PRG:3476 29 08 F0 06 CA CA CA CA 10 AB 60 B5 24 F0 AF B9 .byte $20, $00, $D0, $D0, $18, $90, $D2 ; CPU:$F486 PRG:3486 20 00 D0 D0 18 90 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_F48D +; Routine: SubCF48D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15468,15 +15479,15 @@ Label_F407: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F48D: +SubCF48D: ldx #$07 ; CPU:$F48D PRG:348D A2 07 dec Zp30 ; CPU:$F48F PRG:348F C6 30 - bpl Label_F499 ; CPU:$F491 PRG:3491 10 06 + bpl SubCF48D_Block_3 ; CPU:$F491 PRG:3491 10 06 lda #$0A ; CPU:$F493 PRG:3493 A9 0A sta Zp30 ; CPU:$F495 PRG:3495 85 30 ldx #$16 ; CPU:$F497 PRG:3497 A2 16 ; ----------------------------------------------------------------------------- -; Routine: Label_F499 +; Routine: SubCF48D_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15484,12 +15495,12 @@ Label_F48D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F499: +SubCF48D_Block_3: lda Zp31,x ; CPU:$F499 PRG:3499 B5 31 - beq Label_F49F ; CPU:$F49B PRG:349B F0 02 + beq SubCF48D_Block_2 ; CPU:$F49B PRG:349B F0 02 dec Zp31,x ; CPU:$F49D PRG:349D D6 31 ; ----------------------------------------------------------------------------- -; Routine: Label_F49F +; Routine: SubCF48D_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15497,16 +15508,17 @@ Label_F499: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F49F: +SubCF48D_Block_2: dex ; CPU:$F49F PRG:349F CA - bpl Label_F499 ; CPU:$F4A0 PRG:34A0 10 F7 + bpl SubCF48D_Block_3 ; CPU:$F4A0 PRG:34A0 10 F7 rts ; CPU:$F4A2 PRG:34A2 60 ; ---- data $F4A3-$F4D1 (47 bytes) ---- + SoundEffectTable: ; Sound effect data .byte $8A, $48, $AE, $30, $03, $A5, $01, $9D, $31, $03, $20, $0A, $F3, $A5, $00, $9D ; CPU:$F4A3 PRG:34A3 8A 48 AE 30 03 A5 01 9D 31 03 20 0A F3 A5 00 9D .byte $31, $03, $20, $0A, $F3, $A9, $01, $9D, $31, $03, $20, $0A, $F3, $98, $9D, $31 ; CPU:$F4B3 PRG:34B3 31 03 20 0A F3 A9 01 9D 31 03 20 0A F3 98 9D 31 .byte $03, $20, $0A, $F3, $A9, $00, $9D, $31, $03, $8E, $30, $03, $68, $AA, $60 ; CPU:$F4C3 PRG:34C3 03 20 0A F3 A9 00 9D 31 03 8E 30 03 68 AA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F4D2 +; Routine: SubCF4D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15514,18 +15526,18 @@ Label_F49F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F4D2: +SubCF4D2: lda Zp18 ; CPU:$F4D2 PRG:34D2 A5 18 and #$02 ; CPU:$F4D4 PRG:34D4 29 02 - sta Zp00 ; CPU:$F4D6 PRG:34D6 85 00 + sta PtrLo ; CPU:$F4D6 PRG:34D6 85 00 lda Zp19 ; CPU:$F4D8 PRG:34D8 A5 19 and #$02 ; CPU:$F4DA PRG:34DA 29 02 - eor Zp00 ; CPU:$F4DC PRG:34DC 45 00 + eor PtrLo ; CPU:$F4DC PRG:34DC 45 00 clc ; CPU:$F4DE PRG:34DE 18 - beq Label_F4E2 ; CPU:$F4DF PRG:34DF F0 01 + beq SubCF4D2_Block ; CPU:$F4DF PRG:34DF F0 01 sec ; CPU:$F4E1 PRG:34E1 38 ; ----------------------------------------------------------------------------- -; Routine: Label_F4E2 +; Routine: SubCF4D2_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15533,7 +15545,7 @@ Label_F4D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F4E2: +SubCF4D2_Block: ror Zp18 ; CPU:$F4E2 PRG:34E2 66 18 ror Zp19 ; CPU:$F4E4 PRG:34E4 66 19 ror Zp1A ; CPU:$F4E6 PRG:34E6 66 1A @@ -15544,7 +15556,7 @@ Label_F4E2: ror Zp1F ; CPU:$F4F0 PRG:34F0 66 1F rts ; CPU:$F4F2 PRG:34F2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F4F3 +; Routine: SubCF4F3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15552,7 +15564,7 @@ Label_F4E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F4F3: +SubCF4F3: txa ; CPU:$F4F3 PRG:34F3 8A pha ; CPU:$F4F4 PRG:34F4 48 lda #$01 ; CPU:$F4F5 PRG:34F5 A9 01 @@ -15567,7 +15579,7 @@ Label_F4F3: tax ; CPU:$F509 PRG:3509 AA rts ; CPU:$F50A PRG:350A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F50B +; Routine: SubCF50B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15575,10 +15587,10 @@ Label_F4F3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F50B: +SubCF50B: ldy #$08 ; CPU:$F50B PRG:350B A0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_F50D +; Routine: SubCF50B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15586,30 +15598,30 @@ Label_F50B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F50D: +SubCF50B_Block: pha ; CPU:$F50D PRG:350D 48 lda $4016,x ; CPU:$F50E PRG:350E BD 16 40 - sta Zp00 ; CPU:$F511 PRG:3511 85 00 + sta PtrLo ; CPU:$F511 PRG:3511 85 00 lsr a ; CPU:$F513 PRG:3513 4A - ora Zp00 ; CPU:$F514 PRG:3514 05 00 + ora PtrLo ; CPU:$F514 PRG:3514 05 00 lsr a ; CPU:$F516 PRG:3516 4A pla ; CPU:$F517 PRG:3517 68 rol a ; CPU:$F518 PRG:3518 2A dey ; CPU:$F519 PRG:3519 88 - bne Label_F50D ; CPU:$F51A PRG:351A D0 F1 - stx Zp00 ; CPU:$F51C PRG:351C 86 00 - asl Zp00 ; CPU:$F51E PRG:351E 06 00 - ldx Zp00 ; CPU:$F520 PRG:3520 A6 00 + bne SubCF50B_Block ; CPU:$F51A PRG:351A D0 F1 + stx PtrLo ; CPU:$F51C PRG:351C 86 00 + asl PtrLo ; CPU:$F51E PRG:351E 06 00 + ldx PtrLo ; CPU:$F520 PRG:3520 A6 00 ldy Zp14,x ; CPU:$F522 PRG:3522 B4 14 - sty Zp00 ; CPU:$F524 PRG:3524 84 00 + sty PtrLo ; CPU:$F524 PRG:3524 84 00 sta Zp14,x ; CPU:$F526 PRG:3526 95 14 and #$FF ; CPU:$F528 PRG:3528 29 FF - bpl Label_F532 ; CPU:$F52A PRG:352A 10 06 - bit Zp00 ; CPU:$F52C PRG:352C 24 00 - bpl Label_F532 ; CPU:$F52E PRG:352E 10 02 + bpl SubCF50B_Block_3 ; CPU:$F52A PRG:352A 10 06 + bit PtrLo ; CPU:$F52C PRG:352C 24 00 + bpl SubCF50B_Block_3 ; CPU:$F52E PRG:352E 10 02 and #$7F ; CPU:$F530 PRG:3530 29 7F ; ----------------------------------------------------------------------------- -; Routine: Label_F532 +; Routine: SubCF50B_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15617,18 +15629,18 @@ Label_F50D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F532: +SubCF50B_Block_3: ldy Zp15,x ; CPU:$F532 PRG:3532 B4 15 sta Zp15,x ; CPU:$F534 PRG:3534 95 15 tya ; CPU:$F536 PRG:3536 98 and #$0F ; CPU:$F537 PRG:3537 29 0F and Zp15,x ; CPU:$F539 PRG:3539 35 15 - beq Label_F543 ; CPU:$F53B PRG:353B F0 06 + beq SubCF50B_Block_4 ; CPU:$F53B PRG:353B F0 06 ora #$F0 ; CPU:$F53D PRG:353D 09 F0 and Zp15,x ; CPU:$F53F PRG:353F 35 15 sta Zp15,x ; CPU:$F541 PRG:3541 95 15 ; ----------------------------------------------------------------------------- -; Routine: Label_F543 +; Routine: SubCF50B_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15636,9 +15648,10 @@ Label_F532: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F543: +SubCF50B_Block_4: rts ; CPU:$F543 PRG:3543 60 ; ---- data $F544-$FA5B (1304 bytes) ---- + VRAMCmdBuffer: ; VRAM command buffer for PPU updates .byte $3F, $00, $12, $0F, $30, $26, $2C, $0F, $30, $12, $21, $0F, $27, $27, $27, $0F ; CPU:$F544 PRG:3544 3F 00 12 0F 30 26 2C 0F 30 12 21 0F 27 27 27 0F .byte $30, $30, $30, $0F, $21, $23, $C0, $50, $55, $23, $D0, $48, $05, $23, $D8, $48 ; CPU:$F554 PRG:3554 30 30 30 0F 21 23 C0 50 55 23 D0 48 05 23 D8 48 .byte $00, $23, $E2, $44, $A0, $23, $E8, $48, $AA, $23, $F1, $46, $FF, $27, $DB, $42 ; CPU:$F564 PRG:3564 00 23 E2 44 A0 23 E8 48 AA 23 F1 46 FF 27 DB 42 @@ -15683,6 +15696,7 @@ Label_F543: .byte $5A, $24, $5B, $65, $5A, $24, $5B, $65, $5A, $24, $5B, $66, $21, $39, $8E, $65 ; CPU:$F7D4 PRG:37D4 5A 24 5B 65 5A 24 5B 65 5A 24 5B 66 21 39 8E 65 .byte $65, $5A, $24, $5B, $65, $5A, $24, $5B, $65, $5A, $24, $5B, $66, $21, $28, $CE ; CPU:$F7E4 PRG:37E4 65 5A 24 5B 65 5A 24 5B 65 5A 24 5B 66 21 28 CE .byte $65, $21, $37, $CE, $65, $21, $4A, $8D, $65, $5A, $24, $5B, $65, $5A, $24, $5B ; CPU:$F7F4 PRG:37F4 65 21 37 CE 65 21 4A 8D 65 5A 24 5B 65 5A 24 5B + FontTileData: ; Font/glyph tile data .byte $65, $5A, $24, $5B, $66, $21, $55, $8D, $65, $5A, $24, $5B, $65, $5A, $24, $5B ; CPU:$F804 PRG:3804 65 5A 24 5B 66 21 55 8D 65 5A 24 5B 65 5A 24 5B .byte $65, $5A, $24, $5B, $66, $21, $6C, $CC, $65, $21, $73, $CC, $65, $22, $E4, $01 ; CPU:$F814 PRG:3814 65 5A 24 5B 66 21 6C CC 65 21 73 CC 65 22 E4 01 .byte $66, $22, $E8, $01, $66, $22, $EC, $01, $66, $22, $F3, $01, $66, $22, $F7, $01 ; CPU:$F824 PRG:3824 66 22 E8 01 66 22 EC 01 66 22 F3 01 66 22 F7 01 @@ -15699,6 +15713,7 @@ Label_F543: .byte $0F, $12, $37, $16, $0F, $30, $06, $36, $0F, $30, $24, $37, $0F, $30, $27, $13 ; CPU:$F8D4 PRG:38D4 0F 12 37 16 0F 30 06 36 0F 30 24 37 0F 30 27 13 .byte $0F, $30, $0F, $26, $23, $D3, $43, $55, $23, $DB, $43, $55, $23, $E3, $44, $55 ; CPU:$F8E4 PRG:38E4 0F 30 0F 26 23 D3 43 55 23 DB 43 55 23 E3 44 55 .byte $23, $EB, $44, $55, $23, $C3, $44, $50, $23, $F3, $42, $05, $23, $E0, $42, $AA ; CPU:$F8F4 PRG:38F4 23 EB 44 55 23 C3 44 50 23 F3 42 05 23 E0 42 AA + TitleScreenData: ; Title screen layout data .byte $23, $E8, $42, $AA, $20, $6C, $0D, $85, $86, $87, $88, $24, $0E, $21, $0E, $1B ; CPU:$F904 PRG:3904 23 E8 42 AA 20 6C 0D 85 86 87 88 24 0E 21 0E 1B .byte $0C, $12, $1C, $0E, $20, $A8, $56, $69, $20, $C8, $56, $6A, $20, $E8, $D4, $67 ; CPU:$F914 PRG:3914 0C 12 1C 0E 20 A8 56 69 20 C8 56 6A 20 E8 D4 67 .byte $20, $FD, $D4, $67, $23, $60, $60, $69, $23, $02, $46, $69, $23, $22, $46, $69 ; CPU:$F924 PRG:3924 20 FD D4 67 23 60 60 69 23 02 46 69 23 22 46 69 @@ -15722,7 +15737,7 @@ Label_F543: .byte $24, $66, $24, $66, $23, $60, $60, $69, $22, $C8, $03, $6D, $F7, $71, $22, $E8 ; CPU:$FA44 PRG:3A44 24 66 24 66 23 60 60 69 22 C8 03 6D F7 71 22 E8 .byte $03, $6E, $89, $72, $00, $00, $FF, $FF ; CPU:$FA54 PRG:3A54 03 6E 89 72 00 00 FF FF ; ----------------------------------------------------------------------------- -; Routine: Label_FA5C +; Routine: SubCFA5C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15730,20 +15745,20 @@ Label_F543: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA5C: +SubCFA5C: lda #$C0 ; CPU:$FA5C PRG:3A5C A9 C0 sta $4017 ; CPU:$FA5E PRG:3A5E 8D 17 40 jsr $FBDC ; CPU:$FA61 PRG:3A61 20 DC FB ldx #$00 ; CPU:$FA64 PRG:3A64 A2 00 - stx ZpFF ; CPU:$FA66 PRG:3A66 86 FF + stx FrameCounter ; CPU:$FA66 PRG:3A66 86 FF stx ZpFE ; CPU:$FA68 PRG:3A68 86 FE stx ZpFD ; CPU:$FA6A PRG:3A6A 86 FD lda ZpFB ; CPU:$FA6C PRG:3A6C A5 FB cmp #$20 ; CPU:$FA6E PRG:3A6E C9 20 - bcs Label_FA75 ; CPU:$FA70 PRG:3A70 B0 03 + bcs SubCFA5C_Block ; CPU:$FA70 PRG:3A70 B0 03 stx $06B2 ; CPU:$FA72 PRG:3A72 8E B2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FA75 +; Routine: SubCFA5C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15751,12 +15766,12 @@ Label_FA5C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA75: +SubCFA5C_Block: cmp #$80 ; CPU:$FA75 PRG:3A75 C9 80 - bcc Label_FA7C ; CPU:$FA77 PRG:3A77 90 03 + bcc SubCFA5C_Block_2 ; CPU:$FA77 PRG:3A77 90 03 inc $06B2 ; CPU:$FA79 PRG:3A79 EE B2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FA7C +; Routine: SubCFA5C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15764,22 +15779,22 @@ Label_FA75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA7C: +SubCFA5C_Block_2: tay ; CPU:$FA7C PRG:3A7C A8 lsr a ; CPU:$FA7D PRG:3A7D 4A lsr a ; CPU:$FA7E PRG:3A7E 4A lsr a ; CPU:$FA7F PRG:3A7F 4A lsr a ; CPU:$FA80 PRG:3A80 4A lsr a ; CPU:$FA81 PRG:3A81 4A - sta Zp00 ; CPU:$FA82 PRG:3A82 85 00 + sta PtrLo ; CPU:$FA82 PRG:3A82 85 00 tya ; CPU:$FA84 PRG:3A84 98 ldx $06B2 ; CPU:$FA85 PRG:3A85 AE B2 06 - bne Label_FA8F ; CPU:$FA88 PRG:3A88 D0 05 + bne SubCFA5C_Block_3 ; CPU:$FA88 PRG:3A88 D0 05 sec ; CPU:$FA8A PRG:3A8A 38 - adc Zp00 ; CPU:$FA8B PRG:3A8B 65 00 - bne Label_FA92 ; CPU:$FA8D PRG:3A8D D0 03 + adc PtrLo ; CPU:$FA8B PRG:3A8B 65 00 + bne SubCFA5C_Block_4 ; CPU:$FA8D PRG:3A8D D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_FA8F +; Routine: SubCFA5C_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15787,11 +15802,11 @@ Label_FA7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA8F: +SubCFA5C_Block_3: clc ; CPU:$FA8F PRG:3A8F 18 - sbc Zp00 ; CPU:$FA90 PRG:3A90 E5 00 + sbc PtrLo ; CPU:$FA90 PRG:3A90 E5 00 ; ----------------------------------------------------------------------------- -; Routine: Label_FA92 +; Routine: SubCFA5C_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15799,11 +15814,11 @@ Label_FA8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA92: +SubCFA5C_Block_4: sta ZpFB ; CPU:$FA92 PRG:3A92 85 FB rts ; CPU:$FA94 PRG:3A94 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FA95 +; Routine: SubCFA95 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15811,7 +15826,7 @@ Label_FA92: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA95: +SubCFA95: sta ZpF3 ; CPU:$FA95 PRG:3A95 85 F3 stx ZpF4 ; CPU:$FA97 PRG:3A97 86 F4 sty $06A1 ; CPU:$FA99 PRG:3A99 8C A1 06 @@ -15821,7 +15836,7 @@ Label_FA95: sty $4005 ; CPU:$FAA3 PRG:3AA3 8C 05 40 rts ; CPU:$FAA6 PRG:3AA6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FAA7 +; Routine: SubCFAA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15829,10 +15844,10 @@ Label_FA95: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAA7: +SubCFAA7: lda #$00 ; CPU:$FAA7 PRG:3AA7 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_FAA9 +; Routine: SubCFAA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15840,14 +15855,14 @@ Label_FAA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAA9: +SubCFAA9: lsr a ; CPU:$FAA9 PRG:3AA9 4A lsr a ; CPU:$FAAA PRG:3AAA 4A ora #$90 ; CPU:$FAAB PRG:3AAB 09 90 sta $4000 ; CPU:$FAAD PRG:3AAD 8D 00 40 rts ; CPU:$FAB0 PRG:3AB0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FAB1 +; Routine: SubCFAB1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15855,7 +15870,7 @@ Label_FAA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAB1: +SubCFAB1: tax ; CPU:$FAB1 PRG:3AB1 AA ror a ; CPU:$FAB2 PRG:3AB2 6A txa ; CPU:$FAB3 PRG:3AB3 8A @@ -15869,7 +15884,7 @@ Label_FAB1: lda $FB40,y ; CPU:$FABE PRG:3ABE B9 40 FB rts ; CPU:$FAC1 PRG:3AC1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FAC2 +; Routine: SubCFAC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15877,11 +15892,11 @@ Label_FAB1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAC2: +SubCFAC2: tya ; CPU:$FAC2 PRG:3AC2 98 lsr a ; CPU:$FAC3 PRG:3AC3 4A ; ----------------------------------------------------------------------------- -; Routine: Label_FAC4 +; Routine: SubCFAC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15889,10 +15904,10 @@ Label_FAC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAC4: +SubCFAC4: lsr a ; CPU:$FAC4 PRG:3AC4 4A ; ----------------------------------------------------------------------------- -; Routine: Label_FAC5 +; Routine: SubCFAC5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15900,15 +15915,15 @@ Label_FAC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAC5: +SubCFAC5: lsr a ; CPU:$FAC5 PRG:3AC5 4A - sta Zp00 ; CPU:$FAC6 PRG:3AC6 85 00 + sta PtrLo ; CPU:$FAC6 PRG:3AC6 85 00 tya ; CPU:$FAC8 PRG:3AC8 98 sec ; CPU:$FAC9 PRG:3AC9 38 - sbc Zp00 ; CPU:$FACA PRG:3ACA E5 00 + sbc PtrLo ; CPU:$FACA PRG:3ACA E5 00 rts ; CPU:$FACC PRG:3ACC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FACD +; Routine: SubCFACD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15916,12 +15931,12 @@ Label_FAC5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FACD: +SubCFACD: stx ZpF1 ; CPU:$FACD PRG:3ACD 86 F1 sty ZpF0 ; CPU:$FACF PRG:3ACF 84 F0 - bne Label_FAD8 ; CPU:$FAD1 PRG:3AD1 D0 05 + bne SubCFAD8 ; CPU:$FAD1 PRG:3AD1 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_FAD3 +; Routine: SubCFAD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15929,10 +15944,10 @@ Label_FACD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAD3: +SubCFAD3: ldy #$7F ; CPU:$FAD3 PRG:3AD3 A0 7F ; ----------------------------------------------------------------------------- -; Routine: Label_FAD5 +; Routine: SubCFAD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15940,10 +15955,10 @@ Label_FAD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAD5: +SubCFAD5: jsr $FAF9 ; CPU:$FAD5 PRG:3AD5 20 F9 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FAD8 +; Routine: SubCFAD8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15951,10 +15966,10 @@ Label_FAD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAD8: +SubCFAD8: ldx #$00 ; CPU:$FAD8 PRG:3AD8 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_FADA +; Routine: SubCFAF0_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15962,16 +15977,16 @@ Label_FAD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FADA: +SubCFAF0_Block: tay ; CPU:$FADA PRG:3ADA A8 lda $FB01,y ; CPU:$FADB PRG:3ADB B9 01 FB - beq Label_FAEB ; CPU:$FADE PRG:3ADE F0 0B + beq SubCFAD8_Block ; CPU:$FADE PRG:3ADE F0 0B sta $4002,x ; CPU:$FAE0 PRG:3AE0 9D 02 40 lda $FB00,y ; CPU:$FAE3 PRG:3AE3 B9 00 FB ora #$08 ; CPU:$FAE6 PRG:3AE6 09 08 sta $4003,x ; CPU:$FAE8 PRG:3AE8 9D 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FAEB +; Routine: SubCFAD8_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15979,10 +15994,10 @@ Label_FADA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAEB: +SubCFAD8_Block: rts ; CPU:$FAEB PRG:3AEB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FAEC +; Routine: SubCFAEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15990,11 +16005,11 @@ Label_FAEB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAEC: +SubCFAEC: ldx #$04 ; CPU:$FAEC PRG:3AEC A2 04 - bne Label_FADA ; CPU:$FAEE PRG:3AEE D0 EA + bne SubCFAF0_Block ; CPU:$FAEE PRG:3AEE D0 EA ; ----------------------------------------------------------------------------- -; Routine: Label_FAF0 +; Routine: SubCFAF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16002,13 +16017,13 @@ Label_FAEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAF0: +SubCFAF0: txa ; CPU:$FAF0 PRG:3AF0 8A and #$3E ; CPU:$FAF1 PRG:3AF1 29 3E ldx #$08 ; CPU:$FAF3 PRG:3AF3 A2 08 - bne Label_FADA ; CPU:$FAF5 PRG:3AF5 D0 E3 + bne SubCFAF0_Block ; CPU:$FAF5 PRG:3AF5 D0 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_FAF7 +; Routine: SubCFAF7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16016,10 +16031,10 @@ Label_FAF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAF7: +SubCFAF7: ldy #$7F ; CPU:$FAF7 PRG:3AF7 A0 7F ; ----------------------------------------------------------------------------- -; Routine: Label_FAF9 +; Routine: SubCFAF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16027,7 +16042,7 @@ Label_FAF7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAF9: +SubCFAF9: stx $4000 ; CPU:$FAF9 PRG:3AF9 8E 00 40 sty $4001 ; CPU:$FAFC PRG:3AFC 8C 01 40 rts ; CPU:$FAFF PRG:3AFF 60 @@ -16037,6 +16052,7 @@ Label_FAF9: ; referenced by `lda $FB00,y` at $FAE3 (operand $FB00 falls inside this region) ; referenced by `lda $FB5A,y` at $FBAB (operand $FB5A falls inside this region) ; referenced by `lda $FB53,y` at $FDA7 (operand $FB53 falls inside this region) + APURegisterBuffer: ; APU register shadow buffer .byte $03, $89, $00, $00, $00, $69, $00, $D4, $00, $BD, $00, $A8, $00, $9F, $00, $96 ; CPU:$FB00 PRG:3B00 03 89 00 00 00 69 00 D4 00 BD 00 A8 00 9F 00 96 .byte $00, $8D, $00, $70, $01, $AB, $01, $93, $01, $7C, $01, $67, $01, $52, $01, $3F ; CPU:$FB10 PRG:3B10 00 8D 00 70 01 AB 01 93 01 7C 01 67 01 52 01 3F .byte $01, $2D, $01, $1C, $01, $0C, $00, $FD, $00, $E1, $03, $57, $02, $F9, $02, $A6 ; CPU:$FB20 PRG:3B20 01 2D 01 1C 01 0C 00 FD 00 E1 03 57 02 F9 02 A6 @@ -16045,7 +16061,7 @@ Label_FAF9: .byte $60, $24, $48, $08, $0A, $14, $03, $07, $08, $10, $85, $84, $84, $84, $84, $8C ; CPU:$FB50 PRG:3B50 60 24 48 08 0A 14 03 07 08 10 85 84 84 84 84 8C .byte $8C, $8C ; CPU:$FB60 PRG:3B60 8C 8C ; ----------------------------------------------------------------------------- -; Routine: Label_FB62 +; Routine: SubCFB62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16053,10 +16069,10 @@ Label_FAF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB62: +SubCFB62: ldy #$07 ; CPU:$FB62 PRG:3B62 A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_FB64 +; Routine: SubCFB62_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16064,13 +16080,13 @@ Label_FB62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB64: +SubCFB62_Block_2: asl a ; CPU:$FB64 PRG:3B64 0A - bcs Label_FB6A ; CPU:$FB65 PRG:3B65 B0 03 + bcs SubCFB62_Block ; CPU:$FB65 PRG:3B65 B0 03 dey ; CPU:$FB67 PRG:3B67 88 - bne Label_FB64 ; CPU:$FB68 PRG:3B68 D0 FA + bne SubCFB62_Block_2 ; CPU:$FB68 PRG:3B68 D0 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FB6A +; Routine: SubCFB62_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16078,10 +16094,10 @@ Label_FB64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB6A: +SubCFB62_Block: rts ; CPU:$FB6A PRG:3B6A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FB6B +; Routine: SubCFB62_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16089,13 +16105,13 @@ Label_FB6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB6B: +SubCFB62_Block_4: sta ZpF0 ; CPU:$FB6B PRG:3B6B 85 F0 sta $06A1 ; CPU:$FB6D PRG:3B6D 8D A1 06 sta $06A2 ; CPU:$FB70 PRG:3B70 8D A2 06 rts ; CPU:$FB73 PRG:3B73 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FB74 +; Routine: SubCFBDC_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16103,7 +16119,7 @@ Label_FB6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB74: +SubCFBDC_Block_3: sty ZpF0 ; CPU:$FB74 PRG:3B74 84 F0 lda #$08 ; CPU:$FB76 PRG:3B76 A9 08 sta ZpF1 ; CPU:$FB78 PRG:3B78 85 F1 @@ -16112,7 +16128,7 @@ Label_FB74: lda #$04 ; CPU:$FB7E PRG:3B7E A9 04 jsr $FAD5 ; CPU:$FB80 PRG:3B80 20 D5 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FB83 +; Routine: SubCFBDC_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16120,13 +16136,13 @@ Label_FB74: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB83: +SubCFBDC_Block_2: dec ZpF1 ; CPU:$FB83 PRG:3B83 C6 F1 - bne Label_FBDA ; CPU:$FB85 PRG:3B85 D0 53 + bne SubCFB62_Block_3 ; CPU:$FB85 PRG:3B85 D0 53 lda #$8F ; CPU:$FB87 PRG:3B87 A9 8F jmp $FC31 ; CPU:$FB89 PRG:3B89 4C 31 FC ; ----------------------------------------------------------------------------- -; Routine: Label_FB8C +; Routine: SubCFBDC_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16134,7 +16150,7 @@ Label_FB83: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB8C: +SubCFBDC_Block_5: sty ZpF0 ; CPU:$FB8C PRG:3B8C 84 F0 lda #$80 ; CPU:$FB8E PRG:3B8E A9 80 sta ZpF1 ; CPU:$FB90 PRG:3B90 85 F1 @@ -16142,7 +16158,7 @@ Label_FB8C: lda #$12 ; CPU:$FB94 PRG:3B94 A9 12 jsr $FAD3 ; CPU:$FB96 PRG:3B96 20 D3 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FB99 +; Routine: SubCFBDC_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16150,15 +16166,15 @@ Label_FB8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB99: +SubCFBDC_Block_4: dec ZpF1 ; CPU:$FB99 PRG:3B99 C6 F1 lda ZpF1 ; CPU:$FB9B PRG:3B9B A5 F1 - beq Label_FB6B ; CPU:$FB9D PRG:3B9D F0 CC + beq SubCFB62_Block_4 ; CPU:$FB9D PRG:3B9D F0 CC cmp #$30 ; CPU:$FB9F PRG:3B9F C9 30 - bcs Label_FBA6 ; CPU:$FBA1 PRG:3BA1 B0 03 + bcs SubCFB62_Block_5 ; CPU:$FBA1 PRG:3BA1 B0 03 jsr $FAA9 ; CPU:$FBA3 PRG:3BA3 20 A9 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FBA6 +; Routine: SubCFB62_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16166,7 +16182,7 @@ Label_FB99: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBA6: +SubCFB62_Block_5: lda ZpF1 ; CPU:$FBA6 PRG:3BA6 A5 F1 and #$07 ; CPU:$FBA8 PRG:3BA8 29 07 tay ; CPU:$FBAA PRG:3BAA A8 @@ -16174,7 +16190,7 @@ Label_FBA6: sta $4001 ; CPU:$FBAE PRG:3BAE 8D 01 40 jmp $FE51 ; CPU:$FBB1 PRG:3BB1 4C 51 FE ; ----------------------------------------------------------------------------- -; Routine: Label_FBB4 +; Routine: SubCFBDC_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16182,7 +16198,7 @@ Label_FBA6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBB4: +SubCFBDC_Block_7: ldx #$0E ; CPU:$FBB4 PRG:3BB4 A2 0E lda #$26 ; CPU:$FBB6 PRG:3BB6 A9 26 jsr $FACD ; CPU:$FBB8 PRG:3BB8 20 CD FA @@ -16192,7 +16208,7 @@ Label_FBB4: ldy #$8A ; CPU:$FBC1 PRG:3BC1 A0 8A jsr $FAF9 ; CPU:$FBC3 PRG:3BC3 20 F9 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FBC6 +; Routine: SubCFBDC_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16200,19 +16216,19 @@ Label_FBB4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBC6: +SubCFBDC_Block_6: dec ZpF1 ; CPU:$FBC6 PRG:3BC6 C6 F1 - beq Label_FC2F ; CPU:$FBC8 PRG:3BC8 F0 65 + beq SubCFC31_Block_2 ; CPU:$FBC8 PRG:3BC8 F0 65 lda ZpF1 ; CPU:$FBCA PRG:3BCA A5 F1 lsr a ; CPU:$FBCC PRG:3BCC 4A - bcs Label_FC1C ; CPU:$FBCD PRG:3BCD B0 4D + bcs SubCFC31_Block_10 ; CPU:$FBCD PRG:3BCD B0 4D lda ZpF2 ; CPU:$FBCF PRG:3BCF A5 F2 tay ; CPU:$FBD1 PRG:3BD1 A8 jsr $FAC4 ; CPU:$FBD2 PRG:3BD2 20 C4 FA sta ZpF2 ; CPU:$FBD5 PRG:3BD5 85 F2 sta $4002 ; CPU:$FBD7 PRG:3BD7 8D 02 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FBDA +; Routine: SubCFB62_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16220,10 +16236,10 @@ Label_FBC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBDA: - bne Label_FC1C ; CPU:$FBDA PRG:3BDA D0 40 +SubCFB62_Block_3: + bne SubCFC31_Block_10 ; CPU:$FBDA PRG:3BDA D0 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FBDC +; Routine: SubCFBDC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16231,45 +16247,45 @@ Label_FBDA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBDC: +SubCFBDC: lda ZpFA ; CPU:$FBDC PRG:3BDC A5 FA - bne Label_FC1C ; CPU:$FBDE PRG:3BDE D0 3C - ldy ZpFF ; CPU:$FBE0 PRG:3BE0 A4 FF + bne SubCFC31_Block_10 ; CPU:$FBDE PRG:3BDE D0 3C + ldy FrameCounter ; CPU:$FBE0 PRG:3BE0 A4 FF lda ZpF0 ; CPU:$FBE2 PRG:3BE2 A5 F0 lsr a ; CPU:$FBE4 PRG:3BE4 4A - bcs Label_FB83 ; CPU:$FBE5 PRG:3BE5 B0 9C - lsr ZpFF ; CPU:$FBE7 PRG:3BE7 46 FF - bcs Label_FB74 ; CPU:$FBE9 PRG:3BE9 B0 89 + bcs SubCFBDC_Block_2 ; CPU:$FBE5 PRG:3BE5 B0 9C + lsr FrameCounter ; CPU:$FBE7 PRG:3BE7 46 FF + bcs SubCFBDC_Block_3 ; CPU:$FBE9 PRG:3BE9 B0 89 lsr a ; CPU:$FBEB PRG:3BEB 4A - bcs Label_FB99 ; CPU:$FBEC PRG:3BEC B0 AB - lsr ZpFF ; CPU:$FBEE PRG:3BEE 46 FF - bcs Label_FB8C ; CPU:$FBF0 PRG:3BF0 B0 9A + bcs SubCFBDC_Block_4 ; CPU:$FBEC PRG:3BEC B0 AB + lsr FrameCounter ; CPU:$FBEE PRG:3BEE 46 FF + bcs SubCFBDC_Block_5 ; CPU:$FBF0 PRG:3BF0 B0 9A lsr a ; CPU:$FBF2 PRG:3BF2 4A - bcs Label_FBC6 ; CPU:$FBF3 PRG:3BF3 B0 D1 - lsr ZpFF ; CPU:$FBF5 PRG:3BF5 46 FF - bcs Label_FBB4 ; CPU:$FBF7 PRG:3BF7 B0 BB + bcs SubCFBDC_Block_6 ; CPU:$FBF3 PRG:3BF3 B0 D1 + lsr FrameCounter ; CPU:$FBF5 PRG:3BF5 46 FF + bcs SubCFBDC_Block_7 ; CPU:$FBF7 PRG:3BF7 B0 BB lsr a ; CPU:$FBF9 PRG:3BF9 4A bcs UpdateAPU10 ; CPU:$FBFA PRG:3BFA B0 2F - lsr ZpFF ; CPU:$FBFC PRG:3BFC 46 FF - bcs Label_FC1F ; CPU:$FBFE PRG:3BFE B0 1F + lsr FrameCounter ; CPU:$FBFC PRG:3BFC 46 FF + bcs SubCFBDC_Block_8 ; CPU:$FBFE PRG:3BFE B0 1F lsr a ; CPU:$FC00 PRG:3C00 4A - bcs Label_FC41 ; CPU:$FC01 PRG:3C01 B0 3E - lsr ZpFF ; CPU:$FC03 PRG:3C03 46 FF - bcs Label_FC3A ; CPU:$FC05 PRG:3C05 B0 33 + bcs SubCFBDC_Block_9 ; CPU:$FC01 PRG:3C01 B0 3E + lsr FrameCounter ; CPU:$FC03 PRG:3C03 46 FF + bcs SubCFBDC_Block_10 ; CPU:$FC05 PRG:3C05 B0 33 lsr a ; CPU:$FC07 PRG:3C07 4A - bcs Label_FC52 ; CPU:$FC08 PRG:3C08 B0 48 - lsr ZpFF ; CPU:$FC0A PRG:3C0A 46 FF - bcs Label_FC4B ; CPU:$FC0C PRG:3C0C B0 3D + bcs SubCFBDC_Block_11 ; CPU:$FC08 PRG:3C08 B0 48 + lsr FrameCounter ; CPU:$FC0A PRG:3C0A 46 FF + bcs SubCFBDC_Block_12 ; CPU:$FC0C PRG:3C0C B0 3D lsr a ; CPU:$FC0E PRG:3C0E 4A - bcs Label_FC6B ; CPU:$FC0F PRG:3C0F B0 5A - lsr ZpFF ; CPU:$FC11 PRG:3C11 46 FF - bcs Label_FC64 ; CPU:$FC13 PRG:3C13 B0 4F + bcs SubCFBDC_Block_13 ; CPU:$FC0F PRG:3C0F B0 5A + lsr FrameCounter ; CPU:$FC11 PRG:3C11 46 FF + bcs SubCFBDC_Block_14 ; CPU:$FC13 PRG:3C13 B0 4F lsr a ; CPU:$FC15 PRG:3C15 4A - bcs Label_FC8D ; CPU:$FC16 PRG:3C16 B0 75 - lsr ZpFF ; CPU:$FC18 PRG:3C18 46 FF - bcs Label_FC87 ; CPU:$FC1A PRG:3C1A B0 6B + bcs SubCFBDC_Block_15 ; CPU:$FC16 PRG:3C16 B0 75 + lsr FrameCounter ; CPU:$FC18 PRG:3C18 46 FF + bcs SubCFBDC_Block_16 ; CPU:$FC1A PRG:3C1A B0 6B ; ----------------------------------------------------------------------------- -; Routine: Label_FC1C +; Routine: SubCFC31_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16277,10 +16293,10 @@ Label_FBDC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC1C: +SubCFC31_Block_10: jmp $FD6B ; CPU:$FC1C PRG:3C1C 4C 6B FD ; ----------------------------------------------------------------------------- -; Routine: Label_FC1F +; Routine: SubCFBDC_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16288,7 +16304,7 @@ Label_FC1C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC1F: +SubCFBDC_Block_8: ldx #$04 ; CPU:$FC1F PRG:3C1F A2 04 lda #$04 ; CPU:$FC21 PRG:3C21 A9 04 jsr $FACD ; CPU:$FC23 PRG:3C23 20 CD FA @@ -16305,9 +16321,9 @@ Label_FC1F: ; ----------------------------------------------------------------------------- UpdateAPU10: dec ZpF1 ; CPU:$FC2B PRG:3C2B C6 F1 - bne Label_FC1C ; CPU:$FC2D PRG:3C2D D0 ED + bne SubCFC31_Block_10 ; CPU:$FC2D PRG:3C2D D0 ED ; ----------------------------------------------------------------------------- -; Routine: Label_FC2F +; Routine: SubCFC31_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16315,10 +16331,10 @@ UpdateAPU10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC2F: +SubCFC31_Block_2: lda #$90 ; CPU:$FC2F PRG:3C2F A9 90 ; ----------------------------------------------------------------------------- -; Routine: Label_FC31 +; Routine: SubCFC31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16326,13 +16342,13 @@ Label_FC2F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC31: +SubCFC31: sta $4000 ; CPU:$FC31 PRG:3C31 8D 00 40 lda #$00 ; CPU:$FC34 PRG:3C34 A9 00 sta ZpF0 ; CPU:$FC36 PRG:3C36 85 F0 - beq Label_FC1C ; CPU:$FC38 PRG:3C38 F0 E2 + beq SubCFC31_Block_10 ; CPU:$FC38 PRG:3C38 F0 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_FC3A +; Routine: SubCFBDC_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16340,12 +16356,12 @@ Label_FC31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC3A: +SubCFBDC_Block_10: ldx #$0C ; CPU:$FC3A PRG:3C3A A2 0C lda #$2A ; CPU:$FC3C PRG:3C3C A9 2A jsr $FACD ; CPU:$FC3E PRG:3C3E 20 CD FA ; ----------------------------------------------------------------------------- -; Routine: Label_FC41 +; Routine: SubCFBDC_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16353,12 +16369,12 @@ Label_FC3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC41: +SubCFBDC_Block_9: ldx #$85 ; CPU:$FC41 PRG:3C41 A2 85 ldy #$85 ; CPU:$FC43 PRG:3C43 A0 85 dec ZpF1 ; CPU:$FC45 PRG:3C45 C6 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_FC47 +; Routine: SubCFC31_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16366,11 +16382,11 @@ Label_FC41: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC47: - beq Label_FC2F ; CPU:$FC47 PRG:3C47 F0 E6 - bne Label_FC82 ; CPU:$FC49 PRG:3C49 D0 37 +SubCFC31_Block_11: + beq SubCFC31_Block_2 ; CPU:$FC47 PRG:3C47 F0 E6 + bne SubCFC31_Block_3 ; CPU:$FC49 PRG:3C49 D0 37 ; ----------------------------------------------------------------------------- -; Routine: Label_FC4B +; Routine: SubCFBDC_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16378,12 +16394,12 @@ Label_FC47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC4B: +SubCFBDC_Block_12: ldx #$0A ; CPU:$FC4B PRG:3C4B A2 0A lda #$10 ; CPU:$FC4D PRG:3C4D A9 10 jsr $FACD ; CPU:$FC4F PRG:3C4F 20 CD FA ; ----------------------------------------------------------------------------- -; Routine: Label_FC52 +; Routine: SubCFBDC_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16391,18 +16407,18 @@ Label_FC4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC52: +SubCFBDC_Block_11: dec ZpF1 ; CPU:$FC52 PRG:3C52 C6 F1 ldy #$84 ; CPU:$FC54 PRG:3C54 A0 84 lda ZpF1 ; CPU:$FC56 PRG:3C56 A5 F1 cmp #$03 ; CPU:$FC58 PRG:3C58 C9 03 - beq Label_FC47 ; CPU:$FC5A PRG:3C5A F0 EB + beq SubCFC31_Block_11 ; CPU:$FC5A PRG:3C5A F0 EB cmp #$08 ; CPU:$FC5C PRG:3C5C C9 08 - bcs Label_FC7F ; CPU:$FC5E PRG:3C5E B0 1F + bcs SubCFC31_Block_12 ; CPU:$FC5E PRG:3C5E B0 1F ldy #$8B ; CPU:$FC60 PRG:3C60 A0 8B - bne Label_FC7F ; CPU:$FC62 PRG:3C62 D0 1B + bne SubCFC31_Block_12 ; CPU:$FC62 PRG:3C62 D0 1B ; ----------------------------------------------------------------------------- -; Routine: Label_FC64 +; Routine: SubCFBDC_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16410,12 +16426,12 @@ Label_FC52: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC64: +SubCFBDC_Block_14: ldx #$15 ; CPU:$FC64 PRG:3C64 A2 15 lda #$06 ; CPU:$FC66 PRG:3C66 A9 06 jsr $FACD ; CPU:$FC68 PRG:3C68 20 CD FA ; ----------------------------------------------------------------------------- -; Routine: Label_FC6B +; Routine: SubCFBDC_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16423,16 +16439,16 @@ Label_FC64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC6B: +SubCFBDC_Block_13: dec ZpF1 ; CPU:$FC6B PRG:3C6B C6 F1 - beq Label_FC47 ; CPU:$FC6D PRG:3C6D F0 D8 + beq SubCFC31_Block_11 ; CPU:$FC6D PRG:3C6D F0 D8 ldy #$84 ; CPU:$FC6F PRG:3C6F A0 84 lda ZpF1 ; CPU:$FC71 PRG:3C71 A5 F1 cmp #$12 ; CPU:$FC73 PRG:3C73 C9 12 - bcs Label_FC79 ; CPU:$FC75 PRG:3C75 B0 02 + bcs SubCFC31_Block_8 ; CPU:$FC75 PRG:3C75 B0 02 ldy #$8D ; CPU:$FC77 PRG:3C77 A0 8D ; ----------------------------------------------------------------------------- -; Routine: Label_FC79 +; Routine: SubCFC31_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16440,12 +16456,12 @@ Label_FC6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC79: +SubCFC31_Block_8: cmp #$0A ; CPU:$FC79 PRG:3C79 C9 0A - bcc Label_FC7F ; CPU:$FC7B PRG:3C7B 90 02 + bcc SubCFC31_Block_12 ; CPU:$FC7B PRG:3C7B 90 02 lda #$0A ; CPU:$FC7D PRG:3C7D A9 0A ; ----------------------------------------------------------------------------- -; Routine: Label_FC7F +; Routine: SubCFC31_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16453,11 +16469,11 @@ Label_FC79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC7F: +SubCFC31_Block_12: ora #$50 ; CPU:$FC7F PRG:3C7F 09 50 tax ; CPU:$FC81 PRG:3C81 AA ; ----------------------------------------------------------------------------- -; Routine: Label_FC82 +; Routine: SubCFC31_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16465,11 +16481,11 @@ Label_FC7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC82: +SubCFC31_Block_3: jsr $FAF9 ; CPU:$FC82 PRG:3C82 20 F9 FA - bne Label_FC1C ; CPU:$FC85 PRG:3C85 D0 95 + bne SubCFC31_Block_10 ; CPU:$FC85 PRG:3C85 D0 95 ; ----------------------------------------------------------------------------- -; Routine: Label_FC87 +; Routine: SubCFBDC_Block_16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16477,12 +16493,12 @@ Label_FC82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC87: +SubCFBDC_Block_16: sty ZpF0 ; CPU:$FC87 PRG:3C87 84 F0 lda #$0C ; CPU:$FC89 PRG:3C89 A9 0C sta ZpF1 ; CPU:$FC8B PRG:3C8B 85 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_FC8D +; Routine: SubCFBDC_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16490,7 +16506,7 @@ Label_FC87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC8D: +SubCFBDC_Block_15: lda ZpFB ; CPU:$FC8D PRG:3C8D A5 FB rol a ; CPU:$FC8F PRG:3C8F 2A rol a ; CPU:$FC90 PRG:3C90 2A @@ -16501,11 +16517,11 @@ Label_FC8D: dec ZpF1 ; CPU:$FC99 PRG:3C99 C6 F1 lda ZpF1 ; CPU:$FC9B PRG:3C9B A5 F1 cmp #$02 ; CPU:$FC9D PRG:3C9D C9 02 - beq Label_FC47 ; CPU:$FC9F PRG:3C9F F0 A6 + beq SubCFC31_Block_11 ; CPU:$FC9F PRG:3C9F F0 A6 ldy #$7F ; CPU:$FCA1 PRG:3CA1 A0 7F - bne Label_FC7F ; CPU:$FCA3 PRG:3CA3 D0 DA + bne SubCFC31_Block_12 ; CPU:$FCA3 PRG:3CA3 D0 DA ; ----------------------------------------------------------------------------- -; Routine: Label_FCA5 +; Routine: SubCFD10_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16513,12 +16529,12 @@ Label_FC8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCA5: +SubCFD10_Block: lda #$48 ; CPU:$FCA5 PRG:3CA5 A9 48 ldx #$FE ; CPU:$FCA7 PRG:3CA7 A2 FE jsr $FA95 ; CPU:$FCA9 PRG:3CA9 20 95 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FCAC +; Routine: SubCFD10_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16526,21 +16542,21 @@ Label_FCA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCAC: +SubCFD10_Block_2: ldy ZpF4 ; CPU:$FCAC PRG:3CAC A4 F4 dec ZpF3 ; CPU:$FCAE PRG:3CAE C6 F3 lda ZpF3 ; CPU:$FCB0 PRG:3CB0 A5 F3 - beq Label_FD07 ; CPU:$FCB2 PRG:3CB2 F0 53 + beq SubCFD10_Block_7 ; CPU:$FCB2 PRG:3CB2 F0 53 and #$03 ; CPU:$FCB4 PRG:3CB4 29 03 - beq Label_FCC3 ; CPU:$FCB6 PRG:3CB6 F0 0B + beq SubCFC31_Block_14 ; CPU:$FCB6 PRG:3CB6 F0 0B cmp #$03 ; CPU:$FCB8 PRG:3CB8 C9 03 - beq Label_FCC8 ; CPU:$FCBA PRG:3CBA F0 0C + beq SubCFC31_Block_16 ; CPU:$FCBA PRG:3CBA F0 0C tya ; CPU:$FCBC PRG:3CBC 98 jsr $FAC5 ; CPU:$FCBD PRG:3CBD 20 C5 FA tay ; CPU:$FCC0 PRG:3CC0 A8 - bne Label_FCC8 ; CPU:$FCC1 PRG:3CC1 D0 05 + bne SubCFC31_Block_16 ; CPU:$FCC1 PRG:3CC1 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_FCC3 +; Routine: SubCFC31_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16548,11 +16564,11 @@ Label_FCAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCC3: +SubCFC31_Block_14: jsr $FAC2 ; CPU:$FCC3 PRG:3CC3 20 C2 FA sta ZpF4 ; CPU:$FCC6 PRG:3CC6 85 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FCC8 +; Routine: SubCFC31_Block_16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16560,16 +16576,16 @@ Label_FCC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCC8: +SubCFC31_Block_16: tya ; CPU:$FCC8 PRG:3CC8 98 clc ; CPU:$FCC9 PRG:3CC9 18 rol a ; CPU:$FCCA PRG:3CCA 2A rol a ; CPU:$FCCB PRG:3CCB 2A sta $4006 ; CPU:$FCCC PRG:3CCC 8D 06 40 rol a ; CPU:$FCCF PRG:3CCF 2A - bne Label_FCF7 ; CPU:$FCD0 PRG:3CD0 D0 25 + bne SubCFC31_Block_17 ; CPU:$FCD0 PRG:3CD0 D0 25 ; ----------------------------------------------------------------------------- -; Routine: Label_FCD2 +; Routine: SubCFD10_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16577,12 +16593,12 @@ Label_FCC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCD2: +SubCFD10_Block_4: lda #$1C ; CPU:$FCD2 PRG:3CD2 A9 1C ldx #$2A ; CPU:$FCD4 PRG:3CD4 A2 2A jsr $FA95 ; CPU:$FCD6 PRG:3CD6 20 95 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FCD9 +; Routine: SubCFD10_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16590,19 +16606,19 @@ Label_FCD2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCD9: +SubCFD10_Block_3: dec ZpF3 ; CPU:$FCD9 PRG:3CD9 C6 F3 lda ZpF3 ; CPU:$FCDB PRG:3CDB A5 F3 - beq Label_FD07 ; CPU:$FCDD PRG:3CDD F0 28 + beq SubCFD10_Block_7 ; CPU:$FCDD PRG:3CDD F0 28 lsr a ; CPU:$FCDF PRG:3CDF 4A lda ZpF4 ; CPU:$FCE0 PRG:3CE0 A5 F4 - bcs Label_FCEA ; CPU:$FCE2 PRG:3CE2 B0 06 + bcs SubCFC31_Block_19 ; CPU:$FCE2 PRG:3CE2 B0 06 lsr a ; CPU:$FCE4 PRG:3CE4 4A clc ; CPU:$FCE5 PRG:3CE5 18 adc ZpF4 ; CPU:$FCE6 PRG:3CE6 65 F4 - bne Label_FCF2 ; CPU:$FCE8 PRG:3CE8 D0 08 + bne SubCFC31_Block_20 ; CPU:$FCE8 PRG:3CE8 D0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_FCEA +; Routine: SubCFC31_Block_19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16610,7 +16626,7 @@ Label_FCD9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCEA: +SubCFC31_Block_19: lsr a ; CPU:$FCEA PRG:3CEA 4A lsr a ; CPU:$FCEB PRG:3CEB 4A lsr a ; CPU:$FCEC PRG:3CEC 4A @@ -16618,7 +16634,7 @@ Label_FCEA: adc ZpF4 ; CPU:$FCEE PRG:3CEE 65 F4 sta ZpF4 ; CPU:$FCF0 PRG:3CF0 85 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FCF2 +; Routine: SubCFC31_Block_20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16626,11 +16642,11 @@ Label_FCEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCF2: +SubCFC31_Block_20: sta $4006 ; CPU:$FCF2 PRG:3CF2 8D 06 40 lda #$08 ; CPU:$FCF5 PRG:3CF5 A9 08 ; ----------------------------------------------------------------------------- -; Routine: Label_FCF7 +; Routine: SubCFC31_Block_17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16638,16 +16654,16 @@ Label_FCF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCF7: +SubCFC31_Block_17: sta $4007 ; CPU:$FCF7 PRG:3CF7 8D 07 40 lda ZpF3 ; CPU:$FCFA PRG:3CFA A5 F3 cmp #$18 ; CPU:$FCFC PRG:3CFC C9 18 - bcs Label_FD06 ; CPU:$FCFE PRG:3CFE B0 06 + bcs SubCFC31_Block_21 ; CPU:$FCFE PRG:3CFE B0 06 lsr a ; CPU:$FD00 PRG:3D00 4A ora #$90 ; CPU:$FD01 PRG:3D01 09 90 sta $4004 ; CPU:$FD03 PRG:3D03 8D 04 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FD06 +; Routine: SubCFC31_Block_21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16655,10 +16671,10 @@ Label_FCF7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD06: +SubCFC31_Block_21: rts ; CPU:$FD06 PRG:3D06 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FD07 +; Routine: SubCFD10_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16666,13 +16682,13 @@ Label_FD06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD07: +SubCFD10_Block_7: sta $06A1 ; CPU:$FD07 PRG:3D07 8D A1 06 lda #$10 ; CPU:$FD0A PRG:3D0A A9 10 sta $400C ; CPU:$FD0C PRG:3D0C 8D 0C 40 rts ; CPU:$FD0F PRG:3D0F 60 ; ----------------------------------------------------------------------------- -; 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. @@ -16680,24 +16696,24 @@ Label_FD07: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD10: +SubCFD10: ldy ZpFE ; CPU:$FD10 PRG:3D10 A4 FE lda $06A1 ; CPU:$FD12 PRG:3D12 AD A1 06 lsr ZpFE ; CPU:$FD15 PRG:3D15 46 FE - bcs Label_FCA5 ; CPU:$FD17 PRG:3D17 B0 8C + bcs SubCFD10_Block ; CPU:$FD17 PRG:3D17 B0 8C lsr a ; CPU:$FD19 PRG:3D19 4A - bcs Label_FCAC ; CPU:$FD1A PRG:3D1A B0 90 + bcs SubCFD10_Block_2 ; CPU:$FD1A PRG:3D1A B0 90 lsr a ; CPU:$FD1C PRG:3D1C 4A - bcs Label_FCD9 ; CPU:$FD1D PRG:3D1D B0 BA + bcs SubCFD10_Block_3 ; CPU:$FD1D PRG:3D1D B0 BA lsr ZpFE ; CPU:$FD1F PRG:3D1F 46 FE - bcs Label_FCD2 ; CPU:$FD21 PRG:3D21 B0 AF + bcs SubCFD10_Block_4 ; CPU:$FD21 PRG:3D21 B0 AF lsr ZpFE ; CPU:$FD23 PRG:3D23 46 FE - bcs Label_FD2B ; CPU:$FD25 PRG:3D25 B0 04 + bcs SubCFD10_Block_5 ; CPU:$FD25 PRG:3D25 B0 04 lsr a ; CPU:$FD27 PRG:3D27 4A - bcs Label_FD3F ; CPU:$FD28 PRG:3D28 B0 15 + bcs SubCFD10_Block_6 ; CPU:$FD28 PRG:3D28 B0 15 rts ; CPU:$FD2A PRG:3D2A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FD2B +; Routine: SubCFD10_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16705,7 +16721,7 @@ Label_FD10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD2B: +SubCFD10_Block_5: sty $06A1 ; CPU:$FD2B PRG:3D2B 8C A1 06 lda #$20 ; CPU:$FD2E PRG:3D2E A9 20 sta ZpF3 ; CPU:$FD30 PRG:3D30 85 F3 @@ -16716,7 +16732,7 @@ Label_FD2B: asl a ; CPU:$FD3B PRG:3D3B 0A sta $400F ; CPU:$FD3C PRG:3D3C 8D 0F 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FD3F +; Routine: SubCFD10_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16724,17 +16740,17 @@ Label_FD2B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD3F: +SubCFD10_Block_6: ldy #$02 ; CPU:$FD3F PRG:3D3F A0 02 dec ZpF3 ; CPU:$FD41 PRG:3D41 C6 F3 lda ZpF3 ; CPU:$FD43 PRG:3D43 A5 F3 - beq Label_FD07 ; CPU:$FD45 PRG:3D45 F0 C0 + beq SubCFD10_Block_7 ; CPU:$FD45 PRG:3D45 F0 C0 cmp #$18 ; CPU:$FD47 PRG:3D47 C9 18 - beq Label_FD4F ; CPU:$FD49 PRG:3D49 F0 04 - bcs Label_FD62 ; CPU:$FD4B PRG:3D4B B0 15 - bcc Label_FD59 ; CPU:$FD4D PRG:3D4D 90 0A + beq SubCFD10_Block_8 ; CPU:$FD49 PRG:3D49 F0 04 + bcs SubCFD10_Block_9 ; CPU:$FD4B PRG:3D4B B0 15 + bcc SubCFD10_Block_10 ; CPU:$FD4D PRG:3D4D 90 0A ; ----------------------------------------------------------------------------- -; Routine: Label_FD4F +; Routine: SubCFD10_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16742,13 +16758,13 @@ Label_FD3F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD4F: +SubCFD10_Block_8: ldx #$0F ; CPU:$FD4F PRG:3D4F A2 0F stx $400C ; CPU:$FD51 PRG:3D51 8E 0C 40 ldx #$50 ; CPU:$FD54 PRG:3D54 A2 50 stx $400F ; CPU:$FD56 PRG:3D56 8E 0F 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FD59 +; Routine: SubCFD10_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16756,14 +16772,14 @@ Label_FD4F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD59: +SubCFD10_Block_10: ldy ZpF4 ; CPU:$FD59 PRG:3D59 A4 F4 lsr a ; CPU:$FD5B PRG:3D5B 4A - bcs Label_FD67 ; CPU:$FD5C PRG:3D5C B0 09 + bcs SubCFD10_Block_13 ; CPU:$FD5C PRG:3D5C B0 09 inc ZpF4 ; CPU:$FD5E PRG:3D5E E6 F4 - bne Label_FD65 ; CPU:$FD60 PRG:3D60 D0 03 + bne SubCFD10_Block_12 ; CPU:$FD60 PRG:3D60 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_FD62 +; Routine: SubCFD10_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16771,11 +16787,11 @@ Label_FD59: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD62: +SubCFD10_Block_9: lsr a ; CPU:$FD62 PRG:3D62 4A - bcs Label_FD67 ; CPU:$FD63 PRG:3D63 B0 02 + bcs SubCFD10_Block_13 ; CPU:$FD63 PRG:3D63 B0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_FD65 +; Routine: SubCFD10_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16783,10 +16799,10 @@ Label_FD62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD65: +SubCFD10_Block_12: ldy #$0E ; CPU:$FD65 PRG:3D65 A0 0E ; ----------------------------------------------------------------------------- -; Routine: Label_FD67 +; Routine: SubCFD10_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16794,11 +16810,11 @@ Label_FD65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD67: +SubCFD10_Block_13: sty $400E ; CPU:$FD67 PRG:3D67 8C 0E 40 rts ; CPU:$FD6A PRG:3D6A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FD6B +; Routine: SubCFD6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16806,15 +16822,15 @@ Label_FD67: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD6B: +SubCFD6B: ldx ZpF9 ; CPU:$FD6B PRG:3D6B A6 F9 - bne Label_FDB7 ; CPU:$FD6D PRG:3D6D D0 48 + bne SubCFDB7 ; CPU:$FD6D PRG:3D6D D0 48 lda ZpFC ; CPU:$FD6F PRG:3D6F A5 FC - bne Label_FD79 ; CPU:$FD71 PRG:3D71 D0 06 + bne SubCFD6B_Block ; CPU:$FD71 PRG:3D71 D0 06 sta $06B6 ; CPU:$FD73 PRG:3D73 8D B6 06 jmp $FDB7 ; CPU:$FD76 PRG:3D76 4C B7 FD ; ----------------------------------------------------------------------------- -; Routine: Label_FD79 +; Routine: SubCFD6B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16822,11 +16838,11 @@ Label_FD6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD79: +SubCFD6B_Block: eor $06B6 ; CPU:$FD79 PRG:3D79 4D B6 06 - beq Label_FD8E ; CPU:$FD7C PRG:3D7C F0 10 + beq SubCFD6B_Block_2 ; CPU:$FD7C PRG:3D7C F0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_FD7E +; Routine: SubCFD6B_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16834,15 +16850,15 @@ Label_FD79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD7E: +SubCFD6B_Block_4: lda ZpFC ; CPU:$FD7E PRG:3D7E A5 FC sta $06B6 ; CPU:$FD80 PRG:3D80 8D B6 06 jsr $FB62 ; CPU:$FD83 PRG:3D83 20 62 FB lda $FFB9,y ; CPU:$FD86 PRG:3D86 B9 B9 FF sta $0680 ; CPU:$FD89 PRG:3D89 8D 80 06 - bne Label_FD93 ; CPU:$FD8C PRG:3D8C D0 05 + bne SubCFD6B_Block_3 ; CPU:$FD8C PRG:3D8C D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_FD8E +; Routine: SubCFD6B_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16850,11 +16866,11 @@ Label_FD7E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD8E: +SubCFD6B_Block_2: dec $0698 ; CPU:$FD8E PRG:3D8E CE 98 06 - bne Label_FDB7 ; CPU:$FD91 PRG:3D91 D0 24 + bne SubCFDB7 ; CPU:$FD91 PRG:3D91 D0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_FD93 +; Routine: SubCFD6B_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16862,11 +16878,11 @@ Label_FD8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD93: +SubCFD6B_Block_3: ldy $0680 ; CPU:$FD93 PRG:3D93 AC 80 06 inc $0680 ; CPU:$FD96 PRG:3D96 EE 80 06 lda $FFBA,y ; CPU:$FD99 PRG:3D99 B9 BA FF - beq Label_FD7E ; CPU:$FD9C PRG:3D9C F0 E0 + beq SubCFD6B_Block_4 ; CPU:$FD9C PRG:3D9C F0 E0 tax ; CPU:$FD9E PRG:3D9E AA ror a ; CPU:$FD9F PRG:3D9F 6A txa ; CPU:$FDA0 PRG:3DA0 8A @@ -16878,11 +16894,11 @@ Label_FD93: lda $FB53,y ; CPU:$FDA7 PRG:3DA7 B9 53 FB sta $0698 ; CPU:$FDAA PRG:3DAA 8D 98 06 jsr $FAF0 ; CPU:$FDAD PRG:3DAD 20 F0 FA - beq Label_FDB7 ; CPU:$FDB0 PRG:3DB0 F0 05 + beq SubCFDB7 ; CPU:$FDB0 PRG:3DB0 F0 05 lda #$10 ; CPU:$FDB2 PRG:3DB2 A9 10 sta $4008 ; CPU:$FDB4 PRG:3DB4 8D 08 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FDB7 +; Routine: SubCFDB7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16890,14 +16906,14 @@ Label_FD93: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FDB7: +SubCFDB7: lda ZpFD ; CPU:$FDB7 PRG:3DB7 A5 FD - bne Label_FDC3 ; CPU:$FDB9 PRG:3DB9 D0 08 + bne SubCFDB7_Block ; CPU:$FDB9 PRG:3DB9 D0 08 lda $06A2 ; CPU:$FDBB PRG:3DBB AD A2 06 - bne Label_FE07 ; CPU:$FDBE PRG:3DBE D0 47 + bne SubCFDB7_Block_2 ; CPU:$FDBE PRG:3DBE D0 47 jmp $FD10 ; CPU:$FDC0 PRG:3DC0 4C 10 FD ; ----------------------------------------------------------------------------- -; Routine: Label_FDC3 +; Routine: SubCFDB7_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16905,7 +16921,7 @@ Label_FDB7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FDC3: +SubCFDB7_Block: jsr $FB62 ; CPU:$FDC3 PRG:3DC3 20 62 FB inc $06A2 ; CPU:$FDC6 PRG:3DC6 EE A2 06 sty $06F1 ; CPU:$FDC9 PRG:3DC9 8C F1 06 @@ -16931,9 +16947,9 @@ Label_FDC3: ldy #$00 ; CPU:$FDFD PRG:3DFD A0 00 sty $0682 ; CPU:$FDFF PRG:3DFF 8C 82 06 lda $06F1 ; CPU:$FE02 PRG:3E02 AD F1 06 - beq Label_FE0B ; CPU:$FE05 PRG:3E05 F0 04 + beq SubCFDB7_Block_3 ; CPU:$FE05 PRG:3E05 F0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_FE07 +; Routine: SubCFDB7_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16941,11 +16957,11 @@ Label_FDC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE07: +SubCFDB7_Block_2: ldy ZpFA ; CPU:$FE07 PRG:3E07 A4 FA - beq Label_FE3A ; CPU:$FE09 PRG:3E09 F0 2F + beq SubCFDB7_Block_5 ; CPU:$FE09 PRG:3E09 F0 2F ; ----------------------------------------------------------------------------- -; Routine: Label_FE0B +; Routine: SubCFDB7_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16953,22 +16969,22 @@ Label_FE07: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE0B: +SubCFDB7_Block_3: dec $0696 ; CPU:$FE0B PRG:3E0B CE 96 06 - bne Label_FE3A ; CPU:$FE0E PRG:3E0E D0 2A + bne SubCFDB7_Block_5 ; CPU:$FE0E PRG:3E0E D0 2A inc ZpFA ; CPU:$FE10 PRG:3E10 E6 FA lda (ZpF7),y ; CPU:$FE12 PRG:3E12 B1 F7 - beq Label_FE4E ; CPU:$FE14 PRG:3E14 F0 38 + beq SubCFDB7_Block_6 ; CPU:$FE14 PRG:3E14 F0 38 jsr $FAB1 ; CPU:$FE16 PRG:3E16 20 B1 FA sta $0696 ; CPU:$FE19 PRG:3E19 8D 96 06 txa ; CPU:$FE1C PRG:3E1C 8A and #$3E ; CPU:$FE1D PRG:3E1D 29 3E jsr $FAD8 ; CPU:$FE1F PRG:3E1F 20 D8 FA - bne Label_FE28 ; CPU:$FE22 PRG:3E22 D0 04 + bne SubCFDB7_Block_7 ; CPU:$FE22 PRG:3E22 D0 04 ldy #$10 ; CPU:$FE24 PRG:3E24 A0 10 - bne Label_FE37 ; CPU:$FE26 PRG:3E26 D0 0F + bne SubCFDB7_Block_10 ; CPU:$FE26 PRG:3E26 D0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_FE28 +; Routine: SubCFDB7_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16976,16 +16992,16 @@ Label_FE0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE28: +SubCFDB7_Block_7: ldy #$9F ; CPU:$FE28 PRG:3E28 A0 9F lda $06F1 ; CPU:$FE2A PRG:3E2A AD F1 06 - beq Label_FE37 ; CPU:$FE2D PRG:3E2D F0 08 + beq SubCFDB7_Block_10 ; CPU:$FE2D PRG:3E2D F0 08 ldy #$06 ; CPU:$FE2F PRG:3E2F A0 06 lda ZpF9 ; CPU:$FE31 PRG:3E31 A5 F9 - bne Label_FE37 ; CPU:$FE33 PRG:3E33 D0 02 + bne SubCFDB7_Block_10 ; CPU:$FE33 PRG:3E33 D0 02 ldy #$86 ; CPU:$FE35 PRG:3E35 A0 86 ; ----------------------------------------------------------------------------- -; Routine: Label_FE37 +; Routine: SubCFDB7_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16993,10 +17009,10 @@ Label_FE28: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE37: +SubCFDB7_Block_10: sty $4000 ; CPU:$FE37 PRG:3E37 8C 00 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FE3A +; Routine: SubCFDB7_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -17004,17 +17020,17 @@ Label_FE37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE3A: +SubCFDB7_Block_5: lda $06F1 ; CPU:$FE3A PRG:3E3A AD F1 06 - beq Label_FE7E ; CPU:$FE3D PRG:3E3D F0 3F + beq SubCFDB7_Block_12 ; CPU:$FE3D PRG:3E3D F0 3F dec $0695 ; CPU:$FE3F PRG:3E3F CE 95 06 - bne Label_FE7E ; CPU:$FE42 PRG:3E42 D0 3A + bne SubCFDB7_Block_12 ; CPU:$FE42 PRG:3E42 D0 3A ldy $0682 ; CPU:$FE44 PRG:3E44 AC 82 06 inc $0682 ; CPU:$FE47 PRG:3E47 EE 82 06 lda (ZpF7),y ; CPU:$FE4A PRG:3E4A B1 F7 - bne Label_FE5E ; CPU:$FE4C PRG:3E4C D0 10 + bne SubCFDB7_Block_13 ; CPU:$FE4C PRG:3E4C D0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_FE4E +; Routine: SubCFDB7_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -17022,10 +17038,10 @@ Label_FE3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE4E: +SubCFDB7_Block_6: jsr $FAA7 ; CPU:$FE4E PRG:3E4E 20 A7 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FE51 +; Routine: SubCFE51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -17033,7 +17049,7 @@ Label_FE4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE51: +SubCFE51: lda #$00 ; CPU:$FE51 PRG:3E51 A9 00 sta ZpFA ; CPU:$FE53 PRG:3E53 85 FA sta ZpF9 ; CPU:$FE55 PRG:3E55 85 F9 @@ -17041,7 +17057,7 @@ Label_FE51: sta $4008 ; CPU:$FE5A PRG:3E5A 8D 08 40 rts ; CPU:$FE5D PRG:3E5D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FE5E +; Routine: SubCFDB7_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -17049,7 +17065,7 @@ Label_FE51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE5E: +SubCFDB7_Block_13: jsr $FAB1 ; CPU:$FE5E PRG:3E5E 20 B1 FA sta $0695 ; CPU:$FE61 PRG:3E61 8D 95 06 txa ; CPU:$FE64 PRG:3E64 8A @@ -17058,13 +17074,13 @@ Label_FE5E: ldy #$87 ; CPU:$FE6A PRG:3E6A A0 87 lda $0695 ; CPU:$FE6C PRG:3E6C AD 95 06 cmp #$10 ; CPU:$FE6F PRG:3E6F C9 10 - bcs Label_FE7B ; CPU:$FE71 PRG:3E71 B0 08 + bcs SubCFE51_Block_2 ; CPU:$FE71 PRG:3E71 B0 08 ldy #$85 ; CPU:$FE73 PRG:3E73 A0 85 cmp #$08 ; CPU:$FE75 PRG:3E75 C9 08 - bcs Label_FE7B ; CPU:$FE77 PRG:3E77 B0 02 + bcs SubCFE51_Block_2 ; CPU:$FE77 PRG:3E77 B0 02 ldy #$81 ; CPU:$FE79 PRG:3E79 A0 81 ; ----------------------------------------------------------------------------- -; Routine: Label_FE7B +; Routine: SubCFE51_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -17072,10 +17088,10 @@ Label_FE5E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE7B: +SubCFE51_Block_2: sty $4004 ; CPU:$FE7B PRG:3E7B 8C 04 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FE7E +; Routine: SubCFDB7_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -17083,11 +17099,11 @@ Label_FE7B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE7E: +SubCFDB7_Block_12: ldy ZpF9 ; CPU:$FE7E PRG:3E7E A4 F9 - beq Label_FEA9 ; CPU:$FE80 PRG:3E80 F0 27 + beq SubCFE51_Block_4 ; CPU:$FE80 PRG:3E80 F0 27 dec $0698 ; CPU:$FE82 PRG:3E82 CE 98 06 - bne Label_FEA9 ; CPU:$FE85 PRG:3E85 D0 22 + bne SubCFE51_Block_4 ; CPU:$FE85 PRG:3E85 D0 22 inc ZpF9 ; CPU:$FE87 PRG:3E87 E6 F9 lda (ZpF7),y ; CPU:$FE89 PRG:3E89 B1 F7 jsr $FAB1 ; CPU:$FE8B PRG:3E8B 20 B1 FA @@ -17097,10 +17113,10 @@ Label_FE7E: asl a ; CPU:$FE94 PRG:3E94 0A asl a ; CPU:$FE95 PRG:3E95 0A cmp #$3C ; CPU:$FE96 PRG:3E96 C9 3C - bcc Label_FE9C ; CPU:$FE98 PRG:3E98 90 02 + bcc SubCFE51_Block_5 ; CPU:$FE98 PRG:3E98 90 02 lda #$3C ; CPU:$FE9A PRG:3E9A A9 3C ; ----------------------------------------------------------------------------- -; Routine: Label_FE9C +; Routine: SubCFE51_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -17108,12 +17124,12 @@ Label_FE7E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE9C: +SubCFE51_Block_5: ldy $06F1 ; CPU:$FE9C PRG:3E9C AC F1 06 - bne Label_FEA3 ; CPU:$FE9F PRG:3E9F D0 02 + bne SubCFE51_Block_6 ; CPU:$FE9F PRG:3E9F D0 02 lda #$FF ; CPU:$FEA1 PRG:3EA1 A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_FEA3 +; Routine: SubCFE51_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -17121,11 +17137,11 @@ Label_FE9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FEA3: +SubCFE51_Block_6: sta $4008 ; CPU:$FEA3 PRG:3EA3 8D 08 40 jsr $FAF0 ; CPU:$FEA6 PRG:3EA6 20 F0 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FEA9 +; Routine: SubCFE51_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -17133,7 +17149,7 @@ Label_FEA3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FEA9: +SubCFE51_Block_4: rts ; CPU:$FEA9 PRG:3EA9 60 ; ---- data $FEAA-$FFEF (326 bytes) ---- ; referenced by `lda $FFB9,y` at $FD86 (operand $FFB9 falls inside this region) @@ -17143,6 +17159,7 @@ Label_FEA9: ; referenced by `lda $FEAB,y` at $FDD6 (operand $FEAB falls inside this region) ; referenced by `lda $FEAC,y` at $FDDB (operand $FEAC falls inside this region) ; ... and 2 further references from decoded code + ObjectSpriteTable: ; Object sprite definitions .byte $08, $0D, $12, $00, $17, $1C, $21, $26, $0C, $D5, $FE, $13, $00, $05, $F2, $FE ; CPU:$FEAA PRG:3EAA 08 0D 12 00 17 1C 21 26 0C D5 FE 13 00 05 F2 FE .byte $11, $00, $00, $F2, $FE, $11, $00, $05, $14, $FF, $10, $00, $13, $34, $FF, $00 ; CPU:$FEBA PRG:3EBA 11 00 00 F2 FE 11 00 05 14 FF 10 00 13 34 FF 00 .byte $00, $05, $3B, $FF, $00, $00, $0C, $44, $FF, $22, $4C, $42, $7A, $7C, $7E, $40 ; CPU:$FECA PRG:3ECA 00 05 3B FF 00 00 0C 44 FF 22 4C 42 7A 7C 7E 40 @@ -17160,6 +17177,7 @@ Label_FEA9: .byte $58, $B6, $98, $72, $76, $15, $4B, $86, $A8, $62, $66, $46, $46, $C6, $42, $66 ; CPU:$FF8A PRG:3F8A 58 B6 98 72 76 15 4B 86 A8 62 66 46 46 C6 42 66 .byte $46, $46, $86, $66, $46, $68, $C8, $42, $78, $58, $78, $62, $5C, $54, $A2, $72 ; CPU:$FF9A PRG:3F9A 46 46 86 66 46 68 C8 42 78 58 78 62 5C 54 A2 72 .byte $54, $5C, $66, $5C, $54, $A6, $76, $54, $5C, $66, $5E, $58, $A6, $78, $54, $1D ; CPU:$FFAA PRG:3FAA 54 5C 66 5C 54 A6 76 54 5C 66 5E 58 A6 78 54 1D + EnemySpriteData: ; Enemy sprite data .byte $05, $05, $05, $18, $33, $9F, $99, $95, $59, $9F, $9F, $59, $95, $99, $A3, $9D ; CPU:$FFBA PRG:3FBA 05 05 05 18 33 9F 99 95 59 9F 9F 59 95 99 A3 9D .byte $99, $5D, $A3, $A3, $5D, $99, $9D, $00, $5E, $9E, $54, $5E, $9E, $54, $5E, $9E ; CPU:$FFCA PRG:3FCA 99 5D A3 A3 5D 99 9D 00 5E 9E 54 5E 9E 54 5E 9E .byte $54, $5E, $5C, $5E, $60, $62, $A2, $58, $62, $A2, $58, $62, $A2, $58, $62, $60 ; CPU:$FFDA PRG:3FDA 54 5E 5C 5E 60 62 A2 58 62 A2 58 62 A2 58 62 60 diff --git a/Donkey Kong Jr. Math (U)/copilot/reconstructed.lbl b/Donkey Kong Jr. Math (U)/copilot/reconstructed.lbl new file mode 100644 index 0000000..c4dc2c6 --- /dev/null +++ b/Donkey Kong Jr. Math (U)/copilot/reconstructed.lbl @@ -0,0 +1,1053 @@ +al 00FFF0 .IrqHandler +al 00FFBA .EnemySpriteData +al 00FEAA .ObjectSpriteTable +al 00FEA3 .SubCFE51_Block_6 +al 00FE9C .SubCFE51_Block_5 +al 00FEA9 .SubCFE51_Block_4 +al 00FE7B .SubCFE51_Block_2 +al 00FE51 .SubCFE51 +al 00FE5E .SubCFDB7_Block_13 +al 00FE7E .SubCFDB7_Block_12 +al 00FE37 .SubCFDB7_Block_10 +al 00FE28 .SubCFDB7_Block_7 +al 00FE4E .SubCFDB7_Block_6 +al 00FE3A .SubCFDB7_Block_5 +al 00FE0B .SubCFDB7_Block_3 +al 00FE07 .SubCFDB7_Block_2 +al 00FDC3 .SubCFDB7_Block +al 00FD93 .SubCFD6B_Block_3 +al 00FD7E .SubCFD6B_Block_4 +al 00FD8E .SubCFD6B_Block_2 +al 00FD79 .SubCFD6B_Block +al 00FDB7 .SubCFDB7 +al 00FD6B .SubCFD6B +al 00FD65 .SubCFD10_Block_12 +al 00FD67 .SubCFD10_Block_13 +al 00FD59 .SubCFD10_Block_10 +al 00FD62 .SubCFD10_Block_9 +al 00FD4F .SubCFD10_Block_8 +al 00FD3F .SubCFD10_Block_6 +al 00FD2B .SubCFD10_Block_5 +al 00FD10 .SubCFD10 +al 00FD06 .SubCFC31_Block_21 +al 00FCF2 .SubCFC31_Block_20 +al 00FCEA .SubCFC31_Block_19 +al 00FCD9 .SubCFD10_Block_3 +al 00FCD2 .SubCFD10_Block_4 +al 00FCF7 .SubCFC31_Block_17 +al 00FCC8 .SubCFC31_Block_16 +al 00FCC3 .SubCFC31_Block_14 +al 00FD07 .SubCFD10_Block_7 +al 00FCAC .SubCFD10_Block_2 +al 00FCA5 .SubCFD10_Block +al 00FC79 .SubCFC31_Block_8 +al 00FC7F .SubCFC31_Block_12 +al 00FC82 .SubCFC31_Block_3 +al 00FC47 .SubCFC31_Block_11 +al 00FC31 .SubCFC31 +al 00FC87 .SubCFBDC_Block_16 +al 00FC8D .SubCFBDC_Block_15 +al 00FC64 .SubCFBDC_Block_14 +al 00FC6B .SubCFBDC_Block_13 +al 00FC4B .SubCFBDC_Block_12 +al 00FC52 .SubCFBDC_Block_11 +al 00FC3A .SubCFBDC_Block_10 +al 00FC41 .SubCFBDC_Block_9 +al 00FC1F .SubCFBDC_Block_8 +al 00FC2B .UpdateAPU10 +al 00FBDC .SubCFBDC +al 00FC1C .SubCFC31_Block_10 +al 00FC2F .SubCFC31_Block_2 +al 00FBC6 .SubCFBDC_Block_6 +al 00FBB4 .SubCFBDC_Block_7 +al 00FBA6 .SubCFB62_Block_5 +al 00FB99 .SubCFBDC_Block_4 +al 00FB8C .SubCFBDC_Block_5 +al 00FBDA .SubCFB62_Block_3 +al 00FB83 .SubCFBDC_Block_2 +al 00FB74 .SubCFBDC_Block_3 +al 00FB6B .SubCFB62_Block_4 +al 00FB6A .SubCFB62_Block +al 00FB64 .SubCFB62_Block_2 +al 00FB62 .SubCFB62 +al 00FB00 .APURegisterBuffer +al 00FAF9 .SubCFAF9 +al 00FAF7 .SubCFAF7 +al 00FAF0 .SubCFAF0 +al 00FAEC .SubCFAEC +al 00FAEB .SubCFAD8_Block +al 00FADA .SubCFAF0_Block +al 00FAD5 .SubCFAD5 +al 00FAD3 .SubCFAD3 +al 00FAD8 .SubCFAD8 +al 00FACD .SubCFACD +al 00FAC5 .SubCFAC5 +al 00FAC4 .SubCFAC4 +al 00FAC2 .SubCFAC2 +al 00FAB1 .SubCFAB1 +al 00FAA9 .SubCFAA9 +al 00FAA7 .SubCFAA7 +al 00FA95 .SubCFA95 +al 00FA92 .SubCFA5C_Block_4 +al 00FA8F .SubCFA5C_Block_3 +al 00FA7C .SubCFA5C_Block_2 +al 00FA75 .SubCFA5C_Block +al 00FA5C .SubCFA5C +al 00F904 .TitleScreenData +al 00F804 .FontTileData +al 00F544 .VRAMCmdBuffer +al 00F543 .SubCF50B_Block_4 +al 00F532 .SubCF50B_Block_3 +al 00F50D .SubCF50B_Block +al 00F50B .SubCF50B +al 00F4F3 .SubCF4F3 +al 00F4E2 .SubCF4D2_Block +al 00F4D2 .SubCF4D2 +al 00F4A3 .SoundEffectTable +al 00F49F .SubCF48D_Block_2 +al 00F499 .SubCF48D_Block_3 +al 00F48D .SubCF48D +al 00F416 .MusicSeqPtrTable +al 00F407 .SubCF407 +al 00F404 .SubCF3E5_Block_2 +al 00F3F8 .SubCF3E5_Block +al 00F3E5 .SubCF3E5 +al 00F3DC .SubCF3C4_Block_3 +al 00F3E0 .SubCF3C4_Block_2 +al 00F3CF .SubCF3C4_Block +al 00F3C4 .SubCF3C4 +al 00F3C3 .SubCF33F_Block_7 +al 00F3A7 .SubCF33F_Block_6 +al 00F3A1 .SubCF33F_Block_5 +al 00F34C .SubCF33F_Block_3 +al 00F373 .SubCF33F_Block_2 +al 00F36F .SubCF33F_Block +al 00F33F .SubCF33F +al 00F335 .SubCF322_Block +al 00F322 .SubCF322 +al 00F324 .SubCF31E_Block +al 00F31E .SubCF31E +al 00F31D .SubCF30C_Block +al 00F30C .SubCF30C +al 00F30A .SubCF30A +al 00F305 .SubCF305 +al 00F2DC .SubCF2AC_Block +al 00F2C3 .SubCF2AC_Block_2 +al 00F2AC .SubCF2AC +al 00F2AA .SubCF2AA +al 00F2A9 .SubCF23D_Block_3 +al 00F298 .SubCF23D_Block +al 00F279 .SubCF23D_Block_2 +al 00F23D .SubCF23D +al 00F237 .SubCF22A_Block +al 00F22E .SubCF22A_Block_2 +al 00F22A .SubCF22A +al 00F221 .SubCF221 +al 00F218 .SubCF218 +al 00F204 .SubCF197_Block_7 +al 00F201 .SubCF197_Block_8 +al 00F1FE .SubCF197_Block_6 +al 00F1F2 .SubCF197_Block_5 +al 00F1DC .SubCF218_Block +al 00F1D5 .SubCF197_Block_4 +al 00F1BC .SubCF197_Block_3 +al 00F1A6 .SubCF197_Block +al 00F197 .SubCF197 +al 00F193 .SubCF17A_Block_2 +al 00F196 .SubCF17A_Block +al 00F17A .SubCF17A +al 00F16E .SubCF135_Block_3 +al 00F179 .SubCF135_Block_2 +al 00F135 .SubCF135 +al 00F12B .SubCF12B +al 00F12A .SubCF11C_Block +al 00F11C .SubCF11C +al 00F117 .SubCF0D8_Block_3 +al 00F0E8 .SubCF0D8_Block_2 +al 00F0D8 .SubCF0D8 +al 00F0D3 .SubCF0AE_Block_4 +al 00F0E9 .SubCF0AE_Block_3 +al 00F0BC .SubCF0AE_Block_2 +al 00F0AE .SubCF0AE +al 00F0A9 .SubCF051_Block_4 +al 00F0BD .SubCF051_Block_3 +al 00F0F1 .SubCF051_Block_2 +al 00F06F .UpdateMusicChannel22 +al 00F07B .SubCF051_Block +al 00F051 .SubCF051 +al 00F04B .SubCF04B +al 00F042 .SubCF030_Block +al 00F030 .SubCF030 +al 00F08B .SubCF006_Block_5 +al 00F024 .SubCF006_Block_3 +al 00F01C .SubCF006_Block_2 +al 00F006 .SubCF006 +al 00F005 .SubCF04B_Block +al 00F00C .SubCEFF7_Block +al 00EFF7 .SubCEFF7 +al 00EFEA .SubCEFEA +al 00EFE9 .SubCEFC8_Block_2 +al 00EFD6 .SubCEFC8_Block +al 00EFC8 .SubCEFC8 +al 00EFAC .SubCEF21_Block_4 +al 00EF7A .SubCEF21_Block_3 +al 00EF5A .SubCEF21_Block_2 +al 00EF80 .SubCEF21_Block +al 00EF21 .SubCEF21 +al 00EF1B .SubCEF1B +al 00EF18 .SubCEF18 +al 00EF08 .SubCEEED_Block_2 +al 00EEED .SubCEEED +al 00EEE1 .SubCEEE1 +al 00EEA5 .SubCEE97_Block +al 00EE97 .SubCEE97 +al 00EE82 .SubCEE82 +al 00EE75 .SubCEE6F_Block +al 00EE6F .SubCEE6F +al 00EE5E .SubCEE5E +al 00EE4D .UpdateMusicChannel16 +al 00EE44 .SubCEE44 +al 00EE38 .SubCEE25_Block_3 +al 00EE2A .SubCEE25_Block_2 +al 00EE39 .SubCEE25_Block +al 00EE25 .SubCEE25 +al 00EE23 .SubCEE10_Block +al 00EE10 .SubCEE10 +al 00EE06 .SubCEE06 +al 00EE0B .SubCEDD7_Block_3 +al 00EE04 .SubCEDD7_Block_2 +al 00EDF6 .SubCEDD7_Block +al 00EDD7 .SubCEDD7 +al 00EDBD .SubCED9F_Block_2 +al 00EDCD .SubCED9F_Block +al 00EDAE .SubCED9F_Block_4 +al 00EDA1 .SubCED9F_Block_3 +al 00ED9F .SubCED9F +al 00ED9E .SubCED50_Block_6 +al 00ED8E .SubCED50_Block_4 +al 00ED8F .SubCED50_Block_3 +al 00ED6B .SubCED50_Block_2 +al 00ED79 .SubCED50_Block +al 00ED50 .SubCED50 +al 00ED75 .SubCED12_Block_5 +al 00ED4B .SubCED12_Block_3 +al 00ED3C .SubCED12_Block_4 +al 00ED44 .SubCED12_Block_2 +al 00ED2D .SubCED12_Block +al 00ED12 .SubCED12 +al 00ED0F .SubCED0F +al 00ED08 .SubCECDA_Block_3 +al 00ECEF .SubCECDA_Block +al 00ECE2 .SubCECDA_Block_2 +al 00ECE0 .SubCECDA_Block_4 +al 00ECDA .SubCECDA +al 00ECD9 .SubCEC77_Block_3 +al 00ECB9 .SubCEC77_Block_2 +al 00EC77 .SubCEC77 +al 00EC75 .SubCEC53_Block_3 +al 00EC5D .SubCEC77_Block +al 00EC53 .SubCEC53 +al 00EC4F .SubCEC2F_Block +al 00EC34 .SubCEC53_Block +al 00EC8B .SubCEC1B_Block_2 +al 00EC5B .SubCEC1B_Block +al 00EC2F .SubCEC2F +al 00EC1B .SubCEC1B +al 00EC12 .SubCEC0F_Block +al 00EC0F .SubCEC0F +al 00EC01 .SubCEC01 +al 00EC09 .SubCEBF7_Block +al 00EBF7 .SubCEBF7 +al 00EBF6 .SubCEBE5_Block +al 00EBE5 .SubCEBE5 +al 00EBC8 .SubCEB95_Block_4 +al 00EBBD .SubCEB95_Block_3 +al 00EBC0 .SubCEB95_Block_6 +al 00EBAF .SubCEB95_Block +al 00EB95 .SubCEB95 +al 00EBC1 .SubCEB7B_Block_2 +al 00EB7B .SubCEB7B +al 00EB66 .SubCEB66 +al 00EB8A .SubCEB7B_Block +al 00EB56 .SubCEB56 +al 00EB4D .SubCEB41_Block +al 00EB41 .SubCEB41 +al 00EB75 .SubCEB66_Block +al 00EB62 .SubCEB15_Block_2 +al 00EB15 .SubCEB15 +al 00EB0D .UpdateSoundChannel6 +al 00EAFE .SubCEAFE +al 00EADB .SubCEA7C_Block_10 +al 00EAC7 .SubCEA7C_Block_9 +al 00EAEB .SubCEA7C_Block_8 +al 00EAAF .SubCEA7C_Block_7 +al 00EAAD .SubCEA7C_Block_6 +al 00EAB2 .SubCEA7C_Block_3 +al 00EA89 .SubCEA7C_Block_2 +al 00EA81 .SubCEA7C_Block +al 00EA7C .SubCEA7C +al 00EA71 .SubCEA5D_Block_2 +al 00EA79 .SubCEA5D_Block +al 00EA5D .SubCEA5D +al 00EA5B .SubCEA5B +al 00EA5A .SubCEA39_Block_5 +al 00EA48 .SubCEA39_Block_3 +al 00EA39 .SubCEA39 +al 00EA35 .SubCEA0D_Block_3 +al 00EA2C .SubCEA0D_Block +al 00EA0D .SubCEA0D +al 00EA05 .SubCE9E7_Block_3 +al 00EA29 .SubCEA0D_Block_2 +al 00E9EE .SubCE9E7_Block +al 00E9E7 .SubCE9E7 +al 00E9E1 .SubCE9C0_Block_4 +al 00E9DA .SubCE9C0_Block_3 +al 00E9DE .SubCE9C0_Block_2 +al 00E9C7 .SubCE9C0_Block +al 00E9C0 .SubCE9C0 +al 00E9A7 .SubCE984_Block_4 +al 00E9B0 .SubCE984_Block_3 +al 00E9B1 .SubCE984_Block_2 +al 00E98B .SubCE984_Block +al 00E984 .SubCE984 +al 00E981 .SubCE949_Block_2 +al 00E966 .SubCE949_Block +al 00E96F .SubCE928_Block_2 +al 00E949 .SubCE949 +al 00E96E .SubCE928_Block +al 00E928 .SubCE928 +al 00E923 .SubCE912_Block_3 +al 00E91A .SubCE912_Block +al 00E912 .SubCE912 +al 00E8EC .SubCE8E0_Block_2 +al 00E8E0 .SubCE8E0 +al 00E8DE .SubCE8AD_Block +al 00E8AD .SubCE8AD +al 00E8B5 .SubCE876_Block_7 +al 00E8AE .SubCE876_Block_6 +al 00E8C9 .SubCE876_Block_5 +al 00E89A .SubCE876_Block_4 +al 00E8FD .SubCE876_Block_3 +al 00E88B .SubCE876_Block_2 +al 00E87C .SubCE876_Block +al 00E876 .SubCE876 +al 00E84C .SubCE825_Block_3 +al 00E848 .SubCE825_Block_2 +al 00E870 .SubCE825_Block +al 00E825 .SubCE825 +al 00E80B .SubCE7FC_Block_2 +al 00E803 .SubCE7FC_Block +al 00E7FC .SubCE7FC +al 00E7F5 .SubCE7F5 +al 00E7CA .SubCE7A0_Block_7 +al 00E7B8 .SubCE7A0_Block_4 +al 00E7B1 .SubCE7A0_Block_3 +al 00E7C3 .SubCE7A0_Block_6 +al 00E7A0 .SubCE7A0 +al 00E795 .SubCE74A_Block_7 +al 00E79C .SubCE74A_Block_6 +al 00E75B .SubCE74A_Block_3 +al 00E755 .SubCE74A_Block_2 +al 00E754 .SubCE74A_Block_5 +al 00E74A .SubCE74A +al 00E741 .SubCE73F_Block +al 00E73F .SubCE73F +al 00E72E .SubCE72C_Block +al 00E72C .SubCE72C +al 00E729 .SubCE715_Block_3 +al 00E722 .SubCE715_Block_2 +al 00E71A .SubCE715_Block +al 00E715 .SubCE715 +al 00E6F5 .SubCE6F1_Block +al 00E6F1 .SubCE6F1 +al 00E6DE .SubCE6DE +al 00E6D3 .SubCE6D3 +al 00E6C9 .SubCE6C9 +al 00E6BA .SubCE6BA +al 00E6A1 .SubCE674_Block_7 +al 00E69C .SubCE674_Block_6 +al 00E695 .SubCE674_Block_5 +al 00E684 .SubCE674_Block_2 +al 00E67E .SubCE674_Block +al 00E674 .SubCE674 +al 00E665 .SubCE65E_Block_2 +al 00E65E .SubCE65E +al 00E654 .SubCE63D_Block_2 +al 00E63D .SubCE63D +al 00E639 .SubCE5F8_Block_6 +al 00E627 .SubCE5F8_Block_4 +al 00E61E .SubCE5F8_Block_3 +al 00E610 .SubCE63D_Block_3 +al 00E613 .SubCE5F8_Block_2 +al 00E5FD .SubCE5F8_Block +al 00E5F8 .SubCE5F8 +al 00E5F2 .SubCE5C0_Block_5 +al 00E5E8 .SubCE5C0_Block_4 +al 00E5DE .SubCE5C0_Block_3 +al 00E5D4 .SubCE5C0_Block_2 +al 00E5CA .SubCE5C0_Block +al 00E5C0 .SubCE5C0 +al 00E5B9 .SubCE5B9 +al 00E5AB .SubCE5AB +al 00E5A8 .SubCE596_Block_2 +al 00E596 .SubCE596 +al 00E585 .SubCE585 +al 00E57C .SubCE57C +al 00E57A .SubCE5AB_Block_2 +al 00E57E .SubCE5AB_Block +al 00E56B .SubCE56B +al 00E568 .SubCE502_Block_9 +al 00E5BD .SubCE5BD +al 00E54A .PlayMusic +al 00E53F .SubCE502_Block_8 +al 00E529 .SubCE502_Block_7 +al 00E531 .SubCE502_Block_6 +al 00E52C .SubCE502_Block_5 +al 00E523 .SubCE502_Block_4 +al 00E542 .SubCE502_Block_3 +al 00E50F .SubCE502_Block_2 +al 00E4F4 .SubCE502_Block +al 00E4E6 .SubCE4C5_Block_4 +al 00E4DF .SubCE4C5_Block_3 +al 00E4D8 .SubCE4C5_Block_2 +al 00E4F1 .SubCE4C5_Block +al 00E502 .SubCE502 +al 00E4C5 .SubCE4C5 +al 00E4BF .SubCE4BF +al 00E4B1 .SubCE4B1 +al 00E4BC .SubCE4A6_Block_2 +al 00E4B4 .SubCE4A6_Block +al 00E4A6 .SubCE4A6 +al 00E49F .SubCE481_Block_3 +al 00E496 .SubCE481_Block_4 +al 00E4A2 .SubCE481_Block_2 +al 00E481 .SubCE481 +al 00E476 .SubCE3FE_Block_16 +al 00E456 .SubCE3FE_Block_14 +al 00E459 .UpdateDisplay2 +al 00E45F .SubCE3FE_Block_15 +al 00E44B .SubCE3FE_Block_12 +al 00E44E .SubCE3FE_Block_11 +al 00E43C .SubCE3FE_Block_9 +al 00E433 .SubCE3FE_Block_7 +al 00E42A .SubCE3FE_Block_5 +al 00E421 .SubCE3FE_Block_3 +al 00E443 .SubCE3FE_Block_10 +al 00E418 .SubCE3FE_Block +al 00E3FE .SubCE3FE +al 00E406 .SubCE3F0_Block +al 00E3DF .SubCE3A5_Block_7 +al 00E40B .SubCE3A5_Block_6 +al 00E3F0 .SubCE3F0 +al 00E3CC .SubCE3A5_Block_3 +al 00E405 .SubCE3FE_Block_17 +al 00E3D1 .SubCE3A5_Block_5 +al 00E3A5 .SubCE3A5 +al 00E387 .SubCE387 +al 00E36F .SubCE353_Block_3 +al 00E386 .SubCE353_Block_2 +al 00E359 .SubCE353_Block +al 00E353 .SubCE353 +al 00E344 .SubCE338_Block +al 00E338 .SubCE338 +al 00E352 .SubCE32D_Block +al 00E32D .SubCE32D +al 00E324 .SubCE324 +al 00E322 .SubCE314_Block_2 +al 00E328 .SubCE314_Block +al 00E314 .SubCE314 +al 00E308 .SubCE2F5_Block +al 00E2F5 .SubCE2F5 +al 00E2E2 .SubCE2DE_Block_2 +al 00E2E3 .SubCE2DE_Block +al 00E2DE .SubCE2DE +al 00E2CC .SubCE2CC +al 00E2BC .SubCE2B4_Block +al 00E2B4 .SubCE2B4 +al 00E2B3 .SubCE2B3 +al 00E2AF .SubCE291_Block_2 +al 00E2A3 .SubCE291_Block +al 00E291 .SubCE291 +al 00E28F .SubCE26B_Block_3 +al 00E296 .SubCE26B_Block_2 +al 00E27E .SubCE26B_Block +al 00E26B .SubCE26B +al 00E259 .SubCE259 +al 00E254 .SubCE242_Block +al 00E242 .SubCE242 +al 00E23A .SubCE1D7_Block_7 +al 00E20D .SubCE1D7_Block_6 +al 00E1FF .SubCE1D7_Block_5 +al 00E1F9 .SubCE1D7_Block_4 +al 00E1EB .SubCE1D7_Block_3 +al 00E1E2 .SubCE1D7_Block_2 +al 00E1DC .SubCE1D7_Block +al 00E1D7 .SubCE1D7 +al 00E1D3 .SubCE1C1_Block +al 00E1C5 .SubCE1C1_Block_2 +al 00E1C1 .SubCE1C1 +al 00E1BC .SubCE199_Block_2 +al 00E19B .SubCE199_Block +al 00E199 .SubCE199 +al 00E182 .SubCE17B_Block +al 00E17B .SubCE17B +al 00E174 .SubCE170_Block +al 00E170 .SubCE170 +al 00E163 .SubCE0E4_Block_4 +al 00E15F .SubCE0E4_Block_3 +al 00E137 .SubCE0E4_Block_2 +al 00E0FD .InitGame_4 +al 00E0F4 .SubCE0E4_Block +al 00E0E4 .SubCE0E4 +al 00E0D7 .SubCE0D7 +al 00E0A9 .SubCE09E_Block +al 00E09E .SubCE09E +al 00E091 .SubCDFEE_Block_10 +al 00E070 .SubCDFEE_Block_9 +al 00E057 .SubCDFEE_Block_8 +al 00E02A .SubCDFEE_Block_7 +al 00E01F .SubCDFEE_Block_6 +al 00E015 .SubCDFEE_Block_5 +al 00E007 .SubCDFEE_Block_4 +al 00E00A .SubCDFEE_Block_3 +al 00E003 .SubCDFEE_Block_2 +al 00DFF3 .SubCDFEE_Block +al 00DFEE .SubCDFEE +al 00DFE0 .SubCDFE0 +al 00DFD8 .SubCDF7E_Block_8 +al 00DFC4 .SubCDF7E_Block_7 +al 00DFAA .SubCDF7E_Block_5 +al 00DF9B .SubCDF7E_Block_2 +al 00DF9F .SubCDF7E_Block_4 +al 00DF7E .SubCDF7E +al 00DF84 .SubCDF6E_Block_3 +al 00DF76 .SubCDF6E_Block +al 00DF6E .SubCDF6E +al 00DF6A .SubCDF47_Block +al 00DF47 .SubCDF47 +al 00DF44 .SubCDECB_Block_9 +al 00DF31 .SubCDECB_Block_8 +al 00DF05 .SubCDECB_Block_6 +al 00DF0C .SubCDECB_Block_3 +al 00DEED .SubCDECB_Block_2 +al 00DEDB .SubCDECB_Block +al 00DECB .SubCDECB +al 00DE9F .SubCDE68_Block_3 +al 00DE9B .SubCDE68_Block_2 +al 00DE77 .SubCDE68_Block +al 00DE68 .SubCDE68 +al 00DE63 .UpdateSpritePosition82 +al 00DE3D .SubCDE3D +al 00DE3A .SubCDE2A_Block +al 00DE2A .SubCDE2A +al 00DE2C .SubCDE10_Block_3 +al 00DE24 .SubCDE10_Block_2 +al 00DE33 .SubCDE10_Block +al 00DDEF .SubCDDEF +al 00DDED .SubCDDA7_Block_3 +al 00DDD6 .SubCDDA7_Block_2 +al 00DDC6 .SubCDDA7_Block +al 00DE10 .SubCDE10 +al 00DDA7 .SubCDDA7 +al 00DD9D .SubCDD9D +al 00DD9A .SubCDD4E_Block_2 +al 00DD5B .SubCDD4E_Block +al 00DD4E .SubCDD4E +al 00DD48 .SubCDD16_Block_4 +al 00DD4D .SubCDD16_Block_3 +al 00DD25 .SubCDD16_Block +al 00DD16 .SubCDD16 +al 00DD15 .SubCDD0A_Block +al 00DD0C .SubCDD16_Block_2 +al 00DD0A .SubCDD0A +al 00DD09 .SubCDCCB_Block_5 +al 00DCEA .SubCDCCB_Block_4 +al 00DCE3 .UpdateSpritePosition66 +al 00DCFE .SubCDCCB_Block_3 +al 00DCE4 .SubCDCCB_Block_2 +al 00DCD1 .SubCDCCB_Block +al 00DCCB .SubCDCCB +al 00DCAC .SubCDC1F_Block_15 +al 00DC9F .SubCDC1F_Block_13 +al 00DC95 .SubCDC1F_Block_16 +al 00DC7C .SubCDC1F_Block_12 +al 00DCC6 .SubCDC1F_Block_8 +al 00DC4A .SubCDC1F_Block_7 +al 00DC25 .SubCDC1F_Block +al 00DC1F .SubCDC1F +al 00DC0D .UpdateSpritePosition61 +al 00DC0C .SubCDBC2_Block_6 +al 00DBEF .SubCDBC2_Block_3 +al 00DBF5 .SubCDBC2_Block_2 +al 00DBDA .SubCDBC2_Block_7 +al 00DBC2 .SubCDBC2 +al 00DBBF .SubCDBBF +al 00DBB5 .SubCDB85_Block_3 +al 00DBAC .SubCDB85_Block_2 +al 00DB96 .SubCDB85_Block_4 +al 00DBB2 .SubCDB85_Block +al 00DB85 .SubCDB85 +al 00DB6B .SubCDB6B +al 00DB6A .SubCDB42_Block_2 +al 00DB5D .SubCDB42_Block +al 00DB42 .SubCDB42 +al 00DB34 .SubCDB2D_Block +al 00DB2D .SubCDB2D +al 00DB29 .SubCDB15_Block_2 +al 00DB27 .SubCDB15_Block +al 00DB15 .SubCDB15 +al 00DB12 .SubCDADF_Block_2 +al 00DAF3 .SubCDADF_Block +al 00DADF .SubCDADF +al 00DADE .SubCDAC2_Block +al 00DAC9 .SubCDAC2_Block_2 +al 00DAC2 .SubCDAC2 +al 00DABF .SubCDA90_Block_2 +al 00DAA0 .SubCDA90_Block_3 +al 00DA90 .SubCDA90 +al 00DA8D .SubCDA66_Block_2 +al 00DA6C .SubCDA66_Block_3 +al 00DA66 .SubCDA66 +al 00DA65 .SubCDA5E_Block +al 00DA58 .SubCDA2A_Block_9 +al 00DA52 .SubCDA2A_Block_6 +al 00DA5B .SubCDA2A_Block_10 +al 00DA41 .SubCDA2A_Block_4 +al 00DA3B .SubCDA2A_Block +al 00DA2A .SubCDA2A +al 00DA17 .SubCDA17 +al 00DA14 .SubCDA0C_Block +al 00DA0C .SubCDA0C +al 00DA05 .SubCDA05 +al 00DA03 .SubCDA03 +al 00D9FE .SubCD9B5_Block_3 +al 00D9D2 .SubCD9B5_Block_2 +al 00D9DB .SubCD9B5_Block_4 +al 00D9B5 .SubCD9B5 +al 00D9B3 .SubCD9B3 +al 00D9AF .SubCD9AF +al 00D9B7 .SubCD9AF_Block +al 00D9A7 .SubCD9A7 +al 00D995 .SubCD995 +al 00D98F .SubCD980_Block_2 +al 00D992 .SubCD980_Block_3 +al 00D980 .SubCD980 +al 00D979 .SubCD971_Block_2 +al 00D971 .SubCD971 +al 00D96C .SubCD95B_Block +al 00D95B .SubCD95B +al 00D952 .SubCD952 +al 00D94C .SubCD908_Block_5 +al 00D91B .SubCD908_Block_4 +al 00D908 .SubCD908 +al 00D906 .SubCD8C5_Block_6 +al 00D8EE .SubCD908_Block_2 +al 00D916 .SubCD8C5_Block_3 +al 00D915 .SubCD908_Block +al 00D922 .SubCD8C5_Block +al 00D8BF .SubCD82F_Block_13 +al 00D8C4 .SubCD82F_Block_12 +al 00D89E .SubCD82F_Block_11 +al 00D8A3 .SubCD82F_Block_9 +al 00D879 .SubCD82F_Block_7 +al 00D8C5 .SubCD8C5 +al 00D87A .SubCD82F_Block_5 +al 00D8A4 .SubCD82F_Block_4 +al 00D84D .SubCD82F_Block_3 +al 00D84C .SubCD82F_Block_2 +al 00D82F .SubCD82F +al 00D828 .SubCD7F0_Block_2 +al 00D814 .SubCD7F0_Block +al 00D7FA .SubCD7F0_Block_3 +al 00D7F6 .SubCD7F0_Block_4 +al 00D7F0 .SubCD7F0 +al 00D7DB .SubCD7D1_Block +al 00D7D3 .SubCD7D1_Block_2 +al 00D7D1 .SubCD7D1 +al 00D7AB .SubCD79D_Block +al 00D7A6 .SubCD79D_Block_2 +al 00D79D .SubCD79D +al 00D77F .SubCD777_Block +al 00D779 .SubCD777_Block_2 +al 00D777 .SubCD777 +al 00D762 .SubCD75C_Block +al 00D75C .SubCD75C +al 00D752 .SubCD74C_Block +al 00D74C .SubCD74C +al 00D731 .SubCD731 +al 00D728 .SubCD728 +al 00D725 .SubCD6D2_Block_4 +al 00D71B .SubCD6D2_Block_3 +al 00D70A .SubCD6D2_Block_2 +al 00D72E .SubCD6D2_Block +al 00D6D0 .SubCD6D0 +al 00D6D2 .SubCD6D2 +al 00D6CC .SubCD6CC +al 00D6C8 .SoundTempData +al 00D6BA .SubCD6BA +al 00D6B4 .SubCD6A7_Block +al 00D6A3 .SubCD6A3 +al 00D6A7 .SubCD6A7 +al 00D69F .SubCD69F +al 00D680 .SubCD65F_Block_2 +al 00D674 .SubCD65F_Block +al 00D65F .SubCD65F +al 00D65C .SubCD63C_Block_3 +al 00D653 .SubCD63C_Block_2 +al 00D63C .SubCD63C +al 00D62A .SubCD62A +al 00D615 .SubCD615 +al 00D5F8 .SubCD5F8 +al 00D5D9 .SubCD59A_Block +al 00D59A .SubCD59A +al 00D58E .SubCD562_Block_4 +al 00D587 .SubCD562_Block_3 +al 00D5E3 .SubCD562_Block_2 +al 00D5AC .SubCD562_Block +al 00D562 .SubCD562 +al 00D55E .SubCD55E +al 00D55A .SubCD55A +al 00D564 .SubCD55E_Block +al 00D556 .SubCD556 +al 00D52C .SubCD51A_Block_3 +al 00D54E .SubCD51A_Block_4 +al 00D51A .SubCD51A +al 00D517 .SubCD4F4_Block_5 +al 00D511 .SubCD4F4_Block_4 +al 00D4F9 .SubCD4F4_Block_3 +al 00D4FA .SubCD4F4_Block +al 00D4F4 .SubCD4F4 +al 00D4E0 .SubCD44A_Block_8 +al 00D495 .SubCD44A_Block_7 +al 00D496 .SubCD44A_Block_5 +al 00D48A .SubCD44A_Block_4 +al 00D466 .SubCD44A_Block_6 +al 00D45A .SubCD44A_Block_3 +al 00D459 .SubCD44A_Block +al 00D44A .SubCD44A +al 00D43E .SubCD3C1_Block_8 +al 00D438 .SubCD3C1_Block_7 +al 00D3F3 .SubCD3C1_Block_4 +al 00D42A .SubCD3C1_Block_6 +al 00D420 .SubCD3C1_Block_2 +al 00D3F9 .SubCD3C1_Block +al 00D3C1 .SubCD3C1 +al 00D3AE .SubCD3A2_Block +al 00D3AC .SubCD3A2_Block_2 +al 00D3A2 .SubCD3A2 +al 00D39F .SubCD35E_Block_7 +al 00D38D .SubCD35E_Block_5 +al 00D35E .SubCD35E +al 00D356 .SubCD34F_Block +al 00D34F .SubCD34F +al 00D34C .SubCD2BC_Block_10 +al 00D34A .SubCD2BC_Block_9 +al 00D333 .SubCD2BC_Block_8 +al 00D31C .SubCD2BC_Block_7 +al 00D311 .SubCD2BC_Block_6 +al 00D2EF .SubCD2BC_Block_4 +al 00D2F7 .SubCD2BC_Block_3 +al 00D312 .SubCD2BC_Block_2 +al 00D2BC .SubCD2BC +al 00D2B5 .SubCD292_Block +al 00D292 .SubCD292 +al 00D273 .SubCD273 +al 00D268 .SubCD242_Block +al 00D242 .SubCD242 +al 00D23F .SubCD23F +al 00D231 .SubCD231 +al 00D22C .SubCD1AB_Block_6 +al 00D20E .SubCD20E +al 00D1F6 .SubCD1AB_Block_5 +al 00D201 .SubCD1AB_Block_4 +al 00D22F .SubCD1AB_Block_3 +al 00D1AB .SubCD1AB +al 00D1A8 .SubCD17A_Block_4 +al 00D189 .SubCD17A_Block_2 +al 00D1B8 .SubCD17A_Block_3 +al 00D17A .SubCD17A +al 00D175 .UpdateSpritePosition26 +al 00D164 .SubCD164 +al 00D158 .SubCD158 +al 00D153 .SubCD153 +al 00D151 .SubCD13F_Block +al 00D156 .SubCD156 +al 00D13F .SubCD13F +al 00D13C .SubCD128_Block_2 +al 00D139 .SubCD128_Block +al 00D128 .SubCD128 +al 00D125 .SubCD117_Block_2 +al 00D123 .SubCD117_Block +al 00D117 .SubCD117 +al 00D114 .SubCD10B_Block +al 00D10B .SubCD10B +al 00D102 .SubCD102 +al 00D0FC .SubCD0CA_Block_2 +al 00D0E1 .SubCD0CA_Block +al 00D0CA .SubCD0CA +al 00D0C5 .SubCD0C5 +al 00D0C9 .SubCD0AF_Block_2 +al 00D0B4 .SubCD0AF_Block +al 00D0AF .SubCD0AF +al 00D0AC .SubCD093_Block +al 00D093 .SubCD093 +al 00D090 .SubCD07B_Block +al 00D07B .SubCD07B +al 00D06C .SubCD056_Block_2 +al 00D056 .SubCD056 +al 00D053 .SubCD03D_Block +al 00D03D .SubCD03D +al 00D037 .SubCCFE2_Block_9 +al 00D02D .SubCCFE2_Block_7 +al 00D01B .SubCCFE2_Block_6 +al 00CFFE .SubCCFE2_Block_5 +al 00CFFC .SubCCFE2_Block_4 +al 00D00B .SubCCFE2_Block_2 +al 00D03C .SubCCFE2_Block_3 +al 00CFE2 .SubCCFE2 +al 00CFD8 .SubCCFB5_Block_6 +al 00CFDA .SubCCFB5_Block_5 +al 00CFD5 .SubCCFB5_Block_4 +al 00CFD1 .SubCCFB5_Block_3 +al 00CFC3 .SubCCFB5_Block_2 +al 00CFBB .SubCCFB5_Block +al 00CFB5 .SubCCFB5 +al 00CFA4 .SubCCF97_Block +al 00CF97 .SubCCF97 +al 00CF8A .SubCCF80_Block +al 00CF80 .SubCCF80 +al 00CF71 .SubCCF65_Block_2 +al 00CF6F .SubCCF65_Block +al 00CF65 .SubCCF65 +al 00CF62 .SubCCF3A_Block_4 +al 00CF46 .SubCCF3A_Block +al 00CF3A .SubCCF3A +al 00CF34 .SubCCF21_Block +al 00CF37 .SubCCF37 +al 00CF21 .SubCCF21 +al 00CF12 .SubCCEF8_Block_4 +al 00CF06 .SubCCEF8_Block_2 +al 00CF0D .SubCCEF8_Block_3 +al 00CEF8 .SubCCEF8 +al 00CEF1 .SubCCEDA_Block +al 00CEDA .SubCCEDA +al 00CED3 .SubCCEBC_Block +al 00CEBC .SubCCEBC +al 00CEAC .SubCCEA0_Block +al 00CEA0 .SubCCEA0 +al 00CEBB .SubCCE85_Block_2 +al 00CE9D .SubCCE85_Block +al 00CE85 .SubCCE85 +al 00CE80 .SubCCE80 +al 00CE7F .SubCCE3D_Block_3 +al 00CE5D .SubCCE3D_Block_2 +al 00CE4A .SubCCE3D_Block +al 00CE3D .SubCCE3D +al 00CE3C .SubCCE1E_Block_2 +al 00CE38 .SubCCE1E_Block +al 00CE1E .SubCCE1E +al 00CE10 .SubCCDC6_Block_9 +al 00CE19 .SubCCDC6_Block_7 +al 00CE14 .SubCCDC6_Block_6 +al 00CE11 .SubCCDC6_Block_5 +al 00CDE7 .SubCCDC6_Block_4 +al 00CDD8 .SubCCDC6_Block_3 +al 00CDF9 .SubCCDC6_Block_2 +al 00CDD0 .SubCCDC6_Block +al 00CDC6 .SubCCDC6 +al 00CDC1 .SubCCDC1 +al 00CDB7 .SubCCDB7 +al 00CDA5 .SubCCCE2_Block_24 +al 00CDA3 .SubCCCE2_Block_23 +al 00CDBA .SubCCDBA +al 00CDAA .SubCCCE2_Block_22 +al 00CD99 .SubCCCE2_Block_21 +al 00CDBD .SubCCCE2_Block_20 +al 00CD75 .SubCCCE2_Block_18 +al 00CDBE .SubCCCE2_Block_17 +al 00CD56 .SubCCCE2_Block_14 +al 00CD4F .SubCCCE2_Block_13 +al 00CD63 .SubCCCE2_Block_16 +al 00CD46 .SubCCCE2_Block_12 +al 00CD31 .SubCCCE2_Block_6 +al 00CD25 .SubCCCE2_Block_5 +al 00CD1B .SubCCCE2_Block_4 +al 00CD09 .SubCCCE2_Block_2 +al 00CCF9 .SubCCCE2_Block +al 00CCE2 .SubCCCE2 +al 00CCD9 .SubCCCC7_Block +al 00CCD6 .UpdateGameState12 +al 00CCC7 .SubCCCC7 +al 00CCC6 .SubCCCC6 +al 00CCC3 .SubCCC9E_Block_2 +al 00CCBD .SubCCC9E_Block +al 00CCB7 .UpdateGameState10 +al 00CC9E .SubCCC9E +al 00CC94 .SubCCC75_Block_3 +al 00CC8C .SubCCC75_Block_2 +al 00CC80 .SubCCC75_Block +al 00CC75 .SubCCC75 +al 00CC68 .UpdateGameState8_Block +al 00CC5C .UpdateGameState8 +al 00CC47 .InitGame_3 +al 00CC3E .UpdateGameState6 +al 00DA5E .SubCDA5E +al 00CC23 .UpdatePlayerPosition_3_Block_6 +al 00CC42 .UpdateGameState7 +al 00CC2C .UpdatePlayerPosition_3_Block_5 +al 00CC26 .UpdatePlayerPosition_3_Block_4 +al 00CC10 .UpdatePlayerPosition_3_Block_3 +al 00CC02 .UpdatePlayerPosition_3_Block_2 +al 00CBDE .UpdatePlayerPosition_3_Block +al 00CBD7 .UpdatePlayerPosition_3 +al 00CBCA .UpdateGameState4_3_Block_4 +al 00CBCE .UpdateGameState4_3_Block_3 +al 00CBCC .UpdateGameState5 +al 00CBC3 .UpdateGameState4_3_Block_2 +al 00CB9F .UpdateGameState4_3_Block +al 00CB94 .UpdateGameState4_3 +al 00CB89 .CheckAnswer4 +al 00CB73 .UpdatePlayerScore +al 00CB60 .UpdateGameState3_3_Block +al 00CB44 .UpdateGameState3_3 +al 00CB6D .CheckAnswer3_3_Block_2 +al 00CB3E .CheckAnswer3_3_Block +al 00CB26 .CheckAnswer3_3 +al 00CB21 .UpdateGameState2_3_Block +al 00CB17 .UpdateGameState2_3 +al 00CB11 .UpdateScore3_Block_3 +al 00CB09 .UpdateScore3_Block_2 +al 00CB14 .UpdateScore3_Block +al 00CAF7 .UpdateScore3 +al 00CAEE .UpdateScore2_1_Block_8 +al 00CAD3 .UpdateScore2_1_Block_7 +al 00CAC6 .UpdateScore2_1_Block_6 +al 00CABA .UpdateScore2_1_Block_4 +al 00CAC7 .UpdateScore2_1_Block +al 00CA99 .UpdateScore2_1 +al 00CA98 .UpdateScore_3_Block +al 00CA86 .UpdateScore_3 +al 00CA7D .CheckAnswer3_1 +al 00CA7B .CheckAnswer2_Block_9 +al 00CA85 .CheckAnswer3_1_Block +al 00CA6D .CheckAnswer2_Block_7 +al 00CA58 .CheckAnswer2_Block_4 +al 00CA59 .CheckAnswer2_Block_3 +al 00CA5A .CheckAnswer2_Block_2 +al 00CA5B .CheckAnswer2_Block_5 +al 00CA43 .CheckAnswer2 +al 00CA41 .CheckAnswer_Block +al 00CA37 .CheckAnswer +al 00CA36 .SubCC9F8_Block_3 +al 00CA10 .SubCC9F8_Block_2 +al 00CA0B .SubCC9F8_Block +al 00C9F8 .SubCC9F8 +al 00C9D9 .SubCC995_Block_6 +al 00C9EB .SubCC995_Block_5 +al 00C9EC .SubCC995_Block_4 +al 00CA04 .SubCC995_Block_3 +al 00C9A8 .SubCC995_Block_2 +al 00CA01 .SubCC995_Block +al 00C995 .SubCC995 +al 00C95A .CheckButtonPress_Block_7 +al 00C963 .SubCC963 +al 00C976 .CheckButtonPress_Block_6 +al 00C97F .SubCC963_Block +al 00C992 .CheckButtonPress_Block_4 +al 00C98C .SubCC98C +al 00C931 .CheckButtonPress_Block_3 +al 00C98F .CheckButtonPress_Block_2 +al 00C926 .CheckButtonPress_Block +al 00C911 .CheckButtonPress +al 00C8E2 .CheckGameState2 +al 00C8E1 .CheckGameState2_Block +al 00C8BB .UpdateGameState2_1 +al 00C8B5 .CheckController_Block_11 +al 00C8C7 .CheckController_Block_10 +al 00C8A3 .CheckController_Block_9 +al 00C8B8 .CheckController_Block_8 +al 00C8D8 .CheckController_Block_6 +al 00C888 .CheckController_Block_5 +al 00C889 .CheckController_Block_4 +al 00C8DB .UpdateGameState3_1 +al 00C87B .CheckController_Block_3 +al 00C872 .CheckController_Block_2 +al 00C866 .CheckController +al 00C85C .UpdateSpritePosition_Block_2 +al 00C83F .UpdateSpritePosition +al 00C861 .UpdatePlayerPosition_1_Block_4 +al 00C833 .UpdatePlayerPosition_1_Block_2 +al 00C814 .UpdatePlayerPosition_1 +al 00C80F .CheckLevelComplete2_Block +al 00C7F3 .CheckLevelComplete2 +al 00C7F1 .CheckLevelComplete +al 00C7DC .UpdateGameState_Block_2 +al 00C7CF .UpdateGameState_Block +al 00C7C3 .UpdateGameState +al 00C7B5 .InitLevel2_Block +al 00C79B .InitLevel2 +al 00C797 .InitLevel +al 00C794 .InitSprites_3_Block_2 +al 00C72D .InitSprites_3_Block +al 00C729 .InitSprites_3 +al 00C723 .UpdatePPUMask +al 00C71F .UpdateSprites2_4 +al 00C707 .UpdateSprites2_3 +al 00C6F9 .InitSpriteData +al 00C6EC .ClearZeropage_3 +al 00C6DD .UpdateSprites4_Block_2 +al 00C6E1 .UpdateSprites4_Block +al 00C6D7 .UpdateSprites4 +al 00C6E2 .UpdateSprites3_1_Block_13 +al 00C6C8 .UpdateSprites3_1_Block_12 +al 00C6B7 .UpdateSprites3_1_Block_11 +al 00C6A8 .UpdateSprites3_1_Block_10 +al 00C6AA .UpdateSprites3_1_Block_9 +al 00C6CE .UpdateSprites3_1_Block_8 +al 00C6C9 .UpdateSprites3_1_Block_7 +al 00C6B8 .UpdateSprites3_1_Block_6 +al 00C6AB .UpdateSprites3_1_Block_5 +al 00C686 .SpriteTempData +al 00C67E .UpdateSprites3_1_Block_4 +al 00C66B .UpdateSprites3_1_Block_3 +al 00C689 .UpdateSprites3_1_Block_2 +al 00C67F .UpdateSprites3_1_Block +al 00C656 .UpdateSprites3_1 +al 00C64C .UpdateSprites2_1_Block_3 +al 00C634 .UpdateSprites2_1_Block_2 +al 00C632 .UpdateSprites2_1_Block +al 00C609 .UpdateSprites2_1 +al 00C5EB .UpdateSprites_Block +al 00C5D7 .SubCC559_Block_7 +al 00C5E3 .SubCC559_Block_6 +al 00C5C2 .SubCC559_Block_5 +al 00C5E4 .UpdateSprites +al 00C5C3 .SubCC559_Block_4 +al 00C5A3 .SubCC559_Block_3 +al 00C574 .SubCC559_Block_2 +al 00C561 .SubCC559_Block +al 00C559 .SubCC559 +al 00C553 .InitPPU_3 +al 00C541 .InitAPU +al 00C507 .NmiHandler_Block_5 +al 00C52F .NmiHandler_Block_4 +al 00C53E .NmiHandler_Block_3 +al 00C535 .NmiHandler_Block_2 +al 00C4DE .NmiHandler_Block +al 00C4A9 .NmiHandler +al 00C495 .ClearSpriteRAM +al 00C48C .InitSprites_1 +al 00C47B .InitPPU_1 +al 00C475 .MainGameLoop +al 00C460 .Reset_Block +al 00C439 .ClearZeropage_1 +al 00C428 .WaitVBlank_1 +al 00C41E .Reset +al 00C3E0 .SpritePosInitTable +al 00C380 .PaletteTable +al 00C320 .CollisionTable +al 00C290 .SpriteAnimTable +al 00C170 .LevelLayoutData +al 00C0C0 .MathProblemTable +al 00C030 .SpriteTileTable +al 00C000 .LevelDataPtrTable diff --git a/_wip/Donkey Kong Jr. Math (U)/copilot/reconstructed.map b/Donkey Kong Jr. Math (U)/copilot/reconstructed.map similarity index 61% rename from _wip/Donkey Kong Jr. Math (U)/copilot/reconstructed.map rename to Donkey Kong Jr. Math (U)/copilot/reconstructed.map index aaf7f17..1ad1cc6 100644 --- a/_wip/Donkey Kong Jr. Math (U)/copilot/reconstructed.map +++ b/Donkey Kong Jr. Math (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/Donkey Kong Jr. Math (U)/copilot/reconstructed.nes b/Donkey Kong Jr. Math (U)/copilot/reconstructed.nes new file mode 100644 index 0000000..a603e8a Binary files /dev/null and b/Donkey Kong Jr. Math (U)/copilot/reconstructed.nes differ diff --git a/_wip/Donkey Kong Jr. Math (U)/copilot/reconstructed_prg.bin b/Donkey Kong Jr. Math (U)/copilot/reconstructed_prg.bin similarity index 100% rename from _wip/Donkey Kong Jr. Math (U)/copilot/reconstructed_prg.bin rename to Donkey Kong Jr. Math (U)/copilot/reconstructed_prg.bin diff --git a/Donkey Kong Jr. Math (U)/copilot/rom.nes b/Donkey Kong Jr. Math (U)/copilot/rom.nes new file mode 120000 index 0000000..fcd7e81 --- /dev/null +++ b/Donkey Kong Jr. Math (U)/copilot/rom.nes @@ -0,0 +1 @@ +../Donkey Kong Jr. Math (U).nes \ No newline at end of file diff --git a/Donkey Kong Jr. Math (U)/copilot/sites.tsv b/Donkey Kong Jr. Math (U)/copilot/sites.tsv new file mode 100644 index 0000000..3d98d7d --- /dev/null +++ b/Donkey Kong Jr. Math (U)/copilot/sites.tsv @@ -0,0 +1,542 @@ +128 PtrHi +130 PtrLo +142 PtrLo +145 PtrHi +176 VBlankTimer +236 PtrLo +238 PtrHi +252 PtrLo +254 VBlankTimer +262 PtrLo +264 PtrHi +373 VBlankTimer +377 PtrLo +391 VBlankTimer +438 PtrLo +440 PtrHi +627 SprIndex +633 SprCount +651 SprCount +664 SprCount +682 SprCount +690 SprCount +713 SprCount +737 SprIndex +752 SprCount +774 SprIndex +779 SprCount +801 SprCount +828 SprCount +841 SprIndex +854 SprCount +868 SprCount +921 PtrLo +923 PtrHi +937 SprIndex +944 PtrLo +946 PtrHi +995 PtrLo +1000 ObjIndex +1024 SprIndex +1029 SprIndex +1080 SprIndex +1084 GameState +1098 SprIndex +1130 GameState +1178 Ptr2Lo +1213 PtrLo +1215 PtrHi +1217 Ptr2Lo +1218 ObjIndex +1225 PtrLo +1237 SprIndex +1253 PtrLo +1255 PtrHi +1257 Ptr2Lo +1258 ObjIndex +1265 PtrLo +1358 ObjIndex +1363 ObjIndex +1386 BtnState +1441 BtnState +1491 VBlankTimer +1494 VBlankTimer +1524 GameState +1556 GameState +1563 ObjIndex +1573 BtnState +1585 GameState +1603 BtnState +1616 GameState +1711 SprIndex +1715 PtrLo +1717 PtrHi +1719 Ptr2Lo +1732 VBlankTimer +1734 VBlankTimer +1830 VBlankTimer +1832 VBlankTimer +1837 SprIndex +1841 PtrLo +1843 PtrHi +1845 Ptr2Lo +1949 BtnState +1952 BtnState +1967 ObjIndex +1998 ObjIndex +2024 Ptr2Lo +2049 SprIndex +2061 SprIndex +2075 SprIndex +2123 GameState +2207 GameState +2234 SprIndex +2242 ObjIndex +2255 GameState +2276 SprCount +2279 GameState +2292 GameState +2307 GameState +2327 ObjIndex +2355 SprIndex +2397 SprIndex +2409 SprIndex +2431 SprCount +2446 ObjIndex +2463 ObjIndex +2489 Ptr2Lo +2492 SprCount +2508 SprIndex +2565 FrameCounter +2576 ObjIndex +2595 FrameCounter +2647 ObjIndex +2695 Ptr2Lo +2711 ObjIndex +2780 ObjIndex +2839 PtrLo +2857 BtnState +2861 BtnState +2886 SprIndex +2902 GameState +2909 BtnState +2984 BtnState +2990 BtnState +3110 ObjIndex +3185 SprIndex +3227 ObjIndex +3240 ObjIndex +3257 ObjIndex +3303 FrameCounter +3320 FrameCounter +3322 ObjIndex +3336 PtrLo +3340 PtrHi +3371 Ptr2Lo +3385 PtrHi +3386 BtnState +3414 PtrLo +3433 Ptr2Lo +3435 PtrHi +3580 FrameCounter +3597 BtnState +3637 BtnState +3652 SprIndex +3686 PtrHi +3712 Ptr2Lo +3714 PtrLo +3733 FrameCounter +3783 FrameCounter +3824 BtnState +3890 SprCount +3892 BtnState +3922 BtnState +3925 SprCount +3941 BtnState +3973 SprCount +3986 BtnState +4015 BtnState +4151 BtnState +4167 BtnState +4183 FrameCounter +4207 PtrHi +4209 BtnState +4230 PtrLo +4231 BtnState +4236 PtrLo +4250 PtrLo +4261 PtrLo +4263 Ptr2Lo +4278 BtnState +4327 ObjIndex +4422 PtrLo +4434 Ptr2Lo +4456 PtrLo +4470 PtrLo +4481 SprIndex +4484 BtnState +4533 PtrHi +4603 GameState +4623 ObjIndex +4626 Ptr2Lo +4666 Ptr2Lo +4671 ObjIndex +4698 PtrHi +4701 PtrLo +4703 Ptr2Lo +4709 SprIndex +4727 FrameCounter +4741 PtrHi +4744 PtrLo +4746 Ptr2Lo +4751 ObjIndex +4769 PtrHi +4771 FrameCounter +4773 PtrLo +4775 Ptr2Lo +4790 FrameCounter +4802 SprIndex +4808 GameState +4815 PtrHi +4817 PtrLo +4819 Ptr2Lo +4884 FrameCounter +4897 PtrHi +4899 PtrLo +4915 Ptr2Lo +4918 SprCount +4958 ObjIndex +4992 PtrLo +4996 PtrHi +4998 Ptr2Lo +5005 BtnState +5119 PtrLo +5123 PtrHi +5234 Ptr2Lo +5248 SprIndex +5301 PtrLo +5303 PtrHi +5305 Ptr2Lo +5359 ScorePtrHi +5362 ScorePtrLo +5371 ScorePtrHi +5373 ScorePtrLo +5376 ScorePtrLo +5379 ScorePtrLo +5523 ObjIndex +5601 PtrLo +5603 PtrHi +5605 Ptr2Lo +5655 SprIndex +5661 Ptr2Lo +5723 SprIndex +5729 Ptr2Lo +5773 Ptr2Lo +5775 PtrHi +5777 PtrLo +5794 SprIndex +5800 Ptr2Lo +5816 BtnState +5902 PtrHi +5904 PtrHi +5909 PtrHi +5911 PtrHi +5981 PtrHi +5983 PtrLo +6026 PtrLo +6028 PtrHi +6144 PtrHi +6146 PtrLo +6163 Ptr2Lo +6194 Ptr2Lo +6244 PtrHi +6264 PtrLo +6271 PtrLo +6317 Ptr2Lo +6361 PtrHi +6381 PtrLo +6384 PtrLo +6426 PtrLo +6427 PtrHi +6429 Ptr2Lo +6483 ObjIndex +6518 ObjIndex +6531 ObjIndex +6536 BtnState +6564 PtrLo +6566 PtrHi +6570 ObjIndex +6576 PtrHi +6614 PtrLo +6616 PtrHi +6632 Ptr2Lo +6664 ObjIndex +6687 PtrLo +6693 PtrLo +6706 BtnState +6759 ObjIndex +6778 ObjIndex +6814 PtrHi +6954 PtrLo +7036 Ptr2Lo +7041 Ptr2Lo +7044 Ptr2Lo +7047 Ptr2Lo +7128 Ptr2Lo +7130 PtrLo +7134 Ptr2Lo +7136 PtrHi +7458 PtrLo +7462 PtrHi +7566 PtrLo +7570 PtrHi +7734 ScorePtrLo +7736 ScorePtrHi +7789 ScorePtrLo +7821 PtrLo +7823 PtrHi +7825 Ptr2Lo +7885 ScorePtrHi +7887 ScorePtrLo +7919 ScorePtrHi +7921 ScorePtrLo +7970 ScorePtrHi +7972 ScorePtrLo +8208 PtrLo +8240 PtrLo +8244 PtrLo +8373 PtrHi +8375 PtrLo +8377 Ptr2Lo +8479 PtrLo +8481 PtrHi +8483 Ptr2Lo +8503 PtrLo +8604 SprIndex +8641 SprIndex +8680 PtrLo +8682 PtrHi +8694 PtrLo +8696 PtrHi +8711 Ptr2Lo +8747 PtrLo +8749 PtrHi +8900 PtrLo +8902 PtrHi +8916 Ptr2Lo +9016 PtrLo +9033 PtrLo +9125 PtrLo +9140 PtrLo +9146 PtrLo +9149 PtrLo +9264 SprCount +9271 PtrLo +9273 PtrHi +9275 Ptr2Lo +9350 SprIndex +9614 PtrHi +9643 PtrHi +9647 PtrHi +9686 ObjIndex +9698 BtnState +9775 SndChannel +9808 SndChannel +9983 SndChannel +10096 PtrHi +10103 GameState +10171 PtrLo +10186 Ptr2Lo +10395 GameState +10411 SndChannel +10479 SndChannel +10533 SndChannel +10619 SndChannel +10839 SndChannel +11005 FrameCounter +11009 SndChannel +11096 SndChannel +11208 ObjIndex +11239 GameState +11241 ObjIndex +11465 GameState +11566 SndChannel +11640 GameState +11670 GameState +11685 SndChannel +11687 SndChannel +11704 GameState +11721 PtrHi +11725 PtrLo +11727 Ptr2Lo +11732 SndChannel +11757 PtrLo +11761 PtrLo +11763 PtrHi +11765 Ptr2Lo +11974 GameState +12030 GameState +12055 PtrLo +12057 PtrHi +12077 Ptr2Lo +12130 GameState +12156 FrameCounter +12194 GameState +12208 GameState +12276 GameState +12296 SndChannel +12383 GameState +12501 FrameCounter +12512 SndChannel +12516 ScorePtrHi +12518 ScorePtrLo +12521 SndChannel +12567 ScorePtrHi +12569 ScorePtrLo +12585 ScorePtrHi +12587 ScorePtrLo +12603 ScorePtrHi +12605 ScorePtrLo +12626 ScorePtrHi +12645 ScorePtrLo +12658 ScorePtrLo +12672 SndChannel +12685 SndChannel +12808 SndChannel +12901 SndChannel +13018 SndChannel +13166 PtrLo +13168 PtrHi +13170 Ptr2Lo +13177 PtrLo +13179 PtrHi +13181 Ptr2Lo +13196 SndChannel +13242 PtrLo +13272 Ptr2Lo +13275 PtrLo +13297 PtrLo +13298 Ptr2Lo +13376 SndChannel +13438 SndChannel +13451 SndChannel +13457 SndChannel +13479 SndChannel +13485 SndChannel +13584 SndChannel +13661 ScorePtrHi +13665 ScorePtrLo +13667 ScorePtrHi +13704 ScorePtrLo +13705 ScorePtrLo +13730 ScorePtrLo +13731 ScorePtrLo +13746 PtrLo +13748 PtrHi +13761 Ptr2Lo +13764 ScorePtrHi +13765 PtrHi +13766 ScorePtrLo +13767 PtrLo +13849 SndChannel +13865 SndChannel +13880 SndChannel +13884 SndChannel +13975 SndChannel +13978 SndChannel +14045 SndChannel +14075 SndChannel +14081 SndChannel +14113 SndChannel +14117 ScorePtrHi +14119 ScorePtrLo +14162 GameState +14188 GameState +14206 GameState +14233 SndChannel +14251 GameState +14297 GameState +14300 SndChannel +14321 GameState +14337 GameState +14363 GameState +14423 GameState +14493 SndChannel +14506 GameState +14585 Ptr2Lo +14591 PtrHi +14616 PtrLo +14617 Ptr2Lo +14643 PtrHi +14684 VBlankTimer +14687 VBlankTimer +14701 PtrHi +14703 Ptr2Lo +14725 Ptr2Lo +14758 PtrLo +14761 PtrLo +14764 VBlankTimer +14779 VBlankTimer +14820 PtrLo +14826 PtrLo +14827 PtrLo +14829 PtrHi +14830 PtrHi +14843 PtrLo +14869 PtrLo +14881 PtrLo +14913 Ptr2Lo +14926 PtrHi +14929 PtrHi +14952 PtrHi +14963 PtrHi +14978 Ptr2Lo +15020 Ptr2Lo +15023 Ptr2Lo +15040 PtrHi +15043 PtrLo +15062 Ptr2Lo +15069 PtrLo +15070 PtrLo +15072 PtrHi +15073 PtrHi +15173 PtrHi +15187 PtrLo +15189 PtrHi +15339 PtrHi +15354 Ptr2Lo +15355 Ptr2Lo +15358 Ptr2Lo +15397 PtrHi +15398 PtrHi +15401 PtrHi +15402 Ptr2Lo +15404 Ptr2Lo +15418 Ptr2Lo +15432 PtrHi +15446 PtrHi +15449 Ptr2Lo +15520 PtrLo +15523 PtrLo +15592 PtrLo +15594 PtrLo +15600 PtrLo +15601 PtrLo +15602 PtrLo +15604 PtrLo +15608 PtrLo +15738 FrameCounter +15774 PtrLo +15779 PtrLo +15792 PtrLo +15905 PtrLo +15908 PtrLo +16237 FrameCounter +16241 FrameCounter +16245 FrameCounter +16249 FrameCounter +16253 FrameCounter +16257 FrameCounter +16261 FrameCounter +16265 FrameCounter +16269 FrameCounter \ No newline at end of file diff --git a/_wip/Donkey Kong Jr. Math (U)/copilot/symbols.inc b/Donkey Kong Jr. Math (U)/copilot/symbols.inc similarity index 100% rename from _wip/Donkey Kong Jr. Math (U)/copilot/symbols.inc rename to Donkey Kong Jr. Math (U)/copilot/symbols.inc diff --git a/_wip/Duck Hunt (JUE)/Duck Hunt (JUE).nes b/Duck Hunt (JUE)/Duck Hunt (JUE).nes similarity index 100% rename from _wip/Duck Hunt (JUE)/Duck Hunt (JUE).nes rename to Duck Hunt (JUE)/Duck Hunt (JUE).nes diff --git a/Duck Hunt (JUE)/OVERVIEW.md b/Duck Hunt (JUE)/OVERVIEW.md new file mode 100644 index 0000000..680100d --- /dev/null +++ b/Duck Hunt (JUE)/OVERVIEW.md @@ -0,0 +1,159 @@ +# Duck Hunt (JUE) — Promoted to Top Level (2026-10-19) + +ROM: `Duck Hunt (JUE)/Duck Hunt (JUE).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 37.5% code; Pass 2 complete; Pass 3 complete; Promoted to top level 2026-10-19.** `copilot/prg.s` is a real disassembly: 3,058 instructions (6,152 bytes as code), **472 label definitions all named** — 30 semantic routine names + 428 `SubC` entry points + 293 `_Block[_n]` internal branch targets. `locals.inc` holds **174 zero-page slots with 18 semantic aliases** added. All 18 multi-alias ZP operands substituted in `prg.s`. **20 data tables/structures named** in the 10,232-byte data region. It builds **byte-identical** at the whole-ROM level (`cmp reconstructed.nes rom.nes`). + +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 (data table naming + full ZP substitution) completed same day. Promotion to top level completed 2026-10-19. + +## 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 | `ca0d31e6f3aa70204fa5af67803c6533851a28fa48a133e15d772d3667fa675a` | +| PRG SHA-256 | `bcdd22fbe343ebd33c7fd19309510079150d1e4dc052f65382b64d197d6ba080` | + +## Interrupt Vectors (taken from PRG $3FFA–$3FFF) + +| Vector | Target | Note | +|--------|--------|------| +| NMI | `$C086` | per-frame heartbeat | +| RESET | `$C000` | cold start at $C000 — the usual pattern in this repo | +| IRQ | `$C000` | redirects to RESET — unused placeholder | + +## `copilot/` Contents + +| File | Purpose | +|------|---------| +| `Duck Hunt (JUE).nes` | original ROM image (reference) | +| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | +| `rom.nes` | symlink to `../Duck Hunt (JUE).nes` (space-free reference for `cmp`) | +| `prg.s` | Pass 1/2/3: classified code/data split, 3,058 instructions, **472 labels all named** (30 semantic + 428 `SubC` + 293 `_Block`), canonical audit comments | +| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | +| `locals.inc` | 174 zero-page slots, **18 semantic aliases** (e.g., `PtrLo/PtrHi`, `Ptr2Lo`, `GameState`, `SndTemp`, `SndChannel`, `SndNote`, `SprData`, `Temp`, `CtrlState`, `CtrlTimer`, `VramPtrLo/Hi`, `DataPtrLo`, `SndChan`, `SndPtrLo/Hi`, `FrameCounter`) | +| `duckhunt_label_map.tsv` / `duckhunt_full_map.tsv` | Pass 2 draft maps — **stale and multi-candidate**, see the audit below; kept for provenance only | +| `header.s` / `chr.s` | one-line `.incbin` wrappers for `header.bin` / `chr.bin` | +| `linker.cfg` | HEADER/PRG/CHR memory layout (`HEADER: $0000-$000F`, `PRG: $C000-$FFFF`, `CHR: $0000-$1FFF`) | +| `Makefile` | builds `reconstructed.nes` and `cmp`s it against `rom.nes` | +| `reconstructed.nes` | build output from the last verified build | + +Header and CHR are now linked: `make` verifies **whole-ROM byte identity** against `rom.nes`. + +## Build + +```bash +cd "Duck Hunt (JUE)/copilot" +make # → cmp reconstructed.nes rom.nes → "Byte-identical ROM verified." +``` + +## Pass Status + +| Pass | Status | +|------|--------| +| Pass 1 | **Complete** — 3,058 instructions, 6,152 bytes as code (37.5%), 10,232 bytes as data, byte accounting exact (16,384) | +| Pass 2 | **Complete** — 472 label definitions all named (30 semantic + 428 `SubC` + 293 `_Block`); 174 zero-page slots with 18 semantic aliases in `locals.inc` | +| Pass 3 | **Complete** — **18 multi-alias ZP operands fully substituted** in `prg.s`; **20 data tables/structures named** across all data regions; hardware register operands (68) substituted via `apply_symbols.py` | +| Promotion | **Complete (2026-10-19)** — added `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switched `make` to whole-ROM `cmp`, moved `_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: + +- **"48 semantic labels"** was the number of *distinct old names* in the map (`duckhunt_full_map.tsv` has 272 `label` rows covering only 48 distinct `Label_` names). `prg.s` actually named **31** definitions; the other 441 were still `Label_`. +- **"174 zero-page semantic aliases"** was the count of **neutral** `ZpXX` entries in `locals.inc`. There were **zero** semantic zero-page aliases. +- Several listed "key renamed routines" (`InitPPU`, `MainGameLoop`, `GameModeCheck`, `TitleScreenMode`, `UpdateSprites`, `InitSound`) did not exist in the file under those names. + +Draft-map audit (`duckhunt_full_map.tsv`, 272 label rows): + +| Outcome | Rows | Meaning | +|---|---|---| +| already applied | 31 | the proposed name already sits at that address | +| name conflict | 210 | a **different** candidate name already sits there — the map is a ranked *candidate* list (one `Label_C2BF` carries 205 competing names) | +| stale address | 2 | the address is not an instruction boundary in the current `prg.s` | +| unlabelled, unreferenced | 29 | an instruction boundary with no label and no operand referencing it | +| **safely applicable** | **0** | no row is both insertable and corroborated by control flow | + +One row in the file is malformed (`label_Label_C2BF`, missing tab). The map is therefore kept only as provenance. Completing Pass 2 needed a fresh map derived from the committed split (routine entries plus `_Block[_n]` internal branch targets, as done for `Donkey Kong (JU)`). **This was done on 2026-10-19.** + +### Pass 2 Naming Summary (2026-10-19) + +- **30 semantic routine names** preserved from Pass 1: `Reset`, `WaitVBlank`, `ClearZeropage`, `InitGameState`, `InitVariables`, `MainGameLoop_1`, `MainGameLoop_3`, `NmiHandler`, `NmiFrameEnd`, `GameModeDispatcher`, `TitleScreenLoop`, `InitializeRoundData`, `InitializeDuckDataLoop`, `UpdateZp09_2`, `UpdateGameState`, `UpdateGameState2`, `UpdateGameState3_1`, `UpdateGameState6_3`, `UpdateSprites_4`, `UpdateSprites2_1`, `UpdateSprites2_3`, `UpdateSprites3`, `UpdateController`, `UpdateController2`, `UpdateController3`, `UpdateController4_206`, `GameModeCheck_3`, `GameplayFrame`, `UpdateGameState3_3`, `UpdateGameState5`. + +- **428 `SubC` entry points** for all remaining `jsr`/`jmp` targets that lacked semantic names (e.g., `SubCC14E` at $C14E, `SubCC303` at $C303, etc.). + +- **293 `_Block[_n]` internal branch targets** derived from control flow within each routine (e.g., `Reset_Block`, `GameModeDispatcher_Block`…`GameModeDispatcher_Block_5`, etc.). + +### Zero-Page Semantic Aliases (18, added 2026-10-19) + +| Alias | ZpXX | Address | Role | +|---|---|---|---| +| `PtrLo` | `Zp00` | $00 | general-purpose indirect pointer low byte | +| `PtrHi` | `Zp01` | $01 | general-purpose indirect pointer high byte | +| `Ptr2Lo` | `Zp0C` | $0C | secondary indirect pointer low byte | +| `GameState` | `Zp09` | $09 | game state/mode (InitGameState, InitializeDuckDataLoop, etc.) | +| `SndTemp` | `Zp0F` | $0F | sound engine temporary | +| `SndChannel` | `Zp14` | $14 | sound channel index | +| `SndNote` | `Zp15` | $15 | sound note/frequency | +| `SprData` | `Zp23` | $23 | sprite data pointer | +| `Temp` | `Zp25` | $25 | general-purpose temporary | +| `CtrlState` | `Zp31` | $31 | controller state | +| `CtrlTimer` | `Zp32` | $32 | controller timer/repeat counter | +| `VramPtrLo` | `Zp96` | $96 | VRAM pointer low byte | +| `VramPtrHi` | `Zp97` | $97 | VRAM pointer high byte | +| `DataPtrLo` | `ZpB4` | $B4 | data pointer low byte | +| `SndChan` | `ZpEB` | $EB | sound channel | +| `SndPtrLo` | `ZpEC` | $EC | sound pointer low | +| `SndPtrHi` | `ZpED` | $ED | sound pointer high | +| `FrameCounter` | `ZpF3` | $FF | frame counter | + +### Pass 3 Data Table Naming (2026-10-19) + +**20 data tables/structures named** across all data regions: + +| Label | Address Range | Size | Description | +|---|---|---|---| +| `GameState3_1_Data` | $C12C–$C14B | 32 bytes | UpdateGameState3_1 data | +| `SpriteAnimTable` | $C511–$C580 | 112 bytes | Sprite animation table (7 entries × 16 bytes) | +| `SpriteAnimTable2` | $C5AA–$C5C9 | 32 bytes | Sprite animation table 2 (2 entries) | +| `SpriteDataTable` | $C72C–$C7EB | 196 bytes | Sprite data table (13 entries) | +| `DuckDataTable` | $D2A4–$D3C3 | 192 bytes | Duck data table (12 entries) | +| `SpriteDataTable2` | $D56A–$D5C9 | 96 bytes | Sprite data table 2 (6 entries) | +| `LevelData` | $DAC5–$F355 | 6,289 bytes | Level/background data | +| `SpritePtrTable` | $DCC0–$DCCF | 16 bytes | Sprite pointer table (8 pointers) | +| `SpriteOffsetTable` | $E532–$E541 | 16 bytes | Sprite offset table | +| `GameInitData` | $E5DF–$E5EA | 12 bytes | Game initialization data | +| `SpritePosTable` | $E5DB–$E5E2 | 8 bytes | Sprite position table | +| `ControllerTable` | $E60B–$E612 | 8 bytes | Controller state table | +| `SpritesTable` | $E661–$E66E | 14 bytes | Sprites table | +| `SpriteDataTable3` | $E73C–$E74B | 16 bytes | Sprite data table 3 | +| `SpriteDataTable4` | $E75A–$E765 | 12 bytes | Sprite data table 4 | +| `SpriteDataTable5` | $E766–$E775 | 16 bytes | Sprite data table 5 | +| `SpriteAnimData` | $EB30–$EB3F | 16 bytes | Sprite animation data | +| `SpriteAnimData2` | $EBFA–$EBF9 | 10 bytes | Sprite animation data 2 | +| `SoundData` | $EC1F–$EC2E | 16 bytes | Sound data | +| `SpritePtrTable` | $DCC0–$DCCF | 16 bytes | Sprite pointer table (8 pointers) | +| `SpriteDataTable6` | $E92A–$E939 | 16 bytes | Sprite data table 6 | +| `SpriteDataTable7` | $E944–$E953 | 16 bytes | Sprite data table 7 | +| `SpriteDataTable8` | $E968–$E977 | 16 bytes | Sprite data table 8 | +| `SpriteDataTable9` | $E9C8–$E9D7 | 16 bytes | Sprite data table 9 | +| `SpriteDataTable10` | $EA30–$EA3F | 16 bytes | Sprite data table 10 | +| `FrameData` | $F300–$F34F | 80 bytes | Frame data | +| `FontData` | $F350–$F35F | 16 bytes | Font/glyph data | +| `BackgroundTileData` | $F847–$FFF6 | 1,968 bytes | Background tile data | + +All data regions now have descriptive labels; the byte-identity audit trail is preserved. + +## Power-On Flow Analysis + +**Reset ($C000)** → `sei`/`cld` → PPU init (`sta PPUCTRL` #$00) → stack init (`ldx #$FF`/`txs`) → `WaitVBlank` (poll `PPUSTATUS` for vblank) → `ClearZeropage` (clear $0000–$00FF via `(Zp00),y`) → `InitGameState` → `InitVariables` → `MainGameLoop_1` → NMI synchronization → `GameModeDispatcher` dispatch loop. + +**NMI ($C086)** → saves registers → PPU status read → sprite DMA via `OAMDMA` → scroll update (`PPUSCROLL`) → PPU mask/ctrl updates → `GameModeDispatcher` dispatch → restores registers → `rti`. + +**IRQ ($C000)** → redirects to RESET (unused placeholder). + +**Main Game Loop** → `MainGameLoop_1` / `MainGameLoop_3` → calls `GameModeDispatcher` which dispatches to game mode handlers → 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 diff --git a/Duck Hunt (JUE)/copilot/Makefile b/Duck Hunt (JUE)/copilot/Makefile new file mode 100644 index 0000000..7b0587a --- /dev/null +++ b/Duck Hunt (JUE)/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/Duck Hunt (JUE)/copilot/chr.bin b/Duck Hunt (JUE)/copilot/chr.bin similarity index 100% rename from _wip/Duck Hunt (JUE)/copilot/chr.bin rename to Duck Hunt (JUE)/copilot/chr.bin diff --git a/Duck Hunt (JUE)/copilot/chr.s b/Duck Hunt (JUE)/copilot/chr.s new file mode 100644 index 0000000..f6a8c21 --- /dev/null +++ b/Duck Hunt (JUE)/copilot/chr.s @@ -0,0 +1,2 @@ +.segment "CHR" + .incbin "chr.bin" \ No newline at end of file diff --git a/_wip/Duck Hunt (JUE)/copilot/duckhunt_full_map.tsv b/Duck Hunt (JUE)/copilot/duckhunt_full_map.tsv similarity index 100% rename from _wip/Duck Hunt (JUE)/copilot/duckhunt_full_map.tsv rename to Duck Hunt (JUE)/copilot/duckhunt_full_map.tsv diff --git a/_wip/Duck Hunt (JUE)/copilot/duckhunt_label_map.tsv b/Duck Hunt (JUE)/copilot/duckhunt_label_map.tsv similarity index 100% rename from _wip/Duck Hunt (JUE)/copilot/duckhunt_label_map.tsv rename to Duck Hunt (JUE)/copilot/duckhunt_label_map.tsv diff --git a/_wip/Duck Hunt (JUE)/copilot/header.bin b/Duck Hunt (JUE)/copilot/header.bin similarity index 100% rename from _wip/Duck Hunt (JUE)/copilot/header.bin rename to Duck Hunt (JUE)/copilot/header.bin diff --git a/Duck Hunt (JUE)/copilot/header.s b/Duck Hunt (JUE)/copilot/header.s new file mode 100644 index 0000000..37d1389 --- /dev/null +++ b/Duck Hunt (JUE)/copilot/header.s @@ -0,0 +1,2 @@ +.segment "HEADER" + .incbin "header.bin" \ No newline at end of file diff --git a/Duck Hunt (JUE)/copilot/linker.cfg b/Duck Hunt (JUE)/copilot/linker.cfg new file mode 100644 index 0000000..cfaf881 --- /dev/null +++ b/Duck Hunt (JUE)/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/Duck Hunt (JUE)/copilot/locals.inc b/Duck Hunt (JUE)/copilot/locals.inc similarity index 92% rename from _wip/Duck Hunt (JUE)/copilot/locals.inc rename to Duck Hunt (JUE)/copilot/locals.inc index 93b9d15..7bba0a3 100644 --- a/_wip/Duck Hunt (JUE)/copilot/locals.inc +++ b/Duck Hunt (JUE)/copilot/locals.inc @@ -3,9 +3,12 @@ ; ref counts are reads/writes, `where` lists the referencing addresses. ; ZpXX names indicate storage with a role not yet unique enough for a behavioral name; ; Pass 2 replaces them with names derived from observed usage. +; Semantic aliases (Pass 2) sit beside neutral ZpXX names. Zp00 = $00 ; 24 refs; reads=13 writes=11; used at $C01A, C01E, C236, C25B, +20 more +PtrLo = Zp00 ; general-purpose indirect pointer low byte (sta (Zp00),y) Zp01 = $01 ; 21 refs; reads=8 writes=13; used at $C016, C023, C232, C25D, +15 more +PtrHi = Zp01 ; general-purpose indirect pointer high byte Zp02 = $02 ; 13 refs; reads=8 writes=5; used at $C318, C331, C3D4, C3DA, +9 more Zp03 = $03 ; 11 refs; reads=3 writes=8; used at $C44A, C455, C460, C471, +7 more Zp04 = $04 ; 5 refs; reads=2 writes=3; used at $C3E0, C41C, C43F, CF88 @@ -14,18 +17,23 @@ Zp06 = $06 ; 6 refs; reads=3 writes=3; used at $C3F7, C405, C Zp07 = $07 ; 5 refs; reads=3 writes=2; used at $C44C, C473, C58D, C594, +1 more Zp08 = $08 ; 7 refs; reads=3 writes=4; used at $C04E, C2CB, C2D2, C306, +3 more Zp09 = $09 ; 12 refs; reads=6 writes=6; used at $C052, C0E9, C0F0, C0FF, +8 more +GameState = Zp09 ; game state/mode (InitGameState, InitializeDuckDataLoop, etc.) Zp0A = $0A ; 3 refs; reads=1 writes=2; used at $C3C2, D19B, D23E Zp0B = $0B ; 1 refs; reads=1 writes=0; used at $C3C7 Zp0C = $0C ; 23 refs; reads=10 writes=13; used at $C67C, C6D6, C6DA, C9C3, +19 more +Ptr2Lo = Zp0C ; secondary indirect pointer low byte Zp0D = $0D ; 9 refs; reads=5 writes=4; used at $C69E, C6A9, D4B4, D7CE, +5 more Zp0E = $0E ; 11 refs; reads=5 writes=6; used at $C6A6, C6BB, CB09, CB4B, +5 more Zp0F = $0F ; 11 refs; reads=3 writes=8; used at $CAEF, CB0B, D117, D11C, +6 more +SndTemp = Zp0F ; sound engine temporary Zp10 = $10 ; 10 refs; reads=7 writes=3; used at $C683, C68E, C6A1, D02D, +6 more Zp11 = $11 ; 4 refs; reads=1 writes=3; used at $C688, D032, D8DD, D8F6 Zp12 = $12 ; 10 refs; reads=7 writes=3; used at $D025, D02B, D030, D056, +6 more Zp13 = $13 ; 4 refs; reads=1 writes=3; used at $D029, D050, D855, D88F Zp14 = $14 ; 10 refs; reads=6 writes=4; used at $C366, C36B, C36F, C373, +6 more +SndChannel = Zp14 ; sound channel index Zp15 = $15 ; 8 refs; reads=2 writes=6; used at $C369, C371, D47A, D841, +3 more +SndNote = Zp15 ; sound note/frequency Zp16 = $16 ; 4 refs; reads=3 writes=1; used at $C0BA, C16E, C2B1, CA76 Zp17 = $17 ; 1 refs; reads=1 writes=0; used at $CA7C Zp1A = $1A ; 3 refs; reads=1 writes=2; used at $D036, D038, D072 @@ -38,8 +46,10 @@ Zp20 = $20 ; 6 refs; reads=4 writes=2; used at $C07C, C0AA, C Zp21 = $21 ; 3 refs; reads=1 writes=2; used at $C2BF, C300, C3D0 Zp22 = $22 ; 3 refs; reads=1 writes=2; used at $C096, C0A8, C622 Zp23 = $23 ; 11 refs; reads=1 writes=10; used at $C249, C259, C845, C8E8, +7 more +SprData = Zp23 ; sprite data pointer Zp24 = $24 ; 5 refs; reads=3 writes=2; used at $C03F, C061, C0B3, C178, +1 more Zp25 = $25 ; 13 refs; reads=3 writes=10; used at $C0C9, C0F2, C0F8, C10A, +9 more +Temp = Zp25 ; general-purpose temporary Zp26 = $26 ; 4 refs; reads=4 writes=0; used at $C065, C159, C189, C222 Zp27 = $27 ; 7 refs; reads=3 writes=4; used at $C263, C269, CFA9, D1EF, +3 more Zp28 = $28 ; 2 refs; reads=1 writes=1; used at $C35E, C375 @@ -50,7 +60,9 @@ Zp2D = $2D ; 6 refs; reads=2 writes=4; used at $C186, C1B9, C Zp2F = $2F ; 5 refs; reads=4 writes=1; used at $C077, CA19, CA67, CABF Zp30 = $30 ; 2 refs; reads=1 writes=1; used at $C5FE, C60B Zp31 = $31 ; 19 refs; reads=8 writes=11; used at $C902, CA16, CB69, CC8D, +11 more +CtrlState = Zp31 ; controller state Zp32 = $32 ; 21 refs; reads=13 writes=8; used at $CA49, CA8D, CAD1, CAD7, +15 more +CtrlTimer = Zp32 ; controller timer/repeat counter Zp33 = $33 ; 19 refs; reads=10 writes=9; used at $C976, CA99, CAE3, CAE9, +13 more Zp34 = $34 ; 10 refs; reads=7 writes=3; used at $CB83, CB9A, CBA6, CEBD, +4 more Zp35 = $35 ; 3 refs; reads=1 writes=2; used at $CECC, D01F, D725 @@ -101,7 +113,9 @@ Zp93 = $93 ; 5 refs; reads=3 writes=2; used at $D874, D87E, D Zp94 = $94 ; 3 refs; reads=2 writes=1; used at $D87C, D919, D92F Zp95 = $95 ; 7 refs; reads=3 writes=4; used at $D8DF, D8E9, D90D, D921, +1 more Zp96 = $96 ; 12 refs; reads=6 writes=6; used at $D8E3, D8EE, D8F2, D8FD, +6 more +VramPtrLo = Zp96 ; VRAM pointer low byte Zp97 = $97 ; 12 refs; reads=6 writes=6; used at $D8E5, D8F4, D8F8, D8FB, +6 more +VramPtrHi = Zp97 ; VRAM pointer high byte Zp98 = $98 ; 1 refs; reads=1 writes=0; used at $C984 Zp99 = $99 ; 3 refs; reads=2 writes=1; used at $C97A, C982 Zp9A = $9A ; 4 refs; reads=3 writes=1; used at $D430, D43A, D461 @@ -124,6 +138,7 @@ ZpB1 = $B1 ; 4 refs; reads=2 writes=2; used at $C696, D05E, D ZpB2 = $B2 ; 4 refs; reads=2 writes=2; used at $C6A4, D070, D0FF, D29A ZpB3 = $B3 ; 5 refs; reads=3 writes=2; used at $D0AA, D0B0, D0B4, D0D7, +1 more ZpB4 = $B4 ; 17 refs; reads=10 writes=7; used at $D01D, D040, D0C6, D0CB, +9 more +DataPtrLo = ZpB4 ; data pointer low byte ZpB5 = $B5 ; 4 refs; reads=1 writes=3; used at $D15C, D166, D169, D179 ZpB6 = $B6 ; 3 refs; reads=1 writes=2; used at $D14F, D153, D159 ZpB7 = $B7 ; 2 refs; reads=1 writes=1; used at $D136, D13A @@ -158,14 +173,18 @@ ZpE6 = $E6 ; 3 refs; reads=1 writes=2; used at $F383, F692, F ZpE9 = $E9 ; 1 refs; reads=0 writes=1; used at $F3D8 ZpEA = $EA ; 2 refs; reads=1 writes=1; used at $F3DA, F475 ZpEB = $EB ; 9 refs; reads=5 writes=4; used at $F5C8, F5E7, F5E9, F6AB, +3 more +SndChan = ZpEB ; sound channel ZpEC = $EC ; 14 refs; reads=6 writes=8; used at $F5D4, F5EF, F5F1, F5F3, +6 more +SndPtrLo = ZpEC ; sound pointer low ZpED = $ED ; 10 refs; reads=6 writes=4; used at $F5CA, F602, F611, F613, +4 more +SndPtrHi = ZpED ; sound pointer high ZpEE = $EE ; 10 refs; reads=4 writes=6; used at $F5CC, F5DB, F5DD, F5E5, +4 more ZpEF = $EF ; 8 refs; reads=4 writes=4; used at $F5D0, F5EB, F5FB, F600, +3 more ZpF0 = $F0 ; 5 refs; reads=3 writes=2; used at $D500, D502, F58A, F621, +1 more ZpF1 = $F1 ; 4 refs; reads=2 writes=2; used at $D523, D525, F58C, F7CC ZpF2 = $F2 ; 5 refs; reads=3 writes=2; used at $D546, D548, F58E, F591, +1 more ZpF3 = $F3 ; 20 refs; reads=9 writes=11; used at $F3C2, F5D8, F61E, F62F, +16 more +FrameCounter = ZpF3 ; frame counter ZpF4 = $F4 ; 2 refs; reads=0 writes=2; used at $F36C, F37A ZpF5 = $F5 ; 1 refs; reads=0 writes=1; used at $F370 ZpF6 = $F6 ; 2 refs; reads=1 writes=1; used at $F372, F378 @@ -177,4 +196,4 @@ ZpFB = $FB ; 2 refs; reads=1 writes=1; used at $F3A0, F451 ZpFC = $FC ; 2 refs; reads=1 writes=1; used at $F3A5, F496 ZpFD = $FD ; 2 refs; reads=1 writes=1; used at $F3AA, F47E ZpFE = $FE ; 2 refs; reads=1 writes=1; used at $F3AF, F4E9 -ZpFF = $FF ; 2 refs; reads=1 writes=1; used at $F3B4, F4D1 +ZpFF = $FF ; 2 refs; reads=1 writes=1; used at $F3B4, F4D1 \ No newline at end of file diff --git a/_wip/Duck Hunt (JUE)/copilot/prg.bin b/Duck Hunt (JUE)/copilot/prg.bin similarity index 100% rename from _wip/Duck Hunt (JUE)/copilot/prg.bin rename to Duck Hunt (JUE)/copilot/prg.bin diff --git a/_wip/Duck Hunt (JUE)/copilot/prg.s b/Duck Hunt (JUE)/copilot/prg.s similarity index 89% rename from _wip/Duck Hunt (JUE)/copilot/prg.s rename to Duck Hunt (JUE)/copilot/prg.s index 576ea3f..7c66a68 100644 --- a/_wip/Duck Hunt (JUE)/copilot/prg.s +++ b/Duck Hunt (JUE)/copilot/prg.s @@ -47,18 +47,18 @@ Reset: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- WaitVBlank: - lda $2002 ; CPU:$C002 PRG:0002 AD 02 20 + lda PPUSTATUS ; CPU:$C002 PRG:0002 AD 02 20 bpl WaitVBlank ; CPU:$C005 PRG:0005 10 FB ldx #$00 ; CPU:$C007 PRG:0007 A2 00 - stx $2000 ; CPU:$C009 PRG:0009 8E 00 20 - stx $2001 ; CPU:$C00C PRG:000C 8E 01 20 + stx PPUCTRL ; CPU:$C009 PRG:0009 8E 00 20 + stx PPUMASK ; CPU:$C00C PRG:000C 8E 01 20 dex ; CPU:$C00F PRG:000F CA txs ; CPU:$C010 PRG:0010 9A ldx $05EC ; CPU:$C011 PRG:0011 AE EC 05 ldy #$06 ; CPU:$C014 PRG:0014 A0 06 - sty Zp01 ; CPU:$C016 PRG:0016 84 01 + sty PtrHi ; CPU:$C016 PRG:0016 84 01 ldy #$00 ; CPU:$C018 PRG:0018 A0 00 - sty Zp00 ; CPU:$C01A PRG:001A 84 00 + sty PtrLo ; CPU:$C01A PRG:001A 84 00 lda #$00 ; CPU:$C01C PRG:001C A9 00 ; ----------------------------------------------------------------------------- ; Routine: ClearZeropage @@ -70,10 +70,10 @@ WaitVBlank: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- ClearZeropage: - sta (Zp00),y ; CPU:$C01E PRG:001E 91 00 + sta (PtrLo),y ; CPU:$C01E PRG:001E 91 00 dey ; CPU:$C020 PRG:0020 88 bne ClearZeropage ; CPU:$C021 PRG:0021 D0 FB - dec Zp01 ; CPU:$C023 PRG:0023 C6 01 + dec PtrHi ; CPU:$C023 PRG:0023 C6 01 bpl ClearZeropage ; CPU:$C025 PRG:0025 10 F7 txa ; CPU:$C027 PRG:0027 8A bne InitGameState ; CPU:$C028 PRG:0028 D0 02 @@ -92,18 +92,18 @@ InitGameState: jsr $C22B ; CPU:$C02F PRG:002F 20 2B C2 jsr $C23B ; CPU:$C032 PRG:0032 20 3B C2 ldy #$00 ; CPU:$C035 PRG:0035 A0 00 - sta $2005 ; CPU:$C037 PRG:0037 8D 05 20 - sta $2005 ; CPU:$C03A PRG:003A 8D 05 20 + sta PPUSCROLL ; CPU:$C037 PRG:0037 8D 05 20 + sta PPUSCROLL ; CPU:$C03A PRG:003A 8D 05 20 ldy #$01 ; CPU:$C03D PRG:003D A0 01 sty Zp24 ; CPU:$C03F PRG:003F 84 24 lda #$0F ; CPU:$C041 PRG:0041 A9 0F - sta $4015 ; CPU:$C043 PRG:0043 8D 15 40 + sta APUSTATUS ; CPU:$C043 PRG:0043 8D 15 40 jsr $F581 ; CPU:$C046 PRG:0046 20 81 F5 lda #$90 ; CPU:$C049 PRG:0049 A9 90 - sta $2000 ; CPU:$C04B PRG:004B 8D 00 20 + sta PPUCTRL ; CPU:$C04B PRG:004B 8D 00 20 sta Zp08 ; CPU:$C04E PRG:004E 85 08 lda #$02 ; CPU:$C050 PRG:0050 A9 02 - sta Zp09 ; CPU:$C052 PRG:0052 85 09 + sta GameState ; CPU:$C052 PRG:0052 85 09 ldx #$0B ; CPU:$C054 PRG:0054 A2 0B ; ----------------------------------------------------------------------------- ; Routine: InitVariables @@ -192,9 +192,9 @@ NmiHandler: tya ; CPU:$C08A PRG:008A 98 pha ; CPU:$C08B PRG:008B 48 lda #$00 ; CPU:$C08C PRG:008C A9 00 - sta $2003 ; CPU:$C08E PRG:008E 8D 03 20 + sta OAMADDR ; CPU:$C08E PRG:008E 8D 03 20 lda #$02 ; CPU:$C091 PRG:0091 A9 02 - sta $4014 ; CPU:$C093 PRG:0093 8D 14 40 + sta OAMDMA ; CPU:$C093 PRG:0093 8D 14 40 lda Zp22 ; CPU:$C096 PRG:0096 A5 22 bne NmiFrameEnd ; CPU:$C098 PRG:0098 D0 0C jsr $C2BF ; CPU:$C09A PRG:009A 20 BF C2 @@ -251,7 +251,7 @@ TitleScreenLoop: bne UpdateGameState3_1 ; CPU:$C0C3 PRG:00C3 D0 5E iny ; CPU:$C0C5 PRG:00C5 C8 sty $05FC ; CPU:$C0C6 PRG:00C6 8C FC 05 - ldy Zp25 ; CPU:$C0C9 PRG:00C9 A4 25 + ldy Temp ; CPU:$C0C9 PRG:00C9 A4 25 cpy #$10 ; CPU:$C0CB PRG:00CB C0 10 beq UpdateZp09_2 ; CPU:$C0CD PRG:00CD F0 30 cpy #$03 ; CPU:$C0CF PRG:00CF C0 03 @@ -287,14 +287,14 @@ InitializeDuckDataLoop: sta $0430,x ; CPU:$C0E3 PRG:00E3 9D 30 04 dex ; CPU:$C0E6 PRG:00E6 CA bpl InitializeDuckDataLoop ; CPU:$C0E7 PRG:00E7 10 F8 - lda Zp09 ; CPU:$C0E9 PRG:00E9 A5 09 + lda GameState ; CPU:$C0E9 PRG:00E9 A5 09 and #$0E ; CPU:$C0EB PRG:00EB 29 0E - sta $2001 ; CPU:$C0ED PRG:00ED 8D 01 20 - sta Zp09 ; CPU:$C0F0 PRG:00F0 85 09 - lda Zp25 ; CPU:$C0F2 PRG:00F2 A5 25 + sta PPUMASK ; CPU:$C0ED PRG:00ED 8D 01 20 + sta GameState ; CPU:$C0F0 PRG:00F0 85 09 + lda Temp ; CPU:$C0F2 PRG:00F2 A5 25 sta Zp1D ; CPU:$C0F4 PRG:00F4 85 1D lda #$10 ; CPU:$C0F6 PRG:00F6 A9 10 - sta Zp25 ; CPU:$C0F8 PRG:00F8 85 25 + sta Temp ; CPU:$C0F8 PRG:00F8 85 25 lda #$07 ; CPU:$C0FA PRG:00FA A9 07 jmp $C112 ; CPU:$C0FC PRG:00FC 4C 12 C1 ; ----------------------------------------------------------------------------- @@ -307,17 +307,17 @@ InitializeDuckDataLoop: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateZp09_2: - lda Zp09 ; CPU:$C0FF PRG:00FF A5 09 + lda GameState ; CPU:$C0FF PRG:00FF A5 09 ora #$10 ; CPU:$C101 PRG:0101 09 10 - sta $2001 ; CPU:$C103 PRG:0103 8D 01 20 - sta Zp09 ; CPU:$C106 PRG:0106 85 09 + sta PPUMASK ; CPU:$C103 PRG:0103 8D 01 20 + sta GameState ; CPU:$C106 PRG:0106 85 09 lda #$11 ; CPU:$C108 PRG:0108 A9 11 - sta Zp25 ; CPU:$C10A PRG:010A 85 25 + sta Temp ; CPU:$C10A PRG:010A 85 25 lda #$30 ; CPU:$C10C PRG:010C A9 30 sta Zp1C ; CPU:$C10E PRG:010E 85 1C lda #$00 ; CPU:$C110 PRG:0110 A9 00 ; ----------------------------------------------------------------------------- -; Routine: UpdateGameState +; Routine: SubCC112 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +325,7 @@ UpdateZp09_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateGameState: +SubCC112: jsr $D464 ; CPU:$C112 PRG:0112 20 64 D4 jsr $D4E2 ; CPU:$C115 PRG:0115 20 E2 D4 jsr $C5D9 ; CPU:$C118 PRG:0118 20 D9 C5 @@ -352,16 +352,17 @@ UpdateGameState2: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateGameState3_1: - lda Zp25 ; CPU:$C123 PRG:0123 A5 25 + lda Temp ; CPU:$C123 PRG:0123 A5 25 jsr $C35E ; CPU:$C125 PRG:0125 20 5E C3 ora $39C8,x ; CPU:$C128 PRG:0128 1D C8 39 iny ; CPU:$C12B PRG:012B C8 ; ---- data $C12C-$C14D (34 bytes) ---- + GameState3_1_Data: ; UpdateGameState3_1 data .byte $54, $C8, $6E, $C8, $C9, $D2, $E0, $C5, $79, $C7, $2C, $C7, $4B, $D5, $6A, $D5 ; CPU:$C12C PRG:012C 54 C8 6E C8 C9 D2 E0 C5 79 C7 2C C7 4B D5 6A D5 .byte $93, $D5, $D2, $D5, $C9, $D2, $EF, $C7, $E0, $C5, $E0, $C5, $E0, $C5, $71, $C2 ; CPU:$C13C PRG:013C 93 D5 D2 D5 C9 D2 EF C7 E0 C5 E0 C5 E0 C5 71 C2 .byte $25, $C6 ; CPU:$C14C PRG:014C 25 C6 ; ----------------------------------------------------------------------------- -; Routine: UpdateGameState3_3 +; Routine: SubCC14E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -369,7 +370,7 @@ UpdateGameState3_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateGameState3_3: +SubCC14E: lda #$00 ; CPU:$C14E PRG:014E A9 00 sta $05FF ; CPU:$C150 PRG:0150 8D FF 05 lda #$01 ; CPU:$C153 PRG:0153 A9 01 @@ -381,15 +382,15 @@ UpdateGameState3_3: jsr $D160 ; CPU:$C160 PRG:0160 20 60 D1 lda $05FF ; CPU:$C163 PRG:0163 AD FF 05 cmp #$01 ; CPU:$C166 PRG:0166 C9 01 - beq Label_C176 ; CPU:$C168 PRG:0168 F0 0C + beq SubCC14E_Block ; CPU:$C168 PRG:0168 F0 0C cmp #$02 ; CPU:$C16A PRG:016A C9 02 - beq Label_C199 ; CPU:$C16C PRG:016C F0 2B + beq SubCC14E_Block_2 ; CPU:$C16C PRG:016C F0 2B lda Zp16 ; CPU:$C16E PRG:016E A5 16 and #$30 ; CPU:$C170 PRG:0170 29 30 cmp #$10 ; CPU:$C172 PRG:0172 C9 10 - bne Label_C189 ; CPU:$C174 PRG:0174 D0 13 + bne SubCC14E_Block_3 ; CPU:$C174 PRG:0174 D0 13 ; ----------------------------------------------------------------------------- -; Routine: Label_C176 +; Routine: SubCC14E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -397,10 +398,10 @@ UpdateGameState3_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C176: +SubCC14E_Block: lda #$00 ; CPU:$C176 PRG:0176 A9 00 sta Zp24 ; CPU:$C178 PRG:0178 85 24 - sta Zp25 ; CPU:$C17A PRG:017A 85 25 + sta Temp ; CPU:$C17A PRG:017A 85 25 jsr $D4E2 ; CPU:$C17C PRG:017C 20 E2 D4 jsr $C5E1 ; CPU:$C17F PRG:017F 20 E1 C5 lda #$02 ; CPU:$C182 PRG:0182 A9 02 @@ -408,7 +409,7 @@ Label_C176: sta Zp2D ; CPU:$C186 PRG:0186 85 2D rts ; CPU:$C188 PRG:0188 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C189 +; Routine: SubCC14E_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,9 +417,9 @@ Label_C176: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C189: +SubCC14E_Block_3: ldx Zp26 ; CPU:$C189 PRG:0189 A6 26 - bne Label_C190 ; CPU:$C18B PRG:018B D0 03 + bne SubCC14E_Block_4 ; CPU:$C18B PRG:018B D0 03 ; ----------------------------------------------------------------------------- ; Routine: UpdateGameState5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -431,7 +432,7 @@ Label_C189: UpdateGameState5: jmp $C217 ; CPU:$C18D PRG:018D 4C 17 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C190 +; Routine: SubCC14E_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +440,13 @@ UpdateGameState5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C190: +SubCC14E_Block_4: cmp #$20 ; CPU:$C190 PRG:0190 C9 20 - bne Label_C1A9 ; CPU:$C192 PRG:0192 D0 15 + bne SubCC14E_Block_5 ; CPU:$C192 PRG:0192 D0 15 lda $05FD ; CPU:$C194 PRG:0194 AD FD 05 - bne Label_C1B7 ; CPU:$C197 PRG:0197 D0 1E + bne SubCC14E_Block_6 ; CPU:$C197 PRG:0197 D0 1E ; ----------------------------------------------------------------------------- -; Routine: Label_C199 +; Routine: SubCC14E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -453,14 +454,14 @@ Label_C190: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C199: +SubCC14E_Block_2: ldy $05FE ; CPU:$C199 PRG:0199 AC FE 05 iny ; CPU:$C19C PRG:019C C8 cpy #$03 ; CPU:$C19D PRG:019D C0 03 - bne Label_C1A3 ; CPU:$C19F PRG:019F D0 02 + bne SubCC14E_Block_7 ; CPU:$C19F PRG:019F D0 02 ldy #$00 ; CPU:$C1A1 PRG:01A1 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C1A3 +; Routine: SubCC14E_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -468,11 +469,11 @@ Label_C199: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1A3: +SubCC14E_Block_7: sty $05FE ; CPU:$C1A3 PRG:01A3 8C FE 05 jmp $C1B2 ; CPU:$C1A6 PRG:01A6 4C B2 C1 ; ----------------------------------------------------------------------------- -; Routine: Label_C1A9 +; Routine: SubCC14E_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -480,13 +481,13 @@ Label_C1A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1A9: +SubCC14E_Block_5: cmp #$00 ; CPU:$C1A9 PRG:01A9 C9 00 - bne Label_C1B2 ; CPU:$C1AB PRG:01AB D0 05 + bne UpdateGameState ; CPU:$C1AB PRG:01AB D0 05 sta $05FD ; CPU:$C1AD PRG:01AD 8D FD 05 - beq Label_C1BB ; CPU:$C1B0 PRG:01B0 F0 09 + beq SubCC14E_Block_8 ; CPU:$C1B0 PRG:01B0 F0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_C1B2 +; Routine: UpdateGameState ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +495,11 @@ Label_C1A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1B2: +UpdateGameState: lda #$01 ; CPU:$C1B2 PRG:01B2 A9 01 sta $05FD ; CPU:$C1B4 PRG:01B4 8D FD 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C1B7 +; Routine: SubCC14E_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -506,11 +507,11 @@ Label_C1B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1B7: +SubCC14E_Block_6: lda #$FF ; CPU:$C1B7 PRG:01B7 A9 FF sta Zp2D ; CPU:$C1B9 PRG:01B9 85 2D ; ----------------------------------------------------------------------------- -; Routine: Label_C1BB +; Routine: SubCC14E_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -518,7 +519,7 @@ Label_C1B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1BB: +SubCC14E_Block_8: cpx #$01 ; CPU:$C1BB PRG:01BB E0 01 bne UpdateGameState6_3 ; CPU:$C1BD PRG:01BD D0 58 lda #$51 ; CPU:$C1BF PRG:01BF A9 51 @@ -526,7 +527,7 @@ Label_C1BB: lda #$24 ; CPU:$C1C4 PRG:01C4 A9 24 ldx #$04 ; CPU:$C1C6 PRG:01C6 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C1C8 +; Routine: UpdateGameState_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -534,10 +535,10 @@ Label_C1BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1C8: +UpdateGameState_Block: sta $0501,x ; CPU:$C1C8 PRG:01C8 9D 01 05 dex ; CPU:$C1CB PRG:01CB CA - bpl Label_C1C8 ; CPU:$C1CC PRG:01CC 10 FA + bpl UpdateGameState_Block ; CPU:$C1CC PRG:01CC 10 FA lda $05FE ; CPU:$C1CE PRG:01CE AD FE 05 asl a ; CPU:$C1D1 PRG:01D1 0A tax ; CPU:$C1D2 PRG:01D2 AA @@ -577,11 +578,11 @@ UpdateGameState6_1: dey ; CPU:$C1FE PRG:01FE 88 bpl UpdateGameState6_1 ; CPU:$C1FF PRG:01FF 10 E9 lda $0501 ; CPU:$C201 PRG:0201 AD 01 05 - bne Label_C20B ; CPU:$C204 PRG:0204 D0 05 + bne UpdateGameState_Block_2 ; CPU:$C204 PRG:0204 D0 05 lda #$24 ; CPU:$C206 PRG:0206 A9 24 sta $0501 ; CPU:$C208 PRG:0208 8D 01 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C20B +; Routine: UpdateGameState_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -589,7 +590,7 @@ UpdateGameState6_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C20B: +UpdateGameState_Block_2: lda #$16 ; CPU:$C20B PRG:020B A9 16 sta $0500 ; CPU:$C20D PRG:020D 8D 00 05 ldx #$12 ; CPU:$C210 PRG:0210 A2 12 @@ -606,12 +607,12 @@ Label_C20B: ; ----------------------------------------------------------------------------- UpdateGameState6_3: lda Zp2D ; CPU:$C217 PRG:0217 A5 2D - bne Label_C222 ; CPU:$C219 PRG:0219 D0 07 + bne UpdateGameState6_3_Block ; CPU:$C219 PRG:0219 D0 07 jsr $D509 ; CPU:$C21B PRG:021B 20 09 D5 lda #$FF ; CPU:$C21E PRG:021E A9 FF sta Zp2D ; CPU:$C220 PRG:0220 85 2D ; ----------------------------------------------------------------------------- -; Routine: Label_C222 +; Routine: UpdateGameState6_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -619,7 +620,7 @@ UpdateGameState6_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C222: +UpdateGameState6_3_Block: lda Zp26 ; CPU:$C222 PRG:0222 A5 26 jsr $C35E ; CPU:$C224 PRG:0224 20 5E C3 tax ; CPU:$C227 PRG:0227 AA @@ -649,12 +650,12 @@ UpdateSprites_4: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSprites2_1: - sta Zp01 ; CPU:$C232 PRG:0232 85 01 + sta PtrHi ; CPU:$C232 PRG:0232 85 01 lda #$24 ; CPU:$C234 PRG:0234 A9 24 - sta Zp00 ; CPU:$C236 PRG:0236 85 00 + sta PtrLo ; CPU:$C236 PRG:0236 85 00 jmp $C303 ; CPU:$C238 PRG:0238 4C 03 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_C23B +; Routine: SubCC23B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +663,11 @@ UpdateSprites2_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C23B: +SubCC23B: ldy #$00 ; CPU:$C23B PRG:023B A0 00 lda #$F4 ; CPU:$C23D PRG:023D A9 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_C23F +; Routine: SubCC23B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -674,13 +675,13 @@ Label_C23B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C23F: +SubCC23B_Block: sta $0200,y ; CPU:$C23F PRG:023F 99 00 02 iny ; CPU:$C242 PRG:0242 C8 iny ; CPU:$C243 PRG:0243 C8 iny ; CPU:$C244 PRG:0244 C8 iny ; CPU:$C245 PRG:0245 C8 - bne Label_C23F ; CPU:$C246 PRG:0246 D0 F7 + bne SubCC23B_Block ; CPU:$C246 PRG:0246 D0 F7 rts ; CPU:$C248 PRG:0248 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites2_3 @@ -692,8 +693,8 @@ Label_C23F: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSprites2_3: - ldy Zp23 ; CPU:$C249 PRG:0249 A4 23 - beq Label_C262 ; CPU:$C24B PRG:024B F0 15 + ldy SprData ; CPU:$C249 PRG:0249 A4 23 + beq UpdateSprites3_Block ; CPU:$C24B PRG:024B F0 15 dey ; CPU:$C24D PRG:024D 88 tya ; CPU:$C24E PRG:024E 98 asl a ; CPU:$C24F PRG:024F 0A @@ -701,9 +702,9 @@ UpdateSprites2_3: lda $E532,y ; CPU:$C251 PRG:0251 B9 32 E5 ldx $E533,y ; CPU:$C254 PRG:0254 BE 33 E5 ldy #$00 ; CPU:$C257 PRG:0257 A0 00 - sty Zp23 ; CPU:$C259 PRG:0259 84 23 + sty SprData ; CPU:$C259 PRG:0259 84 23 ; ----------------------------------------------------------------------------- -; Routine: Label_C25B +; Routine: UpdateSprites3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +712,12 @@ UpdateSprites2_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C25B: - sta Zp00 ; CPU:$C25B PRG:025B 85 00 - stx Zp01 ; CPU:$C25D PRG:025D 86 01 +UpdateSprites3_Block_2: + sta PtrLo ; CPU:$C25B PRG:025B 85 00 + stx PtrHi ; CPU:$C25D PRG:025D 86 01 jsr $C3B8 ; CPU:$C25F PRG:025F 20 B8 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_C262 +; Routine: UpdateSprites3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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_C25B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C262: +UpdateSprites3_Block: rts ; CPU:$C262 PRG:0262 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites3 @@ -737,17 +738,17 @@ Label_C262: ; ----------------------------------------------------------------------------- UpdateSprites3: ldy Zp27 ; CPU:$C263 PRG:0263 A4 27 - beq Label_C262 ; CPU:$C265 PRG:0265 F0 FB + beq UpdateSprites3_Block ; CPU:$C265 PRG:0265 F0 FB ldy #$00 ; CPU:$C267 PRG:0267 A0 00 sty Zp27 ; CPU:$C269 PRG:0269 84 27 lda #$00 ; CPU:$C26B PRG:026B A9 00 ldx #$04 ; CPU:$C26D PRG:026D A2 04 - bne Label_C25B ; CPU:$C26F PRG:026F D0 EA + bne UpdateSprites3_Block_2 ; CPU:$C26F PRG:026F D0 EA dec Zp1C ; CPU:$C271 PRG:0271 C6 1C - bne Label_C283 ; CPU:$C273 PRG:0273 D0 0E + bne UpdateSprites3_Block_3 ; CPU:$C273 PRG:0273 D0 0E ldx #$05 ; CPU:$C275 PRG:0275 A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C277 +; Routine: UpdateSprites3_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -755,15 +756,15 @@ UpdateSprites3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C277: +UpdateSprites3_Block_4: lda $0430,x ; CPU:$C277 PRG:0277 BD 30 04 sta Zp2A,x ; CPU:$C27A PRG:027A 95 2A dex ; CPU:$C27C PRG:027C CA - bpl Label_C277 ; CPU:$C27D PRG:027D 10 F8 + bpl UpdateSprites3_Block_4 ; CPU:$C27D PRG:027D 10 F8 lda Zp1D ; CPU:$C27F PRG:027F A5 1D - sta Zp25 ; CPU:$C281 PRG:0281 85 25 + sta Temp ; CPU:$C281 PRG:0281 85 25 ; ----------------------------------------------------------------------------- -; Routine: Label_C283 +; Routine: UpdateSprites3_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -771,7 +772,7 @@ Label_C277: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C283: +UpdateSprites3_Block_3: rts ; CPU:$C283 PRG:0283 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateController @@ -784,9 +785,9 @@ Label_C283: ; ----------------------------------------------------------------------------- UpdateController: ldx #$01 ; CPU:$C284 PRG:0284 A2 01 - stx $4016 ; CPU:$C286 PRG:0286 8E 16 40 + stx JOY1 ; CPU:$C286 PRG:0286 8E 16 40 dex ; CPU:$C289 PRG:0289 CA - stx $4016 ; CPU:$C28A PRG:028A 8E 16 40 + stx JOY1 ; CPU:$C28A PRG:028A 8E 16 40 jsr $C291 ; CPU:$C28D PRG:028D 20 91 C2 inx ; CPU:$C290 PRG:0290 E8 ; ----------------------------------------------------------------------------- @@ -801,7 +802,7 @@ UpdateController: UpdateController2: ldy #$08 ; CPU:$C291 PRG:0291 A0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_C293 +; Routine: UpdateController2_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -809,27 +810,27 @@ UpdateController2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C293: +UpdateController2_Block: pha ; CPU:$C293 PRG:0293 48 - lda $4016,x ; CPU:$C294 PRG:0294 BD 16 40 - sta Zp00 ; CPU:$C297 PRG:0297 85 00 + lda JOY1,x ; CPU:$C294 PRG:0294 BD 16 40 + sta PtrLo ; CPU:$C297 PRG:0297 85 00 lsr a ; CPU:$C299 PRG:0299 4A - ora Zp00 ; CPU:$C29A PRG:029A 05 00 + ora PtrLo ; CPU:$C29A PRG:029A 05 00 lsr a ; CPU:$C29C PRG:029C 4A pla ; CPU:$C29D PRG:029D 68 rol a ; CPU:$C29E PRG:029E 2A dey ; CPU:$C29F PRG:029F 88 - bne Label_C293 ; CPU:$C2A0 PRG:02A0 D0 F1 + bne UpdateController2_Block ; CPU:$C2A0 PRG:02A0 D0 F1 cmp $0440,x ; CPU:$C2A2 PRG:02A2 DD 40 04 - bne Label_C2B6 ; CPU:$C2A5 PRG:02A5 D0 0F + bne UpdateController2_Block_2 ; CPU:$C2A5 PRG:02A5 D0 0F inc $0442,x ; CPU:$C2A7 PRG:02A7 FE 42 04 ldy $0442,x ; CPU:$C2AA PRG:02AA BC 42 04 cpy #$05 ; CPU:$C2AD PRG:02AD C0 05 - bcc Label_C2BE ; CPU:$C2AF PRG:02AF 90 0D + bcc UpdateController2_Block_3 ; CPU:$C2AF PRG:02AF 90 0D sta Zp16,x ; CPU:$C2B1 PRG:02B1 95 16 jmp $C2B9 ; CPU:$C2B3 PRG:02B3 4C B9 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C2B6 +; Routine: UpdateController2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -837,7 +838,7 @@ Label_C293: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2B6: +UpdateController2_Block_2: sta $0440,x ; CPU:$C2B6 PRG:02B6 9D 40 04 ; ----------------------------------------------------------------------------- ; Routine: UpdateController3 @@ -852,7 +853,7 @@ UpdateController3: lda #$00 ; CPU:$C2B9 PRG:02B9 A9 00 sta $0442,x ; CPU:$C2BB PRG:02BB 9D 42 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C2BE +; Routine: UpdateController2_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -860,7 +861,7 @@ UpdateController3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2BE: +UpdateController2_Block_3: rts ; CPU:$C2BE PRG:02BE 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateController4_206 @@ -873,20 +874,20 @@ Label_C2BE: ; ----------------------------------------------------------------------------- UpdateController4_206: lda Zp21 ; CPU:$C2BF PRG:02BF A5 21 - beq Label_C302 ; CPU:$C2C1 PRG:02C1 F0 3F + beq UpdateController4_206_Block ; CPU:$C2C1 PRG:02C1 F0 3F lda #$61 ; CPU:$C2C3 PRG:02C3 A9 61 - sta Zp00 ; CPU:$C2C5 PRG:02C5 85 00 + sta PtrLo ; CPU:$C2C5 PRG:02C5 85 00 lda #$05 ; CPU:$C2C7 PRG:02C7 A9 05 - sta Zp01 ; CPU:$C2C9 PRG:02C9 85 01 + sta PtrHi ; CPU:$C2C9 PRG:02C9 85 01 lda Zp08 ; CPU:$C2CB PRG:02CB A5 08 and #$FB ; CPU:$C2CD PRG:02CD 29 FB - sta $2000 ; CPU:$C2CF PRG:02CF 8D 00 20 + sta PPUCTRL ; CPU:$C2CF PRG:02CF 8D 00 20 sta Zp08 ; CPU:$C2D2 PRG:02D2 85 08 - ldx $2002 ; CPU:$C2D4 PRG:02D4 AE 02 20 + ldx PPUSTATUS ; CPU:$C2D4 PRG:02D4 AE 02 20 ldy #$00 ; CPU:$C2D7 PRG:02D7 A0 00 - beq Label_C2F4 ; CPU:$C2D9 PRG:02D9 F0 19 + beq UpdateController4_206_Block_2 ; CPU:$C2D9 PRG:02D9 F0 19 ; ----------------------------------------------------------------------------- -; Routine: Label_C2DB +; Routine: UpdateController4_206_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -894,17 +895,17 @@ UpdateController4_206: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2DB: - sta $2006 ; CPU:$C2DB PRG:02DB 8D 06 20 +UpdateController4_206_Block_4: + sta PPUADDR ; CPU:$C2DB PRG:02DB 8D 06 20 iny ; CPU:$C2DE PRG:02DE C8 - lda (Zp00),y ; CPU:$C2DF PRG:02DF B1 00 - sta $2006 ; CPU:$C2E1 PRG:02E1 8D 06 20 + lda (PtrLo),y ; CPU:$C2DF PRG:02DF B1 00 + sta PPUADDR ; CPU:$C2E1 PRG:02E1 8D 06 20 iny ; CPU:$C2E4 PRG:02E4 C8 - lda (Zp00),y ; CPU:$C2E5 PRG:02E5 B1 00 + lda (PtrLo),y ; CPU:$C2E5 PRG:02E5 B1 00 and #$3F ; CPU:$C2E7 PRG:02E7 29 3F tax ; CPU:$C2E9 PRG:02E9 AA ; ----------------------------------------------------------------------------- -; Routine: Label_C2EA +; Routine: UpdateController4_206_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +913,15 @@ Label_C2DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2EA: +UpdateController4_206_Block_3: iny ; CPU:$C2EA PRG:02EA C8 - lda (Zp00),y ; CPU:$C2EB PRG:02EB B1 00 - sta $2007 ; CPU:$C2ED PRG:02ED 8D 07 20 + lda (PtrLo),y ; CPU:$C2EB PRG:02EB B1 00 + sta PPUDATA ; CPU:$C2ED PRG:02ED 8D 07 20 dex ; CPU:$C2F0 PRG:02F0 CA - bne Label_C2EA ; CPU:$C2F1 PRG:02F1 D0 F7 + bne UpdateController4_206_Block_3 ; CPU:$C2F1 PRG:02F1 D0 F7 iny ; CPU:$C2F3 PRG:02F3 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C2F4 +; Routine: UpdateController4_206_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -928,15 +929,15 @@ Label_C2EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2F4: - lda (Zp00),y ; CPU:$C2F4 PRG:02F4 B1 00 - bne Label_C2DB ; CPU:$C2F6 PRG:02F6 D0 E3 +UpdateController4_206_Block_2: + lda (PtrLo),y ; CPU:$C2F4 PRG:02F4 B1 00 + bne UpdateController4_206_Block_4 ; CPU:$C2F6 PRG:02F6 D0 E3 lda #$00 ; CPU:$C2F8 PRG:02F8 A9 00 sta $0560 ; CPU:$C2FA PRG:02FA 8D 60 05 sta $0561 ; CPU:$C2FD PRG:02FD 8D 61 05 sta Zp21 ; CPU:$C300 PRG:0300 85 21 ; ----------------------------------------------------------------------------- -; Routine: Label_C302 +; Routine: UpdateController4_206_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -944,10 +945,10 @@ Label_C2F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C302: +UpdateController4_206_Block: rts ; CPU:$C302 PRG:0302 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C303 +; Routine: SubCC303 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +956,16 @@ Label_C302: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C303: - lda $2002 ; CPU:$C303 PRG:0303 AD 02 20 +SubCC303: + lda PPUSTATUS ; CPU:$C303 PRG:0303 AD 02 20 lda Zp08 ; CPU:$C306 PRG:0306 A5 08 and #$FB ; CPU:$C308 PRG:0308 29 FB - sta $2000 ; CPU:$C30A PRG:030A 8D 00 20 + sta PPUCTRL ; CPU:$C30A PRG:030A 8D 00 20 sta Zp08 ; CPU:$C30D PRG:030D 85 08 lda #$1C ; CPU:$C30F PRG:030F A9 1C clc ; CPU:$C311 PRG:0311 18 ; ----------------------------------------------------------------------------- -; Routine: Label_C312 +; Routine: SubCC303_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +973,19 @@ Label_C303: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C312: +SubCC303_Block: adc #$04 ; CPU:$C312 PRG:0312 69 04 - dec Zp01 ; CPU:$C314 PRG:0314 C6 01 - bne Label_C312 ; CPU:$C316 PRG:0316 D0 FA + dec PtrHi ; CPU:$C314 PRG:0314 C6 01 + bne SubCC303_Block ; CPU:$C316 PRG:0316 D0 FA sta Zp02 ; CPU:$C318 PRG:0318 85 02 - sta $2006 ; CPU:$C31A PRG:031A 8D 06 20 + sta PPUADDR ; CPU:$C31A PRG:031A 8D 06 20 lda #$00 ; CPU:$C31D PRG:031D A9 00 - sta $2006 ; CPU:$C31F PRG:031F 8D 06 20 + sta PPUADDR ; CPU:$C31F PRG:031F 8D 06 20 ldx #$04 ; CPU:$C322 PRG:0322 A2 04 ldy #$00 ; CPU:$C324 PRG:0324 A0 00 - lda Zp00 ; CPU:$C326 PRG:0326 A5 00 + lda PtrLo ; CPU:$C326 PRG:0326 A5 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C328 +; Routine: SubCC303_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -992,21 +993,21 @@ Label_C312: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C328: - sta $2007 ; CPU:$C328 PRG:0328 8D 07 20 +SubCC303_Block_3: + sta PPUDATA ; CPU:$C328 PRG:0328 8D 07 20 dey ; CPU:$C32B PRG:032B 88 - bne Label_C328 ; CPU:$C32C PRG:032C D0 FA + bne SubCC303_Block_3 ; CPU:$C32C PRG:032C D0 FA dex ; CPU:$C32E PRG:032E CA - bne Label_C328 ; CPU:$C32F PRG:032F D0 F7 + bne SubCC303_Block_3 ; CPU:$C32F PRG:032F D0 F7 lda Zp02 ; CPU:$C331 PRG:0331 A5 02 adc #$03 ; CPU:$C333 PRG:0333 69 03 - sta $2006 ; CPU:$C335 PRG:0335 8D 06 20 + sta PPUADDR ; CPU:$C335 PRG:0335 8D 06 20 lda #$C0 ; CPU:$C338 PRG:0338 A9 C0 - sta $2006 ; CPU:$C33A PRG:033A 8D 06 20 + sta PPUADDR ; CPU:$C33A PRG:033A 8D 06 20 ldy #$40 ; CPU:$C33D PRG:033D A0 40 lda #$00 ; CPU:$C33F PRG:033F A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C341 +; Routine: SubCC303_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +1015,13 @@ Label_C328: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C341: - sta $2007 ; CPU:$C341 PRG:0341 8D 07 20 +SubCC303_Block_4: + sta PPUDATA ; CPU:$C341 PRG:0341 8D 07 20 dey ; CPU:$C344 PRG:0344 88 - bne Label_C341 ; CPU:$C345 PRG:0345 D0 FA + bne SubCC303_Block_4 ; CPU:$C345 PRG:0345 D0 FA rts ; CPU:$C347 PRG:0347 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C348 +; Routine: SubCC348 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1028,15 +1029,15 @@ Label_C341: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C348: +SubCC348: ldx #$01 ; CPU:$C348 PRG:0348 A2 01 dec Zp2A ; CPU:$C34A PRG:034A C6 2A - bpl Label_C354 ; CPU:$C34C PRG:034C 10 06 + bpl SubCC348_Block_3 ; CPU:$C34C PRG:034C 10 06 lda #$0A ; CPU:$C34E PRG:034E A9 0A sta Zp2A ; CPU:$C350 PRG:0350 85 2A ldx #$03 ; CPU:$C352 PRG:0352 A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C354 +; Routine: SubCC348_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1044,12 +1045,12 @@ Label_C348: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C354: +SubCC348_Block_3: lda Zp2B,x ; CPU:$C354 PRG:0354 B5 2B - beq Label_C35A ; CPU:$C356 PRG:0356 F0 02 + beq SubCC348_Block_2 ; CPU:$C356 PRG:0356 F0 02 dec Zp2B,x ; CPU:$C358 PRG:0358 D6 2B ; ----------------------------------------------------------------------------- -; Routine: Label_C35A +; Routine: SubCC348_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +1058,12 @@ Label_C354: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C35A: +SubCC348_Block_2: dex ; CPU:$C35A PRG:035A CA - bpl Label_C354 ; CPU:$C35B PRG:035B 10 F7 + bpl SubCC348_Block_3 ; CPU:$C35B PRG:035B 10 F7 rts ; CPU:$C35D PRG:035D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C35E +; Routine: SubCC35E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1070,27 +1071,27 @@ Label_C35A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C35E: +SubCC35E: stx Zp28 ; CPU:$C35E PRG:035E 86 28 sty Zp29 ; CPU:$C360 PRG:0360 84 29 asl a ; CPU:$C362 PRG:0362 0A tay ; CPU:$C363 PRG:0363 A8 iny ; CPU:$C364 PRG:0364 C8 pla ; CPU:$C365 PRG:0365 68 - sta Zp14 ; CPU:$C366 PRG:0366 85 14 + sta SndChannel ; CPU:$C366 PRG:0366 85 14 pla ; CPU:$C368 PRG:0368 68 - sta Zp15 ; CPU:$C369 PRG:0369 85 15 - lda (Zp14),y ; CPU:$C36B PRG:036B B1 14 + sta SndNote ; CPU:$C369 PRG:0369 85 15 + lda (SndChannel),y ; CPU:$C36B PRG:036B B1 14 tax ; CPU:$C36D PRG:036D AA iny ; CPU:$C36E PRG:036E C8 - lda (Zp14),y ; CPU:$C36F PRG:036F B1 14 - sta Zp15 ; CPU:$C371 PRG:0371 85 15 - stx Zp14 ; CPU:$C373 PRG:0373 86 14 + lda (SndChannel),y ; CPU:$C36F PRG:036F B1 14 + sta SndNote ; CPU:$C371 PRG:0371 85 15 + stx SndChannel ; CPU:$C373 PRG:0373 86 14 ldx Zp28 ; CPU:$C375 PRG:0375 A6 28 ldy Zp29 ; CPU:$C377 PRG:0377 A4 29 - jmp ($0014) ; CPU:$C379 PRG:0379 6C 14 00 + jmp (SndChannel) ; CPU:$C379 PRG:0379 6C 14 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C37C +; Routine: SubCC3B8_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1098,21 +1099,21 @@ Label_C35E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C37C: - sta $2006 ; CPU:$C37C PRG:037C 8D 06 20 +SubCC3B8_Block: + sta PPUADDR ; CPU:$C37C PRG:037C 8D 06 20 iny ; CPU:$C37F PRG:037F C8 - lda (Zp00),y ; CPU:$C380 PRG:0380 B1 00 - sta $2006 ; CPU:$C382 PRG:0382 8D 06 20 + lda (PtrLo),y ; CPU:$C380 PRG:0380 B1 00 + sta PPUADDR ; CPU:$C382 PRG:0382 8D 06 20 iny ; CPU:$C385 PRG:0385 C8 - lda (Zp00),y ; CPU:$C386 PRG:0386 B1 00 + lda (PtrLo),y ; CPU:$C386 PRG:0386 B1 00 asl a ; CPU:$C388 PRG:0388 0A pha ; CPU:$C389 PRG:0389 48 lda Zp08 ; CPU:$C38A PRG:038A A5 08 ora #$04 ; CPU:$C38C PRG:038C 09 04 - bcs Label_C392 ; CPU:$C38E PRG:038E B0 02 + bcs SubCC35E_Block ; CPU:$C38E PRG:038E B0 02 and #$FB ; CPU:$C390 PRG:0390 29 FB ; ----------------------------------------------------------------------------- -; Routine: Label_C392 +; Routine: SubCC35E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1120,16 +1121,16 @@ Label_C37C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C392: - sta $2000 ; CPU:$C392 PRG:0392 8D 00 20 +SubCC35E_Block: + sta PPUCTRL ; CPU:$C392 PRG:0392 8D 00 20 sta Zp08 ; CPU:$C395 PRG:0395 85 08 pla ; CPU:$C397 PRG:0397 68 asl a ; CPU:$C398 PRG:0398 0A - bcc Label_C39E ; CPU:$C399 PRG:0399 90 03 + bcc SubCC35E_Block_2 ; CPU:$C399 PRG:0399 90 03 ora #$02 ; CPU:$C39B PRG:039B 09 02 iny ; CPU:$C39D PRG:039D C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C39E +; Routine: SubCC35E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1137,12 +1138,12 @@ Label_C392: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C39E: +SubCC35E_Block_2: lsr a ; CPU:$C39E PRG:039E 4A lsr a ; CPU:$C39F PRG:039F 4A tax ; CPU:$C3A0 PRG:03A0 AA ; ----------------------------------------------------------------------------- -; Routine: Label_C3A1 +; Routine: SubCC35E_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1150,11 +1151,11 @@ Label_C39E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3A1: - bcs Label_C3A4 ; CPU:$C3A1 PRG:03A1 B0 01 +SubCC35E_Block_4: + bcs SubCC35E_Block_3 ; CPU:$C3A1 PRG:03A1 B0 01 iny ; CPU:$C3A3 PRG:03A3 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C3A4 +; Routine: SubCC35E_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1162,20 +1163,20 @@ Label_C3A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3A4: - lda (Zp00),y ; CPU:$C3A4 PRG:03A4 B1 00 - sta $2007 ; CPU:$C3A6 PRG:03A6 8D 07 20 +SubCC35E_Block_3: + lda (PtrLo),y ; CPU:$C3A4 PRG:03A4 B1 00 + sta PPUDATA ; CPU:$C3A6 PRG:03A6 8D 07 20 dex ; CPU:$C3A9 PRG:03A9 CA - bne Label_C3A1 ; CPU:$C3AA PRG:03AA D0 F5 + bne SubCC35E_Block_4 ; CPU:$C3AA PRG:03AA D0 F5 sec ; CPU:$C3AC PRG:03AC 38 tya ; CPU:$C3AD PRG:03AD 98 - adc Zp00 ; CPU:$C3AE PRG:03AE 65 00 - sta Zp00 ; CPU:$C3B0 PRG:03B0 85 00 + adc PtrLo ; CPU:$C3AE PRG:03AE 65 00 + sta PtrLo ; CPU:$C3B0 PRG:03B0 85 00 lda #$00 ; CPU:$C3B2 PRG:03B2 A9 00 - adc Zp01 ; CPU:$C3B4 PRG:03B4 65 01 - sta Zp01 ; CPU:$C3B6 PRG:03B6 85 01 + adc PtrHi ; CPU:$C3B4 PRG:03B4 65 01 + sta PtrHi ; CPU:$C3B6 PRG:03B6 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C3B8 +; Routine: SubCC3B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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_C3A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3B8: - ldx $2002 ; CPU:$C3B8 PRG:03B8 AE 02 20 +SubCC3B8: + ldx PPUSTATUS ; CPU:$C3B8 PRG:03B8 AE 02 20 ldy #$00 ; CPU:$C3BB PRG:03BB A0 00 - lda (Zp00),y ; CPU:$C3BD PRG:03BD B1 00 - bne Label_C37C ; CPU:$C3BF PRG:03BF D0 BB + lda (PtrLo),y ; CPU:$C3BD PRG:03BD B1 00 + bne SubCC3B8_Block ; CPU:$C3BF PRG:03BF D0 BB ; ----------------------------------------------------------------------------- -; Routine: Label_C3C1 +; Routine: SubCC3C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +1198,16 @@ Label_C3B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3C1: +SubCC3C1: pha ; CPU:$C3C1 PRG:03C1 48 lda Zp0A ; CPU:$C3C2 PRG:03C2 A5 0A - sta $2005 ; CPU:$C3C4 PRG:03C4 8D 05 20 + sta PPUSCROLL ; CPU:$C3C4 PRG:03C4 8D 05 20 lda Zp0B ; CPU:$C3C7 PRG:03C7 A5 0B - sta $2005 ; CPU:$C3C9 PRG:03C9 8D 05 20 + sta PPUSCROLL ; CPU:$C3C9 PRG:03C9 8D 05 20 pla ; CPU:$C3CC PRG:03CC 68 rts ; CPU:$C3CD PRG:03CD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C3CE +; Routine: SubCC3CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +1215,7 @@ Label_C3C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3CE: +SubCC3CE: lda #$01 ; CPU:$C3CE PRG:03CE A9 01 sta Zp21 ; CPU:$C3D0 PRG:03D0 85 21 ldy #$00 ; CPU:$C3D2 PRG:03D2 A0 00 @@ -1229,7 +1230,7 @@ Label_C3CE: sta Zp04 ; CPU:$C3E0 PRG:03E0 85 04 ldx $0560 ; CPU:$C3E2 PRG:03E2 AE 60 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C3E5 +; Routine: SubCC3CE_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1237,18 +1238,18 @@ Label_C3CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3E5: - lda Zp01 ; CPU:$C3E5 PRG:03E5 A5 01 +SubCC3CE_Block_2: + lda PtrHi ; CPU:$C3E5 PRG:03E5 A5 01 sta $0561,x ; CPU:$C3E7 PRG:03E7 9D 61 05 jsr $C426 ; CPU:$C3EA PRG:03EA 20 26 C4 - lda Zp00 ; CPU:$C3ED PRG:03ED A5 00 + lda PtrLo ; CPU:$C3ED PRG:03ED A5 00 sta $0561,x ; CPU:$C3EF PRG:03EF 9D 61 05 jsr $C426 ; CPU:$C3F2 PRG:03F2 20 26 C4 lda Zp05 ; CPU:$C3F5 PRG:03F5 A5 05 sta Zp06 ; CPU:$C3F7 PRG:03F7 85 06 sta $0561,x ; CPU:$C3F9 PRG:03F9 9D 61 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C3FC +; Routine: SubCC3CE_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1256,29 +1257,29 @@ Label_C3E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3FC: +SubCC3CE_Block: jsr $C426 ; CPU:$C3FC PRG:03FC 20 26 C4 iny ; CPU:$C3FF PRG:03FF C8 lda (Zp02),y ; CPU:$C400 PRG:0400 B1 02 sta $0561,x ; CPU:$C402 PRG:0402 9D 61 05 dec Zp06 ; CPU:$C405 PRG:0405 C6 06 - bne Label_C3FC ; CPU:$C407 PRG:0407 D0 F3 + bne SubCC3CE_Block ; CPU:$C407 PRG:0407 D0 F3 jsr $C426 ; CPU:$C409 PRG:0409 20 26 C4 stx $0560 ; CPU:$C40C PRG:040C 8E 60 05 clc ; CPU:$C40F PRG:040F 18 lda #$20 ; CPU:$C410 PRG:0410 A9 20 - adc Zp00 ; CPU:$C412 PRG:0412 65 00 - sta Zp00 ; CPU:$C414 PRG:0414 85 00 + adc PtrLo ; CPU:$C412 PRG:0412 65 00 + sta PtrLo ; CPU:$C414 PRG:0414 85 00 lda #$00 ; CPU:$C416 PRG:0416 A9 00 - adc Zp01 ; CPU:$C418 PRG:0418 65 01 - sta Zp01 ; CPU:$C41A PRG:041A 85 01 + adc PtrHi ; CPU:$C418 PRG:0418 65 01 + sta PtrHi ; CPU:$C41A PRG:041A 85 01 dec Zp04 ; CPU:$C41C PRG:041C C6 04 - bne Label_C3E5 ; CPU:$C41E PRG:041E D0 C5 + bne SubCC3CE_Block_2 ; CPU:$C41E PRG:041E D0 C5 lda #$00 ; CPU:$C420 PRG:0420 A9 00 sta $0561,x ; CPU:$C422 PRG:0422 9D 61 05 rts ; CPU:$C425 PRG:0425 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C426 +; Routine: SubCC426 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1286,18 +1287,18 @@ Label_C3FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C426: +SubCC426: inx ; CPU:$C426 PRG:0426 E8 txa ; CPU:$C427 PRG:0427 8A cmp #$4F ; CPU:$C428 PRG:0428 C9 4F - bcc Label_C436 ; CPU:$C42A PRG:042A 90 0A + bcc SubCC426_Block ; CPU:$C42A PRG:042A 90 0A ldx $0560 ; CPU:$C42C PRG:042C AE 60 05 lda #$00 ; CPU:$C42F PRG:042F A9 00 sta $0561,x ; CPU:$C431 PRG:0431 9D 61 05 pla ; CPU:$C434 PRG:0434 68 pla ; CPU:$C435 PRG:0435 68 ; ----------------------------------------------------------------------------- -; Routine: Label_C436 +; Routine: SubCC426_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +1306,10 @@ Label_C426: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C436: +SubCC426_Block: rts ; CPU:$C436 PRG:0436 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C437 +; Routine: SubCC437 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1316,7 +1317,7 @@ Label_C436: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C437: +SubCC437: clc ; CPU:$C437 PRG:0437 18 adc #$01 ; CPU:$C438 PRG:0438 69 01 and #$0F ; CPU:$C43A PRG:043A 29 0F @@ -1324,11 +1325,11 @@ Label_C437: asl a ; CPU:$C43D PRG:043D 0A tax ; CPU:$C43E PRG:043E AA lda Zp04 ; CPU:$C43F PRG:043F A5 04 - beq Label_C46A ; CPU:$C441 PRG:0441 F0 27 + beq SubCC437_Block ; CPU:$C441 PRG:0441 F0 27 lda ZpC3,x ; CPU:$C443 PRG:0443 B5 C3 - beq Label_C46E ; CPU:$C445 PRG:0445 F0 27 + beq SubCC437_Block_2 ; CPU:$C445 PRG:0445 F0 27 ; ----------------------------------------------------------------------------- -; Routine: Label_C447 +; Routine: SubCC437_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1336,7 +1337,7 @@ Label_C437: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C447: +SubCC437_Block_3: clc ; CPU:$C447 PRG:0447 18 lda ZpC6,x ; CPU:$C448 PRG:0448 B5 C6 sta Zp03 ; CPU:$C44A PRG:044A 85 03 @@ -1355,7 +1356,7 @@ Label_C447: sta ZpC4,x ; CPU:$C467 PRG:0467 95 C4 rts ; CPU:$C469 PRG:0469 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C46A +; Routine: SubCC437_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1363,11 +1364,11 @@ Label_C447: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C46A: +SubCC437_Block: lda ZpC3,x ; CPU:$C46A PRG:046A B5 C3 - beq Label_C447 ; CPU:$C46C PRG:046C F0 D9 + beq SubCC437_Block_3 ; CPU:$C46C PRG:046C F0 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_C46E +; Routine: SubCC437_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +1376,7 @@ Label_C46A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C46E: +SubCC437_Block_2: sec ; CPU:$C46E PRG:046E 38 lda ZpC6,x ; CPU:$C46F PRG:046F B5 C6 sta Zp03 ; CPU:$C471 PRG:0471 85 03 @@ -1393,13 +1394,13 @@ Label_C46E: jsr $C4E0 ; CPU:$C48B PRG:048B 20 E0 C4 sta ZpC4,x ; CPU:$C48E PRG:048E 95 C4 lda ZpC4,x ; CPU:$C490 PRG:0490 B5 C4 - bne Label_C49C ; CPU:$C492 PRG:0492 D0 08 + bne SubCC437_Block_5 ; CPU:$C492 PRG:0492 D0 08 lda ZpC5,x ; CPU:$C494 PRG:0494 B5 C5 - bne Label_C49C ; CPU:$C496 PRG:0496 D0 04 + bne SubCC437_Block_5 ; CPU:$C496 PRG:0496 D0 04 lda ZpC6,x ; CPU:$C498 PRG:0498 B5 C6 - beq Label_C4A2 ; CPU:$C49A PRG:049A F0 06 + beq SubCC437_Block_6 ; CPU:$C49A PRG:049A F0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_C49C +; Routine: SubCC437_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1407,12 +1408,12 @@ Label_C46E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C49C: - bcs Label_C4BE ; CPU:$C49C PRG:049C B0 20 +SubCC437_Block_5: + bcs SubCC437_Block_7 ; CPU:$C49C PRG:049C B0 20 lda ZpC3,x ; CPU:$C49E PRG:049E B5 C3 eor #$FF ; CPU:$C4A0 PRG:04A0 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_C4A2 +; Routine: SubCC437_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1420,7 +1421,7 @@ Label_C49C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4A2: +SubCC437_Block_6: sta ZpC3,x ; CPU:$C4A2 PRG:04A2 95 C3 sec ; CPU:$C4A4 PRG:04A4 38 lda #$00 ; CPU:$C4A5 PRG:04A5 A9 00 @@ -1435,7 +1436,7 @@ Label_C4A2: jsr $C4E0 ; CPU:$C4B9 PRG:04B9 20 E0 C4 sta ZpC4,x ; CPU:$C4BC PRG:04BC 95 C4 ; ----------------------------------------------------------------------------- -; Routine: Label_C4BE +; Routine: SubCC437_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1443,10 +1444,10 @@ Label_C4A2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4BE: +SubCC437_Block_7: rts ; CPU:$C4BE PRG:04BE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C4BF +; Routine: SubCC4BF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1454,14 +1455,14 @@ Label_C4BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4BF: +SubCC4BF: jsr $C502 ; CPU:$C4BF PRG:04BF 20 02 C5 - adc Zp01 ; CPU:$C4C2 PRG:04C2 65 01 + adc PtrHi ; CPU:$C4C2 PRG:04C2 65 01 cmp #$0A ; CPU:$C4C4 PRG:04C4 C9 0A - bcc Label_C4CA ; CPU:$C4C6 PRG:04C6 90 02 + bcc SubCC4BF_Block ; CPU:$C4C6 PRG:04C6 90 02 adc #$05 ; CPU:$C4C8 PRG:04C8 69 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C4CA +; Routine: SubCC4BF_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1469,16 +1470,16 @@ Label_C4BF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4CA: +SubCC4BF_Block: clc ; CPU:$C4CA PRG:04CA 18 adc Zp02 ; CPU:$C4CB PRG:04CB 65 02 sta Zp02 ; CPU:$C4CD PRG:04CD 85 02 lda Zp03 ; CPU:$C4CF PRG:04CF A5 03 and #$F0 ; CPU:$C4D1 PRG:04D1 29 F0 adc Zp02 ; CPU:$C4D3 PRG:04D3 65 02 - bcc Label_C4DB ; CPU:$C4D5 PRG:04D5 90 04 + bcc SubCC4BF_Block_2 ; CPU:$C4D5 PRG:04D5 90 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C4D7 +; Routine: SubCC4BF_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +1487,12 @@ Label_C4CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4D7: +SubCC4BF_Block_3: adc #$5F ; CPU:$C4D7 PRG:04D7 69 5F sec ; CPU:$C4D9 PRG:04D9 38 rts ; CPU:$C4DA PRG:04DA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C4DB +; Routine: SubCC4BF_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1499,12 +1500,12 @@ Label_C4D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4DB: +SubCC4BF_Block_2: cmp #$A0 ; CPU:$C4DB PRG:04DB C9 A0 - bcs Label_C4D7 ; CPU:$C4DD PRG:04DD B0 F8 + bcs SubCC4BF_Block_3 ; CPU:$C4DD PRG:04DD B0 F8 rts ; CPU:$C4DF PRG:04DF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C4E0 +; Routine: SubCC4E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1512,18 +1513,18 @@ Label_C4DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4E0: +SubCC4E0: jsr $C502 ; CPU:$C4E0 PRG:04E0 20 02 C5 - sbc Zp01 ; CPU:$C4E3 PRG:04E3 E5 01 - sta Zp01 ; CPU:$C4E5 PRG:04E5 85 01 - bcs Label_C4F3 ; CPU:$C4E7 PRG:04E7 B0 0A + sbc PtrHi ; CPU:$C4E3 PRG:04E3 E5 01 + sta PtrHi ; CPU:$C4E5 PRG:04E5 85 01 + bcs SubCC4E0_Block ; CPU:$C4E7 PRG:04E7 B0 0A adc #$0A ; CPU:$C4E9 PRG:04E9 69 0A - sta Zp01 ; CPU:$C4EB PRG:04EB 85 01 + sta PtrHi ; CPU:$C4EB PRG:04EB 85 01 lda Zp02 ; CPU:$C4ED PRG:04ED A5 02 adc #$0F ; CPU:$C4EF PRG:04EF 69 0F sta Zp02 ; CPU:$C4F1 PRG:04F1 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C4F3 +; Routine: SubCC4E0_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1531,16 +1532,16 @@ Label_C4E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4F3: +SubCC4E0_Block: lda Zp03 ; CPU:$C4F3 PRG:04F3 A5 03 and #$F0 ; CPU:$C4F5 PRG:04F5 29 F0 sec ; CPU:$C4F7 PRG:04F7 38 sbc Zp02 ; CPU:$C4F8 PRG:04F8 E5 02 - bcs Label_C4FF ; CPU:$C4FA PRG:04FA B0 03 + bcs SubCC4E0_Block_2 ; CPU:$C4FA PRG:04FA B0 03 adc #$A0 ; CPU:$C4FC PRG:04FC 69 A0 clc ; CPU:$C4FE PRG:04FE 18 ; ----------------------------------------------------------------------------- -; Routine: Label_C4FF +; Routine: SubCC4E0_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1548,11 +1549,11 @@ Label_C4F3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4FF: - ora Zp01 ; CPU:$C4FF PRG:04FF 05 01 +SubCC4E0_Block_2: + ora PtrHi ; CPU:$C4FF PRG:04FF 05 01 rts ; CPU:$C501 PRG:0501 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C502 +; Routine: SubCC502 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1560,10 +1561,10 @@ Label_C4FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C502: +SubCC502: pha ; CPU:$C502 PRG:0502 48 and #$0F ; CPU:$C503 PRG:0503 29 0F - sta Zp01 ; CPU:$C505 PRG:0505 85 01 + sta PtrHi ; CPU:$C505 PRG:0505 85 01 pla ; CPU:$C507 PRG:0507 68 and #$F0 ; CPU:$C508 PRG:0508 29 F0 sta Zp02 ; CPU:$C50A PRG:050A 85 02 @@ -1571,6 +1572,7 @@ Label_C502: and #$0F ; CPU:$C50E PRG:050E 29 0F rts ; CPU:$C510 PRG:0510 60 ; ---- data $C511-$C587 (119 bytes) ---- + SpriteAnimTable: ; Sprite animation table (7 entries) .byte $A9, $00, $85, $04, $18, $A5, $00, $69, $10, $29, $F0, $4A, $4A, $A8, $A5, $00 ; CPU:$C511 PRG:0511 A9 00 85 04 18 A5 00 69 10 29 F0 4A 4A A8 A5 00 .byte $29, $07, $0A, $0A, $AA, $B9, $C3, $00, $F0, $51, $B5, $C7, $F0, $26, $38, $B9 ; CPU:$C521 PRG:0521 29 07 0A 0A AA B9 C3 00 F0 51 B5 C7 F0 26 38 B9 .byte $C6, $00, $85, $03, $B5, $CA, $20, $E0, $C4, $B9, $C5, $00, $85, $03, $B5, $C9 ; CPU:$C531 PRG:0531 C6 00 85 03 B5 CA 20 E0 C4 B9 C5 00 85 03 B5 C9 @@ -1580,7 +1582,7 @@ Label_C502: .byte $29, $08, $F0, $06, $CA, $CA, $CA, $CA, $10, $AB, $60, $B5, $C7, $F0, $AF, $B9 ; CPU:$C571 PRG:0571 29 08 F0 06 CA CA CA CA 10 AB 60 B5 C7 F0 AF B9 .byte $C3, $00, $D0, $D0, $18, $90, $D2 ; CPU:$C581 PRG:0581 C3 00 D0 D0 18 90 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_C588 +; Routine: SubCC588 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1588,7 +1590,7 @@ Label_C502: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C588: +SubCC588: lda $05EC ; CPU:$C588 PRG:0588 AD EC 05 and #$02 ; CPU:$C58B PRG:058B 29 02 sta Zp07 ; CPU:$C58D PRG:058D 85 07 @@ -1596,10 +1598,10 @@ Label_C588: and #$02 ; CPU:$C592 PRG:0592 29 02 eor Zp07 ; CPU:$C594 PRG:0594 45 07 clc ; CPU:$C596 PRG:0596 18 - beq Label_C59A ; CPU:$C597 PRG:0597 F0 01 + beq SubCC588_Block ; CPU:$C597 PRG:0597 F0 01 sec ; CPU:$C599 PRG:0599 38 ; ----------------------------------------------------------------------------- -; Routine: Label_C59A +; Routine: SubCC588_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1607,7 +1609,7 @@ Label_C588: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C59A: +SubCC588_Block: ror $05EC ; CPU:$C59A PRG:059A 6E EC 05 ror $05ED ; CPU:$C59D PRG:059D 6E ED 05 ror $05EE ; CPU:$C5A0 PRG:05A0 6E EE 05 @@ -1615,11 +1617,12 @@ Label_C59A: lda $05EC ; CPU:$C5A6 PRG:05A6 AD EC 05 rts ; CPU:$C5A9 PRG:05A9 60 ; ---- data $C5AA-$C5D8 (47 bytes) ---- + SpriteAnimTable2: ; Sprite animation table 2 (3 entries) .byte $20, $E1, $C5, $20, $30, $C2, $20, $D9, $C5, $A9, $02, $85, $01, $A9, $50, $85 ; CPU:$C5AA PRG:05AA 20 E1 C5 20 30 C2 20 D9 C5 A9 02 85 01 A9 50 85 .byte $00, $20, $03, $C3, $20, $3B, $C2, $20, $D9, $C5, $A2, $04, $A0, $E4, $20, $17 ; CPU:$C5BA PRG:05BA 00 20 03 C3 20 3B C2 20 D9 C5 A2 04 A0 E4 20 17 .byte $C6, $A9, $01, $85, $23, $A9, $01, $8D, $FD, $05, $E6, $26, $4C, $EE, $C5 ; CPU:$C5CA PRG:05CA C6 A9 01 85 23 A9 01 8D FD 05 E6 26 4C EE C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C5D9 +; Routine: SubCC5D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1627,10 +1630,10 @@ Label_C59A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5D9: +SubCC5D9: jsr $C61E ; CPU:$C5D9 PRG:05D9 20 1E C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C5DC +; Routine: SubCC5D9_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1638,12 +1641,12 @@ Label_C5D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5DC: +SubCC5D9_Block: lda Zp20 ; CPU:$C5DC PRG:05DC A5 20 - beq Label_C5DC ; CPU:$C5DE PRG:05DE F0 FC + beq SubCC5D9_Block ; CPU:$C5DE PRG:05DE F0 FC rts ; CPU:$C5E0 PRG:05E0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C5E1 +; Routine: SubCC5E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1651,12 +1654,12 @@ Label_C5DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5E1: +SubCC5E1: jsr $C5D9 ; CPU:$C5E1 PRG:05E1 20 D9 C5 - lda Zp09 ; CPU:$C5E4 PRG:05E4 A5 09 + lda GameState ; CPU:$C5E4 PRG:05E4 A5 09 and #$E7 ; CPU:$C5E6 PRG:05E6 29 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_C5E8 +; Routine: SubCC5EE_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1664,12 +1667,12 @@ Label_C5E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5E8: - sta Zp09 ; CPU:$C5E8 PRG:05E8 85 09 - sta $2001 ; CPU:$C5EA PRG:05EA 8D 01 20 +SubCC5EE_Block: + sta GameState ; CPU:$C5E8 PRG:05E8 85 09 + sta PPUMASK ; CPU:$C5EA PRG:05EA 8D 01 20 rts ; CPU:$C5ED PRG:05ED 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C5EE +; Routine: SubCC5EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1677,13 +1680,13 @@ Label_C5E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5EE: +SubCC5EE: jsr $C5D9 ; CPU:$C5EE PRG:05EE 20 D9 C5 - lda Zp09 ; CPU:$C5F1 PRG:05F1 A5 09 + lda GameState ; CPU:$C5F1 PRG:05F1 A5 09 ora #$18 ; CPU:$C5F3 PRG:05F3 09 18 - bne Label_C5E8 ; CPU:$C5F5 PRG:05F5 D0 F1 + bne SubCC5EE_Block ; CPU:$C5F5 PRG:05F5 D0 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_C5F7 +; Routine: SubCC5F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +1694,11 @@ Label_C5EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5F7: +SubCC5F7: sty ZpA2 ; CPU:$C5F7 PRG:05F7 84 A2 ldx #$00 ; CPU:$C5F9 PRG:05F9 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C5FB +; Routine: SubCC5F7_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1703,16 +1706,16 @@ Label_C5F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5FB: +SubCC5F7_Block: lda $0300,y ; CPU:$C5FB PRG:05FB B9 00 03 sta Zp30,x ; CPU:$C5FE PRG:05FE 95 30 iny ; CPU:$C600 PRG:0600 C8 inx ; CPU:$C601 PRG:0601 E8 cpx #$50 ; CPU:$C602 PRG:0602 E0 50 - bne Label_C5FB ; CPU:$C604 PRG:0604 D0 F5 + bne SubCC5F7_Block ; CPU:$C604 PRG:0604 D0 F5 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. @@ -1720,11 +1723,11 @@ Label_C5FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C607: +SubCC607: ldy ZpA2 ; CPU:$C607 PRG:0607 A4 A2 ldx #$00 ; CPU:$C609 PRG:0609 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C60B +; Routine: SubCC607_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +1735,16 @@ Label_C607: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C60B: +SubCC607_Block: lda Zp30,x ; CPU:$C60B PRG:060B B5 30 sta $0300,y ; CPU:$C60D PRG:060D 99 00 03 iny ; CPU:$C610 PRG:0610 C8 inx ; CPU:$C611 PRG:0611 E8 cpx #$50 ; CPU:$C612 PRG:0612 E0 50 - bne Label_C60B ; CPU:$C614 PRG:0614 D0 F5 + bne SubCC607_Block ; CPU:$C614 PRG:0614 D0 F5 rts ; CPU:$C616 PRG:0616 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C617 +; Routine: SubCC617 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1749,12 +1752,12 @@ Label_C60B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C617: - stx Zp00 ; CPU:$C617 PRG:0617 86 00 - sty Zp01 ; CPU:$C619 PRG:0619 84 01 +SubCC617: + stx PtrLo ; CPU:$C617 PRG:0617 86 00 + sty PtrHi ; CPU:$C619 PRG:0619 84 01 jmp $C3B8 ; CPU:$C61B PRG:061B 4C B8 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_C61E +; Routine: SubCC61E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1762,13 +1765,13 @@ Label_C617: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C61E: +SubCC61E: lda #$00 ; CPU:$C61E PRG:061E A9 00 sta Zp20 ; CPU:$C620 PRG:0620 85 20 sta Zp22 ; CPU:$C622 PRG:0622 85 22 rts ; CPU:$C624 PRG:0624 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C625 +; Routine: SubCC625 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1776,13 +1779,13 @@ Label_C61E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C625: +SubCC625: lda Zp2D ; CPU:$C625 PRG:0625 A5 2D - bne Label_C62D ; CPU:$C627 PRG:0627 D0 04 + bne SubCC61E_Block ; CPU:$C627 PRG:0627 D0 04 lda Zp1E ; CPU:$C629 PRG:0629 A5 1E - sta Zp25 ; CPU:$C62B PRG:062B 85 25 + sta Temp ; CPU:$C62B PRG:062B 85 25 ; ----------------------------------------------------------------------------- -; Routine: Label_C62D +; Routine: SubCC61E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1790,10 +1793,10 @@ Label_C625: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C62D: +SubCC61E_Block: rts ; CPU:$C62D PRG:062D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C62E +; Routine: SubCC62E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1801,16 +1804,16 @@ Label_C62D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C62E: +SubCC62E: stx Zp1E ; CPU:$C62E PRG:062E 86 1E sta Zp2D ; CPU:$C630 PRG:0630 85 2D lda #$12 ; CPU:$C632 PRG:0632 A9 12 - sta Zp25 ; CPU:$C634 PRG:0634 85 25 + sta Temp ; CPU:$C634 PRG:0634 85 25 rts ; CPU:$C636 PRG:0636 60 ; ---- data $C637-$C640 (10 bytes) ---- .byte $A0, $00, $98, $99, $00, $03, $C8, $D0, $FA, $60 ; CPU:$C637 PRG:0637 A0 00 98 99 00 03 C8 D0 FA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C641 +; Routine: SubCC641 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1818,11 +1821,11 @@ Label_C62E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C641: +SubCC641: lda #$00 ; CPU:$C641 PRG:0641 A9 00 ldx #$30 ; CPU:$C643 PRG:0643 A2 30 ; ----------------------------------------------------------------------------- -; Routine: Label_C645 +; Routine: SubCC61E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1830,13 +1833,13 @@ Label_C641: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C645: - sta Zp00,x ; CPU:$C645 PRG:0645 95 00 +SubCC61E_Block_2: + sta PtrLo,x ; CPU:$C645 PRG:0645 95 00 inx ; CPU:$C647 PRG:0647 E8 - bne Label_C645 ; CPU:$C648 PRG:0648 D0 FB + bne SubCC61E_Block_2 ; CPU:$C648 PRG:0648 D0 FB rts ; CPU:$C64A PRG:064A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C64B +; Routine: SubCC64B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1844,11 +1847,11 @@ Label_C645: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C64B: +SubCC64B: lda #$00 ; CPU:$C64B PRG:064B A9 00 ldx #$7F ; CPU:$C64D PRG:064D A2 7F ; ----------------------------------------------------------------------------- -; Routine: Label_C64F +; Routine: SubCC61E_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +1859,13 @@ Label_C64B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C64F: +SubCC61E_Block_3: sta Zp40,x ; CPU:$C64F PRG:064F 95 40 dex ; CPU:$C651 PRG:0651 CA - bpl Label_C64F ; CPU:$C652 PRG:0652 10 FB + bpl SubCC61E_Block_3 ; CPU:$C652 PRG:0652 10 FB rts ; CPU:$C654 PRG:0654 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C655 +; Routine: SubCC655 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1870,11 +1873,11 @@ Label_C64F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C655: +SubCC655: ldx #$03 ; CPU:$C655 PRG:0655 A2 03 ldy #$05 ; CPU:$C657 PRG:0657 A0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C659 +; Routine: SubCC655_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1882,7 +1885,7 @@ Label_C655: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C659: +SubCC655_Block: lda ZpC3,x ; CPU:$C659 PRG:0659 B5 C3 and #$0F ; CPU:$C65B PRG:065B 29 0F sta $0501,y ; CPU:$C65D PRG:065D 99 01 05 @@ -1895,14 +1898,14 @@ Label_C659: sta $0501,y ; CPU:$C667 PRG:0667 99 01 05 dex ; CPU:$C66A PRG:066A CA dey ; CPU:$C66B PRG:066B 88 - bpl Label_C659 ; CPU:$C66C PRG:066C 10 EB + bpl SubCC655_Block ; CPU:$C66C PRG:066C 10 EB lda #$16 ; CPU:$C66E PRG:066E A9 16 sta $0500 ; CPU:$C670 PRG:0670 8D 00 05 ldx $E5DC ; CPU:$C673 PRG:0673 AE DC E5 ldy $E5DB ; CPU:$C676 PRG:0676 AC DB E5 jmp $C71D ; CPU:$C679 PRG:0679 4C 1D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C67C +; Routine: SubCC67C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,8 +1913,8 @@ Label_C659: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C67C: - lda Zp0C ; CPU:$C67C PRG:067C A5 0C +SubCC67C: + lda Ptr2Lo ; CPU:$C67C PRG:067C A5 0C asl a ; CPU:$C67E PRG:067E 0A tay ; CPU:$C67F PRG:067F A8 lda $EB30,y ; CPU:$C680 PRG:0680 B9 30 EB @@ -1921,7 +1924,7 @@ Label_C67C: ldy #$00 ; CPU:$C68A PRG:068A A0 00 ldx #$00 ; CPU:$C68C PRG:068C A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C68E +; Routine: SubCC68E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1929,12 +1932,12 @@ Label_C67C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C68E: +SubCC68E: lda (Zp10),y ; CPU:$C68E PRG:068E B1 10 cmp #$AA ; CPU:$C690 PRG:0690 C9 AA - bne Label_C695 ; CPU:$C692 PRG:0692 D0 01 + bne SubCC68E_Block ; CPU:$C692 PRG:0692 D0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C694 +; Routine: SubCC6F5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1942,10 +1945,10 @@ Label_C68E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C694: +SubCC6F5_Block: rts ; CPU:$C694 PRG:0694 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C695 +; Routine: SubCC68E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1953,14 +1956,14 @@ Label_C694: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C695: +SubCC68E_Block: clc ; CPU:$C695 PRG:0695 18 adc ZpB1 ; CPU:$C696 PRG:0696 65 B1 cmp #$A8 ; CPU:$C698 PRG:0698 C9 A8 - bcc Label_C69E ; CPU:$C69A PRG:069A 90 02 + bcc SubCC68E_Block_2 ; CPU:$C69A PRG:069A 90 02 lda #$F4 ; CPU:$C69C PRG:069C A9 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_C69E +; Routine: SubCC68E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1968,7 +1971,7 @@ Label_C695: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C69E: +SubCC68E_Block_2: sta Zp0D ; CPU:$C69E PRG:069E 85 0D iny ; CPU:$C6A0 PRG:06A0 C8 lda (Zp10),y ; CPU:$C6A1 PRG:06A1 B1 10 @@ -1990,7 +1993,7 @@ Label_C69E: inx ; CPU:$C6C0 PRG:06C0 E8 jmp $C68E ; CPU:$C6C1 PRG:06C1 4C 8E C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C6C4 +; Routine: SubCC6C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1998,18 +2001,18 @@ Label_C69E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6C4: +SubCC6C4: lda ZpAD ; CPU:$C6C4 PRG:06C4 A5 AD - beq Label_C694 ; CPU:$C6C6 PRG:06C6 F0 CC + beq SubCC6F5_Block ; CPU:$C6C6 PRG:06C6 F0 CC lda #$00 ; CPU:$C6C8 PRG:06C8 A9 00 sta ZpAD ; CPU:$C6CA PRG:06CA 85 AD lda #$D6 ; CPU:$C6CC PRG:06CC A9 D6 ldy Zp1F ; CPU:$C6CE PRG:06CE A4 1F cpy #$02 ; CPU:$C6D0 PRG:06D0 C0 02 - bne Label_C6D6 ; CPU:$C6D2 PRG:06D2 D0 02 + bne SubCC6C4_Block_2 ; CPU:$C6D2 PRG:06D2 D0 02 lda #$D4 ; CPU:$C6D4 PRG:06D4 A9 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_C6D6 +; Routine: SubCC6C4_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +2020,11 @@ Label_C6C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6D6: - sta Zp0C ; CPU:$C6D6 PRG:06D6 85 0C +SubCC6C4_Block_2: + sta Ptr2Lo ; CPU:$C6D6 PRG:06D6 85 0C ldx #$09 ; CPU:$C6D8 PRG:06D8 A2 09 ; ----------------------------------------------------------------------------- -; Routine: Label_C6DA +; Routine: SubCC6C4_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +2032,13 @@ Label_C6D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6DA: - ldy Zp0C ; CPU:$C6DA PRG:06DA A4 0C +SubCC6C4_Block_4: + ldy Ptr2Lo ; CPU:$C6DA PRG:06DA A4 0C lda $03F0,x ; CPU:$C6DC PRG:06DC BD F0 03 - beq Label_C6E2 ; CPU:$C6DF PRG:06DF F0 01 + beq SubCC6C4_Block_3 ; CPU:$C6DF PRG:06DF F0 01 dey ; CPU:$C6E1 PRG:06E1 88 ; ----------------------------------------------------------------------------- -; Routine: Label_C6E2 +; Routine: SubCC6C4_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +2046,18 @@ Label_C6DA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6E2: +SubCC6C4_Block_3: tya ; CPU:$C6E2 PRG:06E2 98 sta $0501,x ; CPU:$C6E3 PRG:06E3 9D 01 05 dex ; CPU:$C6E6 PRG:06E6 CA - bpl Label_C6DA ; CPU:$C6E7 PRG:06E7 10 F1 + bpl SubCC6C4_Block_4 ; CPU:$C6E7 PRG:06E7 10 F1 lda #$1A ; CPU:$C6E9 PRG:06E9 A9 1A sta $0500 ; CPU:$C6EB PRG:06EB 8D 00 05 ldx #$4C ; CPU:$C6EE PRG:06EE A2 4C ldy #$23 ; CPU:$C6F0 PRG:06F0 A0 23 jmp $C71D ; CPU:$C6F2 PRG:06F2 4C 1D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C6F5 +; Routine: SubCC6F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2062,15 +2065,15 @@ Label_C6E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6F5: +SubCC6F5: lda ZpBE ; CPU:$C6F5 PRG:06F5 A5 BE - beq Label_C694 ; CPU:$C6F7 PRG:06F7 F0 9B + beq SubCC6F5_Block ; CPU:$C6F7 PRG:06F7 F0 9B lda #$00 ; CPU:$C6F9 PRG:06F9 A9 00 sta ZpBE ; CPU:$C6FB PRG:06FB 85 BE ldx ZpBA ; CPU:$C6FD PRG:06FD A6 BA ldy #$00 ; CPU:$C6FF PRG:06FF A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C701 +; Routine: SubCC6F5_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2078,14 +2081,14 @@ Label_C6F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C701: +SubCC6F5_Block_4: cpx #$00 ; CPU:$C701 PRG:0701 E0 00 - beq Label_C70A ; CPU:$C703 PRG:0703 F0 05 + beq SubCC6F5_Block_2 ; CPU:$C703 PRG:0703 F0 05 dex ; CPU:$C705 PRG:0705 CA lda #$D9 ; CPU:$C706 PRG:0706 A9 D9 - bne Label_C70C ; CPU:$C708 PRG:0708 D0 02 + bne SubCC6F5_Block_3 ; CPU:$C708 PRG:0708 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C70A +; Routine: SubCC6F5_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2093,10 +2096,10 @@ Label_C701: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C70A: +SubCC6F5_Block_2: lda #$B7 ; CPU:$C70A PRG:070A A9 B7 ; ----------------------------------------------------------------------------- -; Routine: Label_C70C +; Routine: SubCC6F5_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2104,17 +2107,17 @@ Label_C70A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C70C: +SubCC6F5_Block_3: sta $0501,y ; CPU:$C70C PRG:070C 99 01 05 iny ; CPU:$C70F PRG:070F C8 cpy #$03 ; CPU:$C710 PRG:0710 C0 03 - bne Label_C701 ; CPU:$C712 PRG:0712 D0 ED + bne SubCC6F5_Block_4 ; CPU:$C712 PRG:0712 D0 ED lda #$13 ; CPU:$C714 PRG:0714 A9 13 sta $0500 ; CPU:$C716 PRG:0716 8D 00 05 ldx #$43 ; CPU:$C719 PRG:0719 A2 43 ldy #$23 ; CPU:$C71B PRG:071B A0 23 ; ----------------------------------------------------------------------------- -; Routine: Label_C71D +; Routine: SubCC71D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2122,15 +2125,16 @@ Label_C70C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C71D: - stx Zp00 ; CPU:$C71D PRG:071D 86 00 - sty Zp01 ; CPU:$C71F PRG:071F 84 01 +SubCC71D: + stx PtrLo ; CPU:$C71D PRG:071D 86 00 + sty PtrHi ; CPU:$C71F PRG:071F 84 01 ldx #$00 ; CPU:$C721 PRG:0721 A2 00 ldy #$05 ; CPU:$C723 PRG:0723 A0 05 stx Zp02 ; CPU:$C725 PRG:0725 86 02 sty Zp03 ; CPU:$C727 PRG:0727 84 03 jmp $C3CE ; CPU:$C729 PRG:0729 4C CE C3 ; ---- data $C72C-$C7FA (207 bytes) ---- + SpriteDataTable: ; Sprite data table (13 entries) .byte $A5, $2D, $F0, $0A, $A5, $1F, $C9, $02, $F0, $03, $4C, $94, $CC, $60, $A2, $03 ; CPU:$C72C PRG:072C A5 2D F0 0A A5 1F C9 02 F0 03 4C 94 CC 60 A2 03 .byte $B5, $C3, $95, $C7, $CA, $10, $F9, $A5, $1F, $0A, $0A, $A8, $84, $0F, $A2, $00 ; CPU:$C73C PRG:073C B5 C3 95 C7 CA 10 F9 A5 1F 0A 0A A8 84 0F A2 00 .byte $B9, $F0, $05, $95, $C3, $C8, $E8, $E0, $04, $D0, $F5, $A9, $F0, $85, $00, $20 ; CPU:$C74C PRG:074C B9 F0 05 95 C3 C8 E8 E0 04 D0 F5 A9 F0 85 00 20 @@ -2145,7 +2149,7 @@ Label_C71D: .byte $4A, $9D, $01, $05, $E8, $A5, $C1, $29, $0F, $9D, $01, $05, $A2, $05, $A0, $23 ; CPU:$C7DC PRG:07DC 4A 9D 01 05 E8 A5 C1 29 0F 9D 01 05 A2 05 A0 23 .byte $4C, $1D, $C7, $A5, $9D, $F0, $03, $4C, $FB, $C7, $A9, $0A, $85, $25, $60 ; CPU:$C7EC PRG:07EC 4C 1D C7 A5 9D F0 03 4C FB C7 A9 0A 85 25 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C7FB +; Routine: SubCC7FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2153,14 +2157,14 @@ Label_C71D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7FB: +SubCC7FB: lda Zp2B ; CPU:$C7FB PRG:07FB A5 2B - bne Label_C81C ; CPU:$C7FD PRG:07FD D0 1D + bne SubCC7FB_Block_2 ; CPU:$C7FD PRG:07FD D0 1D ldy Zp9D ; CPU:$C7FF PRG:07FF A4 9D - beq Label_C81C ; CPU:$C801 PRG:0801 F0 19 + beq SubCC7FB_Block_2 ; CPU:$C801 PRG:0801 F0 19 lda $EC1F,y ; CPU:$C803 PRG:0803 B9 1F EC cmp #$AA ; CPU:$C806 PRG:0806 C9 AA - beq Label_C818 ; CPU:$C808 PRG:0808 F0 0E + beq SubCC7FB_Block_3 ; CPU:$C808 PRG:0808 F0 0E pha ; CPU:$C80A PRG:080A 48 iny ; CPU:$C80B PRG:080B C8 lda $EC1F,y ; CPU:$C80C PRG:080C B9 1F EC @@ -2170,7 +2174,7 @@ Label_C7FB: pla ; CPU:$C814 PRG:0814 68 jmp $D46C ; CPU:$C815 PRG:0815 4C 6C D4 ; ----------------------------------------------------------------------------- -; Routine: Label_C818 +; Routine: SubCC7FB_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2178,11 +2182,11 @@ Label_C7FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C818: +SubCC7FB_Block_3: lda #$00 ; CPU:$C818 PRG:0818 A9 00 sta Zp9D ; CPU:$C81A PRG:081A 85 9D ; ----------------------------------------------------------------------------- -; Routine: Label_C81C +; Routine: SubCC7FB_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2190,13 +2194,13 @@ Label_C818: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C81C: +SubCC7FB_Block_2: rts ; CPU:$C81C PRG:081C 60 ; ---- data $C81D-$C838 (28 bytes) ---- .byte $20, $41, $C6, $20, $D9, $C5, $20, $2B, $C2, $20, $D9, $D4, $A2, $01, $AD, $FE ; CPU:$C81D PRG:081D 20 41 C6 20 D9 C5 20 2B C2 20 D9 D4 A2 01 AD FE .byte $05, $85, $1F, $C9, $02, $90, $02, $A2, $08, $86, $25, $60 ; CPU:$C82D PRG:082D 05 85 1F C9 02 90 02 A2 08 86 25 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C839 +; Routine: SubCC839 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +2208,15 @@ Label_C81C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C839: +SubCC839: jsr $C5D9 ; CPU:$C839 PRG:0839 20 D9 C5 ldx #$42 ; CPU:$C83C PRG:083C A2 42 ldy #$E0 ; CPU:$C83E PRG:083E A0 E0 jsr $C617 ; CPU:$C840 PRG:0840 20 17 C6 lda #$02 ; CPU:$C843 PRG:0843 A9 02 - sta Zp23 ; CPU:$C845 PRG:0845 85 23 + sta SprData ; CPU:$C845 PRG:0845 85 23 lda #$02 ; CPU:$C847 PRG:0847 A9 02 - sta Zp25 ; CPU:$C849 PRG:0849 85 25 + sta Temp ; CPU:$C849 PRG:0849 85 25 jsr $C3C1 ; CPU:$C84B PRG:084B 20 C1 C3 jsr $C5EE ; CPU:$C84E PRG:084E 20 EE C5 jmp $D515 ; CPU:$C851 PRG:0851 4C 15 D5 @@ -2220,7 +2224,7 @@ Label_C839: .byte $20, $D9, $D4, $20, $A4, $D2, $20, $93, $C7, $20, $B3, $C7, $EA, $EA, $EA, $A9 ; CPU:$C854 PRG:0854 20 D9 D4 20 A4 D2 20 93 C7 20 B3 C7 EA EA EA A9 .byte $00, $85, $B5, $85, $9D, $A9, $03, $85, $25, $60 ; CPU:$C864 PRG:0864 00 85 B5 85 9D A9 03 85 25 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C86E +; Routine: SubCC86E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2228,7 +2232,7 @@ Label_C839: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C86E: +SubCC86E: jsr $D131 ; CPU:$C86E PRG:086E 20 31 D1 jsr $D160 ; CPU:$C871 PRG:0871 20 60 D1 jsr $CC94 ; CPU:$C874 PRG:0874 20 94 CC @@ -2244,7 +2248,7 @@ Label_C86E: nop ; CPU:$C88E PRG:088E EA rts ; CPU:$C88F PRG:088F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C890 +; Routine: SubCC890 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +2256,16 @@ Label_C86E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C890: +SubCC890: lda $0300 ; CPU:$C890 PRG:0890 AD 00 03 - beq Label_C8A2 ; CPU:$C893 PRG:0893 F0 0D + beq SubCC890_Block ; CPU:$C893 PRG:0893 F0 0D ldy #$00 ; CPU:$C895 PRG:0895 A0 00 sty ZpA1 ; CPU:$C897 PRG:0897 84 A1 jsr $C5F7 ; CPU:$C899 PRG:0899 20 F7 C5 jsr $C902 ; CPU:$C89C PRG:089C 20 02 C9 jsr $C607 ; CPU:$C89F PRG:089F 20 07 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C8A2 +; Routine: SubCC890_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2269,16 +2273,16 @@ Label_C890: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8A2: +SubCC890_Block: lda $0350 ; CPU:$C8A2 PRG:08A2 AD 50 03 - beq Label_C8B4 ; CPU:$C8A5 PRG:08A5 F0 0D + beq SubCC890_Block_2 ; CPU:$C8A5 PRG:08A5 F0 0D ldy #$50 ; CPU:$C8A7 PRG:08A7 A0 50 inc ZpA1 ; CPU:$C8A9 PRG:08A9 E6 A1 jsr $C5F7 ; CPU:$C8AB PRG:08AB 20 F7 C5 jsr $C902 ; CPU:$C8AE PRG:08AE 20 02 C9 jsr $C607 ; CPU:$C8B1 PRG:08B1 20 07 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C8B4 +; Routine: SubCC890_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +2290,17 @@ Label_C8A2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8B4: +SubCC890_Block_2: lda ZpB9 ; CPU:$C8B4 PRG:08B4 A5 B9 - beq Label_C901 ; CPU:$C8B6 PRG:08B6 F0 49 + beq SubCC890_Block_11 ; CPU:$C8B6 PRG:08B6 F0 49 ldy Zp9F ; CPU:$C8B8 PRG:08B8 A4 9F - bne Label_C8C4 ; CPU:$C8BA PRG:08BA D0 08 + bne SubCC890_Block_5 ; CPU:$C8BA PRG:08BA D0 08 ldy #$41 ; CPU:$C8BC PRG:08BC A0 41 lda ZpBA ; CPU:$C8BE PRG:08BE A5 BA - bne Label_C8C4 ; CPU:$C8C0 PRG:08C0 D0 02 + bne SubCC890_Block_5 ; CPU:$C8C0 PRG:08C0 D0 02 ldy #$15 ; CPU:$C8C2 PRG:08C2 A0 15 ; ----------------------------------------------------------------------------- -; Routine: Label_C8C4 +; Routine: SubCC890_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2304,25 +2308,25 @@ Label_C8B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8C4: +SubCC890_Block_5: dey ; CPU:$C8C4 PRG:08C4 88 sty Zp9F ; CPU:$C8C5 PRG:08C5 84 9F lda ZpBC ; CPU:$C8C7 PRG:08C7 A5 BC - bne Label_C8FB ; CPU:$C8C9 PRG:08C9 D0 30 + bne SubCC890_Block_6 ; CPU:$C8C9 PRG:08C9 D0 30 lda $0301 ; CPU:$C8CB PRG:08CB AD 01 03 - bne Label_C901 ; CPU:$C8CE PRG:08CE D0 31 + bne SubCC890_Block_11 ; CPU:$C8CE PRG:08CE D0 31 lda $0351 ; CPU:$C8D0 PRG:08D0 AD 51 03 - bne Label_C901 ; CPU:$C8D3 PRG:08D3 D0 2C + bne SubCC890_Block_11 ; CPU:$C8D3 PRG:08D3 D0 2C lda Zp2B ; CPU:$C8D5 PRG:08D5 A5 2B - bne Label_C901 ; CPU:$C8D7 PRG:08D7 D0 28 + bne SubCC890_Block_11 ; CPU:$C8D7 PRG:08D7 D0 28 lda #$0A ; CPU:$C8D9 PRG:08D9 A9 0A ldy #$07 ; CPU:$C8DB PRG:08DB A0 07 ldx ZpBD ; CPU:$C8DD PRG:08DD A6 BD - beq Label_C8E5 ; CPU:$C8DF PRG:08DF F0 04 + beq SubCC890_Block_10 ; CPU:$C8DF PRG:08DF F0 04 lda #$0C ; CPU:$C8E1 PRG:08E1 A9 0C ldy #$02 ; CPU:$C8E3 PRG:08E3 A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C8E5 +; Routine: SubCC890_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,9 +2334,9 @@ Label_C8C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8E5: +SubCC890_Block_10: sta $03A1 ; CPU:$C8E5 PRG:08E5 8D A1 03 - sty Zp23 ; CPU:$C8E8 PRG:08E8 84 23 + sty SprData ; CPU:$C8E8 PRG:08E8 84 23 jsr $C5D9 ; CPU:$C8EA PRG:08EA 20 D9 C5 jsr $D446 ; CPU:$C8ED PRG:08ED 20 46 D4 lda #$40 ; CPU:$C8F0 PRG:08F0 A9 40 @@ -2341,7 +2345,7 @@ Label_C8E5: sta ZpB9 ; CPU:$C8F6 PRG:08F6 85 B9 jmp $D464 ; CPU:$C8F8 PRG:08F8 4C 64 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_C8FB +; Routine: SubCC890_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2349,12 +2353,12 @@ Label_C8E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8FB: +SubCC890_Block_6: lda ZpA6 ; CPU:$C8FB PRG:08FB A5 A6 - beq Label_C901 ; CPU:$C8FD PRG:08FD F0 02 + beq SubCC890_Block_11 ; CPU:$C8FD PRG:08FD F0 02 dec ZpA6 ; CPU:$C8FF PRG:08FF C6 A6 ; ----------------------------------------------------------------------------- -; Routine: Label_C901 +; Routine: SubCC890_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2362,10 +2366,10 @@ Label_C8FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C901: +SubCC890_Block_11: rts ; CPU:$C901 PRG:0901 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C902 +; Routine: SubCC902 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,8 +2377,8 @@ Label_C901: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C902: - lda Zp31 ; CPU:$C902 PRG:0902 A5 31 +SubCC902: + lda CtrlState ; CPU:$C902 PRG:0902 A5 31 jsr $C35E ; CPU:$C904 PRG:0904 20 5E C3 cpx #$C5 ; CPU:$C907 PRG:0907 E0 C5 ora $32C9,y ; CPU:$C909 PRG:0909 19 C9 32 @@ -2385,7 +2389,7 @@ Label_C902: .byte $30, $CA, $10, $F8, $A5, $A1, $F0, $08, $A9, $40, $85, $36, $A9, $7F, $85, $37 ; CPU:$C91F PRG:091F 30 CA 10 F8 A5 A1 F0 08 A9 40 85 36 A9 7F 85 37 .byte $E6, $31 ; CPU:$C92F PRG:092F E6 31 ; ----------------------------------------------------------------------------- -; Routine: Label_C931 +; Routine: SubCC902_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2393,10 +2397,10 @@ Label_C902: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C931: +SubCC902_Block_2: rts ; CPU:$C931 PRG:0931 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C932 +; Routine: SubCC932 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +2408,19 @@ Label_C931: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C932: +SubCC932: lda ZpB9 ; CPU:$C932 PRG:0932 A5 B9 - beq Label_C931 ; CPU:$C934 PRG:0934 F0 FB + beq SubCC902_Block_2 ; CPU:$C934 PRG:0934 F0 FB lda ZpA6 ; CPU:$C936 PRG:0936 A5 A6 - bne Label_C931 ; CPU:$C938 PRG:0938 D0 F7 + bne SubCC902_Block_2 ; CPU:$C938 PRG:0938 D0 F7 jsr $C588 ; CPU:$C93A PRG:093A 20 88 C5 and #$0F ; CPU:$C93D PRG:093D 29 0F ldy Zp1F ; CPU:$C93F PRG:093F A4 1F - bne Label_C946 ; CPU:$C941 PRG:0941 D0 03 + bne SubCC902_Block_3 ; CPU:$C941 PRG:0941 D0 03 clc ; CPU:$C943 PRG:0943 18 adc #$10 ; CPU:$C944 PRG:0944 69 10 ; ----------------------------------------------------------------------------- -; Routine: Label_C946 +; Routine: SubCC902_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +2428,17 @@ Label_C932: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C946: +SubCC902_Block_3: cmp Zp9C ; CPU:$C946 PRG:0946 C5 9C - bne Label_C958 ; CPU:$C948 PRG:0948 D0 0E + bne SubCC902_Block_6 ; CPU:$C948 PRG:0948 D0 0E clc ; CPU:$C94A PRG:094A 18 adc #$01 ; CPU:$C94B PRG:094B 69 01 cmp #$10 ; CPU:$C94D PRG:094D C9 10 - beq Label_C955 ; CPU:$C94F PRG:094F F0 04 + beq SubCC902_Block_5 ; CPU:$C94F PRG:094F F0 04 cmp #$20 ; CPU:$C951 PRG:0951 C9 20 - bne Label_C958 ; CPU:$C953 PRG:0953 D0 03 + bne SubCC902_Block_6 ; CPU:$C953 PRG:0953 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C955 +; Routine: SubCC902_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2442,11 +2446,11 @@ Label_C946: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C955: +SubCC902_Block_5: sec ; CPU:$C955 PRG:0955 38 sbc #$10 ; CPU:$C956 PRG:0956 E9 10 ; ----------------------------------------------------------------------------- -; Routine: Label_C958 +; Routine: SubCC902_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +2458,7 @@ Label_C955: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C958: +SubCC902_Block_6: sta Zp9C ; CPU:$C958 PRG:0958 85 9C asl a ; CPU:$C95A PRG:095A 0A tax ; CPU:$C95B PRG:095B AA @@ -2474,10 +2478,10 @@ Label_C958: sta Zp33 ; CPU:$C976 PRG:0976 85 33 ldy #$00 ; CPU:$C978 PRG:0978 A0 00 ldx Zp99 ; CPU:$C97A PRG:097A A6 99 - beq Label_C980 ; CPU:$C97C PRG:097C F0 02 + beq SubCC902_Block_7 ; CPU:$C97C PRG:097C F0 02 ldy #$02 ; CPU:$C97E PRG:097E A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C980 +; Routine: SubCC902_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2485,17 +2489,17 @@ Label_C958: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C980: +SubCC902_Block_7: sty Zp3C ; CPU:$C980 PRG:0980 84 3C inc Zp99 ; CPU:$C982 PRG:0982 E6 99 ldx Zp98 ; CPU:$C984 PRG:0984 A6 98 lda $E766,x ; CPU:$C986 PRG:0986 BD 66 E7 cpy #$00 ; CPU:$C989 PRG:0989 C0 00 - beq Label_C992 ; CPU:$C98B PRG:098B F0 05 + beq SubCC902_Block_8 ; CPU:$C98B PRG:098B F0 05 and #$0F ; CPU:$C98D PRG:098D 29 0F jmp $C996 ; CPU:$C98F PRG:098F 4C 96 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C992 +; Routine: SubCC902_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2503,13 +2507,13 @@ Label_C980: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C992: +SubCC902_Block_8: lsr a ; CPU:$C992 PRG:0992 4A lsr a ; CPU:$C993 PRG:0993 4A lsr a ; CPU:$C994 PRG:0994 4A lsr a ; CPU:$C995 PRG:0995 4A ; ----------------------------------------------------------------------------- -; Routine: Label_C996 +; Routine: SubCC996 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2517,24 +2521,24 @@ Label_C992: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C996: +SubCC996: sta Zp3F ; CPU:$C996 PRG:0996 85 3F ldx ZpC1 ; CPU:$C998 PRG:0998 A6 C1 lda Zp1F ; CPU:$C99A PRG:099A A5 1F - bne Label_C9B9 ; CPU:$C99C PRG:099C D0 1B + bne SubCC996_Block ; CPU:$C99C PRG:099C D0 1B lda #$0B ; CPU:$C99E PRG:099E A9 0B cpx #$12 ; CPU:$C9A0 PRG:09A0 E0 12 - bcs Label_C9B2 ; CPU:$C9A2 PRG:09A2 B0 0E + bcs SubCC996_Block_4 ; CPU:$C9A2 PRG:09A2 B0 0E lda #$0A ; CPU:$C9A4 PRG:09A4 A9 0A cpx #$11 ; CPU:$C9A6 PRG:09A6 E0 11 - bcs Label_C9B2 ; CPU:$C9A8 PRG:09A8 B0 08 + bcs SubCC996_Block_4 ; CPU:$C9A8 PRG:09A8 B0 08 lda #$09 ; CPU:$C9AA PRG:09AA A9 09 cpx #$10 ; CPU:$C9AC PRG:09AC E0 10 - bcs Label_C9B2 ; CPU:$C9AE PRG:09AE B0 02 + bcs SubCC996_Block_4 ; CPU:$C9AE PRG:09AE B0 02 dex ; CPU:$C9B0 PRG:09B0 CA txa ; CPU:$C9B1 PRG:09B1 8A ; ----------------------------------------------------------------------------- -; Routine: Label_C9B2 +; Routine: SubCC996_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2542,12 +2546,12 @@ Label_C996: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9B2: +SubCC996_Block_4: tax ; CPU:$C9B2 PRG:09B2 AA lda $E75A,x ; CPU:$C9B3 PRG:09B3 BD 5A E7 jmp $C9D0 ; CPU:$C9B6 PRG:09B6 4C D0 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C9B9 +; Routine: SubCC996_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2555,19 +2559,19 @@ Label_C9B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9B9: +SubCC996_Block: lda #$1B ; CPU:$C9B9 PRG:09B9 A9 1B ldx ZpC1 ; CPU:$C9BB PRG:09BB A6 C1 cpx #$10 ; CPU:$C9BD PRG:09BD E0 10 - bcs Label_C9C9 ; CPU:$C9BF PRG:09BF B0 08 + bcs SubCC996_Block_5 ; CPU:$C9BF PRG:09BF B0 08 dex ; CPU:$C9C1 PRG:09C1 CA txa ; CPU:$C9C2 PRG:09C2 8A - sta Zp0C ; CPU:$C9C3 PRG:09C3 85 0C + sta Ptr2Lo ; CPU:$C9C3 PRG:09C3 85 0C asl a ; CPU:$C9C5 PRG:09C5 0A clc ; CPU:$C9C6 PRG:09C6 18 - adc Zp0C ; CPU:$C9C7 PRG:09C7 65 0C + adc Ptr2Lo ; CPU:$C9C7 PRG:09C7 65 0C ; ----------------------------------------------------------------------------- -; Routine: Label_C9C9 +; Routine: SubCC996_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +2579,13 @@ Label_C9B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9C9: +SubCC996_Block_5: clc ; CPU:$C9C9 PRG:09C9 18 adc Zp3F ; CPU:$C9CA PRG:09CA 65 3F tax ; CPU:$C9CC PRG:09CC AA lda $E73C,x ; CPU:$C9CD PRG:09CD BD 3C E7 ; ----------------------------------------------------------------------------- -; Routine: Label_C9D0 +; Routine: SubCC9D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2589,18 +2593,18 @@ Label_C9C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9D0: +SubCC9D0: sta Zp5E ; CPU:$C9D0 PRG:09D0 85 5E ldx ZpC1 ; CPU:$C9D2 PRG:09D2 A6 C1 lda #$0B ; CPU:$C9D4 PRG:09D4 A9 0B cpx #$27 ; CPU:$C9D6 PRG:09D6 E0 27 - bcs Label_C9E2 ; CPU:$C9D8 PRG:09D8 B0 08 + bcs SubCC9D0_Block_2 ; CPU:$C9D8 PRG:09D8 B0 08 lda #$0A ; CPU:$C9DA PRG:09DA A9 0A cpx #$24 ; CPU:$C9DC PRG:09DC E0 24 - bcs Label_C9E2 ; CPU:$C9DE PRG:09DE B0 02 + bcs SubCC9D0_Block_2 ; CPU:$C9DE PRG:09DE B0 02 lda #$09 ; CPU:$C9E0 PRG:09E0 A9 09 ; ----------------------------------------------------------------------------- -; Routine: Label_C9E2 +; Routine: SubCC9D0_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2608,7 +2612,7 @@ Label_C9D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9E2: +SubCC9D0_Block_2: sta Zp3A ; CPU:$C9E2 PRG:09E2 85 3A lda #$00 ; CPU:$C9E4 PRG:09E4 A9 00 sta Zp46 ; CPU:$C9E6 PRG:09E6 85 46 @@ -2619,17 +2623,17 @@ Label_C9E2: sta Zp4B ; CPU:$C9F0 PRG:09F0 85 4B sta ZpAE ; CPU:$C9F2 PRG:09F2 85 AE lda Zp1F ; CPU:$C9F4 PRG:09F4 A5 1F - bne Label_CA0E ; CPU:$C9F6 PRG:09F6 D0 16 + bne SubCC9D0_Block_3 ; CPU:$C9F6 PRG:09F6 D0 16 ldx ZpC1 ; CPU:$C9F8 PRG:09F8 A6 C1 lda #$7D ; CPU:$C9FA PRG:09FA A9 7D cpx #$11 ; CPU:$C9FC PRG:09FC E0 11 - bcc Label_CA08 ; CPU:$C9FE PRG:09FE 90 08 + bcc SubCC9D0_Block_5 ; CPU:$C9FE PRG:09FE 90 08 lda #$5D ; CPU:$CA00 PRG:0A00 A9 5D cpx #$20 ; CPU:$CA02 PRG:0A02 E0 20 - bcc Label_CA08 ; CPU:$CA04 PRG:0A04 90 02 + bcc SubCC9D0_Block_5 ; CPU:$CA04 PRG:0A04 90 02 lda #$3E ; CPU:$CA06 PRG:0A06 A9 3E ; ----------------------------------------------------------------------------- -; Routine: Label_CA08 +; Routine: SubCC9D0_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2637,10 +2641,10 @@ Label_C9E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA08: +SubCC9D0_Block_5: sta Zp4C ; CPU:$CA08 PRG:0A08 85 4C ; ----------------------------------------------------------------------------- -; Routine: Label_CA0A +; Routine: SubCCA0A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2648,11 +2652,11 @@ Label_CA08: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA0A: +SubCCA0A: lda #$00 ; CPU:$CA0A PRG:0A0A A9 00 sta ZpAF ; CPU:$CA0C PRG:0A0C 85 AF ; ----------------------------------------------------------------------------- -; Routine: Label_CA0E +; Routine: SubCC9D0_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2660,15 +2664,15 @@ Label_CA0A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA0E: +SubCC9D0_Block_3: inc ZpBB ; CPU:$CA0E PRG:0A0E E6 BB lda ZpBB ; CPU:$CA10 PRG:0A10 A5 BB sta Zp3B ; CPU:$CA12 PRG:0A12 85 3B dec ZpBC ; CPU:$CA14 PRG:0A14 C6 BC - inc Zp31 ; CPU:$CA16 PRG:0A16 E6 31 + inc CtrlState ; CPU:$CA16 PRG:0A16 E6 31 rts ; CPU:$CA18 PRG:0A18 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA19 +; Routine: SubCCA19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2676,13 +2680,13 @@ Label_CA0E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA19: +SubCCA19: lda Zp2F ; CPU:$CA19 PRG:0A19 A5 2F and #$07 ; CPU:$CA1B PRG:0A1B 29 07 - bne Label_CA22 ; CPU:$CA1D PRG:0A1D D0 03 + bne SubCC9D0_Block_6 ; CPU:$CA1D PRG:0A1D D0 03 jsr $D4EE ; CPU:$CA1F PRG:0A1F 20 EE D4 ; ----------------------------------------------------------------------------- -; Routine: Label_CA22 +; Routine: SubCC9D0_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2690,12 +2694,12 @@ Label_CA19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA22: +SubCC9D0_Block_6: lda Zp9F ; CPU:$CA22 PRG:0A22 A5 9F - bne Label_CA29 ; CPU:$CA24 PRG:0A24 D0 03 + bne SubCC9D0_Block_7 ; CPU:$CA24 PRG:0A24 D0 03 jsr $D52C ; CPU:$CA26 PRG:0A26 20 2C D5 ; ----------------------------------------------------------------------------- -; Routine: Label_CA29 +; Routine: SubCC9D0_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2703,11 +2707,11 @@ Label_CA22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA29: +SubCC9D0_Block_7: lda ZpBA ; CPU:$CA29 PRG:0A29 A5 BA - bne Label_CA3E ; CPU:$CA2B PRG:0A2B D0 11 + bne SubCC9D0_Block_9 ; CPU:$CA2B PRG:0A2B D0 11 lda Zp4E ; CPU:$CA2D PRG:0A2D A5 4E - bne Label_CA3E ; CPU:$CA2F PRG:0A2F D0 0D + bne SubCC9D0_Block_9 ; CPU:$CA2F PRG:0A2F D0 0D lda #$01 ; CPU:$CA31 PRG:0A31 A9 01 sta Zp4E ; CPU:$CA33 PRG:0A33 85 4E lda #$F0 ; CPU:$CA35 PRG:0A35 A9 F0 @@ -2715,7 +2719,7 @@ Label_CA29: lda #$00 ; CPU:$CA39 PRG:0A39 A9 00 jmp $CB77 ; CPU:$CA3B PRG:0A3B 4C 77 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CA3E +; Routine: SubCC9D0_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2723,11 +2727,11 @@ Label_CA29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA3E: +SubCC9D0_Block_9: lda Zp1F ; CPU:$CA3E PRG:0A3E A5 1F - beq Label_CA45 ; CPU:$CA40 PRG:0A40 F0 03 + beq SubCC9D0_Block_10 ; CPU:$CA40 PRG:0A40 F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CA42 +; Routine: SubCC9D0_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2735,10 +2739,10 @@ Label_CA3E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA42: +SubCC9D0_Block_12: jmp $CB59 ; CPU:$CA42 PRG:0A42 4C 59 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CA45 +; Routine: SubCC9D0_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +2750,16 @@ Label_CA42: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA45: +SubCC9D0_Block_10: lda Zp4B ; CPU:$CA45 PRG:0A45 A5 4B - beq Label_CA53 ; CPU:$CA47 PRG:0A47 F0 0A - lda Zp32 ; CPU:$CA49 PRG:0A49 A5 32 + beq SubCC9D0_Block_11 ; CPU:$CA47 PRG:0A47 F0 0A + lda CtrlTimer ; CPU:$CA49 PRG:0A49 A5 32 cmp #$88 ; CPU:$CA4B PRG:0A4B C9 88 - bcs Label_CA42 ; CPU:$CA4D PRG:0A4D B0 F3 + bcs SubCC9D0_Block_12 ; CPU:$CA4D PRG:0A4D B0 F3 lda #$00 ; CPU:$CA4F PRG:0A4F A9 00 sta Zp4B ; CPU:$CA51 PRG:0A51 85 4B ; ----------------------------------------------------------------------------- -; Routine: Label_CA53 +; Routine: SubCC9D0_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2763,15 +2767,15 @@ Label_CA45: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA53: +SubCC9D0_Block_11: ldx #$01 ; CPU:$CA53 PRG:0A53 A2 01 lda Zp4C ; CPU:$CA55 PRG:0A55 A5 4C - beq Label_CA70 ; CPU:$CA57 PRG:0A57 F0 17 + beq SubCC9D0_Block_16 ; CPU:$CA57 PRG:0A57 F0 17 lda ZpBA ; CPU:$CA59 PRG:0A59 A5 BA - bne Label_CA66 ; CPU:$CA5B PRG:0A5B D0 09 + bne SubCC9D0_Block_14 ; CPU:$CA5B PRG:0A5B D0 09 sta Zp4C ; CPU:$CA5D PRG:0A5D 85 4C ; ----------------------------------------------------------------------------- -; Routine: Label_CA5F +; Routine: SubCC9D0_Block_17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2779,12 +2783,12 @@ Label_CA53: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA5F: +SubCC9D0_Block_17: jsr $CF96 ; CPU:$CA5F PRG:0A5F 20 96 CF ldx #$01 ; CPU:$CA62 PRG:0A62 A2 01 - bne Label_CA70 ; CPU:$CA64 PRG:0A64 D0 0A + bne SubCC9D0_Block_16 ; CPU:$CA64 PRG:0A64 D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_CA66 +; Routine: SubCC9D0_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2792,15 +2796,15 @@ Label_CA5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA66: +SubCC9D0_Block_14: dex ; CPU:$CA66 PRG:0A66 CA lda Zp2F ; CPU:$CA67 PRG:0A67 A5 2F lsr a ; CPU:$CA69 PRG:0A69 4A - bcc Label_CA70 ; CPU:$CA6A PRG:0A6A 90 04 + bcc SubCC9D0_Block_16 ; CPU:$CA6A PRG:0A6A 90 04 dec Zp4C ; CPU:$CA6C PRG:0A6C C6 4C - beq Label_CA5F ; CPU:$CA6E PRG:0A6E F0 EF + beq SubCC9D0_Block_17 ; CPU:$CA6E PRG:0A6E F0 EF ; ----------------------------------------------------------------------------- -; Routine: Label_CA70 +; Routine: SubCC9D0_Block_16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,22 +2812,22 @@ Label_CA66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA70: +SubCC9D0_Block_16: stx ZpAE ; CPU:$CA70 PRG:0A70 86 AE cpx #$01 ; CPU:$CA72 PRG:0A72 E0 01 - beq Label_CA8A ; CPU:$CA74 PRG:0A74 F0 14 + beq SubCCAA5_Block ; CPU:$CA74 PRG:0A74 F0 14 lda Zp16 ; CPU:$CA76 PRG:0A76 A5 16 and #$0F ; CPU:$CA78 PRG:0A78 29 0F - bne Label_CAA8 ; CPU:$CA7A PRG:0A7A D0 2C + bne SubCC9D0_Block_20 ; CPU:$CA7A PRG:0A7A D0 2C lda Zp17 ; CPU:$CA7C PRG:0A7C A5 17 and #$0F ; CPU:$CA7E PRG:0A7E 29 0F - bne Label_CAA8 ; CPU:$CA80 PRG:0A80 D0 26 + bne SubCC9D0_Block_20 ; CPU:$CA80 PRG:0A80 D0 26 lda #$00 ; CPU:$CA82 PRG:0A82 A9 00 sta ZpAF ; CPU:$CA84 PRG:0A84 85 AF lda ZpAE ; CPU:$CA86 PRG:0A86 A5 AE - beq Label_CA8D ; CPU:$CA88 PRG:0A88 F0 03 + beq SubCC9D0_Block_21 ; CPU:$CA88 PRG:0A88 F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CA8A +; Routine: SubCCAA5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2831,10 +2835,10 @@ Label_CA70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA8A: +SubCCAA5_Block: jmp $CF16 ; CPU:$CA8A PRG:0A8A 4C 16 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CA8D +; Routine: SubCC9D0_Block_21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2842,21 +2846,21 @@ Label_CA8A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA8D: - lda Zp32 ; CPU:$CA8D PRG:0A8D A5 32 +SubCC9D0_Block_21: + lda CtrlTimer ; CPU:$CA8D PRG:0A8D A5 32 cmp #$20 ; CPU:$CA8F PRG:0A8F C9 20 - bcc Label_CAD1 ; CPU:$CA91 PRG:0A91 90 3E + bcc SubCC9D0_Block_22 ; CPU:$CA91 PRG:0A91 90 3E cmp #$90 ; CPU:$CA93 PRG:0A93 C9 90 - bcs Label_CAD7 ; CPU:$CA95 PRG:0A95 B0 40 + bcs SubCCAD7 ; CPU:$CA95 PRG:0A95 B0 40 ldx #$00 ; CPU:$CA97 PRG:0A97 A2 00 lda Zp33 ; CPU:$CA99 PRG:0A99 A5 33 cmp #$10 ; CPU:$CA9B PRG:0A9B C9 10 - bcc Label_CAE3 ; CPU:$CA9D PRG:0A9D 90 44 + bcc SubCC9D0_Block_23 ; CPU:$CA9D PRG:0A9D 90 44 ldx #$08 ; CPU:$CA9F PRG:0A9F A2 08 cmp #$F0 ; CPU:$CAA1 PRG:0AA1 C9 F0 - bcs Label_CAE9 ; CPU:$CAA3 PRG:0AA3 B0 44 + bcs SubCC9D0_Block_24 ; CPU:$CAA3 PRG:0AA3 B0 44 ; ----------------------------------------------------------------------------- -; Routine: Label_CAA5 +; Routine: SubCCAA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +2868,10 @@ Label_CA8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAA5: +SubCCAA5: jmp $CBC3 ; CPU:$CAA5 PRG:0AA5 4C C3 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CAA8 +; Routine: SubCC9D0_Block_20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,22 +2879,22 @@ Label_CAA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAA8: +SubCC9D0_Block_20: cmp ZpAF ; CPU:$CAA8 PRG:0AA8 C5 AF - beq Label_CA8A ; CPU:$CAAA PRG:0AAA F0 DE + beq SubCCAA5_Block ; CPU:$CAAA PRG:0AAA F0 DE sta ZpAF ; CPU:$CAAC PRG:0AAC 85 AF ldx #$35 ; CPU:$CAAE PRG:0AAE A2 35 lsr a ; CPU:$CAB0 PRG:0AB0 4A - bcs Label_CABF ; CPU:$CAB1 PRG:0AB1 B0 0C + bcs SubCCAA5_Block_4 ; CPU:$CAB1 PRG:0AB1 B0 0C ldx #$DB ; CPU:$CAB3 PRG:0AB3 A2 DB lsr a ; CPU:$CAB5 PRG:0AB5 4A - bcs Label_CABF ; CPU:$CAB6 PRG:0AB6 B0 07 + bcs SubCCAA5_Block_4 ; CPU:$CAB6 PRG:0AB6 B0 07 ldx #$79 ; CPU:$CAB8 PRG:0AB8 A2 79 lsr a ; CPU:$CABA PRG:0ABA 4A - bcs Label_CABF ; CPU:$CABB PRG:0ABB B0 02 + bcs SubCCAA5_Block_4 ; CPU:$CABB PRG:0ABB B0 02 ldx #$1F ; CPU:$CABD PRG:0ABD A2 1F ; ----------------------------------------------------------------------------- -; Routine: Label_CABF +; Routine: SubCCAA5_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2898,15 +2902,15 @@ Label_CAA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CABF: +SubCCAA5_Block_4: lda Zp2F ; CPU:$CABF PRG:0ABF A5 2F lsr a ; CPU:$CAC1 PRG:0AC1 4A txa ; CPU:$CAC2 PRG:0AC2 8A - bcc Label_CACA ; CPU:$CAC3 PRG:0AC3 90 05 + bcc SubCCAA5_Block_5 ; CPU:$CAC3 PRG:0AC3 90 05 and #$0F ; CPU:$CAC5 PRG:0AC5 29 0F jmp $CB56 ; CPU:$CAC7 PRG:0AC7 4C 56 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CACA +; Routine: SubCCAA5_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2914,14 +2918,14 @@ Label_CABF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CACA: +SubCCAA5_Block_5: lsr a ; CPU:$CACA PRG:0ACA 4A lsr a ; CPU:$CACB PRG:0ACB 4A lsr a ; CPU:$CACC PRG:0ACC 4A lsr a ; CPU:$CACD PRG:0ACD 4A jmp $CB56 ; CPU:$CACE PRG:0ACE 4C 56 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CAD1 +; Routine: SubCC9D0_Block_22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2929,12 +2933,12 @@ Label_CACA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAD1: - inc Zp32 ; CPU:$CAD1 PRG:0AD1 E6 32 +SubCC9D0_Block_22: + inc CtrlTimer ; CPU:$CAD1 PRG:0AD1 E6 32 ldy #$00 ; CPU:$CAD3 PRG:0AD3 A0 00 - beq Label_CADB ; CPU:$CAD5 PRG:0AD5 F0 04 + beq SubCCAA5_Block_6 ; CPU:$CAD5 PRG:0AD5 F0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_CAD7 +; Routine: SubCCAD7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2942,11 +2946,11 @@ Label_CAD1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAD7: - dec Zp32 ; CPU:$CAD7 PRG:0AD7 C6 32 +SubCCAD7: + dec CtrlTimer ; CPU:$CAD7 PRG:0AD7 C6 32 ldy #$02 ; CPU:$CAD9 PRG:0AD9 A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CADB +; Routine: SubCCAA5_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2954,13 +2958,13 @@ Label_CAD7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CADB: +SubCCAA5_Block_6: lda Zp48 ; CPU:$CADB PRG:0ADB A5 48 and #$08 ; CPU:$CADD PRG:0ADD 29 08 tax ; CPU:$CADF PRG:0ADF AA jmp $CAED ; CPU:$CAE0 PRG:0AE0 4C ED CA ; ----------------------------------------------------------------------------- -; Routine: Label_CAE3 +; Routine: SubCC9D0_Block_23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2968,12 +2972,12 @@ Label_CADB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAE3: +SubCC9D0_Block_23: inc Zp33 ; CPU:$CAE3 PRG:0AE3 E6 33 ldy #$04 ; CPU:$CAE5 PRG:0AE5 A0 04 - bne Label_CAED ; CPU:$CAE7 PRG:0AE7 D0 04 + bne SubCCAED ; CPU:$CAE7 PRG:0AE7 D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_CAE9 +; Routine: SubCC9D0_Block_24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2981,11 +2985,11 @@ Label_CAE3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAE9: +SubCC9D0_Block_24: dec Zp33 ; CPU:$CAE9 PRG:0AE9 C6 33 ldy #$02 ; CPU:$CAEB PRG:0AEB A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CAED +; Routine: SubCCAED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2993,21 +2997,21 @@ Label_CAE9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAED: - stx Zp0C ; CPU:$CAED PRG:0AED 86 0C - sty Zp0F ; CPU:$CAEF PRG:0AEF 84 0F +SubCCAED: + stx Ptr2Lo ; CPU:$CAED PRG:0AED 86 0C + sty SndTemp ; CPU:$CAEF PRG:0AEF 84 0F lda Zp48 ; CPU:$CAF1 PRG:0AF1 A5 48 and #$07 ; CPU:$CAF3 PRG:0AF3 29 07 eor #$07 ; CPU:$CAF5 PRG:0AF5 49 07 - ora Zp0C ; CPU:$CAF7 PRG:0AF7 05 0C - sta Zp0C ; CPU:$CAF9 PRG:0AF9 85 0C + ora Ptr2Lo ; CPU:$CAF7 PRG:0AF7 05 0C + sta Ptr2Lo ; CPU:$CAF9 PRG:0AF9 85 0C jsr $C588 ; CPU:$CAFB PRG:0AFB 20 88 C5 and #$03 ; CPU:$CAFE PRG:0AFE 29 03 cmp #$03 ; CPU:$CB00 PRG:0B00 C9 03 - bne Label_CB06 ; CPU:$CB02 PRG:0B02 D0 02 + bne SubCCAED_Block ; CPU:$CB02 PRG:0B02 D0 02 lda #$02 ; CPU:$CB04 PRG:0B04 A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CB06 +; Routine: SubCCAED_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3015,20 +3019,20 @@ Label_CAED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB06: +SubCCAED_Block: clc ; CPU:$CB06 PRG:0B06 18 - adc Zp0C ; CPU:$CB07 PRG:0B07 65 0C + adc Ptr2Lo ; CPU:$CB07 PRG:0B07 65 0C sta Zp0E ; CPU:$CB09 PRG:0B09 85 0E - ldy Zp0F ; CPU:$CB0B PRG:0B0B A4 0F + ldy SndTemp ; CPU:$CB0B PRG:0B0B A4 0F cmp #$00 ; CPU:$CB0D PRG:0B0D C9 00 - bne Label_CB1B ; CPU:$CB0F PRG:0B0F D0 0A + bne SubCCAED_Block_2 ; CPU:$CB0F PRG:0B0F D0 0A cpy #$01 ; CPU:$CB11 PRG:0B11 C0 01 - beq Label_CB4B ; CPU:$CB13 PRG:0B13 F0 36 + beq SubCCAED_Block_14 ; CPU:$CB13 PRG:0B13 F0 36 cpy #$02 ; CPU:$CB15 PRG:0B15 C0 02 - beq Label_CB45 ; CPU:$CB17 PRG:0B17 F0 2C - bne Label_CB50 ; CPU:$CB19 PRG:0B19 D0 35 + beq SubCCAED_Block_15 ; CPU:$CB17 PRG:0B17 F0 2C + bne SubCCAED_Block_17 ; CPU:$CB19 PRG:0B19 D0 35 ; ----------------------------------------------------------------------------- -; Routine: Label_CB1B +; Routine: SubCCAED_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3036,16 +3040,16 @@ Label_CB06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB1B: +SubCCAED_Block_2: cmp #$04 ; CPU:$CB1B PRG:0B1B C9 04 - bne Label_CB29 ; CPU:$CB1D PRG:0B1D D0 0A + bne SubCCAED_Block_6 ; CPU:$CB1D PRG:0B1D D0 0A cpy #$00 ; CPU:$CB1F PRG:0B1F C0 00 - beq Label_CB50 ; CPU:$CB21 PRG:0B21 F0 2D + beq SubCCAED_Block_17 ; CPU:$CB21 PRG:0B21 F0 2D cpy #$02 ; CPU:$CB23 PRG:0B23 C0 02 - beq Label_CB4B ; CPU:$CB25 PRG:0B25 F0 24 - bne Label_CB45 ; CPU:$CB27 PRG:0B27 D0 1C + beq SubCCAED_Block_14 ; CPU:$CB25 PRG:0B25 F0 24 + bne SubCCAED_Block_15 ; CPU:$CB27 PRG:0B27 D0 1C ; ----------------------------------------------------------------------------- -; Routine: Label_CB29 +; Routine: SubCCAED_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +3057,16 @@ Label_CB1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB29: +SubCCAED_Block_6: cmp #$08 ; CPU:$CB29 PRG:0B29 C9 08 - bne Label_CB37 ; CPU:$CB2B PRG:0B2B D0 0A + bne SubCCAED_Block_10 ; CPU:$CB2B PRG:0B2B D0 0A cpy #$00 ; CPU:$CB2D PRG:0B2D C0 00 - beq Label_CB45 ; CPU:$CB2F PRG:0B2F F0 14 + beq SubCCAED_Block_15 ; CPU:$CB2F PRG:0B2F F0 14 cpy #$01 ; CPU:$CB31 PRG:0B31 C0 01 - beq Label_CB50 ; CPU:$CB33 PRG:0B33 F0 1B - bne Label_CB4B ; CPU:$CB35 PRG:0B35 D0 14 + beq SubCCAED_Block_17 ; CPU:$CB33 PRG:0B33 F0 1B + bne SubCCAED_Block_14 ; CPU:$CB35 PRG:0B35 D0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_CB37 +; Routine: SubCCAED_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3070,16 +3074,16 @@ Label_CB29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB37: +SubCCAED_Block_10: cmp #$0C ; CPU:$CB37 PRG:0B37 C9 0C - bne Label_CB52 ; CPU:$CB39 PRG:0B39 D0 17 + bne SubCCB52 ; CPU:$CB39 PRG:0B39 D0 17 cpy #$00 ; CPU:$CB3B PRG:0B3B C0 00 - beq Label_CB4B ; CPU:$CB3D PRG:0B3D F0 0C + beq SubCCAED_Block_14 ; CPU:$CB3D PRG:0B3D F0 0C cpy #$01 ; CPU:$CB3F PRG:0B3F C0 01 - beq Label_CB45 ; CPU:$CB41 PRG:0B41 F0 02 - bne Label_CB50 ; CPU:$CB43 PRG:0B43 D0 0B + beq SubCCAED_Block_15 ; CPU:$CB41 PRG:0B41 F0 02 + bne SubCCAED_Block_17 ; CPU:$CB43 PRG:0B43 D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_CB45 +; Routine: SubCCAED_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3087,12 +3091,12 @@ Label_CB37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB45: +SubCCAED_Block_15: jsr $C588 ; CPU:$CB45 PRG:0B45 20 88 C5 asl a ; CPU:$CB48 PRG:0B48 0A - bcs Label_CB50 ; CPU:$CB49 PRG:0B49 B0 05 + bcs SubCCAED_Block_17 ; CPU:$CB49 PRG:0B49 B0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_CB4B +; Routine: SubCCAED_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +3104,11 @@ Label_CB45: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB4B: +SubCCAED_Block_14: dec Zp0E ; CPU:$CB4B PRG:0B4B C6 0E jmp $CB52 ; CPU:$CB4D PRG:0B4D 4C 52 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB50 +; Routine: SubCCAED_Block_17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3112,10 +3116,10 @@ Label_CB4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB50: +SubCCAED_Block_17: inc Zp0E ; CPU:$CB50 PRG:0B50 E6 0E ; ----------------------------------------------------------------------------- -; Routine: Label_CB52 +; Routine: SubCCB52 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +3127,11 @@ Label_CB50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB52: +SubCCB52: lda Zp0E ; CPU:$CB52 PRG:0B52 A5 0E and #$0F ; CPU:$CB54 PRG:0B54 29 0F ; ----------------------------------------------------------------------------- -; Routine: Label_CB56 +; Routine: SubCCB56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3135,10 +3139,10 @@ Label_CB52: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB56: +SubCCB56: jmp $CB77 ; CPU:$CB56 PRG:0B56 4C 77 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB59 +; Routine: SubCCB59 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3146,22 +3150,22 @@ Label_CB56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB59: +SubCCB59: lda Zp46 ; CPU:$CB59 PRG:0B59 A5 46 - bne Label_CBC3 ; CPU:$CB5B PRG:0B5B D0 66 + bne SubCCBC3 ; CPU:$CB5B PRG:0B5B D0 66 ldy Zp47 ; CPU:$CB5D PRG:0B5D A4 47 lda (Zp44),y ; CPU:$CB5F PRG:0B5F B1 44 iny ; CPU:$CB61 PRG:0B61 C8 cmp #$FF ; CPU:$CB62 PRG:0B62 C9 FF - bne Label_CB70 ; CPU:$CB64 PRG:0B64 D0 0A + bne SubCCB59_Block ; CPU:$CB64 PRG:0B64 D0 0A lda (Zp44),y ; CPU:$CB66 PRG:0B66 B1 44 iny ; CPU:$CB68 PRG:0B68 C8 - sta Zp31 ; CPU:$CB69 PRG:0B69 85 31 + sta CtrlState ; CPU:$CB69 PRG:0B69 85 31 lda (Zp44),y ; CPU:$CB6B PRG:0B6B B1 44 sta Zp42 ; CPU:$CB6D PRG:0B6D 85 42 rts ; CPU:$CB6F PRG:0B6F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB70 +; Routine: SubCCB59_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3169,13 +3173,13 @@ Label_CB59: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB70: +SubCCB59_Block: sta Zp46 ; CPU:$CB70 PRG:0B70 85 46 lda (Zp44),y ; CPU:$CB72 PRG:0B72 B1 44 iny ; CPU:$CB74 PRG:0B74 C8 sty Zp47 ; CPU:$CB75 PRG:0B75 84 47 ; ----------------------------------------------------------------------------- -; Routine: Label_CB77 +; Routine: SubCCB77 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3183,7 +3187,7 @@ Label_CB70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB77: +SubCCB77: sta Zp48 ; CPU:$CB77 PRG:0B77 85 48 tax ; CPU:$CB79 PRG:0B79 AA lda $E64B,x ; CPU:$CB7A PRG:0B7A BD 4B E6 @@ -3193,21 +3197,21 @@ Label_CB77: sta Zp34 ; CPU:$CB83 PRG:0B83 85 34 lda Zp48 ; CPU:$CB85 PRG:0B85 A5 48 cmp #$11 ; CPU:$CB87 PRG:0B87 C9 11 - bcc Label_CBA2 ; CPU:$CB89 PRG:0B89 90 17 + bcc SubCCB77_Block ; CPU:$CB89 PRG:0B89 90 17 tax ; CPU:$CB8B PRG:0B8B AA lda #$00 ; CPU:$CB8C PRG:0B8C A9 00 cpx #$15 ; CPU:$CB8E PRG:0B8E E0 15 - beq Label_CBBC ; CPU:$CB90 PRG:0B90 F0 2A + beq SubCCB77_Block_6 ; CPU:$CB90 PRG:0B90 F0 2A cpx #$14 ; CPU:$CB92 PRG:0B92 E0 14 - beq Label_CBB0 ; CPU:$CB94 PRG:0B94 F0 1A + beq SubCCB77_Block_5 ; CPU:$CB94 PRG:0B94 F0 1A cpx #$13 ; CPU:$CB96 PRG:0B96 E0 13 - beq Label_CBA8 ; CPU:$CB98 PRG:0B98 F0 0E + beq SubCCB77_Block_7 ; CPU:$CB98 PRG:0B98 F0 0E inc Zp34 ; CPU:$CB9A PRG:0B9A E6 34 cpx #$12 ; CPU:$CB9C PRG:0B9C E0 12 - beq Label_CBB0 ; CPU:$CB9E PRG:0B9E F0 10 - bne Label_CBBC ; CPU:$CBA0 PRG:0BA0 D0 1A + beq SubCCB77_Block_5 ; CPU:$CB9E PRG:0B9E F0 10 + bne SubCCB77_Block_6 ; CPU:$CBA0 PRG:0BA0 D0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_CBA2 +; Routine: SubCCB77_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3215,12 +3219,12 @@ Label_CB77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBA2: +SubCCB77_Block: cmp #$08 ; CPU:$CBA2 PRG:0BA2 C9 08 - bcc Label_CBA8 ; CPU:$CBA4 PRG:0BA4 90 02 + bcc SubCCB77_Block_7 ; CPU:$CBA4 PRG:0BA4 90 02 inc Zp34 ; CPU:$CBA6 PRG:0BA6 E6 34 ; ----------------------------------------------------------------------------- -; Routine: Label_CBA8 +; Routine: SubCCB77_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3228,13 +3232,13 @@ Label_CBA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBA8: +SubCCB77_Block_7: ldx #$0C ; CPU:$CBA8 PRG:0BA8 A2 0C ldy #$E7 ; CPU:$CBAA PRG:0BAA A0 E7 and #$07 ; CPU:$CBAC PRG:0BAC 29 07 - beq Label_CBC0 ; CPU:$CBAE PRG:0BAE F0 10 + beq SubCCB77_Block_10 ; CPU:$CBAE PRG:0BAE F0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_CBB0 +; Routine: SubCCB77_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3242,15 +3246,15 @@ Label_CBA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBB0: +SubCCB77_Block_5: ldx #$05 ; CPU:$CBB0 PRG:0BB0 A2 05 ldy #$E7 ; CPU:$CBB2 PRG:0BB2 A0 E7 cmp #$03 ; CPU:$CBB4 PRG:0BB4 C9 03 - bcc Label_CBC0 ; CPU:$CBB6 PRG:0BB6 90 08 + bcc SubCCB77_Block_10 ; CPU:$CBB6 PRG:0BB6 90 08 cmp #$06 ; CPU:$CBB8 PRG:0BB8 C9 06 - bcs Label_CBC0 ; CPU:$CBBA PRG:0BBA B0 04 + bcs SubCCB77_Block_10 ; CPU:$CBBA PRG:0BBA B0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_CBBC +; Routine: SubCCB77_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3258,11 +3262,11 @@ Label_CBB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBBC: +SubCCB77_Block_6: ldx #$1D ; CPU:$CBBC PRG:0BBC A2 1D ldy #$E7 ; CPU:$CBBE PRG:0BBE A0 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_CBC0 +; Routine: SubCCB77_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3270,10 +3274,10 @@ Label_CBBC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBC0: +SubCCB77_Block_10: jsr $CF0B ; CPU:$CBC0 PRG:0BC0 20 0B CF ; ----------------------------------------------------------------------------- -; Routine: Label_CBC3 +; Routine: SubCCBC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3281,10 +3285,10 @@ Label_CBC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBC3: +SubCCBC3: jsr $D81B ; CPU:$CBC3 PRG:0BC3 20 1B D8 ; ----------------------------------------------------------------------------- -; Routine: Label_CBC6 +; Routine: SubCCBD9_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3292,15 +3296,15 @@ Label_CBC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBC6: +SubCCBD9_Block_10: pha ; CPU:$CBC6 PRG:0BC6 48 - lda Zp32 ; CPU:$CBC7 PRG:0BC7 A5 32 + lda CtrlTimer ; CPU:$CBC7 PRG:0BC7 A5 32 cmp #$F0 ; CPU:$CBC9 PRG:0BC9 C9 F0 - bcc Label_CBD1 ; CPU:$CBCB PRG:0BCB 90 04 + bcc SubCCBC3_Block ; CPU:$CBCB PRG:0BCB 90 04 pla ; CPU:$CBCD PRG:0BCD 68 jmp $CF2A ; CPU:$CBCE PRG:0BCE 4C 2A CF ; ----------------------------------------------------------------------------- -; Routine: Label_CBD1 +; Routine: SubCCBC3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +3312,12 @@ Label_CBC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBD1: +SubCCBC3_Block: lda Zp46 ; CPU:$CBD1 PRG:0BD1 A5 46 - beq Label_CBD7 ; CPU:$CBD3 PRG:0BD3 F0 02 + beq SubCCBC3_Block_2 ; CPU:$CBD3 PRG:0BD3 F0 02 dec Zp46 ; CPU:$CBD5 PRG:0BD5 C6 46 ; ----------------------------------------------------------------------------- -; Routine: Label_CBD7 +; Routine: SubCCBC3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +3325,10 @@ Label_CBD1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBD7: +SubCCBC3_Block_2: ldy Zp49 ; CPU:$CBD7 PRG:0BD7 A4 49 ; ----------------------------------------------------------------------------- -; Routine: Label_CBD9 +; Routine: SubCCBD9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +3336,15 @@ Label_CBD7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBD9: +SubCCBD9: lda $E661,y ; CPU:$CBD9 PRG:0BD9 B9 61 E6 iny ; CPU:$CBDC PRG:0BDC C8 cmp #$AA ; CPU:$CBDD PRG:0BDD C9 AA - bne Label_CBE6 ; CPU:$CBDF PRG:0BDF D0 05 + bne SubCCBD9_Block ; CPU:$CBDF PRG:0BDF D0 05 ldy Zp4A ; CPU:$CBE1 PRG:0BE1 A4 4A jmp $CBD9 ; CPU:$CBE3 PRG:0BE3 4C D9 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CBE6 +; Routine: SubCCBD9_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3348,19 +3352,19 @@ Label_CBD9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBE6: +SubCCBD9_Block: clc ; CPU:$CBE6 PRG:0BE6 18 - adc Zp32 ; CPU:$CBE7 PRG:0BE7 65 32 + adc CtrlTimer ; CPU:$CBE7 PRG:0BE7 65 32 ldx Zp4B ; CPU:$CBE9 PRG:0BE9 A6 4B - bne Label_CBF9 ; CPU:$CBEB PRG:0BEB D0 0C + bne SubCCBD9_Block_3 ; CPU:$CBEB PRG:0BEB D0 0C ldx ZpAE ; CPU:$CBED PRG:0BED A6 AE - bne Label_CBF9 ; CPU:$CBEF PRG:0BEF D0 08 + bne SubCCBD9_Block_3 ; CPU:$CBEF PRG:0BEF D0 08 cmp #$1E ; CPU:$CBF1 PRG:0BF1 C9 1E - bcc Label_CBFB ; CPU:$CBF3 PRG:0BF3 90 06 + bcc SubCCBD9_Block_5 ; CPU:$CBF3 PRG:0BF3 90 06 cmp #$92 ; CPU:$CBF5 PRG:0BF5 C9 92 - bcs Label_CBFB ; CPU:$CBF7 PRG:0BF7 B0 02 + bcs SubCCBD9_Block_5 ; CPU:$CBF7 PRG:0BF7 B0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CBF9 +; Routine: SubCCBD9_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3368,10 +3372,10 @@ Label_CBE6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBF9: - sta Zp32 ; CPU:$CBF9 PRG:0BF9 85 32 +SubCCBD9_Block_3: + sta CtrlTimer ; CPU:$CBF9 PRG:0BF9 85 32 ; ----------------------------------------------------------------------------- -; Routine: Label_CBFB +; Routine: SubCCBD9_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3379,22 +3383,22 @@ Label_CBF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBFB: +SubCCBD9_Block_5: lda $E661,y ; CPU:$CBFB PRG:0BFB B9 61 E6 iny ; CPU:$CBFE PRG:0BFE C8 sty Zp49 ; CPU:$CBFF PRG:0BFF 84 49 clc ; CPU:$CC01 PRG:0C01 18 adc Zp33 ; CPU:$CC02 PRG:0C02 65 33 ldx Zp4B ; CPU:$CC04 PRG:0C04 A6 4B - bne Label_CC14 ; CPU:$CC06 PRG:0C06 D0 0C + bne SubCCBD9_Block_7 ; CPU:$CC06 PRG:0C06 D0 0C ldx ZpAE ; CPU:$CC08 PRG:0C08 A6 AE - bne Label_CC14 ; CPU:$CC0A PRG:0C0A D0 08 + bne SubCCBD9_Block_7 ; CPU:$CC0A PRG:0C0A D0 08 cmp #$0E ; CPU:$CC0C PRG:0C0C C9 0E - bcc Label_CC16 ; CPU:$CC0E PRG:0C0E 90 06 + bcc SubCCBD9_Block_9 ; CPU:$CC0E PRG:0C0E 90 06 cmp #$F2 ; CPU:$CC10 PRG:0C10 C9 F2 - bcs Label_CC16 ; CPU:$CC12 PRG:0C12 B0 02 + bcs SubCCBD9_Block_9 ; CPU:$CC12 PRG:0C12 B0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CC14 +; Routine: SubCCBD9_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3402,10 +3406,10 @@ Label_CBFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC14: +SubCCBD9_Block_7: sta Zp33 ; CPU:$CC14 PRG:0C14 85 33 ; ----------------------------------------------------------------------------- -; Routine: Label_CC16 +; Routine: SubCCBD9_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3413,17 +3417,17 @@ Label_CC14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC16: +SubCCBD9_Block_9: pla ; CPU:$CC16 PRG:0C16 68 sec ; CPU:$CC17 PRG:0C17 38 sbc #$01 ; CPU:$CC18 PRG:0C18 E9 01 - bne Label_CBC6 ; CPU:$CC1A PRG:0C1A D0 AA + bne SubCCBD9_Block_10 ; CPU:$CC1A PRG:0C1A D0 AA jmp $CE4D ; CPU:$CC1C PRG:0C1C 4C 4D CE ; ---- data $CC1F-$CC3C (30 bytes) ---- .byte $A6, $3B, $A9, $01, $9D, $EF, $03, $A9, $01, $85, $AD, $85, $5E, $A9, $12, $85 ; CPU:$CC1F PRG:0C1F A6 3B A9 01 9D EF 03 A9 01 85 AD 85 5E A9 12 85 .byte $4D, $20, $68, $CF, $A2, $13, $A0, $E7, $20, $0B, $CF, $E6, $31, $60 ; CPU:$CC2F PRG:0C2F 4D 20 68 CF A2 13 A0 E7 20 0B CF E6 31 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC3D +; Routine: SubCCC3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3431,16 +3435,16 @@ Label_CC16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC3D: +SubCCC3D: lda Zp4D ; CPU:$CC3D PRG:0C3D A5 4D - beq Label_CC4C ; CPU:$CC3F PRG:0C3F F0 0B + beq SubCCBD9_Block_12 ; CPU:$CC3F PRG:0C3F F0 0B dec Zp4D ; CPU:$CC41 PRG:0C41 C6 4D and #$0F ; CPU:$CC43 PRG:0C43 29 0F cmp #$0A ; CPU:$CC45 PRG:0C45 C9 0A - bne Label_CC4C ; CPU:$CC47 PRG:0C47 D0 03 + bne SubCCBD9_Block_12 ; CPU:$CC47 PRG:0C47 D0 03 jsr $D52C ; CPU:$CC49 PRG:0C49 20 2C D5 ; ----------------------------------------------------------------------------- -; Routine: Label_CC4C +; Routine: SubCCBD9_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +3452,7 @@ Label_CC3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC4C: +SubCCBD9_Block_12: jmp $CE4D ; CPU:$CC4C PRG:0C4C 4C 4D CE ; ---- data $CC4F-$CC8A (60 bytes) ---- .byte $20, $F9, $CF, $20, $F2, $D4, $A5, $33, $A2, $48, $C9, $48, $90, $07, $A2, $A0 ; CPU:$CC4F PRG:0C4F 20 F9 CF 20 F2 D4 A5 33 A2 48 C9 48 90 07 A2 A0 @@ -3456,7 +3460,7 @@ Label_CC4C: .byte $BD, $4B, $E6, $85, $49, $85, $4A, $A2, $18, $A0, $E7, $D0, $BB, $A5, $32, $C9 ; CPU:$CC6F PRG:0C6F BD 4B E6 85 49 85 4A A2 18 A0 E7 D0 BB A5 32 C9 .byte $B0, $B0, $03, $4C, $C3, $CB, $20, $34, $D5, $E6, $31, $60 ; CPU:$CC7F PRG:0C7F B0 B0 03 4C C3 CB 20 34 D5 E6 31 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC8B +; Routine: SubCCC8B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3464,13 +3468,13 @@ Label_CC4C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC8B: +SubCCC8B: lda #$00 ; CPU:$CC8B PRG:0C8B A9 00 - sta Zp31 ; CPU:$CC8D PRG:0C8D 85 31 + sta CtrlState ; CPU:$CC8D PRG:0C8D 85 31 ldx Zp36 ; CPU:$CC8F PRG:0C8F A6 36 jmp $D042 ; CPU:$CC91 PRG:0C91 4C 42 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_CC94 +; Routine: SubCCC94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,9 +3482,9 @@ Label_CC8B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC94: +SubCCC94: lda $03A0 ; CPU:$CC94 PRG:0C94 AD A0 03 - beq Label_CCA8 ; CPU:$CC97 PRG:0C97 F0 0F + beq SubCCC94_Block ; CPU:$CC97 PRG:0C97 F0 0F lda #$02 ; CPU:$CC99 PRG:0C99 A9 02 sta ZpA1 ; CPU:$CC9B PRG:0C9B 85 A1 ldy #$A0 ; CPU:$CC9D PRG:0C9D A0 A0 @@ -3488,7 +3492,7 @@ Label_CC94: jsr $CCA9 ; CPU:$CCA2 PRG:0CA2 20 A9 CC jsr $C607 ; CPU:$CCA5 PRG:0CA5 20 07 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_CCA8 +; Routine: SubCCC94_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3496,10 +3500,10 @@ Label_CC94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCA8: +SubCCC94_Block: rts ; CPU:$CCA8 PRG:0CA8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCA9 +; Routine: SubCCCA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3507,8 +3511,8 @@ Label_CCA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCA9: - lda Zp31 ; CPU:$CCA9 PRG:0CA9 A5 31 +SubCCCA9: + lda CtrlState ; CPU:$CCA9 PRG:0CA9 A5 31 jsr $C35E ; CPU:$CCAB PRG:0CAB 20 5E C3 cpx #$C5 ; CPU:$CCAE PRG:0CAE E0 C5 ; ---- data $CCB0-$CCFC (77 bytes) ---- @@ -3518,7 +3522,7 @@ Label_CCA9: .byte $85, $BA, $A9, $01, $85, $BE, $85, $AD, $A9, $02, $85, $23, $A5, $25, $C9, $07 ; CPU:$CCE0 PRG:0CE0 85 BA A9 01 85 BE 85 AD A9 02 85 23 A5 25 C9 07 .byte $D0, $05, $A9, $10, $85, $31, $60, $A5, $C1, $A0, $18, $A2, $00 ; CPU:$CCF0 PRG:0CF0 D0 05 A9 10 85 31 60 A5 C1 A0 18 A2 00 ; ----------------------------------------------------------------------------- -; 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. @@ -3526,13 +3530,13 @@ Label_CCA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCFD: +SubCCCFD: cmp #$01 ; CPU:$CCFD PRG:0CFD C9 01 - beq Label_CD05 ; CPU:$CCFF PRG:0CFF F0 04 + beq SubCCCA9_Block ; CPU:$CCFF PRG:0CFF F0 04 ldy #$50 ; CPU:$CD01 PRG:0D01 A0 50 ldx #$18 ; CPU:$CD03 PRG:0D03 A2 18 ; ----------------------------------------------------------------------------- -; Routine: Label_CD05 +; Routine: SubCCCA9_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,21 +3544,21 @@ Label_CCFD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD05: +SubCCCA9_Block: sty Zp33 ; CPU:$CD05 PRG:0D05 84 33 stx Zp44 ; CPU:$CD07 PRG:0D07 86 44 lda #$01 ; CPU:$CD09 PRG:0D09 A9 01 sta Zp9D ; CPU:$CD0B PRG:0D0B 85 9D jsr $C5D9 ; CPU:$CD0D PRG:0D0D 20 D9 C5 jsr $F56C ; CPU:$CD10 PRG:0D10 20 6C F5 - inc Zp31 ; CPU:$CD13 PRG:0D13 E6 31 + inc CtrlState ; CPU:$CD13 PRG:0D13 E6 31 rts ; CPU:$CD15 PRG:0D15 60 ; ---- data $CD16-$CD3B (38 bytes) ---- .byte $A2, $8E, $A0, $E7, $4C, $44, $CD, $A5, $35, $C9, $0C, $D0, $0B, $E6, $44, $A5 ; CPU:$CD16 PRG:0D16 A2 8E A0 E7 4C 44 CD A5 35 C9 0C D0 0B E6 44 A5 .byte $44, $C9, $20, $90, $03, $E6, $31, $60, $20, $4D, $CE, $A5, $33, $C5, $45, $D0 ; CPU:$CD26 PRG:0D26 44 C9 20 90 03 E6 31 60 20 4D CE A5 33 C5 45 D0 .byte $F6, $A9, $06, $85, $31, $60 ; CPU:$CD36 PRG:0D36 F6 A9 06 85 31 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD3C +; Routine: SubCCD3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +3566,13 @@ Label_CD05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD3C: +SubCCD3C: lda #$00 ; CPU:$CD3C PRG:0D3C A9 00 sta Zp44 ; CPU:$CD3E PRG:0D3E 85 44 ldx #$98 ; CPU:$CD40 PRG:0D40 A2 98 ldy #$E7 ; CPU:$CD42 PRG:0D42 A0 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_CD44 +; Routine: SubCCD44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,9 +3580,9 @@ Label_CD3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD44: +SubCCD44: jsr $CF0B ; CPU:$CD44 PRG:0D44 20 0B CF - inc Zp31 ; CPU:$CD47 PRG:0D47 E6 31 + inc CtrlState ; CPU:$CD47 PRG:0D47 E6 31 jmp $CE4D ; CPU:$CD49 PRG:0D49 4C 4D CE ; ---- data $CD4C-$CE17 (204 bytes) ---- .byte $A2, $A7, $A0, $E7, $D0, $F2, $A9, $04, $85, $9E, $A2, $AC, $A0, $E7, $D0, $E8 ; CPU:$CD4C PRG:0D4C A2 A7 A0 E7 D0 F2 A9 04 85 9E A2 AC A0 E7 D0 E8 @@ -3595,7 +3599,7 @@ Label_CD44: .byte $00, $04, $A9, $10, $8D, $01, $04, $8D, $02, $04, $A9, $00, $8D, $13, $04, $A9 ; CPU:$CDFC PRG:0DFC 00 04 A9 10 8D 01 04 8D 02 04 A9 00 8D 13 04 A9 .byte $01, $85, $27, $A9, $12, $85, $31, $A9, $00, $85, $42, $60 ; CPU:$CE0C PRG:0E0C 01 85 27 A9 12 85 31 A9 00 85 42 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE18 +; Routine: SubCCE18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +3607,13 @@ Label_CD44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE18: +SubCCE18: lda ZpBB ; CPU:$CE18 PRG:0E18 A5 BB cmp #$0A ; CPU:$CE1A PRG:0E1A C9 0A - bne Label_CE29 ; CPU:$CE1C PRG:0E1C D0 0B + bne SubCCD44_Block ; CPU:$CE1C PRG:0E1C D0 0B lda #$00 ; CPU:$CE1E PRG:0E1E A9 00 ; ----------------------------------------------------------------------------- -; 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. @@ -3617,13 +3621,13 @@ Label_CE18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE20: +SubCCE20: sta ZpA9 ; CPU:$CE20 PRG:0E20 85 A9 lda #$04 ; CPU:$CE22 PRG:0E22 A9 04 - sta Zp25 ; CPU:$CE24 PRG:0E24 85 25 + sta Temp ; CPU:$CE24 PRG:0E24 85 25 jmp $C23B ; CPU:$CE26 PRG:0E26 4C 3B C2 ; ----------------------------------------------------------------------------- -; Routine: Label_CE29 +; Routine: SubCCD44_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3631,12 +3635,12 @@ Label_CE20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE29: +SubCCD44_Block: lda #$0E ; CPU:$CE29 PRG:0E29 A9 0E - sta Zp31 ; CPU:$CE2B PRG:0E2B 85 31 + sta CtrlState ; CPU:$CE2B PRG:0E2B 85 31 rts ; CPU:$CE2D PRG:0E2D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE2E +; Routine: SubCCE2E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3644,7 +3648,7 @@ Label_CE29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE2E: +SubCCE2E: lda #$80 ; CPU:$CE2E PRG:0E2E A9 80 sta Zp33 ; CPU:$CE30 PRG:0E30 85 33 lda #$01 ; CPU:$CE32 PRG:0E32 A9 01 @@ -3656,7 +3660,7 @@ Label_CE2E: ; ---- data $CE40-$CE4C (13 bytes) ---- .byte $A5, $42, $D0, $09, $A9, $00, $85, $31, $A6, $36, $4C, $42, $D0 ; CPU:$CE40 PRG:0E40 A5 42 D0 09 A9 00 85 31 A6 36 4C 42 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_CE4D +; Routine: SubCCE4D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3664,13 +3668,13 @@ Label_CE2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE4D: +SubCCE4D: lda Zp42 ; CPU:$CE4D PRG:0E4D A5 42 - beq Label_CE56 ; CPU:$CE4F PRG:0E4F F0 05 + beq SubCCE4D_Block ; CPU:$CE4F PRG:0E4F F0 05 dec Zp42 ; CPU:$CE51 PRG:0E51 C6 42 jmp $D01B ; CPU:$CE53 PRG:0E53 4C 1B D0 ; ----------------------------------------------------------------------------- -; Routine: Label_CE56 +; Routine: SubCCE4D_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3678,11 +3682,11 @@ Label_CE4D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE56: +SubCCE4D_Block: ldy Zp43 ; CPU:$CE56 PRG:0E56 A4 43 lda (Zp40),y ; CPU:$CE58 PRG:0E58 B1 40 cmp #$FA ; CPU:$CE5A PRG:0E5A C9 FA - bcc Label_CE72 ; CPU:$CE5C PRG:0E5C 90 14 + bcc SubCCE4D_Block_2 ; CPU:$CE5C PRG:0E5C 90 14 inc Zp43 ; CPU:$CE5E PRG:0E5E E6 43 sec ; CPU:$CE60 PRG:0E60 38 sbc #$FA ; CPU:$CE61 PRG:0E61 E9 FA @@ -3692,7 +3696,7 @@ Label_CE56: ; ---- data $CE6A-$CE71 (8 bytes) ---- .byte $07, $CF, $00, $CF, $F9, $CE, $ED, $CE ; CPU:$CE6A PRG:0E6A 07 CF 00 CF F9 CE ED CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE72 +; Routine: SubCCE4D_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3700,22 +3704,22 @@ Label_CE56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE72: +SubCCE4D_Block_2: ldy Zp43 ; CPU:$CE72 PRG:0E72 A4 43 ldx ZpA1 ; CPU:$CE74 PRG:0E74 A6 A1 cpx #$02 ; CPU:$CE76 PRG:0E76 E0 02 - bne Label_CEE6 ; CPU:$CE78 PRG:0E78 D0 6C - ldx Zp31 ; CPU:$CE7A PRG:0E7A A6 31 + bne SubCCEC9_Block ; CPU:$CE78 PRG:0E78 D0 6C + ldx CtrlState ; CPU:$CE7A PRG:0E7A A6 31 cpx #$09 ; CPU:$CE7C PRG:0E7C E0 09 - beq Label_CEAD ; CPU:$CE7E PRG:0E7E F0 2D + beq SubCCE4D_Block_4 ; CPU:$CE7E PRG:0E7E F0 2D cpx #$0B ; CPU:$CE80 PRG:0E80 E0 0B - beq Label_CE8C ; CPU:$CE82 PRG:0E82 F0 08 + beq SubCCE4D_Block_6 ; CPU:$CE82 PRG:0E82 F0 08 cpx #$0D ; CPU:$CE84 PRG:0E84 E0 0D - beq Label_CE8C ; CPU:$CE86 PRG:0E86 F0 04 + beq SubCCE4D_Block_6 ; CPU:$CE86 PRG:0E86 F0 04 cpx #$11 ; CPU:$CE88 PRG:0E88 E0 11 - bne Label_CED4 ; CPU:$CE8A PRG:0E8A D0 48 + bne SubCCE4D_Block_7 ; CPU:$CE8A PRG:0E8A D0 48 ; ----------------------------------------------------------------------------- -; Routine: Label_CE8C +; Routine: SubCCE4D_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3723,17 +3727,17 @@ Label_CE72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE8C: +SubCCE4D_Block_6: ldx Zp46 ; CPU:$CE8C PRG:0E8C A6 46 - beq Label_CE9C ; CPU:$CE8E PRG:0E8E F0 0C + beq SubCCE4D_Block_8 ; CPU:$CE8E PRG:0E8E F0 0C dec Zp46 ; CPU:$CE90 PRG:0E90 C6 46 lda Zp47 ; CPU:$CE92 PRG:0E92 A5 47 clc ; CPU:$CE94 PRG:0E94 18 - adc Zp32 ; CPU:$CE95 PRG:0E95 65 32 - sta Zp32 ; CPU:$CE97 PRG:0E97 85 32 + adc CtrlTimer ; CPU:$CE95 PRG:0E95 65 32 + sta CtrlTimer ; CPU:$CE97 PRG:0E97 85 32 jmp $D01B ; CPU:$CE99 PRG:0E99 4C 1B D0 ; ----------------------------------------------------------------------------- -; Routine: Label_CE9C +; Routine: SubCCE4D_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3741,15 +3745,15 @@ Label_CE8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE9C: +SubCCE4D_Block_8: sta Zp46 ; CPU:$CE9C PRG:0E9C 85 46 iny ; CPU:$CE9E PRG:0E9E C8 lda (Zp40),y ; CPU:$CE9F PRG:0E9F B1 40 - bpl Label_CEA8 ; CPU:$CEA1 PRG:0EA1 10 05 + bpl SubCCE4D_Block_9 ; CPU:$CEA1 PRG:0EA1 10 05 and #$7F ; CPU:$CEA3 PRG:0EA3 29 7F jsr $D12B ; CPU:$CEA5 PRG:0EA5 20 2B D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CEA8 +; Routine: SubCCE4D_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +3761,11 @@ Label_CE9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEA8: +SubCCE4D_Block_9: sta Zp47 ; CPU:$CEA8 PRG:0EA8 85 47 jmp $CEC9 ; CPU:$CEAA PRG:0EAA 4C C9 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CEAD +; Routine: SubCCE4D_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3769,13 +3773,13 @@ Label_CEA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEAD: +SubCCE4D_Block_4: tax ; CPU:$CEAD PRG:0EAD AA - bpl Label_CEB5 ; CPU:$CEAE PRG:0EAE 10 05 + bpl SubCCE4D_Block_10 ; CPU:$CEAE PRG:0EAE 10 05 and #$7F ; CPU:$CEB0 PRG:0EB0 29 7F jsr $D12B ; CPU:$CEB2 PRG:0EB2 20 2B D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CEB5 +; Routine: SubCCE4D_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3783,17 +3787,17 @@ Label_CEAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEB5: +SubCCE4D_Block_10: clc ; CPU:$CEB5 PRG:0EB5 18 - adc Zp32 ; CPU:$CEB6 PRG:0EB6 65 32 - sta Zp32 ; CPU:$CEB8 PRG:0EB8 85 32 + adc CtrlTimer ; CPU:$CEB6 PRG:0EB6 65 32 + sta CtrlTimer ; CPU:$CEB8 PRG:0EB8 85 32 iny ; CPU:$CEBA PRG:0EBA C8 lda (Zp40),y ; CPU:$CEBB PRG:0EBB B1 40 ldx Zp34 ; CPU:$CEBD PRG:0EBD A6 34 - beq Label_CEC4 ; CPU:$CEBF PRG:0EBF F0 03 + beq SubCCE4D_Block_11 ; CPU:$CEBF PRG:0EBF F0 03 jsr $D12B ; CPU:$CEC1 PRG:0EC1 20 2B D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CEC4 +; Routine: SubCCE4D_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3801,12 +3805,12 @@ Label_CEB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEC4: +SubCCE4D_Block_11: clc ; CPU:$CEC4 PRG:0EC4 18 adc Zp33 ; CPU:$CEC5 PRG:0EC5 65 33 sta Zp33 ; CPU:$CEC7 PRG:0EC7 85 33 ; ----------------------------------------------------------------------------- -; 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. @@ -3814,7 +3818,7 @@ Label_CEC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEC9: +SubCCEC9: iny ; CPU:$CEC9 PRG:0EC9 C8 lda (Zp40),y ; CPU:$CECA PRG:0ECA B1 40 sta Zp35 ; CPU:$CECC PRG:0ECC 85 35 @@ -3822,7 +3826,7 @@ Label_CEC9: sty Zp43 ; CPU:$CECF PRG:0ECF 84 43 jmp $D01B ; CPU:$CED1 PRG:0ED1 4C 1B D0 ; ----------------------------------------------------------------------------- -; Routine: Label_CED4 +; Routine: SubCCE4D_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3830,15 +3834,15 @@ Label_CEC9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CED4: +SubCCE4D_Block_7: cpx #$03 ; CPU:$CED4 PRG:0ED4 E0 03 - bne Label_CEE6 ; CPU:$CED6 PRG:0ED6 D0 0E + bne SubCCEC9_Block ; CPU:$CED6 PRG:0ED6 D0 0E lda #$02 ; CPU:$CED8 PRG:0ED8 A9 02 ldx Zp34 ; CPU:$CEDA PRG:0EDA A6 34 - beq Label_CEE1 ; CPU:$CEDC PRG:0EDC F0 03 + beq SubCCEC9_Block_2 ; CPU:$CEDC PRG:0EDC F0 03 jsr $D12B ; CPU:$CEDE PRG:0EDE 20 2B D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CEE1 +; Routine: SubCCEC9_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3846,12 +3850,12 @@ Label_CED4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEE1: +SubCCEC9_Block_2: clc ; CPU:$CEE1 PRG:0EE1 18 adc Zp33 ; CPU:$CEE2 PRG:0EE2 65 33 sta Zp33 ; CPU:$CEE4 PRG:0EE4 85 33 ; ----------------------------------------------------------------------------- -; Routine: Label_CEE6 +; Routine: SubCCEC9_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3859,7 +3863,7 @@ Label_CEE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEE6: +SubCCEC9_Block: lda (Zp40),y ; CPU:$CEE6 PRG:0EE6 B1 40 sta Zp42 ; CPU:$CEE8 PRG:0EE8 85 42 jmp $CEC9 ; CPU:$CEEA PRG:0EEA 4C C9 CE @@ -3867,7 +3871,7 @@ Label_CEE6: .byte $A4, $43, $B1, $40, $85, $31, $C8, $B1, $40, $85, $42, $60, $A9, $00, $85, $43 ; CPU:$CEED PRG:0EED A4 43 B1 40 85 31 C8 B1 40 85 42 60 A9 00 85 43 .byte $4C, $56, $CE, $A9, $01, $85, $38, $4C, $56, $CE, $A9, $1E, $D0, $F0 ; CPU:$CEFD PRG:0EFD 4C 56 CE A9 01 85 38 4C 56 CE A9 1E D0 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_CF0B +; Routine: SubCCF0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3875,7 +3879,7 @@ Label_CEE6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF0B: +SubCCF0B: stx Zp40 ; CPU:$CF0B PRG:0F0B 86 40 sty Zp41 ; CPU:$CF0D PRG:0F0D 84 41 lda #$00 ; CPU:$CF0F PRG:0F0F A9 00 @@ -3883,7 +3887,7 @@ Label_CF0B: sta Zp42 ; CPU:$CF13 PRG:0F13 85 42 rts ; CPU:$CF15 PRG:0F15 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CF16 +; Routine: SubCCF16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3891,19 +3895,19 @@ Label_CF0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF16: - lda Zp32 ; CPU:$CF16 PRG:0F16 A5 32 +SubCCF16: + lda CtrlTimer ; CPU:$CF16 PRG:0F16 A5 32 cmp #$08 ; CPU:$CF18 PRG:0F18 C9 08 - bcc Label_CF2A ; CPU:$CF1A PRG:0F1A 90 0E + bcc SubCCF2A ; CPU:$CF1A PRG:0F1A 90 0E cmp #$90 ; CPU:$CF1C PRG:0F1C C9 90 - bcs Label_CF33 ; CPU:$CF1E PRG:0F1E B0 13 + bcs SubCCF16_Block ; CPU:$CF1E PRG:0F1E B0 13 lda Zp33 ; CPU:$CF20 PRG:0F20 A5 33 cmp #$0C ; CPU:$CF22 PRG:0F22 C9 0C - bcc Label_CF2A ; CPU:$CF24 PRG:0F24 90 04 + bcc SubCCF2A ; CPU:$CF24 PRG:0F24 90 04 cmp #$F4 ; CPU:$CF26 PRG:0F26 C9 F4 - bcc Label_CF36 ; CPU:$CF28 PRG:0F28 90 0C + bcc SubCCF16_Block_2 ; CPU:$CF28 PRG:0F28 90 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CF2A +; Routine: SubCCF2A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +3915,14 @@ Label_CF16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF2A: +SubCCF2A: lda #$08 ; CPU:$CF2A PRG:0F2A A9 08 - sta Zp31 ; CPU:$CF2C PRG:0F2C 85 31 + sta CtrlState ; CPU:$CF2C PRG:0F2C 85 31 lda #$00 ; CPU:$CF2E PRG:0F2E A9 00 sta Zp42 ; CPU:$CF30 PRG:0F30 85 42 rts ; CPU:$CF32 PRG:0F32 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CF33 +; Routine: SubCCF16_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3926,10 +3930,10 @@ Label_CF2A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF33: +SubCCF16_Block: jmp $CAD7 ; CPU:$CF33 PRG:0F33 4C D7 CA ; ----------------------------------------------------------------------------- -; Routine: Label_CF36 +; Routine: SubCCF16_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +3941,10 @@ Label_CF33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF36: +SubCCF16_Block_2: jmp $CAA5 ; CPU:$CF36 PRG:0F36 4C A5 CA ; ----------------------------------------------------------------------------- -; Routine: Label_CF39 +; Routine: SubCCF39 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +3952,18 @@ Label_CF36: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF39: +SubCCF39: lda #$00 ; CPU:$CF39 PRG:0F39 A9 00 sta Zp46 ; CPU:$CF3B PRG:0F3B 85 46 sta Zp47 ; CPU:$CF3D PRG:0F3D 85 47 lda #$AC ; CPU:$CF3F PRG:0F3F A9 AC - sta Zp32 ; CPU:$CF41 PRG:0F41 85 32 + sta CtrlTimer ; CPU:$CF41 PRG:0F41 85 32 rts ; CPU:$CF43 PRG:0F43 60 ; ---- data $CF44-$CF55 (18 bytes) ---- .byte $AA, $A9, $08, $85, $0D, $BD, $24, $E7, $99, $03, $04, $E8, $C8, $C6, $0D, $D0 ; CPU:$CF44 PRG:0F44 AA A9 08 85 0D BD 24 E7 99 03 04 E8 C8 C6 0D D0 .byte $F4, $60 ; CPU:$CF54 PRG:0F54 F4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CF56 +; Routine: SubCCF56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3967,26 +3971,26 @@ Label_CF39: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF56: +SubCCF56: lda ZpC1 ; CPU:$CF56 PRG:0F56 A5 C1 ldy #$02 ; CPU:$CF58 PRG:0F58 A0 02 cmp #$06 ; CPU:$CF5A PRG:0F5A C9 06 - bcc Label_CF7F ; CPU:$CF5C PRG:0F5C 90 21 + bcc SubCCF39_Block_3 ; CPU:$CF5C PRG:0F5C 90 21 ldy #$03 ; CPU:$CF5E PRG:0F5E A0 03 cmp #$11 ; CPU:$CF60 PRG:0F60 C9 11 - bcc Label_CF7F ; CPU:$CF62 PRG:0F62 90 1B + bcc SubCCF39_Block_3 ; CPU:$CF62 PRG:0F62 90 1B ldy #$05 ; CPU:$CF64 PRG:0F64 A0 05 - bne Label_CF7F ; CPU:$CF66 PRG:0F66 D0 17 + bne SubCCF39_Block_3 ; CPU:$CF66 PRG:0F66 D0 17 ldx ZpC1 ; CPU:$CF68 PRG:0F68 A6 C1 lda #$00 ; CPU:$CF6A PRG:0F6A A9 00 cpx #$06 ; CPU:$CF6C PRG:0F6C E0 06 - bcc Label_CF78 ; CPU:$CF6E PRG:0F6E 90 08 + bcc SubCCF39_Block_5 ; CPU:$CF6E PRG:0F6E 90 08 lda #$03 ; CPU:$CF70 PRG:0F70 A9 03 cpx #$11 ; CPU:$CF72 PRG:0F72 E0 11 - bcc Label_CF78 ; CPU:$CF74 PRG:0F74 90 02 + bcc SubCCF39_Block_5 ; CPU:$CF74 PRG:0F74 90 02 lda #$06 ; CPU:$CF76 PRG:0F76 A9 06 ; ----------------------------------------------------------------------------- -; Routine: Label_CF78 +; Routine: SubCCF39_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3994,13 +3998,13 @@ Label_CF56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF78: +SubCCF39_Block_5: clc ; CPU:$CF78 PRG:0F78 18 adc Zp3F ; CPU:$CF79 PRG:0F79 65 3F tax ; CPU:$CF7B PRG:0F7B AA ldy $EBF1,x ; CPU:$CF7C PRG:0F7C BC F1 EB ; ----------------------------------------------------------------------------- -; Routine: Label_CF7F +; Routine: SubCCF39_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4008,7 +4012,7 @@ Label_CF78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF7F: +SubCCF39_Block_3: sty Zp39 ; CPU:$CF7F PRG:0F7F 84 39 lda $EBFA,y ; CPU:$CF81 PRG:0F81 B9 FA EB sta Zp06 ; CPU:$CF84 PRG:0F84 85 06 @@ -4020,7 +4024,7 @@ Label_CF7F: jsr $C437 ; CPU:$CF90 PRG:0F90 20 37 C4 jmp $C655 ; CPU:$CF93 PRG:0F93 4C 55 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_CF96 +; Routine: SubCCF96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4028,15 +4032,15 @@ Label_CF7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF96: +SubCCF96: lda ZpBD ; CPU:$CF96 PRG:0F96 A5 BD - bne Label_CFB9 ; CPU:$CF98 PRG:0F98 D0 1F + bne SubCCF96_Block ; CPU:$CF98 PRG:0F98 D0 1F lda #$06 ; CPU:$CF9A PRG:0F9A A9 06 jsr $D464 ; CPU:$CF9C PRG:0F9C 20 64 D4 lda #$30 ; CPU:$CF9F PRG:0F9F A9 30 sta Zp2B ; CPU:$CFA1 PRG:0FA1 85 2B lda #$06 ; CPU:$CFA3 PRG:0FA3 A9 06 - sta Zp23 ; CPU:$CFA5 PRG:0FA5 85 23 + sta SprData ; CPU:$CFA5 PRG:0FA5 85 23 lda #$01 ; CPU:$CFA7 PRG:0FA7 A9 01 sta Zp27 ; CPU:$CFA9 PRG:0FA9 85 27 lda #$36 ; CPU:$CFAB PRG:0FAB A9 36 @@ -4045,7 +4049,7 @@ Label_CF96: sta $040B ; CPU:$CFB3 PRG:0FB3 8D 0B 04 sta $040F ; CPU:$CFB6 PRG:0FB6 8D 0F 04 ; ----------------------------------------------------------------------------- -; Routine: Label_CFB9 +; Routine: SubCCF96_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4053,10 +4057,10 @@ Label_CF96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFB9: +SubCCF96_Block: rts ; CPU:$CFB9 PRG:0FB9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFBA +; Routine: SubCCFBA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +4068,14 @@ Label_CFB9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFBA: +SubCCFBA: ldx #$00 ; CPU:$CFBA PRG:0FBA A2 00 ldy #$00 ; CPU:$CFBC PRG:0FBC A0 00 jsr $CFC5 ; CPU:$CFBE PRG:0FBE 20 C5 CF ldx #$04 ; CPU:$CFC1 PRG:0FC1 A2 04 ldy #$08 ; CPU:$CFC3 PRG:0FC3 A0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_CFC5 +; Routine: SubCCFC5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4079,16 +4083,16 @@ Label_CFBA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFC5: +SubCCFC5: lda Zp80,x ; CPU:$CFC5 PRG:0FC5 B5 80 - beq Label_CFF8 ; CPU:$CFC7 PRG:0FC7 F0 2F + beq SubCCFC5_Block ; CPU:$CFC7 PRG:0FC7 F0 2F dec Zp80,x ; CPU:$CFC9 PRG:0FC9 D6 80 - bne Label_CFD3 ; CPU:$CFCB PRG:0FCB D0 06 + bne SubCCFC5_Block_2 ; CPU:$CFCB PRG:0FCB D0 06 lda #$F4 ; CPU:$CFCD PRG:0FCD A9 F4 sta Zp81,x ; CPU:$CFCF PRG:0FCF 95 81 sta Zp82,x ; CPU:$CFD1 PRG:0FD1 95 82 ; ----------------------------------------------------------------------------- -; Routine: Label_CFD3 +; Routine: SubCCFC5_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4096,7 +4100,7 @@ Label_CFC5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD3: +SubCCFC5_Block_2: lda Zp81,x ; CPU:$CFD3 PRG:0FD3 B5 81 sta $02F0,y ; CPU:$CFD5 PRG:0FD5 99 F0 02 sta $02F4,y ; CPU:$CFD8 PRG:0FD8 99 F4 02 @@ -4113,7 +4117,7 @@ Label_CFD3: adc #$08 ; CPU:$CFF3 PRG:0FF3 69 08 sta $02F7,y ; CPU:$CFF5 PRG:0FF5 99 F7 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CFF8 +; Routine: SubCCFC5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4121,10 +4125,10 @@ Label_CFD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFF8: +SubCCFC5_Block: rts ; CPU:$CFF8 PRG:0FF8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFF9 +; Routine: SubCCFF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4132,13 +4136,13 @@ Label_CFF8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFF9: +SubCCFF9: ldx #$00 ; CPU:$CFF9 PRG:0FF9 A2 00 lda Zp80,x ; CPU:$CFFB PRG:0FFB B5 80 - beq Label_D001 ; CPU:$CFFD PRG:0FFD F0 02 + beq SubCCFF9_Block ; CPU:$CFFD PRG:0FFD F0 02 ldx #$04 ; CPU:$CFFF PRG:0FFF A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D001 +; Routine: SubCCFF9_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4146,8 +4150,8 @@ Label_CFF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D001: - lda Zp32 ; CPU:$D001 PRG:1001 A5 32 +SubCCFF9_Block: + lda CtrlTimer ; CPU:$D001 PRG:1001 A5 32 sec ; CPU:$D003 PRG:1003 38 sbc #$04 ; CPU:$D004 PRG:1004 E9 04 sta Zp81,x ; CPU:$D006 PRG:1006 95 81 @@ -4163,7 +4167,7 @@ Label_D001: sta Zp80,x ; CPU:$D018 PRG:1018 95 80 rts ; CPU:$D01A PRG:101A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D01B +; Routine: SubCD01B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4171,9 +4175,9 @@ Label_D001: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D01B: +SubCD01B: lda Zp36 ; CPU:$D01B PRG:101B A5 36 - sta ZpB4 ; CPU:$D01D PRG:101D 85 B4 + sta DataPtrLo ; CPU:$D01D PRG:101D 85 B4 lda Zp35 ; CPU:$D01F PRG:101F A5 35 asl a ; CPU:$D021 PRG:1021 0A tay ; CPU:$D022 PRG:1022 A8 @@ -4189,7 +4193,7 @@ Label_D01B: ldy #$00 ; CPU:$D034 PRG:1034 A0 00 sty Zp1A ; CPU:$D036 PRG:1036 84 1A ; ----------------------------------------------------------------------------- -; Routine: Label_D038 +; Routine: SubCD08F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4197,14 +4201,14 @@ Label_D01B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D038: +SubCD08F_Block: ldy Zp1A ; CPU:$D038 PRG:1038 A4 1A lda (Zp10),y ; CPU:$D03A PRG:103A B1 10 cmp #$00 ; CPU:$D03C PRG:103C C9 00 - bne Label_D050 ; CPU:$D03E PRG:103E D0 10 - ldx ZpB4 ; CPU:$D040 PRG:1040 A6 B4 + bne SubCD01B_Block ; CPU:$D03E PRG:103E D0 10 + ldx DataPtrLo ; CPU:$D040 PRG:1040 A6 B4 ; ----------------------------------------------------------------------------- -; Routine: Label_D042 +; Routine: SubCD042 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4212,10 +4216,10 @@ Label_D038: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D042: +SubCD042: lda #$F4 ; CPU:$D042 PRG:1042 A9 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_D044 +; Routine: SubCD044 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +4227,14 @@ Label_D042: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D044: +SubCD044: cpx Zp37 ; CPU:$D044 PRG:1044 E4 37 - beq Label_D04F ; CPU:$D046 PRG:1046 F0 07 + beq SubCD044_Block ; CPU:$D046 PRG:1046 F0 07 sta $0200,x ; CPU:$D048 PRG:1048 9D 00 02 inx ; CPU:$D04B PRG:104B E8 jmp $D044 ; CPU:$D04C PRG:104C 4C 44 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D04F +; Routine: SubCD044_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4238,10 +4242,10 @@ Label_D044: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D04F: +SubCD044_Block: rts ; CPU:$D04F PRG:104F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D050 +; Routine: SubCD01B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4249,7 +4253,7 @@ Label_D04F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D050: +SubCD01B_Block: sta Zp13 ; CPU:$D050 PRG:1050 85 13 iny ; CPU:$D052 PRG:1052 C8 lda (Zp10),y ; CPU:$D053 PRG:1053 B1 10 @@ -4258,17 +4262,17 @@ Label_D050: lda (Zp10),y ; CPU:$D058 PRG:1058 B1 10 iny ; CPU:$D05A PRG:105A C8 clc ; CPU:$D05B PRG:105B 18 - adc Zp32 ; CPU:$D05C PRG:105C 65 32 + adc CtrlTimer ; CPU:$D05C PRG:105C 65 32 sta ZpB1 ; CPU:$D05E PRG:105E 85 B1 lda (Zp10),y ; CPU:$D060 PRG:1060 B1 10 iny ; CPU:$D062 PRG:1062 C8 ldx Zp34 ; CPU:$D063 PRG:1063 A6 34 - beq Label_D06D ; CPU:$D065 PRG:1065 F0 06 + beq SubCD044_Block_2 ; CPU:$D065 PRG:1065 F0 06 jsr $D12B ; CPU:$D067 PRG:1067 20 2B D1 sec ; CPU:$D06A PRG:106A 38 sbc #$08 ; CPU:$D06B PRG:106B E9 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D06D +; Routine: SubCD044_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4276,7 +4280,7 @@ Label_D050: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D06D: +SubCD044_Block_2: clc ; CPU:$D06D PRG:106D 18 adc Zp33 ; CPU:$D06E PRG:106E 65 33 sta ZpB2 ; CPU:$D070 PRG:1070 85 B2 @@ -4285,16 +4289,16 @@ Label_D06D: lda (Zp12),y ; CPU:$D076 PRG:1076 B1 12 ldx #$00 ; CPU:$D078 PRG:1078 A2 00 cmp #$00 ; CPU:$D07A PRG:107A C9 00 - beq Label_D08C ; CPU:$D07C PRG:107C F0 0E + beq SubCD044_Block_5 ; CPU:$D07C PRG:107C F0 0E ldx #$10 ; CPU:$D07E PRG:107E A2 10 cmp #$01 ; CPU:$D080 PRG:1080 C9 01 - beq Label_D08C ; CPU:$D082 PRG:1082 F0 08 + beq SubCD044_Block_5 ; CPU:$D082 PRG:1082 F0 08 ldx #$38 ; CPU:$D084 PRG:1084 A2 38 cmp #$02 ; CPU:$D086 PRG:1086 C9 02 - beq Label_D08C ; CPU:$D088 PRG:1088 F0 02 + beq SubCD044_Block_5 ; CPU:$D088 PRG:1088 F0 02 ldx #$44 ; CPU:$D08A PRG:108A A2 44 ; ----------------------------------------------------------------------------- -; Routine: Label_D08C +; Routine: SubCD044_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4302,10 +4306,10 @@ Label_D06D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D08C: +SubCD044_Block_5: stx Zp1B ; CPU:$D08C PRG:108C 86 1B ; ----------------------------------------------------------------------------- -; Routine: Label_D08E +; Routine: SubCD08E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +4317,10 @@ Label_D08C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D08E: +SubCD08E: iny ; CPU:$D08E PRG:108E C8 ; ----------------------------------------------------------------------------- -; 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. @@ -4324,17 +4328,17 @@ Label_D08E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D08F: +SubCD08F: lda (Zp12),y ; CPU:$D08F PRG:108F B1 12 cmp #$FF ; CPU:$D091 PRG:1091 C9 FF - beq Label_D038 ; CPU:$D093 PRG:1093 F0 A3 + beq SubCD08F_Block ; CPU:$D093 PRG:1093 F0 A3 cmp #$FE ; CPU:$D095 PRG:1095 C9 FE - bne Label_D0A0 ; CPU:$D097 PRG:1097 D0 07 + bne SubCD08F_Block_2 ; CPU:$D097 PRG:1097 D0 07 inc Zp1B ; CPU:$D099 PRG:1099 E6 1B inc Zp1B ; CPU:$D09B PRG:109B E6 1B jmp $D08E ; CPU:$D09D PRG:109D 4C 8E D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D0A0 +; Routine: SubCD08F_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4342,22 +4346,22 @@ Label_D08F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0A0: +SubCD08F_Block_2: cmp #$FD ; CPU:$D0A0 PRG:10A0 C9 FD - bne Label_D0B9 ; CPU:$D0A2 PRG:10A2 D0 15 + bne SubCD08F_Block_3 ; CPU:$D0A2 PRG:10A2 D0 15 iny ; CPU:$D0A4 PRG:10A4 C8 lda (Zp12),y ; CPU:$D0A5 PRG:10A5 B1 12 clc ; CPU:$D0A7 PRG:10A7 18 adc Zp3C ; CPU:$D0A8 PRG:10A8 65 3C sta ZpB3 ; CPU:$D0AA PRG:10AA 85 B3 lda Zp38 ; CPU:$D0AC PRG:10AC A5 38 - beq Label_D08E ; CPU:$D0AE PRG:10AE F0 DE + beq SubCD08E ; CPU:$D0AE PRG:10AE F0 DE lda ZpB3 ; CPU:$D0B0 PRG:10B0 A5 B3 ora #$20 ; CPU:$D0B2 PRG:10B2 09 20 sta ZpB3 ; CPU:$D0B4 PRG:10B4 85 B3 jmp $D08E ; CPU:$D0B6 PRG:10B6 4C 8E D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D0B9 +; Routine: SubCD08F_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,32 +4369,32 @@ Label_D0A0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0B9: +SubCD08F_Block_3: ldx Zp1B ; CPU:$D0B9 PRG:10B9 A6 1B lda $DCC0,x ; CPU:$D0BB PRG:10BB BD C0 DC inc Zp1B ; CPU:$D0BE PRG:10BE E6 1B clc ; CPU:$D0C0 PRG:10C0 18 adc ZpB1 ; CPU:$D0C1 PRG:10C1 65 B1 jsr $D10E ; CPU:$D0C3 PRG:10C3 20 0E D1 - ldx ZpB4 ; CPU:$D0C6 PRG:10C6 A6 B4 + ldx DataPtrLo ; CPU:$D0C6 PRG:10C6 A6 B4 sta $0200,x ; CPU:$D0C8 PRG:10C8 9D 00 02 - inc ZpB4 ; CPU:$D0CB PRG:10CB E6 B4 + inc DataPtrLo ; CPU:$D0CB PRG:10CB E6 B4 lda (Zp12),y ; CPU:$D0CD PRG:10CD B1 12 iny ; CPU:$D0CF PRG:10CF C8 - ldx ZpB4 ; CPU:$D0D0 PRG:10D0 A6 B4 + ldx DataPtrLo ; CPU:$D0D0 PRG:10D0 A6 B4 sta $0200,x ; CPU:$D0D2 PRG:10D2 9D 00 02 - inc ZpB4 ; CPU:$D0D5 PRG:10D5 E6 B4 + inc DataPtrLo ; CPU:$D0D5 PRG:10D5 E6 B4 lda ZpB3 ; CPU:$D0D7 PRG:10D7 A5 B3 ldx Zp34 ; CPU:$D0D9 PRG:10D9 A6 34 - beq Label_D0E9 ; CPU:$D0DB PRG:10DB F0 0C + beq SubCD08F_Block_4 ; CPU:$D0DB PRG:10DB F0 0C and #$BF ; CPU:$D0DD PRG:10DD 29 BF - sta Zp0C ; CPU:$D0DF PRG:10DF 85 0C + sta Ptr2Lo ; CPU:$D0DF PRG:10DF 85 0C lda ZpB3 ; CPU:$D0E1 PRG:10E1 A5 B3 and #$40 ; CPU:$D0E3 PRG:10E3 29 40 eor #$40 ; CPU:$D0E5 PRG:10E5 49 40 - ora Zp0C ; CPU:$D0E7 PRG:10E7 05 0C + ora Ptr2Lo ; CPU:$D0E7 PRG:10E7 05 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D0E9 +; Routine: SubCD08F_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4398,18 +4402,18 @@ Label_D0B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0E9: - ldx ZpB4 ; CPU:$D0E9 PRG:10E9 A6 B4 +SubCD08F_Block_4: + ldx DataPtrLo ; CPU:$D0E9 PRG:10E9 A6 B4 sta $0200,x ; CPU:$D0EB PRG:10EB 9D 00 02 - inc ZpB4 ; CPU:$D0EE PRG:10EE E6 B4 + inc DataPtrLo ; CPU:$D0EE PRG:10EE E6 B4 ldx Zp1B ; CPU:$D0F0 PRG:10F0 A6 1B lda $DCC0,x ; CPU:$D0F2 PRG:10F2 BD C0 DC inc Zp1B ; CPU:$D0F5 PRG:10F5 E6 1B ldx Zp34 ; CPU:$D0F7 PRG:10F7 A6 34 - beq Label_D0FE ; CPU:$D0F9 PRG:10F9 F0 03 + beq SubCD08F_Block_5 ; CPU:$D0F9 PRG:10F9 F0 03 jsr $D12B ; CPU:$D0FB PRG:10FB 20 2B D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D0FE +; Routine: SubCD08F_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4417,16 +4421,16 @@ Label_D0E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0FE: +SubCD08F_Block_5: clc ; CPU:$D0FE PRG:10FE 18 adc ZpB2 ; CPU:$D0FF PRG:10FF 65 B2 jsr $D114 ; CPU:$D101 PRG:1101 20 14 D1 - ldx ZpB4 ; CPU:$D104 PRG:1104 A6 B4 + ldx DataPtrLo ; CPU:$D104 PRG:1104 A6 B4 sta $0200,x ; CPU:$D106 PRG:1106 9D 00 02 - inc ZpB4 ; CPU:$D109 PRG:1109 E6 B4 + inc DataPtrLo ; CPU:$D109 PRG:1109 E6 B4 jmp $D08F ; CPU:$D10B PRG:110B 4C 8F D0 ; ----------------------------------------------------------------------------- -; 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. @@ -4434,12 +4438,12 @@ Label_D0FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D10E: +SubCD10E: pha ; CPU:$D10E PRG:110E 48 - lda Zp32 ; CPU:$D10F PRG:110F A5 32 + lda CtrlTimer ; CPU:$D10F PRG:110F A5 32 jmp $D117 ; CPU:$D111 PRG:1111 4C 17 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D114 +; Routine: SubCD114 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +4451,11 @@ Label_D10E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D114: +SubCD114: pha ; CPU:$D114 PRG:1114 48 lda Zp33 ; CPU:$D115 PRG:1115 A5 33 ; ----------------------------------------------------------------------------- -; Routine: Label_D117 +; Routine: SubCD117 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +4463,16 @@ Label_D114: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D117: - sta Zp0F ; CPU:$D117 PRG:1117 85 0F +SubCD117: + sta SndTemp ; CPU:$D117 PRG:1117 85 0F pla ; CPU:$D119 PRG:1119 68 pha ; CPU:$D11A PRG:111A 48 sec ; CPU:$D11B PRG:111B 38 - sbc Zp0F ; CPU:$D11C PRG:111C E5 0F - bcs Label_D123 ; CPU:$D11E PRG:111E B0 03 + sbc SndTemp ; CPU:$D11C PRG:111C E5 0F + bcs SubCD117_Block ; CPU:$D11E PRG:111E B0 03 jsr $D12B ; CPU:$D120 PRG:1120 20 2B D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D123 +; Routine: SubCD117_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4476,13 +4480,13 @@ Label_D117: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D123: +SubCD117_Block: cmp #$30 ; CPU:$D123 PRG:1123 C9 30 pla ; CPU:$D125 PRG:1125 68 - bcc Label_D12A ; CPU:$D126 PRG:1126 90 02 + bcc SubCD117_Block_2 ; CPU:$D126 PRG:1126 90 02 lda #$FF ; CPU:$D128 PRG:1128 A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D12A +; Routine: SubCD117_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +4494,10 @@ Label_D123: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D12A: +SubCD117_Block_2: rts ; CPU:$D12A PRG:112A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D12B +; Routine: SubCD12B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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_D12A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D12B: +SubCD12B: eor #$FF ; CPU:$D12B PRG:112B 49 FF clc ; CPU:$D12D PRG:112D 18 adc #$01 ; CPU:$D12E PRG:112E 69 01 rts ; CPU:$D130 PRG:1130 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D131 +; Routine: SubCD131 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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_D12B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D131: - lda $4017 ; CPU:$D131 PRG:1131 AD 17 40 +SubCD131: + lda JOY2 ; CPU:$D131 PRG:1131 AD 17 40 and #$10 ; CPU:$D134 PRG:1134 29 10 cmp ZpB7 ; CPU:$D136 PRG:1136 C5 B7 - beq Label_D141 ; CPU:$D138 PRG:1138 F0 07 + beq SubCD131_Block ; CPU:$D138 PRG:1138 F0 07 sta ZpB7 ; CPU:$D13A PRG:113A 85 B7 ; ----------------------------------------------------------------------------- -; Routine: Label_D13C +; Routine: SubCD131_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +4534,11 @@ Label_D131: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D13C: +SubCD131_Block_6: lda #$00 ; CPU:$D13C PRG:113C A9 00 sta ZpB8 ; CPU:$D13E PRG:113E 85 B8 ; ----------------------------------------------------------------------------- -; Routine: Label_D140 +; Routine: SubCD131_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +4546,10 @@ Label_D13C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D140: +SubCD131_Block_2: rts ; CPU:$D140 PRG:1140 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D141 +; Routine: SubCD131_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +4557,18 @@ Label_D140: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D141: +SubCD131_Block: inc ZpB8 ; CPU:$D141 PRG:1141 E6 B8 ldy ZpB8 ; CPU:$D143 PRG:1143 A4 B8 cpy #$01 ; CPU:$D145 PRG:1145 C0 01 - bne Label_D140 ; CPU:$D147 PRG:1147 D0 F7 + bne SubCD131_Block_2 ; CPU:$D147 PRG:1147 D0 F7 and #$10 ; CPU:$D149 PRG:1149 29 10 - beq Label_D153 ; CPU:$D14B PRG:114B F0 06 + beq SubCD131_Block_3 ; CPU:$D14B PRG:114B F0 06 lda #$01 ; CPU:$D14D PRG:114D A9 01 sta ZpB6 ; CPU:$D14F PRG:114F 85 B6 - bne Label_D13C ; CPU:$D151 PRG:1151 D0 E9 + bne SubCD131_Block_6 ; CPU:$D151 PRG:1151 D0 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_D153 +; Routine: SubCD131_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4572,16 +4576,16 @@ Label_D141: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D153: +SubCD131_Block_3: lda ZpB6 ; CPU:$D153 PRG:1153 A5 B6 - beq Label_D13C ; CPU:$D155 PRG:1155 F0 E5 + beq SubCD131_Block_6 ; CPU:$D155 PRG:1155 F0 E5 ldy #$00 ; CPU:$D157 PRG:1157 A0 00 sty ZpB6 ; CPU:$D159 PRG:1159 84 B6 iny ; CPU:$D15B PRG:115B C8 sty ZpB5 ; CPU:$D15C PRG:115C 84 B5 - bne Label_D13C ; CPU:$D15E PRG:115E D0 DC + bne SubCD131_Block_6 ; CPU:$D15E PRG:115E D0 DC ; ----------------------------------------------------------------------------- -; Routine: Label_D160 +; Routine: SubCD160 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +4593,11 @@ Label_D153: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D160: +SubCD160: lda ZpB9 ; CPU:$D160 PRG:1160 A5 B9 - bne Label_D169 ; CPU:$D162 PRG:1162 D0 05 + bne SubCD160_Block ; CPU:$D162 PRG:1162 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D164 +; Routine: SubCD160_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4601,11 +4605,11 @@ Label_D160: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D164: +SubCD160_Block_3: lda #$00 ; CPU:$D164 PRG:1164 A9 00 sta ZpB5 ; CPU:$D166 PRG:1166 85 B5 ; ----------------------------------------------------------------------------- -; Routine: Label_D168 +; Routine: SubCD160_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4613,10 +4617,10 @@ Label_D164: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D168: +SubCD160_Block_2: rts ; CPU:$D168 PRG:1168 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D169 +; Routine: SubCD160_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4624,11 +4628,11 @@ Label_D168: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D169: +SubCD160_Block: lda ZpB5 ; CPU:$D169 PRG:1169 A5 B5 - beq Label_D168 ; CPU:$D16B PRG:116B F0 FB + beq SubCD160_Block_2 ; CPU:$D16B PRG:116B F0 FB lda ZpBA ; CPU:$D16D PRG:116D A5 BA - beq Label_D164 ; CPU:$D16F PRG:116F F0 F3 + beq SubCD160_Block_3 ; CPU:$D16F PRG:116F F0 F3 dec ZpBA ; CPU:$D171 PRG:1171 C6 BA lda #$01 ; CPU:$D173 PRG:1173 A9 01 sta ZpBE ; CPU:$D175 PRG:1175 85 BE @@ -4636,11 +4640,11 @@ Label_D169: sta ZpB5 ; CPU:$D179 PRG:1179 85 B5 jsr $D4E6 ; CPU:$D17B PRG:117B 20 E6 D4 lda #$04 ; CPU:$D17E PRG:117E A9 04 - sta Zp23 ; CPU:$D180 PRG:1180 85 23 + sta SprData ; CPU:$D180 PRG:1180 85 23 jsr $C23B ; CPU:$D182 PRG:1182 20 3B C2 jsr $C5E1 ; CPU:$D185 PRG:1185 20 E1 C5 lda Zp24 ; CPU:$D188 PRG:1188 A5 24 - beq Label_D19F ; CPU:$D18A PRG:118A F0 13 + beq SubCD160_Block_4 ; CPU:$D18A PRG:118A F0 13 jsr $D4E2 ; CPU:$D18C PRG:118C 20 E2 D4 jsr $F56C ; CPU:$D18F PRG:118F 20 6C F5 jsr $D4E6 ; CPU:$D192 PRG:1192 20 E6 D4 @@ -4648,9 +4652,9 @@ Label_D169: sta ZpB0 ; CPU:$D197 PRG:1197 85 B0 lda #$FF ; CPU:$D199 PRG:1199 A9 FF sta Zp0A ; CPU:$D19B PRG:119B 85 0A - bne Label_D1CA ; CPU:$D19D PRG:119D D0 2B + bne SubCD160_Block_5 ; CPU:$D19D PRG:119D D0 2B ; ----------------------------------------------------------------------------- -; Routine: Label_D19F +; Routine: SubCD160_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4658,19 +4662,19 @@ Label_D169: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D19F: +SubCD160_Block_4: lda #$05 ; CPU:$D19F PRG:119F A9 05 - sta Zp23 ; CPU:$D1A1 PRG:11A1 85 23 + sta SprData ; CPU:$D1A1 PRG:11A1 85 23 lda #$00 ; CPU:$D1A3 PRG:11A3 A9 00 sta ZpB0 ; CPU:$D1A5 PRG:11A5 85 B0 ldy #$00 ; CPU:$D1A7 PRG:11A7 A0 00 lda $0300 ; CPU:$D1A9 PRG:11A9 AD 00 03 - beq Label_D1B5 ; CPU:$D1AC PRG:11AC F0 07 + beq SubCD160_Block_6 ; CPU:$D1AC PRG:11AC F0 07 lda $0301 ; CPU:$D1AE PRG:11AE AD 01 03 cmp #$03 ; CPU:$D1B1 PRG:11B1 C9 03 - beq Label_D1C7 ; CPU:$D1B3 PRG:11B3 F0 12 + beq SubCD160_Block_7 ; CPU:$D1B3 PRG:11B3 F0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_D1B5 +; Routine: SubCD160_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +4682,17 @@ Label_D19F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1B5: +SubCD160_Block_6: lda #$01 ; CPU:$D1B5 PRG:11B5 A9 01 sta ZpB0 ; CPU:$D1B7 PRG:11B7 85 B0 ldy #$50 ; CPU:$D1B9 PRG:11B9 A0 50 lda $0350 ; CPU:$D1BB PRG:11BB AD 50 03 - beq Label_D1DD ; CPU:$D1BE PRG:11BE F0 1D + beq SubCD160_Block_9 ; CPU:$D1BE PRG:11BE F0 1D lda $0351 ; CPU:$D1C0 PRG:11C0 AD 51 03 cmp #$03 ; CPU:$D1C3 PRG:11C3 C9 03 - bne Label_D1DD ; CPU:$D1C5 PRG:11C5 D0 16 + bne SubCD160_Block_9 ; CPU:$D1C5 PRG:11C5 D0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_D1C7 +; Routine: SubCD160_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4696,10 +4700,10 @@ Label_D1B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1C7: +SubCD160_Block_7: jsr $D292 ; CPU:$D1C7 PRG:11C7 20 92 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1CA +; Routine: SubCD160_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4707,10 +4711,10 @@ Label_D1C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1CA: +SubCD160_Block_5: jsr $C61E ; CPU:$D1CA PRG:11CA 20 1E C6 ; ----------------------------------------------------------------------------- -; Routine: Label_D1CD +; Routine: SubCD160_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +4722,16 @@ Label_D1CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1CD: +SubCD160_Block_11: lda Zp20 ; CPU:$D1CD PRG:11CD A5 20 - bne Label_D1F4 ; CPU:$D1CF PRG:11CF D0 23 - lda $4017 ; CPU:$D1D1 PRG:11D1 AD 17 40 + bne SubCD160_Block_10 ; CPU:$D1CF PRG:11CF D0 23 + lda JOY2 ; CPU:$D1D1 PRG:11D1 AD 17 40 and #$08 ; CPU:$D1D4 PRG:11D4 29 08 - bne Label_D1CD ; CPU:$D1D6 PRG:11D6 D0 F5 + bne SubCD160_Block_11 ; CPU:$D1D6 PRG:11D6 D0 F5 lda ZpB0 ; CPU:$D1D8 PRG:11D8 A5 B0 jmp $D28A ; CPU:$D1DA PRG:11DA 4C 8A D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1DD +; Routine: SubCD160_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +4739,13 @@ Label_D1CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1DD: +SubCD160_Block_9: lda Zp1F ; CPU:$D1DD PRG:11DD A5 1F cmp #$02 ; CPU:$D1DF PRG:11DF C9 02 - bne Label_D1E6 ; CPU:$D1E1 PRG:11E1 D0 03 + bne SubCD160_Block_12 ; CPU:$D1E1 PRG:11E1 D0 03 jmp $D266 ; CPU:$D1E3 PRG:11E3 4C 66 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1E6 +; Routine: SubCD160_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4749,15 +4753,15 @@ Label_D1DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1E6: +SubCD160_Block_12: ldy #$02 ; CPU:$D1E6 PRG:11E6 A0 02 - sty Zp23 ; CPU:$D1E8 PRG:11E8 84 23 + sty SprData ; CPU:$D1E8 PRG:11E8 84 23 jsr $C5D9 ; CPU:$D1EA PRG:11EA 20 D9 C5 ldy #$01 ; CPU:$D1ED PRG:11ED A0 01 sty Zp27 ; CPU:$D1EF PRG:11EF 84 27 jmp $D26A ; CPU:$D1F1 PRG:11F1 4C 6A D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1F4 +; Routine: SubCD160_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4765,18 +4769,18 @@ Label_D1E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1F4: +SubCD160_Block_10: jsr $C61E ; CPU:$D1F4 PRG:11F4 20 1E C6 - lda Zp09 ; CPU:$D1F7 PRG:11F7 A5 09 + lda GameState ; CPU:$D1F7 PRG:11F7 A5 09 and #$E7 ; CPU:$D1F9 PRG:11F9 29 E7 - sta Zp09 ; CPU:$D1FB PRG:11FB 85 09 + sta GameState ; CPU:$D1FB PRG:11FB 85 09 lda #$08 ; CPU:$D1FD PRG:11FD A9 08 ldy ZpB0 ; CPU:$D1FF PRG:11FF A4 B0 cpy #$02 ; CPU:$D201 PRG:1201 C0 02 - beq Label_D207 ; CPU:$D203 PRG:1203 F0 02 + beq SubCD160_Block_13 ; CPU:$D203 PRG:1203 F0 02 lda #$10 ; CPU:$D205 PRG:1205 A9 10 ; ----------------------------------------------------------------------------- -; Routine: Label_D207 +; Routine: SubCD160_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4784,20 +4788,20 @@ Label_D1F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D207: - ora Zp09 ; CPU:$D207 PRG:1207 05 09 - sta Zp09 ; CPU:$D209 PRG:1209 85 09 - sta $2001 ; CPU:$D20B PRG:120B 8D 01 20 +SubCD160_Block_13: + ora GameState ; CPU:$D207 PRG:1207 05 09 + sta GameState ; CPU:$D209 PRG:1209 85 09 + sta PPUMASK ; CPU:$D20B PRG:120B 8D 01 20 jsr $C23B ; CPU:$D20E PRG:120E 20 3B C2 lda $0350 ; CPU:$D211 PRG:1211 AD 50 03 - beq Label_D222 ; CPU:$D214 PRG:1214 F0 0C + beq SubCD222 ; CPU:$D214 PRG:1214 F0 0C lda $0351 ; CPU:$D216 PRG:1216 AD 51 03 cmp #$03 ; CPU:$D219 PRG:1219 C9 03 - bne Label_D222 ; CPU:$D21B PRG:121B D0 05 + bne SubCD222 ; CPU:$D21B PRG:121B D0 05 ldy #$50 ; CPU:$D21D PRG:121D A0 50 jsr $D292 ; CPU:$D21F PRG:121F 20 92 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D222 +; Routine: SubCD222 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +4809,18 @@ Label_D207: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D222: +SubCD222: lda Zp20 ; CPU:$D222 PRG:1222 A5 20 - bne Label_D270 ; CPU:$D224 PRG:1224 D0 4A - lda $4017 ; CPU:$D226 PRG:1226 AD 17 40 + bne SubCD222_Block ; CPU:$D224 PRG:1224 D0 4A + lda JOY2 ; CPU:$D226 PRG:1226 AD 17 40 and #$08 ; CPU:$D229 PRG:1229 29 08 - bne Label_D222 ; CPU:$D22B PRG:122B D0 F5 + bne SubCD222 ; CPU:$D22B PRG:122B D0 F5 lda ZpB0 ; CPU:$D22D PRG:122D A5 B0 cmp #$02 ; CPU:$D22F PRG:122F C9 02 - bne Label_D246 ; CPU:$D231 PRG:1231 D0 13 + bne SubCD222_Block_2 ; CPU:$D231 PRG:1231 D0 13 lda #$01 ; CPU:$D233 PRG:1233 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D235 +; Routine: SubCD28A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4824,16 +4828,16 @@ Label_D222: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D235: +SubCD28A_Block: sta $05FF ; CPU:$D235 PRG:1235 8D FF 05 lda #$01 ; CPU:$D238 PRG:1238 A9 01 - sta Zp23 ; CPU:$D23A PRG:123A 85 23 + sta SprData ; CPU:$D23A PRG:123A 85 23 lda #$00 ; CPU:$D23C PRG:123C A9 00 sta Zp0A ; CPU:$D23E PRG:123E 85 0A jsr $C5D9 ; CPU:$D240 PRG:1240 20 D9 C5 jmp $C5EE ; CPU:$D243 PRG:1243 4C EE C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D246 +; Routine: SubCD222_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4841,16 +4845,16 @@ Label_D235: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D246: +SubCD222_Block_2: inc ZpAA ; CPU:$D246 PRG:1246 E6 AA inc ZpBD ; CPU:$D248 PRG:1248 E6 BD ldx #$04 ; CPU:$D24A PRG:124A A2 04 lda ZpB0 ; CPU:$D24C PRG:124C A5 B0 - bne Label_D256 ; CPU:$D24E PRG:124E D0 06 + bne SubCD222_Block_3 ; CPU:$D24E PRG:124E D0 06 stx $0301 ; CPU:$D250 PRG:1250 8E 01 03 jmp $D259 ; CPU:$D253 PRG:1253 4C 59 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D256 +; Routine: SubCD222_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4858,10 +4862,10 @@ Label_D246: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D256: +SubCD222_Block_3: stx $0351 ; CPU:$D256 PRG:1256 8E 51 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D259 +; Routine: SubCD259 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4869,16 +4873,16 @@ Label_D256: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D259: +SubCD259: lda Zp1F ; CPU:$D259 PRG:1259 A5 1F cmp #$02 ; CPU:$D25B PRG:125B C9 02 - beq Label_D266 ; CPU:$D25D PRG:125D F0 07 + beq SubCD266 ; CPU:$D25D PRG:125D F0 07 ldy #$01 ; CPU:$D25F PRG:125F A0 01 sty Zp27 ; CPU:$D261 PRG:1261 84 27 iny ; CPU:$D263 PRG:1263 C8 - bne Label_D268 ; CPU:$D264 PRG:1264 D0 02 + bne SubCD259_Block ; CPU:$D264 PRG:1264 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D266 +; Routine: SubCD266 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +4890,10 @@ Label_D259: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D266: +SubCD266: ldy #$03 ; CPU:$D266 PRG:1266 A0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D268 +; Routine: SubCD259_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +4901,10 @@ Label_D266: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D268: - sty Zp23 ; CPU:$D268 PRG:1268 84 23 +SubCD259_Block: + sty SprData ; CPU:$D268 PRG:1268 84 23 ; ----------------------------------------------------------------------------- -; Routine: Label_D26A +; Routine: SubCD26A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4908,11 +4912,11 @@ Label_D268: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D26A: +SubCD26A: jsr $C23B ; CPU:$D26A PRG:126A 20 3B C2 jmp $C5EE ; CPU:$D26D PRG:126D 4C EE C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D270 +; Routine: SubCD222_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4920,20 +4924,20 @@ Label_D26A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D270: +SubCD222_Block: lda ZpB0 ; CPU:$D270 PRG:1270 A5 B0 - bne Label_D28A ; CPU:$D272 PRG:1272 D0 16 + bne SubCD28A ; CPU:$D272 PRG:1272 D0 16 lda $0350 ; CPU:$D274 PRG:1274 AD 50 03 - beq Label_D259 ; CPU:$D277 PRG:1277 F0 E0 + beq SubCD259 ; CPU:$D277 PRG:1277 F0 E0 lda $0351 ; CPU:$D279 PRG:1279 AD 51 03 cmp #$03 ; CPU:$D27C PRG:127C C9 03 - bne Label_D259 ; CPU:$D27E PRG:127E D0 D9 + bne SubCD259 ; CPU:$D27E PRG:127E D0 D9 lda #$01 ; CPU:$D280 PRG:1280 A9 01 sta ZpB0 ; CPU:$D282 PRG:1282 85 B0 jsr $C61E ; CPU:$D284 PRG:1284 20 1E C6 jmp $D222 ; CPU:$D287 PRG:1287 4C 22 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D28A +; Routine: SubCD28A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4941,13 +4945,13 @@ Label_D270: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D28A: +SubCD28A: cmp #$02 ; CPU:$D28A PRG:128A C9 02 - bne Label_D259 ; CPU:$D28C PRG:128C D0 CB + bne SubCD259 ; CPU:$D28C PRG:128C D0 CB lda #$02 ; CPU:$D28E PRG:128E A9 02 - bne Label_D235 ; CPU:$D290 PRG:1290 D0 A3 + bne SubCD28A_Block ; CPU:$D290 PRG:1290 D0 A3 ; ----------------------------------------------------------------------------- -; Routine: Label_D292 +; Routine: SubCD292 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4955,15 +4959,16 @@ Label_D28A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D292: +SubCD292: lda $0302,y ; CPU:$D292 PRG:1292 B9 02 03 sta ZpB1 ; CPU:$D295 PRG:1295 85 B1 lda $0303,y ; CPU:$D297 PRG:1297 B9 03 03 sta ZpB2 ; CPU:$D29A PRG:129A 85 B2 lda $030A,y ; CPU:$D29C PRG:129C B9 0A 03 - sta Zp0C ; CPU:$D29F PRG:129F 85 0C + sta Ptr2Lo ; CPU:$D29F PRG:129F 85 0C jmp $C67C ; CPU:$D2A1 PRG:12A1 4C 7C C6 ; ---- data $D2A4-$D3D1 (302 bytes) ---- + DuckDataTable: ; Duck data table (19 entries) .byte $A4, $C2, $B9, $02, $EC, $C9, $FF, $D0, $04, $A0, $13, $D0, $F5, $C8, $84, $C2 ; CPU:$D2A4 PRG:12A4 A4 C2 B9 02 EC C9 FF D0 04 A0 13 D0 F5 C8 84 C2 .byte $85, $AB, $A9, $00, $85, $BB, $85, $AA, $A9, $01, $8D, $A0, $03, $8D, $A1, $03 ; CPU:$D2B4 PRG:12B4 85 AB A9 00 85 BB 85 AA A9 01 8D A0 03 8D A1 03 .byte $A9, $FF, $85, $9C, $60, $A5, $A9, $20, $5E, $C3, $D6, $D2, $DD, $D2, $3D, $D3 ; CPU:$D2C4 PRG:12C4 A9 FF 85 9C 60 A5 A9 20 5E C3 D6 D2 DD D2 3D D3 @@ -4984,7 +4989,7 @@ Label_D292: .byte $A2, $09, $A9, $D6, $A4, $1F, $C0, $02, $D0, $02, $A9, $D4, $9D, $01, $05, $CA ; CPU:$D3B4 PRG:13B4 A2 09 A9 D6 A4 1F C0 02 D0 02 A9 D4 9D 01 05 CA .byte $10, $FA, $4C, $E9, $C6, $A5, $2B, $D0, $04, $A9, $04, $D0, $CA, $60 ; CPU:$D3C4 PRG:13C4 10 FA 4C E9 C6 A5 2B D0 04 A9 04 D0 CA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3D2 +; Routine: SubCD3D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4992,15 +4997,15 @@ Label_D292: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3D2: +SubCD3D2: lda Zp27 ; CPU:$D3D2 PRG:13D2 A5 27 - bne Label_D427 ; CPU:$D3D4 PRG:13D4 D0 51 + bne SubCD428_Block_4 ; CPU:$D3D4 PRG:13D4 D0 51 inc Zp9B ; CPU:$D3D6 PRG:13D6 E6 9B ldy #$00 ; CPU:$D3D8 PRG:13D8 A0 00 jsr $D3DF ; CPU:$D3DA PRG:13DA 20 DF D3 ldy #$50 ; CPU:$D3DD PRG:13DD A0 50 ; ----------------------------------------------------------------------------- -; Routine: Label_D3DF +; Routine: SubCD3DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5008,21 +5013,21 @@ Label_D3D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3DF: +SubCD3DF: lda $0300,y ; CPU:$D3DF PRG:13DF B9 00 03 - beq Label_D427 ; CPU:$D3E2 PRG:13E2 F0 43 + beq SubCD428_Block_4 ; CPU:$D3E2 PRG:13E2 F0 43 lda $0301,y ; CPU:$D3E4 PRG:13E4 B9 01 03 cmp #$03 ; CPU:$D3E7 PRG:13E7 C9 03 - beq Label_D3FB ; CPU:$D3E9 PRG:13E9 F0 10 + beq SubCD3DF_Block_2 ; CPU:$D3E9 PRG:13E9 F0 10 cmp #$08 ; CPU:$D3EB PRG:13EB C9 08 - bne Label_D427 ; CPU:$D3ED PRG:13ED D0 38 + bne SubCD428_Block_4 ; CPU:$D3ED PRG:13ED D0 38 ldx $030B,y ; CPU:$D3EF PRG:13EF BE 0B 03 lda $03EF,x ; CPU:$D3F2 PRG:13F2 BD EF 03 - beq Label_D409 ; CPU:$D3F5 PRG:13F5 F0 12 + beq SubCD3DF_Block_4 ; CPU:$D3F5 PRG:13F5 F0 12 ldx #$D3 ; CPU:$D3F7 PRG:13F7 A2 D3 - bne Label_D40B ; CPU:$D3F9 PRG:13F9 D0 10 + bne SubCD3DF_Block_5 ; CPU:$D3F9 PRG:13F9 D0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_D3FB +; Routine: SubCD3DF_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5030,16 +5035,16 @@ Label_D3DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3FB: +SubCD3DF_Block_2: lda Zp9B ; CPU:$D3FB PRG:13FB A5 9B and #$0F ; CPU:$D3FD PRG:13FD 29 0F - bne Label_D427 ; CPU:$D3FF PRG:13FF D0 26 + bne SubCD428_Block_4 ; CPU:$D3FF PRG:13FF D0 26 ldx #$B7 ; CPU:$D401 PRG:1401 A2 B7 lda Zp9B ; CPU:$D403 PRG:1403 A5 9B and #$10 ; CPU:$D405 PRG:1405 29 10 - beq Label_D413 ; CPU:$D407 PRG:1407 F0 0A + beq SubCD3DF_Block_8 ; CPU:$D407 PRG:1407 F0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D409 +; Routine: SubCD3DF_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +5052,10 @@ Label_D3FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D409: +SubCD3DF_Block_4: ldx #$D4 ; CPU:$D409 PRG:1409 A2 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D40B +; Routine: SubCD3DF_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5058,14 +5063,14 @@ Label_D409: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D40B: +SubCD3DF_Block_5: lda Zp1F ; CPU:$D40B PRG:140B A5 1F cmp #$02 ; CPU:$D40D PRG:140D C9 02 - beq Label_D413 ; CPU:$D40F PRG:140F F0 02 + beq SubCD3DF_Block_8 ; CPU:$D40F PRG:140F F0 02 inx ; CPU:$D411 PRG:1411 E8 inx ; CPU:$D412 PRG:1412 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_D413 +; Routine: SubCD3DF_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5073,7 +5078,7 @@ Label_D40B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D413: +SubCD3DF_Block_8: stx $0501 ; CPU:$D413 PRG:1413 8E 01 05 ldx #$11 ; CPU:$D416 PRG:1416 A2 11 stx $0500 ; CPU:$D418 PRG:1418 8E 00 05 @@ -5084,7 +5089,7 @@ Label_D413: ldy #$23 ; CPU:$D422 PRG:1422 A0 23 jmp $C71D ; CPU:$D424 PRG:1424 4C 1D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_D427 +; Routine: SubCD428_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5092,10 +5097,10 @@ Label_D413: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D427: +SubCD428_Block_4: rts ; CPU:$D427 PRG:1427 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D428 +; Routine: SubCD428 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5103,25 +5108,25 @@ Label_D427: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D428: +SubCD428: lda ZpB9 ; CPU:$D428 PRG:1428 A5 B9 - beq Label_D427 ; CPU:$D42A PRG:142A F0 FB + beq SubCD428_Block_4 ; CPU:$D42A PRG:142A F0 FB lda ZpBA ; CPU:$D42C PRG:142C A5 BA - bne Label_D427 ; CPU:$D42E PRG:142E D0 F7 + bne SubCD428_Block_4 ; CPU:$D42E PRG:142E D0 F7 lda Zp9A ; CPU:$D430 PRG:1430 A5 9A and #$07 ; CPU:$D432 PRG:1432 29 07 - bne Label_D461 ; CPU:$D434 PRG:1434 D0 2B + bne SubCD428_Block_3 ; CPU:$D434 PRG:1434 D0 2B lda Zp27 ; CPU:$D436 PRG:1436 A5 27 - bne Label_D427 ; CPU:$D438 PRG:1438 D0 ED + bne SubCD428_Block_4 ; CPU:$D438 PRG:1438 D0 ED lda Zp9A ; CPU:$D43A PRG:143A A5 9A and #$08 ; CPU:$D43C PRG:143C 29 08 - beq Label_D446 ; CPU:$D43E PRG:143E F0 06 + beq SubCD446 ; CPU:$D43E PRG:143E F0 06 lda #$B7 ; CPU:$D440 PRG:1440 A9 B7 tax ; CPU:$D442 PRG:1442 AA tay ; CPU:$D443 PRG:1443 A8 - bne Label_D44C ; CPU:$D444 PRG:1444 D0 06 + bne SubCD428_Block_5 ; CPU:$D444 PRG:1444 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D446 +; Routine: SubCD446 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5129,12 +5134,12 @@ Label_D428: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D446: +SubCD446: lda #$DA ; CPU:$D446 PRG:1446 A9 DA ldx #$DB ; CPU:$D448 PRG:1448 A2 DB ldy #$DC ; CPU:$D44A PRG:144A A0 DC ; ----------------------------------------------------------------------------- -; Routine: Label_D44C +; Routine: SubCD428_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +5147,7 @@ Label_D446: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D44C: +SubCD428_Block_5: sta $0501 ; CPU:$D44C PRG:144C 8D 01 05 stx $0502 ; CPU:$D44F PRG:144F 8E 02 05 sty $0503 ; CPU:$D452 PRG:1452 8C 03 05 @@ -5152,7 +5157,7 @@ Label_D44C: ldy #$23 ; CPU:$D45C PRG:145C A0 23 jsr $C71D ; CPU:$D45E PRG:145E 20 1D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_D461 +; Routine: SubCD428_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5160,11 +5165,11 @@ Label_D44C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D461: +SubCD428_Block_3: inc Zp9A ; CPU:$D461 PRG:1461 E6 9A rts ; CPU:$D463 PRG:1463 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D464 +; Routine: SubCD464 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +5177,13 @@ Label_D461: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D464: +SubCD464: pha ; CPU:$D464 PRG:1464 48 jsr $C5D9 ; CPU:$D465 PRG:1465 20 D9 C5 jsr $F56C ; CPU:$D468 PRG:1468 20 6C F5 pla ; CPU:$D46B PRG:146B 68 ; ----------------------------------------------------------------------------- -; Routine: Label_D46C +; Routine: SubCD46C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,22 +5191,22 @@ Label_D464: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D46C: +SubCD46C: sta Zp1B ; CPU:$D46C PRG:146C 85 1B - beq Label_D4BC ; CPU:$D46E PRG:146E F0 4C + beq SubCD46C_Block ; CPU:$D46E PRG:146E F0 4C asl a ; CPU:$D470 PRG:1470 0A tax ; CPU:$D471 PRG:1471 AA lda $EC38,x ; CPU:$D472 PRG:1472 BD 38 EC - sta Zp14 ; CPU:$D475 PRG:1475 85 14 + sta SndChannel ; CPU:$D475 PRG:1475 85 14 lda $EC39,x ; CPU:$D477 PRG:1477 BD 39 EC - sta Zp15 ; CPU:$D47A PRG:147A 85 15 + sta SndNote ; CPU:$D47A PRG:147A 85 15 ldy #$01 ; CPU:$D47C PRG:147C A0 01 - lda (Zp14),y ; CPU:$D47E PRG:147E B1 14 - sta Zp0F ; CPU:$D480 PRG:1480 85 0F + lda (SndChannel),y ; CPU:$D47E PRG:147E B1 14 + sta SndTemp ; CPU:$D480 PRG:1480 85 0F ldx #$00 ; CPU:$D482 PRG:1482 A2 00 iny ; CPU:$D484 PRG:1484 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D485 +; Routine: SubCD46C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5209,25 +5214,25 @@ Label_D46C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D485: - lda (Zp14),y ; CPU:$D485 PRG:1485 B1 14 +SubCD46C_Block_2: + lda (SndChannel),y ; CPU:$D485 PRG:1485 B1 14 sta $0500,x ; CPU:$D487 PRG:1487 9D 00 05 iny ; CPU:$D48A PRG:148A C8 inx ; CPU:$D48B PRG:148B E8 - dec Zp0F ; CPU:$D48C PRG:148C C6 0F - bne Label_D485 ; CPU:$D48E PRG:148E D0 F5 + dec SndTemp ; CPU:$D48C PRG:148C C6 0F + bne SubCD46C_Block_2 ; CPU:$D48E PRG:148E D0 F5 lda Zp1B ; CPU:$D490 PRG:1490 A5 1B cmp #$01 ; CPU:$D492 PRG:1492 C9 01 - bne Label_D4AB ; CPU:$D494 PRG:1494 D0 15 + bne SubCD46C_Block_3 ; CPU:$D494 PRG:1494 D0 15 lda ZpC1 ; CPU:$D496 PRG:1496 A5 C1 lsr a ; CPU:$D498 PRG:1498 4A lsr a ; CPU:$D499 PRG:1499 4A lsr a ; CPU:$D49A PRG:149A 4A lsr a ; CPU:$D49B PRG:149B 4A - beq Label_D4A1 ; CPU:$D49C PRG:149C F0 03 + beq SubCD46C_Block_4 ; CPU:$D49C PRG:149C F0 03 sta $0518 ; CPU:$D49E PRG:149E 8D 18 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D4A1 +; Routine: SubCD46C_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5235,13 +5240,13 @@ Label_D485: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4A1: +SubCD46C_Block_4: lda ZpC1 ; CPU:$D4A1 PRG:14A1 A5 C1 and #$0F ; CPU:$D4A3 PRG:14A3 29 0F sta $0519 ; CPU:$D4A5 PRG:14A5 8D 19 05 jmp $D4CF ; CPU:$D4A8 PRG:14A8 4C CF D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D4AB +; Routine: SubCD46C_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5249,16 +5254,16 @@ Label_D4A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4AB: +SubCD46C_Block_3: cmp #$05 ; CPU:$D4AB PRG:14AB C9 05 - bne Label_D4CF ; CPU:$D4AD PRG:14AD D0 20 - lda Zp0C ; CPU:$D4AF PRG:14AF A5 0C + bne SubCD4CF ; CPU:$D4AD PRG:14AD D0 20 + lda Ptr2Lo ; CPU:$D4AF PRG:14AF A5 0C sta $0521 ; CPU:$D4B1 PRG:14B1 8D 21 05 lda Zp0D ; CPU:$D4B4 PRG:14B4 A5 0D sta $0522 ; CPU:$D4B6 PRG:14B6 8D 22 05 jmp $D4CF ; CPU:$D4B9 PRG:14B9 4C CF D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D4BC +; Routine: SubCD46C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5266,11 +5271,11 @@ Label_D4AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4BC: +SubCD46C_Block: ldx #$44 ; CPU:$D4BC PRG:14BC A2 44 lda #$24 ; CPU:$D4BE PRG:14BE A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_D4C0 +; Routine: SubCD46C_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +5283,16 @@ Label_D4BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4C0: +SubCD46C_Block_5: sta $0501,x ; CPU:$D4C0 PRG:14C0 9D 01 05 dex ; CPU:$D4C3 PRG:14C3 CA - bpl Label_D4C0 ; CPU:$D4C4 PRG:14C4 10 FA + bpl SubCD46C_Block_5 ; CPU:$D4C4 PRG:14C4 10 FA lda #$6B ; CPU:$D4C6 PRG:14C6 A9 6B sta $0500 ; CPU:$D4C8 PRG:14C8 8D 00 05 ldx #$CB ; CPU:$D4CB PRG:14CB A2 CB - bne Label_D4D4 ; CPU:$D4CD PRG:14CD D0 05 + bne SubCD46C_Block_6 ; CPU:$D4CD PRG:14CD D0 05 ; ----------------------------------------------------------------------------- -; 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. @@ -5295,12 +5300,12 @@ Label_D4C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4CF: +SubCD4CF: ldy #$00 ; CPU:$D4CF PRG:14CF A0 00 - lda (Zp14),y ; CPU:$D4D1 PRG:14D1 B1 14 + lda (SndChannel),y ; CPU:$D4D1 PRG:14D1 B1 14 tax ; CPU:$D4D3 PRG:14D3 AA ; ----------------------------------------------------------------------------- -; Routine: Label_D4D4 +; Routine: SubCD46C_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5308,13 +5313,13 @@ Label_D4CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4D4: +SubCD46C_Block_6: ldy #$20 ; CPU:$D4D4 PRG:14D4 A0 20 jmp $C71D ; CPU:$D4D6 PRG:14D6 4C 1D C7 ; ---- data $D4D9-$D4E1 (9 bytes) ---- .byte $20, $3B, $C2, $20, $4B, $C6, $4C, $37, $C6 ; CPU:$D4D9 PRG:14D9 20 3B C2 20 4B C6 4C 37 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_D4E2 +; Routine: SubCD4E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +5327,11 @@ Label_D4D4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4E2: +SubCD4E2: lda #$01 ; CPU:$D4E2 PRG:14E2 A9 01 - bne Label_D500 ; CPU:$D4E4 PRG:14E4 D0 1A + bne SubCD4F6_Block_2 ; CPU:$D4E4 PRG:14E4 D0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_D4E6 +; Routine: SubCD4E6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5334,11 +5339,11 @@ Label_D4E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4E6: +SubCD4E6: lda #$02 ; CPU:$D4E6 PRG:14E6 A9 02 - bne Label_D500 ; CPU:$D4E8 PRG:14E8 D0 16 + bne SubCD4F6_Block_2 ; CPU:$D4E8 PRG:14E8 D0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_D4EA +; Routine: SubCD4EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5346,11 +5351,11 @@ Label_D4E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4EA: +SubCD4EA: lda #$04 ; CPU:$D4EA PRG:14EA A9 04 - bne Label_D500 ; CPU:$D4EC PRG:14EC D0 12 + bne SubCD4F6_Block_2 ; CPU:$D4EC PRG:14EC D0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_D4EE +; Routine: SubCD4EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5358,13 +5363,13 @@ Label_D4EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4EE: +SubCD4EE: lda #$08 ; CPU:$D4EE PRG:14EE A9 08 - bne Label_D500 ; CPU:$D4F0 PRG:14F0 D0 0E + bne SubCD4F6_Block_2 ; CPU:$D4F0 PRG:14F0 D0 0E lda #$10 ; CPU:$D4F2 PRG:14F2 A9 10 - bne Label_D500 ; CPU:$D4F4 PRG:14F4 D0 0A + bne SubCD4F6_Block_2 ; CPU:$D4F4 PRG:14F4 D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D4F6 +; Routine: SubCD4F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5372,13 +5377,13 @@ Label_D4EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4F6: +SubCD4F6: lda #$20 ; CPU:$D4F6 PRG:14F6 A9 20 - bne Label_D500 ; CPU:$D4F8 PRG:14F8 D0 06 + bne SubCD4F6_Block_2 ; CPU:$D4F8 PRG:14F8 D0 06 lda #$40 ; CPU:$D4FA PRG:14FA A9 40 - bne Label_D500 ; CPU:$D4FC PRG:14FC D0 02 + bne SubCD4F6_Block_2 ; CPU:$D4FC PRG:14FC D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D4FE +; Routine: SubCD4FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5386,10 +5391,10 @@ Label_D4F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4FE: +SubCD4FE: lda #$80 ; CPU:$D4FE PRG:14FE A9 80 ; ----------------------------------------------------------------------------- -; Routine: Label_D500 +; Routine: SubCD4F6_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5397,12 +5402,12 @@ Label_D4FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D500: +SubCD4F6_Block_2: ora ZpF0 ; CPU:$D500 PRG:1500 05 F0 sta ZpF0 ; CPU:$D502 PRG:1502 85 F0 rts ; CPU:$D504 PRG:1504 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D505 +; Routine: SubCD505 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +5415,11 @@ Label_D500: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D505: +SubCD505: lda #$01 ; CPU:$D505 PRG:1505 A9 01 - bne Label_D523 ; CPU:$D507 PRG:1507 D0 1A + bne SubCD515_Block_3 ; CPU:$D507 PRG:1507 D0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_D509 +; Routine: SubCD509 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5422,15 +5427,15 @@ Label_D505: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D509: +SubCD509: lda #$02 ; CPU:$D509 PRG:1509 A9 02 - bne Label_D523 ; CPU:$D50B PRG:150B D0 16 + bne SubCD515_Block_3 ; CPU:$D50B PRG:150B D0 16 lda #$04 ; CPU:$D50D PRG:150D A9 04 - bne Label_D523 ; CPU:$D50F PRG:150F D0 12 + bne SubCD515_Block_3 ; CPU:$D50F PRG:150F D0 12 lda #$08 ; CPU:$D511 PRG:1511 A9 08 - bne Label_D523 ; CPU:$D513 PRG:1513 D0 0E + bne SubCD515_Block_3 ; CPU:$D513 PRG:1513 D0 0E ; ----------------------------------------------------------------------------- -; Routine: Label_D515 +; Routine: SubCD515 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5438,15 +5443,15 @@ Label_D509: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D515: +SubCD515: lda #$10 ; CPU:$D515 PRG:1515 A9 10 - bne Label_D523 ; CPU:$D517 PRG:1517 D0 0A + bne SubCD515_Block_3 ; CPU:$D517 PRG:1517 D0 0A lda #$20 ; CPU:$D519 PRG:1519 A9 20 - bne Label_D523 ; CPU:$D51B PRG:151B D0 06 + bne SubCD515_Block_3 ; CPU:$D51B PRG:151B D0 06 lda #$40 ; CPU:$D51D PRG:151D A9 40 - bne Label_D523 ; CPU:$D51F PRG:151F D0 02 + bne SubCD515_Block_3 ; CPU:$D51F PRG:151F D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D521 +; Routine: SubCD521 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5454,10 +5459,10 @@ Label_D515: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D521: +SubCD521: lda #$80 ; CPU:$D521 PRG:1521 A9 80 ; ----------------------------------------------------------------------------- -; Routine: Label_D523 +; Routine: SubCD515_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5465,12 +5470,12 @@ Label_D521: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D523: +SubCD515_Block_3: ora ZpF1 ; CPU:$D523 PRG:1523 05 F1 sta ZpF1 ; CPU:$D525 PRG:1525 85 F1 rts ; CPU:$D527 PRG:1527 60 ; ----------------------------------------------------------------------------- -; 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. @@ -5478,11 +5483,11 @@ Label_D523: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D528: +SubCD528: lda #$01 ; CPU:$D528 PRG:1528 A9 01 - bne Label_D546 ; CPU:$D52A PRG:152A D0 1A + bne SubCD53C_Block_2 ; CPU:$D52A PRG:152A D0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_D52C +; Routine: SubCD52C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +5495,17 @@ Label_D528: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D52C: +SubCD52C: lda #$02 ; CPU:$D52C PRG:152C A9 02 - bne Label_D546 ; CPU:$D52E PRG:152E D0 16 + bne SubCD53C_Block_2 ; CPU:$D52E PRG:152E D0 16 lda #$04 ; CPU:$D530 PRG:1530 A9 04 - bne Label_D546 ; CPU:$D532 PRG:1532 D0 12 + bne SubCD53C_Block_2 ; CPU:$D532 PRG:1532 D0 12 lda #$08 ; CPU:$D534 PRG:1534 A9 08 - bne Label_D546 ; CPU:$D536 PRG:1536 D0 0E + bne SubCD53C_Block_2 ; CPU:$D536 PRG:1536 D0 0E lda #$10 ; CPU:$D538 PRG:1538 A9 10 - bne Label_D546 ; CPU:$D53A PRG:153A D0 0A + bne SubCD53C_Block_2 ; CPU:$D53A PRG:153A D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D53C +; Routine: SubCD53C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5508,14 +5513,14 @@ Label_D52C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D53C: +SubCD53C: lda #$20 ; CPU:$D53C PRG:153C A9 20 - bne Label_D546 ; CPU:$D53E PRG:153E D0 06 + bne SubCD53C_Block_2 ; CPU:$D53E PRG:153E D0 06 lda #$40 ; CPU:$D540 PRG:1540 A9 40 - bne Label_D546 ; CPU:$D542 PRG:1542 D0 02 + bne SubCD53C_Block_2 ; CPU:$D542 PRG:1542 D0 02 lda #$80 ; CPU:$D544 PRG:1544 A9 80 ; ----------------------------------------------------------------------------- -; Routine: Label_D546 +; Routine: SubCD53C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5523,12 +5528,12 @@ Label_D53C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D546: +SubCD53C_Block_2: ora ZpF2 ; CPU:$D546 PRG:1546 05 F2 sta ZpF2 ; CPU:$D548 PRG:1548 85 F2 rts ; CPU:$D54A PRG:154A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D54B +; Routine: SubCD54B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,21 +5541,22 @@ Label_D546: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D54B: +SubCD54B: jsr $C5D9 ; CPU:$D54B PRG:154B 20 D9 C5 ldx #$6C ; CPU:$D54E PRG:154E A2 6C ldy #$E2 ; CPU:$D550 PRG:1550 A0 E2 jsr $C617 ; CPU:$D552 PRG:1552 20 17 C6 lda #$03 ; CPU:$D555 PRG:1555 A9 03 - sta Zp23 ; CPU:$D557 PRG:1557 85 23 + sta SprData ; CPU:$D557 PRG:1557 85 23 lda #$00 ; CPU:$D559 PRG:1559 A9 00 sta Zp9D ; CPU:$D55B PRG:155B 85 9D lda #$09 ; CPU:$D55D PRG:155D A9 09 - sta Zp25 ; CPU:$D55F PRG:155F 85 25 + sta Temp ; CPU:$D55F PRG:155F 85 25 jsr $C3C1 ; CPU:$D561 PRG:1561 20 C1 C3 jsr $C5EE ; CPU:$D564 PRG:1564 20 EE C5 jmp $D505 ; CPU:$D567 PRG:1567 4C 05 D5 ; ---- data $D56A-$D5D1 (104 bytes) ---- + SpriteDataTable2: ; Sprite data table 2 (7 entries) .byte $20, $D9, $D4, $20, $A4, $D2, $20, $93, $C7, $20, $B3, $C7, $20, $D9, $C5, $20 ; CPU:$D56A PRG:156A 20 D9 D4 20 A4 D2 20 93 C7 20 B3 C7 20 D9 C5 20 .byte $6C, $F5, $A9, $01, $85, $BE, $A9, $03, $85, $BA, $20, $F5, $C6, $20, $CC, $C6 ; CPU:$D57A PRG:157A 6C F5 A9 01 85 BE A9 03 85 BA 20 F5 C6 20 CC C6 .byte $A9, $06, $85, $9D, $A9, $0D, $85, $25, $60, $A9, $01, $8D, $00, $03, $8D, $50 ; CPU:$D58A PRG:158A A9 06 85 9D A9 0D 85 25 60 A9 01 8D 00 03 8D 50 @@ -5559,7 +5565,7 @@ Label_D54B: .byte $BA, $A9, $02, $85, $BC, $A9, $00, $85, $B5, $85, $B9, $85, $BD, $20, $F5, $C6 ; CPU:$D5BA PRG:15BA BA A9 02 85 BC A9 00 85 B5 85 B9 85 BD 20 F5 C6 .byte $20, $CC, $C6, $A9, $0B, $85, $25, $60 ; CPU:$D5CA PRG:15CA 20 CC C6 A9 0B 85 25 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D5D2 +; Routine: SubCD5D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5567,7 +5573,7 @@ Label_D54B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5D2: +SubCD5D2: jsr $D131 ; CPU:$D5D2 PRG:15D2 20 31 D1 jsr $D160 ; CPU:$D5D5 PRG:15D5 20 60 D1 jsr $D5EE ; CPU:$D5D8 PRG:15D8 20 EE D5 @@ -5581,7 +5587,7 @@ Label_D5D2: nop ; CPU:$D5EC PRG:15EC EA rts ; CPU:$D5ED PRG:15ED 60 ; ----------------------------------------------------------------------------- -; 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. @@ -5589,16 +5595,16 @@ Label_D5D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5EE: +SubCD5EE: lda $0300 ; CPU:$D5EE PRG:15EE AD 00 03 - beq Label_D600 ; CPU:$D5F1 PRG:15F1 F0 0D + beq SubCD5EE_Block ; CPU:$D5F1 PRG:15F1 F0 0D ldy #$00 ; CPU:$D5F3 PRG:15F3 A0 00 sty ZpA1 ; CPU:$D5F5 PRG:15F5 84 A1 jsr $C5F7 ; CPU:$D5F7 PRG:15F7 20 F7 C5 jsr $D652 ; CPU:$D5FA PRG:15FA 20 52 D6 jsr $C607 ; CPU:$D5FD PRG:15FD 20 07 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_D600 +; Routine: SubCD5EE_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +5612,16 @@ Label_D5EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D600: +SubCD5EE_Block: lda $0350 ; CPU:$D600 PRG:1600 AD 50 03 - beq Label_D612 ; CPU:$D603 PRG:1603 F0 0D + beq SubCD5EE_Block_2 ; CPU:$D603 PRG:1603 F0 0D ldy #$50 ; CPU:$D605 PRG:1605 A0 50 inc ZpA1 ; CPU:$D607 PRG:1607 E6 A1 jsr $C5F7 ; CPU:$D609 PRG:1609 20 F7 C5 jsr $D652 ; CPU:$D60C PRG:160C 20 52 D6 jsr $C607 ; CPU:$D60F PRG:160F 20 07 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_D612 +; Routine: SubCD5EE_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5623,18 +5629,18 @@ Label_D600: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D612: +SubCD5EE_Block_2: lda ZpBC ; CPU:$D612 PRG:1612 A5 BC - bne Label_D64B ; CPU:$D614 PRG:1614 D0 35 + bne SubCD5EE_Block_3 ; CPU:$D614 PRG:1614 D0 35 ldx $0301 ; CPU:$D616 PRG:1616 AE 01 03 ldy $0351 ; CPU:$D619 PRG:1619 AC 51 03 cpx #$03 ; CPU:$D61C PRG:161C E0 03 - beq Label_D627 ; CPU:$D61E PRG:161E F0 07 + beq SubCD5EE_Block_5 ; CPU:$D61E PRG:161E F0 07 cpy #$03 ; CPU:$D620 PRG:1620 C0 03 - beq Label_D627 ; CPU:$D622 PRG:1622 F0 03 + beq SubCD5EE_Block_5 ; CPU:$D622 PRG:1622 F0 03 jsr $D4FE ; CPU:$D624 PRG:1624 20 FE D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D627 +; Routine: SubCD5EE_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,21 +5648,21 @@ Label_D612: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D627: +SubCD5EE_Block_5: cpx #$00 ; CPU:$D627 PRG:1627 E0 00 - bne Label_D651 ; CPU:$D629 PRG:1629 D0 26 + bne SubCD5EE_Block_10 ; CPU:$D629 PRG:1629 D0 26 cpy #$00 ; CPU:$D62B PRG:162B C0 00 - bne Label_D651 ; CPU:$D62D PRG:162D D0 22 + bne SubCD5EE_Block_10 ; CPU:$D62D PRG:162D D0 22 jsr $D446 ; CPU:$D62F PRG:162F 20 46 D4 lda #$00 ; CPU:$D632 PRG:1632 A9 00 sta ZpB9 ; CPU:$D634 PRG:1634 85 B9 lda ZpBB ; CPU:$D636 PRG:1636 A5 BB cmp #$0A ; CPU:$D638 PRG:1638 C9 0A - beq Label_D640 ; CPU:$D63A PRG:163A F0 04 + beq SubCD5EE_Block_8 ; CPU:$D63A PRG:163A F0 04 lda #$0A ; CPU:$D63C PRG:163C A9 0A - bne Label_D646 ; CPU:$D63E PRG:163E D0 06 + bne SubCD5EE_Block_9 ; CPU:$D63E PRG:163E D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D640 +; Routine: SubCD5EE_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5664,12 +5670,12 @@ Label_D627: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D640: +SubCD5EE_Block_8: lda #$00 ; CPU:$D640 PRG:1640 A9 00 sta ZpA9 ; CPU:$D642 PRG:1642 85 A9 lda #$0C ; CPU:$D644 PRG:1644 A9 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D646 +; Routine: SubCD5EE_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5677,11 +5683,11 @@ Label_D640: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D646: - sta Zp25 ; CPU:$D646 PRG:1646 85 25 +SubCD5EE_Block_9: + sta Temp ; CPU:$D646 PRG:1646 85 25 jmp $C23B ; CPU:$D648 PRG:1648 4C 3B C2 ; ----------------------------------------------------------------------------- -; Routine: Label_D64B +; Routine: SubCD5EE_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5689,12 +5695,12 @@ Label_D646: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D64B: +SubCD5EE_Block_3: lda ZpA6 ; CPU:$D64B PRG:164B A5 A6 - beq Label_D651 ; CPU:$D64D PRG:164D F0 02 + beq SubCD5EE_Block_10 ; CPU:$D64D PRG:164D F0 02 dec ZpA6 ; CPU:$D64F PRG:164F C6 A6 ; ----------------------------------------------------------------------------- -; Routine: Label_D651 +; Routine: SubCD5EE_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5702,10 +5708,10 @@ Label_D64B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D651: +SubCD5EE_Block_10: rts ; CPU:$D651 PRG:1651 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D652 +; Routine: SubCD652 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5713,8 +5719,8 @@ Label_D651: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D652: - lda Zp31 ; CPU:$D652 PRG:1652 A5 31 +SubCD652: + lda CtrlState ; CPU:$D652 PRG:1652 A5 31 jsr $C35E ; CPU:$D654 PRG:1654 20 5E C3 cpx #$C5 ; CPU:$D657 PRG:1657 E0 C5 adc #$D6 ; CPU:$D659 PRG:1659 69 D6 @@ -5725,7 +5731,7 @@ Label_D652: .byte $D7, $8F, $D7, $E0, $C5, $E0, $C5, $C5, $D7, $A2, $4F, $BD, $DA, $E8, $95, $30 ; CPU:$D660 PRG:1660 D7 8F D7 E0 C5 E0 C5 C5 D7 A2 4F BD DA E8 95 30 .byte $CA, $10, $F8, $A9, $01, $85, $A7, $60 ; CPU:$D670 PRG:1670 CA 10 F8 A9 01 85 A7 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. @@ -5733,9 +5739,9 @@ Label_D652: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D678: +SubCD678: lda ZpA6 ; CPU:$D678 PRG:1678 A5 A6 - bne Label_D6D4 ; CPU:$D67A PRG:167A D0 58 + bne SubCD652_Block ; CPU:$D67A PRG:167A D0 58 lda #$01 ; CPU:$D67C PRG:167C A9 01 sta ZpB9 ; CPU:$D67E PRG:167E 85 B9 jsr $C588 ; CPU:$D680 PRG:1680 20 88 C5 @@ -5746,12 +5752,12 @@ Label_D678: jsr $C588 ; CPU:$D689 PRG:1689 20 88 C5 and #$0F ; CPU:$D68C PRG:168C 29 0F cmp Zp9C ; CPU:$D68E PRG:168E C5 9C - bne Label_D697 ; CPU:$D690 PRG:1690 D0 05 + bne SubCD652_Block_2 ; CPU:$D690 PRG:1690 D0 05 clc ; CPU:$D692 PRG:1692 18 adc #$01 ; CPU:$D693 PRG:1693 69 01 and #$0F ; CPU:$D695 PRG:1695 29 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D697 +; Routine: SubCD652_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5759,13 +5765,13 @@ Label_D678: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D697: +SubCD652_Block_2: sta Zp9C ; CPU:$D697 PRG:1697 85 9C asl a ; CPU:$D699 PRG:1699 0A - sta Zp0C ; CPU:$D69A PRG:169A 85 0C + sta Ptr2Lo ; CPU:$D69A PRG:169A 85 0C asl a ; CPU:$D69C PRG:169C 0A clc ; CPU:$D69D PRG:169D 18 - adc Zp0C ; CPU:$D69E PRG:169E 65 0C + adc Ptr2Lo ; CPU:$D69E PRG:169E 65 0C tax ; CPU:$D6A0 PRG:16A0 AA lda $E968,x ; CPU:$D6A1 PRG:16A1 BD 68 E9 sta Zp44 ; CPU:$D6A4 PRG:16A4 85 44 @@ -5788,9 +5794,9 @@ Label_D697: jsr $D53C ; CPU:$D6CB PRG:16CB 20 3C D5 lda #$05 ; CPU:$D6CE PRG:16CE A9 05 sta Zp58 ; CPU:$D6D0 PRG:16D0 85 58 - inc Zp31 ; CPU:$D6D2 PRG:16D2 E6 31 + inc CtrlState ; CPU:$D6D2 PRG:16D2 E6 31 ; ----------------------------------------------------------------------------- -; Routine: Label_D6D4 +; Routine: SubCD652_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5798,10 +5804,10 @@ Label_D697: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6D4: +SubCD652_Block: rts ; CPU:$D6D4 PRG:16D4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D6D5 +; Routine: SubCD6D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5809,14 +5815,14 @@ Label_D6D4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6D5: +SubCD6D5: lda Zp58 ; CPU:$D6D5 PRG:16D5 A5 58 - beq Label_D6E0 ; CPU:$D6D7 PRG:16D7 F0 07 + beq SubCD652_Block_4 ; CPU:$D6D7 PRG:16D7 F0 07 dec Zp58 ; CPU:$D6D9 PRG:16D9 C6 58 - bne Label_D6E0 ; CPU:$D6DB PRG:16DB D0 03 + bne SubCD652_Block_4 ; CPU:$D6DB PRG:16DB D0 03 jsr $D4F6 ; CPU:$D6DD PRG:16DD 20 F6 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D6E0 +; Routine: SubCD652_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5824,16 +5830,16 @@ Label_D6D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6E0: +SubCD652_Block_4: lda Zp4C ; CPU:$D6E0 PRG:16E0 A5 4C - bmi Label_D6EC ; CPU:$D6E2 PRG:16E2 30 08 + bmi SubCD652_Block_5 ; CPU:$D6E2 PRG:16E2 30 08 lda Zp49 ; CPU:$D6E4 PRG:16E4 A5 49 lsr a ; CPU:$D6E6 PRG:16E6 4A lsr a ; CPU:$D6E7 PRG:16E7 4A cmp #$07 ; CPU:$D6E8 PRG:16E8 C9 07 - bcc Label_D6EE ; CPU:$D6EA PRG:16EA 90 02 + bcc SubCD652_Block_6 ; CPU:$D6EA PRG:16EA 90 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D6EC +; Routine: SubCD652_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5841,10 +5847,10 @@ Label_D6E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6EC: +SubCD652_Block_5: lda #$07 ; CPU:$D6EC PRG:16EC A9 07 ; ----------------------------------------------------------------------------- -; Routine: Label_D6EE +; Routine: SubCD652_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5852,9 +5858,9 @@ Label_D6EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6EE: +SubCD652_Block_6: cmp Zp5F ; CPU:$D6EE PRG:16EE C5 5F - beq Label_D6FD ; CPU:$D6F0 PRG:16F0 F0 0B + beq SubCD652_Block_7 ; CPU:$D6F0 PRG:16F0 F0 0B sta Zp5F ; CPU:$D6F2 PRG:16F2 85 5F clc ; CPU:$D6F4 PRG:16F4 18 adc ZpA8 ; CPU:$D6F5 PRG:16F5 65 A8 @@ -5862,7 +5868,7 @@ Label_D6EE: lda $E9C8,x ; CPU:$D6F8 PRG:16F8 BD C8 E9 sta Zp5E ; CPU:$D6FB PRG:16FB 85 5E ; ----------------------------------------------------------------------------- -; Routine: Label_D6FD +; Routine: SubCD652_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +5876,10 @@ Label_D6EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6FD: +SubCD652_Block_7: jsr $D81B ; CPU:$D6FD PRG:16FD 20 1B D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D700 +; Routine: SubCD652_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5881,42 +5887,42 @@ Label_D6FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D700: +SubCD652_Block_8: pha ; CPU:$D700 PRG:1700 48 jsr $D8AE ; CPU:$D701 PRG:1701 20 AE D8 pla ; CPU:$D704 PRG:1704 68 sec ; CPU:$D705 PRG:1705 38 sbc #$01 ; CPU:$D706 PRG:1706 E9 01 - bne Label_D700 ; CPU:$D708 PRG:1708 D0 F6 + bne SubCD652_Block_8 ; CPU:$D708 PRG:1708 D0 F6 lda Zp4E ; CPU:$D70A PRG:170A A5 4E - bmi Label_D74D ; CPU:$D70C PRG:170C 30 3F + bmi SubCD652_Block_10 ; CPU:$D70C PRG:170C 30 3F lda Zp49 ; CPU:$D70E PRG:170E A5 49 cmp #$30 ; CPU:$D710 PRG:1710 C9 30 - bcs Label_D74D ; CPU:$D712 PRG:1712 B0 39 + bcs SubCD652_Block_10 ; CPU:$D712 PRG:1712 B0 39 jsr $D82F ; CPU:$D714 PRG:1714 20 2F D8 - lda Zp32 ; CPU:$D717 PRG:1717 A5 32 + lda CtrlTimer ; CPU:$D717 PRG:1717 A5 32 sec ; CPU:$D719 PRG:1719 38 sbc #$40 ; CPU:$D71A PRG:171A E9 40 - sta Zp32 ; CPU:$D71C PRG:171C 85 32 + sta CtrlTimer ; CPU:$D71C PRG:171C 85 32 lda Zp49 ; CPU:$D71E PRG:171E A5 49 lsr a ; CPU:$D720 PRG:1720 4A tax ; CPU:$D721 PRG:1721 AA lda $E92A,x ; CPU:$D722 PRG:1722 BD 2A E9 sta Zp35 ; CPU:$D725 PRG:1725 85 35 - stx Zp0C ; CPU:$D727 PRG:1727 86 0C + stx Ptr2Lo ; CPU:$D727 PRG:1727 86 0C sec ; CPU:$D729 PRG:1729 38 sbc #$18 ; CPU:$D72A PRG:172A E9 18 sta Zp56 ; CPU:$D72C PRG:172C 85 56 ldx ZpC1 ; CPU:$D72E PRG:172E A6 C1 lda #$00 ; CPU:$D730 PRG:1730 A9 00 cpx #$12 ; CPU:$D732 PRG:1732 E0 12 - bcc Label_D73E ; CPU:$D734 PRG:1734 90 08 + bcc SubCD652_Block_12 ; CPU:$D734 PRG:1734 90 08 lda #$03 ; CPU:$D736 PRG:1736 A9 03 cpx #$23 ; CPU:$D738 PRG:1738 E0 23 - bcc Label_D73E ; CPU:$D73A PRG:173A 90 02 + bcc SubCD652_Block_12 ; CPU:$D73A PRG:173A 90 02 lda #$06 ; CPU:$D73C PRG:173C A9 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D73E +; Routine: SubCD652_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +5930,16 @@ Label_D700: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D73E: +SubCD652_Block_12: clc ; CPU:$D73E PRG:173E 18 - adc Zp0C ; CPU:$D73F PRG:173F 65 0C + adc Ptr2Lo ; CPU:$D73F PRG:173F 65 0C tax ; CPU:$D741 PRG:1741 AA lda $E944,x ; CPU:$D742 PRG:1742 BD 44 E9 sta Zp3A ; CPU:$D745 PRG:1745 85 3A jsr $D805 ; CPU:$D747 PRG:1747 20 05 D8 jmp $D01B ; CPU:$D74A PRG:174A 4C 1B D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D74D +; Routine: SubCD652_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5941,9 +5947,9 @@ Label_D73E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D74D: +SubCD652_Block_10: lda #$08 ; CPU:$D74D PRG:174D A9 08 - sta Zp31 ; CPU:$D74F PRG:174F 85 31 + sta CtrlState ; CPU:$D74F PRG:174F 85 31 rts ; CPU:$D751 PRG:1751 60 ; ---- data $D752-$D78E (61 bytes) ---- .byte $A6, $3B, $A9, $01, $9D, $EF, $03, $85, $AD, $A5, $56, $0A, $0A, $AA, $A0, $00 ; CPU:$D752 PRG:1752 A6 3B A9 01 9D EF 03 85 AD A5 56 0A 0A AA A0 00 @@ -5951,7 +5957,7 @@ Label_D74D: .byte $A2, $00, $A5, $32, $20, $A5, $DA, $A5, $33, $20, $B5, $DA, $E8, $E8, $E0, $20 ; CPU:$D772 PRG:1772 A2 00 A5 32 20 A5 DA A5 33 20 B5 DA E8 E8 E0 20 .byte $D0, $F0, $20, $56, $CF, $A6, $36, $20, $42, $D0, $E6, $31, $60 ; CPU:$D782 PRG:1782 D0 F0 20 56 CF A6 36 20 42 D0 E6 31 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D78F +; Routine: SubCD78F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,20 +5965,20 @@ Label_D74D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D78F: +SubCD78F: jsr $D805 ; CPU:$D78F PRG:178F 20 05 D8 jsr $D93A ; CPU:$D792 PRG:1792 20 3A D9 lda Zp36 ; CPU:$D795 PRG:1795 A5 36 - sta ZpB4 ; CPU:$D797 PRG:1797 85 B4 + sta DataPtrLo ; CPU:$D797 PRG:1797 85 B4 ldy Zp50 ; CPU:$D799 PRG:1799 A4 50 iny ; CPU:$D79B PRG:179B C8 - beq Label_D7A7 ; CPU:$D79C PRG:179C F0 09 + beq SubCD652_Block_13 ; CPU:$D79C PRG:179C F0 09 ldx #$00 ; CPU:$D79E PRG:179E A2 00 ldy #$0C ; CPU:$D7A0 PRG:17A0 A0 0C lda Zp54 ; CPU:$D7A2 PRG:17A2 A5 54 jsr $D7CE ; CPU:$D7A4 PRG:17A4 20 CE D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D7A7 +; Routine: SubCD652_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5980,16 +5986,16 @@ Label_D78F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7A7: +SubCD652_Block_13: ldy Zp53 ; CPU:$D7A7 PRG:17A7 A4 53 iny ; CPU:$D7A9 PRG:17A9 C8 - beq Label_D7B5 ; CPU:$D7AA PRG:17AA F0 09 + beq SubCD652_Block_14 ; CPU:$D7AA PRG:17AA F0 09 ldx #$10 ; CPU:$D7AC PRG:17AC A2 10 ldy #$20 ; CPU:$D7AE PRG:17AE A0 20 lda Zp55 ; CPU:$D7B0 PRG:17B0 A5 55 jsr $D7CE ; CPU:$D7B2 PRG:17B2 20 CE D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D7B5 +; Routine: SubCD652_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5997,13 +6003,13 @@ Label_D7A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7B5: +SubCD652_Block_14: lda Zp57 ; CPU:$D7B5 PRG:17B5 A5 57 cmp #$02 ; CPU:$D7B7 PRG:17B7 C9 02 - bne Label_D7BE ; CPU:$D7B9 PRG:17B9 D0 03 + bne SubCD652_Block_15 ; CPU:$D7B9 PRG:17B9 D0 03 jsr $D4EA ; CPU:$D7BB PRG:17BB 20 EA D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D7BE +; Routine: SubCD652_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +6017,13 @@ Label_D7B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7BE: +SubCD652_Block_15: lda #$00 ; CPU:$D7BE PRG:17BE A9 00 sta Zp54 ; CPU:$D7C0 PRG:17C0 85 54 sta Zp55 ; CPU:$D7C2 PRG:17C2 85 55 rts ; CPU:$D7C4 PRG:17C4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D7C5 +; Routine: SubCD7C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +6031,13 @@ Label_D7BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7C5: +SubCD7C5: lda #$00 ; CPU:$D7C5 PRG:17C5 A9 00 - sta Zp31 ; CPU:$D7C7 PRG:17C7 85 31 + sta CtrlState ; CPU:$D7C7 PRG:17C7 85 31 ldx Zp36 ; CPU:$D7C9 PRG:17C9 A6 36 jmp $D042 ; CPU:$D7CB PRG:17CB 4C 42 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D7CE +; Routine: SubCD7CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6039,12 +6045,12 @@ Label_D7C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7CE: +SubCD7CE: sta Zp0D ; CPU:$D7CE PRG:17CE 85 0D - sty Zp0C ; CPU:$D7D0 PRG:17D0 84 0C - ldy ZpB4 ; CPU:$D7D2 PRG:17D2 A4 B4 + sty Ptr2Lo ; CPU:$D7D0 PRG:17D0 84 0C + ldy DataPtrLo ; CPU:$D7D2 PRG:17D2 A4 B4 ; ----------------------------------------------------------------------------- -; Routine: Label_D7D4 +; Routine: SubCD7F9_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6052,13 +6058,13 @@ Label_D7CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7D4: +SubCD7F9_Block: lda Zp0D ; CPU:$D7D4 PRG:17D4 A5 0D - bne Label_D7DC ; CPU:$D7D6 PRG:17D6 D0 04 + bne SubCD7CE_Block ; CPU:$D7D6 PRG:17D6 D0 04 lda Zp60,x ; CPU:$D7D8 PRG:17D8 B5 60 - bne Label_D7E0 ; CPU:$D7DA PRG:17DA D0 04 + bne SubCD7CE_Block_2 ; CPU:$D7DA PRG:17DA D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D7DC +; Routine: SubCD7CE_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +6072,11 @@ Label_D7D4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7DC: +SubCD7CE_Block: inx ; CPU:$D7DC PRG:17DC E8 jmp $D7F9 ; CPU:$D7DD PRG:17DD 4C F9 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D7E0 +; Routine: SubCD7CE_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6078,7 +6084,7 @@ Label_D7DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7E0: +SubCD7CE_Block_2: sta $0200,y ; CPU:$D7E0 PRG:17E0 99 00 02 iny ; CPU:$D7E3 PRG:17E3 C8 lda $EA30,x ; CPU:$D7E4 PRG:17E4 BD 30 EA @@ -6092,7 +6098,7 @@ Label_D7E0: sta $0200,y ; CPU:$D7F5 PRG:17F5 99 00 02 iny ; CPU:$D7F8 PRG:17F8 C8 ; ----------------------------------------------------------------------------- -; 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. @@ -6100,16 +6106,16 @@ Label_D7E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7F9: +SubCD7F9: inx ; CPU:$D7F9 PRG:17F9 E8 - cpx Zp0C ; CPU:$D7FA PRG:17FA E4 0C - bne Label_D7D4 ; CPU:$D7FC PRG:17FC D0 D6 - sty ZpB4 ; CPU:$D7FE PRG:17FE 84 B4 + cpx Ptr2Lo ; CPU:$D7FA PRG:17FA E4 0C + bne SubCD7F9_Block ; CPU:$D7FC PRG:17FC D0 D6 + sty DataPtrLo ; CPU:$D7FE PRG:17FE 84 B4 tya ; CPU:$D800 PRG:1800 98 tax ; CPU:$D801 PRG:1801 AA jmp $D042 ; CPU:$D802 PRG:1802 4C 42 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D805 +; Routine: SubCD805 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6117,9 +6123,9 @@ Label_D7F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D805: +SubCD805: lda ZpA7 ; CPU:$D805 PRG:1805 A5 A7 - beq Label_D81A ; CPU:$D807 PRG:1807 F0 11 + beq SubCD805_Block ; CPU:$D807 PRG:1807 F0 11 lda #$00 ; CPU:$D809 PRG:1809 A9 00 sta ZpA7 ; CPU:$D80B PRG:180B 85 A7 ldx Zp36 ; CPU:$D80D PRG:180D A6 36 @@ -6129,7 +6135,7 @@ Label_D805: lda #$9F ; CPU:$D816 PRG:1816 A9 9F sta Zp37 ; CPU:$D818 PRG:1818 85 37 ; ----------------------------------------------------------------------------- -; Routine: Label_D81A +; Routine: SubCD805_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6143,10 @@ Label_D805: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D81A: +SubCD805_Block: rts ; CPU:$D81A PRG:181A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D81B +; Routine: SubCD81B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,20 +6154,20 @@ Label_D81A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D81B: +SubCD81B: ldx Zp5E ; CPU:$D81B PRG:181B A6 5E lda $EA00,x ; CPU:$D81D PRG:181D BD 00 EA pha ; CPU:$D820 PRG:1820 48 inx ; CPU:$D821 PRG:1821 E8 txa ; CPU:$D822 PRG:1822 8A and #$03 ; CPU:$D823 PRG:1823 29 03 - bne Label_D82B ; CPU:$D825 PRG:1825 D0 04 + bne SubCD81B_Block ; CPU:$D825 PRG:1825 D0 04 dex ; CPU:$D827 PRG:1827 CA dex ; CPU:$D828 PRG:1828 CA dex ; CPU:$D829 PRG:1829 CA dex ; CPU:$D82A PRG:182A CA ; ----------------------------------------------------------------------------- -; Routine: Label_D82B +; Routine: SubCD81B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6169,12 +6175,12 @@ Label_D81B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D82B: +SubCD81B_Block: stx Zp5E ; CPU:$D82B PRG:182B 86 5E pla ; CPU:$D82D PRG:182D 68 rts ; CPU:$D82E PRG:182E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D82F +; Routine: SubCD82F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +6188,7 @@ Label_D82B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D82F: +SubCD82F: lda Zp4D ; CPU:$D82F PRG:182F A5 4D sec ; CPU:$D831 PRG:1831 38 sbc #$00 ; CPU:$D832 PRG:1832 E9 00 @@ -6192,8 +6198,8 @@ Label_D82F: tax ; CPU:$D839 PRG:1839 AA lda #$3B ; CPU:$D83A PRG:183A A9 3B jsr $D8DB ; CPU:$D83C PRG:183C 20 DB D8 - sty Zp14 ; CPU:$D83F PRG:183F 84 14 - stx Zp15 ; CPU:$D841 PRG:1841 86 15 + sty SndChannel ; CPU:$D83F PRG:183F 84 14 + stx SndNote ; CPU:$D841 PRG:1841 86 15 lda Zp4D ; CPU:$D843 PRG:1843 A5 4D sec ; CPU:$D845 PRG:1845 38 sbc #$00 ; CPU:$D846 PRG:1846 E9 00 @@ -6223,10 +6229,10 @@ Label_D82F: tax ; CPU:$D86F PRG:186F AA tya ; CPU:$D870 PRG:1870 98 sec ; CPU:$D871 PRG:1871 38 - sbc Zp14 ; CPU:$D872 PRG:1872 E5 14 + sbc SndChannel ; CPU:$D872 PRG:1872 E5 14 sta Zp93 ; CPU:$D874 PRG:1874 85 93 txa ; CPU:$D876 PRG:1876 8A - sbc Zp15 ; CPU:$D877 PRG:1877 E5 15 + sbc SndNote ; CPU:$D877 PRG:1877 E5 15 cmp #$50 ; CPU:$D879 PRG:1879 C9 50 ror a ; CPU:$D87B PRG:187B 6A sta Zp94 ; CPU:$D87C PRG:187C 85 94 @@ -6245,7 +6251,7 @@ Label_D82F: jsr $D907 ; CPU:$D892 PRG:1892 20 07 D9 sbc #$00 ; CPU:$D895 PRG:1895 E9 00 eor #$7F ; CPU:$D897 PRG:1897 49 7F - sta Zp32 ; CPU:$D899 PRG:1899 85 32 + sta CtrlTimer ; CPU:$D899 PRG:1899 85 32 lda Zp43 ; CPU:$D89B PRG:189B A5 43 sec ; CPU:$D89D PRG:189D 38 sbc #$00 ; CPU:$D89E PRG:189E E9 00 @@ -6258,7 +6264,7 @@ Label_D82F: sta Zp33 ; CPU:$D8AB PRG:18AB 85 33 rts ; CPU:$D8AD PRG:18AD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8AE +; Routine: SubCD8AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +6272,10 @@ Label_D82F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8AE: +SubCD8AE: lda #$0F ; CPU:$D8AE PRG:18AE A9 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D8B0 +; Routine: SubCD8AE_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6283,16 @@ Label_D8AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8B0: +SubCD8AE_Block_3: sec ; CPU:$D8B0 PRG:18B0 38 sbc #$05 ; CPU:$D8B1 PRG:18B1 E9 05 tax ; CPU:$D8B3 PRG:18B3 AA ldy #$00 ; CPU:$D8B4 PRG:18B4 A0 00 lda Zp40,x ; CPU:$D8B6 PRG:18B6 B5 40 - bpl Label_D8BB ; CPU:$D8B8 PRG:18B8 10 01 + bpl SubCD8AE_Block ; CPU:$D8B8 PRG:18B8 10 01 dey ; CPU:$D8BA PRG:18BA 88 ; ----------------------------------------------------------------------------- -; Routine: Label_D8BB +; Routine: SubCD8AE_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +6300,19 @@ Label_D8B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8BB: +SubCD8AE_Block: clc ; CPU:$D8BB PRG:18BB 18 adc Zp41,x ; CPU:$D8BC PRG:18BC 75 41 sta Zp41,x ; CPU:$D8BE PRG:18BE 95 41 - sta Zp15 ; CPU:$D8C0 PRG:18C0 85 15 + sta SndNote ; CPU:$D8C0 PRG:18C0 85 15 tya ; CPU:$D8C2 PRG:18C2 98 ldy #$00 ; CPU:$D8C3 PRG:18C3 A0 00 adc Zp42,x ; CPU:$D8C5 PRG:18C5 75 42 sta Zp42,x ; CPU:$D8C7 PRG:18C7 95 42 - bpl Label_D8CC ; CPU:$D8C9 PRG:18C9 10 01 + bpl SubCD8AE_Block_2 ; CPU:$D8C9 PRG:18C9 10 01 dey ; CPU:$D8CB PRG:18CB 88 ; ----------------------------------------------------------------------------- -; Routine: Label_D8CC +; Routine: SubCD8AE_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +6320,18 @@ Label_D8BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8CC: - asl Zp15 ; CPU:$D8CC PRG:18CC 06 15 +SubCD8AE_Block_2: + asl SndNote ; CPU:$D8CC PRG:18CC 06 15 adc Zp43,x ; CPU:$D8CE PRG:18CE 75 43 sta Zp43,x ; CPU:$D8D0 PRG:18D0 95 43 tya ; CPU:$D8D2 PRG:18D2 98 adc Zp44,x ; CPU:$D8D3 PRG:18D3 75 44 sta Zp44,x ; CPU:$D8D5 PRG:18D5 95 44 txa ; CPU:$D8D7 PRG:18D7 8A - bne Label_D8B0 ; CPU:$D8D8 PRG:18D8 D0 D6 + bne SubCD8AE_Block_3 ; CPU:$D8D8 PRG:18D8 D0 D6 rts ; CPU:$D8DA PRG:18DA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8DB +; Routine: SubCD8DB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6333,16 +6339,16 @@ Label_D8CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8DB: +SubCD8DB: sty Zp10 ; CPU:$D8DB PRG:18DB 84 10 stx Zp11 ; CPU:$D8DD PRG:18DD 86 11 sta Zp95 ; CPU:$D8DF PRG:18DF 85 95 lda #$00 ; CPU:$D8E1 PRG:18E1 A9 00 - sta Zp96 ; CPU:$D8E3 PRG:18E3 85 96 - sta Zp97 ; CPU:$D8E5 PRG:18E5 85 97 + sta VramPtrLo ; CPU:$D8E3 PRG:18E3 85 96 + sta VramPtrHi ; CPU:$D8E5 PRG:18E5 85 97 ldx #$08 ; CPU:$D8E7 PRG:18E7 A2 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D8E9 +; Routine: SubCD8DB_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6350,18 +6356,18 @@ Label_D8DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8E9: +SubCD8DB_Block_2: ror Zp95 ; CPU:$D8E9 PRG:18E9 66 95 - bcc Label_D8FA ; CPU:$D8EB PRG:18EB 90 0D + bcc SubCD8DB_Block ; CPU:$D8EB PRG:18EB 90 0D clc ; CPU:$D8ED PRG:18ED 18 - lda Zp96 ; CPU:$D8EE PRG:18EE A5 96 + lda VramPtrLo ; CPU:$D8EE PRG:18EE A5 96 adc Zp10 ; CPU:$D8F0 PRG:18F0 65 10 - sta Zp96 ; CPU:$D8F2 PRG:18F2 85 96 - lda Zp97 ; CPU:$D8F4 PRG:18F4 A5 97 + sta VramPtrLo ; CPU:$D8F2 PRG:18F2 85 96 + lda VramPtrHi ; CPU:$D8F4 PRG:18F4 A5 97 adc Zp11 ; CPU:$D8F6 PRG:18F6 65 11 - sta Zp97 ; CPU:$D8F8 PRG:18F8 85 97 + sta VramPtrHi ; CPU:$D8F8 PRG:18F8 85 97 ; ----------------------------------------------------------------------------- -; Routine: Label_D8FA +; Routine: SubCD8DB_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +6375,17 @@ Label_D8E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8FA: +SubCD8DB_Block: asl a ; CPU:$D8FA PRG:18FA 0A - ror Zp97 ; CPU:$D8FB PRG:18FB 66 97 - ror Zp96 ; CPU:$D8FD PRG:18FD 66 96 + ror VramPtrHi ; CPU:$D8FB PRG:18FB 66 97 + ror VramPtrLo ; CPU:$D8FD PRG:18FD 66 96 dex ; CPU:$D8FF PRG:18FF CA - bne Label_D8E9 ; CPU:$D900 PRG:1900 D0 E7 - ldy Zp96 ; CPU:$D902 PRG:1902 A4 96 - ldx Zp97 ; CPU:$D904 PRG:1904 A6 97 + bne SubCD8DB_Block_2 ; CPU:$D900 PRG:1900 D0 E7 + ldy VramPtrLo ; CPU:$D902 PRG:1902 A4 96 + ldx VramPtrHi ; CPU:$D904 PRG:1904 A6 97 rts ; CPU:$D906 PRG:1906 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D907 +; Routine: SubCD907 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6387,20 +6393,20 @@ Label_D8FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D907: - sty Zp96 ; CPU:$D907 PRG:1907 84 96 - stx Zp97 ; CPU:$D909 PRG:1909 86 97 +SubCD907: + sty VramPtrLo ; CPU:$D907 PRG:1907 84 96 + stx VramPtrHi ; CPU:$D909 PRG:1909 86 97 lda #$00 ; CPU:$D90B PRG:190B A9 00 sta Zp95 ; CPU:$D90D PRG:190D 85 95 ldx #$07 ; CPU:$D90F PRG:190F A2 07 clc ; CPU:$D911 PRG:1911 18 - lda Zp96 ; CPU:$D912 PRG:1912 A5 96 + lda VramPtrLo ; CPU:$D912 PRG:1912 A5 96 adc Zp93 ; CPU:$D914 PRG:1914 65 93 tay ; CPU:$D916 PRG:1916 A8 - lda Zp97 ; CPU:$D917 PRG:1917 A5 97 + lda VramPtrHi ; CPU:$D917 PRG:1917 A5 97 adc Zp94 ; CPU:$D919 PRG:1919 65 94 ; ----------------------------------------------------------------------------- -; Routine: Label_D91B +; Routine: SubCD907_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6408,12 +6414,12 @@ Label_D907: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D91B: - bcc Label_D921 ; CPU:$D91B PRG:191B 90 04 - sty Zp96 ; CPU:$D91D PRG:191D 84 96 - sta Zp97 ; CPU:$D91F PRG:191F 85 97 +SubCD907_Block_2: + bcc SubCD907_Block ; CPU:$D91B PRG:191B 90 04 + sty VramPtrLo ; CPU:$D91D PRG:191D 84 96 + sta VramPtrHi ; CPU:$D91F PRG:191F 85 97 ; ----------------------------------------------------------------------------- -; Routine: Label_D921 +; Routine: SubCD907_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6421,22 +6427,22 @@ Label_D91B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D921: +SubCD907_Block: rol Zp95 ; CPU:$D921 PRG:1921 26 95 - rol Zp96 ; CPU:$D923 PRG:1923 26 96 - rol Zp97 ; CPU:$D925 PRG:1925 26 97 + rol VramPtrLo ; CPU:$D923 PRG:1923 26 96 + rol VramPtrHi ; CPU:$D925 PRG:1925 26 97 sec ; CPU:$D927 PRG:1927 38 - lda Zp96 ; CPU:$D928 PRG:1928 A5 96 + lda VramPtrLo ; CPU:$D928 PRG:1928 A5 96 sbc Zp93 ; CPU:$D92A PRG:192A E5 93 tay ; CPU:$D92C PRG:192C A8 - lda Zp97 ; CPU:$D92D PRG:192D A5 97 + lda VramPtrHi ; CPU:$D92D PRG:192D A5 97 sbc Zp94 ; CPU:$D92F PRG:192F E5 94 dex ; CPU:$D931 PRG:1931 CA - bpl Label_D91B ; CPU:$D932 PRG:1932 10 E7 - bcs Label_D937 ; CPU:$D934 PRG:1934 B0 01 + bpl SubCD907_Block_2 ; CPU:$D932 PRG:1932 10 E7 + bcs SubCD907_Block_3 ; CPU:$D934 PRG:1934 B0 01 dex ; CPU:$D936 PRG:1936 CA ; ----------------------------------------------------------------------------- -; Routine: Label_D937 +; Routine: SubCD907_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6444,11 +6450,11 @@ Label_D921: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D937: +SubCD907_Block_3: lda Zp95 ; CPU:$D937 PRG:1937 A5 95 rts ; CPU:$D939 PRG:1939 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D93A +; Routine: SubCD93A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6456,24 +6462,24 @@ Label_D937: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D93A: +SubCD93A: inc Zp57 ; CPU:$D93A PRG:193A E6 57 ldy Zp50 ; CPU:$D93C PRG:193C A4 50 cpy #$FF ; CPU:$D93E PRG:193E C0 FF - beq Label_D977 ; CPU:$D940 PRG:1940 F0 35 + beq SubCD977 ; CPU:$D940 PRG:1940 F0 35 inc Zp50 ; CPU:$D942 PRG:1942 E6 50 lda $EA50,y ; CPU:$D944 PRG:1944 B9 50 EA - sta Zp0C ; CPU:$D947 PRG:1947 85 0C - sta Zp0F ; CPU:$D949 PRG:1949 85 0F + sta Ptr2Lo ; CPU:$D947 PRG:1947 85 0C + sta SndTemp ; CPU:$D949 PRG:1949 85 0F cmp #$AA ; CPU:$D94B PRG:194B C9 AA - beq Label_D9B3 ; CPU:$D94D PRG:194D F0 64 + beq SubCD93A_Block ; CPU:$D94D PRG:194D F0 64 cmp #$BB ; CPU:$D94F PRG:194F C9 BB - beq Label_D9BA ; CPU:$D951 PRG:1951 F0 67 + beq SubCD93A_Block_2 ; CPU:$D951 PRG:1951 F0 67 lda Zp57 ; CPU:$D953 PRG:1953 A5 57 cmp Zp51 ; CPU:$D955 PRG:1955 C5 51 - beq Label_D9C7 ; CPU:$D957 PRG:1957 F0 6E + beq SubCD93A_Block_3 ; CPU:$D957 PRG:1957 F0 6E ; ----------------------------------------------------------------------------- -; Routine: Label_D959 +; Routine: SubCD959 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6481,10 +6487,10 @@ Label_D93A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D959: +SubCD959: ldx #$00 ; CPU:$D959 PRG:1959 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D95B +; Routine: SubCD959_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6492,7 +6498,7 @@ Label_D959: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D95B: +SubCD959_Block_3: stx Zp0D ; CPU:$D95B PRG:195B 86 0D lda $EB22,x ; CPU:$D95D PRG:195D BD 22 EB sta Zp0E ; CPU:$D960 PRG:1960 85 0E @@ -6500,12 +6506,12 @@ Label_D95B: asl a ; CPU:$D963 PRG:1963 0A tax ; CPU:$D964 PRG:1964 AA lda Zp60,x ; CPU:$D965 PRG:1965 B5 60 - beq Label_D970 ; CPU:$D967 PRG:1967 F0 07 + beq SubCD959_Block_2 ; CPU:$D967 PRG:1967 F0 07 lda Zp61,x ; CPU:$D969 PRG:1969 B5 61 - beq Label_D970 ; CPU:$D96B PRG:196B F0 03 + beq SubCD959_Block_2 ; CPU:$D96B PRG:196B F0 03 jsr $D9F6 ; CPU:$D96D PRG:196D 20 F6 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D970 +; Routine: SubCD959_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6513,13 +6519,13 @@ Label_D95B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D970: +SubCD959_Block_2: ldx Zp0D ; CPU:$D970 PRG:1970 A6 0D inx ; CPU:$D972 PRG:1972 E8 cpx #$06 ; CPU:$D973 PRG:1973 E0 06 - bne Label_D95B ; CPU:$D975 PRG:1975 D0 E4 + bne SubCD959_Block_3 ; CPU:$D975 PRG:1975 D0 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_D977 +; Routine: SubCD977 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6527,21 +6533,21 @@ Label_D970: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D977: +SubCD977: ldy Zp53 ; CPU:$D977 PRG:1977 A4 53 cpy #$FF ; CPU:$D979 PRG:1979 C0 FF - beq Label_D9E2 ; CPU:$D97B PRG:197B F0 65 + beq SubCD9E2 ; CPU:$D97B PRG:197B F0 65 inc Zp53 ; CPU:$D97D PRG:197D E6 53 lda $EA8F,y ; CPU:$D97F PRG:197F B9 8F EA - sta Zp0C ; CPU:$D982 PRG:1982 85 0C + sta Ptr2Lo ; CPU:$D982 PRG:1982 85 0C cmp #$AA ; CPU:$D984 PRG:1984 C9 AA - beq Label_D9CE ; CPU:$D986 PRG:1986 F0 46 + beq SubCD977_Block ; CPU:$D986 PRG:1986 F0 46 cmp #$BB ; CPU:$D988 PRG:1988 C9 BB - beq Label_D9D5 ; CPU:$D98A PRG:198A F0 49 + beq SubCD977_Block_2 ; CPU:$D98A PRG:198A F0 49 lda $EAC2,y ; CPU:$D98C PRG:198C B9 C2 EA - sta Zp0F ; CPU:$D98F PRG:198F 85 0F + sta SndTemp ; CPU:$D98F PRG:198F 85 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D991 +; Routine: SubCD991 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6555,10 @@ Label_D977: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D991: +SubCD991: ldx #$00 ; CPU:$D991 PRG:1991 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D993 +; Routine: SubCD991_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6566,7 @@ Label_D991: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D993: +SubCD991_Block_3: stx Zp0D ; CPU:$D993 PRG:1993 86 0D lda $EB28,x ; CPU:$D995 PRG:1995 BD 28 EB sta Zp0E ; CPU:$D998 PRG:1998 85 0E @@ -6570,12 +6576,12 @@ Label_D993: adc #$10 ; CPU:$D99D PRG:199D 69 10 tax ; CPU:$D99F PRG:199F AA lda Zp60,x ; CPU:$D9A0 PRG:19A0 B5 60 - beq Label_D9AB ; CPU:$D9A2 PRG:19A2 F0 07 + beq SubCD991_Block_2 ; CPU:$D9A2 PRG:19A2 F0 07 lda Zp61,x ; CPU:$D9A4 PRG:19A4 B5 61 - beq Label_D9AB ; CPU:$D9A6 PRG:19A6 F0 03 + beq SubCD991_Block_2 ; CPU:$D9A6 PRG:19A6 F0 03 jsr $D9F6 ; CPU:$D9A8 PRG:19A8 20 F6 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9AB +; Routine: SubCD991_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6583,14 +6589,14 @@ Label_D993: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9AB: +SubCD991_Block_2: ldx Zp0D ; CPU:$D9AB PRG:19AB A6 0D inx ; CPU:$D9AD PRG:19AD E8 cpx #$08 ; CPU:$D9AE PRG:19AE E0 08 - bne Label_D993 ; CPU:$D9B0 PRG:19B0 D0 E1 + bne SubCD991_Block_3 ; CPU:$D9B0 PRG:19B0 D0 E1 rts ; CPU:$D9B2 PRG:19B2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9B3 +; Routine: SubCD93A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6598,12 +6604,12 @@ Label_D9AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9B3: +SubCD93A_Block: lda #$FF ; CPU:$D9B3 PRG:19B3 A9 FF sta Zp50 ; CPU:$D9B5 PRG:19B5 85 50 jmp $D977 ; CPU:$D9B7 PRG:19B7 4C 77 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9BA +; Routine: SubCD93A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +6617,15 @@ Label_D9B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9BA: +SubCD93A_Block_2: lda #$01 ; CPU:$D9BA PRG:19BA A9 01 sta Zp54 ; CPU:$D9BC PRG:19BC 85 54 lda #$00 ; CPU:$D9BE PRG:19BE A9 00 - sta Zp0C ; CPU:$D9C0 PRG:19C0 85 0C - sta Zp0F ; CPU:$D9C2 PRG:19C2 85 0F + sta Ptr2Lo ; CPU:$D9C0 PRG:19C0 85 0C + sta SndTemp ; CPU:$D9C2 PRG:19C2 85 0F jmp $D959 ; CPU:$D9C4 PRG:19C4 4C 59 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9C7 +; Routine: SubCD93A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6627,12 +6633,12 @@ Label_D9BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9C7: +SubCD93A_Block_3: lda Zp52 ; CPU:$D9C7 PRG:19C7 A5 52 sta Zp53 ; CPU:$D9C9 PRG:19C9 85 53 jmp $D959 ; CPU:$D9CB PRG:19CB 4C 59 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9CE +; Routine: SubCD977_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6646,12 @@ Label_D9C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9CE: +SubCD977_Block: lda #$FF ; CPU:$D9CE PRG:19CE A9 FF sta Zp53 ; CPU:$D9D0 PRG:19D0 85 53 jmp $D9E2 ; CPU:$D9D2 PRG:19D2 4C E2 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9D5 +; Routine: SubCD977_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +6659,15 @@ Label_D9CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9D5: +SubCD977_Block_2: lda #$01 ; CPU:$D9D5 PRG:19D5 A9 01 sta Zp55 ; CPU:$D9D7 PRG:19D7 85 55 lda #$00 ; CPU:$D9D9 PRG:19D9 A9 00 - sta Zp0C ; CPU:$D9DB PRG:19DB 85 0C - sta Zp0F ; CPU:$D9DD PRG:19DD 85 0F + sta Ptr2Lo ; CPU:$D9DB PRG:19DB 85 0C + sta SndTemp ; CPU:$D9DD PRG:19DD 85 0F jmp $D991 ; CPU:$D9DF PRG:19DF 4C 91 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9E2 +; Routine: SubCD9E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6669,18 +6675,18 @@ Label_D9D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9E2: +SubCD9E2: lda Zp50 ; CPU:$D9E2 PRG:19E2 A5 50 cmp #$FF ; CPU:$D9E4 PRG:19E4 C9 FF - bne Label_D9F5 ; CPU:$D9E6 PRG:19E6 D0 0D + bne SubCD9E2_Block_2 ; CPU:$D9E6 PRG:19E6 D0 0D lda Zp53 ; CPU:$D9E8 PRG:19E8 A5 53 cmp #$FF ; CPU:$D9EA PRG:19EA C9 FF - bne Label_D9F5 ; CPU:$D9EC PRG:19EC D0 07 + bne SubCD9E2_Block_2 ; CPU:$D9EC PRG:19EC D0 07 jsr $CFF9 ; CPU:$D9EE PRG:19EE 20 F9 CF lda #$08 ; CPU:$D9F1 PRG:19F1 A9 08 - sta Zp31 ; CPU:$D9F3 PRG:19F3 85 31 + sta CtrlState ; CPU:$D9F3 PRG:19F3 85 31 ; ----------------------------------------------------------------------------- -; Routine: Label_D9F5 +; Routine: SubCD9E2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +6694,10 @@ Label_D9E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9F5: +SubCD9E2_Block_2: rts ; CPU:$D9F5 PRG:19F5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9F6 +; Routine: SubCD9F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6699,7 +6705,7 @@ Label_D9F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9F6: +SubCD9F6: lda Zp57 ; CPU:$D9F6 PRG:19F6 A5 57 and #$03 ; CPU:$D9F8 PRG:19F8 29 03 sta Zp1B ; CPU:$D9FA PRG:19FA 85 1B @@ -6721,7 +6727,7 @@ Label_D9F6: .byte $26, $DA, $A5, $0F, $20, $2B, $D1, $20, $B5, $DA, $4C, $26, $DA, $18, $75, $60 ; CPU:$DA98 PRG:1A98 26 DA A5 0F 20 2B D1 20 B5 DA 4C 26 DA 18 75 60 .byte $C9, $07, $90, $04, $C9, $C7, $90, $02, $A9, $00, $95, $60, $60 ; CPU:$DAA8 PRG:1AA8 C9 07 90 04 C9 C7 90 02 A9 00 95 60 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DAB5 +; Routine: SubCDAB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6729,15 +6735,15 @@ Label_D9F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAB5: +SubCDAB5: clc ; CPU:$DAB5 PRG:1AB5 18 adc Zp61,x ; CPU:$DAB6 PRG:1AB6 75 61 cmp #$07 ; CPU:$DAB8 PRG:1AB8 C9 07 - bcc Label_DAC0 ; CPU:$DABA PRG:1ABA 90 04 + bcc SubCD9F6_Block ; CPU:$DABA PRG:1ABA 90 04 cmp #$F8 ; CPU:$DABC PRG:1ABC C9 F8 - bcc Label_DAC2 ; CPU:$DABE PRG:1ABE 90 02 + bcc SubCD9F6_Block_2 ; CPU:$DABE PRG:1ABE 90 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DAC0 +; Routine: SubCD9F6_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6745,10 +6751,10 @@ Label_DAB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAC0: +SubCD9F6_Block: lda #$00 ; CPU:$DAC0 PRG:1AC0 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DAC2 +; Routine: SubCD9F6_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6756,7 +6762,7 @@ Label_DAC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAC2: +SubCD9F6_Block_2: sta Zp61,x ; CPU:$DAC2 PRG:1AC2 95 61 rts ; CPU:$DAC4 PRG:1AC4 60 ; ---- data $DAC5-$F35D (6297 bytes) ---- @@ -6767,6 +6773,7 @@ Label_DAC2: ; referenced by `ldy $E5DB` at $C676 (operand $E5DB falls inside this region) ; referenced by `lda $EB30,y` at $C680 (operand $EB30 falls inside this region) ; ... and 37 further references from decoded code + LevelData: ; Level/background data .byte $0F, $DB, $14, $DB, $1D, $DB, $26, $DB, $2F, $DB, $38, $DB, $41, $DB, $4A, $DB ; CPU:$DAC5 PRG:1AC5 0F DB 14 DB 1D DB 26 DB 2F DB 38 DB 41 DB 4A DB .byte $5B, $DB, $86, $DB, $6C, $DB, $79, $DB, $8F, $DB, $9C, $DB, $A9, $DB, $B6, $DB ; CPU:$DAD5 PRG:1AD5 5B DB 86 DB 6C DB 79 DB 8F DB 9C DB A9 DB B6 DB .byte $C3, $DB, $3A, $DC, $FA, $DB, $07, $DC, $0C, $DC, $25, $DC, $D0, $DB, $E5, $DB ; CPU:$DAE5 PRG:1AE5 C3 DB 3A DC FA DB 07 DC 0C DC 25 DC D0 DB E5 DB @@ -6798,6 +6805,7 @@ Label_DAC2: .byte $FC, $01, $00, $E0, $23, $FC, $F8, $E0, $28, $FC, $00, $00, $E0, $23, $FC, $F9 ; CPU:$DC85 PRG:1C85 FC 01 00 E0 23 FC F8 E0 28 FC 00 00 E0 23 FC F9 .byte $E0, $28, $FC, $FF, $00, $E0, $2D, $FC, $FC, $00, $E0, $32, $FC, $FC, $E0, $32 ; CPU:$DC95 PRG:1C95 E0 28 FC FF 00 E0 2D FC FC 00 E0 32 FC FC E0 32 .byte $FC, $FB, $00, $E0, $32, $FC, $FC, $00, $E0, $37, $FC, $FC, $E0, $37, $FC, $FD ; CPU:$DCA5 PRG:1CA5 FC FB 00 E0 32 FC FC 00 E0 37 FC FC E0 37 FC FD + SpritePtrTable: ; SpritePtrTable at $DCC0 .byte $00, $E0, $37, $FC, $FC, $00, $E0, $3C, $FC, $F8, $00, $00, $00, $08, $00, $10 ; CPU:$DCB5 PRG:1CB5 00 E0 37 FC FC 00 E0 3C FC F8 00 00 00 08 00 10 .byte $00, $18, $00, $00, $08, $08, $08, $10, $08, $18, $08, $00, $00, $00, $08, $00 ; CPU:$DCC5 PRG:1CC5 00 18 00 00 08 08 08 10 08 18 08 00 00 00 08 00 .byte $10, $00, $18, $08, $00, $08, $08, $08, $10, $08, $18, $10, $00, $10, $08, $10 ; CPU:$DCD5 PRG:1CD5 10 00 18 08 00 08 08 08 10 08 18 10 00 10 08 10 @@ -6933,6 +6941,7 @@ Label_DAC2: .byte $0E, $24, $27, $23, $45, $16, $25, $01, $09, $08, $04, $24, $17, $12, $17, $1D ; CPU:$E4F5 PRG:24F5 0E 24 27 23 45 16 25 01 09 08 04 24 17 12 17 1D .byte $0E, $17, $0D, $18, $24, $0C, $18, $EE, $15, $1D, $0D, $EF, $23, $C0, $60, $00 ; CPU:$E505 PRG:2505 0E 17 0D 18 24 0C 18 EE 15 1D 0D EF 23 C0 60 00 .byte $23, $E0, $42, $55, $23, $E2, $46, $FF, $23, $EA, $46, $FF, $23, $F0, $48, $5A ; CPU:$E515 PRG:2515 23 E0 42 55 23 E2 46 FF 23 EA 46 FF 23 F0 48 5A + SpriteOffsetTable: ; SpriteOffsetTable at $E532 .byte $23, $F8, $48, $00, $23, $E1, $01, $55, $23, $E9, $01, $55, $00, $40, $E5, $58 ; CPU:$E525 PRG:2525 23 F8 48 00 23 E1 01 55 23 E9 01 55 00 40 E5 58 .byte $E5, $7C, $E5, $A0, $E5, $A9, $E5, $C7, $E5, $B4, $E5, $3F, $00, $10, $0F, $2C ; CPU:$E535 PRG:2535 E5 7C E5 A0 E5 A9 E5 C7 E5 B4 E5 3F 00 10 0F 2C .byte $27, $0F, $0F, $0F, $30, $30, $0F, $0F, $2A, $2A, $0F, $0F, $27, $27, $3F, $10 ; CPU:$E545 PRG:2545 27 0F 0F 0F 30 30 0F 0F 2A 2A 0F 0F 27 27 3F 10 @@ -6943,11 +6952,15 @@ Label_DAC2: .byte $16, $07, $2C, $30, $17, $0F, $2C, $07, $17, $0F, $00, $3F, $00, $60, $0F, $3F ; CPU:$E595 PRG:2595 16 07 2C 30 17 0F 2C 07 17 0F 00 3F 00 60 0F 3F .byte $03, $01, $30, $00, $3F, $00, $60, $0F, $3F, $11, $03, $30, $30, $30, $00, $3F ; CPU:$E5A5 PRG:25A5 03 01 30 00 3F 00 60 0F 3F 11 03 30 30 30 00 3F .byte $10, $10, $21, $30, $0A, $0F, $21, $30, $26, $0F, $21, $30, $17, $0F, $21, $07 ; CPU:$E5B5 PRG:25B5 10 10 21 30 0A 0F 21 30 26 0F 21 30 17 0F 21 07 + SpritePosTable: ; SpritePosTable at $E5DB + GameInitData: ; GameInitData at $E5DF .byte $17, $0F, $3F, $00, $10, $21, $07, $29, $0A, $21, $30, $29, $0A, $21, $0F, $29 ; CPU:$E5C5 PRG:25C5 17 0F 3F 00 10 21 07 29 0A 21 30 29 0A 21 0F 29 + ControllerTable: ; ControllerTable at $E60B .byte $18, $21, $0F, $30, $16, $00, $23, $58, $06, $00, $00, $01, $20, $00, $00, $01 ; CPU:$E5D5 PRG:25D5 18 21 0F 30 16 00 23 58 06 00 00 01 20 00 00 01 .byte $20, $00, $00, $01, $20, $00, $01, $01, $A8, $80, $00, $00, $00, $3F, $01, $00 ; CPU:$E5E5 PRG:25E5 20 00 00 01 20 00 01 01 A8 80 00 00 00 3F 01 00 .byte $03, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 ; CPU:$E5F5 PRG:25F5 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .byte $00, $03, $00, $00, $00, $00, $76, $ED, $98, $ED, $B0, $ED, $BC, $ED, $D4, $ED ; CPU:$E605 PRG:2605 00 03 00 00 00 00 76 ED 98 ED B0 ED BC ED D4 ED + SpritesTable: ; SpritesTable at $E661 .byte $FA, $ED, $1A, $EE, $34, $EE, $4C, $EE, $68, $EE, $82, $EE, $96, $EE, $B8, $EE ; CPU:$E615 PRG:2615 FA ED 1A EE 34 EE 4C EE 68 EE 82 EE 96 EE B8 EE .byte $D0, $EE, $F4, $EE, $0E, $EF, $2A, $EF, $2D, $EF, $30, $EF, $33, $EF, $36, $EF ; CPU:$E625 PRG:2625 D0 EE F4 EE 0E EF 2A EF 2D EF 30 EF 33 EF 36 EF .byte $39, $EF, $3C, $EF, $3F, $EF, $42, $EF, $45, $EF, $48, $EF, $4B, $EF, $4E, $EF ; CPU:$E635 PRG:2635 39 EF 3C EF 3F EF 42 EF 45 EF 48 EF 4B EF 4E EF @@ -6962,9 +6975,12 @@ Label_DAC2: .byte $FF, $01, $FF, $00, $FF, $00, $00, $AA, $00, $FF, $AA, $00, $FF, $FF, $FF, $00 ; CPU:$E6C5 PRG:26C5 FF 01 FF 00 FF 00 00 AA 00 FF AA 00 FF FF FF 00 .byte $FF, $FF, $FF, $00, $FF, $00, $00, $AA, $FF, $FF, $FF, $FF, $00, $00, $AA, $FF ; CPU:$E6D5 PRG:26D5 FF FF FF 00 FF 00 00 AA FF FF FF FF 00 00 AA FF .byte $FF, $FF, $00, $FF, $00, $FF, $FF, $FF, $00, $00, $00, $AA, $02, $01, $02, $FF ; CPU:$E6E5 PRG:26E5 FF FF 00 FF 00 FF FF FF 00 00 00 AA 02 01 02 FF + SpriteDataTable5: ; SpriteDataTable5 at $E73C .byte $AA, $FF, $FE, $AA, $FE, $FF, $AA, $FE, $00, $AA, $FE, $01, $AA, $FF, $02, $AA ; CPU:$E6F5 PRG:26F5 AA FF FE AA FE FF AA FE 00 AA FE 01 AA FF 02 AA .byte $02, $00, $02, $01, $04, $02, $FE, $02, $03, $02, $04, $04, $05, $FE, $14, $09 ; CPU:$E705 PRG:2705 02 00 02 01 04 02 FE 02 03 02 04 04 05 FE 14 09 + SpriteDataTable4: ; SpriteDataTable4 at $E75A .byte $FF, $06, $01, $04, $0A, $04, $0B, $FE, $02, $06, $02, $07, $04, $08, $FE, $21 ; CPU:$E715 PRG:2715 FF 06 01 04 0A 04 0B FE 02 06 02 07 04 08 FE 21 + SpriteDataTable3: ; SpriteDataTable3 at $E766 .byte $30, $0A, $0F, $21, $30, $26, $0F, $21, $30, $14, $02, $21, $30, $26, $02, $21 ; CPU:$E725 PRG:2725 30 0A 0F 21 30 26 0F 21 30 14 02 21 30 26 02 21 .byte $30, $0F, $05, $21, $30, $26, $05, $04, $08, $0C, $08, $0C, $10, $08, $0C, $10 ; CPU:$E735 PRG:2735 30 0F 05 21 30 26 05 04 08 0C 08 0C 10 08 0C 10 .byte $0C, $10, $14, $10, $14, $18, $10, $14, $18, $14, $18, $1C, $14, $1C, $1C, $18 ; CPU:$E745 PRG:2745 0C 10 14 10 14 18 10 14 18 14 18 1C 14 1C 1C 18 @@ -6988,18 +7004,23 @@ Label_DAC2: .byte $80, $16, $04, $80, $17, $04, $80, $16, $04, $80, $17, $04, $80, $16, $04, $80 ; CPU:$E865 PRG:2865 80 16 04 80 17 04 80 16 04 80 17 04 80 16 04 80 .byte $17, $04, $80, $16, $04, $80, $17, $04, $02, $16, $04, $02, $17, $04, $02, $16 ; CPU:$E875 PRG:2875 17 04 80 16 04 80 17 04 02 16 04 02 17 04 02 16 .byte $04, $02, $17, $04, $02, $16, $04, $02, $17, $04, $02, $16, $FF, $0F, $20, $14 ; CPU:$E885 PRG:2885 04 02 17 04 02 16 04 02 17 04 02 16 FF 0F 20 14 + SpriteDataTable8: ; SpriteDataTable8 at $E92A + SpriteDataTable9: ; SpriteDataTable9 at $E944 .byte $82, $14, $10, $00, $14, $14, $02, $14, $14, $02, $14, $FF, $0F, $20, $14, $82 ; CPU:$E895 PRG:2895 82 14 10 00 14 14 02 14 14 02 14 FF 0F 20 14 82 .byte $15, $10, $00, $15, $14, $02, $15, $14, $02, $15, $FF, $0F, $20, $04, $81, $16 ; CPU:$E8A5 PRG:28A5 15 10 00 15 14 02 15 14 02 15 FF 0F 20 04 81 16 .byte $04, $81, $17, $04, $81, $16, $04, $81, $17, $04, $81, $16, $04, $81, $17, $04 ; CPU:$E8B5 PRG:28B5 04 81 17 04 81 16 04 81 17 04 81 16 04 81 17 04 .byte $81, $16, $04, $81, $17, $04, $81, $16, $04, $81, $17, $04, $80, $16, $04, $80 ; CPU:$E8C5 PRG:28C5 81 16 04 81 17 04 81 16 04 81 17 04 80 16 04 80 + SpriteDataTable6: ; SpriteDataTable6 at $E968 .byte $17, $04, $80, $16, $FC, $01, $02, $00, $00, $00, $00, $00, $4F, $00, $00, $00 ; CPU:$E8D5 PRG:28D5 17 04 80 16 FC 01 02 00 00 00 00 00 4F 00 00 00 .byte $00, $00, $00, $00, $01, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 ; CPU:$E8E5 PRG:28E5 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 .byte $00, $00, $00, $02, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 ; CPU:$E8F5 PRG:28F5 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 .byte $00, $00, $00, $00, $00, $F9, $FE, $FB, $FE, $FF, $FE, $FF, $FA, $FB, $FA, $F9 ; CPU:$E905 PRG:2905 00 00 00 00 00 F9 FE FB FE FF FE FF FA FB FA F9 .byte $FA, $00, $00, $00, $00, $FA, $FD, $FB, $FD, $FB, $FD, $FC, $FD, $FC, $FB, $FB ; CPU:$E915 PRG:2915 FA 00 00 00 00 FA FD FB FD FB FD FC FD FC FB FB + SpriteDataTable7: ; SpriteDataTable7 at $E9C8 .byte $FB, $FB, $FB, $FA, $FB, $18, $18, $19, $1A, $1A, $1B, $1C, $1D, $1E, $1E, $1F ; CPU:$E925 PRG:2925 FB FB FB FA FB 18 18 19 1A 1A 1B 1C 1D 1E 1E 1F .byte $1F, $20, $20, $21, $21, $22, $22, $22, $22, $23, $23, $23, $23, $23, $23, $00 ; CPU:$E935 PRG:2935 1F 20 20 21 21 22 22 22 22 23 23 23 23 23 23 00 .byte $00, $00, $01, $01, $01, $02, $02, $02, $02, $03, $03, $03, $03, $04, $04, $04 ; CPU:$E945 PRG:2945 00 00 01 01 01 02 02 02 02 03 03 03 03 04 04 04 + SpriteDataTable10: ; SpriteDataTable10 at $EA30 .byte $04, $04, $05, $05, $05, $05, $05, $05, $05, $05, $05, $05, $05, $05, $05, $05 ; CPU:$E955 PRG:2955 04 04 05 05 05 05 05 05 05 05 05 05 05 05 05 05 .byte $05, $05, $05, $00, $00, $C0, $15, $1E, $2C, $01, $00, $C0, $0A, $1E, $30, $03 ; CPU:$E965 PRG:2965 05 05 05 00 00 C0 15 1E 2C 01 00 C0 0A 1E 30 03 .byte $00, $D0, $10, $1E, $25, $04, $00, $C0, $00, $1C, $30, $06, $00, $C0, $0F, $1C ; CPU:$E975 PRG:2975 00 D0 10 1E 25 04 00 C0 00 1C 30 06 00 C0 0F 1C @@ -7026,6 +7047,7 @@ Label_DAC2: .byte $01, $01, $01, $00, $01, $00, $01, $00, $00, $01, $00, $00, $00, $00, $01, $00 ; CPU:$EAC5 PRG:2AC5 01 01 01 00 01 00 01 00 00 01 00 00 00 00 01 00 .byte $00, $00, $00, $00, $01, $00, $00, $00, $00, $00, $00, $01, $00, $00, $00, $00 ; CPU:$EAD5 PRG:2AD5 00 00 00 00 01 00 00 00 00 00 00 01 00 00 00 00 .byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $06, $00 ; CPU:$EAE5 PRG:2AE5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 + SpriteAnimData: ; SpriteAnimData at $EB30 .byte $FF, $02, $05, $02, $FF, $08, $04, $06, $FF, $0E, $04, $07, $FF, $12, $05, $08 ; CPU:$EAF5 PRG:2AF5 FF 02 05 02 FF 08 04 06 FF 0E 04 07 FF 12 05 08 .byte $FF, $14, $04, $0A, $FF, $FF, $00, $00, $02, $FF, $00, $00, $04, $FF, $00, $00 ; CPU:$EB05 PRG:2B05 FF 14 04 0A FF FF 00 00 02 FF 00 00 04 FF 00 00 .byte $06, $FF, $00, $00, $0A, $FF, $00, $00, $10, $FF, $00, $00, $14, $02, $04, $06 ; CPU:$EB15 PRG:2B15 06 FF 00 00 0A FF 00 00 10 FF 00 00 14 02 04 06 @@ -7033,6 +7055,7 @@ Label_DAC2: .byte $EB, $7D, $EB, $86, $EB, $8F, $EB, $92, $EB, $92, $EB, $92, $EB, $95, $EB, $B6 ; CPU:$EB35 PRG:2B35 EB 7D EB 86 EB 8F EB 92 EB 92 EB 92 EB 95 EB B6 .byte $EB, $C9, $EB, $DC, $EB, $F4, $F4, $F4, $FC, $F4, $04, $FC, $F4, $FC, $FC, $FC ; CPU:$EB45 PRG:2B45 EB C9 EB DC EB F4 F4 F4 FC F4 04 FC F4 FC FC FC .byte $04, $04, $F4, $04, $FC, $04, $04, $AA, $F7, $F5, $F7, $FD, $F7, $03, $FF, $F5 ; CPU:$EB55 PRG:2B55 04 04 F4 04 FC 04 04 AA F7 F5 F7 FD F7 03 FF F5 + SpriteAnimData2: ; SpriteAnimData2 at $EBFA .byte $FF, $FD, $FF, $03, $01, $F5, $01, $FD, $01, $03, $AA, $F9, $F7, $F9, $FF, $F9 ; CPU:$EB65 PRG:2B65 FF FD FF 03 01 F5 01 FD 01 03 AA F9 F7 F9 FF F9 .byte $01, $FF, $F7, $FF, $FF, $FF, $01, $AA, $FA, $F8, $FA, $00, $FE, $F8, $FE, $00 ; CPU:$EB75 PRG:2B75 01 FF F7 FF FF FF 01 AA FA F8 FA 00 FE F8 FE 00 .byte $AA, $FA, $FA, $FA, $FE, $FE, $FA, $FE, $FE, $AA, $FC, $FC, $AA, $FC, $FC, $AA ; CPU:$EB85 PRG:2B85 AA FA FA FA FE FE FA FE FE AA FC FC AA FC FC AA @@ -7040,6 +7063,7 @@ Label_DAC2: .byte $00, $F0, $00, $F8, $00, $00, $00, $08, $08, $F0, $08, $F8, $08, $00, $08, $08 ; CPU:$EBA5 PRG:2BA5 00 F0 00 F8 00 00 00 08 08 F0 08 F8 08 00 08 08 .byte $AA, $F4, $F5, $F4, $FD, $F4, $03, $FC, $F5, $FC, $FD, $FC, $03, $04, $F5, $04 ; CPU:$EBB5 PRG:2BB5 AA F4 F5 F4 FD F4 03 FC F5 FC FD FC 03 04 F5 04 .byte $FD, $04, $03, $AA, $F5, $F7, $F5, $FF, $F5, $01, $FD, $F7, $FD, $FF, $FD, $01 ; CPU:$EBC5 PRG:2BC5 FD 04 03 AA F5 F7 F5 FF F5 01 FD F7 FD FF FD 01 + SoundData: ; SoundData at $EC1F .byte $03, $F7, $03, $FF, $03, $01, $AA, $F6, $F8, $F6, $00, $FE, $F8, $FE, $00, $02 ; CPU:$EBD5 PRG:2BD5 03 F7 03 FF 03 01 AA F6 F8 F6 00 FE F8 FE 00 02 .byte $F8, $02, $00, $AA, $01, $01, $02, $03, $00, $50, $00, $00, $00, $02, $03, $01 ; CPU:$EBE5 PRG:2BE5 F8 02 00 AA 01 01 02 03 00 50 00 00 00 02 03 01 .byte $04, $06, $02, $05, $07, $05, $08, $10, $15, $16, $20, $24, $30, $06, $06, $06 ; CPU:$EBF5 PRG:2BF5 04 06 02 05 07 05 08 10 15 16 20 24 30 06 06 06 @@ -7137,10 +7161,12 @@ Label_DAC2: .byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F1B5 PRG:31B5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF .byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F1C5 PRG:31C5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF .byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F1D5 PRG:31D5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF + FrameData: ; FrameData at $F300 .byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F1E5 PRG:31E5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF .byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F1F5 PRG:31F5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF .byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F205 PRG:3205 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF .byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F215 PRG:3215 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF + FontData: ; FontData at $F350 .byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F225 PRG:3225 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF .byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F235 PRG:3235 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF .byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F245 PRG:3245 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF @@ -7162,7 +7188,7 @@ Label_DAC2: .byte $DF, $01, $C4, $00, $69, $00, $63, $00, $53, $00, $4A, $03, $06, $0C, $18, $30 ; CPU:$F345 PRG:3345 DF 01 C4 00 69 00 63 00 53 00 4A 03 06 0C 18 30 .byte $12, $24, $04, $08, $10, $20, $40, $18, $30 ; CPU:$F355 PRG:3355 12 24 04 08 10 20 40 18 30 ; ----------------------------------------------------------------------------- -; Routine: Label_F35E +; Routine: SubCF35E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7170,11 +7196,11 @@ Label_DAC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F35E: +SubCF35E: lda #$00 ; CPU:$F35E PRG:335E A9 00 - beq Label_F36C ; CPU:$F360 PRG:3360 F0 0A + beq SubCF366_Block ; CPU:$F360 PRG:3360 F0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_F362 +; Routine: SubCF362 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +7208,11 @@ Label_F35E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F362: +SubCF362: lda #$08 ; CPU:$F362 PRG:3362 A9 08 - bne Label_F36C ; CPU:$F364 PRG:3364 D0 06 + bne SubCF366_Block ; CPU:$F364 PRG:3364 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F366 +; Routine: SubCF366 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7194,11 +7220,11 @@ Label_F362: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F366: +SubCF366: lda #$0C ; CPU:$F366 PRG:3366 A9 0C - bne Label_F36C ; CPU:$F368 PRG:3368 D0 02 + bne SubCF366_Block ; CPU:$F368 PRG:3368 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F36A +; Routine: SubCF36A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7206,10 +7232,10 @@ Label_F366: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F36A: +SubCF36A: lda #$04 ; CPU:$F36A PRG:336A A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_F36C +; Routine: SubCF366_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7217,7 +7243,7 @@ Label_F36A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F36C: +SubCF366_Block: sta ZpF4 ; CPU:$F36C PRG:336C 85 F4 lda #$40 ; CPU:$F36E PRG:336E A9 40 sta ZpF5 ; CPU:$F370 PRG:3370 85 F5 @@ -7225,7 +7251,7 @@ Label_F36C: sty ZpF7 ; CPU:$F374 PRG:3374 84 F7 ldy #$00 ; CPU:$F376 PRG:3376 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F378 +; Routine: SubCF36A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7233,16 +7259,16 @@ Label_F36C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F378: +SubCF36A_Block: lda (ZpF6),y ; CPU:$F378 PRG:3378 B1 F6 sta (ZpF4),y ; CPU:$F37A PRG:337A 91 F4 iny ; CPU:$F37C PRG:337C C8 tya ; CPU:$F37D PRG:337D 98 cmp #$04 ; CPU:$F37E PRG:337E C9 04 - bne Label_F378 ; CPU:$F380 PRG:3380 D0 F6 + bne SubCF36A_Block ; CPU:$F380 PRG:3380 D0 F6 rts ; CPU:$F382 PRG:3382 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F383 +; Routine: SubCF383 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7250,7 +7276,7 @@ Label_F378: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F383: +SubCF383: sta ZpE6 ; CPU:$F383 PRG:3383 85 E6 lda $F846,y ; CPU:$F385 PRG:3385 B9 46 F8 tay ; CPU:$F388 PRG:3388 A8 @@ -7278,15 +7304,15 @@ Label_F383: sta ZpDA ; CPU:$F3BC PRG:33BC 85 DA sta ZpDB ; CPU:$F3BE PRG:33BE 85 DB lda #$00 ; CPU:$F3C0 PRG:33C0 A9 00 - sta ZpF3 ; CPU:$F3C2 PRG:33C2 85 F3 + sta FrameCounter ; CPU:$F3C2 PRG:33C2 85 F3 sta ZpD0 ; CPU:$F3C4 PRG:33C4 85 D0 sta ZpD1 ; CPU:$F3C6 PRG:33C6 85 D1 sta ZpD2 ; CPU:$F3C8 PRG:33C8 85 D2 sta ZpD3 ; CPU:$F3CA PRG:33CA 85 D3 - sta $4011 ; CPU:$F3CC PRG:33CC 8D 11 40 + sta APUDMCDIRECT ; CPU:$F3CC PRG:33CC 8D 11 40 rts ; CPU:$F3CF PRG:33CF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F3D0 +; Routine: SubCF3D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7294,10 +7320,10 @@ Label_F383: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3D0: +SubCF3D0: lda #$7F ; CPU:$F3D0 PRG:33D0 A9 7F - sta $4001 ; CPU:$F3D2 PRG:33D2 8D 01 40 - sta $4005 ; CPU:$F3D5 PRG:33D5 8D 05 40 + sta APUPULSE1SWEEP ; CPU:$F3D2 PRG:33D2 8D 01 40 + sta APUPULSE2SWEEP ; CPU:$F3D5 PRG:33D5 8D 05 40 stx ZpE9 ; CPU:$F3D8 PRG:33D8 86 E9 sty ZpEA ; CPU:$F3DA PRG:33DA 84 EA rts ; CPU:$F3DC PRG:33DC 60 @@ -7308,7 +7334,7 @@ Label_F3D0: .byte $03, $08, $FF, $10, $00, $18, $10, $01, $18, $00, $01, $88, $06, $02, $40, $05 ; CPU:$F3FD PRG:33FD 03 08 FF 10 00 18 10 01 18 00 01 88 06 02 40 05 .byte $02, $C0 ; CPU:$F40D PRG:340D 02 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_F40F +; Routine: SubCF40F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7316,11 +7342,11 @@ Label_F3D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F40F: +SubCF40F: lda ZpF9 ; CPU:$F40F PRG:340F A5 F9 - beq Label_F451 ; CPU:$F411 PRG:3411 F0 3E + beq SubCF40F_Block_2 ; CPU:$F411 PRG:3411 F0 3E dec ZpD8 ; CPU:$F413 PRG:3413 C6 D8 - bne Label_F451 ; CPU:$F415 PRG:3415 D0 3A + bne SubCF40F_Block_2 ; CPU:$F415 PRG:3415 D0 3A ldx #$00 ; CPU:$F417 PRG:3417 A2 00 lda #$23 ; CPU:$F419 PRG:3419 A9 23 sta $0612 ; CPU:$F41B PRG:341B 8D 12 06 @@ -7329,13 +7355,13 @@ Label_F40F: ldy ZpD0 ; CPU:$F423 PRG:3423 A4 D0 inc ZpD0 ; CPU:$F425 PRG:3425 E6 D0 lda (ZpF8),y ; CPU:$F427 PRG:3427 B1 F8 - beq Label_F443 ; CPU:$F429 PRG:3429 F0 18 + beq SubCF40F_Block_3 ; CPU:$F429 PRG:3429 F0 18 jmp $F51C ; CPU:$F42B PRG:342B 4C 1C F5 ; ---- data $F42E-$F442 (21 bytes) ---- .byte $98, $10, $09, $20, $44, $F5, $A4, $D0, $E6, $D0, $B1, $F8, $20, $50, $F5, $D0 ; CPU:$F42E PRG:342E 98 10 09 20 44 F5 A4 D0 E6 D0 B1 F8 20 50 F5 D0 .byte $09, $A0, $10, $D0, $07 ; CPU:$F43E PRG:343E 09 A0 10 D0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_F443 +; Routine: SubCF40F_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7343,13 +7369,13 @@ Label_F40F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F443: +SubCF40F_Block_3: lda #$00 ; CPU:$F443 PRG:3443 A9 00 jmp $F68C ; CPU:$F445 PRG:3445 4C 8C F6 ; ---- data $F448-$F450 (9 bytes) ---- .byte $A4, $E9, $8C, $00, $40, $A5, $DC, $85, $D8 ; CPU:$F448 PRG:3448 A4 E9 8C 00 40 A5 DC 85 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_F451 +; Routine: SubCF40F_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7357,22 +7383,22 @@ Label_F443: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F451: +SubCF40F_Block_2: lda ZpFB ; CPU:$F451 PRG:3451 A5 FB - beq Label_F47E ; CPU:$F453 PRG:3453 F0 29 + beq SubCF40F_Block_5 ; CPU:$F453 PRG:3453 F0 29 dec ZpD9 ; CPU:$F455 PRG:3455 C6 D9 - bne Label_F47E ; CPU:$F457 PRG:3457 D0 25 + bne SubCF40F_Block_5 ; CPU:$F457 PRG:3457 D0 25 ldx #$01 ; CPU:$F459 PRG:3459 A2 01 ldy ZpD1 ; CPU:$F45B PRG:345B A4 D1 inc ZpD1 ; CPU:$F45D PRG:345D E6 D1 lda (ZpFA),y ; CPU:$F45F PRG:345F B1 FA - bpl Label_F46C ; CPU:$F461 PRG:3461 10 09 + bpl SubCF40F_Block_6 ; CPU:$F461 PRG:3461 10 09 jsr $F544 ; CPU:$F463 PRG:3463 20 44 F5 ldy ZpD1 ; CPU:$F466 PRG:3466 A4 D1 inc ZpD1 ; CPU:$F468 PRG:3468 E6 D1 lda (ZpFA),y ; CPU:$F46A PRG:346A B1 FA ; ----------------------------------------------------------------------------- -; Routine: Label_F46C +; Routine: SubCF40F_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +7406,13 @@ Label_F451: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F46C: +SubCF40F_Block_6: jsr $F564 ; CPU:$F46C PRG:346C 20 64 F5 - bne Label_F475 ; CPU:$F46F PRG:346F D0 04 + bne SubCF40F_Block_7 ; CPU:$F46F PRG:346F D0 04 ldy #$10 ; CPU:$F471 PRG:3471 A0 10 - bne Label_F477 ; CPU:$F473 PRG:3473 D0 02 + bne SubCF40F_Block_8 ; CPU:$F473 PRG:3473 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F475 +; Routine: SubCF40F_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +7420,10 @@ Label_F46C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F475: +SubCF40F_Block_7: ldy ZpEA ; CPU:$F475 PRG:3475 A4 EA ; ----------------------------------------------------------------------------- -; Routine: Label_F477 +; Routine: SubCF40F_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7405,12 +7431,12 @@ Label_F475: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F477: - sty $4004 ; CPU:$F477 PRG:3477 8C 04 40 +SubCF40F_Block_8: + sty APUPULSE2CTRL ; CPU:$F477 PRG:3477 8C 04 40 lda ZpDD ; CPU:$F47A PRG:347A A5 DD sta ZpD9 ; CPU:$F47C PRG:347C 85 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_F47E +; Routine: SubCF40F_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7418,11 +7444,11 @@ Label_F477: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F47E: +SubCF40F_Block_5: lda ZpFD ; CPU:$F47E PRG:347E A5 FD - beq Label_F4D1 ; CPU:$F480 PRG:3480 F0 4F + beq SubCF40F_Block_10 ; CPU:$F480 PRG:3480 F0 4F dec ZpDA ; CPU:$F482 PRG:3482 C6 DA - bne Label_F4D1 ; CPU:$F484 PRG:3484 D0 4B + bne SubCF40F_Block_10 ; CPU:$F484 PRG:3484 D0 4B ldx #$02 ; CPU:$F486 PRG:3486 A2 02 lda #$9B ; CPU:$F488 PRG:3488 A9 9B sta $0610 ; CPU:$F48A PRG:348A 8D 10 06 @@ -7438,7 +7464,7 @@ Label_F47E: .byte $E6, $D2, $B1, $FC, $20, $68, $F5, $D0, $04, $A0, $00, $F0, $02, $A4, $E7, $8C ; CPU:$F4BB PRG:34BB E6 D2 B1 FC 20 68 F5 D0 04 A0 00 F0 02 A4 E7 8C .byte $08, $40, $A5, $DE, $85, $DA ; CPU:$F4CB PRG:34CB 08 40 A5 DE 85 DA ; ----------------------------------------------------------------------------- -; Routine: Label_F4D1 +; Routine: SubCF40F_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7446,11 +7472,11 @@ Label_F47E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F4D1: +SubCF40F_Block_10: lda ZpFF ; CPU:$F4D1 PRG:34D1 A5 FF - beq Label_F501 ; CPU:$F4D3 PRG:34D3 F0 2C + beq SubCF40F_Block_12 ; CPU:$F4D3 PRG:34D3 F0 2C dec ZpDB ; CPU:$F4D5 PRG:34D5 C6 DB - bne Label_F501 ; CPU:$F4D7 PRG:34D7 D0 28 + bne SubCF40F_Block_12 ; CPU:$F4D7 PRG:34D7 D0 28 ldx #$03 ; CPU:$F4D9 PRG:34D9 A2 03 lda #$EE ; CPU:$F4DB PRG:34DB A9 EE sta $0610 ; CPU:$F4DD PRG:34DD 8D 10 06 @@ -7464,7 +7490,7 @@ Label_F4D1: .byte $98, $10, $09, $20, $44, $F5, $A4, $D3, $E6, $D3, $B1, $FE, $20, $02, $F5, $A5 ; CPU:$F4EE PRG:34EE 98 10 09 20 44 F5 A4 D3 E6 D3 B1 FE 20 02 F5 A5 .byte $DF, $85, $DB ; CPU:$F4FE PRG:34FE DF 85 DB ; ----------------------------------------------------------------------------- -; Routine: Label_F501 +; Routine: SubCF40F_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +7498,13 @@ Label_F4D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F501: +SubCF40F_Block_12: rts ; CPU:$F501 PRG:3501 60 ; ---- data $F502-$F51B (26 bytes) ---- .byte $A8, $A5, $F3, $C9, $02, $F0, $12, $B9, $00, $F4, $8D, $0C, $40, $B9, $01, $F4 ; CPU:$F502 PRG:3502 A8 A5 F3 C9 02 F0 12 B9 00 F4 8D 0C 40 B9 01 F4 .byte $8D, $0E, $40, $B9, $02, $F4, $8D, $0F, $40, $60 ; CPU:$F512 PRG:3512 8D 0E 40 B9 02 F4 8D 0F 40 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F51C +; Routine: SubCF51C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +7512,16 @@ Label_F501: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F51C: +SubCF51C: tay ; CPU:$F51C PRG:351C A8 cmp #$FF ; CPU:$F51D PRG:351D C9 FF - beq Label_F52A ; CPU:$F51F PRG:351F F0 09 + beq SubCF51C_Block ; CPU:$F51F PRG:351F F0 09 and #$C0 ; CPU:$F521 PRG:3521 29 C0 cmp #$C0 ; CPU:$F523 PRG:3523 C9 C0 - beq Label_F536 ; CPU:$F525 PRG:3525 F0 0F + beq SubCF51C_Block_2 ; CPU:$F525 PRG:3525 F0 0F jmp ($0610) ; CPU:$F527 PRG:3527 6C 10 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F52A +; Routine: SubCF51C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +7529,15 @@ Label_F51C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F52A: +SubCF51C_Block: lda ZpE0,x ; CPU:$F52A PRG:352A B5 E0 - beq Label_F541 ; CPU:$F52C PRG:352C F0 13 + beq SubCF51C_Block_4 ; CPU:$F52C PRG:352C F0 13 dec ZpE0,x ; CPU:$F52E PRG:352E D6 E0 lda ZpD4,x ; CPU:$F530 PRG:3530 B5 D4 sta ZpD0,x ; CPU:$F532 PRG:3532 95 D0 - bne Label_F541 ; CPU:$F534 PRG:3534 D0 0B + bne SubCF51C_Block_4 ; CPU:$F534 PRG:3534 D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_F536 +; Routine: SubCF51C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +7545,7 @@ Label_F52A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F536: +SubCF51C_Block_2: tya ; CPU:$F536 PRG:3536 98 and #$3F ; CPU:$F537 PRG:3537 29 3F sta ZpE0,x ; CPU:$F539 PRG:3539 95 E0 @@ -7527,7 +7553,7 @@ Label_F536: lda ZpD0,x ; CPU:$F53D PRG:353D B5 D0 sta ZpD4,x ; CPU:$F53F PRG:353F 95 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_F541 +; Routine: SubCF51C_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7535,10 +7561,10 @@ Label_F536: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F541: +SubCF51C_Block_4: jmp ($0612) ; CPU:$F541 PRG:3541 6C 12 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F544 +; Routine: SubCF544 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +7572,7 @@ Label_F541: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F544: +SubCF544: and #$07 ; CPU:$F544 PRG:3544 29 07 clc ; CPU:$F546 PRG:3546 18 adc ZpE5 ; CPU:$F547 PRG:3547 65 E5 @@ -7557,7 +7583,7 @@ Label_F544: ; ---- data $F550-$F551 (2 bytes) ---- .byte $A2, $00 ; CPU:$F550 PRG:3550 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F552 +; Routine: SubCF564_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7565,16 +7591,16 @@ Label_F544: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F552: +SubCF564_Block_2: tay ; CPU:$F552 PRG:3552 A8 lda $F301,y ; CPU:$F553 PRG:3553 B9 01 F3 - beq Label_F563 ; CPU:$F556 PRG:3556 F0 0B - sta $4002,x ; CPU:$F558 PRG:3558 9D 02 40 + beq SubCF544_Block ; CPU:$F556 PRG:3556 F0 0B + sta APUPULSE1TIMERLO,x ; CPU:$F558 PRG:3558 9D 02 40 lda $F300,y ; CPU:$F55B PRG:355B B9 00 F3 ora #$08 ; CPU:$F55E PRG:355E 09 08 - sta $4003,x ; CPU:$F560 PRG:3560 9D 03 40 + sta APUPULSE1TIMERHI,x ; CPU:$F560 PRG:3560 9D 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_F563 +; Routine: SubCF544_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7582,10 +7608,10 @@ Label_F552: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F563: +SubCF544_Block: rts ; CPU:$F563 PRG:3563 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F564 +; Routine: SubCF564 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +7619,13 @@ Label_F563: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F564: +SubCF564: ldx #$04 ; CPU:$F564 PRG:3564 A2 04 - bne Label_F552 ; CPU:$F566 PRG:3566 D0 EA + bne SubCF564_Block_2 ; CPU:$F566 PRG:3566 D0 EA ldx #$08 ; CPU:$F568 PRG:3568 A2 08 - bne Label_F552 ; CPU:$F56A PRG:356A D0 E6 + bne SubCF564_Block_2 ; CPU:$F56A PRG:356A D0 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_F56C +; Routine: SubCF56C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7607,17 +7633,17 @@ Label_F564: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F56C: +SubCF56C: lda #$C0 ; CPU:$F56C PRG:356C A9 C0 - sta $4017 ; CPU:$F56E PRG:356E 8D 17 40 + sta JOY2 ; CPU:$F56E PRG:356E 8D 17 40 jsr $F6CF ; CPU:$F571 PRG:3571 20 CF F6 jsr $F621 ; CPU:$F574 PRG:3574 20 21 F6 jsr $F7CC ; CPU:$F577 PRG:3577 20 CC F7 jsr $F591 ; CPU:$F57A PRG:357A 20 91 F5 lda #$00 ; CPU:$F57D PRG:357D A9 00 - beq Label_F58A ; CPU:$F57F PRG:357F F0 09 + beq SubCF56C_Block ; CPU:$F57F PRG:357F F0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_F581 +; Routine: SubCF581 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7625,13 +7651,13 @@ Label_F56C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F581: +SubCF581: lda #$F4 ; CPU:$F581 PRG:3581 A9 F4 sta $0613 ; CPU:$F583 PRG:3583 8D 13 06 sta $0611 ; CPU:$F586 PRG:3586 8D 11 06 rts ; CPU:$F589 PRG:3589 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F58A +; Routine: SubCF56C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7639,13 +7665,13 @@ Label_F581: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F58A: +SubCF56C_Block: sta ZpF0 ; CPU:$F58A PRG:358A 85 F0 sta ZpF1 ; CPU:$F58C PRG:358C 85 F1 sta ZpF2 ; CPU:$F58E PRG:358E 85 F2 rts ; CPU:$F590 PRG:3590 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F591 +; Routine: SubCF591 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +7679,15 @@ Label_F58A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F591: +SubCF591: lda ZpF2 ; CPU:$F591 PRG:3591 A5 F2 lsr a ; CPU:$F593 PRG:3593 4A - bcs Label_F5A2 ; CPU:$F594 PRG:3594 B0 0C + bcs SubCF591_Block ; CPU:$F594 PRG:3594 B0 0C lsr a ; CPU:$F596 PRG:3596 4A - bcs Label_F59A ; CPU:$F597 PRG:3597 B0 01 + bcs SubCF591_Block_2 ; CPU:$F597 PRG:3597 B0 01 rts ; CPU:$F599 PRG:3599 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F59A +; Routine: SubCF591_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7669,13 +7695,13 @@ Label_F591: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F59A: +SubCF591_Block_2: lda #$20 ; CPU:$F59A PRG:359A A9 20 ldx #$F4 ; CPU:$F59C PRG:359C A2 F4 ldy #$0F ; CPU:$F59E PRG:359E A0 0F - bne Label_F5A8 ; CPU:$F5A0 PRG:35A0 D0 06 + bne SubCF591_Block_3 ; CPU:$F5A0 PRG:35A0 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F5A2 +; Routine: SubCF591_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +7709,12 @@ Label_F59A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F5A2: +SubCF591_Block: lda #$20 ; CPU:$F5A2 PRG:35A2 A9 20 ldx #$EC ; CPU:$F5A4 PRG:35A4 A2 EC ldy #$0E ; CPU:$F5A6 PRG:35A6 A0 0E ; ----------------------------------------------------------------------------- -; Routine: Label_F5A8 +; Routine: SubCF591_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +7722,17 @@ Label_F5A2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F5A8: - sta $4013 ; CPU:$F5A8 PRG:35A8 8D 13 40 - stx $4012 ; CPU:$F5AB PRG:35AB 8E 12 40 - sty $4010 ; CPU:$F5AE PRG:35AE 8C 10 40 +SubCF591_Block_3: + sta APUDMCLENGTH ; CPU:$F5A8 PRG:35A8 8D 13 40 + stx APUDMCADDR ; CPU:$F5AB PRG:35AB 8E 12 40 + sty APUDMCCTRL ; CPU:$F5AE PRG:35AE 8C 10 40 lda #$1F ; CPU:$F5B1 PRG:35B1 A9 1F - sta $4015 ; CPU:$F5B3 PRG:35B3 8D 15 40 + sta APUSTATUS ; CPU:$F5B3 PRG:35B3 8D 15 40 rts ; CPU:$F5B6 PRG:35B6 60 ; ---- data $F5B7-$F5BE (8 bytes) ---- .byte $9F, $7F, $60, $00, $9F, $7F, $61, $00 ; CPU:$F5B7 PRG:35B7 9F 7F 60 00 9F 7F 61 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F5BF +; Routine: SubCF621_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,22 +7740,22 @@ Label_F5A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F5BF: +SubCF621_Block_2: ldx #$DD ; CPU:$F5BF PRG:35BF A2 DD ldy #$F3 ; CPU:$F5C1 PRG:35C1 A0 F3 jsr $F362 ; CPU:$F5C3 PRG:35C3 20 62 F3 lda #$00 ; CPU:$F5C6 PRG:35C6 A9 00 - sta ZpEB ; CPU:$F5C8 PRG:35C8 85 EB - sta ZpED ; CPU:$F5CA PRG:35CA 85 ED + sta SndChan ; CPU:$F5C8 PRG:35C8 85 EB + sta SndPtrHi ; CPU:$F5CA PRG:35CA 85 ED sta ZpEE ; CPU:$F5CC PRG:35CC 85 EE lda #$06 ; CPU:$F5CE PRG:35CE A9 06 sta ZpEF ; CPU:$F5D0 PRG:35D0 85 EF lda #$3E ; CPU:$F5D2 PRG:35D2 A9 3E - sta ZpEC ; CPU:$F5D4 PRG:35D4 85 EC + sta SndPtrLo ; CPU:$F5D4 PRG:35D4 85 EC lda #$40 ; CPU:$F5D6 PRG:35D6 A9 40 - sta ZpF3 ; CPU:$F5D8 PRG:35D8 85 F3 + sta FrameCounter ; CPU:$F5D8 PRG:35D8 85 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_F5DA +; Routine: SubCF591_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +7763,10 @@ Label_F5BF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F5DA: +SubCF591_Block_6: rts ; CPU:$F5DA PRG:35DA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F5DB +; Routine: SubCF621_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7748,25 +7774,25 @@ Label_F5DA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F5DB: +SubCF621_Block_5: inc ZpEE ; CPU:$F5DB PRG:35DB E6 EE lda ZpEE ; CPU:$F5DD PRG:35DD A5 EE cmp #$01 ; CPU:$F5DF PRG:35DF C9 01 - bne Label_F5DA ; CPU:$F5E1 PRG:35E1 D0 F7 + bne SubCF591_Block_6 ; CPU:$F5E1 PRG:35E1 D0 F7 lda #$00 ; CPU:$F5E3 PRG:35E3 A9 00 sta ZpEE ; CPU:$F5E5 PRG:35E5 85 EE - inc ZpEB ; CPU:$F5E7 PRG:35E7 E6 EB - lda ZpEB ; CPU:$F5E9 PRG:35E9 A5 EB + inc SndChan ; CPU:$F5E7 PRG:35E7 E6 EB + lda SndChan ; CPU:$F5E9 PRG:35E9 A5 EB cmp ZpEF ; CPU:$F5EB PRG:35EB C5 EF - beq Label_F5FB ; CPU:$F5ED PRG:35ED F0 0C - dec ZpEC ; CPU:$F5EF PRG:35EF C6 EC - dec ZpEC ; CPU:$F5F1 PRG:35F1 C6 EC - dec ZpEC ; CPU:$F5F3 PRG:35F3 C6 EC - lda ZpEC ; CPU:$F5F5 PRG:35F5 A5 EC - sta $400A ; CPU:$F5F7 PRG:35F7 8D 0A 40 + beq SubCF591_Block_5 ; CPU:$F5ED PRG:35ED F0 0C + dec SndPtrLo ; CPU:$F5EF PRG:35EF C6 EC + dec SndPtrLo ; CPU:$F5F1 PRG:35F1 C6 EC + dec SndPtrLo ; CPU:$F5F3 PRG:35F3 C6 EC + lda SndPtrLo ; CPU:$F5F5 PRG:35F5 A5 EC + sta APUTRIANGLETIMERLO ; CPU:$F5F7 PRG:35F7 8D 0A 40 rts ; CPU:$F5FA PRG:35FA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F5FB +; Routine: SubCF591_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7774,27 +7800,27 @@ Label_F5DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F5FB: +SubCF591_Block_5: lda ZpEF ; CPU:$F5FB PRG:35FB A5 EF clc ; CPU:$F5FD PRG:35FD 18 adc #$06 ; CPU:$F5FE PRG:35FE 69 06 sta ZpEF ; CPU:$F600 PRG:3600 85 EF - ldy ZpED ; CPU:$F602 PRG:3602 A4 ED + ldy SndPtrHi ; CPU:$F602 PRG:3602 A4 ED lda $F3E1,y ; CPU:$F604 PRG:3604 B9 E1 F3 - sta $400A ; CPU:$F607 PRG:3607 8D 0A 40 - sta ZpEC ; CPU:$F60A PRG:360A 85 EC + sta APUTRIANGLETIMERLO ; CPU:$F607 PRG:3607 8D 0A 40 + sta SndPtrLo ; CPU:$F60A PRG:360A 85 EC lda #$F0 ; CPU:$F60C PRG:360C A9 F0 - sta $400B ; CPU:$F60E PRG:360E 8D 0B 40 - inc ZpED ; CPU:$F611 PRG:3611 E6 ED - lda ZpED ; CPU:$F613 PRG:3613 A5 ED + sta APUTRIANGLETIMERHI ; CPU:$F60E PRG:360E 8D 0B 40 + inc SndPtrHi ; CPU:$F611 PRG:3611 E6 ED + lda SndPtrHi ; CPU:$F613 PRG:3613 A5 ED cmp #$0E ; CPU:$F615 PRG:3615 C9 0E - bne Label_F5DA ; CPU:$F617 PRG:3617 D0 C1 + bne SubCF591_Block_6 ; CPU:$F617 PRG:3617 D0 C1 lda #$00 ; CPU:$F619 PRG:3619 A9 00 - sta $4008 ; CPU:$F61B PRG:361B 8D 08 40 - sta ZpF3 ; CPU:$F61E PRG:361E 85 F3 + sta APUTRIANGLECTRL ; CPU:$F61B PRG:361B 8D 08 40 + sta FrameCounter ; CPU:$F61E PRG:361E 85 F3 rts ; CPU:$F620 PRG:3620 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F621 +; Routine: SubCF621 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,25 +7828,25 @@ Label_F5FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F621: +SubCF621: lda ZpF0 ; CPU:$F621 PRG:3621 A5 F0 asl a ; CPU:$F623 PRG:3623 0A - bcs Label_F669 ; CPU:$F624 PRG:3624 B0 43 + bcs SubCF621_Block ; CPU:$F624 PRG:3624 B0 43 asl a ; CPU:$F626 PRG:3626 0A - bcs Label_F5BF ; CPU:$F627 PRG:3627 B0 96 + bcs SubCF621_Block_2 ; CPU:$F627 PRG:3627 B0 96 asl a ; CPU:$F629 PRG:3629 0A - bcs Label_F641 ; CPU:$F62A PRG:362A B0 15 + bcs SubCF621_Block_3 ; CPU:$F62A PRG:362A B0 15 asl a ; CPU:$F62C PRG:362C 0A - bcs Label_F639 ; CPU:$F62D PRG:362D B0 0A - lda ZpF3 ; CPU:$F62F PRG:362F A5 F3 + bcs SubCF621_Block_4 ; CPU:$F62D PRG:362D B0 0A + lda FrameCounter ; CPU:$F62F PRG:362F A5 F3 asl a ; CPU:$F631 PRG:3631 0A asl a ; CPU:$F632 PRG:3632 0A - bcs Label_F5DB ; CPU:$F633 PRG:3633 B0 A6 + bcs SubCF621_Block_5 ; CPU:$F633 PRG:3633 B0 A6 asl a ; CPU:$F635 PRG:3635 0A - bcs Label_F655 ; CPU:$F636 PRG:3636 B0 1D + bcs SubCF621_Block_6 ; CPU:$F636 PRG:3636 B0 1D rts ; CPU:$F638 PRG:3638 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F639 +; Routine: SubCF621_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +7854,13 @@ Label_F621: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F639: +SubCF621_Block_4: ldx #$EF ; CPU:$F639 PRG:3639 A2 EF ldy #$F3 ; CPU:$F63B PRG:363B A0 F3 jsr $F35E ; CPU:$F63D PRG:363D 20 5E F3 rts ; CPU:$F640 PRG:3640 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F641 +; Routine: SubCF621_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,18 +7868,18 @@ Label_F639: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F641: +SubCF621_Block_3: ldx #$F3 ; CPU:$F641 PRG:3641 A2 F3 ldy #$F3 ; CPU:$F643 PRG:3643 A0 F3 jsr $F36A ; CPU:$F645 PRG:3645 20 6A F3 - lda ZpF3 ; CPU:$F648 PRG:3648 A5 F3 + lda FrameCounter ; CPU:$F648 PRG:3648 A5 F3 ora #$20 ; CPU:$F64A PRG:364A 09 20 - sta ZpF3 ; CPU:$F64C PRG:364C 85 F3 + sta FrameCounter ; CPU:$F64C PRG:364C 85 F3 lda #$00 ; CPU:$F64E PRG:364E A9 00 sta ZpEF ; CPU:$F650 PRG:3650 85 EF sta ZpEE ; CPU:$F652 PRG:3652 85 EE ; ----------------------------------------------------------------------------- -; Routine: Label_F654 +; Routine: SubCF621_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +7887,10 @@ Label_F641: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F654: +SubCF621_Block_8: rts ; CPU:$F654 PRG:3654 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F655 +; Routine: SubCF621_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7872,19 +7898,19 @@ Label_F654: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F655: +SubCF621_Block_6: inc ZpEE ; CPU:$F655 PRG:3655 E6 EE lda ZpEE ; CPU:$F657 PRG:3657 A5 EE cmp #$02 ; CPU:$F659 PRG:3659 C9 02 - bne Label_F654 ; CPU:$F65B PRG:365B D0 F7 + bne SubCF621_Block_8 ; CPU:$F65B PRG:365B D0 F7 lda #$00 ; CPU:$F65D PRG:365D A9 00 sta ZpEE ; CPU:$F65F PRG:365F 85 EE inc ZpEF ; CPU:$F661 PRG:3661 E6 EF lda ZpEF ; CPU:$F663 PRG:3663 A5 EF cmp #$A0 ; CPU:$F665 PRG:3665 C9 A0 - bne Label_F654 ; CPU:$F667 PRG:3667 D0 EB + bne SubCF621_Block_8 ; CPU:$F667 PRG:3667 D0 EB ; ----------------------------------------------------------------------------- -; Routine: Label_F669 +; Routine: SubCF621_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +7918,15 @@ Label_F655: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F669: +SubCF621_Block: lda #$10 ; CPU:$F669 PRG:3669 A9 10 - sta $4004 ; CPU:$F66B PRG:366B 8D 04 40 - lda ZpF3 ; CPU:$F66E PRG:366E A5 F3 + sta APUPULSE2CTRL ; CPU:$F66B PRG:366B 8D 04 40 + lda FrameCounter ; CPU:$F66E PRG:366E A5 F3 and #$DF ; CPU:$F670 PRG:3670 29 DF - sta ZpF3 ; CPU:$F672 PRG:3672 85 F3 + sta FrameCounter ; CPU:$F672 PRG:3672 85 F3 rts ; CPU:$F674 PRG:3674 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F675 +; Routine: SubCF6CF_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7908,18 +7934,18 @@ Label_F669: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F675: +SubCF6CF_Block_3: ldx #$F7 ; CPU:$F675 PRG:3675 A2 F7 ldy #$F3 ; CPU:$F677 PRG:3677 A0 F3 jsr $F366 ; CPU:$F679 PRG:3679 20 66 F3 lda #$10 ; CPU:$F67C PRG:367C A9 10 - sta $4000 ; CPU:$F67E PRG:367E 8D 00 40 - lda ZpF3 ; CPU:$F681 PRG:3681 A5 F3 + sta APUPULSE1CTRL ; CPU:$F67E PRG:367E 8D 00 40 + lda FrameCounter ; CPU:$F681 PRG:3681 A5 F3 and #$F0 ; CPU:$F683 PRG:3683 29 F0 - sta ZpF3 ; CPU:$F685 PRG:3685 85 F3 + sta FrameCounter ; CPU:$F685 PRG:3685 85 F3 rts ; CPU:$F687 PRG:3687 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F688 +; Routine: SubCF6CF_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7927,11 +7953,11 @@ Label_F675: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F688: +SubCF6CF_Block: lda #$00 ; CPU:$F688 PRG:3688 A9 00 - sta ZpF3 ; CPU:$F68A PRG:368A 85 F3 + sta FrameCounter ; CPU:$F68A PRG:368A 85 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_F68C +; Routine: SubCF68C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +7965,18 @@ Label_F688: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F68C: - sta $4008 ; CPU:$F68C PRG:368C 8D 08 40 - sta $4011 ; CPU:$F68F PRG:368F 8D 11 40 +SubCF68C: + sta APUTRIANGLECTRL ; CPU:$F68C PRG:368C 8D 08 40 + sta APUDMCDIRECT ; CPU:$F68F PRG:368F 8D 11 40 sta ZpE6 ; CPU:$F692 PRG:3692 85 E6 sta ZpE4 ; CPU:$F694 PRG:3694 85 E4 lda #$10 ; CPU:$F696 PRG:3696 A9 10 - sta $4000 ; CPU:$F698 PRG:3698 8D 00 40 - sta $4004 ; CPU:$F69B PRG:369B 8D 04 40 - sta $400C ; CPU:$F69E PRG:369E 8D 0C 40 + sta APUPULSE1CTRL ; CPU:$F698 PRG:3698 8D 00 40 + sta APUPULSE2CTRL ; CPU:$F69B PRG:369B 8D 04 40 + sta APUNOISECTRL ; CPU:$F69E PRG:369E 8D 0C 40 rts ; CPU:$F6A1 PRG:36A1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F6A2 +; Routine: SubCF6CF_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +7984,17 @@ Label_F68C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F6A2: +SubCF6CF_Block_4: ldx #$FB ; CPU:$F6A2 PRG:36A2 A2 FB ldy #$F3 ; CPU:$F6A4 PRG:36A4 A0 F3 jsr $F366 ; CPU:$F6A6 PRG:36A6 20 66 F3 lda #$00 ; CPU:$F6A9 PRG:36A9 A9 00 - sta ZpEB ; CPU:$F6AB PRG:36AB 85 EB - lda ZpF3 ; CPU:$F6AD PRG:36AD A5 F3 + sta SndChan ; CPU:$F6AB PRG:36AB 85 EB + lda FrameCounter ; CPU:$F6AD PRG:36AD A5 F3 ora #$08 ; CPU:$F6AF PRG:36AF 09 08 - sta ZpF3 ; CPU:$F6B1 PRG:36B1 85 F3 + sta FrameCounter ; CPU:$F6B1 PRG:36B1 85 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_F6B3 +; Routine: SubCF68C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +8002,10 @@ Label_F6A2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F6B3: +SubCF68C_Block: rts ; CPU:$F6B3 PRG:36B3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F6B4 +; Routine: SubCF6CF_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7987,23 +8013,23 @@ Label_F6B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F6B4: - ldy ZpEB ; CPU:$F6B4 PRG:36B4 A4 EB +SubCF6CF_Block_6: + ldy SndChan ; CPU:$F6B4 PRG:36B4 A4 EB lda $F6CB,y ; CPU:$F6B6 PRG:36B6 B9 CB F6 - sta $400E ; CPU:$F6B9 PRG:36B9 8D 0E 40 - inc ZpEB ; CPU:$F6BC PRG:36BC E6 EB - lda ZpEB ; CPU:$F6BE PRG:36BE A5 EB + sta APUNOISEPERIOD ; CPU:$F6B9 PRG:36B9 8D 0E 40 + inc SndChan ; CPU:$F6BC PRG:36BC E6 EB + lda SndChan ; CPU:$F6BE PRG:36BE A5 EB cmp #$04 ; CPU:$F6C0 PRG:36C0 C9 04 - bne Label_F6B3 ; CPU:$F6C2 PRG:36C2 D0 EF - lda ZpF3 ; CPU:$F6C4 PRG:36C4 A5 F3 + bne SubCF68C_Block ; CPU:$F6C2 PRG:36C2 D0 EF + lda FrameCounter ; CPU:$F6C4 PRG:36C4 A5 F3 and #$FE ; CPU:$F6C6 PRG:36C6 29 FE - sta ZpF3 ; CPU:$F6C8 PRG:36C8 85 F3 + sta FrameCounter ; CPU:$F6C8 PRG:36C8 85 F3 rts ; CPU:$F6CA PRG:36CA 60 ; ---- data $F6CB-$F6CE (4 bytes) ---- ; referenced by `lda $F6CB,y` at $F6B6 (operand $F6CB falls inside this region) .byte $00, $02, $01, $00 ; CPU:$F6CB PRG:36CB 00 02 01 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F6CF +; Routine: SubCF6CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,26 +8037,26 @@ Label_F6B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F6CF: +SubCF6CF: lda ZpF0 ; CPU:$F6CF PRG:36CF A5 F0 lsr a ; CPU:$F6D1 PRG:36D1 4A - bcs Label_F688 ; CPU:$F6D2 PRG:36D2 B0 B4 + bcs SubCF6CF_Block ; CPU:$F6D2 PRG:36D2 B0 B4 lsr a ; CPU:$F6D4 PRG:36D4 4A - bcs Label_F6E8 ; CPU:$F6D5 PRG:36D5 B0 11 + bcs SubCF6CF_Block_2 ; CPU:$F6D5 PRG:36D5 B0 11 lsr a ; CPU:$F6D7 PRG:36D7 4A - bcs Label_F675 ; CPU:$F6D8 PRG:36D8 B0 9B + bcs SubCF6CF_Block_3 ; CPU:$F6D8 PRG:36D8 B0 9B lsr a ; CPU:$F6DA PRG:36DA 4A - bcs Label_F6A2 ; CPU:$F6DB PRG:36DB B0 C5 - lda ZpF3 ; CPU:$F6DD PRG:36DD A5 F3 + bcs SubCF6CF_Block_4 ; CPU:$F6DB PRG:36DB B0 C5 + lda FrameCounter ; CPU:$F6DD PRG:36DD A5 F3 lsr a ; CPU:$F6DF PRG:36DF 4A lsr a ; CPU:$F6E0 PRG:36E0 4A - bcs Label_F703 ; CPU:$F6E1 PRG:36E1 B0 20 + bcs SubCF6CF_Block_5 ; CPU:$F6E1 PRG:36E1 B0 20 lsr a ; CPU:$F6E3 PRG:36E3 4A lsr a ; CPU:$F6E4 PRG:36E4 4A - bcs Label_F6B4 ; CPU:$F6E5 PRG:36E5 B0 CD + bcs SubCF6CF_Block_6 ; CPU:$F6E5 PRG:36E5 B0 CD rts ; CPU:$F6E7 PRG:36E7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F6E8 +; Routine: SubCF6CF_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +8064,19 @@ Label_F6CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F6E8: +SubCF6CF_Block_2: ldx #$FF ; CPU:$F6E8 PRG:36E8 A2 FF ldy #$F6 ; CPU:$F6EA PRG:36EA A0 F6 jsr $F366 ; CPU:$F6EC PRG:36EC 20 66 F3 lda #$00 ; CPU:$F6EF PRG:36EF A9 00 - sta ZpEC ; CPU:$F6F1 PRG:36F1 85 EC - sta ZpED ; CPU:$F6F3 PRG:36F3 85 ED - sta $4011 ; CPU:$F6F5 PRG:36F5 8D 11 40 - lda ZpF3 ; CPU:$F6F8 PRG:36F8 A5 F3 + sta SndPtrLo ; CPU:$F6F1 PRG:36F1 85 EC + sta SndPtrHi ; CPU:$F6F3 PRG:36F3 85 ED + sta APUDMCDIRECT ; CPU:$F6F5 PRG:36F5 8D 11 40 + lda FrameCounter ; CPU:$F6F8 PRG:36F8 A5 F3 ora #$02 ; CPU:$F6FA PRG:36FA 09 02 - sta ZpF3 ; CPU:$F6FC PRG:36FC 85 F3 + sta FrameCounter ; CPU:$F6FC PRG:36FC 85 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_F6FE +; Routine: SubCF6CF_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8058,12 +8084,12 @@ Label_F6E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F6FE: +SubCF6CF_Block_7: rts ; CPU:$F6FE PRG:36FE 60 ; ---- data $F6FF-$F702 (4 bytes) ---- .byte $3F, $7F, $0F, $08 ; CPU:$F6FF PRG:36FF 3F 7F 0F 08 ; ----------------------------------------------------------------------------- -; Routine: Label_F703 +; Routine: SubCF6CF_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8071,29 +8097,29 @@ Label_F6FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F703: - inc ZpEC ; CPU:$F703 PRG:3703 E6 EC - lda ZpEC ; CPU:$F705 PRG:3705 A5 EC +SubCF6CF_Block_5: + inc SndPtrLo ; CPU:$F703 PRG:3703 E6 EC + lda SndPtrLo ; CPU:$F705 PRG:3705 A5 EC cmp #$02 ; CPU:$F707 PRG:3707 C9 02 - bne Label_F6FE ; CPU:$F709 PRG:3709 D0 F3 + bne SubCF6CF_Block_7 ; CPU:$F709 PRG:3709 D0 F3 lda #$00 ; CPU:$F70B PRG:370B A9 00 - sta ZpEC ; CPU:$F70D PRG:370D 85 EC - ldy ZpED ; CPU:$F70F PRG:370F A4 ED + sta SndPtrLo ; CPU:$F70D PRG:370D 85 EC + ldy SndPtrHi ; CPU:$F70F PRG:370F A4 ED lda $F731,y ; CPU:$F711 PRG:3711 B9 31 F7 - sta $400E ; CPU:$F714 PRG:3714 8D 0E 40 + sta APUNOISEPERIOD ; CPU:$F714 PRG:3714 8D 0E 40 lda $F761,y ; CPU:$F717 PRG:3717 B9 61 F7 - sta $400C ; CPU:$F71A PRG:371A 8D 0C 40 - inc ZpED ; CPU:$F71D PRG:371D E6 ED - lda ZpED ; CPU:$F71F PRG:371F A5 ED + sta APUNOISECTRL ; CPU:$F71A PRG:371A 8D 0C 40 + inc SndPtrHi ; CPU:$F71D PRG:371D E6 ED + lda SndPtrHi ; CPU:$F71F PRG:371F A5 ED cmp #$30 ; CPU:$F721 PRG:3721 C9 30 - bne Label_F730 ; CPU:$F723 PRG:3723 D0 0B + bne SubCF6CF_Block_8 ; CPU:$F723 PRG:3723 D0 0B lda #$10 ; CPU:$F725 PRG:3725 A9 10 - sta $400C ; CPU:$F727 PRG:3727 8D 0C 40 - lda ZpF3 ; CPU:$F72A PRG:372A A5 F3 + sta APUNOISECTRL ; CPU:$F727 PRG:3727 8D 0C 40 + lda FrameCounter ; CPU:$F72A PRG:372A A5 F3 and #$FD ; CPU:$F72C PRG:372C 29 FD - sta ZpF3 ; CPU:$F72E PRG:372E 85 F3 + sta FrameCounter ; CPU:$F72E PRG:372E 85 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_F730 +; Routine: SubCF6CF_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8101,7 +8127,7 @@ Label_F703: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F730: +SubCF6CF_Block_8: rts ; CPU:$F730 PRG:3730 60 ; ---- data $F731-$F790 (96 bytes) ---- ; referenced by `lda $F731,y` at $F711 (operand $F731 falls inside this region) @@ -8113,7 +8139,7 @@ Label_F730: .byte $34, $34, $34, $34, $34, $34, $34, $34, $33, $33, $33, $33, $33, $33, $33, $33 ; CPU:$F771 PRG:3771 34 34 34 34 34 34 34 34 33 33 33 33 33 33 33 33 .byte $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32 ; CPU:$F781 PRG:3781 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 ; ----------------------------------------------------------------------------- -; Routine: Label_F791 +; Routine: SubCF7CC_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8121,14 +8147,14 @@ Label_F730: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F791: +SubCF7CC_Block_10: ldx #$B7 ; CPU:$F791 PRG:3791 A2 B7 ldy #$F5 ; CPU:$F793 PRG:3793 A0 F5 jsr $F35E ; CPU:$F795 PRG:3795 20 5E F3 ldx #$BB ; CPU:$F798 PRG:3798 A2 BB ldy #$F5 ; CPU:$F79A PRG:379A A0 F5 ; ----------------------------------------------------------------------------- -; Routine: Label_F79C +; Routine: SubCF6CF_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8136,13 +8162,13 @@ Label_F791: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F79C: +SubCF6CF_Block_9: jsr $F36A ; CPU:$F79C PRG:379C 20 6A F3 rts ; CPU:$F79F PRG:379F 60 ; ---- data $F7A0-$F7A7 (8 bytes) ---- .byte $84, $93, $70, $E3, $84, $93, $72, $E3 ; CPU:$F7A0 PRG:37A0 84 93 70 E3 84 93 72 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_F7A8 +; Routine: SubCF7CC_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8150,17 +8176,17 @@ Label_F79C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F7A8: +SubCF7CC_Block_12: lda #$00 ; CPU:$F7A8 PRG:37A8 A9 00 - sta $4000 ; CPU:$F7AA PRG:37AA 8D 00 40 + sta APUPULSE1CTRL ; CPU:$F7AA PRG:37AA 8D 00 40 ldx #$A0 ; CPU:$F7AD PRG:37AD A2 A0 ldy #$F7 ; CPU:$F7AF PRG:37AF A0 F7 jsr $F35E ; CPU:$F7B1 PRG:37B1 20 5E F3 ldx #$A4 ; CPU:$F7B4 PRG:37B4 A2 A4 ldy #$F7 ; CPU:$F7B6 PRG:37B6 A0 F7 - bne Label_F79C ; CPU:$F7B8 PRG:37B8 D0 E2 + bne SubCF6CF_Block_9 ; CPU:$F7B8 PRG:37B8 D0 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_F7BA +; Routine: SubCF7CC_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8168,12 +8194,12 @@ Label_F7A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F7BA: +SubCF7CC_Block_8: ldy #$06 ; CPU:$F7BA PRG:37BA A0 06 lda #$80 ; CPU:$F7BC PRG:37BC A9 80 - bne Label_F82F ; CPU:$F7BE PRG:37BE D0 6F + bne SubCF7CC_Block_19 ; CPU:$F7BE PRG:37BE D0 6F ; ----------------------------------------------------------------------------- -; Routine: Label_F7C0 +; Routine: SubCF7CC_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8181,12 +8207,12 @@ Label_F7BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F7C0: +SubCF7CC_Block_3: ldy #$04 ; CPU:$F7C0 PRG:37C0 A0 04 lda #$04 ; CPU:$F7C2 PRG:37C2 A9 04 - bne Label_F826 ; CPU:$F7C4 PRG:37C4 D0 60 + bne SubCF7CC_Block_21 ; CPU:$F7C4 PRG:37C4 D0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F7C6 +; Routine: SubCF7CC_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +8220,12 @@ Label_F7C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F7C6: +SubCF7CC_Block_4: ldy #$05 ; CPU:$F7C6 PRG:37C6 A0 05 lda #$08 ; CPU:$F7C8 PRG:37C8 A9 08 - bne Label_F826 ; CPU:$F7CA PRG:37CA D0 5A + bne SubCF7CC_Block_21 ; CPU:$F7CA PRG:37CA D0 5A ; ----------------------------------------------------------------------------- -; Routine: Label_F7CC +; Routine: SubCF7CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,39 +8233,39 @@ Label_F7C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F7CC: +SubCF7CC: lda ZpF1 ; CPU:$F7CC PRG:37CC A5 F1 lsr a ; CPU:$F7CE PRG:37CE 4A - bcs Label_F7FD ; CPU:$F7CF PRG:37CF B0 2C + bcs SubCF7CC_Block ; CPU:$F7CF PRG:37CF B0 2C lsr a ; CPU:$F7D1 PRG:37D1 4A - bcs Label_F803 ; CPU:$F7D2 PRG:37D2 B0 2F + bcs SubCF7CC_Block_2 ; CPU:$F7D2 PRG:37D2 B0 2F lsr a ; CPU:$F7D4 PRG:37D4 4A - bcs Label_F7C0 ; CPU:$F7D5 PRG:37D5 B0 E9 + bcs SubCF7CC_Block_3 ; CPU:$F7D5 PRG:37D5 B0 E9 lsr a ; CPU:$F7D7 PRG:37D7 4A - bcs Label_F7C6 ; CPU:$F7D8 PRG:37D8 B0 EC + bcs SubCF7CC_Block_4 ; CPU:$F7D8 PRG:37D8 B0 EC lsr a ; CPU:$F7DA PRG:37DA 4A - bcs Label_F809 ; CPU:$F7DB PRG:37DB B0 2C + bcs SubCF7CC_Block_5 ; CPU:$F7DB PRG:37DB B0 2C lsr a ; CPU:$F7DD PRG:37DD 4A - bcs Label_F80F ; CPU:$F7DE PRG:37DE B0 2F + bcs SubCF7CC_Block_6 ; CPU:$F7DE PRG:37DE B0 2F lsr a ; CPU:$F7E0 PRG:37E0 4A - bcs Label_F815 ; CPU:$F7E1 PRG:37E1 B0 32 + bcs SubCF7CC_Block_7 ; CPU:$F7E1 PRG:37E1 B0 32 lsr a ; CPU:$F7E3 PRG:37E3 4A - bcs Label_F7BA ; CPU:$F7E4 PRG:37E4 B0 D4 + bcs SubCF7CC_Block_8 ; CPU:$F7E4 PRG:37E4 B0 D4 lda ZpF2 ; CPU:$F7E6 PRG:37E6 A5 F2 asl a ; CPU:$F7E8 PRG:37E8 0A - bcs Label_F81B ; CPU:$F7E9 PRG:37E9 B0 30 + bcs SubCF7CC_Block_9 ; CPU:$F7E9 PRG:37E9 B0 30 asl a ; CPU:$F7EB PRG:37EB 0A asl a ; CPU:$F7EC PRG:37EC 0A - bcs Label_F791 ; CPU:$F7ED PRG:37ED B0 A2 + bcs SubCF7CC_Block_10 ; CPU:$F7ED PRG:37ED B0 A2 asl a ; CPU:$F7EF PRG:37EF 0A - bcs Label_F840 ; CPU:$F7F0 PRG:37F0 B0 4E + bcs SubCF7CC_Block_11 ; CPU:$F7F0 PRG:37F0 B0 4E asl a ; CPU:$F7F2 PRG:37F2 0A - bcs Label_F7A8 ; CPU:$F7F3 PRG:37F3 B0 B3 + bcs SubCF7CC_Block_12 ; CPU:$F7F3 PRG:37F3 B0 B3 lda ZpE6 ; CPU:$F7F5 PRG:37F5 A5 E6 - bne Label_F7FA ; CPU:$F7F7 PRG:37F7 D0 01 + bne SubCF7CC_Block_13 ; CPU:$F7F7 PRG:37F7 D0 01 rts ; CPU:$F7F9 PRG:37F9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F7FA +; Routine: SubCF7CC_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8247,10 +8273,10 @@ Label_F7CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F7FA: +SubCF7CC_Block_13: jmp $F40F ; CPU:$F7FA PRG:37FA 4C 0F F4 ; ----------------------------------------------------------------------------- -; Routine: Label_F7FD +; Routine: SubCF7CC_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8258,12 +8284,12 @@ Label_F7FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F7FD: +SubCF7CC_Block: ldy #$00 ; CPU:$F7FD PRG:37FD A0 00 lda #$01 ; CPU:$F7FF PRG:37FF A9 01 - bne Label_F826 ; CPU:$F801 PRG:3801 D0 23 + bne SubCF7CC_Block_21 ; CPU:$F801 PRG:3801 D0 23 ; ----------------------------------------------------------------------------- -; Routine: Label_F803 +; Routine: SubCF7CC_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8271,12 +8297,12 @@ Label_F7FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F803: +SubCF7CC_Block_2: ldy #$03 ; CPU:$F803 PRG:3803 A0 03 lda #$02 ; CPU:$F805 PRG:3805 A9 02 - bne Label_F82F ; CPU:$F807 PRG:3807 D0 26 + bne SubCF7CC_Block_19 ; CPU:$F807 PRG:3807 D0 26 ; ----------------------------------------------------------------------------- -; Routine: Label_F809 +; Routine: SubCF7CC_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +8310,12 @@ Label_F803: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F809: +SubCF7CC_Block_5: ldy #$01 ; CPU:$F809 PRG:3809 A0 01 lda #$10 ; CPU:$F80B PRG:380B A9 10 - bne Label_F826 ; CPU:$F80D PRG:380D D0 17 + bne SubCF7CC_Block_21 ; CPU:$F80D PRG:380D D0 17 ; ----------------------------------------------------------------------------- -; Routine: Label_F80F +; Routine: SubCF7CC_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8297,12 +8323,12 @@ Label_F809: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F80F: +SubCF7CC_Block_6: ldy #$07 ; CPU:$F80F PRG:380F A0 07 lda #$20 ; CPU:$F811 PRG:3811 A9 20 - bne Label_F826 ; CPU:$F813 PRG:3813 D0 11 + bne SubCF7CC_Block_21 ; CPU:$F813 PRG:3813 D0 11 ; ----------------------------------------------------------------------------- -; Routine: Label_F815 +; Routine: SubCF7CC_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8310,12 +8336,12 @@ Label_F80F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F815: +SubCF7CC_Block_7: ldy #$02 ; CPU:$F815 PRG:3815 A0 02 lda #$40 ; CPU:$F817 PRG:3817 A9 40 - bne Label_F826 ; CPU:$F819 PRG:3819 D0 0B + bne SubCF7CC_Block_21 ; CPU:$F819 PRG:3819 D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_F81B +; Routine: SubCF7CC_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8323,14 +8349,14 @@ Label_F815: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F81B: +SubCF7CC_Block_9: lda #$10 ; CPU:$F81B PRG:381B A9 10 - sta $400C ; CPU:$F81D PRG:381D 8D 0C 40 + sta APUNOISECTRL ; CPU:$F81D PRG:381D 8D 0C 40 ldy #$08 ; CPU:$F820 PRG:3820 A0 08 lda #$EF ; CPU:$F822 PRG:3822 A9 EF - bne Label_F82F ; CPU:$F824 PRG:3824 D0 09 + bne SubCF7CC_Block_19 ; CPU:$F824 PRG:3824 D0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_F826 +; Routine: SubCF7CC_Block_21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8338,13 +8364,13 @@ Label_F81B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F826: +SubCF7CC_Block_21: jsr $F383 ; CPU:$F826 PRG:3826 20 83 F3 ldx #$C0 ; CPU:$F829 PRG:3829 A2 C0 ldy #$C0 ; CPU:$F82B PRG:382B A0 C0 - bne Label_F836 ; CPU:$F82D PRG:382D D0 07 + bne SubCF7CC_Block_20 ; CPU:$F82D PRG:382D D0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_F82F +; Routine: SubCF7CC_Block_19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8352,12 +8378,12 @@ Label_F826: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F82F: +SubCF7CC_Block_19: jsr $F383 ; CPU:$F82F PRG:382F 20 83 F3 ldx #$86 ; CPU:$F832 PRG:3832 A2 86 ldy #$86 ; CPU:$F834 PRG:3834 A0 86 ; ----------------------------------------------------------------------------- -; Routine: Label_F836 +; Routine: SubCF7CC_Block_20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8365,13 +8391,13 @@ Label_F82F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F836: +SubCF7CC_Block_20: jsr $F3D0 ; CPU:$F836 PRG:3836 20 D0 F3 lda #$00 ; CPU:$F839 PRG:3839 A9 00 sta ZpE4 ; CPU:$F83B PRG:383B 85 E4 jmp $F40F ; CPU:$F83D PRG:383D 4C 0F F4 ; ----------------------------------------------------------------------------- -; Routine: Label_F840 +; Routine: SubCF7CC_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8379,10 +8405,10 @@ Label_F836: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F840: +SubCF7CC_Block_11: ldy #$09 ; CPU:$F840 PRG:3840 A0 09 lda #$EF ; CPU:$F842 PRG:3842 A9 EF - bne Label_F826 ; CPU:$F844 PRG:3844 D0 E0 + bne SubCF7CC_Block_21 ; CPU:$F844 PRG:3844 D0 E0 asl a ; CPU:$F846 PRG:3846 0A ; ---- data $F847-$FFFF (1977 bytes) ---- ; referenced by `lda $F847,y` at $F38E (operand $F847 falls inside this region) @@ -8392,6 +8418,7 @@ Label_F840: ; referenced by `lda $F84B,y` at $F3A2 (operand $F84B falls inside this region) ; referenced by `lda $F84C,y` at $F3A7 (operand $F84C falls inside this region) ; ... and 2 further references from decoded code + BackgroundTileData: ; Background tile data .byte $13, $1C, $25, $2E, $37, $40, $49, $52, $5B, $07, $C3, $F8, $E2, $F8, $08, $F9 ; CPU:$F847 PRG:3847 13 1C 25 2E 37 40 49 52 5B 07 C3 F8 E2 F8 08 F9 .byte $1B, $F9, $07, $2F, $F9, $60, $F9, $A1, $F9, $CC, $F9, $07, $AF, $FA, $CA, $FA ; CPU:$F857 PRG:3857 1B F9 07 2F F9 60 F9 A1 F9 CC F9 07 AF FA CA FA .byte $E4, $FA, $F5, $FA, $07, $DA, $F9, $F7, $F9, $13, $FA, $28, $FA, $07, $2F, $FA ; CPU:$F867 PRG:3867 E4 FA F5 FA 07 DA F9 F7 F9 13 FA 28 FA 07 2F FA diff --git a/Duck Hunt (JUE)/copilot/reconstructed.lbl b/Duck Hunt (JUE)/copilot/reconstructed.lbl new file mode 100644 index 0000000..bef3405 --- /dev/null +++ b/Duck Hunt (JUE)/copilot/reconstructed.lbl @@ -0,0 +1,499 @@ +al 00F847 .BackgroundTileData +al 00F836 .SubCF7CC_Block_20 +al 00F7FA .SubCF7CC_Block_13 +al 00F840 .SubCF7CC_Block_11 +al 00F81B .SubCF7CC_Block_9 +al 00F815 .SubCF7CC_Block_7 +al 00F80F .SubCF7CC_Block_6 +al 00F809 .SubCF7CC_Block_5 +al 00F803 .SubCF7CC_Block_2 +al 00F7FD .SubCF7CC_Block +al 00F7CC .SubCF7CC +al 00F7C6 .SubCF7CC_Block_4 +al 00F826 .SubCF7CC_Block_21 +al 00F7C0 .SubCF7CC_Block_3 +al 00F82F .SubCF7CC_Block_19 +al 00F7BA .SubCF7CC_Block_8 +al 00F7A8 .SubCF7CC_Block_12 +al 00F79C .SubCF6CF_Block_9 +al 00F791 .SubCF7CC_Block_10 +al 00F730 .SubCF6CF_Block_8 +al 00F6FE .SubCF6CF_Block_7 +al 00F703 .SubCF6CF_Block_5 +al 00F6E8 .SubCF6CF_Block_2 +al 00F6CF .SubCF6CF +al 00F6B4 .SubCF6CF_Block_6 +al 00F6B3 .SubCF68C_Block +al 00F6A2 .SubCF6CF_Block_4 +al 00F68C .SubCF68C +al 00F688 .SubCF6CF_Block +al 00F675 .SubCF6CF_Block_3 +al 00F654 .SubCF621_Block_8 +al 00F655 .SubCF621_Block_6 +al 00F639 .SubCF621_Block_4 +al 00F641 .SubCF621_Block_3 +al 00F669 .SubCF621_Block +al 00F621 .SubCF621 +al 00F5FB .SubCF591_Block_5 +al 00F5DB .SubCF621_Block_5 +al 00F5DA .SubCF591_Block_6 +al 00F5BF .SubCF621_Block_2 +al 00F5A8 .SubCF591_Block_3 +al 00F59A .SubCF591_Block_2 +al 00F5A2 .SubCF591_Block +al 00F591 .SubCF591 +al 00F581 .SubCF581 +al 00F58A .SubCF56C_Block +al 00F56C .SubCF56C +al 00F564 .SubCF564 +al 00F563 .SubCF544_Block +al 00F552 .SubCF564_Block_2 +al 00F544 .SubCF544 +al 00F541 .SubCF51C_Block_4 +al 00F536 .SubCF51C_Block_2 +al 00F52A .SubCF51C_Block +al 00F51C .SubCF51C +al 00F501 .SubCF40F_Block_12 +al 00F4D1 .SubCF40F_Block_10 +al 00F477 .SubCF40F_Block_8 +al 00F475 .SubCF40F_Block_7 +al 00F46C .SubCF40F_Block_6 +al 00F47E .SubCF40F_Block_5 +al 00F443 .SubCF40F_Block_3 +al 00F451 .SubCF40F_Block_2 +al 00F40F .SubCF40F +al 00F3D0 .SubCF3D0 +al 00F383 .SubCF383 +al 00F378 .SubCF36A_Block +al 00F36A .SubCF36A +al 00F366 .SubCF366 +al 00F362 .SubCF362 +al 00F36C .SubCF366_Block +al 00F35E .SubCF35E +al 00F225 .FontData +al 00F1E5 .FrameData +al 00EBD5 .SoundData +al 00EB65 .SpriteAnimData2 +al 00EAF5 .SpriteAnimData +al 00E955 .SpriteDataTable10 +al 00E925 .SpriteDataTable7 +al 00E8D5 .SpriteDataTable6 +al 00E895 .SpriteDataTable9 +al 00E895 .SpriteDataTable8 +al 00E725 .SpriteDataTable3 +al 00E715 .SpriteDataTable4 +al 00E6F5 .SpriteDataTable5 +al 00E615 .SpritesTable +al 00E5D5 .ControllerTable +al 00E5C5 .GameInitData +al 00E5C5 .SpritePosTable +al 00E525 .SpriteOffsetTable +al 00DCB5 .SpritePtrTable +al 00DAC5 .LevelData +al 00DAC2 .SubCD9F6_Block_2 +al 00DAC0 .SubCD9F6_Block +al 00DAB5 .SubCDAB5 +al 00D9F6 .SubCD9F6 +al 00D9F5 .SubCD9E2_Block_2 +al 00D9AB .SubCD991_Block_2 +al 00D993 .SubCD991_Block_3 +al 00D991 .SubCD991 +al 00D9D5 .SubCD977_Block_2 +al 00D9CE .SubCD977_Block +al 00D9E2 .SubCD9E2 +al 00D970 .SubCD959_Block_2 +al 00D95B .SubCD959_Block_3 +al 00D959 .SubCD959 +al 00D9C7 .SubCD93A_Block_3 +al 00D9BA .SubCD93A_Block_2 +al 00D9B3 .SubCD93A_Block +al 00D977 .SubCD977 +al 00D93A .SubCD93A +al 00D937 .SubCD907_Block_3 +al 00D921 .SubCD907_Block +al 00D91B .SubCD907_Block_2 +al 00D907 .SubCD907 +al 00D8FA .SubCD8DB_Block +al 00D8E9 .SubCD8DB_Block_2 +al 00D8DB .SubCD8DB +al 00D8CC .SubCD8AE_Block_2 +al 00D8BB .SubCD8AE_Block +al 00D8B0 .SubCD8AE_Block_3 +al 00D8AE .SubCD8AE +al 00D82F .SubCD82F +al 00D82B .SubCD81B_Block +al 00D81B .SubCD81B +al 00D81A .SubCD805_Block +al 00D805 .SubCD805 +al 00D7F9 .SubCD7F9 +al 00D7E0 .SubCD7CE_Block_2 +al 00D7DC .SubCD7CE_Block +al 00D7D4 .SubCD7F9_Block +al 00D7CE .SubCD7CE +al 00D7C5 .SubCD7C5 +al 00D7BE .SubCD652_Block_15 +al 00D7B5 .SubCD652_Block_14 +al 00D7A7 .SubCD652_Block_13 +al 00D78F .SubCD78F +al 00D73E .SubCD652_Block_12 +al 00D74D .SubCD652_Block_10 +al 00D700 .SubCD652_Block_8 +al 00D6FD .SubCD652_Block_7 +al 00D6EE .SubCD652_Block_6 +al 00D6EC .SubCD652_Block_5 +al 00D6E0 .SubCD652_Block_4 +al 00D6D5 .SubCD6D5 +al 00D697 .SubCD652_Block_2 +al 00D6D4 .SubCD652_Block +al 00D678 .SubCD678 +al 00D652 .SubCD652 +al 00D646 .SubCD5EE_Block_9 +al 00D640 .SubCD5EE_Block_8 +al 00D651 .SubCD5EE_Block_10 +al 00D627 .SubCD5EE_Block_5 +al 00D64B .SubCD5EE_Block_3 +al 00D612 .SubCD5EE_Block_2 +al 00D600 .SubCD5EE_Block +al 00D5EE .SubCD5EE +al 00D5D2 .SubCD5D2 +al 00D56A .SpriteDataTable2 +al 00D54B .SubCD54B +al 00D53C .SubCD53C +al 00D52C .SubCD52C +al 00D546 .SubCD53C_Block_2 +al 00D528 .SubCD528 +al 00D521 .SubCD521 +al 00D515 .SubCD515 +al 00D509 .SubCD509 +al 00D523 .SubCD515_Block_3 +al 00D505 .SubCD505 +al 00D4FE .SubCD4FE +al 00D4F6 .SubCD4F6 +al 00D4EE .SubCD4EE +al 00D4EA .SubCD4EA +al 00D4E6 .SubCD4E6 +al 00D500 .SubCD4F6_Block_2 +al 00D4E2 .SubCD4E2 +al 00D4D4 .SubCD46C_Block_6 +al 00D4C0 .SubCD46C_Block_5 +al 00D4CF .SubCD4CF +al 00D4A1 .SubCD46C_Block_4 +al 00D4AB .SubCD46C_Block_3 +al 00D485 .SubCD46C_Block_2 +al 00D4BC .SubCD46C_Block +al 00D46C .SubCD46C +al 00D464 .SubCD464 +al 00D44C .SubCD428_Block_5 +al 00D446 .SubCD446 +al 00D461 .SubCD428_Block_3 +al 00D428 .SubCD428 +al 00D413 .SubCD3DF_Block_8 +al 00D40B .SubCD3DF_Block_5 +al 00D409 .SubCD3DF_Block_4 +al 00D3FB .SubCD3DF_Block_2 +al 00D3DF .SubCD3DF +al 00D427 .SubCD428_Block_4 +al 00D3D2 .SubCD3D2 +al 00D2A4 .DuckDataTable +al 00D292 .SubCD292 +al 00D28A .SubCD28A +al 00D26A .SubCD26A +al 00D268 .SubCD259_Block +al 00D266 .SubCD266 +al 00D259 .SubCD259 +al 00D256 .SubCD222_Block_3 +al 00D235 .SubCD28A_Block +al 00D246 .SubCD222_Block_2 +al 00D270 .SubCD222_Block +al 00D222 .SubCD222 +al 00D207 .SubCD160_Block_13 +al 00D1E6 .SubCD160_Block_12 +al 00D1F4 .SubCD160_Block_10 +al 00D1CD .SubCD160_Block_11 +al 00D1DD .SubCD160_Block_9 +al 00D1C7 .SubCD160_Block_7 +al 00D1B5 .SubCD160_Block_6 +al 00D1CA .SubCD160_Block_5 +al 00D19F .SubCD160_Block_4 +al 00D168 .SubCD160_Block_2 +al 00D164 .SubCD160_Block_3 +al 00D169 .SubCD160_Block +al 00D160 .SubCD160 +al 00D153 .SubCD131_Block_3 +al 00D140 .SubCD131_Block_2 +al 00D13C .SubCD131_Block_6 +al 00D141 .SubCD131_Block +al 00D131 .SubCD131 +al 00D12B .SubCD12B +al 00D12A .SubCD117_Block_2 +al 00D123 .SubCD117_Block +al 00D117 .SubCD117 +al 00D114 .SubCD114 +al 00D10E .SubCD10E +al 00D0FE .SubCD08F_Block_5 +al 00D0E9 .SubCD08F_Block_4 +al 00D0B9 .SubCD08F_Block_3 +al 00D0A0 .SubCD08F_Block_2 +al 00D08F .SubCD08F +al 00D08E .SubCD08E +al 00D08C .SubCD044_Block_5 +al 00D06D .SubCD044_Block_2 +al 00D04F .SubCD044_Block +al 00D044 .SubCD044 +al 00D042 .SubCD042 +al 00D050 .SubCD01B_Block +al 00D038 .SubCD08F_Block +al 00D01B .SubCD01B +al 00D001 .SubCCFF9_Block +al 00CFF9 .SubCCFF9 +al 00CFD3 .SubCCFC5_Block_2 +al 00CFF8 .SubCCFC5_Block +al 00CFC5 .SubCCFC5 +al 00CFBA .SubCCFBA +al 00CFB9 .SubCCF96_Block +al 00CF96 .SubCCF96 +al 00CF78 .SubCCF39_Block_5 +al 00CF7F .SubCCF39_Block_3 +al 00CF56 .SubCCF56 +al 00CF39 .SubCCF39 +al 00CF36 .SubCCF16_Block_2 +al 00CF33 .SubCCF16_Block +al 00CF2A .SubCCF2A +al 00CF16 .SubCCF16 +al 00CF0B .SubCCF0B +al 00CEE1 .SubCCEC9_Block_2 +al 00CEC9 .SubCCEC9 +al 00CEC4 .SubCCE4D_Block_11 +al 00CEB5 .SubCCE4D_Block_10 +al 00CEA8 .SubCCE4D_Block_9 +al 00CE9C .SubCCE4D_Block_8 +al 00CED4 .SubCCE4D_Block_7 +al 00CE8C .SubCCE4D_Block_6 +al 00CEAD .SubCCE4D_Block_4 +al 00CEE6 .SubCCEC9_Block +al 00CE72 .SubCCE4D_Block_2 +al 00CE56 .SubCCE4D_Block +al 00CE4D .SubCCE4D +al 00CE2E .SubCCE2E +al 00CE20 .SubCCE20 +al 00CE29 .SubCCD44_Block +al 00CE18 .SubCCE18 +al 00CD44 .SubCCD44 +al 00CD3C .SubCCD3C +al 00CD05 .SubCCCA9_Block +al 00CCFD .SubCCCFD +al 00CCA9 .SubCCCA9 +al 00CCA8 .SubCCC94_Block +al 00CC94 .SubCCC94 +al 00CC8B .SubCCC8B +al 00CC4C .SubCCBD9_Block_12 +al 00CC3D .SubCCC3D +al 00CC16 .SubCCBD9_Block_9 +al 00CC14 .SubCCBD9_Block_7 +al 00CBFB .SubCCBD9_Block_5 +al 00CBF9 .SubCCBD9_Block_3 +al 00CBE6 .SubCCBD9_Block +al 00CBD9 .SubCCBD9 +al 00CBD7 .SubCCBC3_Block_2 +al 00CBD1 .SubCCBC3_Block +al 00CBC6 .SubCCBD9_Block_10 +al 00CBC0 .SubCCB77_Block_10 +al 00CBA8 .SubCCB77_Block_7 +al 00CBB0 .SubCCB77_Block_5 +al 00CBBC .SubCCB77_Block_6 +al 00CBA2 .SubCCB77_Block +al 00CB77 .SubCCB77 +al 00CB70 .SubCCB59_Block +al 00CBC3 .SubCCBC3 +al 00CB59 .SubCCB59 +al 00CB56 .SubCCB56 +al 00CB52 .SubCCB52 +al 00CB37 .SubCCAED_Block_10 +al 00CB29 .SubCCAED_Block_6 +al 00CB50 .SubCCAED_Block_17 +al 00CB45 .SubCCAED_Block_15 +al 00CB4B .SubCCAED_Block_14 +al 00CB1B .SubCCAED_Block_2 +al 00CB06 .SubCCAED_Block +al 00CAED .SubCCAED +al 00CADB .SubCCAA5_Block_6 +al 00CACA .SubCCAA5_Block_5 +al 00CABF .SubCCAA5_Block_4 +al 00CAA5 .SubCCAA5 +al 00CAE9 .SubCC9D0_Block_24 +al 00CAE3 .SubCC9D0_Block_23 +al 00CAD7 .SubCCAD7 +al 00CAD1 .SubCC9D0_Block_22 +al 00CA8D .SubCC9D0_Block_21 +al 00CAA8 .SubCC9D0_Block_20 +al 00CA8A .SubCCAA5_Block +al 00CA5F .SubCC9D0_Block_17 +al 00CA66 .SubCC9D0_Block_14 +al 00CA70 .SubCC9D0_Block_16 +al 00CA53 .SubCC9D0_Block_11 +al 00CA42 .SubCC9D0_Block_12 +al 00CA45 .SubCC9D0_Block_10 +al 00CA3E .SubCC9D0_Block_9 +al 00CA29 .SubCC9D0_Block_7 +al 00CA22 .SubCC9D0_Block_6 +al 00CA19 .SubCCA19 +al 00CA0A .SubCCA0A +al 00CA08 .SubCC9D0_Block_5 +al 00CA0E .SubCC9D0_Block_3 +al 00C9E2 .SubCC9D0_Block_2 +al 00C9D0 .SubCC9D0 +al 00C9C9 .SubCC996_Block_5 +al 00C9B2 .SubCC996_Block_4 +al 00C9B9 .SubCC996_Block +al 00C996 .SubCC996 +al 00C992 .SubCC902_Block_8 +al 00C980 .SubCC902_Block_7 +al 00C955 .SubCC902_Block_5 +al 00C958 .SubCC902_Block_6 +al 00C946 .SubCC902_Block_3 +al 00C932 .SubCC932 +al 00C931 .SubCC902_Block_2 +al 00C902 .SubCC902 +al 00C8E5 .SubCC890_Block_10 +al 00C8FB .SubCC890_Block_6 +al 00C8C4 .SubCC890_Block_5 +al 00C901 .SubCC890_Block_11 +al 00C8B4 .SubCC890_Block_2 +al 00C8A2 .SubCC890_Block +al 00C890 .SubCC890 +al 00C86E .SubCC86E +al 00C839 .SubCC839 +al 00C818 .SubCC7FB_Block_3 +al 00C81C .SubCC7FB_Block_2 +al 00C7FB .SubCC7FB +al 00C72C .SpriteDataTable +al 00C71D .SubCC71D +al 00C70C .SubCC6F5_Block_3 +al 00C70A .SubCC6F5_Block_2 +al 00C701 .SubCC6F5_Block_4 +al 00C6F5 .SubCC6F5 +al 00C6E2 .SubCC6C4_Block_3 +al 00C6DA .SubCC6C4_Block_4 +al 00C6D6 .SubCC6C4_Block_2 +al 00C6C4 .SubCC6C4 +al 00C69E .SubCC68E_Block_2 +al 00C694 .SubCC6F5_Block +al 00C695 .SubCC68E_Block +al 00C68E .SubCC68E +al 00C67C .SubCC67C +al 00C659 .SubCC655_Block +al 00C655 .SubCC655 +al 00C64F .SubCC61E_Block_3 +al 00C64B .SubCC64B +al 00C645 .SubCC61E_Block_2 +al 00C641 .SubCC641 +al 00C62E .SubCC62E +al 00C62D .SubCC61E_Block +al 00C625 .SubCC625 +al 00C61E .SubCC61E +al 00C617 .SubCC617 +al 00C60B .SubCC607_Block +al 00C607 .SubCC607 +al 00C5FB .SubCC5F7_Block +al 00C5F7 .SubCC5F7 +al 00C5EE .SubCC5EE +al 00C5E8 .SubCC5EE_Block +al 00C5E1 .SubCC5E1 +al 00C5DC .SubCC5D9_Block +al 00C5D9 .SubCC5D9 +al 00C5AA .SpriteAnimTable2 +al 00C59A .SubCC588_Block +al 00C588 .SubCC588 +al 00C511 .SpriteAnimTable +al 00C502 .SubCC502 +al 00C4FF .SubCC4E0_Block_2 +al 00C4F3 .SubCC4E0_Block +al 00C4E0 .SubCC4E0 +al 00C4D7 .SubCC4BF_Block_3 +al 00C4DB .SubCC4BF_Block_2 +al 00C4CA .SubCC4BF_Block +al 00C4BF .SubCC4BF +al 00C4BE .SubCC437_Block_7 +al 00C4A2 .SubCC437_Block_6 +al 00C49C .SubCC437_Block_5 +al 00C447 .SubCC437_Block_3 +al 00C46E .SubCC437_Block_2 +al 00C46A .SubCC437_Block +al 00C437 .SubCC437 +al 00C436 .SubCC426_Block +al 00C426 .SubCC426 +al 00C3FC .SubCC3CE_Block +al 00C3E5 .SubCC3CE_Block_2 +al 00C3CE .SubCC3CE +al 00C3C1 .SubCC3C1 +al 00C3B8 .SubCC3B8 +al 00C3A4 .SubCC35E_Block_3 +al 00C3A1 .SubCC35E_Block_4 +al 00C39E .SubCC35E_Block_2 +al 00C392 .SubCC35E_Block +al 00C37C .SubCC3B8_Block +al 00C35E .SubCC35E +al 00C35A .SubCC348_Block_2 +al 00C354 .SubCC348_Block_3 +al 00C348 .SubCC348 +al 00C341 .SubCC303_Block_4 +al 00C328 .SubCC303_Block_3 +al 00C312 .SubCC303_Block +al 00C303 .SubCC303 +al 00C2EA .UpdateController4_206_Block_3 +al 00C2DB .UpdateController4_206_Block_4 +al 00C2F4 .UpdateController4_206_Block_2 +al 00C302 .UpdateController4_206_Block +al 00C2BF .UpdateController4_206 +al 00C2B9 .UpdateController3 +al 00C2BE .UpdateController2_Block_3 +al 00C2B6 .UpdateController2_Block_2 +al 00C293 .UpdateController2_Block +al 00C291 .UpdateController2 +al 00C284 .UpdateController +al 00C277 .UpdateSprites3_Block_4 +al 00C283 .UpdateSprites3_Block_3 +al 00C263 .UpdateSprites3 +al 00C25B .UpdateSprites3_Block_2 +al 00C262 .UpdateSprites3_Block +al 00C249 .UpdateSprites2_3 +al 00C23F .SubCC23B_Block +al 00C23B .SubCC23B +al 00C232 .UpdateSprites2_1 +al 00C22B .UpdateSprites_4 +al 00C222 .UpdateGameState6_3_Block +al 00C20B .UpdateGameState_Block_2 +al 00C1EA .UpdateGameState6_1 +al 00C1C8 .UpdateGameState_Block +al 00C217 .UpdateGameState6_3 +al 00C1BB .SubCC14E_Block_8 +al 00C1B2 .UpdateGameState +al 00C1A3 .SubCC14E_Block_7 +al 00C1B7 .SubCC14E_Block_6 +al 00C1A9 .SubCC14E_Block_5 +al 00C190 .SubCC14E_Block_4 +al 00C189 .SubCC14E_Block_3 +al 00C199 .SubCC14E_Block_2 +al 00C176 .SubCC14E_Block +al 00C18D .UpdateGameState5 +al 00C14E .SubCC14E +al 00C12C .GameState3_1_Data +al 00C112 .SubCC112 +al 00C0E1 .InitializeDuckDataLoop +al 00C0DF .InitializeRoundData +al 00C0FF .UpdateZp09_2 +al 00C123 .UpdateGameState3_1 +al 00C11E .UpdateGameState2 +al 00C0BA .TitleScreenLoop +al 00C0B3 .GameModeDispatcher +al 00C0A6 .NmiFrameEnd +al 00C086 .NmiHandler +al 00C06E .GameplayFrame +al 00C06B .GameModeCheck_3 +al 00C061 .MainGameLoop_1 +al 00C07C .MainGameLoop_3 +al 00C056 .InitVariables +al 00C02C .InitGameState +al 00C01E .ClearZeropage +al 00C002 .WaitVBlank +al 00C000 .Reset diff --git a/_wip/Duck Hunt (JUE)/copilot/reconstructed.map b/Duck Hunt (JUE)/copilot/reconstructed.map similarity index 61% rename from _wip/Duck Hunt (JUE)/copilot/reconstructed.map rename to Duck Hunt (JUE)/copilot/reconstructed.map index aaf7f17..1ad1cc6 100644 --- a/_wip/Duck Hunt (JUE)/copilot/reconstructed.map +++ b/Duck Hunt (JUE)/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/Duck Hunt (JUE)/copilot/reconstructed.nes b/Duck Hunt (JUE)/copilot/reconstructed.nes new file mode 100644 index 0000000..cfa7185 Binary files /dev/null and b/Duck Hunt (JUE)/copilot/reconstructed.nes differ diff --git a/_wip/Duck Hunt (JUE)/copilot/reconstructed_prg.bin b/Duck Hunt (JUE)/copilot/reconstructed_prg.bin similarity index 100% rename from _wip/Duck Hunt (JUE)/copilot/reconstructed_prg.bin rename to Duck Hunt (JUE)/copilot/reconstructed_prg.bin diff --git a/Duck Hunt (JUE)/copilot/rom.nes b/Duck Hunt (JUE)/copilot/rom.nes new file mode 120000 index 0000000..0179e73 --- /dev/null +++ b/Duck Hunt (JUE)/copilot/rom.nes @@ -0,0 +1 @@ +../Duck Hunt (JUE).nes \ No newline at end of file diff --git a/Duck Hunt (JUE)/copilot/sites.tsv b/Duck Hunt (JUE)/copilot/sites.tsv new file mode 100644 index 0000000..89fe78a --- /dev/null +++ b/Duck Hunt (JUE)/copilot/sites.tsv @@ -0,0 +1,242 @@ +59 PtrHi +61 PtrLo +73 PtrLo +76 PtrHi +106 GameState +254 Temp +290 GameState +293 GameState +294 Temp +297 Temp +310 GameState +313 GameState +315 Temp +355 Temp +403 Temp +652 PtrHi +654 PtrLo +695 SprData +704 SprData +715 PtrLo +716 PtrHi +764 Temp +815 PtrLo +817 PtrLo +878 PtrLo +880 PtrHi +900 PtrLo +903 PtrLo +917 PtrLo +932 PtrLo +977 PtrHi +985 PtrLo +1080 SndChannel +1082 SndNote +1083 SndChannel +1086 SndChannel +1087 SndNote +1088 SndChannel +1091 SndChannel +1104 PtrLo +1107 PtrLo +1166 PtrLo +1172 PtrLo +1173 PtrLo +1175 PtrHi +1176 PtrHi +1189 PtrLo +1241 PtrHi +1244 PtrLo +1270 PtrLo +1271 PtrLo +1273 PtrHi +1274 PtrHi +1459 PtrHi +1517 PtrHi +1518 PtrHi +1521 PtrHi +1552 PtrHi +1566 PtrHi +1656 GameState +1668 GameState +1682 GameState +1753 PtrLo +1754 PtrHi +1783 Temp +1808 Temp +1834 PtrLo +1914 Ptr2Lo +2021 Ptr2Lo +2033 Ptr2Lo +2126 PtrLo +2127 PtrHi +2213 SprData +2215 Temp +2335 SprData +2377 CtrlState +2565 Ptr2Lo +2568 Ptr2Lo +2668 CtrlState +2752 CtrlTimer +2846 CtrlTimer +2933 CtrlTimer +2946 CtrlTimer +2997 Ptr2Lo +2998 SndTemp +3002 Ptr2Lo +3003 Ptr2Lo +3020 Ptr2Lo +3022 SndTemp +3159 CtrlState +3297 CtrlTimer +3353 CtrlTimer +3372 CtrlTimer +3469 CtrlState +3511 CtrlState +3550 CtrlState +3581 CtrlState +3623 Temp +3636 CtrlState +3708 CtrlState +3732 CtrlTimer +3733 CtrlTimer +3788 CtrlTimer +3789 CtrlTimer +3895 CtrlTimer +3916 CtrlState +3956 CtrlTimer +4039 SprData +4150 CtrlTimer +4176 DataPtrLo +4205 DataPtrLo +4261 CtrlTimer +4375 DataPtrLo +4377 DataPtrLo +4380 DataPtrLo +4382 DataPtrLo +4387 Ptr2Lo +4391 Ptr2Lo +4402 DataPtrLo +4404 DataPtrLo +4424 DataPtrLo +4426 DataPtrLo +4439 CtrlTimer +4463 SndTemp +4467 SndTemp +4639 SprData +4663 SprData +4754 SprData +4770 GameState +4772 GameState +4788 GameState +4789 GameState +4830 SprData +4901 SprData +4964 Ptr2Lo +5195 SndChannel +5197 SndNote +5199 SndChannel +5200 SndTemp +5213 SndChannel +5217 SndTemp +5255 Ptr2Lo +5300 SndChannel +5545 SprData +5549 Temp +5681 Temp +5717 CtrlState +5765 Ptr2Lo +5768 Ptr2Lo +5791 CtrlState +5897 CtrlTimer +5900 CtrlTimer +5906 Ptr2Lo +5929 Ptr2Lo +5946 CtrlState +5966 DataPtrLo +6030 CtrlState +6044 Ptr2Lo +6045 DataPtrLo +6105 Ptr2Lo +6107 DataPtrLo +6195 SndChannel +6196 SndNote +6226 SndChannel +6229 SndNote +6248 CtrlTimer +6301 SndNote +6318 SndNote +6341 VramPtrLo +6342 VramPtrHi +6357 VramPtrLo +6359 VramPtrLo +6360 VramPtrHi +6362 VramPtrHi +6374 VramPtrHi +6375 VramPtrLo +6378 VramPtrLo +6379 VramPtrHi +6391 VramPtrLo +6392 VramPtrHi +6397 VramPtrLo +6400 VramPtrHi +6413 VramPtrLo +6414 VramPtrHi +6426 VramPtrLo +6427 VramPtrHi +6429 VramPtrLo +6432 VramPtrHi +6466 Ptr2Lo +6467 SndTemp +6536 Ptr2Lo +6542 SndTemp +6618 Ptr2Lo +6619 SndTemp +6660 Ptr2Lo +6661 SndTemp +6681 CtrlState +7281 FrameCounter +7722 SndChan +7723 SndPtrHi +7728 SndPtrLo +7730 FrameCounter +7758 SndChan +7759 SndChan +7762 SndPtrLo +7763 SndPtrLo +7764 SndPtrLo +7765 SndPtrLo +7782 SndPtrHi +7785 SndPtrLo +7788 SndPtrHi +7789 SndPtrHi +7794 FrameCounter +7815 FrameCounter +7849 FrameCounter +7851 FrameCounter +7898 FrameCounter +7900 FrameCounter +7917 FrameCounter +7919 FrameCounter +7932 FrameCounter +7966 SndChan +7967 FrameCounter +7969 FrameCounter +7991 SndChan +7994 SndChan +7995 SndChan +7998 FrameCounter +8000 FrameCounter +8024 FrameCounter +8046 SndPtrLo +8047 SndPtrHi +8049 FrameCounter +8051 FrameCounter +8075 SndPtrLo +8076 SndPtrLo +8080 SndPtrLo +8081 SndPtrHi +8086 SndPtrHi +8087 SndPtrHi +8092 FrameCounter +8094 FrameCounter \ No newline at end of file diff --git a/_wip/Duck Hunt (JUE)/copilot/symbols.inc b/Duck Hunt (JUE)/copilot/symbols.inc similarity index 100% rename from _wip/Duck Hunt (JUE)/copilot/symbols.inc rename to Duck Hunt (JUE)/copilot/symbols.inc diff --git a/OVERVIEW.md b/OVERVIEW.md index df8b723..8652ab4 100644 --- a/OVERVIEW.md +++ b/OVERVIEW.md @@ -28,12 +28,12 @@ This document provides a consolidated overview of all NES disassembly projects i | 16 | MUSCLE (U) | USA | 16 KB | 8 KB | Vertical | BYTE-IDENTICAL (Pass complete) | $86CB / $8000 / $8764 | | 17 | Lunar Pool (U) | USA | 16 KB | 8 KB | Vertical | BYTE-IDENTICAL (Pass 2 complete, Pass 3 tables named) | $FF65 / $E80C / $FF64 | | 18 | Donkey Kong (JU) | Japan | 16 KB | 8 KB | Horizontal | BYTE-IDENTICAL (Pass 2/3 complete, 76.3% code) | $C85F / $C79E / $FFF0 | -| 19 | `Donkey Kong Jr. Math (U)` | USA | 16 KB | 8 KB | Vertical | **PRG-IDENTICAL (Pass 1 complete, Pass 2 partial — 64 of 1,035 labels named, 81.9% code)** | $C4A9 / $C41E / $FFF0 | -| 20 | `Duck Hunt (JUE)` | Japan / USA / Europe | 16 KB | 8 KB | Vertical | **PRG-IDENTICAL (Pass 1 complete, Pass 2 partial — 31 of 472 labels named, 37.5% code)** | $C086 / $C000 / $C000 | +| 19 | **Donkey Kong Jr. Math (U)** | USA | 16 KB | 8 KB | Vertical | **BYTE-IDENTICAL (Pass 3 complete)** | $C4A9 / $C41E / $FFF0 | +| 20 | **Duck Hunt (JUE)** | Japan / USA / Europe | 16 KB | 8 KB | Vertical | **BYTE-IDENTICAL (Pass 3 complete)** | $C086 / $C000 / $C000 | | 21 | `Golf (JU)` | Japan | 16 KB | 8 KB | Vertical | PRG-IDENTICAL (Pass 1+ substantial) | $C0A6 / $C000 / $C0C4 | | 22 | `Hogan's Alley (JU)` | Japan | 16 KB | 8 KB | Vertical | **PRG-IDENTICAL (Pass 1 complete, 41.8% code, needs CDL reclass; build fixed 2026-10-19 — `$E9F1` forced back to data)** | $C088 / $C000 / $C000 | -| 23 | `Ice Climber (JE)` | — | 16 KB | 8 KB | Horizontal | **PRG-IDENTICAL (Pass 1 complete, Pass 2 partial — 76 of 973 labels named, 74.6% code)** | $C076 / $C014 / $FFF0 | -| 24 | `Ice Climber (U)` | USA | 16 KB | 8 KB | Horizontal | **PRG-IDENTICAL (Pass 1 complete, Pass 2 not started — 2 of 973 labels named, 74.6% code)** | $C076 / $C014 / $FFF0 | +| 23 | **Ice Climber (JE)** | — | 16 KB | 8 KB | Horizontal | **PRG-IDENTICAL (Pass 2 complete, 74.6% code)** | $C076 / $C014 / $FFF0 | +| 24 | **Ice Climber (U)** | USA | 16 KB | 8 KB | Horizontal | **PRG-IDENTICAL (Pass 2 complete, 74.6% code)** | $C076 / $C014 / $FFF0 | | 25 | `Lode Runner (U)` | USA | 16 KB | 8 KB | Vertical | **PRG-IDENTICAL (Pass 1 complete, 52.6% code)** | $C02C / $C000 / $FFF9 | | 26 | `Mario Bros (JU)` | Japan | 16 KB | 8 KB | Vertical | PRG-IDENTICAL (Pass 1 complete, Pass 2 substantial) | $C07D / $C000 / $C000 | | 27 | `Millipede (U)` | USA | 16 KB | 8 KB | Vertical | **PRG-IDENTICAL (Pass 1 complete, 74.6% code)** | $C7F1 / $C735 / $FFF0 | @@ -49,13 +49,13 @@ This document provides a consolidated overview of all NES disassembly projects i All 36 are mapper 0 / 16 KB PRG / 8 KB CHR, battery-backed, no trainer. -Rows 1-18 are **BYTE-IDENTICAL**: `make` compares the whole reconstructed ROM -against `copilot/rom.nes`. Rows 19-35 are **PRG-IDENTICAL**: their Makefiles +Rows 1-20 are **BYTE-IDENTICAL**: `make` compares the whole reconstructed ROM +against `copilot/rom.nes`. Rows 21-35 are **PRG-IDENTICAL**: their Makefiles compare only `reconstructed_prg.bin` against `prg.bin`, so header and CHR are not yet proven to rebuild. Treat those as unverified outside the PRG. Row 36 (Urban Champion) is also BYTE-IDENTICAL — it was promoted while still numbered -at the tail of the `_wip` block, so the tier split is by row ranges 1-18 + 36 -versus 19-35, not a single cut. +at the tail of the `_wip` block, so the tier split is by row ranges 1-20 + 36 +versus 21-35, not a single cut. **How to read this table.** The vectors are the three little-endian words at the **end of the 16 KB PRG** (`$FFFA-$FFFF` in the `$C000` mirror) — *not* fields in the iNES header, whose bytes diff --git a/TODO.md b/TODO.md index 08216c4..69a42ed 100644 --- a/TODO.md +++ b/TODO.md @@ -33,15 +33,15 @@ Two tiers exist, and the difference is real: ## Current state -- 19 top-level projects, all byte-identical (Lunar Pool promoted 2026-10-18, - Donkey Kong (JU) promoted 2026-10-19 after Pass 3). -- 17 `_wip/` projects, all PRG-identical and all at Pass 1 or beyond. `Pyramid (U)` +- 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 - Donkey Kong Jr. Math, Duck Hunt, Ice Climber (JE), Ice Climber (U) and Pinball; + Ice Climber (JE), Ice Climber (U) and Pinball; Golf (JU) and Mario Bros (JU) have substantial Pass 2 work. The inventory rows in `OVERVIEW.md` are authoritative. - Local `master` is ahead of `origin/master`; nothing pushed. -- `_tools/verify_pass1.py` covers the **19 top-level projects** (it selects folders +- `_tools/verify_pass1.py` covers the **20 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 unfaithful Pass 1**. The earlier-reported re-trace crash on `MUSCLE (U)` / @@ -302,8 +302,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** | -| Donkey Kong Jr. Math (U) | 64 / 1,035 | 971 | 243 / 62 / 100 / **0** | -| Duck Hunt (JUE) | 31 / 472 | 441 | 272 / 31 / 210 conflicts / **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 | **The drafted maps are not applicable.** Auditing every row by address against the @@ -326,6 +325,38 @@ behavioral naming rather than address-derived labels: the 217 `SubC` routi 145 zero-page slots in `locals.inc` (still neutral `ZpXX`), and the 407 unapplied `zp` proposals in `dk_full_map.tsv`. +**Donkey Kong Jr. Math (U) Pass 2 resolution (2026-10-19):** the 971 remaining `Label_` +definitions were named fresh from the committed split — **64** semantic routine names +preserved from Pass 1, **295** `SubC` entry points for all remaining `jsr`/`jmp` +targets, and **676** `_Block[_n]` internal branch targets. **13 semantic +zero-page aliases** added to `locals.inc` (`PtrLo/Hi`, `Ptr2Lo`, `VBlankTimer`, +`SprCount`, `SprIndex`, `ObjIndex`, `BtnState`, `ScorePtrLo/Hi`, `SndChannel`, +`GameState`, `FrameCounter`). Hardware register operands (69) substituted via +`apply_symbols.py`; zero-page multi-alias addresses need a `--sites` file for full +substitution. Build remains **BYTE-IDENTICAL**. + +**Donkey Kong Jr. Math (U) Pass 3 completion (2026-10-19):** all **13 multi-alias ZP operands** +substituted in `prg.s` (via direct replacement, since `apply_symbols.py` only handles numeric operands); +**18 data tables/structures named** across all data regions (see project OVERVIEW.md for table). +Build remains **BYTE-IDENTICAL**. + +**Duck Hunt (JUE) Pass 2 resolution (2026-10-19):** the 441 remaining `Label_` +definitions were named fresh from the committed split — **30** semantic routine names +preserved from Pass 1, **428** `SubC` entry points for all remaining `jsr`/`jmp` +targets, and **293** `_Block[_n]` internal branch targets. **18 semantic +zero-page aliases** added to `locals.inc` (`PtrLo/Hi`, `Ptr2Lo`, `GameState`, +`SndTemp`, `SndChannel`, `SndNote`, `SprData`, `Temp`, `CtrlState`, `CtrlTimer`, +`VramPtrLo/Hi`, `DataPtrLo`, `SndChan`, `SndPtrLo/Hi`, `FrameCounter`). Hardware register operands (68) substituted via +`apply_symbols.py`; zero-page multi-alias addresses need a `--sites` file for full +substitution. Build remains **BYTE-IDENTICAL**. + +**Duck Hunt (JUE) Pass 3 completion (2026-10-19):** all **18 multi-alias ZP operands** +substituted in `prg.s` (via direct replacement, since `apply_symbols.py` only handles numeric operands); +**20 data tables/structures named** across all data regions (see project OVERVIEW.md for table). +Build remains **BYTE-IDENTICAL**. + +**Duck Hunt (JUE) promotion to top level (2026-10-19):** added `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switched `make` to whole-ROM `cmp`, moved `_tools` paths. Build verified **Byte-identical ROM verified.** + ### 5. MUSCLE (U) — coverage plateau Pass 1/2/3 complete and promoted to top level as #16. The stage-payload trace @@ -377,6 +408,12 @@ have Pass 3 symbols applied (2026-10-19).** What the sweep did **not** do: (JE), and `(U)` has no map file at all. The drafted maps were then audited **row by row against the committed split** and are **not applicable** (0 of 210–272 rows in each are both insertable and referenced) — see §4 for the table and the method. + **Donkey Kong Jr. Math (U) has since had Pass 2 and Pass 3 completed for real (2026-10-19)** + with a fresh map derived from the committed split (64 semantic + 295 `SubC` + + 676 `_Block` labels; 13 ZP aliases; 18 data tables named), and was **promoted to top level**. + **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**. - **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 diff --git a/_wip/Donkey Kong Jr. Math (U)/OVERVIEW.md b/_wip/Donkey Kong Jr. Math (U)/OVERVIEW.md deleted file mode 100644 index 824dc00..0000000 --- a/_wip/Donkey Kong Jr. Math (U)/OVERVIEW.md +++ /dev/null @@ -1,80 +0,0 @@ -# Donkey Kong Jr. Math (U) — Pass 1 Disassembly (Pass 2 partial) - -ROM: `_wip/Donkey Kong Jr. Math (U)/Donkey Kong Jr. Math (U).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 81.9% code; Pass 2 partial.** `copilot/prg.s` is a real disassembly, not a skeleton: 6,589 instructions (13,416 bytes as code), **1,035 label definitions of which only 64 carry semantic names** — 971 are still address-based `Label_`. `locals.inc` holds **186 neutral `ZpXX` slots and no semantic zero-page aliases**. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). - -This header said "Pass 2 complete" from `c204dac` (2026-10-18) until the 2026-10-19 correction; that claim counted the draft map's rows, not names actually present in `prg.s`. See "Pass 2 Status and Map Audit" below. - - -## 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 | `263e5e9602943cfcb28c4d4492375a0e103c1d46c6f641ffab4da6f1f8422b4a` | -| PRG SHA-256 | `de0612081266e6ad556d6c98dd7ad9c362ceac8531d9446239813feb1961221b` | - -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) - -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C4A9` | per-frame heartbeat | -| RESET | `$C41E` | enters at $C41E 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 | -|------|---------| -| `Donkey Kong Jr. Math (U).nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass 1: classified code/data split, 6,589 instructions, 64 semantic + 971 address-based `Label_` definitions, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | 186 neutral `ZpXX` zero-page slots (Pass 2 naming outstanding) | -| `dkjm_label_map.tsv` / `dkjm_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` | -| `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/Donkey Kong Jr. Math (U)/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" -``` - -## Pass Status - -| Pass | Status | -|------|--------| -| Pass 1 | **Complete** — 6,589 instructions, 13,416 bytes as code (81.9%), 2,968 bytes as data, byte accounting exact (16,384) | -| Pass 2 | **Partial** — 64 of 1,035 label definitions named (6%); 186 zero-page slots still neutral `ZpXX`; the drafted maps are stale and have not been (and cannot be) applied | -| Pass 3 | Outstanding — data tables/structures unnamed | -| 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: - -- **"240 semantic labels"** was the map's row count (`dkjm_full_map.tsv` has 243 `label` rows / 240 distinct old names). `prg.s` actually names **64** definitions; the other 971 are still `Label_`. -- **"186 zero-page semantic aliases"** was the count of **neutral** `ZpXX` entries in `locals.inc`. There are **zero** semantic zero-page aliases. -- Most of the listed "key renamed routines" (`InitSystem`, `InitPPU`, `InitGameState`, `UpdateOAM`, `UpdateScroll`, `WritePPU`, `PlaySoundEffect`, …) do not exist in the file. - -Draft-map audit (`dkjm_full_map.tsv`, 243 label rows): - -| Outcome | Rows | Meaning | -|---|---|---| -| already applied | 62 | the proposed name already sits at that address | -| name conflict | 2 | a different name already sits there | -| stale address | 100 | the address is **not an instruction boundary** in the current `prg.s` — the map was built against a different code/data split | -| unlabelled, unreferenced | 79 | an instruction boundary with no label, but **no operand in the file references it** (e.g. `$C442`, called `InitGame_1` in the map, is really the fall-through tail of `ClearZeropage_1`) | -| **safely applicable** | **0** | no row is both insertable and corroborated by control flow | - -The map is therefore kept only as provenance. Completing Pass 2 needs a fresh map derived from the committed split (routine entries plus `_Block[_n]` internal branch targets, as done for `Donkey Kong (JU)`). - -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. diff --git a/_wip/Donkey Kong Jr. Math (U)/copilot/Makefile b/_wip/Donkey Kong Jr. Math (U)/copilot/Makefile deleted file mode 100644 index 3f9ba6f..0000000 --- a/_wip/Donkey Kong Jr. Math (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/Donkey Kong Jr. Math (U)/copilot/linker.cfg b/_wip/Donkey Kong Jr. Math (U)/copilot/linker.cfg deleted file mode 100644 index d9d421d..0000000 --- a/_wip/Donkey Kong Jr. Math (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/Donkey Kong Jr. Math (U)/copilot/reconstructed.lbl b/_wip/Donkey Kong Jr. Math (U)/copilot/reconstructed.lbl deleted file mode 100644 index b0e6186..0000000 --- a/_wip/Donkey Kong Jr. Math (U)/copilot/reconstructed.lbl +++ /dev/null @@ -1,1035 +0,0 @@ -al 00FFF0 .IrqHandler -al 00FEA3 .Label_FEA3 -al 00FE9C .Label_FE9C -al 00FEA9 .Label_FEA9 -al 00FE7B .Label_FE7B -al 00FE51 .Label_FE51 -al 00FE5E .Label_FE5E -al 00FE7E .Label_FE7E -al 00FE37 .Label_FE37 -al 00FE28 .Label_FE28 -al 00FE4E .Label_FE4E -al 00FE3A .Label_FE3A -al 00FE0B .Label_FE0B -al 00FE07 .Label_FE07 -al 00FDC3 .Label_FDC3 -al 00FD93 .Label_FD93 -al 00FD7E .Label_FD7E -al 00FD8E .Label_FD8E -al 00FD79 .Label_FD79 -al 00FDB7 .Label_FDB7 -al 00FD6B .Label_FD6B -al 00FD65 .Label_FD65 -al 00FD67 .Label_FD67 -al 00FD59 .Label_FD59 -al 00FD62 .Label_FD62 -al 00FD4F .Label_FD4F -al 00FD3F .Label_FD3F -al 00FD2B .Label_FD2B -al 00FD10 .Label_FD10 -al 00FD06 .Label_FD06 -al 00FCF2 .Label_FCF2 -al 00FCEA .Label_FCEA -al 00FCD9 .Label_FCD9 -al 00FCD2 .Label_FCD2 -al 00FCF7 .Label_FCF7 -al 00FCC8 .Label_FCC8 -al 00FCC3 .Label_FCC3 -al 00FD07 .Label_FD07 -al 00FCAC .Label_FCAC -al 00FCA5 .Label_FCA5 -al 00FC79 .Label_FC79 -al 00FC7F .Label_FC7F -al 00FC82 .Label_FC82 -al 00FC47 .Label_FC47 -al 00FC31 .Label_FC31 -al 00FC87 .Label_FC87 -al 00FC8D .Label_FC8D -al 00FC64 .Label_FC64 -al 00FC6B .Label_FC6B -al 00FC4B .Label_FC4B -al 00FC52 .Label_FC52 -al 00FC3A .Label_FC3A -al 00FC41 .Label_FC41 -al 00FC1F .Label_FC1F -al 00FC2B .UpdateAPU10 -al 00FBDC .Label_FBDC -al 00FC1C .Label_FC1C -al 00FC2F .Label_FC2F -al 00FBC6 .Label_FBC6 -al 00FBB4 .Label_FBB4 -al 00FBA6 .Label_FBA6 -al 00FB99 .Label_FB99 -al 00FB8C .Label_FB8C -al 00FBDA .Label_FBDA -al 00FB83 .Label_FB83 -al 00FB74 .Label_FB74 -al 00FB6B .Label_FB6B -al 00FB6A .Label_FB6A -al 00FB64 .Label_FB64 -al 00FB62 .Label_FB62 -al 00FAF9 .Label_FAF9 -al 00FAF7 .Label_FAF7 -al 00FAF0 .Label_FAF0 -al 00FAEC .Label_FAEC -al 00FAEB .Label_FAEB -al 00FADA .Label_FADA -al 00FAD5 .Label_FAD5 -al 00FAD3 .Label_FAD3 -al 00FAD8 .Label_FAD8 -al 00FACD .Label_FACD -al 00FAC5 .Label_FAC5 -al 00FAC4 .Label_FAC4 -al 00FAC2 .Label_FAC2 -al 00FAB1 .Label_FAB1 -al 00FAA9 .Label_FAA9 -al 00FAA7 .Label_FAA7 -al 00FA95 .Label_FA95 -al 00FA92 .Label_FA92 -al 00FA8F .Label_FA8F -al 00FA7C .Label_FA7C -al 00FA75 .Label_FA75 -al 00FA5C .Label_FA5C -al 00F543 .Label_F543 -al 00F532 .Label_F532 -al 00F50D .Label_F50D -al 00F50B .Label_F50B -al 00F4F3 .Label_F4F3 -al 00F4E2 .Label_F4E2 -al 00F4D2 .Label_F4D2 -al 00F49F .Label_F49F -al 00F499 .Label_F499 -al 00F48D .Label_F48D -al 00F407 .Label_F407 -al 00F404 .Label_F404 -al 00F3F8 .Label_F3F8 -al 00F3E5 .Label_F3E5 -al 00F3DC .Label_F3DC -al 00F3E0 .Label_F3E0 -al 00F3CF .Label_F3CF -al 00F3C4 .Label_F3C4 -al 00F3C3 .Label_F3C3 -al 00F3A7 .Label_F3A7 -al 00F3A1 .Label_F3A1 -al 00F34C .Label_F34C -al 00F373 .Label_F373 -al 00F36F .Label_F36F -al 00F33F .Label_F33F -al 00F335 .Label_F335 -al 00F322 .Label_F322 -al 00F324 .Label_F324 -al 00F31E .Label_F31E -al 00F31D .Label_F31D -al 00F30C .Label_F30C -al 00F30A .Label_F30A -al 00F305 .Label_F305 -al 00F2DC .Label_F2DC -al 00F2C3 .Label_F2C3 -al 00F2AC .Label_F2AC -al 00F2AA .Label_F2AA -al 00F2A9 .Label_F2A9 -al 00F298 .Label_F298 -al 00F279 .Label_F279 -al 00F23D .Label_F23D -al 00F237 .Label_F237 -al 00F22E .Label_F22E -al 00F22A .Label_F22A -al 00F221 .Label_F221 -al 00F218 .Label_F218 -al 00F204 .Label_F204 -al 00F201 .Label_F201 -al 00F1FE .Label_F1FE -al 00F1F2 .Label_F1F2 -al 00F1DC .Label_F1DC -al 00F1D5 .Label_F1D5 -al 00F1BC .Label_F1BC -al 00F1A6 .Label_F1A6 -al 00F197 .Label_F197 -al 00F193 .Label_F193 -al 00F196 .Label_F196 -al 00F17A .Label_F17A -al 00F16E .Label_F16E -al 00F179 .Label_F179 -al 00F135 .Label_F135 -al 00F12B .Label_F12B -al 00F12A .Label_F12A -al 00F11C .Label_F11C -al 00F117 .Label_F117 -al 00F0E8 .Label_F0E8 -al 00F0D8 .Label_F0D8 -al 00F0D3 .Label_F0D3 -al 00F0E9 .Label_F0E9 -al 00F0BC .Label_F0BC -al 00F0AE .Label_F0AE -al 00F0A9 .Label_F0A9 -al 00F0BD .Label_F0BD -al 00F0F1 .Label_F0F1 -al 00F06F .UpdateMusicChannel22 -al 00F07B .Label_F07B -al 00F051 .Label_F051 -al 00F04B .Label_F04B -al 00F042 .Label_F042 -al 00F030 .Label_F030 -al 00F08B .Label_F08B -al 00F024 .Label_F024 -al 00F01C .Label_F01C -al 00F006 .Label_F006 -al 00F005 .Label_F005 -al 00F00C .Label_F00C -al 00EFF7 .Label_EFF7 -al 00EFEA .Label_EFEA -al 00EFE9 .Label_EFE9 -al 00EFD6 .Label_EFD6 -al 00EFC8 .Label_EFC8 -al 00EFAC .Label_EFAC -al 00EF7A .Label_EF7A -al 00EF5A .Label_EF5A -al 00EF80 .Label_EF80 -al 00EF21 .Label_EF21 -al 00EF1B .Label_EF1B -al 00EF18 .Label_EF18 -al 00EF08 .Label_EF08 -al 00EEED .Label_EEED -al 00EEE1 .Label_EEE1 -al 00EEA5 .Label_EEA5 -al 00EE97 .Label_EE97 -al 00EE82 .Label_EE82 -al 00EE75 .Label_EE75 -al 00EE6F .Label_EE6F -al 00EE5E .Label_EE5E -al 00EE4D .UpdateMusicChannel16 -al 00EE44 .Label_EE44 -al 00EE38 .Label_EE38 -al 00EE2A .Label_EE2A -al 00EE39 .Label_EE39 -al 00EE25 .Label_EE25 -al 00EE23 .Label_EE23 -al 00EE10 .Label_EE10 -al 00EE06 .Label_EE06 -al 00EE0B .Label_EE0B -al 00EE04 .Label_EE04 -al 00EDF6 .Label_EDF6 -al 00EDD7 .Label_EDD7 -al 00EDBD .Label_EDBD -al 00EDCD .Label_EDCD -al 00EDAE .Label_EDAE -al 00EDA1 .Label_EDA1 -al 00ED9F .Label_ED9F -al 00ED9E .Label_ED9E -al 00ED8E .Label_ED8E -al 00ED8F .Label_ED8F -al 00ED6B .Label_ED6B -al 00ED79 .Label_ED79 -al 00ED50 .Label_ED50 -al 00ED75 .Label_ED75 -al 00ED4B .Label_ED4B -al 00ED3C .Label_ED3C -al 00ED44 .Label_ED44 -al 00ED2D .Label_ED2D -al 00ED12 .Label_ED12 -al 00ED0F .Label_ED0F -al 00ED08 .Label_ED08 -al 00ECEF .Label_ECEF -al 00ECE2 .Label_ECE2 -al 00ECE0 .Label_ECE0 -al 00ECDA .Label_ECDA -al 00ECD9 .Label_ECD9 -al 00ECB9 .Label_ECB9 -al 00EC77 .Label_EC77 -al 00EC75 .Label_EC75 -al 00EC5D .Label_EC5D -al 00EC53 .Label_EC53 -al 00EC4F .Label_EC4F -al 00EC34 .Label_EC34 -al 00EC8B .Label_EC8B -al 00EC5B .Label_EC5B -al 00EC2F .Label_EC2F -al 00EC1B .Label_EC1B -al 00EC12 .Label_EC12 -al 00EC0F .Label_EC0F -al 00EC01 .Label_EC01 -al 00EC09 .Label_EC09 -al 00EBF7 .Label_EBF7 -al 00EBF6 .Label_EBF6 -al 00EBE5 .Label_EBE5 -al 00EBC8 .Label_EBC8 -al 00EBBD .Label_EBBD -al 00EBC0 .Label_EBC0 -al 00EBAF .Label_EBAF -al 00EB95 .Label_EB95 -al 00EBC1 .Label_EBC1 -al 00EB7B .Label_EB7B -al 00EB66 .Label_EB66 -al 00EB8A .Label_EB8A -al 00EB56 .Label_EB56 -al 00EB4D .Label_EB4D -al 00EB41 .Label_EB41 -al 00EB75 .Label_EB75 -al 00EB62 .Label_EB62 -al 00EB15 .Label_EB15 -al 00EB0D .UpdateSoundChannel6 -al 00EAFE .Label_EAFE -al 00EADB .Label_EADB -al 00EAC7 .Label_EAC7 -al 00EAEB .Label_EAEB -al 00EAAF .Label_EAAF -al 00EAAD .Label_EAAD -al 00EAB2 .Label_EAB2 -al 00EA89 .Label_EA89 -al 00EA81 .Label_EA81 -al 00EA7C .Label_EA7C -al 00EA71 .Label_EA71 -al 00EA79 .Label_EA79 -al 00EA5D .Label_EA5D -al 00EA5B .Label_EA5B -al 00EA5A .Label_EA5A -al 00EA48 .Label_EA48 -al 00EA39 .Label_EA39 -al 00EA35 .Label_EA35 -al 00EA2C .Label_EA2C -al 00EA0D .Label_EA0D -al 00EA05 .Label_EA05 -al 00EA29 .Label_EA29 -al 00E9EE .Label_E9EE -al 00E9E7 .Label_E9E7 -al 00E9E1 .Label_E9E1 -al 00E9DA .Label_E9DA -al 00E9DE .Label_E9DE -al 00E9C7 .Label_E9C7 -al 00E9C0 .Label_E9C0 -al 00E9A7 .Label_E9A7 -al 00E9B0 .Label_E9B0 -al 00E9B1 .Label_E9B1 -al 00E98B .Label_E98B -al 00E984 .Label_E984 -al 00E981 .Label_E981 -al 00E966 .Label_E966 -al 00E96F .Label_E96F -al 00E949 .Label_E949 -al 00E96E .Label_E96E -al 00E928 .Label_E928 -al 00E923 .Label_E923 -al 00E91A .Label_E91A -al 00E912 .Label_E912 -al 00E8EC .Label_E8EC -al 00E8E0 .Label_E8E0 -al 00E8DE .Label_E8DE -al 00E8AD .Label_E8AD -al 00E8B5 .Label_E8B5 -al 00E8AE .Label_E8AE -al 00E8C9 .Label_E8C9 -al 00E89A .Label_E89A -al 00E8FD .Label_E8FD -al 00E88B .Label_E88B -al 00E87C .Label_E87C -al 00E876 .Label_E876 -al 00E84C .Label_E84C -al 00E848 .Label_E848 -al 00E870 .Label_E870 -al 00E825 .Label_E825 -al 00E80B .Label_E80B -al 00E803 .Label_E803 -al 00E7FC .Label_E7FC -al 00E7F5 .Label_E7F5 -al 00E7CA .Label_E7CA -al 00E7B8 .Label_E7B8 -al 00E7B1 .Label_E7B1 -al 00E7C3 .Label_E7C3 -al 00E7A0 .Label_E7A0 -al 00E795 .Label_E795 -al 00E79C .Label_E79C -al 00E75B .Label_E75B -al 00E755 .Label_E755 -al 00E754 .Label_E754 -al 00E74A .Label_E74A -al 00E741 .Label_E741 -al 00E73F .Label_E73F -al 00E72E .Label_E72E -al 00E72C .Label_E72C -al 00E729 .Label_E729 -al 00E722 .Label_E722 -al 00E71A .Label_E71A -al 00E715 .Label_E715 -al 00E6F5 .Label_E6F5 -al 00E6F1 .Label_E6F1 -al 00E6DE .Label_E6DE -al 00E6D3 .Label_E6D3 -al 00E6C9 .Label_E6C9 -al 00E6BA .Label_E6BA -al 00E6A1 .Label_E6A1 -al 00E69C .Label_E69C -al 00E695 .Label_E695 -al 00E684 .Label_E684 -al 00E67E .Label_E67E -al 00E674 .Label_E674 -al 00E665 .Label_E665 -al 00E65E .Label_E65E -al 00E654 .Label_E654 -al 00E63D .Label_E63D -al 00E639 .Label_E639 -al 00E627 .Label_E627 -al 00E61E .Label_E61E -al 00E610 .Label_E610 -al 00E613 .Label_E613 -al 00E5FD .Label_E5FD -al 00E5F8 .Label_E5F8 -al 00E5F2 .Label_E5F2 -al 00E5E8 .Label_E5E8 -al 00E5DE .Label_E5DE -al 00E5D4 .Label_E5D4 -al 00E5CA .Label_E5CA -al 00E5C0 .Label_E5C0 -al 00E5B9 .Label_E5B9 -al 00E5AB .Label_E5AB -al 00E5A8 .Label_E5A8 -al 00E596 .Label_E596 -al 00E585 .Label_E585 -al 00E57C .Label_E57C -al 00E57A .Label_E57A -al 00E57E .Label_E57E -al 00E56B .Label_E56B -al 00E568 .Label_E568 -al 00E5BD .Label_E5BD -al 00E54A .PlayMusic -al 00E53F .Label_E53F -al 00E529 .Label_E529 -al 00E531 .Label_E531 -al 00E52C .Label_E52C -al 00E523 .Label_E523 -al 00E542 .Label_E542 -al 00E50F .Label_E50F -al 00E4F4 .Label_E4F4 -al 00E4E6 .Label_E4E6 -al 00E4DF .Label_E4DF -al 00E4D8 .Label_E4D8 -al 00E4F1 .Label_E4F1 -al 00E502 .Label_E502 -al 00E4C5 .Label_E4C5 -al 00E4BF .Label_E4BF -al 00E4B1 .Label_E4B1 -al 00E4BC .Label_E4BC -al 00E4B4 .Label_E4B4 -al 00E4A6 .Label_E4A6 -al 00E49F .Label_E49F -al 00E496 .Label_E496 -al 00E4A2 .Label_E4A2 -al 00E481 .Label_E481 -al 00E476 .Label_E476 -al 00E456 .Label_E456 -al 00E459 .UpdateDisplay2 -al 00E45F .Label_E45F -al 00E44B .Label_E44B -al 00E44E .Label_E44E -al 00E43C .Label_E43C -al 00E433 .Label_E433 -al 00E42A .Label_E42A -al 00E421 .Label_E421 -al 00E443 .Label_E443 -al 00E418 .Label_E418 -al 00E3FE .Label_E3FE -al 00E406 .Label_E406 -al 00E3DF .Label_E3DF -al 00E40B .Label_E40B -al 00E3F0 .Label_E3F0 -al 00E3CC .Label_E3CC -al 00E405 .Label_E405 -al 00E3D1 .Label_E3D1 -al 00E3A5 .Label_E3A5 -al 00E387 .Label_E387 -al 00E36F .Label_E36F -al 00E386 .Label_E386 -al 00E359 .Label_E359 -al 00E353 .Label_E353 -al 00E344 .Label_E344 -al 00E338 .Label_E338 -al 00E352 .Label_E352 -al 00E32D .Label_E32D -al 00E324 .Label_E324 -al 00E322 .Label_E322 -al 00E328 .Label_E328 -al 00E314 .Label_E314 -al 00E308 .Label_E308 -al 00E2F5 .Label_E2F5 -al 00E2E2 .Label_E2E2 -al 00E2E3 .Label_E2E3 -al 00E2DE .Label_E2DE -al 00E2CC .Label_E2CC -al 00E2BC .Label_E2BC -al 00E2B4 .Label_E2B4 -al 00E2B3 .Label_E2B3 -al 00E2AF .Label_E2AF -al 00E2A3 .Label_E2A3 -al 00E291 .Label_E291 -al 00E28F .Label_E28F -al 00E296 .Label_E296 -al 00E27E .Label_E27E -al 00E26B .Label_E26B -al 00E259 .Label_E259 -al 00E254 .Label_E254 -al 00E242 .Label_E242 -al 00E23A .Label_E23A -al 00E20D .Label_E20D -al 00E1FF .Label_E1FF -al 00E1F9 .Label_E1F9 -al 00E1EB .Label_E1EB -al 00E1E2 .Label_E1E2 -al 00E1DC .Label_E1DC -al 00E1D7 .Label_E1D7 -al 00E1D3 .Label_E1D3 -al 00E1C5 .Label_E1C5 -al 00E1C1 .Label_E1C1 -al 00E1BC .Label_E1BC -al 00E19B .Label_E19B -al 00E199 .Label_E199 -al 00E182 .Label_E182 -al 00E17B .Label_E17B -al 00E174 .Label_E174 -al 00E170 .Label_E170 -al 00E163 .Label_E163 -al 00E15F .Label_E15F -al 00E137 .Label_E137 -al 00E0FD .InitGame_4 -al 00E0F4 .Label_E0F4 -al 00E0E4 .Label_E0E4 -al 00E0D7 .Label_E0D7 -al 00E0A9 .Label_E0A9 -al 00E09E .Label_E09E -al 00E091 .Label_E091 -al 00E070 .Label_E070 -al 00E057 .Label_E057 -al 00E02A .Label_E02A -al 00E01F .Label_E01F -al 00E015 .Label_E015 -al 00E007 .Label_E007 -al 00E00A .Label_E00A -al 00E003 .Label_E003 -al 00DFF3 .Label_DFF3 -al 00DFEE .Label_DFEE -al 00DFE0 .Label_DFE0 -al 00DFD8 .Label_DFD8 -al 00DFC4 .Label_DFC4 -al 00DFAA .Label_DFAA -al 00DF9B .Label_DF9B -al 00DF9F .Label_DF9F -al 00DF7E .Label_DF7E -al 00DF84 .Label_DF84 -al 00DF76 .Label_DF76 -al 00DF6E .Label_DF6E -al 00DF6A .Label_DF6A -al 00DF47 .Label_DF47 -al 00DF44 .Label_DF44 -al 00DF31 .Label_DF31 -al 00DF05 .Label_DF05 -al 00DF0C .Label_DF0C -al 00DEED .Label_DEED -al 00DEDB .Label_DEDB -al 00DECB .Label_DECB -al 00DE9F .Label_DE9F -al 00DE9B .Label_DE9B -al 00DE77 .Label_DE77 -al 00DE68 .Label_DE68 -al 00DE63 .UpdateSpritePosition82 -al 00DE3D .Label_DE3D -al 00DE3A .Label_DE3A -al 00DE2A .Label_DE2A -al 00DE2C .Label_DE2C -al 00DE24 .Label_DE24 -al 00DE33 .Label_DE33 -al 00DDEF .Label_DDEF -al 00DDED .Label_DDED -al 00DDD6 .Label_DDD6 -al 00DDC6 .Label_DDC6 -al 00DE10 .Label_DE10 -al 00DDA7 .Label_DDA7 -al 00DD9D .Label_DD9D -al 00DD9A .Label_DD9A -al 00DD5B .Label_DD5B -al 00DD4E .Label_DD4E -al 00DD48 .Label_DD48 -al 00DD4D .Label_DD4D -al 00DD25 .Label_DD25 -al 00DD16 .Label_DD16 -al 00DD15 .Label_DD15 -al 00DD0C .Label_DD0C -al 00DD0A .Label_DD0A -al 00DD09 .Label_DD09 -al 00DCEA .Label_DCEA -al 00DCE3 .UpdateSpritePosition66 -al 00DCFE .Label_DCFE -al 00DCE4 .Label_DCE4 -al 00DCD1 .Label_DCD1 -al 00DCCB .Label_DCCB -al 00DCAC .Label_DCAC -al 00DC9F .Label_DC9F -al 00DC95 .Label_DC95 -al 00DC7C .Label_DC7C -al 00DCC6 .Label_DCC6 -al 00DC4A .Label_DC4A -al 00DC25 .Label_DC25 -al 00DC1F .Label_DC1F -al 00DC0D .UpdateSpritePosition61 -al 00DC0C .Label_DC0C -al 00DBEF .Label_DBEF -al 00DBF5 .Label_DBF5 -al 00DBDA .Label_DBDA -al 00DBC2 .Label_DBC2 -al 00DBBF .Label_DBBF -al 00DBB5 .Label_DBB5 -al 00DBAC .Label_DBAC -al 00DB96 .Label_DB96 -al 00DBB2 .Label_DBB2 -al 00DB85 .Label_DB85 -al 00DB6B .Label_DB6B -al 00DB6A .Label_DB6A -al 00DB5D .Label_DB5D -al 00DB42 .Label_DB42 -al 00DB34 .Label_DB34 -al 00DB2D .Label_DB2D -al 00DB29 .Label_DB29 -al 00DB27 .Label_DB27 -al 00DB15 .Label_DB15 -al 00DB12 .Label_DB12 -al 00DAF3 .Label_DAF3 -al 00DADF .Label_DADF -al 00DADE .Label_DADE -al 00DAC9 .Label_DAC9 -al 00DAC2 .Label_DAC2 -al 00DABF .Label_DABF -al 00DAA0 .Label_DAA0 -al 00DA90 .Label_DA90 -al 00DA8D .Label_DA8D -al 00DA6C .Label_DA6C -al 00DA66 .Label_DA66 -al 00DA65 .Label_DA65 -al 00DA5E .Label_DA5E -al 00DA58 .Label_DA58 -al 00DA52 .Label_DA52 -al 00DA5B .Label_DA5B -al 00DA41 .Label_DA41 -al 00DA3B .Label_DA3B -al 00DA2A .Label_DA2A -al 00DA17 .Label_DA17 -al 00DA14 .Label_DA14 -al 00DA0C .Label_DA0C -al 00DA05 .Label_DA05 -al 00DA03 .Label_DA03 -al 00D9FE .Label_D9FE -al 00D9D2 .Label_D9D2 -al 00D9DB .Label_D9DB -al 00D9B5 .Label_D9B5 -al 00D9B3 .Label_D9B3 -al 00D9AF .Label_D9AF -al 00D9B7 .Label_D9B7 -al 00D9A7 .Label_D9A7 -al 00D995 .Label_D995 -al 00D98F .Label_D98F -al 00D992 .Label_D992 -al 00D980 .Label_D980 -al 00D979 .Label_D979 -al 00D971 .Label_D971 -al 00D96C .Label_D96C -al 00D95B .Label_D95B -al 00D952 .Label_D952 -al 00D94C .Label_D94C -al 00D91B .Label_D91B -al 00D908 .Label_D908 -al 00D906 .Label_D906 -al 00D8EE .Label_D8EE -al 00D916 .Label_D916 -al 00D915 .Label_D915 -al 00D922 .Label_D922 -al 00D8BF .Label_D8BF -al 00D8C4 .Label_D8C4 -al 00D89E .Label_D89E -al 00D8A3 .Label_D8A3 -al 00D879 .Label_D879 -al 00D8C5 .Label_D8C5 -al 00D87A .Label_D87A -al 00D8A4 .Label_D8A4 -al 00D84D .Label_D84D -al 00D84C .Label_D84C -al 00D82F .Label_D82F -al 00D828 .Label_D828 -al 00D814 .Label_D814 -al 00D7FA .Label_D7FA -al 00D7F6 .Label_D7F6 -al 00D7F0 .Label_D7F0 -al 00D7DB .Label_D7DB -al 00D7D3 .Label_D7D3 -al 00D7D1 .Label_D7D1 -al 00D7AB .Label_D7AB -al 00D7A6 .Label_D7A6 -al 00D79D .Label_D79D -al 00D77F .Label_D77F -al 00D779 .Label_D779 -al 00D777 .Label_D777 -al 00D762 .Label_D762 -al 00D75C .Label_D75C -al 00D752 .Label_D752 -al 00D74C .Label_D74C -al 00D731 .Label_D731 -al 00D728 .Label_D728 -al 00D725 .Label_D725 -al 00D71B .Label_D71B -al 00D70A .Label_D70A -al 00D72E .Label_D72E -al 00D6D0 .Label_D6D0 -al 00D6D2 .Label_D6D2 -al 00D6CC .Label_D6CC -al 00D6BA .Label_D6BA -al 00D6B4 .Label_D6B4 -al 00D6A3 .Label_D6A3 -al 00D6A7 .Label_D6A7 -al 00D69F .Label_D69F -al 00D680 .Label_D680 -al 00D674 .Label_D674 -al 00D65F .Label_D65F -al 00D65C .Label_D65C -al 00D653 .Label_D653 -al 00D63C .Label_D63C -al 00D62A .Label_D62A -al 00D615 .Label_D615 -al 00D5F8 .Label_D5F8 -al 00D5D9 .Label_D5D9 -al 00D59A .Label_D59A -al 00D58E .Label_D58E -al 00D587 .Label_D587 -al 00D5E3 .Label_D5E3 -al 00D5AC .Label_D5AC -al 00D562 .Label_D562 -al 00D55E .Label_D55E -al 00D55A .Label_D55A -al 00D564 .Label_D564 -al 00D556 .Label_D556 -al 00D52C .Label_D52C -al 00D54E .Label_D54E -al 00D51A .Label_D51A -al 00D517 .Label_D517 -al 00D511 .Label_D511 -al 00D4F9 .Label_D4F9 -al 00D4FA .Label_D4FA -al 00D4F4 .Label_D4F4 -al 00D4E0 .Label_D4E0 -al 00D495 .Label_D495 -al 00D496 .Label_D496 -al 00D48A .Label_D48A -al 00D466 .Label_D466 -al 00D45A .Label_D45A -al 00D459 .Label_D459 -al 00D44A .Label_D44A -al 00D43E .Label_D43E -al 00D438 .Label_D438 -al 00D3F3 .Label_D3F3 -al 00D42A .Label_D42A -al 00D420 .Label_D420 -al 00D3F9 .Label_D3F9 -al 00D3C1 .Label_D3C1 -al 00D3AE .Label_D3AE -al 00D3AC .Label_D3AC -al 00D3A2 .Label_D3A2 -al 00D39F .Label_D39F -al 00D38D .Label_D38D -al 00D35E .Label_D35E -al 00D356 .Label_D356 -al 00D34F .Label_D34F -al 00D34C .Label_D34C -al 00D34A .Label_D34A -al 00D333 .Label_D333 -al 00D31C .Label_D31C -al 00D311 .Label_D311 -al 00D2EF .Label_D2EF -al 00D2F7 .Label_D2F7 -al 00D312 .Label_D312 -al 00D2BC .Label_D2BC -al 00D2B5 .Label_D2B5 -al 00D292 .Label_D292 -al 00D273 .Label_D273 -al 00D268 .Label_D268 -al 00D242 .Label_D242 -al 00D23F .Label_D23F -al 00D231 .Label_D231 -al 00D22C .Label_D22C -al 00D20E .Label_D20E -al 00D1F6 .Label_D1F6 -al 00D201 .Label_D201 -al 00D22F .Label_D22F -al 00D1AB .Label_D1AB -al 00D1A8 .Label_D1A8 -al 00D189 .Label_D189 -al 00D1B8 .Label_D1B8 -al 00D17A .Label_D17A -al 00D175 .UpdateSpritePosition26 -al 00D164 .Label_D164 -al 00D158 .Label_D158 -al 00D153 .Label_D153 -al 00D151 .Label_D151 -al 00D156 .Label_D156 -al 00D13F .Label_D13F -al 00D13C .Label_D13C -al 00D139 .Label_D139 -al 00D128 .Label_D128 -al 00D125 .Label_D125 -al 00D123 .Label_D123 -al 00D117 .Label_D117 -al 00D114 .Label_D114 -al 00D10B .Label_D10B -al 00D102 .Label_D102 -al 00D0FC .Label_D0FC -al 00D0E1 .Label_D0E1 -al 00D0CA .Label_D0CA -al 00D0C5 .Label_D0C5 -al 00D0C9 .Label_D0C9 -al 00D0B4 .Label_D0B4 -al 00D0AF .Label_D0AF -al 00D0AC .Label_D0AC -al 00D093 .Label_D093 -al 00D090 .Label_D090 -al 00D07B .Label_D07B -al 00D06C .Label_D06C -al 00D056 .Label_D056 -al 00D053 .Label_D053 -al 00D03D .Label_D03D -al 00D037 .Label_D037 -al 00D02D .Label_D02D -al 00D01B .Label_D01B -al 00CFFE .Label_CFFE -al 00CFFC .Label_CFFC -al 00D00B .Label_D00B -al 00D03C .Label_D03C -al 00CFE2 .Label_CFE2 -al 00CFD8 .Label_CFD8 -al 00CFDA .Label_CFDA -al 00CFD5 .Label_CFD5 -al 00CFD1 .Label_CFD1 -al 00CFC3 .Label_CFC3 -al 00CFBB .Label_CFBB -al 00CFB5 .Label_CFB5 -al 00CFA4 .Label_CFA4 -al 00CF97 .Label_CF97 -al 00CF8A .Label_CF8A -al 00CF80 .Label_CF80 -al 00CF71 .Label_CF71 -al 00CF6F .Label_CF6F -al 00CF65 .Label_CF65 -al 00CF62 .Label_CF62 -al 00CF46 .Label_CF46 -al 00CF3A .Label_CF3A -al 00CF34 .Label_CF34 -al 00CF37 .Label_CF37 -al 00CF21 .Label_CF21 -al 00CF12 .Label_CF12 -al 00CF06 .Label_CF06 -al 00CF0D .Label_CF0D -al 00CEF8 .Label_CEF8 -al 00CEF1 .Label_CEF1 -al 00CEDA .Label_CEDA -al 00CED3 .Label_CED3 -al 00CEBC .Label_CEBC -al 00CEAC .Label_CEAC -al 00CEA0 .Label_CEA0 -al 00CEBB .Label_CEBB -al 00CE9D .Label_CE9D -al 00CE85 .Label_CE85 -al 00CE80 .Label_CE80 -al 00CE7F .Label_CE7F -al 00CE5D .Label_CE5D -al 00CE4A .Label_CE4A -al 00CE3D .Label_CE3D -al 00CE3C .Label_CE3C -al 00CE38 .Label_CE38 -al 00CE1E .Label_CE1E -al 00CE10 .Label_CE10 -al 00CE19 .Label_CE19 -al 00CE14 .Label_CE14 -al 00CE11 .Label_CE11 -al 00CDE7 .Label_CDE7 -al 00CDD8 .Label_CDD8 -al 00CDF9 .Label_CDF9 -al 00CDD0 .Label_CDD0 -al 00CDC6 .Label_CDC6 -al 00CDC1 .Label_CDC1 -al 00CDB7 .Label_CDB7 -al 00CDA5 .Label_CDA5 -al 00CDA3 .Label_CDA3 -al 00CDBA .Label_CDBA -al 00CDAA .Label_CDAA -al 00CD99 .Label_CD99 -al 00CDBD .Label_CDBD -al 00CD75 .Label_CD75 -al 00CDBE .Label_CDBE -al 00CD56 .Label_CD56 -al 00CD4F .Label_CD4F -al 00CD63 .Label_CD63 -al 00CD46 .Label_CD46 -al 00CD31 .Label_CD31 -al 00CD25 .Label_CD25 -al 00CD1B .Label_CD1B -al 00CD09 .Label_CD09 -al 00CCF9 .Label_CCF9 -al 00CCE2 .Label_CCE2 -al 00CCD9 .Label_CCD9 -al 00CCD6 .UpdateGameState12 -al 00CCC7 .Label_CCC7 -al 00CCC6 .Label_CCC6 -al 00CCC3 .Label_CCC3 -al 00CCBD .Label_CCBD -al 00CCB7 .UpdateGameState10 -al 00CC9E .Label_CC9E -al 00CC94 .Label_CC94 -al 00CC8C .Label_CC8C -al 00CC80 .Label_CC80 -al 00CC75 .Label_CC75 -al 00CC68 .Label_CC68 -al 00CC5C .UpdateGameState8 -al 00CC47 .InitGame_3 -al 00CC3E .UpdateGameState6 -al 00CC23 .Label_CC23 -al 00CC42 .UpdateGameState7 -al 00CC2C .Label_CC2C -al 00CC26 .Label_CC26 -al 00CC10 .Label_CC10 -al 00CC02 .Label_CC02 -al 00CBDE .Label_CBDE -al 00CBD7 .UpdatePlayerPosition_3 -al 00CBCA .Label_CBCA -al 00CBCE .Label_CBCE -al 00CBCC .UpdateGameState5 -al 00CBC3 .Label_CBC3 -al 00CB9F .Label_CB9F -al 00CB94 .UpdateGameState4_3 -al 00CB89 .CheckAnswer4 -al 00CB73 .UpdatePlayerScore -al 00CB60 .Label_CB60 -al 00CB44 .UpdateGameState3_3 -al 00CB6D .Label_CB6D -al 00CB3E .Label_CB3E -al 00CB26 .CheckAnswer3_3 -al 00CB21 .Label_CB21 -al 00CB17 .UpdateGameState2_3 -al 00CB11 .Label_CB11 -al 00CB09 .Label_CB09 -al 00CB14 .Label_CB14 -al 00CAF7 .UpdateScore3 -al 00CAEE .Label_CAEE -al 00CAD3 .Label_CAD3 -al 00CAC6 .Label_CAC6 -al 00CABA .Label_CABA -al 00CAC7 .Label_CAC7 -al 00CA99 .UpdateScore2_1 -al 00CA98 .Label_CA98 -al 00CA86 .UpdateScore_3 -al 00CA7D .CheckAnswer3_1 -al 00CA7B .Label_CA7B -al 00CA85 .Label_CA85 -al 00CA6D .Label_CA6D -al 00CA58 .Label_CA58 -al 00CA59 .Label_CA59 -al 00CA5A .Label_CA5A -al 00CA5B .Label_CA5B -al 00CA43 .CheckAnswer2 -al 00CA41 .Label_CA41 -al 00CA37 .CheckAnswer -al 00CA36 .Label_CA36 -al 00CA10 .Label_CA10 -al 00CA0B .Label_CA0B -al 00C9F8 .Label_C9F8 -al 00C9D9 .Label_C9D9 -al 00C9EB .Label_C9EB -al 00C9EC .Label_C9EC -al 00CA04 .Label_CA04 -al 00C9A8 .Label_C9A8 -al 00CA01 .Label_CA01 -al 00C995 .Label_C995 -al 00C95A .Label_C95A -al 00C963 .Label_C963 -al 00C976 .Label_C976 -al 00C97F .Label_C97F -al 00C992 .Label_C992 -al 00C98C .Label_C98C -al 00C931 .Label_C931 -al 00C98F .Label_C98F -al 00C926 .Label_C926 -al 00C911 .CheckButtonPress -al 00C8E2 .CheckGameState2 -al 00C8E1 .Label_C8E1 -al 00C8BB .UpdateGameState2_1 -al 00C8B5 .Label_C8B5 -al 00C8C7 .Label_C8C7 -al 00C8A3 .Label_C8A3 -al 00C8B8 .Label_C8B8 -al 00C8D8 .Label_C8D8 -al 00C888 .Label_C888 -al 00C889 .Label_C889 -al 00C8DB .UpdateGameState3_1 -al 00C87B .Label_C87B -al 00C872 .Label_C872 -al 00C866 .CheckController -al 00C85C .Label_C85C -al 00C83F .UpdateSpritePosition -al 00C861 .Label_C861 -al 00C833 .Label_C833 -al 00C814 .UpdatePlayerPosition_1 -al 00C80F .Label_C80F -al 00C7F3 .CheckLevelComplete2 -al 00C7F1 .CheckLevelComplete -al 00C7DC .Label_C7DC -al 00C7CF .Label_C7CF -al 00C7C3 .UpdateGameState -al 00C7B5 .Label_C7B5 -al 00C79B .InitLevel2 -al 00C797 .InitLevel -al 00C794 .Label_C794 -al 00C72D .Label_C72D -al 00C729 .InitSprites_3 -al 00C723 .UpdatePPUMask -al 00C71F .UpdateSprites2_4 -al 00C707 .UpdateSprites2_3 -al 00C6F9 .InitSpriteData -al 00C6EC .ClearZeropage_3 -al 00C6DD .Label_C6DD -al 00C6E1 .Label_C6E1 -al 00C6D7 .UpdateSprites4 -al 00C6E2 .Label_C6E2 -al 00C6C8 .Label_C6C8 -al 00C6B7 .Label_C6B7 -al 00C6A8 .Label_C6A8 -al 00C6AA .Label_C6AA -al 00C6CE .Label_C6CE -al 00C6C9 .Label_C6C9 -al 00C6B8 .Label_C6B8 -al 00C6AB .Label_C6AB -al 00C67E .Label_C67E -al 00C66B .Label_C66B -al 00C689 .Label_C689 -al 00C67F .Label_C67F -al 00C656 .UpdateSprites3_1 -al 00C64C .Label_C64C -al 00C634 .Label_C634 -al 00C632 .Label_C632 -al 00C609 .UpdateSprites2_1 -al 00C5EB .Label_C5EB -al 00C5D7 .Label_C5D7 -al 00C5E3 .Label_C5E3 -al 00C5C2 .Label_C5C2 -al 00C5E4 .UpdateSprites -al 00C5C3 .Label_C5C3 -al 00C5A3 .Label_C5A3 -al 00C574 .Label_C574 -al 00C561 .Label_C561 -al 00C559 .Label_C559 -al 00C553 .InitPPU_3 -al 00C541 .InitAPU -al 00C507 .Label_C507 -al 00C52F .Label_C52F -al 00C53E .Label_C53E -al 00C535 .Label_C535 -al 00C4DE .Label_C4DE -al 00C4A9 .NmiHandler -al 00C495 .ClearSpriteRAM -al 00C48C .InitSprites_1 -al 00C47B .InitPPU_1 -al 00C475 .MainGameLoop -al 00C460 .Label_C460 -al 00C439 .ClearZeropage_1 -al 00C428 .WaitVBlank_1 -al 00C41E .Reset diff --git a/_wip/Duck Hunt (JUE)/OVERVIEW.md b/_wip/Duck Hunt (JUE)/OVERVIEW.md deleted file mode 100644 index 2e2f034..0000000 --- a/_wip/Duck Hunt (JUE)/OVERVIEW.md +++ /dev/null @@ -1,80 +0,0 @@ -# Duck Hunt (JUE) — Pass 1 Disassembly (Pass 2 partial) - -ROM: `_wip/Duck Hunt (JUE)/Duck Hunt (JUE).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 37.5% code; Pass 2 partial.** `copilot/prg.s` is a real disassembly, not a skeleton: 3,058 instructions (6,152 bytes as code), **472 label definitions of which only 31 carry semantic names** — 441 are still address-based `Label_`. `locals.inc` holds **174 neutral `ZpXX` slots and no semantic zero-page aliases**. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). - -This header said "Pass 2 complete" from `1b06820` (2026-10-18) until the 2026-10-19 correction; that claim counted the draft map's rows, not names actually present in `prg.s`. See "Pass 2 Status and Map Audit" below. - - -## 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 | `ca0d31e6f3aa70204fa5af67803c6533851a28fa48a133e15d772d3667fa675a` | -| PRG SHA-256 | `bcdd22fbe343ebd33c7fd19309510079150d1e4dc052f65382b64d197d6ba080` | - -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) - -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C086` | per-frame heartbeat | -| RESET | `$C000` | cold start at $C000 — the usual pattern in this repo | -| IRQ | `$C000` | redirects to RESET — unused placeholder | - -## `copilot/` Contents - -| File | Purpose | -|------|---------| -| `Duck Hunt (JUE).nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass 1: classified code/data split, 3,058 instructions, 31 semantic + 441 address-based `Label_` definitions, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | 174 neutral `ZpXX` zero-page slots (Pass 2 naming outstanding) | -| `duckhunt_label_map.tsv` / `duckhunt_full_map.tsv` | Pass 2 draft maps — **stale and multi-candidate**, 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` | -| `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/Duck Hunt (JUE)/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" -``` - -## Pass Status - -| Pass | Status | -|------|--------| -| Pass 1 | **Complete** — 3,058 instructions, 6,152 bytes as code (37.5%), 10,232 bytes as data, byte accounting exact (16,384) | -| Pass 2 | **Partial** — 31 of 472 label definitions named (7%); 174 zero-page slots still neutral `ZpXX`; the drafted map is stale and multi-candidate | -| Pass 3 | Outstanding — data tables/structures unnamed | -| 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: - -- **"48 semantic labels"** was the number of *distinct old names* in the map (`duckhunt_full_map.tsv` has 272 `label` rows covering only 48 distinct `Label_` names). `prg.s` actually names **31** definitions; the other 441 are still `Label_`. -- **"174 zero-page semantic aliases"** was the count of **neutral** `ZpXX` entries in `locals.inc`. There are **zero** semantic zero-page aliases. -- Several listed "key renamed routines" (`InitPPU`, `MainGameLoop`, `GameModeCheck`, `TitleScreenMode`, `UpdateSprites`, `InitSound`) do not exist in the file under those names. - -Draft-map audit (`duckhunt_full_map.tsv`, 272 label rows): - -| Outcome | Rows | Meaning | -|---|---|---| -| already applied | 31 | the proposed name already sits at that address | -| name conflict | 210 | a **different** candidate name already sits there — the map is a ranked *candidate* list (one `Label_C2BF` carries 205 competing names) | -| stale address | 2 | the address is not an instruction boundary in the current `prg.s` | -| unlabelled, unreferenced | 29 | an instruction boundary with no label and no operand referencing it | -| **safely applicable** | **0** | no row is both insertable and corroborated by control flow | - -One row in the file is malformed (`label_Label_C2BF`, missing tab). The map is therefore kept only as provenance. Completing Pass 2 needs a fresh map derived from the committed split (routine entries plus `_Block[_n]` internal branch targets, as done for `Donkey Kong (JU)`). - -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. diff --git a/_wip/Duck Hunt (JUE)/copilot/Makefile b/_wip/Duck Hunt (JUE)/copilot/Makefile deleted file mode 100644 index 3f9ba6f..0000000 --- a/_wip/Duck Hunt (JUE)/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/Duck Hunt (JUE)/copilot/linker.cfg b/_wip/Duck Hunt (JUE)/copilot/linker.cfg deleted file mode 100644 index d9d421d..0000000 --- a/_wip/Duck Hunt (JUE)/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/Duck Hunt (JUE)/copilot/reconstructed.lbl b/_wip/Duck Hunt (JUE)/copilot/reconstructed.lbl deleted file mode 100644 index 0fc0e81..0000000 --- a/_wip/Duck Hunt (JUE)/copilot/reconstructed.lbl +++ /dev/null @@ -1,472 +0,0 @@ -al 00F836 .Label_F836 -al 00F7FA .Label_F7FA -al 00F840 .Label_F840 -al 00F81B .Label_F81B -al 00F815 .Label_F815 -al 00F80F .Label_F80F -al 00F809 .Label_F809 -al 00F803 .Label_F803 -al 00F7FD .Label_F7FD -al 00F7CC .Label_F7CC -al 00F7C6 .Label_F7C6 -al 00F826 .Label_F826 -al 00F7C0 .Label_F7C0 -al 00F82F .Label_F82F -al 00F7BA .Label_F7BA -al 00F7A8 .Label_F7A8 -al 00F79C .Label_F79C -al 00F791 .Label_F791 -al 00F730 .Label_F730 -al 00F6FE .Label_F6FE -al 00F703 .Label_F703 -al 00F6E8 .Label_F6E8 -al 00F6CF .Label_F6CF -al 00F6B4 .Label_F6B4 -al 00F6B3 .Label_F6B3 -al 00F6A2 .Label_F6A2 -al 00F68C .Label_F68C -al 00F688 .Label_F688 -al 00F675 .Label_F675 -al 00F654 .Label_F654 -al 00F655 .Label_F655 -al 00F639 .Label_F639 -al 00F641 .Label_F641 -al 00F669 .Label_F669 -al 00F621 .Label_F621 -al 00F5FB .Label_F5FB -al 00F5DB .Label_F5DB -al 00F5DA .Label_F5DA -al 00F5BF .Label_F5BF -al 00F5A8 .Label_F5A8 -al 00F59A .Label_F59A -al 00F5A2 .Label_F5A2 -al 00F591 .Label_F591 -al 00F581 .Label_F581 -al 00F58A .Label_F58A -al 00F56C .Label_F56C -al 00F564 .Label_F564 -al 00F563 .Label_F563 -al 00F552 .Label_F552 -al 00F544 .Label_F544 -al 00F541 .Label_F541 -al 00F536 .Label_F536 -al 00F52A .Label_F52A -al 00F51C .Label_F51C -al 00F501 .Label_F501 -al 00F4D1 .Label_F4D1 -al 00F477 .Label_F477 -al 00F475 .Label_F475 -al 00F46C .Label_F46C -al 00F47E .Label_F47E -al 00F443 .Label_F443 -al 00F451 .Label_F451 -al 00F40F .Label_F40F -al 00F3D0 .Label_F3D0 -al 00F383 .Label_F383 -al 00F378 .Label_F378 -al 00F36A .Label_F36A -al 00F366 .Label_F366 -al 00F362 .Label_F362 -al 00F36C .Label_F36C -al 00F35E .Label_F35E -al 00DAC2 .Label_DAC2 -al 00DAC0 .Label_DAC0 -al 00DAB5 .Label_DAB5 -al 00D9F6 .Label_D9F6 -al 00D9F5 .Label_D9F5 -al 00D9AB .Label_D9AB -al 00D993 .Label_D993 -al 00D991 .Label_D991 -al 00D9D5 .Label_D9D5 -al 00D9CE .Label_D9CE -al 00D9E2 .Label_D9E2 -al 00D970 .Label_D970 -al 00D95B .Label_D95B -al 00D959 .Label_D959 -al 00D9C7 .Label_D9C7 -al 00D9BA .Label_D9BA -al 00D9B3 .Label_D9B3 -al 00D977 .Label_D977 -al 00D93A .Label_D93A -al 00D937 .Label_D937 -al 00D921 .Label_D921 -al 00D91B .Label_D91B -al 00D907 .Label_D907 -al 00D8FA .Label_D8FA -al 00D8E9 .Label_D8E9 -al 00D8DB .Label_D8DB -al 00D8CC .Label_D8CC -al 00D8BB .Label_D8BB -al 00D8B0 .Label_D8B0 -al 00D8AE .Label_D8AE -al 00D82F .Label_D82F -al 00D82B .Label_D82B -al 00D81B .Label_D81B -al 00D81A .Label_D81A -al 00D805 .Label_D805 -al 00D7F9 .Label_D7F9 -al 00D7E0 .Label_D7E0 -al 00D7DC .Label_D7DC -al 00D7D4 .Label_D7D4 -al 00D7CE .Label_D7CE -al 00D7C5 .Label_D7C5 -al 00D7BE .Label_D7BE -al 00D7B5 .Label_D7B5 -al 00D7A7 .Label_D7A7 -al 00D78F .Label_D78F -al 00D73E .Label_D73E -al 00D74D .Label_D74D -al 00D700 .Label_D700 -al 00D6FD .Label_D6FD -al 00D6EE .Label_D6EE -al 00D6EC .Label_D6EC -al 00D6E0 .Label_D6E0 -al 00D6D5 .Label_D6D5 -al 00D697 .Label_D697 -al 00D6D4 .Label_D6D4 -al 00D678 .Label_D678 -al 00D652 .Label_D652 -al 00D646 .Label_D646 -al 00D640 .Label_D640 -al 00D651 .Label_D651 -al 00D627 .Label_D627 -al 00D64B .Label_D64B -al 00D612 .Label_D612 -al 00D600 .Label_D600 -al 00D5EE .Label_D5EE -al 00D5D2 .Label_D5D2 -al 00D54B .Label_D54B -al 00D53C .Label_D53C -al 00D52C .Label_D52C -al 00D546 .Label_D546 -al 00D528 .Label_D528 -al 00D521 .Label_D521 -al 00D515 .Label_D515 -al 00D509 .Label_D509 -al 00D523 .Label_D523 -al 00D505 .Label_D505 -al 00D4FE .Label_D4FE -al 00D4F6 .Label_D4F6 -al 00D4EE .Label_D4EE -al 00D4EA .Label_D4EA -al 00D4E6 .Label_D4E6 -al 00D500 .Label_D500 -al 00D4E2 .Label_D4E2 -al 00D4D4 .Label_D4D4 -al 00D4C0 .Label_D4C0 -al 00D4CF .Label_D4CF -al 00D4A1 .Label_D4A1 -al 00D4AB .Label_D4AB -al 00D485 .Label_D485 -al 00D4BC .Label_D4BC -al 00D46C .Label_D46C -al 00D464 .Label_D464 -al 00D44C .Label_D44C -al 00D446 .Label_D446 -al 00D461 .Label_D461 -al 00D428 .Label_D428 -al 00D413 .Label_D413 -al 00D40B .Label_D40B -al 00D409 .Label_D409 -al 00D3FB .Label_D3FB -al 00D3DF .Label_D3DF -al 00D427 .Label_D427 -al 00D3D2 .Label_D3D2 -al 00D292 .Label_D292 -al 00D28A .Label_D28A -al 00D26A .Label_D26A -al 00D268 .Label_D268 -al 00D266 .Label_D266 -al 00D259 .Label_D259 -al 00D256 .Label_D256 -al 00D235 .Label_D235 -al 00D246 .Label_D246 -al 00D270 .Label_D270 -al 00D222 .Label_D222 -al 00D207 .Label_D207 -al 00D1E6 .Label_D1E6 -al 00D1F4 .Label_D1F4 -al 00D1CD .Label_D1CD -al 00D1DD .Label_D1DD -al 00D1C7 .Label_D1C7 -al 00D1B5 .Label_D1B5 -al 00D1CA .Label_D1CA -al 00D19F .Label_D19F -al 00D168 .Label_D168 -al 00D164 .Label_D164 -al 00D169 .Label_D169 -al 00D160 .Label_D160 -al 00D153 .Label_D153 -al 00D140 .Label_D140 -al 00D13C .Label_D13C -al 00D141 .Label_D141 -al 00D131 .Label_D131 -al 00D12B .Label_D12B -al 00D12A .Label_D12A -al 00D123 .Label_D123 -al 00D117 .Label_D117 -al 00D114 .Label_D114 -al 00D10E .Label_D10E -al 00D0FE .Label_D0FE -al 00D0E9 .Label_D0E9 -al 00D0B9 .Label_D0B9 -al 00D0A0 .Label_D0A0 -al 00D08F .Label_D08F -al 00D08E .Label_D08E -al 00D08C .Label_D08C -al 00D06D .Label_D06D -al 00D04F .Label_D04F -al 00D044 .Label_D044 -al 00D042 .Label_D042 -al 00D050 .Label_D050 -al 00D038 .Label_D038 -al 00D01B .Label_D01B -al 00D001 .Label_D001 -al 00CFF9 .Label_CFF9 -al 00CFD3 .Label_CFD3 -al 00CFF8 .Label_CFF8 -al 00CFC5 .Label_CFC5 -al 00CFBA .Label_CFBA -al 00CFB9 .Label_CFB9 -al 00CF96 .Label_CF96 -al 00CF78 .Label_CF78 -al 00CF7F .Label_CF7F -al 00CF56 .Label_CF56 -al 00CF39 .Label_CF39 -al 00CF36 .Label_CF36 -al 00CF33 .Label_CF33 -al 00CF2A .Label_CF2A -al 00CF16 .Label_CF16 -al 00CF0B .Label_CF0B -al 00CEE1 .Label_CEE1 -al 00CEC9 .Label_CEC9 -al 00CEC4 .Label_CEC4 -al 00CEB5 .Label_CEB5 -al 00CEA8 .Label_CEA8 -al 00CE9C .Label_CE9C -al 00CED4 .Label_CED4 -al 00CE8C .Label_CE8C -al 00CEAD .Label_CEAD -al 00CEE6 .Label_CEE6 -al 00CE72 .Label_CE72 -al 00CE56 .Label_CE56 -al 00CE4D .Label_CE4D -al 00CE2E .Label_CE2E -al 00CE20 .Label_CE20 -al 00CE29 .Label_CE29 -al 00CE18 .Label_CE18 -al 00CD44 .Label_CD44 -al 00CD3C .Label_CD3C -al 00CD05 .Label_CD05 -al 00CCFD .Label_CCFD -al 00CCA9 .Label_CCA9 -al 00CCA8 .Label_CCA8 -al 00CC94 .Label_CC94 -al 00CC8B .Label_CC8B -al 00CC4C .Label_CC4C -al 00CC3D .Label_CC3D -al 00CC16 .Label_CC16 -al 00CC14 .Label_CC14 -al 00CBFB .Label_CBFB -al 00CBF9 .Label_CBF9 -al 00CBE6 .Label_CBE6 -al 00CBD9 .Label_CBD9 -al 00CBD7 .Label_CBD7 -al 00CBD1 .Label_CBD1 -al 00CBC6 .Label_CBC6 -al 00CBC0 .Label_CBC0 -al 00CBA8 .Label_CBA8 -al 00CBB0 .Label_CBB0 -al 00CBBC .Label_CBBC -al 00CBA2 .Label_CBA2 -al 00CB77 .Label_CB77 -al 00CB70 .Label_CB70 -al 00CBC3 .Label_CBC3 -al 00CB59 .Label_CB59 -al 00CB56 .Label_CB56 -al 00CB52 .Label_CB52 -al 00CB37 .Label_CB37 -al 00CB29 .Label_CB29 -al 00CB50 .Label_CB50 -al 00CB45 .Label_CB45 -al 00CB4B .Label_CB4B -al 00CB1B .Label_CB1B -al 00CB06 .Label_CB06 -al 00CAED .Label_CAED -al 00CADB .Label_CADB -al 00CACA .Label_CACA -al 00CABF .Label_CABF -al 00CAA5 .Label_CAA5 -al 00CAE9 .Label_CAE9 -al 00CAE3 .Label_CAE3 -al 00CAD7 .Label_CAD7 -al 00CAD1 .Label_CAD1 -al 00CA8D .Label_CA8D -al 00CAA8 .Label_CAA8 -al 00CA8A .Label_CA8A -al 00CA5F .Label_CA5F -al 00CA66 .Label_CA66 -al 00CA70 .Label_CA70 -al 00CA53 .Label_CA53 -al 00CA42 .Label_CA42 -al 00CA45 .Label_CA45 -al 00CA3E .Label_CA3E -al 00CA29 .Label_CA29 -al 00CA22 .Label_CA22 -al 00CA19 .Label_CA19 -al 00CA0A .Label_CA0A -al 00CA08 .Label_CA08 -al 00CA0E .Label_CA0E -al 00C9E2 .Label_C9E2 -al 00C9D0 .Label_C9D0 -al 00C9C9 .Label_C9C9 -al 00C9B2 .Label_C9B2 -al 00C9B9 .Label_C9B9 -al 00C996 .Label_C996 -al 00C992 .Label_C992 -al 00C980 .Label_C980 -al 00C955 .Label_C955 -al 00C958 .Label_C958 -al 00C946 .Label_C946 -al 00C932 .Label_C932 -al 00C931 .Label_C931 -al 00C902 .Label_C902 -al 00C8E5 .Label_C8E5 -al 00C8FB .Label_C8FB -al 00C8C4 .Label_C8C4 -al 00C901 .Label_C901 -al 00C8B4 .Label_C8B4 -al 00C8A2 .Label_C8A2 -al 00C890 .Label_C890 -al 00C86E .Label_C86E -al 00C839 .Label_C839 -al 00C818 .Label_C818 -al 00C81C .Label_C81C -al 00C7FB .Label_C7FB -al 00C71D .Label_C71D -al 00C70C .Label_C70C -al 00C70A .Label_C70A -al 00C701 .Label_C701 -al 00C6F5 .Label_C6F5 -al 00C6E2 .Label_C6E2 -al 00C6DA .Label_C6DA -al 00C6D6 .Label_C6D6 -al 00C6C4 .Label_C6C4 -al 00C69E .Label_C69E -al 00C694 .Label_C694 -al 00C695 .Label_C695 -al 00C68E .Label_C68E -al 00C67C .Label_C67C -al 00C659 .Label_C659 -al 00C655 .Label_C655 -al 00C64F .Label_C64F -al 00C64B .Label_C64B -al 00C645 .Label_C645 -al 00C641 .Label_C641 -al 00C62E .Label_C62E -al 00C62D .Label_C62D -al 00C625 .Label_C625 -al 00C61E .Label_C61E -al 00C617 .Label_C617 -al 00C60B .Label_C60B -al 00C607 .Label_C607 -al 00C5FB .Label_C5FB -al 00C5F7 .Label_C5F7 -al 00C5EE .Label_C5EE -al 00C5E8 .Label_C5E8 -al 00C5E1 .Label_C5E1 -al 00C5DC .Label_C5DC -al 00C5D9 .Label_C5D9 -al 00C59A .Label_C59A -al 00C588 .Label_C588 -al 00C502 .Label_C502 -al 00C4FF .Label_C4FF -al 00C4F3 .Label_C4F3 -al 00C4E0 .Label_C4E0 -al 00C4D7 .Label_C4D7 -al 00C4DB .Label_C4DB -al 00C4CA .Label_C4CA -al 00C4BF .Label_C4BF -al 00C4BE .Label_C4BE -al 00C4A2 .Label_C4A2 -al 00C49C .Label_C49C -al 00C447 .Label_C447 -al 00C46E .Label_C46E -al 00C46A .Label_C46A -al 00C437 .Label_C437 -al 00C436 .Label_C436 -al 00C426 .Label_C426 -al 00C3FC .Label_C3FC -al 00C3E5 .Label_C3E5 -al 00C3CE .Label_C3CE -al 00C3C1 .Label_C3C1 -al 00C3B8 .Label_C3B8 -al 00C3A4 .Label_C3A4 -al 00C3A1 .Label_C3A1 -al 00C39E .Label_C39E -al 00C392 .Label_C392 -al 00C37C .Label_C37C -al 00C35E .Label_C35E -al 00C35A .Label_C35A -al 00C354 .Label_C354 -al 00C348 .Label_C348 -al 00C341 .Label_C341 -al 00C328 .Label_C328 -al 00C312 .Label_C312 -al 00C303 .Label_C303 -al 00C2EA .Label_C2EA -al 00C2DB .Label_C2DB -al 00C2F4 .Label_C2F4 -al 00C302 .Label_C302 -al 00C2BF .UpdateController4_206 -al 00C2B9 .UpdateController3 -al 00C2BE .Label_C2BE -al 00C2B6 .Label_C2B6 -al 00C293 .Label_C293 -al 00C291 .UpdateController2 -al 00C284 .UpdateController -al 00C277 .Label_C277 -al 00C283 .Label_C283 -al 00C263 .UpdateSprites3 -al 00C25B .Label_C25B -al 00C262 .Label_C262 -al 00C249 .UpdateSprites2_3 -al 00C23F .Label_C23F -al 00C23B .Label_C23B -al 00C232 .UpdateSprites2_1 -al 00C22B .UpdateSprites_4 -al 00C222 .Label_C222 -al 00C20B .Label_C20B -al 00C1EA .UpdateGameState6_1 -al 00C1C8 .Label_C1C8 -al 00C217 .UpdateGameState6_3 -al 00C1BB .Label_C1BB -al 00C1B2 .Label_C1B2 -al 00C1A3 .Label_C1A3 -al 00C1B7 .Label_C1B7 -al 00C1A9 .Label_C1A9 -al 00C190 .Label_C190 -al 00C189 .Label_C189 -al 00C199 .Label_C199 -al 00C176 .Label_C176 -al 00C18D .UpdateGameState5 -al 00C14E .UpdateGameState3_3 -al 00C112 .UpdateGameState -al 00C0E1 .InitializeDuckDataLoop -al 00C0DF .InitializeRoundData -al 00C0FF .UpdateZp09_2 -al 00C123 .UpdateGameState3_1 -al 00C11E .UpdateGameState2 -al 00C0BA .TitleScreenLoop -al 00C0B3 .GameModeDispatcher -al 00C0A6 .NmiFrameEnd -al 00C086 .NmiHandler -al 00C06E .GameplayFrame -al 00C06B .GameModeCheck_3 -al 00C061 .MainGameLoop_1 -al 00C07C .MainGameLoop_3 -al 00C056 .InitVariables -al 00C02C .InitGameState -al 00C01E .ClearZeropage -al 00C002 .WaitVBlank -al 00C000 .Reset diff --git a/_wip/Ice Climber (JE)/OVERVIEW.md b/_wip/Ice Climber (JE)/OVERVIEW.md index f8f938b..54dcee1 100644 --- a/_wip/Ice Climber (JE)/OVERVIEW.md +++ b/_wip/Ice Climber (JE)/OVERVIEW.md @@ -1,11 +1,10 @@ -# Ice Climber (JE) — Pass 1 Disassembly (Pass 2 partial) +# Ice Climber (JE) — Pass 2 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 partial.** `copilot/prg.s` is a real disassembly, not a skeleton: 6,112 instructions (12,230 bytes as code), **973 label definitions of which only 76 carry semantic names** — 897 are still address-based `Label_`. `locals.inc` holds **157 neutral `ZpXX` slots and no semantic zero-page aliases**. 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.** `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 *not* identical — this variant has had a partial Pass 2 (76 names) applied, `(U)` has not (2 names). - -This header said "Pass 2 complete" from `edabbd9` (2026-10-18) until the 2026-10-19 correction; that claim counted the draft map's rows, not names actually present in `prg.s`. See "Pass 2 Status and Map Audit" below. +**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. +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. ## ROM Facts @@ -33,9 +32,9 @@ This header said "Pass 2 complete" from `edabbd9` (2026-10-18) until the 2026-10 |------|---------| | `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: classified code/data split, 6,112 instructions, 76 semantic + 897 address-based `Label_` definitions, canonical audit comments | +| `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 | | `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | 157 neutral `ZpXX` zero-page slots (Pass 2 naming outstanding) | +| `locals.inc` | 157 zero-page slots, **9 semantic aliases** (e.g., `PtrLo/PtrHi`, `Ptr2Lo`, `VBlankTimer`, `CheckZp14`, `SprData`, `SprData2`, `FrameCounter`) | | `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` | @@ -55,17 +54,17 @@ make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" | 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 | **Partial** — 76 of 973 label definitions named (8%); 157 zero-page slots still neutral `ZpXX`; the drafted map is stale | -| Pass 3 | Outstanding — data tables/structures unnamed | +| 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 | | 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: -- **"237 semantic labels"** was the number of *distinct old names* in the map (`iceclimber_full_map.tsv` has 255 `label` rows covering 237 distinct `Label_` names). `prg.s` actually names **76** definitions; the other 897 are still `Label_`. -- **"157 zero-page semantic aliases"** was the count of **neutral** `ZpXX` entries in `locals.inc`. There are **zero** semantic zero-page aliases. -- Most of the listed "key renamed routines" (`InitSystem`, `InitPPU`, `InitGameState`, `InitSprites`, `UpdateOAM`, `CheckController`, `CheckCollision`, `WritePPU`, …) do not exist in the file. +- **"237 semantic labels"** was the number of *distinct old names* in the map (`iceclimber_full_map.tsv` has 255 `label` rows covering 237 distinct `Label_` names). `prg.s` actually named **76** definitions; the other 897 were still `Label_`. +- **"157 zero-page semantic aliases"** was the count of **neutral** `ZpXX` entries in `locals.inc`. There were **zero** semantic zero-page aliases. +- Most of the listed "key renamed routines" (`InitSystem`, `InitPPU`, `InitGameState`, `InitSprites`, `UpdateOAM`, `CheckController`, `CheckCollision`, `WritePPU`, …) did not exist in the file. - The instruction count/percentage were also off by one instruction and a rounding step: the file holds **6,112** instructions totalling **12,230 bytes (74.6%)**, not 6,113 / 74.7%. Draft-map audit (`iceclimber_full_map.tsv`, 255 label rows): @@ -78,6 +77,41 @@ Draft-map audit (`iceclimber_full_map.tsv`, 255 label rows): | unlabelled, unreferenced | 70 | an instruction boundary with no label and no operand referencing it | | **safely applicable** | **0** | no row is both insertable and corroborated by control flow | -The map is therefore kept only as provenance. Completing Pass 2 needs a fresh map derived from the committed split (routine entries plus `_Block[_n]` internal branch targets, as done for `Donkey Kong (JU)`). +The map is therefore kept only as provenance. Completing Pass 2 needed a fresh map derived from the committed split (routine entries plus `_Block[_n]` internal branch targets, as done for `Donkey Kong (JU)`). **This was done on 2026-10-19.** -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. +### Pass 2 Naming Summary (2026-10-19) + +- **76 semantic routine names** preserved from Pass 1: `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`, `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.). + +- **685 `_Block[_n]` internal branch targets** derived from control flow within each routine (e.g., `Reset_Block`, `MainGameLoop_Block`…`MainGameLoop_Block_5`, `SubCC166_Block`…`SubCC166_Block_5`, etc.). + +### Zero-Page Semantic Aliases (9, added 2026-10-19) + +| Alias | ZpXX | Address | Role | +|---|---|---|---| +| `PtrLo` | `Zp00` | $00 | general-purpose indirect pointer low byte (`sta (Zp00),y`) | +| `PtrHi` | `Zp01` | $01 | general-purpose indirect pointer high byte | +| `Ptr2Lo` | `Zp02` | $02 | secondary indirect pointer low byte | +| `VBlankTimer` | `Zp10` | $10 | vblank wait counter / frame timer | +| `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 | + +### 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**. + +## Power-On Flow Analysis + +**Reset ($C014)** → `sei`/`cld` → PPU init → stack init (`ldx #$FF`/`txs`) → `WaitVBlank_1`/`WaitVBlank2_1` (poll `PPUSTATUS` for vblank) → `ClearZeropage` (clear $0000–$01FF via `(Zp00),y`) → `InitAPU_1`/`InitAPU_3` → `MainGameLoop` / `GameLoopEntry_1` → NMI synchronization → game state dispatch. + +**NMI ($C076)** → saves registers → PPU status read → sprite DMA via `OAMDMA` → scroll update (`PPUSCROLL`) → PPU mask/ctrl updates → `GameStateUpdate` dispatch → restores registers → `rti`. + +**IRQ ($FFF0)** → `rti` immediately (unused placeholder in vector-page padding). + +**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 diff --git a/_wip/Ice Climber (JE)/copilot/locals.inc b/_wip/Ice Climber (JE)/copilot/locals.inc index 5e38667..c8e2de4 100644 --- a/_wip/Ice Climber (JE)/copilot/locals.inc +++ b/_wip/Ice Climber (JE)/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 = $FF ; 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.s b/_wip/Ice Climber (JE)/copilot/prg.s index 4c7ed0c..876b28f 100644 --- a/_wip/Ice Climber (JE)/copilot/prg.s +++ b/_wip/Ice Climber (JE)/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 $2006 ; CPU:$C0B5 PRG:00B5 8D 06 20 lda $2002 ; 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 $2000 ; 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 @@ -330,7 +331,7 @@ Label_C11A: 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 + lda ZpCheckZp14 ; CPU:$C122 PRG:0122 A5 55 bne Label_C0F3 ; CPU:$C124 PRG:0124 D0 CD ; ----------------------------------------------------------------------------- ; Routine: GameLoopEntry_4 @@ -387,7 +388,7 @@ UpdateGameState2_4: ; ----------------------------------------------------------------------------- UpdateGameState2_5: lda $2002 ; 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 $2000 ; CPU:$C14A PRG:014A 8D 00 20 rts ; CPU:$C14D PRG:014D 60 ; ----------------------------------------------------------------------------- @@ -424,9 +425,9 @@ 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 @@ -491,7 +492,7 @@ Label_C189: dex ; CPU:$C189 PRG:0189 CA 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 @@ -579,9 +580,9 @@ Label_C1D7: lda Zp57 ; CPU:$C1DA PRG:01DA A5 57 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 @@ -723,14 +724,14 @@ Label_C23F: ; ----------------------------------------------------------------------------- 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 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 @@ -777,7 +778,7 @@ Label_C279: 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 @@ -877,6 +878,7 @@ Label_C2D9: 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 @@ -905,7 +907,7 @@ Label_C38D: 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: Label_C39F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -916,9 +918,10 @@ Label_C38D: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_C39F: - stx Zp5F ; CPU:$C39F PRG:039F 86 5F + 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 @@ -955,6 +958,7 @@ CheckZp34: 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 @@ -1102,6 +1106,7 @@ Label_C508: ; 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 @@ -1139,11 +1144,11 @@ Label_C553: 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 @@ -1176,7 +1181,7 @@ Label_C579: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_C582: - sta Zp00 ; CPU:$C582 PRG:0582 85 00 + sta PtrLo ; CPU:$C582 PRG:0582 85 00 ldy #$18 ; CPU:$C584 PRG:0584 A0 18 ; ----------------------------------------------------------------------------- ; Routine: Label_C586 @@ -1190,7 +1195,7 @@ Label_C582: Label_C586: lda $03FF,x ; CPU:$C586 PRG:0586 BD FF 03 bmi Label_C592 ; CPU:$C589 PRG:0589 30 07 - lda Zp00 ; CPU:$C58B PRG:058B A5 00 + lda PtrLo ; CPU:$C58B PRG:058B A5 00 sta $03FF,x ; CPU:$C58D PRG:058D 9D FF 03 bne Label_C597 ; CPU:$C590 PRG:0590 D0 05 ; ----------------------------------------------------------------------------- @@ -1262,7 +1267,7 @@ Label_C5B0: 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 Label_C5B0 ; CPU:$C5BB PRG:05BB 10 F3 pla ; CPU:$C5BD PRG:05BD 68 @@ -1321,9 +1326,9 @@ UpdateSprites3_3: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_C5DB: - lsr Zp00 ; CPU:$C5DB PRG:05DB 46 00 - ror Zp01 ; CPU:$C5DD PRG:05DD 66 01 - ror Zp02 ; CPU:$C5DF PRG:05DF 66 02 + 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 Label_C5ED ; CPU:$C5E4 PRG:05E4 D0 07 @@ -1460,7 +1465,7 @@ Label_C626: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_C63A: - lda Zp55 ; CPU:$C63A PRG:063A A5 55 + lda ZpCheckZp14 ; CPU:$C63A PRG:063A A5 55 cmp #$01 ; CPU:$C63C PRG:063C C9 01 bne Label_C60F ; CPU:$C63E PRG:063E D0 CF lda Zp51 ; CPU:$C640 PRG:0640 A5 51 @@ -1522,6 +1527,7 @@ Label_C67F: ; 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,10 +1553,10 @@ UpdateSprites3_4: sta $2006 ; CPU:$C707 PRG:0707 8D 06 20 lda $2007 ; 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: Label_C718 @@ -1563,10 +1569,10 @@ UpdateSprites3_4: ; ----------------------------------------------------------------------------- Label_C718: lda $2007 ; 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 Label_C718 ; CPU:$C71E PRG:071E D0 F8 - inc Zp01 ; CPU:$C720 PRG:0720 E6 01 + inc PtrHi ; CPU:$C720 PRG:0720 E6 01 dex ; CPU:$C722 PRG:0722 CA bne Label_C718 ; CPU:$C723 PRG:0723 D0 F3 rts ; CPU:$C725 PRG:0725 60 @@ -1580,7 +1586,7 @@ Label_C718: ; 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,14 +1600,14 @@ 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 ($0002) ; CPU:$C73A PRG:073A 6C 02 00 ; ----------------------------------------------------------------------------- @@ -1680,7 +1686,7 @@ Label_C76F: ; 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: Label_C77B @@ -1709,7 +1715,7 @@ Label_C77B: bmi Label_C7A5 ; CPU:$C792 PRG:0792 30 11 cpx #$18 ; CPU:$C794 PRG:0794 E0 18 bcs Label_C7A5 ; CPU:$C796 PRG:0796 B0 0D - ldx Zp55 ; CPU:$C798 PRG:0798 A6 55 + ldx ZpCheckZp14 ; CPU:$C798 PRG:0798 A6 55 dex ; CPU:$C79A PRG:079A CA bne Label_C7A5 ; CPU:$C79B PRG:079B D0 08 ldx Zp09 ; CPU:$C79D PRG:079D A6 09 @@ -1796,7 +1802,7 @@ Label_C7CF: 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 @@ -1840,7 +1846,7 @@ UpdateSprites4_4: ; ----------------------------------------------------------------------------- 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: Label_C7FD @@ -1860,12 +1866,12 @@ Label_C7FD: 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 Label_C7FD ; CPU:$C80F PRG:080F D0 EC - lda Zp00 ; CPU:$C811 PRG:0811 A5 00 + lda PtrLo ; CPU:$C811 PRG:0811 A5 00 ; ----------------------------------------------------------------------------- ; Routine: Label_C813 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -1878,7 +1884,7 @@ Label_C7FD: 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 Label_C7F7 ; CPU:$C81A PRG:081A D0 DB rts ; CPU:$C81C PRG:081C 60 @@ -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 $2002 ; 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 $2000 ; CPU:$C8AD PRG:08AD 8D 00 20 - lda Zp00 ; CPU:$C8B0 PRG:08B0 A5 00 + lda PtrLo ; CPU:$C8B0 PRG:08B0 A5 00 sta $2006 ; CPU:$C8B2 PRG:08B2 8D 06 20 lda #$00 ; CPU:$C8B5 PRG:08B5 A9 00 sta $2006 ; CPU:$C8B7 PRG:08B7 8D 06 20 @@ -2081,7 +2087,7 @@ Label_C8BF: bne Label_C8BF ; CPU:$C8C3 PRG:08C3 D0 FA dex ; CPU:$C8C5 PRG:08C5 CA bne Label_C8BF ; CPU:$C8C6 PRG:08C6 D0 F7 - lda Zp00 ; CPU:$C8C8 PRG:08C8 A5 00 + 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 @@ -2113,10 +2119,10 @@ Label_C8D9: ; 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 @@ -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 @@ -2176,7 +2182,7 @@ Label_C92B: 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 + 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 @@ -2187,7 +2193,7 @@ Label_C92B: 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 + dec PtrHi ; CPU:$C946 PRG:0946 C6 01 bne Label_C92B ; CPU:$C948 PRG:0948 D0 E1 ; ----------------------------------------------------------------------------- ; Routine: Label_C94A @@ -2212,13 +2218,13 @@ Label_C94A: 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 Label_C963 ; CPU:$C960 PRG:0960 D0 01 inx ; CPU:$C962 PRG:0962 E8 @@ -2232,9 +2238,9 @@ UpdateSprites5_1: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_C963: - lda Zp00 ; CPU:$C963 PRG:0963 A5 00 + 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 @@ -2354,7 +2360,7 @@ Label_C9D6: ; ----------------------------------------------------------------------------- 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 Label_C9E2 ; CPU:$C9DE PRG:09DE 90 02 adc #$05 ; CPU:$C9E0 PRG:09E0 69 05 @@ -2369,11 +2375,11 @@ UpdateSprites6: ; ----------------------------------------------------------------------------- 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 + adc Ptr2Lo ; CPU:$C9EB PRG:09EB 65 02 bcc Label_C9F3 ; CPU:$C9ED PRG:09ED 90 04 ; ----------------------------------------------------------------------------- ; Routine: Label_C9EF @@ -2412,8 +2418,8 @@ Label_C9F3: ; ----------------------------------------------------------------------------- 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 + 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: Label_CA01 @@ -2436,10 +2442,10 @@ Label_CA01: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_CA03: - sta Zp01 ; CPU:$CA03 PRG:0A03 85 01 - lda Zp02 ; CPU:$CA05 PRG:0A05 A5 02 + 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: Label_CA0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -2453,7 +2459,7 @@ 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 + 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 @@ -2467,7 +2473,7 @@ Label_CA0B: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_CA17: - ora Zp01 ; CPU:$CA17 PRG:0A17 05 01 + ora PtrHi ; CPU:$CA17 PRG:0A17 05 01 rts ; CPU:$CA19 PRG:0A19 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites7_3 @@ -2481,10 +2487,10 @@ Label_CA17: 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 @@ -2586,13 +2592,13 @@ 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 @@ -2698,7 +2704,7 @@ Label_CAA4: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_CAB4: - lda Zp00 ; CPU:$CAB4 PRG:0AB4 A5 00 + lda PtrLo ; CPU:$CAB4 PRG:0AB4 A5 00 and #$08 ; CPU:$CAB6 PRG:0AB6 29 08 beq Label_CAC0 ; CPU:$CAB8 PRG:0AB8 F0 06 dex ; CPU:$CABA PRG:0ABA CA @@ -2779,10 +2785,10 @@ InitSprites_4: ; ----------------------------------------------------------------------------- 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 Label_CAE6 ; CPU:$CAE3 PRG:0AE3 F0 01 sec ; CPU:$CAE5 PRG:0AE5 38 @@ -2842,19 +2848,19 @@ UpdateController: Label_CB02: pha ; CPU:$CB02 PRG:0B02 48 lda $4016,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 Label_CB02 ; 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 + 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 @@ -2868,11 +2874,11 @@ Label_CB02: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_CB21: - lda Zp02 ; CPU:$CB21 PRG:0B21 A5 02 - bit Zp00 ; CPU:$CB23 PRG:0B23 24 00 + 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: Label_CB2D @@ -2885,8 +2891,8 @@ Label_CB21: ; ----------------------------------------------------------------------------- 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 Label_CB21 ; CPU:$CB33 PRG:0B33 D0 EC ; ----------------------------------------------------------------------------- @@ -2900,9 +2906,9 @@ Label_CB2D: ; ----------------------------------------------------------------------------- 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: Label_CB3E @@ -2916,13 +2922,13 @@ UpdateController2_4: Label_CB3E: sta $2006 ; 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 $2006 ; 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 Label_CB54 ; CPU:$CB50 PRG:0B50 B0 02 and #$FB ; CPU:$CB52 PRG:0B52 29 FB @@ -2977,17 +2983,17 @@ Label_CB61: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_CB64: - lda (Zp00),y ; CPU:$CB64 PRG:0B64 B1 00 + lda (PtrLo),y ; CPU:$CB64 PRG:0B64 B1 00 sta $2007 ; 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 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,7 +3006,7 @@ Label_CB64: UpdateSprites_4: ldx $2002 ; CPU:$CB78 PRG:0B78 AE 02 20 ldy #$00 ; CPU:$CB7B PRG:0B7B A0 00 - lda (Zp00),y ; CPU:$CB7D PRG:0B7D B1 00 + lda (PtrLo),y ; CPU:$CB7D PRG:0B7D B1 00 bne Label_CB3E ; CPU:$CB7F PRG:0B7F D0 BD ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites2_12 @@ -3107,6 +3113,7 @@ Label_CBAF: ; 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 @@ -3169,6 +3176,7 @@ Label_CC1F: 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 @@ -3269,7 +3277,7 @@ Label_CCED: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_CCF6: - stx Zp5F ; CPU:$CCF6 PRG:0CF6 86 5F + 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 @@ -3278,7 +3286,7 @@ Label_CCF6: jsr $D552 ; CPU:$CD00 PRG:0D00 20 52 D5 lda $0352,x ; CPU:$CD03 PRG:0D03 BD 52 03 bne Label_CD0D ; CPU:$CD06 PRG:0D06 D0 05 - ldx Zp5F ; CPU:$CD08 PRG:0D08 A6 5F + ldx SprData2 ; CPU:$CD08 PRG:0D08 A6 5F jsr $D59C ; CPU:$CD0A PRG:0D0A 20 9C D5 ; ----------------------------------------------------------------------------- ; Routine: Label_CD0D @@ -3290,7 +3298,7 @@ Label_CCF6: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_CD0D: - ldx Zp5F ; CPU:$CD0D PRG:0D0D A6 5F + ldx SprData2 ; CPU:$CD0D PRG:0D0D A6 5F jsr $D507 ; CPU:$CD0F PRG:0D0F 20 07 D5 ; ----------------------------------------------------------------------------- ; Routine: Label_CD12 @@ -3313,14 +3321,15 @@ Label_CD12: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_CD13: - stx Zp5F ; CPU:$CD13 PRG:0D13 86 5F - lda Zp5A,x ; CPU:$CD15 PRG:0D15 B5 5A + 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 @@ -3360,10 +3369,10 @@ Label_CD62: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_CD68: - sta Zp01 ; CPU:$CD68 PRG:0D68 85 01 + 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 Label_CD83 ; CPU:$CD72 PRG:0D72 30 0F cmp #$04 ; CPU:$CD74 PRG:0D74 C9 04 @@ -3386,7 +3395,7 @@ Label_CD68: ; ----------------------------------------------------------------------------- Label_CD83: lda #$09 ; CPU:$CD83 PRG:0D83 A9 09 - cmp Zp01 ; CPU:$CD85 PRG:0D85 C5 01 + 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 @@ -3449,7 +3458,7 @@ Label_CDAF: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_CDB0: - lda Zp55 ; CPU:$CDB0 PRG:0DB0 A5 55 + lda ZpCheckZp14 ; CPU:$CDB0 PRG:0DB0 A5 55 cmp #$01 ; CPU:$CDB2 PRG:0DB2 C9 01 bne Label_CDC4 ; CPU:$CDB4 PRG:0DB4 D0 0E txa ; CPU:$CDB6 PRG:0DB6 8A @@ -3562,7 +3571,7 @@ 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 Label_CE29 ; CPU:$CE0A PRG:0E0A F0 1D ldy $CBBF,x ; CPU:$CE0C PRG:0E0C BC BF CB @@ -3589,7 +3598,7 @@ Label_CE11: cpx #$04 ; CPU:$CE21 PRG:0E21 E0 04 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: Label_CE29 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -3636,7 +3645,7 @@ Label_CE43: lda Zp70,x ; CPU:$CE43 PRG:0E43 B5 70 and #$80 ; CPU:$CE45 PRG:0E45 29 80 beq Label_CE5C ; CPU:$CE47 PRG:0E47 F0 13 - lda Zp55 ; CPU:$CE49 PRG:0E49 A5 55 + lda ZpCheckZp14 ; CPU:$CE49 PRG:0E49 A5 55 cmp #$01 ; CPU:$CE4B PRG:0E4B C9 01 beq Label_CE54 ; CPU:$CE4D PRG:0E4D F0 05 dec Zp66,x ; CPU:$CE4F PRG:0E4F D6 66 @@ -3774,7 +3783,7 @@ Label_CE9A: 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 @@ -3782,7 +3791,7 @@ Label_CE9A: 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 Label_CECD ; CPU:$CECA PRG:0ECA B0 01 lsr a ; CPU:$CECC PRG:0ECC 4A @@ -4198,7 +4207,7 @@ Label_CFD3: jsr $D17C ; CPU:$CFD5 PRG:0FD5 20 7C D1 lda Zp32,x ; CPU:$CFD8 PRG:0FD8 B5 32 beq Label_CFEB ; CPU:$CFDA PRG:0FDA F0 0F - lda Zp5A,x ; CPU:$CFDC PRG:0FDC B5 5A + lda SprData,x ; CPU:$CFDC PRG:0FDC B5 5A cmp #$06 ; CPU:$CFDE PRG:0FDE C9 06 bcc Label_CFEB ; CPU:$CFE0 PRG:0FE0 90 09 lda Zp70,x ; CPU:$CFE2 PRG:0FE2 B5 70 @@ -4324,7 +4333,7 @@ Label_D021: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D025: - ldx Zp5F ; CPU:$D025 PRG:1025 A6 5F + ldx SprData2 ; CPU:$D025 PRG:1025 A6 5F lda Zp86,x ; CPU:$D027 PRG:1027 B5 86 bne Label_D04F ; CPU:$D029 PRG:1029 D0 24 lda Zp6A,x ; CPU:$D02B PRG:102B B5 6A @@ -4340,7 +4349,7 @@ Label_D025: Label_D02D: cmp #$04 ; CPU:$D02D PRG:102D C9 04 beq Label_D04F ; CPU:$D02F PRG:102F F0 1E - lda Zp5F ; CPU:$D031 PRG:1031 A5 5F + 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 @@ -4535,7 +4544,7 @@ Label_D0C7: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D0CA: - ldx Zp5F ; CPU:$D0CA PRG:10CA A6 5F + 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,12 +4553,12 @@ Label_D0CA: 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 Label_D0F4 ; CPU:$D0F0 PRG:10F0 F0 02 @@ -4576,12 +4585,12 @@ Label_D0F4: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D0F7: - lda (Zp00),y ; CPU:$D0F7 PRG:10F7 B1 00 + 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 @@ -4589,7 +4598,7 @@ Label_D0F7: iny ; CPU:$D10A PRG:110A C8 cpy #$06 ; CPU:$D10B PRG:110B C0 06 bcc Label_D0F7 ; CPU:$D10D PRG:110D 90 E8 - ldx Zp5F ; CPU:$D10F PRG:110F A6 5F + ldx SprData2 ; CPU:$D10F PRG:110F A6 5F ; ----------------------------------------------------------------------------- ; Routine: Label_D111 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -4668,11 +4677,11 @@ Label_D127: ; ----------------------------------------------------------------------------- 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 ; ----------------------------------------------------------------------------- @@ -4775,12 +4784,12 @@ Label_D17B: ; ----------------------------------------------------------------------------- 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 Label_D192 ; CPU:$D18D PRG:118D D0 03 @@ -4796,7 +4805,7 @@ Label_D17C: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D192: - sta Zp01 ; CPU:$D192 PRG:1192 85 01 + 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 @@ -4835,12 +4844,12 @@ Label_D1AB: 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 Label_D1C4 ; CPU:$D1C0 PRG:11C0 F0 02 iny ; CPU:$D1C2 PRG:11C2 C8 @@ -4858,7 +4867,7 @@ 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 @@ -4872,7 +4881,7 @@ Label_D1C4: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D1D2: - sta Zp01 ; CPU:$D1D2 PRG:11D2 85 01 + 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 Label_D1DB ; CPU:$D1D8 PRG:11D8 F0 01 @@ -4890,7 +4899,7 @@ 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: Label_D1E5 @@ -4913,13 +4922,13 @@ Label_D1E5: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D1E7: - lda Zp5A,x ; CPU:$D1E7 PRG:11E7 B5 5A + 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: Label_D1F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -4997,7 +5006,7 @@ Label_D211: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D212: - lda Zp5A ; CPU:$D212 PRG:1212 A5 5A + lda SprData ; CPU:$D212 PRG:1212 A5 5A and Zp5B ; CPU:$D214 PRG:1214 25 5B beq Label_D211 ; CPU:$D216 PRG:1216 F0 F9 lda Zp2D ; CPU:$D218 PRG:1218 A5 2D @@ -5011,11 +5020,11 @@ Label_D212: jsr $D2D9 ; CPU:$D228 PRG:1228 20 D9 D2 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 Label_D25A ; CPU:$D234 PRG:1234 B0 24 - lda Zp00 ; CPU:$D236 PRG:1236 A5 00 + lda PtrLo ; CPU:$D236 PRG:1236 A5 00 cmp #$09 ; CPU:$D238 PRG:1238 C9 09 bcs Label_D25A ; CPU:$D23A PRG:123A B0 1E lda Zp66 ; CPU:$D23C PRG:123C A5 66 @@ -5064,7 +5073,7 @@ Label_D24B: 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 + sta Ptr2Lo ; CPU:$D256 PRG:1256 85 02 bne Label_D269 ; CPU:$D258 PRG:1258 D0 0F ; ----------------------------------------------------------------------------- ; Routine: Label_D25A @@ -5116,7 +5125,7 @@ Label_D269: lda Zp6B ; CPU:$D269 PRG:1269 A5 6B and #$01 ; CPU:$D26B PRG:126B 29 01 bne Label_D2B6 ; CPU:$D26D PRG:126D D0 47 - lda Zp00 ; CPU:$D26F PRG:126F A5 00 + lda PtrLo ; CPU:$D26F PRG:126F A5 00 cmp #$09 ; CPU:$D271 PRG:1271 C9 09 bcs Label_D2B6 ; CPU:$D273 PRG:1273 B0 41 lda Zp67 ; CPU:$D275 PRG:1275 A5 67 @@ -5148,7 +5157,7 @@ Label_D282: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D284: - lda Zp02 ; CPU:$D284 PRG:1284 A5 02 + 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 @@ -5289,14 +5298,14 @@ Label_D2D9: 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 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 Label_D2F8 ; CPU:$D2F5 PRG:12F5 90 01 sec ; CPU:$D2F7 PRG:12F7 38 @@ -5369,7 +5378,7 @@ Label_D301: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D308: - lda Zp5A,x ; CPU:$D308 PRG:1308 B5 5A + 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 Label_D371 ; CPU:$D30E PRG:130E F0 61 @@ -5420,7 +5429,7 @@ Label_D32E: 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 Label_D393 ; CPU:$D342 PRG:1342 F0 4F cpy #$01 ; CPU:$D344 PRG:1344 C0 01 @@ -5475,7 +5484,7 @@ Label_D371: ; ----------------------------------------------------------------------------- Label_D372: ldy #$01 ; CPU:$D372 PRG:1372 A0 01 - lda Zp00 ; CPU:$D374 PRG:1374 A5 00 + 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 @@ -5590,7 +5599,7 @@ Label_D3AC: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D3B3: - lda Zp5A,x ; CPU:$D3B3 PRG:13B3 B5 5A + 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 @@ -5725,7 +5734,7 @@ Label_D400: beq Label_D3F5 ; CPU:$D416 PRG:1416 F0 DD cpy #$08 ; CPU:$D418 PRG:1418 C0 08 bcs Label_D3F5 ; CPU:$D41A PRG:141A B0 D9 - stx Zp5F ; CPU:$D41C PRG:141C 86 5F + stx SprData2 ; CPU:$D41C PRG:141C 86 5F jmp $D07C ; CPU:$D41E PRG:141E 4C 7C D0 ; ----------------------------------------------------------------------------- ; Routine: Label_D421 @@ -5798,7 +5807,7 @@ Label_D441: 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 @@ -5834,7 +5843,7 @@ Label_D463: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D465: - lda Zp5A,x ; CPU:$D465 PRG:1465 B5 5A + 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 @@ -5844,7 +5853,7 @@ Label_D465: cpy #$0A ; CPU:$D473 PRG:1473 C0 0A 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 Label_D483 ; CPU:$D47F PRG:147F D0 02 @@ -5910,7 +5919,7 @@ Label_D493: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D495: - lda Zp5A,x ; CPU:$D495 PRG:1495 B5 5A + lda SprData,x ; CPU:$D495 PRG:1495 B5 5A cmp #$09 ; CPU:$D497 PRG:1497 C9 09 bne Label_D4CE ; CPU:$D499 PRG:1499 D0 33 ldy #$02 ; CPU:$D49B PRG:149B A0 02 @@ -6004,7 +6013,7 @@ 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 + 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 Label_D48C ; CPU:$D4DE PRG:14DE D0 AC @@ -6048,7 +6057,7 @@ Label_D4EE: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D4F5: - sta Zp55 ; CPU:$D4F5 PRG:14F5 85 55 + 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 @@ -6080,18 +6089,18 @@ Label_D507: 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 Label_D547 ; CPU:$D52C PRG:152C B0 19 - adc Zp01 ; CPU:$D52E PRG:152E 65 01 + adc PtrHi ; CPU:$D52E PRG:152E 65 01 cmp Zp64,x ; CPU:$D530 PRG:1530 D5 64 bcc Label_D547 ; CPU:$D532 PRG:1532 90 13 - lda Zp00 ; CPU:$D534 PRG:1534 A5 00 + 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 @@ -6112,7 +6121,7 @@ Label_D507: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D547: - lda Zp5F ; CPU:$D547 PRG:1547 A5 5F + 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 @@ -6421,7 +6430,7 @@ Label_D63B: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D648: - ldx Zp5F ; CPU:$D648 PRG:1648 A6 5F + 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 @@ -6777,7 +6786,7 @@ Label_D726: 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 Label_D74C ; CPU:$D73E PRG:173E 30 0C txa ; CPU:$D740 PRG:1740 8A @@ -6814,6 +6823,7 @@ Label_D74C: ; 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 @@ -6893,7 +6903,7 @@ Label_D7FE: cmp #$01 ; CPU:$D800 PRG:1800 C9 01 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 + cmp SprData,x ; CPU:$D806 PRG:1806 D5 5A beq Label_D80F ; CPU:$D808 PRG:1808 F0 05 ; ----------------------------------------------------------------------------- ; Routine: Label_D80A @@ -7735,12 +7745,12 @@ Label_DA99: 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 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: Label_DAB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -7824,8 +7834,8 @@ Label_DAD5: 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 Label_DAD3 ; CPU:$DAE4 PRG:1AE4 B0 ED @@ -7880,7 +7890,7 @@ Label_DAF2: ; ----------------------------------------------------------------------------- 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 Label_DB1B ; CPU:$DB15 PRG:1B15 30 04 @@ -7937,7 +7947,7 @@ Label_DB2C: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_DB31: - lda Zp55 ; CPU:$DB31 PRG:1B31 A5 55 + 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 Label_DB65 ; CPU:$DB37 PRG:1B37 F0 2C @@ -8007,7 +8017,7 @@ Label_DB65: 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 @@ -8147,12 +8157,12 @@ Label_DBB4: ; ----------------------------------------------------------------------------- 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 Label_DBCB ; CPU:$DBC8 PRG:1BC8 F0 01 iny ; CPU:$DBCA PRG:1BCA C8 @@ -8169,14 +8179,14 @@ Label_DBCB: sty ZpD7,x ; CPU:$DBCB PRG:1BCB 94 D7 cpy #$0A ; CPU:$DBCD PRG:1BCD C0 0A bcs Label_DBAD ; CPU:$DBCF PRG:1BCF B0 DC - lda Zp00 ; CPU:$DBD1 PRG:1BD1 A5 00 + lda PtrLo ; CPU:$DBD1 PRG:1BD1 A5 00 cmp $D7A3,y ; CPU:$DBD3 PRG:1BD3 D9 A3 D7 bcc Label_DC56 ; CPU:$DBD6 PRG:1BD6 90 7E cmp $D7AD,y ; CPU:$DBD8 PRG:1BD8 D9 AD D7 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 @@ -8217,7 +8227,7 @@ Label_DBFD: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_DC0C: - sty Zp00 ; CPU:$DC0C PRG:1C0C 84 00 + 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 Label_DC18 ; CPU:$DC12 PRG:1C12 F0 04 @@ -8357,7 +8367,7 @@ Label_DC58: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_DC59: - lda Zp00 ; CPU:$DC59 PRG:1C59 A5 00 + lda PtrLo ; CPU:$DC59 PRG:1C59 A5 00 sta $0783,x ; CPU:$DC5B PRG:1C5B 9D 83 07 ; ----------------------------------------------------------------------------- ; Routine: Label_DC5E @@ -8472,7 +8482,7 @@ Label_DCB3: 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 @@ Label_DCB3: 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 @@ -8505,7 +8515,7 @@ Label_DCB3: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_DCEA: - ldy Zp00 ; CPU:$DCEA PRG:1CEA A4 00 + ldy PtrLo ; CPU:$DCEA PRG:1CEA A4 00 sta $0301,y ; CPU:$DCEC PRG:1CEC 99 01 03 rts ; CPU:$DCEF PRG:1CEF 60 ; ----------------------------------------------------------------------------- @@ -8560,7 +8570,7 @@ Label_DCFE: dey ; CPU:$DD03 PRG:1D03 88 dex ; CPU:$DD04 PRG:1D04 CA bpl Label_DCFE ; CPU:$DD05 PRG:1D05 10 F7 - ldy Zp00 ; CPU:$DD07 PRG:1D07 A4 00 + ldy PtrLo ; CPU:$DD07 PRG:1D07 A4 00 ldx Zp0F ; CPU:$DD09 PRG:1D09 A6 0F ; ----------------------------------------------------------------------------- ; Routine: Label_DD0B @@ -8644,7 +8654,7 @@ Label_DD24: 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: Label_DD50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -8656,10 +8666,10 @@ Label_DD24: ; ----------------------------------------------------------------------------- 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 Label_DD50 ; CPU:$DD5F PRG:1D5F 90 EF @@ -8670,7 +8680,7 @@ Label_DD50: ldy ZpDA,x ; CPU:$DD6A PRG:1D6A B4 DA lda $062F,y ; CPU:$DD6C PRG:1D6C B9 2F 06 bpl Label_DD97 ; CPU:$DD6F PRG:1D6F 10 26 - sta Zp00 ; CPU:$DD71 PRG:1D71 85 00 + sta PtrLo ; CPU:$DD71 PRG:1D71 85 00 ldy #$03 ; CPU:$DD73 PRG:1D73 A0 03 ; ----------------------------------------------------------------------------- ; Routine: UpdateSound26_11 @@ -8682,7 +8692,7 @@ Label_DD50: ; 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 Label_DD97 ; CPU:$DD7A PRG:1D7A F0 1B cpx #$38 ; CPU:$DD7C PRG:1D7C E0 38 @@ -8788,7 +8798,7 @@ Label_DDA9: 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: Label_DDBD @@ -8831,12 +8841,12 @@ Label_DDC9: 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 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: Label_DDE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -8999,7 +9009,7 @@ Label_DE44: 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 @@ -9145,16 +9155,16 @@ Label_DEB9: 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 @@ -9170,7 +9180,7 @@ Label_DEB9: 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: Label_DEEA @@ -9206,6 +9216,7 @@ Label_DEEC: ; 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 @@ -9396,10 +9407,10 @@ Label_E01B: 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 Label_E054 ; CPU:$E02E PRG:202E B0 24 tay ; CPU:$E030 PRG:2030 A8 @@ -9459,9 +9470,9 @@ Label_E05D: Label_E05E: jsr $DFEA ; CPU:$E05E PRG:205E 20 EA DF beq Label_E05D ; CPU:$E061 PRG:2061 F0 FA - sta Zp01 ; CPU:$E063 PRG:2063 85 01 + 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: Label_E069 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -9472,21 +9483,21 @@ Label_E05E: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E069: - ldx Zp01 ; CPU:$E069 PRG:2069 A6 01 + 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 Label_E08F ; CPU:$E085 PRG:2085 B0 08 - dec Zp01 ; CPU:$E087 PRG:2087 C6 01 - lda Zp01 ; CPU:$E089 PRG:2089 A5 01 + 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 Label_E069 ; CPU:$E08D PRG:208D D0 DA ; ----------------------------------------------------------------------------- @@ -9499,7 +9510,7 @@ Label_E069: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E08F: - ldy Zp00 ; CPU:$E08F PRG:208F A4 00 + 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 ; ----------------------------------------------------------------------------- @@ -9535,7 +9546,7 @@ Label_E0A7: 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 ; ----------------------------------------------------------------------------- @@ -9563,7 +9574,7 @@ Label_E0B9: Label_E0C0: lda Zp3A,x ; CPU:$E0C0 PRG:20C0 B5 3A bne Label_E11B ; CPU:$E0C2 PRG:20C2 D0 57 - lda Zp5A,x ; CPU:$E0C4 PRG:20C4 B5 5A + 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 @@ -9595,7 +9606,7 @@ Label_E0E2: 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 Label_E115 ; CPU:$E0F4 PRG:20F4 B0 1F @@ -9735,7 +9746,7 @@ Label_E13D: Label_E142: lda Zp68,x ; CPU:$E142 PRG:2142 B5 68 beq Label_E158 ; CPU:$E144 PRG:2144 F0 12 - lda Zp00 ; CPU:$E146 PRG:2146 A5 00 + lda PtrLo ; CPU:$E146 PRG:2146 A5 00 cmp #$03 ; CPU:$E148 PRG:2148 C9 03 bcc Label_E153 ; CPU:$E14A PRG:214A 90 07 cmp #$FD ; CPU:$E14C PRG:214C C9 FD @@ -9764,7 +9775,7 @@ Label_E153: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E158: - lda Zp00 ; CPU:$E158 PRG:2158 A5 00 + 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 @@ -9808,7 +9819,7 @@ Label_E16B: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E176: - lda Zp00 ; CPU:$E176 PRG:2176 A5 00 + lda PtrLo ; CPU:$E176 PRG:2176 A5 00 asl a ; CPU:$E178 PRG:2178 0A lda #$01 ; CPU:$E179 PRG:2179 A9 01 bcs Label_E17E ; CPU:$E17B PRG:217B B0 01 @@ -10301,7 +10312,7 @@ Label_E2C5: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E2D0: - ldx Zp5A,y ; CPU:$E2D0 PRG:22D0 B6 5A + 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 Label_E2F4 ; CPU:$E2D6 PRG:22D6 30 1C @@ -10418,7 +10429,7 @@ Label_E31A: ; ----------------------------------------------------------------------------- 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: Label_E325 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -10437,7 +10448,7 @@ Label_E325: 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 + 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) ---- @@ -10545,6 +10556,7 @@ Label_E37E: ; 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 @@ -10577,7 +10589,7 @@ Label_E37E: 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: Label_E4CC @@ -10589,15 +10601,15 @@ Label_E4C2: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E4CC: - ldx Zp00 ; CPU:$E4CC PRG:24CC A6 00 + 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 Label_E502 ; CPU:$E4D5 PRG:24D5 F0 2B cmp #$61 ; CPU:$E4D7 PRG:24D7 C9 61 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 @@ -10624,7 +10636,7 @@ Label_E4EC: 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 ; ----------------------------------------------------------------------------- @@ -10637,13 +10649,13 @@ Label_E4EC: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E502: - lda Zp01 ; CPU:$E502 PRG:2502 A5 01 + 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 Label_E4CC ; CPU:$E510 PRG:2510 D0 BA @@ -10907,7 +10919,7 @@ Label_E5FF: 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 ; ----------------------------------------------------------------------------- @@ -11020,7 +11032,7 @@ Label_E64E: ; ----------------------------------------------------------------------------- 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: Label_E668 @@ -11033,7 +11045,7 @@ Label_E662: ; ----------------------------------------------------------------------------- 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 Label_E668 ; CPU:$E66E PRG:266E 10 F8 lda Zp0C ; CPU:$E670 PRG:2670 A5 0C @@ -11194,7 +11206,7 @@ Label_E6F1: 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 @@ -11209,7 +11221,7 @@ Label_E6F1: cmp #$03 ; CPU:$E70E PRG:270E C9 03 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: Label_E719 @@ -11268,11 +11280,11 @@ Label_E72B: 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 @@ -11298,7 +11310,7 @@ Label_E747: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E74B: - lsr Zp00,x ; CPU:$E74B PRG:274B 56 00 + lsr PtrLo,x ; CPU:$E74B PRG:274B 56 00 rol a ; CPU:$E74D PRG:274D 2A dex ; CPU:$E74E PRG:274E CA bpl Label_E74B ; CPU:$E74F PRG:274F 10 FA @@ -11429,9 +11441,9 @@ 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 ; ----------------------------------------------------------------------------- @@ -11446,11 +11458,11 @@ Label_E7B8: 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 Label_E7E7 ; CPU:$E7DE PRG:27DE F0 07 lda $E790,x ; CPU:$E7E0 PRG:27E0 BD 90 E7 @@ -11472,10 +11484,10 @@ Label_E7E7: iny ; CPU:$E7EB PRG:27EB C8 cpy #$30 ; CPU:$E7EC PRG:27EC C0 30 bne Label_E7F7 ; CPU:$E7EE PRG:27EE D0 07 - lda Zp00 ; CPU:$E7F0 PRG:27F0 A5 00 + 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: Label_E7F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -11630,11 +11642,11 @@ Label_E875: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E881: - lda Zp01 ; CPU:$E881 PRG:2881 A5 01 + 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: Label_E88B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -11652,6 +11664,7 @@ Label_E88B: ; 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 @@ -11697,9 +11710,9 @@ Label_E999: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E9AA: - sta Zp02 ; CPU:$E9AA PRG:29AA 85 02 + 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 @@ -11719,7 +11732,7 @@ Label_E9AA: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E9C3: - sta Zp00 ; CPU:$E9C3 PRG:29C3 85 00 + sta PtrLo ; CPU:$E9C3 PRG:29C3 85 00 ; ----------------------------------------------------------------------------- ; Routine: Label_E9C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -11737,6 +11750,7 @@ Label_E9C5: 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 @@ -11796,6 +11810,7 @@ Label_EA55: 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 @@ -11857,6 +11872,7 @@ Label_EAA1: ; 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 @@ -11918,11 +11934,11 @@ Label_EB30: 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 Label_EB56 ; CPU:$EB51 PRG:2B51 10 03 lda #$00 ; CPU:$EB53 PRG:2B53 A9 00 @@ -12037,7 +12053,7 @@ Label_EB7F: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_EB8A: - lda Zp5A,x ; CPU:$EB8A PRG:2B8A B5 5A + 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 Label_EB6B ; CPU:$EB90 PRG:2B90 30 D9 @@ -12064,13 +12080,13 @@ Label_EB8A: 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 Label_EBCE ; CPU:$EBC3 PRG:2BC3 B0 09 - cmp Zp00 ; CPU:$EBC5 PRG:2BC5 C5 00 + cmp PtrLo ; CPU:$EBC5 PRG:2BC5 C5 00 bcs Label_EBD3 ; CPU:$EBC7 PRG:2BC7 B0 0A - lda Zp00 ; CPU:$EBC9 PRG:2BC9 A5 00 + lda PtrLo ; CPU:$EBC9 PRG:2BC9 A5 00 jmp $EBD3 ; CPU:$EBCB PRG:2BCB 4C D3 EB ; ----------------------------------------------------------------------------- ; Routine: Label_EBCE @@ -12082,7 +12098,7 @@ Label_EB8A: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_EBCE: - lda Zp00 ; CPU:$EBCE PRG:2BCE A5 00 + lda PtrLo ; CPU:$EBCE PRG:2BCE A5 00 clc ; CPU:$EBD0 PRG:2BD0 18 adc #$02 ; CPU:$EBD1 PRG:2BD1 69 02 ; ----------------------------------------------------------------------------- @@ -12111,7 +12127,7 @@ Label_EBD3: Label_EBDD: sec ; CPU:$EBDD PRG:2BDD 38 sbc #$01 ; CPU:$EBDE PRG:2BDE E9 01 - cmp Zp00 ; CPU:$EBE0 PRG:2BE0 C5 00 + 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 @@ -12125,12 +12141,12 @@ Label_EBDD: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_EBE9: - sta Zp5A,x ; CPU:$EBE9 PRG:2BE9 95 5A + 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 @@ -12307,7 +12323,7 @@ Label_EC63: Label_EC74: cpx #$02 ; CPU:$EC74 PRG:2C74 E0 02 bcs Label_EC82 ; CPU:$EC76 PRG:2C76 B0 0A - lda Zp5A,x ; CPU:$EC78 PRG:2C78 B5 5A + 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 @@ -12343,7 +12359,7 @@ Label_EC92: dex ; CPU:$EC92 PRG:2C92 CA 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 Label_EC9F ; CPU:$EC9B PRG:2C9B D0 02 ldx #$FC ; CPU:$EC9D PRG:2C9D A2 FC @@ -12528,7 +12544,7 @@ Label_ED25: ; ----------------------------------------------------------------------------- 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 @@ -12612,13 +12628,13 @@ Label_EDBF: 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 @@ -12632,10 +12648,10 @@ Label_EDBF: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_EDD5: - sta Zp00 ; CPU:$EDD5 PRG:2DD5 85 00 + 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 ; ----------------------------------------------------------------------------- @@ -13414,13 +13430,13 @@ Label_F04F: 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 @@ -13476,13 +13492,13 @@ Label_F07F: Label_F092: cmp #$09 ; CPU:$F092 PRG:3092 C9 09 bcs Label_F0C8 ; CPU:$F094 PRG:3094 B0 32 - sta Zp00 ; CPU:$F096 PRG:3096 85 00 + 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 + cmp PtrLo ; CPU:$F09D PRG:309D C5 00 bcs Label_F0C8 ; CPU:$F09F PRG:309F B0 27 - lda Zp00 ; CPU:$F0A1 PRG:30A1 A5 00 + 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 @@ -13524,7 +13540,7 @@ Label_F0C9: 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 @@ -13657,6 +13673,7 @@ Label_F13B: 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 @@ -13688,6 +13705,7 @@ Label_F19E: ; 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 @@ -13932,7 +13950,7 @@ Label_F38D: ; ----------------------------------------------------------------------------- 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 @@ -13968,12 +13986,12 @@ Label_F3A1: 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 + 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: Label_F3BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -14043,8 +14061,8 @@ Label_F3D2: 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: Label_F3F8 @@ -14061,7 +14079,7 @@ Label_F3F8: dex ; CPU:$F3FC PRG:33FC CA 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 @@ Label_F3F8: 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 @@ -14163,6 +14181,7 @@ 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 @@ -14363,6 +14382,7 @@ Label_F5C4: ; 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 @@ -14408,7 +14428,7 @@ Label_F64C: 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: Label_F660 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -14423,7 +14443,7 @@ Label_F660: 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 + 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 @@ -14445,6 +14465,7 @@ Label_F671: 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 ; ----------------------------------------------------------------------------- @@ -14484,7 +14505,7 @@ Label_F6A4: ora $07FB ; CPU:$F6AB PRG:36AB 0D FB 07 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 Label_F6BD ; CPU:$F6B9 PRG:36B9 F0 02 @@ -14502,7 +14523,7 @@ 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 @@ -14556,6 +14577,7 @@ Label_F6EA: 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 @@ -14638,12 +14660,12 @@ Label_F737: 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 @@ -14777,6 +14799,7 @@ Label_F7AB: ; 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 @@ -15151,7 +15174,7 @@ Label_F91E: 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 Label_F949 ; CPU:$F940 PRG:3940 F0 07 inc $0711 ; CPU:$F942 PRG:3942 EE 11 07 @@ -15859,6 +15882,7 @@ Label_FB38: ; 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 @@ -16031,7 +16055,7 @@ Label_FBEB: Label_FBFC: lda ZpFB ; CPU:$FBFC PRG:3BFC A5 FB bne Label_FC05 ; CPU:$FBFE PRG:3BFE D0 05 - lda ZpF3 ; CPU:$FC00 PRG:3C00 A5 F3 + lda FrameCounter ; CPU:$FC00 PRG:3C00 A5 F3 bne Label_FC51 ; CPU:$FC02 PRG:3C02 D0 4D rts ; CPU:$FC04 PRG:3C04 60 ; ----------------------------------------------------------------------------- @@ -16046,7 +16070,7 @@ Label_FBFC: Label_FC05: cmp #$20 ; CPU:$FC05 PRG:3C05 C9 20 bne Label_FC11 ; CPU:$FC07 PRG:3C07 D0 08 - lda ZpF3 ; CPU:$FC09 PRG:3C09 A5 F3 + 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 @@ -16060,7 +16084,7 @@ Label_FC05: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_FC11: - sta ZpF3 ; CPU:$FC11 PRG:3C11 85 F3 + sta FrameCounter ; CPU:$FC11 PRG:3C11 85 F3 ldy #$00 ; CPU:$FC13 PRG:3C13 A0 00 sty ZpF8 ; CPU:$FC15 PRG:3C15 84 F8 ; ----------------------------------------------------------------------------- @@ -16113,7 +16137,7 @@ Label_FC51: inc ZpF8 ; CPU:$FC58 PRG:3C58 E6 F8 lda (ZpF6),y ; CPU:$FC5A PRG:3C5A B1 F6 bne Label_FC84 ; CPU:$FC5C PRG:3C5C D0 26 - lda ZpF3 ; CPU:$FC5E PRG:3C5E A5 F3 + lda FrameCounter ; CPU:$FC5E PRG:3C5E A5 F3 cmp #$40 ; CPU:$FC60 PRG:3C60 C9 40 bne Label_FC68 ; CPU:$FC62 PRG:3C62 D0 04 lda ZpFD ; CPU:$FC64 PRG:3C64 A5 FD @@ -16148,7 +16172,7 @@ Label_FC68: ; ----------------------------------------------------------------------------- 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 $4004 ; CPU:$FC80 PRG:3C80 8D 04 40 rts ; CPU:$FC83 PRG:3C83 60 @@ -16212,7 +16236,7 @@ Label_FCA7: Label_FCAC: lda ZpF1 ; CPU:$FCAC PRG:3CAC A5 F1 bne Label_FCC4 ; CPU:$FCAE PRG:3CAE D0 14 - lda ZpF3 ; CPU:$FCB0 PRG:3CB0 A5 F3 + lda FrameCounter ; CPU:$FCB0 PRG:3CB0 A5 F3 and #$0C ; CPU:$FCB2 PRG:3CB2 29 0C beq Label_FCC4 ; CPU:$FCB4 PRG:3CB4 F0 0E ldy $0702 ; CPU:$FCB6 PRG:3CB6 AC 02 07 @@ -16362,6 +16386,7 @@ Label_FD21: ; 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/_wip/Ice Climber (JE)/copilot/reconstructed.lbl b/_wip/Ice Climber (JE)/copilot/reconstructed.lbl index 03851ee..1eb028c 100644 --- a/_wip/Ice Climber (JE)/copilot/reconstructed.lbl +++ b/_wip/Ice Climber (JE)/copilot/reconstructed.lbl @@ -1,3 +1,4 @@ +al 00FD22 .VectorTableAndPadding al 00FD16 .Label_FD16 al 00FD21 .Label_FD21 al 00FCF4 .Label_FCF4 @@ -27,6 +28,7 @@ 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 @@ -95,6 +97,7 @@ 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 @@ -107,6 +110,7 @@ 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 @@ -114,10 +118,12 @@ 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 @@ -129,6 +135,7 @@ 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 @@ -155,7 +162,9 @@ 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 @@ -263,18 +272,22 @@ 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 @@ -336,6 +349,7 @@ 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 @@ -417,6 +431,7 @@ 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 @@ -563,6 +578,7 @@ 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 @@ -778,6 +794,7 @@ 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 @@ -788,8 +805,10 @@ 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 @@ -882,6 +901,7 @@ 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 @@ -907,6 +927,7 @@ 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 @@ -916,10 +937,13 @@ 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 @@ -971,3 +995,4 @@ al 00C041 .ClearZeropage al 00C024 .WaitVBlank2_1 al 00C01E .WaitVBlank_1 al 00C014 .Reset +al 00C000 .InitialSpriteData diff --git a/_wip/Ice Climber (JE)/copilot/reconstructed_prg.bin b/_wip/Ice Climber (JE)/copilot/reconstructed_prg.bin index daf52d8..1aa548c 100644 Binary files a/_wip/Ice Climber (JE)/copilot/reconstructed_prg.bin and b/_wip/Ice Climber (JE)/copilot/reconstructed_prg.bin differ diff --git a/_wip/Ice Climber (JE)/copilot/sites.tsv b/_wip/Ice Climber (JE)/copilot/sites.tsv new file mode 100644 index 0000000..5b47043 --- /dev/null +++ b/_wip/Ice Climber (JE)/copilot/sites.tsv @@ -0,0 +1,296 @@ +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)/OVERVIEW.md b/_wip/Ice Climber (U)/OVERVIEW.md index 2d9edea..7056fa1 100644 --- a/_wip/Ice Climber (U)/OVERVIEW.md +++ b/_wip/Ice Climber (U)/OVERVIEW.md @@ -1,11 +1,10 @@ -# Ice Climber (U) — Pass 1 Disassembly +# Ice Climber (U) — Pass 2 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 not started.** `copilot/prg.s` is a real disassembly, not a skeleton: 6,112 instructions (12,230 bytes as code), **973 label definitions of which only 2 carry semantic names** (`Reset`, `NmiHandler`) — the other 971 are address-based `Label_`. `locals.inc` holds **157 neutral `ZpXX` slots and no semantic zero-page aliases**. 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.** `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 *not* identical — `(JE)` has had a partial Pass 2 (76 names) applied, this variant has not. - -The 2026-10-19 doc-drift sweep retitled this file from "Skeleton Project" to "Pass 2 complete" while correctly noting the 971 `Label_` definitions in the same paragraph. That was a copy-paste error from `Ice Climber (JE)`; the sweep's own text contradicted itself, and no Pass 2 map file exists for `(U)` (unlike `(JE)`). Corrected here. +**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). +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. ## ROM Facts @@ -33,9 +32,9 @@ The 2026-10-19 doc-drift sweep retitled this file from "Skeleton Project" to "Pa |------|---------| | `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 disassembly: 6,112 instructions, 971 address-based `Label_` labels + `Reset`/`NmiHandler`, canonical audit comments | +| `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 | | `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | 157 neutral `ZpXX` zero-page slots (Pass 2 naming outstanding) | +| `locals.inc` | 157 zero-page slots, **9 semantic aliases** (e.g., `PtrLo/PtrHi`, `Ptr2Lo`, `VBlankTimer`, `CheckZp14`, `SprData`, `SprData2`, `FrameCounter`) | | `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 | @@ -54,8 +53,45 @@ make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" | 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 | **Not started** — 2 of 973 label definitions named (`Reset`, `NmiHandler`); 157 zero-page slots still neutral `ZpXX`; no Pass 2 map file exists | -| Pass 3 | Outstanding — data tables/structures unnamed | +| 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 | | 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`; that restatus was wrong and is corrected here. +## 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`. + +- **212 `SubC` entry points** for all remaining `jsr`/`jmp` targets that lacked semantic names (e.g., `SubCC166` at $C166, `SubCC1D7` at $C1D7, etc.). + +- **685 `_Block[_n]` internal branch targets** derived from control flow within each routine (e.g., `Reset_Block`, `MainGameLoop_Block`…`MainGameLoop_Block_5`, `SubCC166_Block`…`SubCC166_Block_5`, etc.). + +### Zero-Page Semantic Aliases (9, added 2026-10-19) + +| Alias | ZpXX | Address | Role | +|---|---|---|---| +| `PtrLo` | `Zp00` | $00 | general-purpose indirect pointer low byte (`sta (Zp00),y`) | +| `PtrHi` | `Zp01` | $01 | general-purpose indirect pointer high byte | +| `Ptr2Lo` | `Zp02` | $02 | secondary indirect pointer low byte | +| `VBlankTimer` | `Zp10` | $10 | vblank wait counter / frame timer | +| `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 | + +### 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**. + +## Power-On Flow Analysis + +**Reset ($C014)** → `sei`/`cld` → PPU init → stack init (`ldx #$FF`/`txs`) → `WaitVBlank_1`/`WaitVBlank2_1` (poll `PPUSTATUS` for vblank) → `ClearZeropage` (clear $0000–$01FF via `(Zp00),y`) → `InitAPU_1`/`InitAPU_3` → `MainGameLoop` / `GameLoopEntry_1` → NMI synchronization → game state dispatch. + +**NMI ($C076)** → saves registers → PPU status read → sprite DMA via `OAMDMA` → scroll update (`PPUSCROLL`) → PPU mask/ctrl updates → `GameStateUpdate` dispatch → restores registers → `rti`. + +**IRQ ($FFF0)** → `rti` immediately (unused placeholder in vector-page padding). + +**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. diff --git a/_wip/Ice Climber (U)/copilot/locals.inc b/_wip/Ice Climber (U)/copilot/locals.inc index fd1d0e5..5e38667 100644 --- a/_wip/Ice Climber (U)/copilot/locals.inc +++ b/_wip/Ice Climber (U)/copilot/locals.inc @@ -1,4 +1,4 @@ -; Ice Climber (U) application-specific RAM aliases - Pass 1 +; Ice Climber (JE) application-specific RAM aliases - Pass 1 ; Generated from every direct zero-page operand in reachable code: ; ref counts are reads/writes, `where` lists the referencing addresses. ; ZpXX names indicate storage with a role not yet unique enough for a behavioral name; diff --git a/_wip/Ice Climber (U)/copilot/prg.s b/_wip/Ice Climber (U)/copilot/prg.s index 91af42c..e22c1d5 100644 --- a/_wip/Ice Climber (U)/copilot/prg.s +++ b/_wip/Ice Climber (U)/copilot/prg.s @@ -1,4 +1,4 @@ -; Ice Climber (U) NES disassembly - Pass 1 +; Ice Climber (JE) 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. @@ -11,6 +11,8 @@ ; Pass 1 trace provenance (the audit trail behind every classification below): ; 69 further routine entries recovered from table references elsewhere in the image: ; $C166, $C1D7, $C2B0, $C38D, $C5C9, $C73D, $C777, $C7C1, $C7C5, $C7F5, $C813, $C9D7, $C9F8, $CA01, $CA03, $CA1A, $CC05, $CC9E, $CD62, $CF1A, $CFEF, $D00A, $D053, $D06B, $D0AA, $D127, $D143, $D171, $D17C, $D1E5, $D1F9, $D2D9, $D2F9, $D301, $D385, $D463, $D552, $D6A5, $D6B9, $D724, $D890, $D8FD, $D90F, $DA85, $DAB2, $DCF0, $DDA9, $DDB6, $DDBD, $DDC9, $DDE1, $DE12, $DEEA, $DFAB, $DFEA, $DFF8, $E64E, $E9C5, $EA4A, $EA4C, $EA8E, $EA97, $ED63, $EDBF, $EF7B, $EF9A, $F504, $F6EA, $F78B +; entries seeded by hand after inspecting code-shaped but unreferenced blocks: +; $C014, $C076, $FFF0 ; indirect dispatch through zero page (not followed statically): ; jmp ($0002) at $C73A ; @@ -39,11 +41,11 @@ 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 ; ----------------------------------------------------------------------------- -; Routine: Label_C01E +; Routine: WaitVBlank_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -51,12 +53,12 @@ Reset: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C01E: - lda $2002 ; CPU:$C01E PRG:001E AD 02 20 +WaitVBlank_1: + lda PPUSTATUS ; CPU:$C01E PRG:001E AD 02 20 asl a ; CPU:$C021 PRG:0021 0A - bcc Label_C01E ; CPU:$C022 PRG:0022 90 FA + bcc WaitVBlank_1 ; CPU:$C022 PRG:0022 90 FA ; ----------------------------------------------------------------------------- -; Routine: Label_C024 +; Routine: WaitVBlank2_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -64,10 +66,10 @@ Label_C01E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C024: - lda $2002 ; CPU:$C024 PRG:0024 AD 02 20 +WaitVBlank2_1: + lda PPUSTATUS ; CPU:$C024 PRG:0024 AD 02 20 asl a ; CPU:$C027 PRG:0027 0A - bcc Label_C024 ; CPU:$C028 PRG:0028 90 FA + 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 ldy #$00 ; CPU:$C02E PRG:002E A0 00 @@ -75,12 +77,12 @@ Label_C024: tya ; CPU:$C032 PRG:0032 98 ldx #$5A ; CPU:$C033 PRG:0033 A2 5A cpx $0780 ; CPU:$C035 PRG:0035 EC 80 07 - bne Label_C041 ; CPU:$C038 PRG:0038 D0 07 + bne ClearZeropage ; CPU:$C038 PRG:0038 D0 07 cpx $0781 ; CPU:$C03A PRG:003A EC 81 07 - bne Label_C041 ; CPU:$C03D PRG:003D D0 02 + bne ClearZeropage ; CPU:$C03D PRG:003D D0 02 ldy #$EC ; CPU:$C03F PRG:003F A0 EC ; ----------------------------------------------------------------------------- -; Routine: Label_C041 +; Routine: ClearZeropage ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +90,19 @@ Label_C024: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C041: +ClearZeropage: sta (Zp00),y ; CPU:$C041 PRG:0041 91 00 dey ; CPU:$C043 PRG:0043 88 - bne Label_C041 ; CPU:$C044 PRG:0044 D0 FB + bne ClearZeropage ; CPU:$C044 PRG:0044 D0 FB dec Zp01 ; CPU:$C046 PRG:0046 C6 01 - bpl Label_C041 ; CPU:$C048 PRG:0048 10 F7 + 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 sta $0781 ; CPU:$C04F PRG:004F 8D 81 07 jsr $C05E ; CPU:$C052 PRG:0052 20 5E C0 jsr $C141 ; CPU:$C055 PRG:0055 20 41 C1 ; ----------------------------------------------------------------------------- -; Routine: Label_C058 +; Routine: InitAPU_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -108,11 +110,11 @@ Label_C041: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C058: +InitAPU_1: jsr $CACE ; CPU:$C058 PRG:0058 20 CE CA jmp $C058 ; CPU:$C05B PRG:005B 4C 58 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C05E +; Routine: InitAPU_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -120,15 +122,15 @@ Label_C058: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C05E: +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: Label_C06D +; Routine: MainGameLoop ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -136,10 +138,10 @@ Label_C05E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C06D: +MainGameLoop: jsr $C883 ; CPU:$C06D PRG:006D 20 83 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C070 +; Routine: GameLoopEntry_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -147,7 +149,7 @@ Label_C06D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C070: +GameLoopEntry_1: jsr $C89A ; CPU:$C070 PRG:0070 20 9A C8 jmp $C81D ; CPU:$C073 PRG:0073 4C 1D C8 ; ----------------------------------------------------------------------------- @@ -167,10 +169,10 @@ NmiHandler: pha ; CPU:$C07A PRG:007A 48 lda Zp10 ; CPU:$C07B PRG:007B A5 10 ldx ZpDE ; CPU:$C07D PRG:007D A6 DE - beq Label_C083 ; CPU:$C07F PRG:007F F0 02 + beq NmiFrameUpdate ; CPU:$C07F PRG:007F F0 02 eor #$02 ; CPU:$C081 PRG:0081 49 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C083 +; Routine: NmiFrameUpdate ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -178,17 +180,17 @@ NmiHandler: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C083: +NmiFrameUpdate: and #$7F ; CPU:$C083 PRG:0083 29 7F jsr $C148 ; CPU:$C085 PRG:0085 20 48 C1 lda Zp52 ; CPU:$C088 PRG:0088 A5 52 - bne Label_C095 ; CPU:$C08A PRG:008A D0 09 + 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: Label_C095 +; Routine: NmiFrameUpdate2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -196,33 +198,33 @@ Label_C083: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C095: +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 Zp10 ; 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 - beq Label_C0D3 ; CPU:$C0CB PRG:00CB F0 06 + beq GameStateUpdate ; CPU:$C0CB PRG:00CB F0 06 jsr $C620 ; CPU:$C0CD PRG:00CD 20 20 C6 jmp $C126 ; CPU:$C0D0 PRG:00D0 4C 26 C1 ; ----------------------------------------------------------------------------- -; Routine: Label_C0D3 +; Routine: GameStateUpdate ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,25 +232,25 @@ Label_C095: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0D3: +GameStateUpdate: lda Zp51 ; CPU:$C0D3 PRG:00D3 A5 51 - beq Label_C126 ; CPU:$C0D5 PRG:00D5 F0 4F + beq GameLoopEntry_4 ; CPU:$C0D5 PRG:00D5 F0 4F ldx $034C ; CPU:$C0D7 PRG:00D7 AE 4C 03 - beq Label_C11A ; CPU:$C0DA PRG:00DA F0 3E + beq NmiHandler_Block ; CPU:$C0DA PRG:00DA F0 3E dex ; CPU:$C0DC PRG:00DC CA - beq Label_C103 ; CPU:$C0DD PRG:00DD F0 24 + beq UpdateGameState5 ; CPU:$C0DD PRG:00DD F0 24 dex ; CPU:$C0DF PRG:00DF CA - bne Label_C100 ; CPU:$C0E0 PRG:00E0 D0 1E + 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 - beq Label_C138 ; CPU:$C0EF PRG:00EF F0 47 + beq UpdateGameState2_4 ; CPU:$C0EF PRG:00EF F0 47 ldy #$40 ; CPU:$C0F1 PRG:00F1 A0 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C0F3 +; Routine: NmiHandler_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -256,12 +258,12 @@ Label_C0D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0F3: +NmiHandler_Block_2: 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 ; ----------------------------------------------------------------------------- -; Routine: Label_C0FA +; Routine: UpdateGameState3_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -269,11 +271,11 @@ Label_C0F3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0FA: +UpdateGameState3_1: inc $034C ; CPU:$C0FA PRG:00FA EE 4C 03 jmp $C138 ; CPU:$C0FD PRG:00FD 4C 38 C1 ; ----------------------------------------------------------------------------- -; Routine: Label_C100 +; Routine: UpdateGameState4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -281,11 +283,11 @@ Label_C0FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C100: +UpdateGameState4: dex ; CPU:$C100 PRG:0100 CA - bne Label_C10A ; CPU:$C101 PRG:0101 D0 07 + bne UpdateGameState6 ; CPU:$C101 PRG:0101 D0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_C103 +; Routine: UpdateGameState5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -293,12 +295,12 @@ Label_C100: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C103: +UpdateGameState5: dec $034D ; CPU:$C103 PRG:0103 CE 4D 03 - beq Label_C0FA ; CPU:$C106 PRG:0106 F0 F2 - bne Label_C138 ; CPU:$C108 PRG:0108 D0 2E + beq UpdateGameState3_1 ; CPU:$C106 PRG:0106 F0 F2 + bne UpdateGameState2_4 ; CPU:$C108 PRG:0108 D0 2E ; ----------------------------------------------------------------------------- -; Routine: Label_C10A +; Routine: UpdateGameState6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -306,16 +308,16 @@ Label_C103: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C10A: +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 - beq Label_C138 ; CPU:$C118 PRG:0118 F0 1E + beq UpdateGameState2_4 ; CPU:$C118 PRG:0118 F0 1E ; ----------------------------------------------------------------------------- -; Routine: Label_C11A +; Routine: NmiHandler_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +325,15 @@ Label_C10A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C11A: +NmiHandler_Block: 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 Label_C126 ; CPU:$C120 PRG:0120 F0 04 + beq GameLoopEntry_4 ; CPU:$C120 PRG:0120 F0 04 lda Zp55 ; CPU:$C122 PRG:0122 A5 55 - bne Label_C0F3 ; CPU:$C124 PRG:0124 D0 CD + bne NmiHandler_Block_2 ; CPU:$C124 PRG:0124 D0 CD ; ----------------------------------------------------------------------------- -; Routine: Label_C126 +; Routine: GameLoopEntry_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -339,15 +341,15 @@ Label_C11A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C126: +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 Label_C135 ; CPU:$C12D PRG:012D D0 06 + bne GameLoopEntry_4_Block ; 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: Label_C135 +; Routine: GameLoopEntry_4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -355,10 +357,10 @@ Label_C126: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C135: +GameLoopEntry_4_Block: jsr $C44A ; CPU:$C135 PRG:0135 20 4A C4 ; ----------------------------------------------------------------------------- -; Routine: Label_C138 +; Routine: UpdateGameState2_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -366,7 +368,7 @@ Label_C135: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C138: +UpdateGameState2_4: jsr $C141 ; CPU:$C138 PRG:0138 20 41 C1 pla ; CPU:$C13B PRG:013B 68 tay ; CPU:$C13C PRG:013C A8 @@ -375,7 +377,7 @@ Label_C138: pla ; CPU:$C13F PRG:013F 68 rti ; CPU:$C140 PRG:0140 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C141 +; Routine: UpdateGameState2_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -383,12 +385,12 @@ Label_C138: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C141: - lda $2002 ; CPU:$C141 PRG:0141 AD 02 20 +UpdateGameState2_5: + lda PPUSTATUS ; CPU:$C141 PRG:0141 AD 02 20 lda Zp10 ; CPU:$C144 PRG:0144 A5 10 ora #$80 ; CPU:$C146 PRG:0146 09 80 ; ----------------------------------------------------------------------------- -; Routine: Label_C148 +; Routine: WaitVBlankFrame2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -396,12 +398,12 @@ Label_C141: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C148: +WaitVBlankFrame2: sta Zp10 ; 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: Label_C14E +; Routine: InitSprites_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -409,10 +411,10 @@ Label_C148: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C14E: +InitSprites_1: ldx #$00 ; CPU:$C14E PRG:014E A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C150 +; Routine: CopySprites ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -420,7 +422,7 @@ Label_C14E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C150: +CopySprites: lda $C000,x ; CPU:$C150 PRG:0150 BD 00 C0 sta Zp00 ; CPU:$C153 PRG:0153 85 00 lda $C00A,x ; CPU:$C155 PRG:0155 BD 0A C0 @@ -431,7 +433,7 @@ Label_C150: sta $0301 ; CPU:$C162 PRG:0162 8D 01 03 rts ; CPU:$C165 PRG:0165 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C166 +; Routine: SubCC166 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +441,12 @@ Label_C150: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C166: +SubCC166: lda Zp43 ; CPU:$C166 PRG:0166 A5 43 - bne Label_C1D6 ; CPU:$C168 PRG:0168 D0 6C + bne CopySprites_Block ; CPU:$C168 PRG:0168 D0 6C jsr $C891 ; CPU:$C16A PRG:016A 20 91 C8 ldx Zp57 ; CPU:$C16D PRG:016D A6 57 - bne Label_C182 ; CPU:$C16F PRG:016F D0 11 + bne CopySprites_Block_2 ; 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 @@ -452,7 +454,7 @@ Label_C166: jsr $C6FB ; CPU:$C17A PRG:017A 20 FB C6 lda #$01 ; CPU:$C17D PRG:017D A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C17F +; Routine: CopySprites_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +462,10 @@ Label_C166: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C17F: +CopySprites_Block_4: jmp $C218 ; CPU:$C17F PRG:017F 4C 18 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C182 +; Routine: CopySprites_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -471,13 +473,13 @@ Label_C17F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C182: +CopySprites_Block_2: dex ; CPU:$C182 PRG:0182 CA - bne Label_C189 ; CPU:$C183 PRG:0183 D0 04 + bne CopySprites_Block_3 ; CPU:$C183 PRG:0183 D0 04 lda #$05 ; CPU:$C185 PRG:0185 A9 05 - bne Label_C17F ; CPU:$C187 PRG:0187 D0 F6 + bne CopySprites_Block_4 ; CPU:$C187 PRG:0187 D0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_C189 +; Routine: CopySprites_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +487,9 @@ Label_C182: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C189: +CopySprites_Block_3: dex ; CPU:$C189 PRG:0189 CA - bne Label_C19B ; CPU:$C18A PRG:018A D0 0F + bne CopySprites_Block_5 ; CPU:$C18A PRG:018A D0 0F lda #$F9 ; CPU:$C18C PRG:018C A9 F9 sta Zp00 ; CPU:$C18E PRG:018E 85 00 jsr $CA4C ; CPU:$C190 PRG:0190 20 4C CA @@ -495,7 +497,7 @@ Label_C189: jsr $C8E0 ; CPU:$C195 PRG:0195 20 E0 C8 jmp $C21A ; CPU:$C198 PRG:0198 4C 1A C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C19B +; Routine: CopySprites_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -503,7 +505,7 @@ Label_C189: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C19B: +CopySprites_Block_5: lda #$00 ; CPU:$C19B PRG:019B A9 00 sta Zp56 ; CPU:$C19D PRG:019D 85 56 sta Zp57 ; CPU:$C19F PRG:019F 85 57 @@ -514,7 +516,7 @@ Label_C19B: sta Zp23 ; CPU:$C1AB PRG:01AB 85 23 ldx #$09 ; CPU:$C1AD PRG:01AD A2 09 ; ----------------------------------------------------------------------------- -; Routine: Label_C1AF +; Routine: CopySprites_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +524,15 @@ Label_C19B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1AF: +CopySprites_Block_6: sta $0360,x ; CPU:$C1AF PRG:01AF 9D 60 03 dex ; CPU:$C1B2 PRG:01B2 CA - bpl Label_C1AF ; CPU:$C1B3 PRG:01B3 10 FA + bpl CopySprites_Block_6 ; 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 Label_C1D0 ; CPU:$C1BF PRG:01BF D0 0F + bne CopySprites_Block_7 ; 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 @@ -540,7 +542,7 @@ Label_C1AF: lsr a ; CPU:$C1CD PRG:01CD 4A sta ZpFB ; CPU:$C1CE PRG:01CE 85 FB ; ----------------------------------------------------------------------------- -; Routine: Label_C1D0 +; Routine: CopySprites_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -548,12 +550,12 @@ Label_C1AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1D0: +CopySprites_Block_7: 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: Label_C1D6 +; Routine: CopySprites_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -561,10 +563,10 @@ Label_C1D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1D6: +CopySprites_Block: rts ; CPU:$C1D6 PRG:01D6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C1D7 +; Routine: SubCC1D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -572,10 +574,10 @@ Label_C1D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1D7: +SubCC1D7: jsr $C891 ; CPU:$C1D7 PRG:01D7 20 91 C8 lda Zp57 ; CPU:$C1DA PRG:01DA A5 57 - bne Label_C1F0 ; CPU:$C1DC PRG:01DC D0 12 + bne CopySprites_Block_8 ; CPU:$C1DC PRG:01DC D0 12 jsr $C070 ; CPU:$C1DE PRG:01DE 20 70 C0 lda Zp10 ; CPU:$C1E1 PRG:01E1 A5 10 and #$FD ; CPU:$C1E3 PRG:01E3 29 FD @@ -585,7 +587,7 @@ Label_C1D7: lda #$04 ; CPU:$C1EB PRG:01EB A9 04 jmp $C218 ; CPU:$C1ED PRG:01ED 4C 18 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C1F0 +; Routine: CopySprites_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -593,16 +595,16 @@ Label_C1D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1F0: +CopySprites_Block_8: cmp #$01 ; CPU:$C1F0 PRG:01F0 C9 01 - beq Label_C21A ; CPU:$C1F2 PRG:01F2 F0 26 + beq UpdateSprites2_1 ; CPU:$C1F2 PRG:01F2 F0 26 cmp #$02 ; CPU:$C1F4 PRG:01F4 C9 02 - bne Label_C21D ; CPU:$C1F6 PRG:01F6 D0 25 + bne CopySprites_Block_9 ; 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: Label_C1FE +; Routine: CopySprites_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -610,13 +612,13 @@ Label_C1F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1FE: +CopySprites_Block_11: sta Zp78,x ; CPU:$C1FE PRG:01FE 95 78 cpx #$01 ; CPU:$C200 PRG:0200 E0 01 - bcc Label_C207 ; CPU:$C202 PRG:0202 90 03 + bcc CopySprites_Block_10 ; CPU:$C202 PRG:0202 90 03 sta $0380,x ; CPU:$C204 PRG:0204 9D 80 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C207 +; Routine: CopySprites_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -624,9 +626,9 @@ Label_C1FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C207: +CopySprites_Block_10: dex ; CPU:$C207 PRG:0207 CA - bpl Label_C1FE ; CPU:$C208 PRG:0208 10 F4 + bpl CopySprites_Block_11 ; 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 @@ -635,7 +637,7 @@ Label_C207: lsr a ; CPU:$C215 PRG:0215 4A sta ZpDB ; CPU:$C216 PRG:0216 85 DB ; ----------------------------------------------------------------------------- -; Routine: Label_C218 +; Routine: UpdateSprites_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -643,10 +645,10 @@ Label_C207: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C218: +UpdateSprites_1: sta Zp52 ; CPU:$C218 PRG:0218 85 52 ; ----------------------------------------------------------------------------- -; Routine: Label_C21A +; Routine: UpdateSprites2_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -654,11 +656,11 @@ Label_C218: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C21A: +UpdateSprites2_1: inc Zp57 ; CPU:$C21A PRG:021A E6 57 rts ; CPU:$C21C PRG:021C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C21D +; Routine: CopySprites_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -666,9 +668,9 @@ Label_C21A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C21D: +CopySprites_Block_9: cmp #$03 ; CPU:$C21D PRG:021D C9 03 - bne Label_C23B ; CPU:$C21F PRG:021F D0 1A + bne UpdateSprites2_1_Block ; 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 @@ -679,7 +681,7 @@ Label_C21D: inc Zp57 ; CPU:$C236 PRG:0236 E6 57 jmp $E05E ; CPU:$C238 PRG:0238 4C 5E E0 ; ----------------------------------------------------------------------------- -; Routine: Label_C23B +; Routine: UpdateSprites2_1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -687,11 +689,11 @@ Label_C21D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C23B: +UpdateSprites2_1_Block: lda #$00 ; CPU:$C23B PRG:023B A9 00 ldy #$90 ; CPU:$C23D PRG:023D A0 90 ; ----------------------------------------------------------------------------- -; Routine: Label_C23F +; Routine: UpdateSprites2_1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -699,10 +701,10 @@ Label_C23B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C23F: - sta a:$005F,y ; CPU:$C23F PRG:023F 99 5F 00 +UpdateSprites2_1_Block_2: + sta a:Zp5F,y ; CPU:$C23F PRG:023F 99 5F 00 dey ; CPU:$C242 PRG:0242 88 - bne Label_C23F ; CPU:$C243 PRG:0243 D0 FA + bne UpdateSprites2_1_Block_2 ; 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 @@ -711,7 +713,7 @@ Label_C23F: sta Zp65 ; CPU:$C24F PRG:024F 85 65 ldx #$01 ; CPU:$C251 PRG:0251 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C253 +; Routine: UpdateSprites2_1_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -719,12 +721,12 @@ Label_C23F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C253: +UpdateSprites2_1_Block_4: lda #$00 ; CPU:$C253 PRG:0253 A9 00 sta Zp5A,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 Label_C274 ; CPU:$C25B PRG:025B 30 17 + bmi UpdateSprites2_1_Block_3 ; 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 @@ -737,7 +739,7 @@ Label_C253: lda #$C0 ; CPU:$C270 PRG:0270 A9 C0 sta Zp66,x ; CPU:$C272 PRG:0272 95 66 ; ----------------------------------------------------------------------------- -; Routine: Label_C274 +; Routine: UpdateSprites2_1_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -745,12 +747,12 @@ Label_C253: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C274: +UpdateSprites2_1_Block_3: dex ; CPU:$C274 PRG:0274 CA - bpl Label_C253 ; CPU:$C275 PRG:0275 10 DC + bpl UpdateSprites2_1_Block_4 ; CPU:$C275 PRG:0275 10 DC ldx #$02 ; CPU:$C277 PRG:0277 A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C279 +; Routine: UpdateSprites2_1_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +760,10 @@ Label_C274: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C279: +UpdateSprites2_1_Block_5: jsr $F19E ; CPU:$C279 PRG:0279 20 9E F1 dex ; CPU:$C27C PRG:027C CA - bpl Label_C279 ; CPU:$C27D PRG:027D 10 FA + bpl UpdateSprites2_1_Block_5 ; 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,14 +779,14 @@ Label_C279: jsr $F80C ; CPU:$C297 PRG:0297 20 0C F8 ldx Zp55 ; CPU:$C29A PRG:029A A6 55 cpx #$01 ; CPU:$C29C PRG:029C E0 01 - bne Label_C2AB ; CPU:$C29E PRG:029E D0 0B + bne UpdateSprites2_3 ; CPU:$C29E PRG:029E D0 0B lda #$02 ; CPU:$C2A0 PRG:02A0 A9 02 sta ZpFB ; CPU:$C2A2 PRG:02A2 85 FB jsr $E002 ; CPU:$C2A4 PRG:02A4 20 02 E0 lda #$01 ; CPU:$C2A7 PRG:02A7 A9 01 sta Zp8D ; CPU:$C2A9 PRG:02A9 85 8D ; ----------------------------------------------------------------------------- -; Routine: Label_C2AB +; Routine: UpdateSprites2_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -792,12 +794,12 @@ Label_C279: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2AB: +UpdateSprites2_3: inc Zp57 ; CPU:$C2AB PRG:02AB E6 57 inc Zp51 ; CPU:$C2AD PRG:02AD E6 51 rts ; CPU:$C2AF PRG:02AF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C2B0 +; Routine: SubCC2B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -805,16 +807,16 @@ Label_C2AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2B0: +SubCC2B0: jsr $C891 ; CPU:$C2B0 PRG:02B0 20 91 C8 ldx Zp57 ; CPU:$C2B3 PRG:02B3 A6 57 - bne Label_C2C4 ; CPU:$C2B5 PRG:02B5 D0 0D + bne UpdateSprites2_3_Block ; 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: Label_C2C1 +; Routine: UpdateSprites2_3_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -822,10 +824,10 @@ Label_C2B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2C1: +UpdateSprites2_3_Block_6: jmp $C218 ; CPU:$C2C1 PRG:02C1 4C 18 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C2C4 +; Routine: UpdateSprites2_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -833,14 +835,14 @@ Label_C2C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2C4: +UpdateSprites2_3_Block: dex ; CPU:$C2C4 PRG:02C4 CA - bne Label_C2CE ; CPU:$C2C5 PRG:02C5 D0 07 + bne UpdateSprites2_3_Block_2 ; CPU:$C2C5 PRG:02C5 D0 07 jsr $F524 ; CPU:$C2C7 PRG:02C7 20 24 F5 lda #$05 ; CPU:$C2CA PRG:02CA A9 05 - bne Label_C2C1 ; CPU:$C2CC PRG:02CC D0 F3 + bne UpdateSprites2_3_Block_6 ; CPU:$C2CC PRG:02CC D0 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_C2CE +; Routine: UpdateSprites2_3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -848,15 +850,15 @@ Label_C2C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2CE: +UpdateSprites2_3_Block_2: dex ; CPU:$C2CE PRG:02CE CA - bne Label_C2D9 ; CPU:$C2CF PRG:02CF D0 08 + bne UpdateSprites2_3_Block_5 ; CPU:$C2CF PRG:02CF D0 08 lda Zp58 ; CPU:$C2D1 PRG:02D1 A5 58 - beq Label_C2D9 ; CPU:$C2D3 PRG:02D3 F0 04 + beq UpdateSprites2_3_Block_5 ; CPU:$C2D3 PRG:02D3 F0 04 lda #$08 ; CPU:$C2D5 PRG:02D5 A9 08 - bne Label_C2C1 ; CPU:$C2D7 PRG:02D7 D0 E8 + bne UpdateSprites2_3_Block_6 ; CPU:$C2D7 PRG:02D7 D0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_C2D9 +; Routine: UpdateSprites2_3_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -864,7 +866,7 @@ Label_C2CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2D9: +UpdateSprites2_3_Block_5: 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 @@ -886,7 +888,7 @@ Label_C2D9: .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: Label_C38D +; Routine: SubCC38D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -894,18 +896,18 @@ Label_C2D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C38D: +SubCC38D: 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 Label_C39F ; CPU:$C397 PRG:0397 F0 06 + beq UpdateSprites2_3_Block_7 ; 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 ; ----------------------------------------------------------------------------- -; Routine: Label_C39F +; Routine: UpdateSprites2_3_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +915,7 @@ Label_C38D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C39F: +UpdateSprites2_3_Block_7: stx Zp5F ; CPU:$C39F PRG:039F 86 5F jmp $CDFF ; CPU:$C3A1 PRG:03A1 4C FF CD ; ---- data $C3A4-$C435 (146 bytes) ---- @@ -928,7 +930,7 @@ Label_C39F: .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: Label_C436 +; Routine: CheckZp34_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -936,10 +938,10 @@ Label_C39F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C436: +CheckZp34_Block: rts ; CPU:$C436 PRG:0436 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C437 +; Routine: CheckZp34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -947,15 +949,15 @@ Label_C436: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C437: +CheckZp34: lda Zp34 ; CPU:$C437 PRG:0437 A5 34 - bne Label_C436 ; CPU:$C439 PRG:0439 D0 FB + bne CheckZp34_Block ; 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) ---- .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: Label_C44A +; Routine: UpdateSprites2_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -963,7 +965,7 @@ Label_C437: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C44A: +UpdateSprites2_4: lda #$00 ; CPU:$C44A PRG:044A A9 00 sta Zp57 ; CPU:$C44C PRG:044C 85 57 jsr $C726 ; CPU:$C44E PRG:044E 20 26 C7 @@ -978,7 +980,7 @@ Label_C44A: .byte $F0, $15, $A9, $05, $20, $F5, $D4, $A9, $01, $85, $FB, $A9, $03, $85, $20, $A4 ; CPU:$C4A2 PRG:04A2 F0 15 A9 05 20 F5 D4 A9 01 85 FB A9 03 85 20 A4 .byte $58, $D0, $02, $A9, $FC, $85, $21, $60, $A5, $58, $49, $01, $85, $58 ; CPU:$C4B2 PRG:04B2 58 D0 02 A9 FC 85 21 60 A5 58 49 01 85 58 ; ----------------------------------------------------------------------------- -; Routine: Label_C4C0 +; Routine: UpdateSprites3_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -986,13 +988,13 @@ Label_C44A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4C0: +UpdateSprites3_1: lda #$7F ; CPU:$C4C0 PRG:04C0 A9 7F ldy Zp58 ; CPU:$C4C2 PRG:04C2 A4 58 - beq Label_C4C8 ; CPU:$C4C4 PRG:04C4 F0 02 + beq UpdateSprites3_1_Block ; CPU:$C4C4 PRG:04C4 F0 02 lda #$8F ; CPU:$C4C6 PRG:04C6 A9 8F ; ----------------------------------------------------------------------------- -; Routine: Label_C4C8 +; Routine: UpdateSprites3_1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1000,11 +1002,11 @@ Label_C4C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4C8: +UpdateSprites3_1_Block: sta $0200 ; CPU:$C4C8 PRG:04C8 8D 00 02 ldx #$02 ; CPU:$C4CB PRG:04CB A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C4CD +; Routine: UpdateSprites3_1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1012,14 +1014,14 @@ Label_C4C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4CD: +UpdateSprites3_1_Block_2: 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 Label_C4CD ; CPU:$C4D4 PRG:04D4 10 F7 + bpl UpdateSprites3_1_Block_2 ; CPU:$C4D4 PRG:04D4 10 F7 rts ; CPU:$C4D6 PRG:04D6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C4D7 +; Routine: InitSprites_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1027,10 +1029,10 @@ Label_C4CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4D7: +InitSprites_3: ldy #$17 ; CPU:$C4D7 PRG:04D7 A0 17 ; ----------------------------------------------------------------------------- -; Routine: Label_C4D9 +; Routine: InitSprites_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1038,16 +1040,16 @@ Label_C4D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4D9: +InitSprites_3_Block: 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 Label_C4D9 ; CPU:$C4E4 PRG:04E4 10 F3 + bpl InitSprites_3_Block ; CPU:$C4E4 PRG:04E4 10 F3 ldy #$01 ; CPU:$C4E6 PRG:04E6 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C4E8 +; Routine: InitSprites_3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +1057,15 @@ Label_C4D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4E8: +InitSprites_3_Block_2: 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 Label_C4E8 ; CPU:$C4F2 PRG:04F2 10 F4 + bpl InitSprites_3_Block_2 ; CPU:$C4F2 PRG:04F2 10 F4 ldx #$00 ; CPU:$C4F4 PRG:04F4 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C4F6 +; Routine: InitSprites_3_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1071,16 +1073,16 @@ Label_C4E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4F6: +InitSprites_3_Block_4: 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 Label_C508 ; CPU:$C500 PRG:0500 90 06 + bcc InitSprites_3_Block_3 ; 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: Label_C508 +; Routine: InitSprites_3_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1088,13 +1090,13 @@ Label_C4F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C508: +InitSprites_3_Block_3: 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 Label_C4F6 ; CPU:$C50F PRG:050F 90 E5 + bcc InitSprites_3_Block_4 ; 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) @@ -1104,7 +1106,7 @@ Label_C508: .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 ; ----------------------------------------------------------------------------- -; Routine: Label_C542 +; Routine: UpdateSprites_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1112,7 +1114,7 @@ Label_C508: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C542: +UpdateSprites_3: jsr $E72B ; CPU:$C542 PRG:0542 20 2B E7 lda #$BF ; CPU:$C545 PRG:0545 A9 BF sta Zp0C ; CPU:$C547 PRG:0547 85 0C @@ -1122,7 +1124,7 @@ Label_C542: sta Zp0E ; CPU:$C54F PRG:054F 85 0E ldx #$07 ; CPU:$C551 PRG:0551 A2 07 ; ----------------------------------------------------------------------------- -; Routine: Label_C553 +; Routine: UpdateSprites_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +1132,7 @@ Label_C542: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C553: +UpdateSprites_3_Block: lda Zp04,x ; CPU:$C553 PRG:0553 B5 04 asl a ; CPU:$C555 PRG:0555 0A clc ; CPU:$C556 PRG:0556 18 @@ -1148,10 +1150,10 @@ Label_C553: jsr $C5D3 ; CPU:$C56F PRG:056F 20 D3 C5 sty Zp0C ; CPU:$C572 PRG:0572 84 0C dex ; CPU:$C574 PRG:0574 CA - bpl Label_C553 ; CPU:$C575 PRG:0575 10 DC + bpl UpdateSprites_3_Block ; CPU:$C575 PRG:0575 10 DC ldx #$C0 ; CPU:$C577 PRG:0577 A2 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C579 +; Routine: UpdateSprites_3_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +1161,13 @@ Label_C553: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C579: +UpdateSprites_3_Block_7: lda #$00 ; CPU:$C579 PRG:0579 A9 00 asl $0785 ; CPU:$C57B PRG:057B 0E 85 07 - bcs Label_C582 ; CPU:$C57E PRG:057E B0 02 + bcs UpdateSprites_3_Block_2 ; CPU:$C57E PRG:057E B0 02 lda #$01 ; CPU:$C580 PRG:0580 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C582 +; Routine: UpdateSprites_3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +1175,11 @@ Label_C579: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C582: +UpdateSprites_3_Block_2: sta Zp00 ; CPU:$C582 PRG:0582 85 00 ldy #$18 ; CPU:$C584 PRG:0584 A0 18 ; ----------------------------------------------------------------------------- -; Routine: Label_C586 +; Routine: UpdateSprites_3_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1185,14 +1187,14 @@ Label_C582: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C586: +UpdateSprites_3_Block_6: lda $03FF,x ; CPU:$C586 PRG:0586 BD FF 03 - bmi Label_C592 ; CPU:$C589 PRG:0589 30 07 + bmi UpdateSprites_3_Block_3 ; CPU:$C589 PRG:0589 30 07 lda Zp00 ; CPU:$C58B PRG:058B A5 00 sta $03FF,x ; CPU:$C58D PRG:058D 9D FF 03 - bne Label_C597 ; CPU:$C590 PRG:0590 D0 05 + bne UpdateSprites_3_Block_4 ; CPU:$C590 PRG:0590 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C592 +; Routine: UpdateSprites_3_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1200,11 +1202,11 @@ Label_C586: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C592: +UpdateSprites_3_Block_3: lda #$FF ; CPU:$C592 PRG:0592 A9 FF sta $04FF,x ; CPU:$C594 PRG:0594 9D FF 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C597 +; Routine: UpdateSprites_3_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1212,17 +1214,17 @@ Label_C592: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C597: +UpdateSprites_3_Block_4: dex ; CPU:$C597 PRG:0597 CA - beq Label_C5D2 ; CPU:$C598 PRG:0598 F0 38 + beq UpdateSprites_3_Block_5 ; CPU:$C598 PRG:0598 F0 38 dey ; CPU:$C59A PRG:059A 88 - 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 + 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 ; ---- data $C5A1-$C5A6 (6 bytes) ---- .byte $E7, $3C, $FC, $3F, $CF, $E3 ; CPU:$C5A1 PRG:05A1 E7 3C FC 3F CF E3 ; ----------------------------------------------------------------------------- -; Routine: Label_C5A7 +; Routine: UpdateSprites2_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1230,10 +1232,10 @@ Label_C597: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5A7: +UpdateSprites2_5: ldy #$D7 ; CPU:$C5A7 PRG:05A7 A0 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_C5A9 +; Routine: UpdateSprites2_5_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +1243,13 @@ Label_C5A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5A9: +UpdateSprites2_5_Block_2: 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: Label_C5B0 +; Routine: UpdateSprites2_5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +1257,14 @@ Label_C5A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5B0: +UpdateSprites2_5_Block: 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 dex ; CPU:$C5BA PRG:05BA CA - bpl Label_C5B0 ; CPU:$C5BB PRG:05BB 10 F3 + bpl UpdateSprites2_5_Block ; 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 @@ -1271,7 +1273,7 @@ Label_C5B0: sta Zp0E ; CPU:$C5C5 PRG:05C5 85 0E lda #$00 ; CPU:$C5C7 PRG:05C7 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C5C9 +; Routine: SubCC5C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +1281,13 @@ Label_C5B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5C9: +SubCC5C9: 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 Label_C5A9 ; CPU:$C5D0 PRG:05D0 D0 D7 + bne UpdateSprites2_5_Block_2 ; CPU:$C5D0 PRG:05D0 D0 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_C5D2 +; Routine: UpdateSprites_3_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1293,10 +1295,10 @@ Label_C5C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5D2: +UpdateSprites_3_Block_5: rts ; CPU:$C5D2 PRG:05D2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C5D3 +; Routine: UpdateSprites3_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1304,13 +1306,13 @@ Label_C5D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5D3: +UpdateSprites3_3: lda #$00 ; CPU:$C5D3 PRG:05D3 A9 00 sta Zp0F ; CPU:$C5D5 PRG:05D5 85 0F lda #$18 ; CPU:$C5D7 PRG:05D7 A9 18 sta Zp03 ; CPU:$C5D9 PRG:05D9 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C5DB +; Routine: UpdateSprites3_3_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1318,20 +1320,20 @@ Label_C5D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5DB: +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 php ; CPU:$C5E1 PRG:05E1 08 lda Zp1F ; CPU:$C5E2 PRG:05E2 A5 1F - bne Label_C5ED ; CPU:$C5E4 PRG:05E4 D0 07 + bne UpdateSprites3_3_Block ; CPU:$C5E4 PRG:05E4 D0 07 lda Zp0F ; CPU:$C5E6 PRG:05E6 A5 0F - beq Label_C5EF ; CPU:$C5E8 PRG:05E8 F0 05 + beq UpdateSprites3_3_Block_2 ; 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: Label_C5ED +; Routine: UpdateSprites3_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1339,10 +1341,10 @@ Label_C5DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5ED: +UpdateSprites3_3_Block: lda #$00 ; CPU:$C5ED PRG:05ED A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C5EF +; Routine: UpdateSprites3_3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1350,16 +1352,16 @@ Label_C5ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5EF: +UpdateSprites3_3_Block_2: rol a ; CPU:$C5EF PRG:05EF 2A - beq Label_C5FC ; CPU:$C5F0 PRG:05F0 F0 0A + beq UpdateSprites3_3_Block_3 ; CPU:$C5F0 PRG:05F0 F0 0A cmp #$03 ; CPU:$C5F2 PRG:05F2 C9 03 - bcs Label_C5F9 ; CPU:$C5F4 PRG:05F4 B0 03 + bcs UpdateSprites3_3_Block_4 ; 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: Label_C5F9 +; Routine: UpdateSprites3_3_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1367,12 +1369,12 @@ Label_C5EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5F9: +UpdateSprites3_3_Block_4: lda #$01 ; CPU:$C5F9 PRG:05F9 A9 01 ; ---- data $C5FB-$C5FB (1 bytes) ---- .byte $2C ; CPU:$C5FB PRG:05FB 2C ; ----------------------------------------------------------------------------- -; Routine: Label_C5FC +; Routine: UpdateSprites3_3_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1380,17 +1382,17 @@ Label_C5F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5FC: +UpdateSprites3_3_Block_3: lda #$FF ; CPU:$C5FC PRG:05FC A9 FF sta (Zp0D),y ; CPU:$C5FE PRG:05FE 91 0D plp ; CPU:$C600 PRG:0600 28 - bcs Label_C608 ; CPU:$C601 PRG:0601 B0 05 + bcs UpdateSprites3_3_Block_5 ; 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: Label_C608 +; Routine: UpdateSprites3_3_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1398,13 +1400,13 @@ Label_C5FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C608: +UpdateSprites3_3_Block_5: inc Zp0F ; CPU:$C608 PRG:0608 E6 0F dey ; CPU:$C60A PRG:060A 88 dec Zp03 ; CPU:$C60B PRG:060B C6 03 - bne Label_C5DB ; CPU:$C60D PRG:060D D0 CC + bne UpdateSprites3_3_Block_6 ; CPU:$C60D PRG:060D D0 CC ; ----------------------------------------------------------------------------- -; Routine: Label_C60F +; Routine: CheckZp14_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +1414,13 @@ Label_C608: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C60F: +CheckZp14_Block_3: rts ; CPU:$C60F PRG:060F 60 ; ---- data $C610-$C61F (16 bytes) ---- ; referenced by `lda $C610,x` at $C650 (operand $C610 falls inside this region) .byte $11, $22, $11, $38, $29, $28, $19, $21, $1A, $28, $2A, $12, $2A, $22, $14, $12 ; CPU:$C610 PRG:0610 11 22 11 38 29 28 19 21 1A 28 2A 12 2A 22 14 12 ; ----------------------------------------------------------------------------- -; Routine: Label_C620 +; Routine: CheckZp14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1426,12 +1428,12 @@ Label_C60F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C620: +CheckZp14: lda Zp14 ; CPU:$C620 PRG:0620 A5 14 and #$30 ; CPU:$C622 PRG:0622 29 30 - beq Label_C63A ; CPU:$C624 PRG:0624 F0 14 + beq CheckZp14_Block ; CPU:$C624 PRG:0624 F0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_C626 +; Routine: CheckZp14_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1439,17 +1441,17 @@ Label_C620: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C626: +CheckZp14_Block_4: 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 jmp $D4F5 ; CPU:$C637 PRG:0637 4C F5 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_C63A +; Routine: CheckZp14_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1457,28 +1459,28 @@ Label_C626: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C63A: +CheckZp14_Block: lda Zp55 ; CPU:$C63A PRG:063A A5 55 cmp #$01 ; CPU:$C63C PRG:063C C9 01 - bne Label_C60F ; CPU:$C63E PRG:063E D0 CF + bne CheckZp14_Block_3 ; CPU:$C63E PRG:063E D0 CF lda Zp51 ; CPU:$C640 PRG:0640 A5 51 - beq Label_C60F ; CPU:$C642 PRG:0642 F0 CB + beq CheckZp14_Block_3 ; CPU:$C642 PRG:0642 F0 CB lda Zp66 ; CPU:$C644 PRG:0644 A5 66 cmp #$D4 ; CPU:$C646 PRG:0646 C9 D4 - bcs Label_C626 ; CPU:$C648 PRG:0648 B0 DC + bcs CheckZp14_Block_4 ; 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 Label_C664 ; CPU:$C659 PRG:0659 D0 09 + bne CheckZp14_Block_5 ; 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: Label_C664 +; Routine: CheckZp14_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +1488,7 @@ Label_C63A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C664: +CheckZp14_Block_5: tya ; CPU:$C664 PRG:0664 98 and #$0F ; CPU:$C665 PRG:0665 29 0F sta Zp14 ; CPU:$C667 PRG:0667 85 14 @@ -1501,10 +1503,10 @@ Label_C664: 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 Label_C67F ; CPU:$C67A PRG:067A D0 03 + bne CheckZp14_Block_6 ; CPU:$C67A PRG:067A D0 03 dec $03FB ; CPU:$C67C PRG:067C CE FB 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C67F +; Routine: CheckZp14_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1512,7 +1514,7 @@ Label_C664: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C67F: +CheckZp14_Block_6: rts ; CPU:$C67F PRG:067F 60 ; ---- data $C680-$C6FA (123 bytes) ---- ; referenced by `lda $C6F9,x` at $C6FE (operand $C6F9 falls inside this region) @@ -1529,7 +1531,7 @@ Label_C67F: .byte $7F, $32, $00, $23, $E0, $60, $00, $23, $C8, $02, $44, $55, $00, $2B, $C0, $71 ; CPU:$C6E0 PRG:06E0 7F 32 00 23 E0 60 00 23 C8 02 44 55 00 2B C0 71 .byte $00, $2B, $C8, $02, $44, $55, $00, $A0, $04, $10, $12 ; CPU:$C6F0 PRG:06F0 00 2B C8 02 44 55 00 A0 04 10 12 ; ----------------------------------------------------------------------------- -; Routine: Label_C6FB +; Routine: UpdateSprites3_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1537,13 +1539,13 @@ Label_C67F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6FB: +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 Zp00 ; CPU:$C70F PRG:070F 85 00 tay ; CPU:$C711 PRG:0711 A8 @@ -1551,7 +1553,7 @@ Label_C6FB: sta Zp01 ; CPU:$C714 PRG:0714 85 01 ldx #$02 ; CPU:$C716 PRG:0716 A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C718 +; Routine: UpdateSprites3_4_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1559,17 +1561,17 @@ Label_C6FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C718: - lda $2007 ; CPU:$C718 PRG:0718 AD 07 20 +UpdateSprites3_4_Block_2: + lda PPUDATA ; CPU:$C718 PRG:0718 AD 07 20 sta (Zp00),y ; CPU:$C71B PRG:071B 91 00 iny ; CPU:$C71D PRG:071D C8 - bne Label_C718 ; CPU:$C71E PRG:071E D0 F8 + bne UpdateSprites3_4_Block_2 ; CPU:$C71E PRG:071E D0 F8 inc Zp01 ; CPU:$C720 PRG:0720 E6 01 dex ; CPU:$C722 PRG:0722 CA - bne Label_C718 ; CPU:$C723 PRG:0723 D0 F3 + bne UpdateSprites3_4_Block_2 ; CPU:$C723 PRG:0723 D0 F3 rts ; CPU:$C725 PRG:0725 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C726 +; Routine: CheckZp55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1577,10 +1579,10 @@ Label_C718: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C726: +CheckZp55: lda Zp55 ; CPU:$C726 PRG:0726 A5 55 ; ----------------------------------------------------------------------------- -; Routine: Label_C728 +; Routine: UpdateSprites2_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1588,7 +1590,7 @@ Label_C726: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C728: +UpdateSprites2_7: asl a ; CPU:$C728 PRG:0728 0A tay ; CPU:$C729 PRG:0729 A8 pla ; CPU:$C72A PRG:072A 68 @@ -1601,9 +1603,9 @@ Label_C728: iny ; CPU:$C735 PRG:0735 C8 lda (Zp00),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 (Zp02) ; CPU:$C73A PRG:073A 6C 02 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C73D +; Routine: UpdateSprites3_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1611,7 +1613,7 @@ Label_C728: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C73D: +UpdateSprites3_5: sta Zp03 ; CPU:$C73D PRG:073D 85 03 txa ; CPU:$C73F PRG:073F 8A pha ; CPU:$C740 PRG:0740 48 @@ -1632,7 +1634,7 @@ Label_C73D: lda #$00 ; CPU:$C756 PRG:0756 A9 00 clc ; CPU:$C758 PRG:0758 18 ; ----------------------------------------------------------------------------- -; Routine: Label_C759 +; Routine: UpdateSprites3_5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1640,20 +1642,20 @@ Label_C73D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C759: +UpdateSprites3_5_Block: adc Zp07 ; CPU:$C759 PRG:0759 65 07 dex ; CPU:$C75B PRG:075B CA - bne Label_C759 ; CPU:$C75C PRG:075C D0 FB + bne UpdateSprites3_5_Block ; 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 Label_C76F ; CPU:$C763 PRG:0763 F0 0A + beq UpdateSprites3_5_Block_3 ; CPU:$C763 PRG:0763 F0 0A jsr $C777 ; CPU:$C765 PRG:0765 20 77 C7 lda Zp0F ; CPU:$C768 PRG:0768 A5 0F - beq Label_C76F ; CPU:$C76A PRG:076A F0 03 + beq UpdateSprites3_5_Block_3 ; CPU:$C76A PRG:076A F0 03 jsr $C7C1 ; CPU:$C76C PRG:076C 20 C1 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C76F +; Routine: UpdateSprites3_5_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1661,7 +1663,7 @@ Label_C759: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C76F: +UpdateSprites3_5_Block_3: jsr $C7F5 ; CPU:$C76F PRG:076F 20 F5 C7 pla ; CPU:$C772 PRG:0772 68 tay ; CPU:$C773 PRG:0773 A8 @@ -1669,7 +1671,7 @@ Label_C76F: tax ; CPU:$C775 PRG:0775 AA rts ; CPU:$C776 PRG:0776 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C777 +; Routine: UpdateSprites4_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1677,11 +1679,11 @@ Label_C76F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C777: +UpdateSprites4_1: lda Zp02 ; CPU:$C777 PRG:0777 A5 02 ldy #$01 ; CPU:$C779 PRG:0779 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C77B +; Routine: UpdateSprites4_1_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1689,7 +1691,7 @@ Label_C777: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C77B: +UpdateSprites4_1_Block_5: sta (Zp04),y ; CPU:$C77B PRG:077B 91 04 clc ; CPU:$C77D PRG:077D 18 adc #$01 ; CPU:$C77E PRG:077E 69 01 @@ -1704,18 +1706,18 @@ Label_C77B: 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 Label_C7A5 ; CPU:$C792 PRG:0792 30 11 + bmi UpdateSprites4_1_Block_4 ; CPU:$C792 PRG:0792 30 11 cpx #$18 ; CPU:$C794 PRG:0794 E0 18 - bcs Label_C7A5 ; CPU:$C796 PRG:0796 B0 0D + bcs UpdateSprites4_1_Block_4 ; CPU:$C796 PRG:0796 B0 0D ldx Zp55 ; CPU:$C798 PRG:0798 A6 55 dex ; CPU:$C79A PRG:079A CA - bne Label_C7A5 ; CPU:$C79B PRG:079B D0 08 + bne UpdateSprites4_1_Block_4 ; CPU:$C79B PRG:079B D0 08 ldx Zp09 ; CPU:$C79D PRG:079D A6 09 cpx #$03 ; CPU:$C79F PRG:079F E0 03 - beq Label_C7A5 ; CPU:$C7A1 PRG:07A1 F0 02 + beq UpdateSprites4_1_Block_4 ; CPU:$C7A1 PRG:07A1 F0 02 ora #$20 ; CPU:$C7A3 PRG:07A3 09 20 ; ----------------------------------------------------------------------------- -; Routine: Label_C7A5 +; Routine: UpdateSprites4_1_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1723,7 +1725,7 @@ Label_C77B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7A5: +UpdateSprites4_1_Block_4: sta (Zp04),y ; CPU:$C7A5 PRG:07A5 91 04 pla ; CPU:$C7A7 PRG:07A7 68 tax ; CPU:$C7A8 PRG:07A8 AA @@ -1740,10 +1742,10 @@ Label_C7A5: iny ; CPU:$C7BB PRG:07BB C8 iny ; CPU:$C7BC PRG:07BC C8 dex ; CPU:$C7BD PRG:07BD CA - bne Label_C77B ; CPU:$C7BE PRG:07BE D0 BB + bne UpdateSprites4_1_Block_5 ; CPU:$C7BE PRG:07BE D0 BB rts ; CPU:$C7C0 PRG:07C0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C7C1 +; Routine: UpdateSprites4_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1751,11 +1753,11 @@ Label_C7A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7C1: +UpdateSprites4_3: ldy #$01 ; CPU:$C7C1 PRG:07C1 A0 01 sty Zp0A ; CPU:$C7C3 PRG:07C3 84 0A ; ----------------------------------------------------------------------------- -; Routine: Label_C7C5 +; Routine: SubCC7C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1763,12 +1765,12 @@ Label_C7C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7C5: +SubCC7C5: lda Zp08 ; CPU:$C7C5 PRG:07C5 A5 08 sec ; CPU:$C7C7 PRG:07C7 38 sbc Zp06 ; CPU:$C7C8 PRG:07C8 E5 06 ; ----------------------------------------------------------------------------- -; Routine: Label_C7CA +; Routine: UpdateSprites4_3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1776,12 +1778,12 @@ Label_C7C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7CA: +UpdateSprites4_3_Block_2: tay ; CPU:$C7CA PRG:07CA A8 sta Zp0B ; CPU:$C7CB PRG:07CB 85 0B ldx Zp06 ; CPU:$C7CD PRG:07CD A6 06 ; ----------------------------------------------------------------------------- -; Routine: Label_C7CF +; Routine: UpdateSprites4_3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1789,7 +1791,7 @@ Label_C7CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7CF: +UpdateSprites4_3_Block: tya ; CPU:$C7CF PRG:07CF 98 pha ; CPU:$C7D0 PRG:07D0 48 clc ; CPU:$C7D1 PRG:07D1 18 @@ -1810,14 +1812,14 @@ Label_C7CF: tay ; CPU:$C7E8 PRG:07E8 A8 iny ; CPU:$C7E9 PRG:07E9 C8 dex ; CPU:$C7EA PRG:07EA CA - bne Label_C7CF ; CPU:$C7EB PRG:07EB D0 E2 + bne UpdateSprites4_3_Block ; 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 Label_C7CA ; CPU:$C7F2 PRG:07F2 10 D6 + bpl UpdateSprites4_3_Block_2 ; CPU:$C7F2 PRG:07F2 10 D6 rts ; CPU:$C7F4 PRG:07F4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C7F5 +; Routine: UpdateSprites4_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1825,10 +1827,10 @@ Label_C7CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7F5: +UpdateSprites4_4: ldy #$00 ; CPU:$C7F5 PRG:07F5 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C7F7 +; Routine: UpdateSprites4_4_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1836,12 +1838,12 @@ Label_C7F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7F7: +UpdateSprites4_4_Block_2: ldx Zp06 ; CPU:$C7F7 PRG:07F7 A6 06 lda Zp01 ; CPU:$C7F9 PRG:07F9 A5 01 sta Zp09 ; CPU:$C7FB PRG:07FB 85 09 ; ----------------------------------------------------------------------------- -; Routine: Label_C7FD +; Routine: UpdateSprites4_4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1849,7 +1851,7 @@ Label_C7F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7FD: +UpdateSprites4_4_Block: lda Zp09 ; CPU:$C7FD PRG:07FD A5 09 sta (Zp04),y ; CPU:$C7FF PRG:07FF 91 04 clc ; CPU:$C801 PRG:0801 18 @@ -1862,10 +1864,10 @@ Label_C7FD: sta (Zp04),y ; CPU:$C80B PRG:080B 91 04 iny ; CPU:$C80D PRG:080D C8 dex ; CPU:$C80E PRG:080E CA - bne Label_C7FD ; CPU:$C80F PRG:080F D0 EC + bne UpdateSprites4_4_Block ; CPU:$C80F PRG:080F D0 EC lda Zp00 ; CPU:$C811 PRG:0811 A5 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C813 +; Routine: SubCC813 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1873,15 +1875,15 @@ Label_C7FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C813: +SubCC813: clc ; CPU:$C813 PRG:0813 18 adc #$08 ; CPU:$C814 PRG:0814 69 08 sta Zp00 ; CPU:$C816 PRG:0816 85 00 dec Zp07 ; CPU:$C818 PRG:0818 C6 07 - bne Label_C7F7 ; CPU:$C81A PRG:081A D0 DB + bne UpdateSprites4_4_Block_2 ; CPU:$C81A PRG:081A D0 DB rts ; CPU:$C81C PRG:081C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C81D +; Routine: GameLoopEntry_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +1891,11 @@ Label_C813: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C81D: +GameLoopEntry_5: ldx #$40 ; CPU:$C81D PRG:081D A2 40 lda #$00 ; CPU:$C81F PRG:081F A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C821 +; Routine: InitGameState ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1901,13 +1903,13 @@ Label_C81D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C821: +InitGameState: sta Zp04 ; CPU:$C821 PRG:0821 85 04 lda #$02 ; CPU:$C823 PRG:0823 A9 02 sta Zp05 ; CPU:$C825 PRG:0825 85 05 ldy #$00 ; CPU:$C827 PRG:0827 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C829 +; Routine: InitGameState_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1915,7 +1917,7 @@ Label_C821: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C829: +InitGameState_Block: lda #$F8 ; CPU:$C829 PRG:0829 A9 F8 sta (Zp04),y ; CPU:$C82B PRG:082B 91 04 iny ; CPU:$C82D PRG:082D C8 @@ -1925,13 +1927,13 @@ Label_C829: iny ; CPU:$C833 PRG:0833 C8 iny ; CPU:$C834 PRG:0834 C8 dex ; CPU:$C835 PRG:0835 CA - bne Label_C829 ; CPU:$C836 PRG:0836 D0 F1 + bne InitGameState_Block ; 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) .byte $22, $17, $22, $27 ; CPU:$C839 PRG:0839 22 17 22 27 ; ----------------------------------------------------------------------------- -; Routine: Label_C83D +; Routine: UpdateSprites2_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1939,11 +1941,11 @@ Label_C829: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C83D: +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 Label_C853 ; CPU:$C842 PRG:0842 D0 0F + bne UpdateSprites2_8_Block ; 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 @@ -1952,7 +1954,7 @@ Label_C83D: inc ZpE0,x ; CPU:$C84E PRG:084E F6 E0 jmp $C868 ; CPU:$C850 PRG:0850 4C 68 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C853 +; Routine: UpdateSprites2_8_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +1962,10 @@ Label_C83D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C853: +UpdateSprites2_8_Block: lda ZpE6,x ; CPU:$C853 PRG:0853 B5 E6 cmp #$08 ; CPU:$C855 PRG:0855 C9 08 - bcs Label_C868 ; CPU:$C857 PRG:0857 B0 0F + bcs UpdateSprites2_9 ; CPU:$C857 PRG:0857 B0 0F ldy Zp2F,x ; CPU:$C859 PRG:0859 B4 2F lda ZpE8,x ; CPU:$C85B PRG:085B B5 E8 adc $C839,y ; CPU:$C85D PRG:085D 79 39 C8 @@ -1972,7 +1974,7 @@ Label_C853: adc #$00 ; CPU:$C864 PRG:0864 69 00 sta ZpE6,x ; CPU:$C866 PRG:0866 95 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_C868 +; Routine: UpdateSprites2_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1980,7 +1982,7 @@ Label_C853: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C868: +UpdateSprites2_9: lda ZpEA,x ; CPU:$C868 PRG:0868 B5 EA sec ; CPU:$C86A PRG:086A 38 sbc ZpE2,x ; CPU:$C86B PRG:086B F5 E2 @@ -1998,7 +2000,7 @@ Label_C868: ldx Zp0F ; CPU:$C880 PRG:0880 A6 0F rts ; CPU:$C882 PRG:0882 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C883 +; Routine: InitSprites2_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2006,7 +2008,7 @@ Label_C868: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C883: +InitSprites2_1: lda #$10 ; CPU:$C883 PRG:0883 A9 10 jsr $C148 ; CPU:$C885 PRG:0885 20 48 C1 lda #$00 ; CPU:$C888 PRG:0888 A9 00 @@ -2014,7 +2016,7 @@ Label_C883: sta Zp13 ; CPU:$C88C PRG:088C 85 13 jmp $CB81 ; CPU:$C88E PRG:088E 4C 81 CB ; ----------------------------------------------------------------------------- -; Routine: Label_C891 +; Routine: ClearSpriteRAM ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2022,14 +2024,14 @@ Label_C883: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C891: +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 ; ----------------------------------------------------------------------------- -; Routine: Label_C89A +; Routine: UpdateSprites2_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2037,13 +2039,13 @@ Label_C891: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C89A: +UpdateSprites2_10: jsr $C891 ; CPU:$C89A PRG:089A 20 91 C8 lda #$20 ; CPU:$C89D PRG:089D A9 20 jsr $C8A4 ; CPU:$C89F PRG:089F 20 A4 C8 lda #$28 ; CPU:$C8A2 PRG:08A2 A9 28 ; ----------------------------------------------------------------------------- -; Routine: Label_C8A4 +; Routine: UpdateSprites2_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,21 +2053,21 @@ Label_C89A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8A4: +UpdateSprites2_11: sta Zp00 ; 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 Zp10 ; 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 Zp00 ; 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 ; ----------------------------------------------------------------------------- -; Routine: Label_C8BF +; Routine: UpdateSprites2_11_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2073,22 +2075,22 @@ Label_C8A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8BF: - sta $2007 ; CPU:$C8BF PRG:08BF 8D 07 20 +UpdateSprites2_11_Block_2: + sta PPUDATA ; CPU:$C8BF PRG:08BF 8D 07 20 dey ; CPU:$C8C2 PRG:08C2 88 - bne Label_C8BF ; CPU:$C8C3 PRG:08C3 D0 FA + bne UpdateSprites2_11_Block_2 ; CPU:$C8C3 PRG:08C3 D0 FA dex ; CPU:$C8C5 PRG:08C5 CA - bne Label_C8BF ; CPU:$C8C6 PRG:08C6 D0 F7 + bne UpdateSprites2_11_Block_2 ; CPU:$C8C6 PRG:08C6 D0 F7 lda Zp00 ; 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 ; ----------------------------------------------------------------------------- -; Routine: Label_C8D9 +; Routine: UpdateSprites2_11_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2096,13 +2098,13 @@ Label_C8BF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8D9: - sta $2007 ; CPU:$C8D9 PRG:08D9 8D 07 20 +UpdateSprites2_11_Block_3: + sta PPUDATA ; CPU:$C8D9 PRG:08D9 8D 07 20 dey ; CPU:$C8DC PRG:08DC 88 - bne Label_C8D9 ; CPU:$C8DD PRG:08DD D0 FA + bne UpdateSprites2_11_Block_3 ; CPU:$C8DD PRG:08DD D0 FA rts ; CPU:$C8DF PRG:08DF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C8E0 +; Routine: UpdateSprites3_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +2112,7 @@ Label_C8D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8E0: +UpdateSprites3_6: sta Zp00 ; CPU:$C8E0 PRG:08E0 85 00 ldx Zp00 ; CPU:$C8E2 PRG:08E2 A6 00 jsr $C8EE ; CPU:$C8E4 PRG:08E4 20 EE C8 @@ -2121,7 +2123,7 @@ Label_C8E0: lsr a ; CPU:$C8EC PRG:08EC 4A tax ; CPU:$C8ED PRG:08ED AA ; ----------------------------------------------------------------------------- -; Routine: Label_C8EE +; Routine: UpdateSprites4_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2129,12 +2131,12 @@ Label_C8E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8EE: +UpdateSprites4_5: inx ; CPU:$C8EE PRG:08EE E8 txa ; CPU:$C8EF PRG:08EF 8A and #$0F ; CPU:$C8F0 PRG:08F0 29 0F cmp #$09 ; CPU:$C8F2 PRG:08F2 C9 09 - bcs Label_C94A ; CPU:$C8F4 PRG:08F4 B0 54 + bcs UpdateSprites4_5_Block_2 ; 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 @@ -2161,7 +2163,7 @@ Label_C8EE: sta $0301,x ; CPU:$C927 PRG:0927 9D 01 03 iny ; CPU:$C92A PRG:092A C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C92B +; Routine: UpdateSprites4_5_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2169,13 +2171,13 @@ Label_C8EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C92B: +UpdateSprites4_5_Block_3: 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 Label_C94A ; CPU:$C936 PRG:0936 F0 12 + beq UpdateSprites4_5_Block_2 ; 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 @@ -2186,9 +2188,9 @@ Label_C92B: 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 Label_C92B ; CPU:$C948 PRG:0948 D0 E1 + bne UpdateSprites4_5_Block_3 ; CPU:$C948 PRG:0948 D0 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_C94A +; Routine: UpdateSprites4_5_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2196,10 +2198,10 @@ Label_C92B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C94A: +UpdateSprites4_5_Block_2: rts ; CPU:$C94A PRG:094A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C94B +; Routine: UpdateSprites5_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2207,7 +2209,7 @@ Label_C94A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C94B: +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 @@ -2218,10 +2220,10 @@ Label_C94B: stx Zp07 ; CPU:$C95A PRG:095A 86 07 lda Zp01 ; CPU:$C95C PRG:095C A5 01 and #$08 ; CPU:$C95E PRG:095E 29 08 - bne Label_C963 ; CPU:$C960 PRG:0960 D0 01 + bne UpdateSprites5_1_Block ; CPU:$C960 PRG:0960 D0 01 inx ; CPU:$C962 PRG:0962 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_C963 +; Routine: UpdateSprites5_1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2229,7 +2231,7 @@ Label_C94B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C963: +UpdateSprites5_1_Block: lda Zp00 ; CPU:$C963 PRG:0963 A5 00 sta Zp06,x ; CPU:$C965 PRG:0965 95 06 lda Zp01 ; CPU:$C967 PRG:0967 A5 01 @@ -2238,11 +2240,11 @@ Label_C963: asl a ; CPU:$C96C PRG:096C 0A tax ; CPU:$C96D PRG:096D AA lda Zp04 ; CPU:$C96E PRG:096E A5 04 - beq Label_C995 ; CPU:$C970 PRG:0970 F0 23 + beq UpdateSprites5_1_Block_2 ; CPU:$C970 PRG:0970 F0 23 lda $07F0,x ; CPU:$C972 PRG:0972 BD F0 07 - beq Label_C99A ; CPU:$C975 PRG:0975 F0 23 + beq UpdateSprites5_1_Block_3 ; CPU:$C975 PRG:0975 F0 23 ; ----------------------------------------------------------------------------- -; Routine: Label_C977 +; Routine: UpdateSprites5_1_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2250,7 +2252,7 @@ Label_C963: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C977: +UpdateSprites5_1_Block_4: clc ; CPU:$C977 PRG:0977 18 jsr $CA44 ; CPU:$C978 PRG:0978 20 44 CA jsr $C9D7 ; CPU:$C97B PRG:097B 20 D7 C9 @@ -2264,7 +2266,7 @@ Label_C977: jsr $C9D7 ; CPU:$C98F PRG:098F 20 D7 C9 jmp $CA40 ; CPU:$C992 PRG:0992 4C 40 CA ; ----------------------------------------------------------------------------- -; Routine: Label_C995 +; Routine: UpdateSprites5_1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +2274,11 @@ Label_C977: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C995: +UpdateSprites5_1_Block_2: lda $07F0,x ; CPU:$C995 PRG:0995 BD F0 07 - beq Label_C977 ; CPU:$C998 PRG:0998 F0 DD + beq UpdateSprites5_1_Block_4 ; CPU:$C998 PRG:0998 F0 DD ; ----------------------------------------------------------------------------- -; Routine: Label_C99A +; Routine: UpdateSprites5_1_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2284,7 +2286,7 @@ Label_C995: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C99A: +UpdateSprites5_1_Block_3: sec ; CPU:$C99A PRG:099A 38 jsr $CA44 ; CPU:$C99B PRG:099B 20 44 CA jsr $CA29 ; CPU:$C99E PRG:099E 20 29 CA @@ -2294,13 +2296,13 @@ Label_C99A: 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 Label_C9BB ; CPU:$C9AF PRG:09AF D0 0A + bne UpdateSprites5_1_Block_6 ; CPU:$C9AF PRG:09AF D0 0A lda $07F2,x ; CPU:$C9B1 PRG:09B1 BD F2 07 - bne Label_C9BB ; CPU:$C9B4 PRG:09B4 D0 05 + bne UpdateSprites5_1_Block_6 ; CPU:$C9B4 PRG:09B4 D0 05 lda $07F3,x ; CPU:$C9B6 PRG:09B6 BD F3 07 - beq Label_C9C2 ; CPU:$C9B9 PRG:09B9 F0 07 + beq UpdateSprites5_1_Block_7 ; CPU:$C9B9 PRG:09B9 F0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_C9BB +; Routine: UpdateSprites5_1_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2308,12 +2310,12 @@ Label_C99A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9BB: - bcs Label_C9D6 ; CPU:$C9BB PRG:09BB B0 19 +UpdateSprites5_1_Block_6: + bcs UpdateSprites5_1_Block_8 ; 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: Label_C9C2 +; Routine: UpdateSprites5_1_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2321,7 +2323,7 @@ Label_C9BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9C2: +UpdateSprites5_1_Block_7: sta $07F0,x ; CPU:$C9C2 PRG:09C2 9D F0 07 sec ; CPU:$C9C5 PRG:09C5 38 lda #$00 ; CPU:$C9C6 PRG:09C6 A9 00 @@ -2331,7 +2333,7 @@ Label_C9C2: jsr $CA33 ; CPU:$C9D0 PRG:09D0 20 33 CA jsr $CA3D ; CPU:$C9D3 PRG:09D3 20 3D CA ; ----------------------------------------------------------------------------- -; Routine: Label_C9D6 +; Routine: UpdateSprites5_1_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +2341,10 @@ Label_C9C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9D6: +UpdateSprites5_1_Block_8: rts ; CPU:$C9D6 PRG:09D6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C9D7 +; Routine: UpdateSprites6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +2352,14 @@ Label_C9D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9D7: +UpdateSprites6: jsr $CA1A ; CPU:$C9D7 PRG:09D7 20 1A CA adc Zp01 ; CPU:$C9DA PRG:09DA 65 01 cmp #$0A ; CPU:$C9DC PRG:09DC C9 0A - bcc Label_C9E2 ; CPU:$C9DE PRG:09DE 90 02 + bcc UpdateSprites6_Block ; CPU:$C9DE PRG:09DE 90 02 adc #$05 ; CPU:$C9E0 PRG:09E0 69 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C9E2 +; Routine: UpdateSprites6_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2365,16 +2367,16 @@ Label_C9D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9E2: +UpdateSprites6_Block: clc ; CPU:$C9E2 PRG:09E2 18 adc Zp02 ; CPU:$C9E3 PRG:09E3 65 02 sta Zp02 ; 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 Label_C9F3 ; CPU:$C9ED PRG:09ED 90 04 + bcc UpdateSprites6_Block_2 ; CPU:$C9ED PRG:09ED 90 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C9EF +; Routine: UpdateSprites6_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +2384,12 @@ Label_C9E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9EF: +UpdateSprites6_Block_3: adc #$5F ; CPU:$C9EF PRG:09EF 69 5F sec ; CPU:$C9F1 PRG:09F1 38 rts ; CPU:$C9F2 PRG:09F2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C9F3 +; Routine: UpdateSprites6_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2395,12 +2397,12 @@ Label_C9EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9F3: +UpdateSprites6_Block_2: cmp #$A0 ; CPU:$C9F3 PRG:09F3 C9 A0 - bcs Label_C9EF ; CPU:$C9F5 PRG:09F5 B0 F8 + bcs UpdateSprites6_Block_3 ; CPU:$C9F5 PRG:09F5 B0 F8 rts ; CPU:$C9F7 PRG:09F7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C9F8 +; Routine: UpdateSprites7_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2408,13 +2410,13 @@ Label_C9F3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9F8: +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 Label_CA0B ; CPU:$C9FF PRG:09FF B0 0A + bcs UpdateSprites7_1_Block ; CPU:$C9FF PRG:09FF B0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_CA01 +; Routine: SubCCA01 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2422,10 +2424,10 @@ Label_C9F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA01: +SubCCA01: adc #$0A ; CPU:$CA01 PRG:0A01 69 0A ; ----------------------------------------------------------------------------- -; Routine: Label_CA03 +; Routine: SubCCA03 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2433,13 +2435,13 @@ Label_CA01: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA03: +SubCCA03: sta Zp01 ; CPU:$CA03 PRG:0A03 85 01 lda Zp02 ; CPU:$CA05 PRG:0A05 A5 02 adc #$0F ; CPU:$CA07 PRG:0A07 69 0F sta Zp02 ; CPU:$CA09 PRG:0A09 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CA0B +; Routine: UpdateSprites7_1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2447,16 +2449,16 @@ Label_CA03: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA0B: +UpdateSprites7_1_Block: 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 Label_CA17 ; CPU:$CA12 PRG:0A12 B0 03 + bcs UpdateSprites7_1_Block_2 ; CPU:$CA12 PRG:0A12 B0 03 adc #$A0 ; CPU:$CA14 PRG:0A14 69 A0 clc ; CPU:$CA16 PRG:0A16 18 ; ----------------------------------------------------------------------------- -; Routine: Label_CA17 +; Routine: UpdateSprites7_1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2464,11 +2466,11 @@ Label_CA0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA17: +UpdateSprites7_1_Block_2: ora Zp01 ; CPU:$CA17 PRG:0A17 05 01 rts ; CPU:$CA19 PRG:0A19 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA1A +; Routine: UpdateSprites7_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +2478,7 @@ Label_CA17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA1A: +UpdateSprites7_3: pha ; CPU:$CA1A PRG:0A1A 48 and #$0F ; CPU:$CA1B PRG:0A1B 29 0F sta Zp01 ; CPU:$CA1D PRG:0A1D 85 01 @@ -2487,7 +2489,7 @@ Label_CA1A: and #$0F ; CPU:$CA26 PRG:0A26 29 0F rts ; CPU:$CA28 PRG:0A28 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA29 +; Routine: UpdateSprites8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2495,10 +2497,10 @@ Label_CA1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA29: +UpdateSprites8: jsr $C9F8 ; CPU:$CA29 PRG:0A29 20 F8 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_CA2C +; Routine: SubCCA2C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +2508,12 @@ Label_CA29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA2C: +SubCCA2C: 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 ; ----------------------------------------------------------------------------- -; Routine: Label_CA33 +; Routine: UpdateSprites9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +2521,10 @@ Label_CA2C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA33: +UpdateSprites9: jsr $C9F8 ; CPU:$CA33 PRG:0A33 20 F8 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_CA36 +; Routine: UpdateSprites10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +2532,12 @@ Label_CA33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA36: +UpdateSprites10: sta $07F2,x ; CPU:$CA36 PRG:0A36 9D F2 07 lda $07F1,x ; CPU:$CA39 PRG:0A39 BD F1 07 rts ; CPU:$CA3C PRG:0A3C 60 ; ----------------------------------------------------------------------------- -; 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. @@ -2543,10 +2545,10 @@ Label_CA36: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA3D: +SubCCA3D: jsr $C9F8 ; CPU:$CA3D PRG:0A3D 20 F8 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_CA40 +; Routine: UpdateSprites11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2554,11 +2556,11 @@ Label_CA3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA40: +UpdateSprites11: sta $07F1,x ; CPU:$CA40 PRG:0A40 9D F1 07 rts ; CPU:$CA43 PRG:0A43 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA44 +; Routine: UpdateSprites12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2566,13 +2568,13 @@ Label_CA40: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA44: +UpdateSprites12: lda $07F3,x ; CPU:$CA44 PRG:0A44 BD F3 07 sta Zp03 ; CPU:$CA47 PRG:0A47 85 03 lda Zp07 ; CPU:$CA49 PRG:0A49 A5 07 rts ; CPU:$CA4B PRG:0A4B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA4C +; Routine: UpdateSprites13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2580,7 +2582,7 @@ Label_CA44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA4C: +UpdateSprites13: lda #$00 ; CPU:$CA4C PRG:0A4C A9 00 sta Zp04 ; CPU:$CA4E PRG:0A4E 85 04 clc ; CPU:$CA50 PRG:0A50 18 @@ -2596,7 +2598,7 @@ Label_CA4C: asl a ; CPU:$CA5F PRG:0A5F 0A tax ; CPU:$CA60 PRG:0A60 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CA61 +; Routine: UpdateSprites13_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2604,13 +2606,13 @@ Label_CA4C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA61: +UpdateSprites13_Block_9: lda $07EC,y ; CPU:$CA61 PRG:0A61 B9 EC 07 - beq Label_CAC1 ; CPU:$CA64 PRG:0A64 F0 5B + beq UpdateSprites13_Block ; CPU:$CA64 PRG:0A64 F0 5B lda $07F0,x ; CPU:$CA66 PRG:0A66 BD F0 07 - beq Label_CA94 ; CPU:$CA69 PRG:0A69 F0 29 + beq UpdateSprites13_Block_11 ; CPU:$CA69 PRG:0A69 F0 29 ; ----------------------------------------------------------------------------- -; Routine: Label_CA6B +; Routine: UpdateSprites13_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +2620,7 @@ Label_CA61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA6B: +UpdateSprites13_Block_10: sec ; CPU:$CA6B PRG:0A6B 38 lda $07EF,y ; CPU:$CA6C PRG:0A6C B9 EF 07 sta Zp03 ; CPU:$CA6F PRG:0A6F 85 03 @@ -2632,11 +2634,11 @@ Label_CA6B: 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 Label_CAC6 ; CPU:$CA8D PRG:0A8D B0 37 + bcs UpdateSprites13_Block_3 ; CPU:$CA8D PRG:0A8D B0 37 lda $07EC,y ; CPU:$CA8F PRG:0A8F B9 EC 07 - bne Label_CACB ; CPU:$CA92 PRG:0A92 D0 37 + bne UpdateSprites13_Block_4 ; CPU:$CA92 PRG:0A92 D0 37 ; ----------------------------------------------------------------------------- -; Routine: Label_CA94 +; Routine: UpdateSprites13_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +2646,12 @@ Label_CA6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA94: +UpdateSprites13_Block_11: lda #$FF ; CPU:$CA94 PRG:0A94 A9 FF sta Zp04 ; CPU:$CA96 PRG:0A96 85 04 sec ; CPU:$CA98 PRG:0A98 38 ; ----------------------------------------------------------------------------- -; Routine: Label_CA99 +; Routine: UpdateSprites13_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2657,17 +2659,17 @@ Label_CA94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA99: +UpdateSprites13_Block_12: tya ; CPU:$CA99 PRG:0A99 98 - bne Label_CAC0 ; CPU:$CA9A PRG:0A9A D0 24 - bcc Label_CAB4 ; CPU:$CA9C PRG:0A9C 90 16 + bne UpdateSprites13_Block_8 ; CPU:$CA9A PRG:0A9A D0 24 + bcc UpdateSprites13_Block_6 ; 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: Label_CAA4 +; Routine: UpdateSprites13_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +2677,19 @@ Label_CA99: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAA4: +UpdateSprites13_Block_7: 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 Label_CAA4 ; CPU:$CAAE PRG:0AAE 90 F4 + bcc UpdateSprites13_Block_7 ; 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: Label_CAB4 +; Routine: UpdateSprites13_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2695,17 +2697,17 @@ Label_CAA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAB4: +UpdateSprites13_Block_6: lda Zp00 ; CPU:$CAB4 PRG:0AB4 A5 00 and #$08 ; CPU:$CAB6 PRG:0AB6 29 08 - beq Label_CAC0 ; CPU:$CAB8 PRG:0AB8 F0 06 + beq UpdateSprites13_Block_8 ; 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 Label_CA61 ; CPU:$CABE PRG:0ABE 10 A1 + bpl UpdateSprites13_Block_9 ; CPU:$CABE PRG:0ABE 10 A1 ; ----------------------------------------------------------------------------- -; Routine: Label_CAC0 +; Routine: UpdateSprites13_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2713,10 +2715,10 @@ Label_CAB4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAC0: +UpdateSprites13_Block_8: rts ; CPU:$CAC0 PRG:0AC0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CAC1 +; Routine: UpdateSprites13_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2724,11 +2726,11 @@ Label_CAC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAC1: +UpdateSprites13_Block: lda $07F0,x ; CPU:$CAC1 PRG:0AC1 BD F0 07 - beq Label_CA6B ; CPU:$CAC4 PRG:0AC4 F0 A5 + beq UpdateSprites13_Block_10 ; CPU:$CAC4 PRG:0AC4 F0 A5 ; ----------------------------------------------------------------------------- -; Routine: Label_CAC6 +; Routine: UpdateSprites13_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2736,11 +2738,11 @@ Label_CAC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAC6: +UpdateSprites13_Block_3: lda $07EC,y ; CPU:$CAC6 PRG:0AC6 B9 EC 07 - bne Label_CA94 ; CPU:$CAC9 PRG:0AC9 D0 C9 + bne UpdateSprites13_Block_11 ; CPU:$CAC9 PRG:0AC9 D0 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_CACB +; Routine: UpdateSprites13_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +2750,11 @@ Label_CAC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CACB: +UpdateSprites13_Block_4: clc ; CPU:$CACB PRG:0ACB 18 - bcc Label_CA99 ; CPU:$CACC PRG:0ACC 90 CB + bcc UpdateSprites13_Block_12 ; CPU:$CACC PRG:0ACC 90 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CACE +; Routine: InitSprites_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +2762,14 @@ Label_CACB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CACE: +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 Label_CAD8 ; CPU:$CAD4 PRG:0AD4 D0 02 + bne InitSprites_4_Block ; CPU:$CAD4 PRG:0AD4 D0 02 lda #$37 ; CPU:$CAD6 PRG:0AD6 A9 37 ; ----------------------------------------------------------------------------- -; Routine: Label_CAD8 +; Routine: InitSprites_4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +2777,17 @@ Label_CACE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAD8: +InitSprites_4_Block: and #$02 ; CPU:$CAD8 PRG:0AD8 29 02 sta Zp00 ; 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 clc ; CPU:$CAE2 PRG:0AE2 18 - beq Label_CAE6 ; CPU:$CAE3 PRG:0AE3 F0 01 + beq InitSprites_4_Block_3 ; CPU:$CAE3 PRG:0AE3 F0 01 sec ; CPU:$CAE5 PRG:0AE5 38 ; ----------------------------------------------------------------------------- -; Routine: Label_CAE6 +; Routine: InitSprites_4_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2793,14 +2795,14 @@ Label_CAD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAE6: +InitSprites_4_Block_3: ror Zp18,x ; CPU:$CAE6 PRG:0AE6 76 18 inx ; CPU:$CAE8 PRG:0AE8 E8 dey ; CPU:$CAE9 PRG:0AE9 88 - bne Label_CAE6 ; CPU:$CAEA PRG:0AEA D0 FA + bne InitSprites_4_Block_3 ; CPU:$CAEA PRG:0AEA D0 FA rts ; CPU:$CAEC PRG:0AEC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CAED +; Routine: InitSprites3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +2810,17 @@ Label_CAE6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAED: +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 ; ----------------------------------------------------------------------------- -; Routine: Label_CB00 +; Routine: UpdateController ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2826,10 +2828,10 @@ Label_CAED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB00: +UpdateController: ldy #$08 ; CPU:$CB00 PRG:0B00 A0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_CB02 +; Routine: UpdateController_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,9 +2839,9 @@ Label_CB00: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB02: +UpdateController_Block: 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 Zp00 ; CPU:$CB06 PRG:0B06 85 00 lsr a ; CPU:$CB08 PRG:0B08 4A ora Zp00 ; CPU:$CB09 PRG:0B09 05 00 @@ -2847,7 +2849,7 @@ Label_CB02: pla ; CPU:$CB0C PRG:0B0C 68 rol a ; CPU:$CB0D PRG:0B0D 2A dey ; CPU:$CB0E PRG:0B0E 88 - bne Label_CB02 ; CPU:$CB0F PRG:0B0F D0 F1 + 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 @@ -2857,7 +2859,7 @@ Label_CB02: sta Zp15,x ; CPU:$CB1D PRG:0B1D 95 15 ldy #$04 ; CPU:$CB1F PRG:0B1F A0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_CB21 +; Routine: UpdateController_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2865,15 +2867,15 @@ Label_CB02: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB21: +UpdateController_Block_3: lda Zp02 ; CPU:$CB21 PRG:0B21 A5 02 bit Zp00 ; CPU:$CB23 PRG:0B23 24 00 - beq Label_CB2D ; CPU:$CB25 PRG:0B25 F0 06 + beq UpdateController_Block_2 ; CPU:$CB25 PRG:0B25 F0 06 lda Zp15,x ; CPU:$CB27 PRG:0B27 B5 15 and Zp01 ; CPU:$CB29 PRG:0B29 25 01 sta Zp15,x ; CPU:$CB2B PRG:0B2B 95 15 ; ----------------------------------------------------------------------------- -; Routine: Label_CB2D +; Routine: UpdateController_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2881,14 +2883,14 @@ Label_CB21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB2D: +UpdateController_Block_2: sec ; CPU:$CB2D PRG:0B2D 38 ror Zp01 ; CPU:$CB2E PRG:0B2E 66 01 lsr Zp02 ; CPU:$CB30 PRG:0B30 46 02 dey ; CPU:$CB32 PRG:0B32 88 - bne Label_CB21 ; CPU:$CB33 PRG:0B33 D0 EC + bne UpdateController_Block_3 ; CPU:$CB33 PRG:0B33 D0 EC ; ----------------------------------------------------------------------------- -; Routine: Label_CB35 +; Routine: UpdateController2_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2896,14 +2898,14 @@ Label_CB2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB35: +UpdateController2_4: lda #$7F ; CPU:$CB35 PRG:0B35 A9 7F sta Zp01 ; CPU:$CB37 PRG:0B37 85 01 lda #$80 ; CPU:$CB39 PRG:0B39 A9 80 sta Zp02 ; CPU:$CB3B PRG:0B3B 85 02 rts ; CPU:$CB3D PRG:0B3D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB3E +; Routine: UpdateSprites_4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,21 +2913,21 @@ Label_CB35: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB3E: - sta $2006 ; CPU:$CB3E PRG:0B3E 8D 06 20 +UpdateSprites_4_Block: + sta PPUADDR ; CPU:$CB3E PRG:0B3E 8D 06 20 iny ; CPU:$CB41 PRG:0B41 C8 lda (Zp00),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 (Zp00),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 ora #$04 ; CPU:$CB4E PRG:0B4E 09 04 - bcs Label_CB54 ; CPU:$CB50 PRG:0B50 B0 02 + bcs UpdateController2_4_Block ; CPU:$CB50 PRG:0B50 B0 02 and #$FB ; CPU:$CB52 PRG:0B52 29 FB ; ----------------------------------------------------------------------------- -; Routine: Label_CB54 +; Routine: UpdateController2_4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2933,15 +2935,15 @@ Label_CB3E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB54: +UpdateController2_4_Block: jsr $C148 ; CPU:$CB54 PRG:0B54 20 48 C1 pla ; CPU:$CB57 PRG:0B57 68 asl a ; CPU:$CB58 PRG:0B58 0A - bcc Label_CB5E ; CPU:$CB59 PRG:0B59 90 03 + bcc UpdateController2_4_Block_2 ; CPU:$CB59 PRG:0B59 90 03 ora #$02 ; CPU:$CB5B PRG:0B5B 09 02 iny ; CPU:$CB5D PRG:0B5D C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CB5E +; Routine: UpdateController2_4_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2949,12 +2951,12 @@ Label_CB54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB5E: +UpdateController2_4_Block_2: lsr a ; CPU:$CB5E PRG:0B5E 4A lsr a ; CPU:$CB5F PRG:0B5F 4A tax ; CPU:$CB60 PRG:0B60 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CB61 +; Routine: UpdateController2_4_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2962,11 +2964,11 @@ Label_CB5E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB61: - bcs Label_CB64 ; CPU:$CB61 PRG:0B61 B0 01 +UpdateController2_4_Block_4: + bcs UpdateController2_4_Block_3 ; CPU:$CB61 PRG:0B61 B0 01 iny ; CPU:$CB63 PRG:0B63 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CB64 +; Routine: UpdateController2_4_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +2976,11 @@ Label_CB61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB64: +UpdateController2_4_Block_3: lda (Zp00),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 + bne UpdateController2_4_Block_4 ; 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 @@ -2987,7 +2989,7 @@ Label_CB64: adc Zp01 ; CPU:$CB74 PRG:0B74 65 01 sta Zp01 ; CPU:$CB76 PRG:0B76 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_CB78 +; Routine: UpdateSprites_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2995,13 +2997,13 @@ Label_CB64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB78: - ldx $2002 ; CPU:$CB78 PRG:0B78 AE 02 20 +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 Label_CB3E ; CPU:$CB7F PRG:0B7F D0 BD + bne UpdateSprites_4_Block ; CPU:$CB7F PRG:0B7F D0 BD ; ----------------------------------------------------------------------------- -; Routine: Label_CB81 +; Routine: UpdateSprites2_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3009,14 +3011,14 @@ Label_CB78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB81: +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: Label_CB8C +; Routine: UpdateSprites4_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3024,11 +3026,11 @@ Label_CB81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB8C: +UpdateSprites4_7: inx ; CPU:$CB8C PRG:0B8C E8 txa ; CPU:$CB8D PRG:0B8D 8A ; ----------------------------------------------------------------------------- -; Routine: Label_CB8E +; Routine: UpdateSprites4_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3036,16 +3038,16 @@ Label_CB8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB8E: +UpdateSprites4_6: cmp #$3F ; CPU:$CB8E PRG:0B8E C9 3F - bcc Label_CB9C ; CPU:$CB90 PRG:0B90 90 0A + bcc UpdateSprites4_6_Block ; 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: Label_CB9C +; Routine: UpdateSprites4_6_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +3055,10 @@ Label_CB8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB9C: +UpdateSprites4_6_Block: rts ; CPU:$CB9C PRG:0B9C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB9D +; Routine: UpdateSprites5_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3064,15 +3066,15 @@ Label_CB9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB9D: +UpdateSprites5_4: ldx #$09 ; CPU:$CB9D PRG:0B9D A2 09 dec Zp31 ; CPU:$CB9F PRG:0B9F C6 31 - bpl Label_CBA9 ; CPU:$CBA1 PRG:0BA1 10 06 + bpl UpdateSprites5_4_Block_3 ; 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: Label_CBA9 +; Routine: UpdateSprites5_4_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3080,12 +3082,12 @@ Label_CB9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBA9: +UpdateSprites5_4_Block_3: lda Zp32,x ; CPU:$CBA9 PRG:0BA9 B5 32 - beq Label_CBAF ; CPU:$CBAB PRG:0BAB F0 02 + beq UpdateSprites5_4_Block_2 ; CPU:$CBAB PRG:0BAB F0 02 dec Zp32,x ; CPU:$CBAD PRG:0BAD D6 32 ; ----------------------------------------------------------------------------- -; Routine: Label_CBAF +; Routine: UpdateSprites5_4_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3093,9 +3095,9 @@ Label_CBA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBAF: +UpdateSprites5_4_Block_2: dex ; CPU:$CBAF PRG:0BAF CA - bpl Label_CBA9 ; CPU:$CBB0 PRG:0BB0 10 F7 + bpl UpdateSprites5_4_Block_3 ; 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) @@ -3112,7 +3114,7 @@ Label_CBAF: .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: Label_CC05 +; Routine: SubCCC05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3120,12 +3122,12 @@ Label_CBAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC05: +SubCCC05: 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 Label_CC1F ; CPU:$CC0F PRG:0C0F F0 0E + beq UpdateSprites5_4_Block_4 ; 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 @@ -3133,7 +3135,7 @@ Label_CC05: ldx #$01 ; CPU:$CC1A PRG:0C1A A2 01 jsr $DA99 ; CPU:$CC1C PRG:0C1C 20 99 DA ; ----------------------------------------------------------------------------- -; Routine: Label_CC1F +; Routine: UpdateSprites5_4_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +3143,7 @@ Label_CC05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC1F: +UpdateSprites5_4_Block_4: 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 @@ -3172,7 +3174,7 @@ Label_CC1F: .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: Label_CC9E +; Routine: SubCCC9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3180,22 +3182,22 @@ Label_CC1F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC9E: +SubCCC9E: lda #$06 ; CPU:$CC9E PRG:0C9E A9 06 cmp Zp6A ; CPU:$CCA0 PRG:0CA0 C5 6A - beq Label_CCED ; CPU:$CCA2 PRG:0CA2 F0 49 + beq UpdateSprites5_4_Block_6 ; CPU:$CCA2 PRG:0CA2 F0 49 cmp Zp6B ; CPU:$CCA4 PRG:0CA4 C5 6B - beq Label_CCED ; CPU:$CCA6 PRG:0CA6 F0 45 + beq UpdateSprites5_4_Block_6 ; CPU:$CCA6 PRG:0CA6 F0 45 lda Zp8C ; CPU:$CCA8 PRG:0CA8 A5 8C - bne Label_CCE4 ; CPU:$CCAA PRG:0CAA D0 38 + bne UpdateSprites5_4_Block_10 ; CPU:$CCAA PRG:0CAA D0 38 ldx Zp26 ; CPU:$CCAC PRG:0CAC A6 26 cpx #$02 ; CPU:$CCAE PRG:0CAE E0 02 - bne Label_CCB9 ; CPU:$CCB0 PRG:0CB0 D0 07 + bne UpdateSprites5_4_Block_8 ; 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: Label_CCB9 +; Routine: UpdateSprites5_4_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3203,7 +3205,7 @@ Label_CC9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCB9: +UpdateSprites5_4_Block_8: 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 @@ -3216,11 +3218,11 @@ Label_CCB9: 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 Label_CCE1 ; CPU:$CCDB PRG:0CDB 30 04 + bmi UpdateSprites5_4_Block_9 ; CPU:$CCDB PRG:0CDB 30 04 lda Zp27 ; CPU:$CCDD PRG:0CDD A5 27 - bne Label_CCE4 ; CPU:$CCDF PRG:0CDF D0 03 + bne UpdateSprites5_4_Block_10 ; CPU:$CCDF PRG:0CDF D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CCE1 +; Routine: UpdateSprites5_4_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3228,10 +3230,10 @@ Label_CCB9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCE1: +UpdateSprites5_4_Block_9: jsr $F2EC ; CPU:$CCE1 PRG:0CE1 20 EC F2 ; ----------------------------------------------------------------------------- -; Routine: Label_CCE4 +; Routine: UpdateSprites5_4_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3239,12 +3241,12 @@ Label_CCE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCE4: +UpdateSprites5_4_Block_10: 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: Label_CCED +; Routine: UpdateSprites5_4_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3252,13 +3254,13 @@ Label_CCE4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCED: +UpdateSprites5_4_Block_6: lda Zp4D ; CPU:$CCED PRG:0CED A5 4D - bne Label_CD12 ; CPU:$CCEF PRG:0CEF D0 21 + bne UpdateSprites5_4_Block_11 ; CPU:$CCEF PRG:0CEF D0 21 lda #$03 ; CPU:$CCF1 PRG:0CF1 A9 03 jmp $D4F5 ; CPU:$CCF3 PRG:0CF3 4C F5 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_CCF6 +; Routine: SubCCCF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3266,20 +3268,20 @@ Label_CCED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCF6: +SubCCCF6: stx Zp5F ; 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 - 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 - bne Label_CD0D ; CPU:$CD06 PRG:0D06 D0 05 + bne SubCCCF6_Block ; CPU:$CD06 PRG:0D06 D0 05 ldx Zp5F ; CPU:$CD08 PRG:0D08 A6 5F jsr $D59C ; CPU:$CD0A PRG:0D0A 20 9C D5 ; ----------------------------------------------------------------------------- -; Routine: Label_CD0D +; Routine: SubCCCF6_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3287,11 +3289,11 @@ Label_CCF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD0D: +SubCCCF6_Block: ldx Zp5F ; CPU:$CD0D PRG:0D0D A6 5F jsr $D507 ; CPU:$CD0F PRG:0D0F 20 07 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_CD12 +; Routine: UpdateSprites5_4_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3299,10 +3301,10 @@ Label_CD0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD12: +UpdateSprites5_4_Block_11: rts ; CPU:$CD12 PRG:0D12 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD13 +; Routine: SubCCD13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +3312,10 @@ Label_CD12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD13: +SubCCD13: stx Zp5F ; CPU:$CD13 PRG:0D13 86 5F lda Zp5A,x ; CPU:$CD15 PRG:0D15 B5 5A - beq Label_CD61 ; CPU:$CD17 PRG:0D17 F0 48 + beq SubCCD13_Block ; 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 @@ -3325,7 +3327,7 @@ Label_CD13: .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: Label_CD61 +; Routine: SubCCD13_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3333,10 +3335,10 @@ Label_CD13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD61: +SubCCD13_Block: rts ; CPU:$CD61 PRG:0D61 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD62 +; Routine: SubCCD62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3344,12 +3346,12 @@ Label_CD61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD62: +SubCCD62: 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: Label_CD68 +; Routine: SubCCD62_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3357,24 +3359,24 @@ Label_CD62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD68: +SubCCD62_Block_5: sta Zp01 ; 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 jsr $DBB4 ; CPU:$CD6F PRG:0D6F 20 B4 DB - bmi Label_CD83 ; CPU:$CD72 PRG:0D72 30 0F + bmi SubCCD62_Block ; CPU:$CD72 PRG:0D72 30 0F cmp #$04 ; CPU:$CD74 PRG:0D74 C9 04 - bne Label_CD8B ; CPU:$CD76 PRG:0D76 D0 13 + bne SubCCD62_Block_4 ; CPU:$CD76 PRG:0D76 D0 13 iny ; CPU:$CD78 PRG:0D78 C8 lda (Zp03),y ; CPU:$CD79 PRG:0D79 B1 03 - bpl Label_CD8B ; CPU:$CD7B PRG:0D7B 10 0E + bpl SubCCD62_Block_4 ; 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 Label_CD8B ; CPU:$CD81 PRG:0D81 10 08 + bpl SubCCD62_Block_4 ; CPU:$CD81 PRG:0D81 10 08 ; ----------------------------------------------------------------------------- -; Routine: Label_CD83 +; Routine: SubCCD62_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +3384,14 @@ Label_CD68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD83: +SubCCD62_Block: lda #$09 ; CPU:$CD83 PRG:0D83 A9 09 cmp Zp01 ; CPU:$CD85 PRG:0D85 C5 01 - bne Label_CD68 ; CPU:$CD87 PRG:0D87 D0 DF + bne SubCCD62_Block_5 ; CPU:$CD87 PRG:0D87 D0 DF clc ; CPU:$CD89 PRG:0D89 18 rts ; CPU:$CD8A PRG:0D8A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD8B +; Routine: SubCCD62_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +3399,7 @@ Label_CD83: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD8B: +SubCCD62_Block_4: sec ; CPU:$CD8B PRG:0D8B 38 rts ; CPU:$CD8C PRG:0D8C 60 ; ---- data $CD8D-$CD94 (8 bytes) ---- @@ -3405,7 +3407,7 @@ Label_CD8B: ; 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: Label_CD95 +; Routine: SubCCD95 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3413,21 +3415,21 @@ Label_CD8B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD95: +SubCCD95: 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 Label_CDAF ; CPU:$CD9C PRG:0D9C 90 11 + bcc SubCCD95_Block_2 ; 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 Label_CDAF ; CPU:$CDA9 PRG:0DA9 90 04 + bcc SubCCD95_Block_2 ; CPU:$CDA9 PRG:0DA9 90 04 lda #$00 ; CPU:$CDAB PRG:0DAB A9 00 sta Zp6C,x ; CPU:$CDAD PRG:0DAD 95 6C ; ----------------------------------------------------------------------------- -; Routine: Label_CDAF +; Routine: SubCCD95_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3435,10 +3437,10 @@ Label_CD95: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDAF: +SubCCD95_Block_2: rts ; CPU:$CDAF PRG:0DAF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CDB0 +; Routine: SubCCDB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3446,20 +3448,20 @@ Label_CDAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDB0: +SubCCDB0: lda Zp55 ; CPU:$CDB0 PRG:0DB0 A5 55 cmp #$01 ; CPU:$CDB2 PRG:0DB2 C9 01 - bne Label_CDC4 ; CPU:$CDB4 PRG:0DB4 D0 0E + bne SubCCDB0_Block_2 ; 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:$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 + beq SubCCDB0_Block_2 ; CPU:$CDBE PRG:0DBE F0 04 lda #$05 ; CPU:$CDC0 PRG:0DC0 A9 05 - bne Label_CDDB ; CPU:$CDC2 PRG:0DC2 D0 17 + bne SubCCDB0_Block_3 ; CPU:$CDC2 PRG:0DC2 D0 17 ; ----------------------------------------------------------------------------- -; Routine: Label_CDC4 +; Routine: SubCCDB0_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3467,15 +3469,15 @@ Label_CDB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDC4: +SubCCDB0_Block_2: lda Zp70,x ; CPU:$CDC4 PRG:0DC4 B5 70 and #$01 ; CPU:$CDC6 PRG:0DC6 29 01 - bne Label_CDDF ; CPU:$CDC8 PRG:0DC8 D0 15 + bne SubCCDB0_Block_4 ; CPU:$CDC8 PRG:0DC8 D0 15 lda Zp70,x ; CPU:$CDCA PRG:0DCA B5 70 and #$02 ; CPU:$CDCC PRG:0DCC 29 02 - bne Label_CDE9 ; CPU:$CDCE PRG:0DCE D0 19 + bne SubCCDB0_Block_5 ; CPU:$CDCE PRG:0DCE D0 19 ; ----------------------------------------------------------------------------- -; Routine: Label_CDD0 +; Routine: SubCCDB0_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3483,15 +3485,15 @@ Label_CDC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDD0: +SubCCDB0_Block_8: lda Zp68,x ; CPU:$CDD0 PRG:0DD0 B5 68 - beq Label_CDFF ; CPU:$CDD2 PRG:0DD2 F0 2B + beq SubCCDFF ; 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: Label_CDDB +; Routine: SubCCDB0_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3499,11 +3501,11 @@ Label_CDD0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDDB: +SubCCDB0_Block_3: sta Zp6A,x ; CPU:$CDDB PRG:0DDB 95 6A - bne Label_CDFF ; CPU:$CDDD PRG:0DDD D0 20 + bne SubCCDFF ; CPU:$CDDD PRG:0DDD D0 20 ; ----------------------------------------------------------------------------- -; Routine: Label_CDDF +; Routine: SubCCDB0_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +3513,14 @@ Label_CDDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDDF: +SubCCDB0_Block_4: 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 Label_CDD0 ; CPU:$CDE5 PRG:0DE5 F0 E9 - bne Label_CDF1 ; CPU:$CDE7 PRG:0DE7 D0 08 + beq SubCCDB0_Block_8 ; CPU:$CDE5 PRG:0DE5 F0 E9 + bne SubCCDB0_Block_7 ; CPU:$CDE7 PRG:0DE7 D0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_CDE9 +; Routine: SubCCDB0_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +3528,13 @@ Label_CDDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDE9: +SubCCDB0_Block_5: 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 Label_CDD0 ; CPU:$CDEF PRG:0DEF F0 DF + beq SubCCDB0_Block_8 ; CPU:$CDEF PRG:0DEF F0 DF ; ----------------------------------------------------------------------------- -; Routine: Label_CDF1 +; Routine: SubCCDB0_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +3542,7 @@ Label_CDE9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDF1: +SubCCDB0_Block_7: 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 @@ -3548,7 +3550,7 @@ Label_CDF1: ldy #$00 ; CPU:$CDFA PRG:0DFA A0 00 jsr $CD95 ; CPU:$CDFC PRG:0DFC 20 95 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CDFF +; Routine: SubCCDFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3556,17 +3558,17 @@ Label_CDF1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDFF: +SubCCDFF: 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 cmp #$01 ; CPU:$CE08 PRG:0E08 C9 01 - beq Label_CE29 ; CPU:$CE0A PRG:0E0A F0 1D + beq SubCCDFF_Block ; 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: Label_CE11 +; Routine: SubCCDFF_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3574,7 +3576,7 @@ Label_CDFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE11: +SubCCDFF_Block_2: tya ; CPU:$CE11 PRG:0E11 98 clc ; CPU:$CE12 PRG:0E12 18 adc $CBF5,x ; CPU:$CE13 PRG:0E13 7D F5 CB @@ -3585,11 +3587,11 @@ Label_CE11: 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 Label_CE11 ; CPU:$CE23 PRG:0E23 90 EC + bcc SubCCDFF_Block_2 ; CPU:$CE23 PRG:0E23 90 EC ldy #$DF ; CPU:$CE25 PRG:0E25 A0 DF ldx Zp5F ; CPU:$CE27 PRG:0E27 A6 5F ; ----------------------------------------------------------------------------- -; Routine: Label_CE29 +; Routine: SubCCDFF_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,20 +3599,20 @@ Label_CE11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE29: +SubCCDFF_Block: lda Zp70,x ; CPU:$CE29 PRG:0E29 B5 70 and #$03 ; CPU:$CE2B PRG:0E2B 29 03 - bne Label_CE43 ; CPU:$CE2D PRG:0E2D D0 14 + bne SubCCE43 ; 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 Label_CE3F ; CPU:$CE36 PRG:0E36 D0 07 + bne SubCCDFF_Block_3 ; 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: Label_CE3F +; Routine: SubCCDFF_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3618,11 +3620,11 @@ Label_CE29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE3F: +SubCCDFF_Block_3: pla ; CPU:$CE3F PRG:0E3F 68 sta $0215,y ; CPU:$CE40 PRG:0E40 99 15 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CE43 +; Routine: SubCCE43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +3632,19 @@ Label_CE3F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE43: +SubCCE43: lda Zp70,x ; CPU:$CE43 PRG:0E43 B5 70 and #$80 ; CPU:$CE45 PRG:0E45 29 80 - beq Label_CE5C ; CPU:$CE47 PRG:0E47 F0 13 + beq SubCCE43_Block ; CPU:$CE47 PRG:0E47 F0 13 lda Zp55 ; CPU:$CE49 PRG:0E49 A5 55 cmp #$01 ; CPU:$CE4B PRG:0E4B C9 01 - beq Label_CE54 ; CPU:$CE4D PRG:0E4D F0 05 + beq SubCCE43_Block_2 ; 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: Label_CE54 +; Routine: SubCCE43_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +3652,13 @@ Label_CE43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE54: +SubCCE43_Block_2: 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: Label_CE5C +; Routine: SubCCE43_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3664,10 +3666,10 @@ Label_CE54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE5C: +SubCCE43_Block: rts ; CPU:$CE5C PRG:0E5C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE5D +; Routine: SubCCE5D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,27 +3677,27 @@ Label_CE5C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE5D: +SubCCE5D: 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 Label_CE93 ; CPU:$CE67 PRG:0E67 D0 2A + bne SubCCE5D_Block_5 ; CPU:$CE67 PRG:0E67 D0 2A lda ZpE6,x ; CPU:$CE69 PRG:0E69 B5 E6 cmp #$03 ; CPU:$CE6B PRG:0E6B C9 03 - bcc Label_CE93 ; CPU:$CE6D PRG:0E6D 90 24 + bcc SubCCE5D_Block_5 ; CPU:$CE6D PRG:0E6D 90 24 lda Zp70,x ; CPU:$CE6F PRG:0E6F B5 70 and #$03 ; CPU:$CE71 PRG:0E71 29 03 - beq Label_CE93 ; CPU:$CE73 PRG:0E73 F0 1E + beq SubCCE5D_Block_5 ; CPU:$CE73 PRG:0E73 F0 1E sta Zp68,x ; CPU:$CE75 PRG:0E75 95 68 cmp #$01 ; CPU:$CE77 PRG:0E77 C9 01 - beq Label_CE7E ; CPU:$CE79 PRG:0E79 F0 03 + beq SubCCE5D_Block_4 ; 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: Label_CE7E +; Routine: SubCCE5D_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +3705,14 @@ Label_CE5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE7E: +SubCCE5D_Block_4: 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 Label_CE93 ; CPU:$CE86 PRG:0E86 D0 0B + bne SubCCE5D_Block_5 ; CPU:$CE86 PRG:0E86 D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_CE88 +; Routine: SubCCE88 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +3720,12 @@ Label_CE7E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE88: +SubCCE88: lda #$F0 ; CPU:$CE88 PRG:0E88 A9 F0 ; ---- data $CE8A-$CE8A (1 bytes) ---- .byte $2C ; CPU:$CE8A PRG:0E8A 2C ; ----------------------------------------------------------------------------- -; Routine: Label_CE8B +; Routine: SubCCE8B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3731,13 +3733,13 @@ Label_CE88: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE8B: +SubCCE8B: 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: Label_CE93 +; Routine: SubCCE5D_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3745,12 +3747,12 @@ Label_CE8B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE93: +SubCCE5D_Block_5: lda Zp68,x ; CPU:$CE93 PRG:0E93 B5 68 - beq Label_CE9A ; CPU:$CE95 PRG:0E95 F0 03 + beq SubCCE8B_Block ; CPU:$CE95 PRG:0E95 F0 03 jsr $D160 ; CPU:$CE97 PRG:0E97 20 60 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CE9A +; Routine: SubCCE8B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3758,11 +3760,11 @@ Label_CE93: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE9A: +SubCCE8B_Block: 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 Label_CED0 ; CPU:$CEA3 PRG:0EA3 90 2B + bcc SubCCE8B_Block_2 ; 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 @@ -3776,16 +3778,16 @@ Label_CE9A: 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 Label_CEEE ; CPU:$CEBE PRG:0EBE F0 2E + beq SubCCEDB_Block_2 ; 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 cpy #$08 ; CPU:$CEC8 PRG:0EC8 C0 08 - bcs Label_CECD ; CPU:$CECA PRG:0ECA B0 01 + bcs SubCCE8B_Block_4 ; CPU:$CECA PRG:0ECA B0 01 lsr a ; CPU:$CECC PRG:0ECC 4A ; ----------------------------------------------------------------------------- -; Routine: Label_CECD +; Routine: SubCCE8B_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +3795,11 @@ Label_CE9A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CECD: +SubCCE8B_Block_4: lsr a ; CPU:$CECD PRG:0ECD 4A sta Zp32,x ; CPU:$CECE PRG:0ECE 95 32 ; ----------------------------------------------------------------------------- -; Routine: Label_CED0 +; Routine: SubCCE8B_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3805,14 +3807,14 @@ Label_CECD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CED0: +SubCCE8B_Block_2: lda Zp6A,x ; CPU:$CED0 PRG:0ED0 B5 6A cmp #$04 ; CPU:$CED2 PRG:0ED2 C9 04 - bcs Label_CEEE ; CPU:$CED4 PRG:0ED4 B0 18 + bcs SubCCEDB_Block_2 ; CPU:$CED4 PRG:0ED4 B0 18 ldy #$07 ; CPU:$CED6 PRG:0ED6 A0 07 jmp $D17C ; CPU:$CED8 PRG:0ED8 4C 7C D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CEDB +; Routine: SubCCEDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3820,10 +3822,10 @@ Label_CED0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEDB: +SubCCEDB: ldy #$00 ; CPU:$CEDB PRG:0EDB A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CEDD +; Routine: SubCCEDB_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +3833,13 @@ Label_CEDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEDD: +SubCCEDB_Block_3: cmp $CBDC,y ; CPU:$CEDD PRG:0EDD D9 DC CB - bcc Label_CEE7 ; CPU:$CEE0 PRG:0EE0 90 05 + bcc SubCCEDB_Block ; CPU:$CEE0 PRG:0EE0 90 05 cmp $CBDD,y ; CPU:$CEE2 PRG:0EE2 D9 DD CB - bcc Label_CEEE ; CPU:$CEE5 PRG:0EE5 90 07 + bcc SubCCEDB_Block_2 ; CPU:$CEE5 PRG:0EE5 90 07 ; ----------------------------------------------------------------------------- -; Routine: Label_CEE7 +; Routine: SubCCEDB_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3845,14 +3847,14 @@ Label_CEDD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEE7: +SubCCEDB_Block: iny ; CPU:$CEE7 PRG:0EE7 C8 iny ; CPU:$CEE8 PRG:0EE8 C8 cpy #$0C ; CPU:$CEE9 PRG:0EE9 C0 0C - bne Label_CEDD ; CPU:$CEEB PRG:0EEB D0 F0 + bne SubCCEDB_Block_3 ; CPU:$CEEB PRG:0EEB D0 F0 sec ; CPU:$CEED PRG:0EED 38 ; ----------------------------------------------------------------------------- -; Routine: Label_CEEE +; Routine: SubCCEDB_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +3862,10 @@ Label_CEE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEEE: +SubCCEDB_Block_2: rts ; CPU:$CEEE PRG:0EEE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CEEF +; Routine: SubCCEEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3871,26 +3873,26 @@ Label_CEEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEEF: +SubCCEEF: lda Zp86,x ; CPU:$CEEF PRG:0EEF B5 86 - bne Label_CF19 ; CPU:$CEF1 PRG:0EF1 D0 26 + bne SubCCEEF_Block_4 ; 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 Label_CF19 ; CPU:$CEFB PRG:0EFB B0 1C + bcs SubCCEEF_Block_4 ; 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 Label_CF12 ; CPU:$CF0A PRG:0F0A 10 06 + bpl SubCCEEF_Block_3 ; CPU:$CF0A PRG:0F0A 10 06 ldy Zp0B ; CPU:$CF0C PRG:0F0C A4 0B - beq Label_CF19 ; CPU:$CF0E PRG:0F0E F0 09 - bne Label_CF15 ; CPU:$CF10 PRG:0F10 D0 03 + beq SubCCEEF_Block_4 ; CPU:$CF0E PRG:0F0E F0 09 + bne SubCCEEF_Block_5 ; CPU:$CF10 PRG:0F10 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CF12 +; Routine: SubCCEEF_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3898,12 +3900,12 @@ Label_CEEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF12: +SubCCEEF_Block_3: lda #$08 ; CPU:$CF12 PRG:0F12 A9 08 ; ---- data $CF14-$CF14 (1 bytes) ---- .byte $2C ; CPU:$CF14 PRG:0F14 2C ; ----------------------------------------------------------------------------- -; Routine: Label_CF15 +; Routine: SubCCEEF_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +3913,11 @@ Label_CF12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF15: +SubCCEEF_Block_5: lda #$06 ; CPU:$CF15 PRG:0F15 A9 06 sta Zp6A,x ; CPU:$CF17 PRG:0F17 95 6A ; ----------------------------------------------------------------------------- -; Routine: Label_CF19 +; Routine: SubCCEEF_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3923,10 +3925,10 @@ Label_CF15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF19: +SubCCEEF_Block_4: rts ; CPU:$CF19 PRG:0F19 60 ; ----------------------------------------------------------------------------- -; 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. @@ -3934,31 +3936,31 @@ Label_CF19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF1A: +SubCCF1A: 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 Label_CF51 ; CPU:$CF22 PRG:0F22 B0 2D + bcs SubCCF1A_Block ; 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 Label_CF55 ; CPU:$CF29 PRG:0F29 F0 2A + beq SubCCF1A_Block_7 ; 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 Label_CF46 ; CPU:$CF34 PRG:0F34 B0 10 + bcs SubCCF1A_Block_5 ; CPU:$CF34 PRG:0F34 B0 10 cmp #$02 ; CPU:$CF36 PRG:0F36 C9 02 - bcc Label_CF55 ; CPU:$CF38 PRG:0F38 90 1B + bcc SubCCF1A_Block_7 ; CPU:$CF38 PRG:0F38 90 1B lda Zp6A,x ; CPU:$CF3A PRG:0F3A B5 6A cmp #$08 ; CPU:$CF3C PRG:0F3C C9 08 - beq Label_CF46 ; CPU:$CF3E PRG:0F3E F0 06 + beq SubCCF1A_Block_5 ; CPU:$CF3E PRG:0F3E F0 06 lda ZpE8,x ; CPU:$CF40 PRG:0F40 B5 E8 cmp #$C0 ; CPU:$CF42 PRG:0F42 C9 C0 - bcc Label_CF55 ; CPU:$CF44 PRG:0F44 90 0F + bcc SubCCF1A_Block_7 ; CPU:$CF44 PRG:0F44 90 0F ; ----------------------------------------------------------------------------- -; Routine: Label_CF46 +; Routine: SubCCF1A_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3966,15 +3968,15 @@ Label_CF1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF46: +SubCCF1A_Block_5: 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 Label_CF55 ; CPU:$CF4D PRG:0F4D 90 06 + bcc SubCCF1A_Block_7 ; CPU:$CF4D PRG:0F4D 90 06 sec ; CPU:$CF4F PRG:0F4F 38 rts ; CPU:$CF50 PRG:0F50 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CF51 +; Routine: SubCCF1A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +3984,11 @@ Label_CF46: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF51: +SubCCF1A_Block: lda #$00 ; CPU:$CF51 PRG:0F51 A9 00 sta Zp88,x ; CPU:$CF53 PRG:0F53 95 88 ; ----------------------------------------------------------------------------- -; Routine: Label_CF55 +; Routine: SubCCF1A_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3994,7 +3996,7 @@ Label_CF51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF55: +SubCCF1A_Block_7: clc ; CPU:$CF55 PRG:0F55 18 rts ; CPU:$CF56 PRG:0F56 60 ; ---- data $CF57-$CF5A (4 bytes) ---- @@ -4002,7 +4004,7 @@ Label_CF55: ; 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: Label_CF5B +; Routine: SubCCF5B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4010,18 +4012,18 @@ Label_CF55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF5B: +SubCCF5B: 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 Label_CF6D ; CPU:$CF67 PRG:0F67 30 04 + bmi SubCCF5B_Block ; CPU:$CF67 PRG:0F67 30 04 lda #$FF ; CPU:$CF69 PRG:0F69 A9 FF - bne Label_CFA7 ; CPU:$CF6B PRG:0F6B D0 3A + bne SubCCF5B_Block_9 ; CPU:$CF6B PRG:0F6B D0 3A ; ----------------------------------------------------------------------------- -; Routine: Label_CF6D +; Routine: SubCCF5B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4029,16 +4031,16 @@ Label_CF5B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF6D: +SubCCF5B_Block: lda Zp68,x ; CPU:$CF6D PRG:0F6D B5 68 - bne Label_CF89 ; CPU:$CF6F PRG:0F6F D0 18 + bne SubCCF5B_Block_3 ; CPU:$CF6F PRG:0F6F D0 18 lda #$06 ; CPU:$CF71 PRG:0F71 A9 06 jsr $CFC0 ; CPU:$CF73 PRG:0F73 20 C0 CF - bmi Label_CF7C ; CPU:$CF76 PRG:0F76 30 04 + bmi SubCCF5B_Block_4 ; CPU:$CF76 PRG:0F76 30 04 lda #$E0 ; CPU:$CF78 PRG:0F78 A9 E0 sta Zp0A ; CPU:$CF7A PRG:0F7A 85 0A ; ----------------------------------------------------------------------------- -; Routine: Label_CF7C +; Routine: SubCCF5B_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4046,15 +4048,15 @@ Label_CF6D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF7C: +SubCCF5B_Block_4: lda #$0A ; CPU:$CF7C PRG:0F7C A9 0A jsr $CFC0 ; CPU:$CF7E PRG:0F7E 20 C0 CF - bmi Label_CFA9 ; CPU:$CF81 PRG:0F81 30 26 + bmi SubCCF5B_Block_5 ; CPU:$CF81 PRG:0F81 30 26 lda Zp0A ; CPU:$CF83 PRG:0F83 A5 0A ora #$07 ; CPU:$CF85 PRG:0F85 09 07 - bne Label_CFA7 ; CPU:$CF87 PRG:0F87 D0 1E + bne SubCCF5B_Block_9 ; CPU:$CF87 PRG:0F87 D0 1E ; ----------------------------------------------------------------------------- -; Routine: Label_CF89 +; Routine: SubCCF5B_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +4064,16 @@ Label_CF7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF89: +SubCCF5B_Block_3: 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 Label_CF99 ; CPU:$CF95 PRG:0F95 10 02 + bpl SubCCF5B_Block_7 ; CPU:$CF95 PRG:0F95 10 02 dec Zp0C ; CPU:$CF97 PRG:0F97 C6 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CF99 +; Routine: SubCCF5B_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4079,15 +4081,15 @@ Label_CF89: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF99: +SubCCF5B_Block_7: ldy Zp68,x ; CPU:$CF99 PRG:0F99 B4 68 dey ; CPU:$CF9B PRG:0F9B 88 lda Zp0C ; CPU:$CF9C PRG:0F9C A5 0C - bne Label_CFA4 ; CPU:$CF9E PRG:0F9E D0 04 + bne SubCCF5B_Block_8 ; CPU:$CF9E PRG:0F9E D0 04 lda #$00 ; CPU:$CFA0 PRG:0FA0 A9 00 - beq Label_CFA7 ; CPU:$CFA2 PRG:0FA2 F0 03 + beq SubCCF5B_Block_9 ; CPU:$CFA2 PRG:0FA2 F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CFA4 +; Routine: SubCCF5B_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4095,10 +4097,10 @@ Label_CF99: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFA4: +SubCCF5B_Block_8: lda $CF57,y ; CPU:$CFA4 PRG:0FA4 B9 57 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CFA7 +; Routine: SubCCF5B_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4106,10 +4108,10 @@ Label_CFA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFA7: +SubCCF5B_Block_9: sta Zp0A ; CPU:$CFA7 PRG:0FA7 85 0A ; ----------------------------------------------------------------------------- -; Routine: Label_CFA9 +; Routine: SubCCF5B_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4117,7 +4119,7 @@ Label_CFA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFA9: +SubCCF5B_Block_5: lda Zp64,x ; CPU:$CFA9 PRG:0FA9 B5 64 clc ; CPU:$CFAB PRG:0FAB 18 adc #$08 ; CPU:$CFAC PRG:0FAC 69 08 @@ -4126,11 +4128,11 @@ Label_CFA9: 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 Label_CFBD ; CPU:$CFB8 PRG:0FB8 D0 03 + bne SubCCF5B_Block_10 ; CPU:$CFB8 PRG:0FB8 D0 03 lda #$01 ; CPU:$CFBA PRG:0FBA A9 01 rts ; CPU:$CFBC PRG:0FBC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFBD +; Routine: SubCCF5B_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +4140,11 @@ Label_CFA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFBD: +SubCCF5B_Block_10: lda #$00 ; CPU:$CFBD PRG:0FBD A9 00 rts ; CPU:$CFBF PRG:0FBF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFC0 +; Routine: SubCCFC0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +4152,12 @@ Label_CFBD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFC0: +SubCCFC0: 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: Label_CFC6 +; Routine: SubCCFC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4163,16 +4165,16 @@ Label_CFC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFC6: +SubCCFC6: lda Zp68,x ; CPU:$CFC6 PRG:0FC6 B5 68 - beq Label_CFD3 ; CPU:$CFC8 PRG:0FC8 F0 09 + beq SubCCFC6_Block ; CPU:$CFC8 PRG:0FC8 F0 09 cmp #$01 ; CPU:$CFCA PRG:0FCA C9 01 - beq Label_CFD1 ; CPU:$CFCC PRG:0FCC F0 03 + beq SubCCFC6_Block_2 ; 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: Label_CFD1 +; Routine: SubCCFC6_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4180,10 +4182,10 @@ Label_CFC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD1: +SubCCFC6_Block_2: inc Zp64,x ; CPU:$CFD1 PRG:0FD1 F6 64 ; ----------------------------------------------------------------------------- -; Routine: Label_CFD3 +; Routine: SubCCFC6_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,22 +4193,22 @@ Label_CFD1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD3: +SubCCFC6_Block: 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 Label_CFEB ; CPU:$CFDA PRG:0FDA F0 0F + beq SubCCFEB ; CPU:$CFDA PRG:0FDA F0 0F lda Zp5A,x ; CPU:$CFDC PRG:0FDC B5 5A cmp #$06 ; CPU:$CFDE PRG:0FDE C9 06 - bcc Label_CFEB ; CPU:$CFE0 PRG:0FE0 90 09 + bcc SubCCFEB ; CPU:$CFE0 PRG:0FE0 90 09 lda Zp70,x ; CPU:$CFE2 PRG:0FE2 B5 70 and #$40 ; CPU:$CFE4 PRG:0FE4 29 40 - beq Label_CFFC ; CPU:$CFE6 PRG:0FE6 F0 14 + beq SubCCFC6_Block_3 ; 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: 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. @@ -4214,11 +4216,11 @@ Label_CFD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFEB: +SubCCFEB: lda #$01 ; CPU:$CFEB PRG:0FEB A9 01 sta Zp6A,x ; CPU:$CFED PRG:0FED 95 6A ; ----------------------------------------------------------------------------- -; Routine: Label_CFEF +; Routine: SubCCFEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +4228,7 @@ Label_CFEB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFEF: +SubCCFEF: 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 @@ -4234,7 +4236,7 @@ Label_CFEF: sta Zp6C,x ; CPU:$CFF7 PRG:0FF7 95 6C sta Zp6E,x ; CPU:$CFF9 PRG:0FF9 95 6E ; ----------------------------------------------------------------------------- -; Routine: Label_CFFB +; Routine: SubCD021_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +4244,10 @@ Label_CFEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFFB: +SubCD021_Block: rts ; CPU:$CFFB PRG:0FFB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFFC +; Routine: SubCCFC6_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +4255,16 @@ Label_CFFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFFC: +SubCCFC6_Block_3: lda Zp70,x ; CPU:$CFFC PRG:0FFC B5 70 and #$80 ; CPU:$CFFE PRG:0FFE 29 80 - beq Label_CFFB ; CPU:$D000 PRG:1000 F0 F9 + beq SubCD021_Block ; 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: 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. @@ -4270,15 +4272,15 @@ Label_CFFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D00A: +SubCD00A: cmp #$06 ; CPU:$D00A PRG:100A C9 06 - beq Label_D018 ; CPU:$D00C PRG:100C F0 0A + beq SubCCFEF_Block_2 ; CPU:$D00C PRG:100C F0 0A cmp #$08 ; CPU:$D00E PRG:100E C9 08 - beq Label_D01E ; CPU:$D010 PRG:1010 F0 0C + beq SubCCFEF_Block_3 ; 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: Label_D018 +; Routine: SubCCFEF_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4286,11 +4288,11 @@ Label_D00A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D018: +SubCCFEF_Block_2: jsr $CE88 ; CPU:$D018 PRG:1018 20 88 CE jmp $D021 ; CPU:$D01B PRG:101B 4C 21 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D01E +; Routine: SubCCFEF_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4298,10 +4300,10 @@ Label_D018: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D01E: +SubCCFEF_Block_3: jsr $CE8B ; CPU:$D01E PRG:101E 20 8B CE ; ----------------------------------------------------------------------------- -; Routine: Label_D021 +; Routine: SubCD021 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4309,11 +4311,11 @@ Label_D01E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D021: +SubCD021: lda ZpE0,x ; CPU:$D021 PRG:1021 B5 E0 - beq Label_CFFB ; CPU:$D023 PRG:1023 F0 D6 + beq SubCD021_Block ; CPU:$D023 PRG:1023 F0 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D025 +; Routine: SubCD07C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4321,13 +4323,13 @@ Label_D021: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D025: +SubCD07C_Block_2: ldx Zp5F ; CPU:$D025 PRG:1025 A6 5F lda Zp86,x ; CPU:$D027 PRG:1027 B5 86 - bne Label_D04F ; CPU:$D029 PRG:1029 D0 24 + bne SubCD021_Block_5 ; CPU:$D029 PRG:1029 D0 24 lda Zp6A,x ; CPU:$D02B PRG:102B B5 6A ; ----------------------------------------------------------------------------- -; Routine: Label_D02D +; Routine: SubCD07C_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4335,9 +4337,9 @@ Label_D025: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D02D: +SubCD07C_Block_3: cmp #$04 ; CPU:$D02D PRG:102D C9 04 - beq Label_D04F ; CPU:$D02F PRG:102F F0 1E + beq SubCD021_Block_5 ; CPU:$D02F PRG:102F F0 1E lda Zp5F ; CPU:$D031 PRG:1031 A5 5F asl a ; CPU:$D033 PRG:1033 0A asl a ; CPU:$D034 PRG:1034 0A @@ -4346,16 +4348,16 @@ Label_D02D: sec ; CPU:$D039 PRG:1039 38 sbc #$01 ; CPU:$D03A PRG:103A E9 01 jsr $CEDB ; CPU:$D03C PRG:103C 20 DB CE - bcs Label_D04F ; CPU:$D03F PRG:103F B0 0E + bcs SubCD021_Block_5 ; CPU:$D03F PRG:103F B0 0E lda ZpE6,x ; CPU:$D041 PRG:1041 B5 E6 cmp #$03 ; CPU:$D043 PRG:1043 C9 03 - bcs Label_D04F ; CPU:$D045 PRG:1045 B0 08 + bcs SubCD021_Block_5 ; 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: Label_D04F +; Routine: SubCD021_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4363,11 +4365,11 @@ Label_D02D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D04F: +SubCD021_Block_5: ldy #$07 ; CPU:$D04F PRG:104F A0 07 lda Zp60,x ; CPU:$D051 PRG:1051 B5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D053 +; Routine: SubCD053 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +4377,13 @@ Label_D04F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D053: +SubCD053: cmp #$0B ; CPU:$D053 PRG:1053 C9 0B - bcs Label_D05A ; CPU:$D055 PRG:1055 B0 03 + bcs SubCD021_Block_6 ; CPU:$D055 PRG:1055 B0 03 inc Zp60,x ; CPU:$D057 PRG:1057 F6 60 dey ; CPU:$D059 PRG:1059 88 ; ----------------------------------------------------------------------------- -; Routine: Label_D05A +; Routine: SubCD021_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +4391,12 @@ Label_D053: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D05A: +SubCD021_Block_6: 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: Label_D06B +; Routine: SubCD06B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +4404,15 @@ Label_D05A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D06B: +SubCD06B: cmp #$0B ; CPU:$D06B PRG:106B C9 0B - bcs Label_D079 ; CPU:$D06D PRG:106D B0 0A + bcs SubCD07C_Block ; CPU:$D06D PRG:106D B0 0A cmp #$07 ; CPU:$D06F PRG:106F C9 07 - bcs Label_D077 ; CPU:$D071 PRG:1071 B0 04 + bcs SubCD021_Block_8 ; CPU:$D071 PRG:1071 B0 04 ldy #$07 ; CPU:$D073 PRG:1073 A0 07 - bne Label_D079 ; CPU:$D075 PRG:1075 D0 02 + bne SubCD07C_Block ; CPU:$D075 PRG:1075 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D077 +; Routine: SubCD021_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4418,10 +4420,10 @@ Label_D06B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D077: +SubCD021_Block_8: ldy #$09 ; CPU:$D077 PRG:1077 A0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_D079 +; Routine: SubCD07C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4429,10 +4431,10 @@ Label_D077: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D079: +SubCD07C_Block: jmp $D17C ; CPU:$D079 PRG:1079 4C 7C D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D07C +; Routine: SubCD07C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,24 +4442,24 @@ Label_D079: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D07C: +SubCD07C: 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 Label_D079 ; CPU:$D084 PRG:1084 F0 F3 + beq SubCD07C_Block ; CPU:$D084 PRG:1084 F0 F3 stx $94D0 ; CPU:$D086 PRG:1086 8E D0 94 - 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 + 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 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: Label_D0AA +; Routine: SubCD0AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4465,16 +4467,16 @@ Label_D07C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0AA: +SubCD0AA: lda Zp32,x ; CPU:$D0AA PRG:10AA B5 32 - beq Label_D0CA ; CPU:$D0AC PRG:10AC F0 1C + beq SubCD07C_Block_5 ; CPU:$D0AC PRG:10AC F0 1C cmp #$10 ; CPU:$D0AE PRG:10AE C9 10 - beq Label_D0B8 ; CPU:$D0B0 PRG:10B0 F0 06 - bcs Label_D0C0 ; CPU:$D0B2 PRG:10B2 B0 0C + beq SubCD0B8 ; CPU:$D0B0 PRG:10B0 F0 06 + bcs SubCD07C_Block_6 ; CPU:$D0B2 PRG:10B2 B0 0C ldy #$0B ; CPU:$D0B4 PRG:10B4 A0 0B - bne Label_D0C7 ; CPU:$D0B6 PRG:10B6 D0 0F + bne SubCD07C_Block_7 ; CPU:$D0B6 PRG:10B6 D0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D0B8 +; Routine: SubCD0B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +4484,14 @@ Label_D0AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0B8: +SubCD0B8: 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: Label_D0C0 +; Routine: SubCD07C_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4497,12 +4499,12 @@ Label_D0B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0C0: +SubCD07C_Block_6: lda #$00 ; CPU:$D0C0 PRG:10C0 A9 00 sta ZpE0,x ; CPU:$D0C2 PRG:10C2 95 E0 rts ; CPU:$D0C4 PRG:10C4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D0C5 +; Routine: SubCD0C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +4512,10 @@ Label_D0C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0C5: +SubCD0C5: ldy #$00 ; CPU:$D0C5 PRG:10C5 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D0C7 +; Routine: SubCD07C_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4521,10 +4523,10 @@ Label_D0C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0C7: +SubCD07C_Block_7: jmp $D17C ; CPU:$D0C7 PRG:10C7 4C 7C D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D0CA +; Routine: SubCD07C_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4532,7 +4534,7 @@ Label_D0C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0CA: +SubCD07C_Block_5: ldx Zp5F ; CPU:$D0CA PRG:10CA A6 5F jsr $D127 ; CPU:$D0CC PRG:10CC 20 27 D1 jsr $D0C5 ; CPU:$D0CF PRG:10CF 20 C5 D0 @@ -4550,10 +4552,10 @@ Label_D0CA: sta Zp02 ; CPU:$D0EA PRG:10EA 85 02 lda #$01 ; CPU:$D0EC PRG:10EC A9 01 cpx #$00 ; CPU:$D0EE PRG:10EE E0 00 - beq Label_D0F4 ; CPU:$D0F0 PRG:10F0 F0 02 + beq SubCD0C5_Block ; CPU:$D0F0 PRG:10F0 F0 02 lda #$25 ; CPU:$D0F2 PRG:10F2 A9 25 ; ----------------------------------------------------------------------------- -; Routine: Label_D0F4 +; Routine: SubCD0C5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4561,11 +4563,11 @@ Label_D0CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0F4: +SubCD0C5_Block: tax ; CPU:$D0F4 PRG:10F4 AA ldy #$00 ; CPU:$D0F5 PRG:10F5 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D0F7 +; Routine: SubCD0C5_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4573,7 +4575,7 @@ Label_D0F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0F7: +SubCD0C5_Block_2: lda (Zp00),y ; CPU:$D0F7 PRG:10F7 B1 00 sta $0200,x ; CPU:$D0F9 PRG:10F9 9D 00 02 inx ; CPU:$D0FC PRG:10FC E8 @@ -4586,10 +4588,10 @@ Label_D0F7: inx ; CPU:$D109 PRG:1109 E8 iny ; CPU:$D10A PRG:110A C8 cpy #$06 ; CPU:$D10B PRG:110B C0 06 - bcc Label_D0F7 ; CPU:$D10D PRG:110D 90 E8 + bcc SubCD0C5_Block_2 ; CPU:$D10D PRG:110D 90 E8 ldx Zp5F ; CPU:$D10F PRG:110F A6 5F ; ----------------------------------------------------------------------------- -; Routine: Label_D111 +; Routine: SubCD111 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +4599,12 @@ Label_D0F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D111: +SubCD111: lda Zp32,x ; CPU:$D111 PRG:1111 B5 32 - bne Label_D126 ; CPU:$D113 PRG:1113 D0 11 + bne SubCD111_Block ; CPU:$D113 PRG:1113 D0 11 ldy #$0B ; CPU:$D115 PRG:1115 A0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_D117 +; Routine: UpdateSound4_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4610,14 +4612,14 @@ Label_D111: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D117: - lda a:$0090,y ; CPU:$D117 PRG:1117 B9 90 00 +UpdateSound4_11: + 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 + bne SubCD111_Block_2 ; 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 +; Routine: SubCD111_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4625,11 +4627,11 @@ Label_D117: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D123: +SubCD111_Block_2: dey ; CPU:$D123 PRG:1123 88 - bne Label_D117 ; CPU:$D124 PRG:1124 D0 F1 + bne UpdateSound4_11 ; CPU:$D124 PRG:1124 D0 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_D126 +; Routine: SubCD111_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +4639,10 @@ Label_D123: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D126: +SubCD111_Block: rts ; CPU:$D126 PRG:1126 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D127 +; Routine: SubCD127 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +4650,7 @@ Label_D126: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D127: +SubCD127: 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 @@ -4656,7 +4658,7 @@ Label_D127: lda #$01 ; CPU:$D12F PRG:112F A9 01 sta Zp2F,x ; CPU:$D131 PRG:1131 95 2F ; ----------------------------------------------------------------------------- -; Routine: Label_D133 +; Routine: SubCD133 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +4666,7 @@ Label_D127: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D133: +SubCD133: 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 @@ -4674,7 +4676,7 @@ Label_D133: sta Zp66,x ; CPU:$D140 PRG:1140 95 66 rts ; CPU:$D142 PRG:1142 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D143 +; Routine: SubCD143 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4682,16 +4684,16 @@ Label_D133: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D143: +SubCD143: ldy Zp6A,x ; CPU:$D143 PRG:1143 B4 6A cpy #$01 ; CPU:$D145 PRG:1145 C0 01 - bne Label_D160 ; CPU:$D147 PRG:1147 D0 17 + 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 Label_D151 ; CPU:$D14D PRG:114D B0 02 + bcs SubCD143_Block ; CPU:$D14D PRG:114D B0 02 inc Zp6E,x ; CPU:$D14F PRG:114F F6 6E ; ----------------------------------------------------------------------------- -; Routine: Label_D151 +; Routine: SubCD143_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4699,16 +4701,16 @@ Label_D143: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D151: +SubCD143_Block: 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 Label_D171 ; CPU:$D158 PRG:1158 90 17 + bcc SubCD171 ; CPU:$D158 PRG:1158 90 17 jsr $D171 ; CPU:$D15A PRG:115A 20 71 D1 jmp $D171 ; CPU:$D15D PRG:115D 4C 71 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D160 +; Routine: UpdateSound6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4716,14 +4718,14 @@ Label_D151: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D160: +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 Label_D16A ; CPU:$D166 PRG:1166 B0 02 + bcs UpdateSound6_Block ; CPU:$D166 PRG:1166 B0 02 lda #$45 ; CPU:$D168 PRG:1168 A9 45 ; ----------------------------------------------------------------------------- -; Routine: Label_D16A +; Routine: UpdateSound6_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4731,13 +4733,13 @@ Label_D160: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D16A: +UpdateSound6_Block: 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 Label_D17B ; CPU:$D16F PRG:116F 90 0A + bcc UpdateSound6_Block_2 ; CPU:$D16F PRG:116F 90 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D171 +; Routine: SubCD171 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +4747,14 @@ Label_D16A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D171: +SubCD171: 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: Label_D17B +; Routine: UpdateSound6_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4760,10 +4762,10 @@ Label_D171: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D17B: +UpdateSound6_Block_2: rts ; CPU:$D17B PRG:117B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D17C +; Routine: SubCD17C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +4773,7 @@ Label_D17B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D17C: +SubCD17C: lda $CBB3,y ; CPU:$D17C PRG:117C B9 B3 CB sta Zp02 ; CPU:$D17F PRG:117F 85 02 tya ; CPU:$D181 PRG:1181 98 @@ -4781,11 +4783,11 @@ Label_D17C: sta Zp00 ; CPU:$D187 PRG:1187 85 00 lda Zp66,x ; CPU:$D189 PRG:1189 B5 66 cpy #$0A ; CPU:$D18B PRG:118B C0 0A - bne Label_D192 ; CPU:$D18D PRG:118D D0 03 + bne SubCD17C_Block ; CPU:$D18D PRG:118D D0 03 sec ; CPU:$D18F PRG:118F 38 sbc #$08 ; CPU:$D190 PRG:1190 E9 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D192 +; Routine: SubCD17C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4793,7 +4795,7 @@ Label_D17C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D192: +SubCD17C_Block: sta Zp01 ; CPU:$D192 PRG:1192 85 01 lda Zp62,x ; CPU:$D194 PRG:1194 B5 62 sta Zp0F ; CPU:$D196 PRG:1196 85 0F @@ -4803,11 +4805,11 @@ Label_D192: jsr $D1DB ; CPU:$D19B PRG:119B 20 DB D1 pla ; CPU:$D19E PRG:119E 68 cmp #$0B ; CPU:$D19F PRG:119F C9 0B - beq Label_D1A7 ; CPU:$D1A1 PRG:11A1 F0 04 + beq SubCD17C_Block_2 ; CPU:$D1A1 PRG:11A1 F0 04 cmp #$06 ; CPU:$D1A3 PRG:11A3 C9 06 - bcs Label_D1AB ; CPU:$D1A5 PRG:11A5 B0 04 + bcs SubCD17C_Block_3 ; CPU:$D1A5 PRG:11A5 B0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D1A7 +; Routine: SubCD17C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4815,11 +4817,11 @@ Label_D192: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1A7: +SubCD17C_Block_2: lda #$F8 ; CPU:$D1A7 PRG:11A7 A9 F8 - bne Label_D1D2 ; CPU:$D1A9 PRG:11A9 D0 27 + bne SubCD17C_Block_4 ; CPU:$D1A9 PRG:11A9 D0 27 ; ----------------------------------------------------------------------------- -; Routine: Label_D1AB +; Routine: SubCD17C_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +4829,7 @@ Label_D1A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1AB: +SubCD17C_Block_3: sec ; CPU:$D1AB PRG:11AB 38 sbc #$06 ; CPU:$D1AC PRG:11AC E9 06 sta Zp07 ; CPU:$D1AE PRG:11AE 85 07 @@ -4840,11 +4842,11 @@ Label_D1AB: tay ; CPU:$D1BB PRG:11BB A8 ldx Zp5F ; CPU:$D1BC PRG:11BC A6 5F lda Zp62,x ; CPU:$D1BE PRG:11BE B5 62 - beq Label_D1C4 ; CPU:$D1C0 PRG:11C0 F0 02 + beq SubCD17C_Block_5 ; CPU:$D1C0 PRG:11C0 F0 02 iny ; CPU:$D1C2 PRG:11C2 C8 iny ; CPU:$D1C3 PRG:11C3 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D1C4 +; Routine: SubCD17C_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4852,7 +4854,7 @@ Label_D1AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1C4: +SubCD17C_Block_5: 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 @@ -4861,7 +4863,7 @@ Label_D1C4: clc ; CPU:$D1CF PRG:11CF 18 adc Zp66,x ; CPU:$D1D0 PRG:11D0 75 66 ; ----------------------------------------------------------------------------- -; Routine: Label_D1D2 +; Routine: SubCD17C_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4869,14 +4871,14 @@ Label_D1C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1D2: +SubCD17C_Block_4: sta Zp01 ; CPU:$D1D2 PRG:11D2 85 01 ldy #$0B ; CPU:$D1D4 PRG:11D4 A0 0B cpx #$00 ; CPU:$D1D6 PRG:11D6 E0 00 - beq Label_D1DB ; CPU:$D1D8 PRG:11D8 F0 01 + beq SubCD1DB ; CPU:$D1D8 PRG:11D8 F0 01 iny ; CPU:$D1DA PRG:11DA C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D1DB +; Routine: SubCD1DB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4884,14 +4886,14 @@ Label_D1D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1DB: +SubCD1DB: 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 rts ; CPU:$D1E4 PRG:11E4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1E5 +; Routine: SubCD1E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +4901,10 @@ Label_D1DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1E5: +SubCD1E5: ldx #$01 ; CPU:$D1E5 PRG:11E5 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D1E7 +; Routine: SubCD1E5_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4910,16 +4912,16 @@ Label_D1E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1E7: +SubCD1E5_Block_2: lda Zp5A,x ; CPU:$D1E7 PRG:11E7 B5 5A - beq Label_D1F5 ; CPU:$D1E9 PRG:11E9 F0 0A + beq SubCD1E5_Block ; 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 ; ----------------------------------------------------------------------------- -; Routine: Label_D1F5 +; Routine: SubCD1E5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +4929,12 @@ Label_D1E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1F5: +SubCD1E5_Block: dex ; CPU:$D1F5 PRG:11F5 CA - bpl Label_D1E7 ; CPU:$D1F6 PRG:11F6 10 EF + bpl SubCD1E5_Block_2 ; CPU:$D1F6 PRG:11F6 10 EF rts ; CPU:$D1F8 PRG:11F8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1F9 +; Routine: SubCD1F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4940,10 +4942,10 @@ Label_D1F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1F9: +SubCD1F9: ldy #$00 ; CPU:$D1F9 PRG:11F9 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D1FB +; Routine: SubCD1F9_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4951,15 +4953,15 @@ Label_D1F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1FB: +SubCD1F9_Block_2: cmp $CBE8,y ; CPU:$D1FB PRG:11FB D9 E8 CB - bcc Label_D206 ; CPU:$D1FE PRG:11FE 90 06 + bcc SubCD1F9_Block ; CPU:$D1FE PRG:11FE 90 06 iny ; CPU:$D200 PRG:1200 C8 cpy #$05 ; CPU:$D201 PRG:1201 C0 05 - bne Label_D1FB ; CPU:$D203 PRG:1203 D0 F6 + bne SubCD1F9_Block_2 ; CPU:$D203 PRG:1203 D0 F6 dey ; CPU:$D205 PRG:1205 88 ; ----------------------------------------------------------------------------- -; Routine: Label_D206 +; Routine: SubCD1F9_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4967,15 +4969,15 @@ Label_D1FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D206: +SubCD1F9_Block: 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 Label_D211 ; CPU:$D20D PRG:120D D0 02 + bne SubCD212_Block_5 ; CPU:$D20D PRG:120D D0 02 lda #$01 ; CPU:$D20F PRG:120F A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D211 +; Routine: SubCD212_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4983,10 +4985,10 @@ Label_D206: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D211: +SubCD212_Block_5: rts ; CPU:$D211 PRG:1211 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D212 +; Routine: SubCD212 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4994,38 +4996,38 @@ Label_D211: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D212: +SubCD212: lda Zp5A ; CPU:$D212 PRG:1212 A5 5A and Zp5B ; CPU:$D214 PRG:1214 25 5B - beq Label_D211 ; CPU:$D216 PRG:1216 F0 F9 + beq SubCD212_Block_5 ; CPU:$D216 PRG:1216 F0 F9 lda Zp2D ; CPU:$D218 PRG:1218 A5 2D ora Zp2E ; CPU:$D21A PRG:121A 05 2E - bne Label_D211 ; CPU:$D21C PRG:121C D0 F3 + bne SubCD212_Block_5 ; CPU:$D21C PRG:121C D0 F3 lda #$07 ; CPU:$D21E PRG:121E A9 07 cmp Zp6A ; CPU:$D220 PRG:1220 C5 6A - beq Label_D211 ; CPU:$D222 PRG:1222 F0 ED + beq SubCD212_Block_5 ; CPU:$D222 PRG:1222 F0 ED cmp Zp6B ; CPU:$D224 PRG:1224 C5 6B - beq Label_D211 ; CPU:$D226 PRG:1226 F0 E9 + beq SubCD212_Block_5 ; CPU:$D226 PRG:1226 F0 E9 jsr $D2D9 ; CPU:$D228 PRG:1228 20 D9 D2 - bcs Label_D211 ; CPU:$D22B PRG:122B B0 E4 + bcs SubCD212_Block_5 ; CPU:$D22B PRG:122B B0 E4 lda #$00 ; CPU:$D22D PRG:122D A9 00 sta Zp02 ; CPU:$D22F PRG:122F 85 02 lda Zp6A ; CPU:$D231 PRG:1231 A5 6A lsr a ; CPU:$D233 PRG:1233 4A - bcs Label_D25A ; CPU:$D234 PRG:1234 B0 24 + bcs SubCD212_Block_7 ; CPU:$D234 PRG:1234 B0 24 lda Zp00 ; CPU:$D236 PRG:1236 A5 00 cmp #$09 ; CPU:$D238 PRG:1238 C9 09 - bcs Label_D25A ; CPU:$D23A PRG:123A B0 1E + bcs SubCD212_Block_7 ; CPU:$D23A PRG:123A B0 1E lda Zp66 ; CPU:$D23C PRG:123C A5 66 cmp Zp67 ; CPU:$D23E PRG:123E C5 67 - bcs Label_D249 ; CPU:$D240 PRG:1240 B0 07 + bcs SubCD212_Block_8 ; CPU:$D240 PRG:1240 B0 07 cmp #$C3 ; CPU:$D242 PRG:1242 C9 C3 - bcs Label_D24B ; CPU:$D244 PRG:1244 B0 05 + bcs SubCD212_Block_9 ; 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: Label_D249 +; Routine: SubCD212_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5033,10 +5035,10 @@ Label_D212: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D249: +SubCD212_Block_8: inc Zp66 ; CPU:$D249 PRG:1249 E6 66 ; ----------------------------------------------------------------------------- -; Routine: Label_D24B +; Routine: SubCD212_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5044,14 +5046,14 @@ Label_D249: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D24B: +SubCD212_Block_9: lda Zp62 ; CPU:$D24B PRG:124B A5 62 - beq Label_D252 ; CPU:$D24D PRG:124D F0 03 + beq SubCD212_Block_10 ; 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: Label_D252 +; Routine: SubCD212_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +5061,13 @@ Label_D24B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D252: +SubCD212_Block_10: 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 Label_D269 ; CPU:$D258 PRG:1258 D0 0F + bne SubCD212_Block_11 ; CPU:$D258 PRG:1258 D0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D25A +; Routine: SubCD212_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5073,14 +5075,14 @@ Label_D252: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D25A: +SubCD212_Block_7: ldx #$00 ; CPU:$D25A PRG:125A A2 00 lda Zp03 ; CPU:$D25C PRG:125C A5 03 - bpl Label_D264 ; CPU:$D25E PRG:125E 10 04 + bpl SubCD212_Block_12 ; CPU:$D25E PRG:125E 10 04 lda #$00 ; CPU:$D260 PRG:1260 A9 00 - beq Label_D266 ; CPU:$D262 PRG:1262 F0 02 + beq SubCD212_Block_13 ; CPU:$D262 PRG:1262 F0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D264 +; Routine: SubCD212_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5088,10 +5090,10 @@ Label_D25A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D264: +SubCD212_Block_12: lda #$01 ; CPU:$D264 PRG:1264 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D266 +; Routine: SubCD212_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5099,10 +5101,10 @@ Label_D264: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D266: +SubCD212_Block_13: jsr $D2BC ; CPU:$D266 PRG:1266 20 BC D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D269 +; Routine: SubCD212_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5110,23 +5112,23 @@ Label_D266: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D269: +SubCD212_Block_11: lda Zp6B ; CPU:$D269 PRG:1269 A5 6B and #$01 ; CPU:$D26B PRG:126B 29 01 - bne Label_D2B6 ; CPU:$D26D PRG:126D D0 47 + bne SubCD212_Block_15 ; CPU:$D26D PRG:126D D0 47 lda Zp00 ; CPU:$D26F PRG:126F A5 00 cmp #$09 ; CPU:$D271 PRG:1271 C9 09 - bcs Label_D2B6 ; CPU:$D273 PRG:1273 B0 41 + bcs SubCD212_Block_15 ; CPU:$D273 PRG:1273 B0 41 lda Zp67 ; CPU:$D275 PRG:1275 A5 67 cmp Zp66 ; CPU:$D277 PRG:1277 C5 66 - bcs Label_D282 ; CPU:$D279 PRG:1279 B0 07 + bcs SubCD212_Block_16 ; CPU:$D279 PRG:1279 B0 07 cmp #$C3 ; CPU:$D27B PRG:127B C9 C3 - bcs Label_D284 ; CPU:$D27D PRG:127D B0 05 + bcs SubCD212_Block_17 ; 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: Label_D282 +; Routine: SubCD212_Block_16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5134,10 +5136,10 @@ Label_D269: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D282: +SubCD212_Block_16: inc Zp67 ; CPU:$D282 PRG:1282 E6 67 ; ----------------------------------------------------------------------------- -; Routine: Label_D284 +; Routine: SubCD212_Block_17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5145,9 +5147,9 @@ Label_D282: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D284: +SubCD212_Block_17: lda Zp02 ; CPU:$D284 PRG:1284 A5 02 - beq Label_D2B5 ; CPU:$D286 PRG:1286 F0 2D + beq SubCD212_Block_18 ; 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 @@ -5162,7 +5164,7 @@ Label_D284: sta ZpE9 ; CPU:$D29A PRG:129A 85 E9 ldx #$01 ; CPU:$D29C PRG:129C A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D29E +; Routine: SubCD212_Block_20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5170,14 +5172,14 @@ Label_D284: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D29E: +SubCD212_Block_20: lda ZpE6,x ; CPU:$D29E PRG:129E B5 E6 cmp #$06 ; CPU:$D2A0 PRG:12A0 C9 06 - bcc Label_D2A8 ; CPU:$D2A2 PRG:12A2 90 04 + bcc SubCD212_Block_19 ; CPU:$D2A2 PRG:12A2 90 04 lda #$05 ; CPU:$D2A4 PRG:12A4 A9 05 sta ZpE6,x ; CPU:$D2A6 PRG:12A6 95 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_D2A8 +; Routine: SubCD212_Block_19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5185,16 +5187,16 @@ Label_D29E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2A8: +SubCD212_Block_19: dex ; CPU:$D2A8 PRG:12A8 CA - bpl Label_D29E ; CPU:$D2A9 PRG:12A9 10 F3 + bpl SubCD212_Block_20 ; 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: Label_D2B5 +; Routine: SubCD212_Block_18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +5204,10 @@ Label_D2A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2B5: +SubCD212_Block_18: rts ; CPU:$D2B5 PRG:12B5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2B6 +; Routine: SubCD212_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +5215,12 @@ Label_D2B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2B6: +SubCD212_Block_15: 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: Label_D2BC +; Routine: SubCD2BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5226,14 +5228,14 @@ Label_D2B6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2BC: +SubCD2BC: sta Zp62,x ; CPU:$D2BC PRG:12BC 95 62 - beq Label_D2C7 ; CPU:$D2BE PRG:12BE F0 07 + beq SubCD2BC_Block ; 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: Label_D2C7 +; Routine: SubCD2BC_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +5243,11 @@ Label_D2BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2C7: +SubCD2BC_Block: dec Zp64,x ; CPU:$D2C7 PRG:12C7 D6 64 dec Zp64,x ; CPU:$D2C9 PRG:12C9 D6 64 ; ----------------------------------------------------------------------------- -; Routine: Label_D2CB +; Routine: UpdateSound12_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5253,13 +5255,13 @@ Label_D2C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2CB: +UpdateSound12_4: lda Zp68,x ; CPU:$D2CB PRG:12CB B5 68 lsr a ; CPU:$D2CD PRG:12CD 4A - bcc Label_D2D2 ; CPU:$D2CE PRG:12CE 90 02 + bcc UpdateSound12_4_Block ; CPU:$D2CE PRG:12CE 90 02 lda #$02 ; CPU:$D2D0 PRG:12D0 A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D2D2 +; Routine: UpdateSound12_4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5267,13 +5269,13 @@ Label_D2CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2D2: +UpdateSound12_4_Block: 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: Label_D2D9 +; Routine: SubCD2D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5281,7 +5283,7 @@ Label_D2D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2D9: +SubCD2D9: lda Zp64 ; CPU:$D2D9 PRG:12D9 A5 64 sec ; CPU:$D2DB PRG:12DB 38 sbc Zp65 ; CPU:$D2DC PRG:12DC E5 65 @@ -5289,17 +5291,17 @@ Label_D2D9: jsr $D2F9 ; CPU:$D2E0 PRG:12E0 20 F9 D2 sta Zp00 ; CPU:$D2E3 PRG:12E3 85 00 cmp #$0A ; CPU:$D2E5 PRG:12E5 C9 0A - bcs Label_D2F8 ; CPU:$D2E7 PRG:12E7 B0 0F + bcs SubCD2D9_Block_2 ; 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 cmp #$15 ; CPU:$D2F3 PRG:12F3 C9 15 - bcc Label_D2F8 ; CPU:$D2F5 PRG:12F5 90 01 + bcc SubCD2D9_Block_2 ; CPU:$D2F5 PRG:12F5 90 01 sec ; CPU:$D2F7 PRG:12F7 38 ; ----------------------------------------------------------------------------- -; Routine: Label_D2F8 +; Routine: SubCD2D9_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5307,10 +5309,10 @@ Label_D2D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2F8: +SubCD2D9_Block_2: rts ; CPU:$D2F8 PRG:12F8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2F9 +; Routine: SubCD2F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5318,10 +5320,10 @@ Label_D2F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2F9: - bpl Label_D300 ; CPU:$D2F9 PRG:12F9 10 05 +SubCD2F9: + bpl SubCD2F9_Block ; CPU:$D2F9 PRG:12F9 10 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D2FB +; Routine: SubCD2FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5329,12 +5331,12 @@ Label_D2F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2FB: +SubCD2FB: eor #$FF ; CPU:$D2FB PRG:12FB 49 FF clc ; CPU:$D2FD PRG:12FD 18 adc #$01 ; CPU:$D2FE PRG:12FE 69 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D300 +; Routine: SubCD2F9_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5342,10 +5344,10 @@ Label_D2FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D300: +SubCD2F9_Block: rts ; CPU:$D300 PRG:1300 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D301 +; Routine: SubCD301 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5353,12 +5355,12 @@ Label_D300: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D301: +SubCD301: 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: Label_D308 +; Routine: SubCD308 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5366,17 +5368,17 @@ Label_D301: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D308: +SubCD308: lda Zp5A,x ; CPU:$D308 PRG:1308 B5 5A - beq Label_D371 ; CPU:$D30A PRG:130A F0 65 + beq SubCD308_Block_14 ; CPU:$D30A PRG:130A F0 65 lda Zp6A,x ; CPU:$D30C PRG:130C B5 6A - beq Label_D371 ; CPU:$D30E PRG:130E F0 61 + beq SubCD308_Block_14 ; CPU:$D30E PRG:130E F0 61 cmp #$07 ; CPU:$D310 PRG:1310 C9 07 - beq Label_D371 ; CPU:$D312 PRG:1312 F0 5D + beq SubCD308_Block_14 ; CPU:$D312 PRG:1312 F0 5D cmp #$09 ; CPU:$D314 PRG:1314 C9 09 - beq Label_D371 ; CPU:$D316 PRG:1316 F0 59 + beq SubCD308_Block_14 ; CPU:$D316 PRG:1316 F0 59 lda Zp2D,x ; CPU:$D318 PRG:1318 B5 2D - bne Label_D371 ; CPU:$D31A PRG:131A D0 55 + bne SubCD308_Block_14 ; 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 @@ -5389,7 +5391,7 @@ Label_D308: pha ; CPU:$D32B PRG:132B 48 ldy #$00 ; CPU:$D32C PRG:132C A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D32E +; Routine: SubCD308_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5397,17 +5399,17 @@ Label_D308: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D32E: +SubCD308_Block_7: lda #$01 ; CPU:$D32E PRG:132E A9 01 jsr $DB1D ; CPU:$D330 PRG:1330 20 1D DB - bcs Label_D33C ; CPU:$D333 PRG:1333 B0 07 + bcs SubCD308_Block_6 ; CPU:$D333 PRG:1333 B0 07 iny ; CPU:$D335 PRG:1335 C8 cpy #$0B ; CPU:$D336 PRG:1336 C0 0B - bcc Label_D32E ; CPU:$D338 PRG:1338 90 F4 + bcc SubCD308_Block_7 ; CPU:$D338 PRG:1338 90 F4 pla ; CPU:$D33A PRG:133A 68 rts ; CPU:$D33B PRG:133B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D33C +; Routine: SubCD308_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5415,30 +5417,30 @@ Label_D32E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D33C: +SubCD308_Block_6: pla ; CPU:$D33C PRG:133C 68 tax ; CPU:$D33D PRG:133D AA lda Zp55 ; CPU:$D33E PRG:133E A5 55 cmp #$02 ; CPU:$D340 PRG:1340 C9 02 - beq Label_D393 ; CPU:$D342 PRG:1342 F0 4F + beq SubCD308_Block_8 ; CPU:$D342 PRG:1342 F0 4F cpy #$01 ; CPU:$D344 PRG:1344 C0 01 - beq Label_D372 ; CPU:$D346 PRG:1346 F0 2A + beq SubCD308_Block_9 ; 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 + bcc SubCD308_Block_14 ; CPU:$D352 PRG:1352 90 1D cpy #$08 ; CPU:$D354 PRG:1354 C0 08 - bcs Label_D371 ; CPU:$D356 PRG:1356 B0 19 + bcs SubCD308_Block_14 ; 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 - bpl Label_D371 ; CPU:$D35F PRG:135F 10 10 + bcs SubCD308_Block_12 ; 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 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 +; Routine: SubCD308_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5446,13 +5448,13 @@ Label_D33C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D367: +SubCD308_Block_12: lda a:$008E,y ; CPU:$D367 PRG:1367 B9 8E 00 - bpl Label_D371 ; CPU:$D36A PRG:136A 10 05 + bpl SubCD308_Block_14 ; 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: Label_D371 +; Routine: SubCD308_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5460,10 +5462,10 @@ Label_D367: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D371: +SubCD308_Block_14: rts ; CPU:$D371 PRG:1371 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D372 +; Routine: SubCD308_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +5473,16 @@ Label_D371: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D372: +SubCD308_Block_9: ldy #$01 ; CPU:$D372 PRG:1372 A0 01 lda Zp00 ; CPU:$D374 PRG:1374 A5 00 - bmi Label_D37F ; CPU:$D376 PRG:1376 30 07 + bmi SubCD308_Block_15 ; 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 Label_D383 ; CPU:$D37D PRG:137D D0 04 + bne SubCD308_Block_16 ; CPU:$D37D PRG:137D D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D37F +; Routine: SubCD308_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5488,11 +5490,11 @@ Label_D372: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D37F: +SubCD308_Block_15: inc Zp64,x ; CPU:$D37F PRG:137F F6 64 inc Zp64,x ; CPU:$D381 PRG:1381 F6 64 ; ----------------------------------------------------------------------------- -; Routine: Label_D383 +; Routine: SubCD308_Block_16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +5502,10 @@ Label_D37F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D383: +SubCD308_Block_16: lda Zp6A,x ; CPU:$D383 PRG:1383 B5 6A ; ----------------------------------------------------------------------------- -; Routine: Label_D385 +; Routine: SubCD385 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5511,15 +5513,15 @@ Label_D383: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D385: +SubCD385: and #$01 ; CPU:$D385 PRG:1385 29 01 - beq Label_D390 ; CPU:$D387 PRG:1387 F0 07 + beq SubCD308_Block_17 ; 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: Label_D390 +; Routine: SubCD308_Block_17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5527,14 +5529,14 @@ Label_D385: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D390: +SubCD308_Block_17: 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: Label_D393 +; Routine: SubCD308_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5542,20 +5544,20 @@ Label_D390: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D393: +SubCD308_Block_8: cpy #$03 ; CPU:$D393 PRG:1393 C0 03 - bcc Label_D3AB ; CPU:$D395 PRG:1395 90 14 + bcc SubCD308_Block_19 ; CPU:$D395 PRG:1395 90 14 cpy #$09 ; CPU:$D397 PRG:1397 C0 09 - bcs Label_D3AB ; CPU:$D399 PRG:1399 B0 10 + bcs SubCD308_Block_19 ; 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 lda #$10 ; CPU:$D3A7 PRG:13A7 A9 10 sta ZpFE ; CPU:$D3A9 PRG:13A9 85 FE ; ----------------------------------------------------------------------------- -; Routine: Label_D3AB +; Routine: SubCD308_Block_19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5563,10 +5565,10 @@ Label_D393: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3AB: +SubCD308_Block_19: rts ; CPU:$D3AB PRG:13AB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3AC +; Routine: SubCD3AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +5576,12 @@ Label_D3AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3AC: +SubCD3AC: 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: Label_D3B3 +; Routine: SubCD3B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,9 +5589,9 @@ Label_D3AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3B3: +SubCD3B3: lda Zp5A,x ; CPU:$D3B3 PRG:13B3 B5 5A - beq Label_D3F5 ; CPU:$D3B5 PRG:13B5 F0 3E + beq SubCD3B3_Block_11 ; 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 @@ -5605,7 +5607,7 @@ Label_D3B3: stx Zp09 ; CPU:$D3CB PRG:13CB 86 09 ldy #$0A ; CPU:$D3CD PRG:13CD A0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D3CF +; Routine: SubCD3B3_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5613,14 +5615,14 @@ Label_D3B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3CF: +SubCD3B3_Block_8: ldx Zp09 ; CPU:$D3CF PRG:13CF A6 09 cpy #$00 ; CPU:$D3D1 PRG:13D1 C0 00 - beq Label_D3D9 ; CPU:$D3D3 PRG:13D3 F0 04 + beq SubCD3B3_Block_2 ; CPU:$D3D3 PRG:13D3 F0 04 cpy #$08 ; CPU:$D3D5 PRG:13D5 C0 08 - bcc Label_D3DF ; CPU:$D3D7 PRG:13D7 90 06 + bcc SubCD3B3_Block_3 ; CPU:$D3D7 PRG:13D7 90 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D3D9 +; Routine: SubCD3B3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5628,12 +5630,12 @@ Label_D3CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3D9: +SubCD3B3_Block_2: lda Zp6A,x ; CPU:$D3D9 PRG:13D9 B5 6A cmp #$04 ; CPU:$D3DB PRG:13DB C9 04 - beq Label_D3EB ; CPU:$D3DD PRG:13DD F0 0C + beq SubCD3B3_Block_4 ; CPU:$D3DD PRG:13DD F0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D3DF +; Routine: SubCD3B3_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5641,15 +5643,15 @@ Label_D3D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3DF: +SubCD3B3_Block_3: lda Zp6A,x ; CPU:$D3DF PRG:13DF B5 6A cmp #$05 ; CPU:$D3E1 PRG:13E1 C9 05 - bne Label_D3F2 ; CPU:$D3E3 PRG:13E3 D0 0D + bne SubCD3B3_Block_6 ; CPU:$D3E3 PRG:13E3 D0 0D lda Zp60,x ; CPU:$D3E5 PRG:13E5 B5 60 cmp #$09 ; CPU:$D3E7 PRG:13E7 C9 09 - bne Label_D3F2 ; CPU:$D3E9 PRG:13E9 D0 07 + bne SubCD3B3_Block_6 ; CPU:$D3E9 PRG:13E9 D0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_D3EB +; Routine: SubCD3B3_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5657,12 +5659,12 @@ Label_D3DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3EB: +SubCD3B3_Block_4: lda #$00 ; CPU:$D3EB PRG:13EB A9 00 jsr $DB1D ; CPU:$D3ED PRG:13ED 20 1D DB - bcs Label_D3F6 ; CPU:$D3F0 PRG:13F0 B0 04 + bcs SubCD3B3_Block_7 ; CPU:$D3F0 PRG:13F0 B0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D3F2 +; Routine: SubCD3B3_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5670,11 +5672,11 @@ Label_D3EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3F2: +SubCD3B3_Block_6: dey ; CPU:$D3F2 PRG:13F2 88 - bpl Label_D3CF ; CPU:$D3F3 PRG:13F3 10 DA + bpl SubCD3B3_Block_8 ; CPU:$D3F3 PRG:13F3 10 DA ; ----------------------------------------------------------------------------- -; Routine: Label_D3F5 +; Routine: SubCD3B3_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5682,10 +5684,10 @@ Label_D3F2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3F5: +SubCD3B3_Block_11: rts ; CPU:$D3F5 PRG:13F5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3F6 +; Routine: SubCD3B3_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5693,14 +5695,14 @@ Label_D3F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3F6: +SubCD3B3_Block_7: 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 Label_D400 ; CPU:$D3FC PRG:13FC D0 02 + bne SubCD3B3_Block_9 ; CPU:$D3FC PRG:13FC D0 02 lda #$05 ; CPU:$D3FE PRG:13FE A9 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D400 +; Routine: SubCD3B3_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5708,8 +5710,8 @@ Label_D3F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D400: - sta a:$0091,y ; CPU:$D400 PRG:1400 99 91 00 +SubCD3B3_Block_9: + 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 @@ -5720,13 +5722,13 @@ Label_D400: pla ; CPU:$D412 PRG:1412 68 tax ; CPU:$D413 PRG:1413 AA cpy #$00 ; CPU:$D414 PRG:1414 C0 00 - beq Label_D3F5 ; CPU:$D416 PRG:1416 F0 DD + beq SubCD3B3_Block_11 ; CPU:$D416 PRG:1416 F0 DD cpy #$08 ; CPU:$D418 PRG:1418 C0 08 - bcs Label_D3F5 ; CPU:$D41A PRG:141A B0 D9 + bcs SubCD3B3_Block_11 ; CPU:$D41A PRG:141A B0 D9 stx Zp5F ; CPU:$D41C PRG:141C 86 5F jmp $D07C ; CPU:$D41E PRG:141E 4C 7C D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D421 +; Routine: SubCD421 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +5736,17 @@ Label_D400: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D421: +SubCD421: 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 Label_D431 ; CPU:$D427 PRG:1427 D0 08 + bne SubCD421_Block ; 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: Label_D431 +; Routine: SubCD421_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +5754,14 @@ Label_D421: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D431: +SubCD421_Block: cpy #$05 ; CPU:$D431 PRG:1431 C0 05 - bcc Label_D43C ; CPU:$D433 PRG:1433 90 07 + bcc SubCD421_Block_2 ; CPU:$D433 PRG:1433 90 07 cpy #$08 ; CPU:$D435 PRG:1435 C0 08 - bcs Label_D441 ; CPU:$D437 PRG:1437 B0 08 + bcs SubCD421_Block_3 ; CPU:$D437 PRG:1437 B0 08 inc $0362,x ; CPU:$D439 PRG:1439 FE 62 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D43C +; Routine: SubCD421_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +5769,12 @@ Label_D431: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D43C: +SubCD421_Block_2: lda #$08 ; CPU:$D43C PRG:143C A9 08 sta ZpFF ; CPU:$D43E PRG:143E 85 FF rts ; CPU:$D440 PRG:1440 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D441 +; Routine: SubCD421_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5780,12 +5782,12 @@ Label_D43C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D441: +SubCD421_Block_3: lda #$02 ; CPU:$D441 PRG:1441 A9 02 sta ZpFC ; CPU:$D443 PRG:1443 85 FC rts ; CPU:$D445 PRG:1445 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D446 +; Routine: SubCD446 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5793,7 +5795,7 @@ Label_D441: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D446: +SubCD446: 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 @@ -5812,7 +5814,7 @@ Label_D446: sta ZpFF ; CPU:$D460 PRG:1460 85 FF rts ; CPU:$D462 PRG:1462 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D463 +; Routine: SubCD463 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5820,10 +5822,10 @@ Label_D446: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D463: +SubCD463: ldx #$00 ; CPU:$D463 PRG:1463 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D465 +; Routine: SubCD463_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5831,24 +5833,24 @@ Label_D463: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D465: +SubCD463_Block_5: lda Zp5A,x ; CPU:$D465 PRG:1465 B5 5A - beq Label_D487 ; CPU:$D467 PRG:1467 F0 1E + beq SubCD463_Block_3 ; 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 Label_D487 ; CPU:$D471 PRG:1471 B0 14 + bcs SubCD463_Block_3 ; CPU:$D471 PRG:1471 B0 14 cpy #$0A ; CPU:$D473 PRG:1473 C0 0A - bne Label_D487 ; CPU:$D475 PRG:1475 D0 10 + bne SubCD463_Block_3 ; CPU:$D475 PRG:1475 D0 10 lda #$00 ; CPU:$D477 PRG:1477 A9 00 sta Zp5A,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 Label_D483 ; CPU:$D47F PRG:147F D0 02 + bne SubCD463_Block_4 ; CPU:$D47F PRG:147F D0 02 dec Zp20,x ; CPU:$D481 PRG:1481 D6 20 ; ----------------------------------------------------------------------------- -; Routine: Label_D483 +; Routine: SubCD463_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5856,11 +5858,11 @@ Label_D465: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D483: +SubCD463_Block_4: lda #$08 ; CPU:$D483 PRG:1483 A9 08 sta Zp3F,x ; CPU:$D485 PRG:1485 95 3F ; ----------------------------------------------------------------------------- -; Routine: Label_D487 +; Routine: SubCD463_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5868,12 +5870,12 @@ Label_D483: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D487: +SubCD463_Block_3: inx ; CPU:$D487 PRG:1487 E8 cpx #$02 ; CPU:$D488 PRG:1488 E0 02 - bne Label_D465 ; CPU:$D48A PRG:148A D0 D9 + bne SubCD463_Block_5 ; CPU:$D48A PRG:148A D0 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D48C +; Routine: SubCD493_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5881,14 +5883,14 @@ Label_D487: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D48C: +SubCD493_Block_14: 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: Label_D493 +; Routine: SubCD493 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5896,10 +5898,10 @@ Label_D48C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D493: +SubCD493: ldx #$01 ; CPU:$D493 PRG:1493 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D495 +; Routine: SubCD493_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5907,13 +5909,13 @@ Label_D493: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D495: +SubCD493_Block_12: lda Zp5A,x ; CPU:$D495 PRG:1495 B5 5A cmp #$09 ; CPU:$D497 PRG:1497 C9 09 - bne Label_D4CE ; CPU:$D499 PRG:1499 D0 33 + bne SubCD493_Block_11 ; CPU:$D499 PRG:1499 D0 33 ldy #$02 ; CPU:$D49B PRG:149B A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D49D +; Routine: SubCD493_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5921,14 +5923,14 @@ Label_D495: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D49D: +SubCD493_Block_4: lda Zp64,x ; CPU:$D49D PRG:149D B5 64 cmp $D48D,y ; CPU:$D49F PRG:149F D9 8D D4 - bcc Label_D4A9 ; CPU:$D4A2 PRG:14A2 90 05 + bcc SubCD493_Block_2 ; CPU:$D4A2 PRG:14A2 90 05 cmp $D490,y ; CPU:$D4A4 PRG:14A4 D9 90 D4 - bcc Label_D4AE ; CPU:$D4A7 PRG:14A7 90 05 + bcc SubCD493_Block_3 ; CPU:$D4A7 PRG:14A7 90 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D4A9 +; Routine: SubCD493_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5936,12 +5938,12 @@ Label_D49D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4A9: +SubCD493_Block_2: dey ; CPU:$D4A9 PRG:14A9 88 - bpl Label_D49D ; CPU:$D4AA PRG:14AA 10 F1 - bmi Label_D4CE ; CPU:$D4AC PRG:14AC 30 20 + bpl SubCD493_Block_4 ; CPU:$D4AA PRG:14AA 10 F1 + bmi SubCD493_Block_11 ; CPU:$D4AC PRG:14AC 30 20 ; ----------------------------------------------------------------------------- -; Routine: Label_D4AE +; Routine: SubCD493_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5949,18 +5951,18 @@ Label_D4A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4AE: +SubCD493_Block_3: lda ZpE6,x ; CPU:$D4AE PRG:14AE B5 E6 cmp #$03 ; CPU:$D4B0 PRG:14B0 C9 03 - bcc Label_D4C0 ; CPU:$D4B2 PRG:14B2 90 0C + bcc SubCD493_Block_6 ; CPU:$D4B2 PRG:14B2 90 0C lda Zp66,x ; CPU:$D4B4 PRG:14B4 B5 66 cmp #$14 ; CPU:$D4B6 PRG:14B6 C9 14 - bcs Label_D4CE ; CPU:$D4B8 PRG:14B8 B0 14 + bcs SubCD493_Block_11 ; CPU:$D4B8 PRG:14B8 B0 14 cmp #$10 ; CPU:$D4BA PRG:14BA C9 10 - bcs Label_D4D2 ; CPU:$D4BC PRG:14BC B0 14 - bcc Label_D4CE ; CPU:$D4BE PRG:14BE 90 0E + bcs SubCD493_Block_8 ; CPU:$D4BC PRG:14BC B0 14 + bcc SubCD493_Block_11 ; CPU:$D4BE PRG:14BE 90 0E ; ----------------------------------------------------------------------------- -; Routine: Label_D4C0 +; Routine: SubCD493_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +5970,16 @@ Label_D4AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4C0: +SubCD493_Block_6: lda Zp66,x ; CPU:$D4C0 PRG:14C0 B5 66 cmp #$2C ; CPU:$D4C2 PRG:14C2 C9 2C - bcs Label_D4CE ; CPU:$D4C4 PRG:14C4 B0 08 + bcs SubCD493_Block_11 ; CPU:$D4C4 PRG:14C4 B0 08 cmp #$28 ; CPU:$D4C6 PRG:14C6 C9 28 - bcc Label_D4CE ; CPU:$D4C8 PRG:14C8 90 04 + bcc SubCD493_Block_11 ; CPU:$D4C8 PRG:14C8 90 04 lda #$03 ; CPU:$D4CA PRG:14CA A9 03 sta ZpE6,x ; CPU:$D4CC PRG:14CC 95 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_D4CE +; Routine: SubCD493_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5985,12 +5987,12 @@ Label_D4C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4CE: +SubCD493_Block_11: dex ; CPU:$D4CE PRG:14CE CA - bpl Label_D495 ; CPU:$D4CF PRG:14CF 10 C4 + bpl SubCD493_Block_12 ; CPU:$D4CF PRG:14CF 10 C4 rts ; CPU:$D4D1 PRG:14D1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D4D2 +; Routine: SubCD493_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5998,18 +6000,18 @@ Label_D4CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4D2: +SubCD493_Block_8: 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 Label_D4E4 ; CPU:$D4DA PRG:14DA F0 08 + beq SubCD493_Block_13 ; CPU:$D4DA PRG:14DA F0 08 cmp Zp5B ; CPU:$D4DC PRG:14DC C5 5B - bne Label_D48C ; CPU:$D4DE PRG:14DE D0 AC + bne SubCD493_Block_14 ; CPU:$D4DE PRG:14DE D0 AC lda #$01 ; CPU:$D4E0 PRG:14E0 A9 01 - bne Label_D4EE ; CPU:$D4E2 PRG:14E2 D0 0A + bne SubCD493_Block_16 ; CPU:$D4E2 PRG:14E2 D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D4E4 +; Routine: SubCD493_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6017,14 +6019,14 @@ Label_D4D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4E4: +SubCD493_Block_13: 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 Label_D4EE ; CPU:$D4EA PRG:14EA D0 02 + bne SubCD493_Block_16 ; CPU:$D4EA PRG:14EA D0 02 lda #$02 ; CPU:$D4EC PRG:14EC A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D4EE +; Routine: SubCD493_Block_16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6032,12 +6034,12 @@ Label_D4E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4EE: +SubCD493_Block_16: 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: Label_D4F5 +; Routine: SubCD4F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6045,7 +6047,7 @@ Label_D4EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4F5: +SubCD4F5: sta Zp55 ; CPU:$D4F5 PRG:14F5 85 55 lda #$80 ; CPU:$D4F7 PRG:14F7 A9 80 sta ZpFB ; CPU:$D4F9 PRG:14F9 85 FB @@ -6058,7 +6060,7 @@ Label_D4F5: ; 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: Label_D507 +; Routine: SubCD507 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +6068,12 @@ Label_D4F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D507: +SubCD507: lda Zp13 ; CPU:$D507 PRG:1507 A5 13 - bne Label_D547 ; CPU:$D509 PRG:1509 D0 3C + bne SubCD507_Block_4 ; CPU:$D509 PRG:1509 D0 3C lda Zp66,x ; CPU:$D50B PRG:150B B5 66 cmp #$26 ; CPU:$D50D PRG:150D C9 26 - bcs Label_D547 ; CPU:$D50F PRG:150F B0 36 + bcs SubCD507_Block_4 ; 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 @@ -6085,10 +6087,10 @@ Label_D507: adc ZpD6 ; CPU:$D526 PRG:1526 65 D6 sta Zp00 ; CPU:$D528 PRG:1528 85 00 cmp Zp64,x ; CPU:$D52A PRG:152A D5 64 - bcs Label_D547 ; CPU:$D52C PRG:152C B0 19 + bcs SubCD507_Block_4 ; CPU:$D52C PRG:152C B0 19 adc Zp01 ; CPU:$D52E PRG:152E 65 01 cmp Zp64,x ; CPU:$D530 PRG:1530 D5 64 - bcc Label_D547 ; CPU:$D532 PRG:1532 90 13 + bcc SubCD507_Block_4 ; CPU:$D532 PRG:1532 90 13 lda Zp00 ; CPU:$D534 PRG:1534 A5 00 sta Zp64,x ; CPU:$D536 PRG:1536 95 64 inx ; CPU:$D538 PRG:1538 E8 @@ -6101,7 +6103,7 @@ Label_D507: asl a ; CPU:$D544 PRG:1544 0A sta Zp4D ; CPU:$D545 PRG:1545 85 4D ; ----------------------------------------------------------------------------- -; Routine: Label_D547 +; Routine: SubCD507_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6109,7 +6111,7 @@ Label_D507: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D547: +SubCD507_Block_4: lda Zp5F ; CPU:$D547 PRG:1547 A5 5F asl a ; CPU:$D549 PRG:1549 0A asl a ; CPU:$D54A PRG:154A 0A @@ -6118,7 +6120,7 @@ Label_D547: sta $021C,y ; CPU:$D54E PRG:154E 99 1C 02 rts ; CPU:$D551 PRG:1551 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D552 +; Routine: SubCD552 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6126,17 +6128,17 @@ Label_D547: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D552: +SubCD552: lda Zp6A,x ; CPU:$D552 PRG:1552 B5 6A cmp #$01 ; CPU:$D554 PRG:1554 C9 01 - beq Label_D561 ; CPU:$D556 PRG:1556 F0 09 + beq SubCD552_Block ; CPU:$D556 PRG:1556 F0 09 cmp #$02 ; CPU:$D558 PRG:1558 C9 02 - beq Label_D567 ; CPU:$D55A PRG:155A F0 0B + beq SubCD552_Block_2 ; CPU:$D55A PRG:155A F0 0B cmp #$03 ; CPU:$D55C PRG:155C C9 03 - beq Label_D564 ; CPU:$D55E PRG:155E F0 04 + beq SubCD552_Block_3 ; CPU:$D55E PRG:155E F0 04 rts ; CPU:$D560 PRG:1560 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D561 +; Routine: SubCD552_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6144,10 +6146,10 @@ Label_D552: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D561: +SubCD552_Block: jmp $CDB0 ; CPU:$D561 PRG:1561 4C B0 CD ; ----------------------------------------------------------------------------- -; Routine: Label_D564 +; Routine: SubCD552_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6155,10 +6157,10 @@ Label_D561: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D564: +SubCD552_Block_3: jmp $CFC6 ; CPU:$D564 PRG:1564 4C C6 CF ; ----------------------------------------------------------------------------- -; Routine: Label_D567 +; Routine: SubCD552_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6166,25 +6168,25 @@ Label_D564: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D567: +SubCD552_Block_2: 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 Label_D58D ; CPU:$D571 PRG:1571 D0 1A + bne SubCD552_Block_6 ; CPU:$D571 PRG:1571 D0 1A lda ZpE6,x ; CPU:$D573 PRG:1573 B5 E6 cmp #$03 ; CPU:$D575 PRG:1575 C9 03 - bcc Label_D58D ; CPU:$D577 PRG:1577 90 14 + bcc SubCD552_Block_6 ; CPU:$D577 PRG:1577 90 14 lda Zp70,x ; CPU:$D579 PRG:1579 B5 70 and #$03 ; CPU:$D57B PRG:157B 29 03 - beq Label_D58D ; CPU:$D57D PRG:157D F0 0E + beq SubCD552_Block_6 ; CPU:$D57D PRG:157D F0 0E sta Zp68,x ; CPU:$D57F PRG:157F 95 68 cmp #$01 ; CPU:$D581 PRG:1581 C9 01 - beq Label_D587 ; CPU:$D583 PRG:1583 F0 02 + beq SubCD552_Block_7 ; CPU:$D583 PRG:1583 F0 02 lda #$00 ; CPU:$D585 PRG:1585 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D587 +; Routine: SubCD552_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +6194,12 @@ Label_D567: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D587: +SubCD552_Block_7: 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: Label_D58D +; Routine: SubCD552_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6207,12 @@ Label_D587: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D58D: +SubCD552_Block_6: lda Zp68,x ; CPU:$D58D PRG:158D B5 68 - beq Label_D594 ; CPU:$D58F PRG:158F F0 03 + beq SubCD552_Block_8 ; CPU:$D58F PRG:158F F0 03 jsr $D160 ; CPU:$D591 PRG:1591 20 60 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D594 +; Routine: SubCD552_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6220,12 @@ Label_D58D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D594: +SubCD552_Block_8: 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: Label_D59C +; Routine: SubCD59C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6231,20 +6233,20 @@ Label_D594: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D59C: +SubCD59C: 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 Label_D5B0 ; CPU:$D5A5 PRG:15A5 B0 09 + bcs SubCD59C_Block ; CPU:$D5A5 PRG:15A5 B0 09 sta Zp28,x ; CPU:$D5A7 PRG:15A7 95 28 ldy Zp27 ; CPU:$D5A9 PRG:15A9 A4 27 - beq Label_D5B4 ; CPU:$D5AB PRG:15AB F0 07 + beq SubCD59C_Block_2 ; CPU:$D5AB PRG:15AB F0 07 sec ; CPU:$D5AD PRG:15AD 38 sbc #$10 ; CPU:$D5AE PRG:15AE E9 10 ; ----------------------------------------------------------------------------- -; Routine: Label_D5B0 +; Routine: SubCD59C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6254,11 @@ Label_D59C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5B0: +SubCD59C_Block: sta Zp28,x ; CPU:$D5B0 PRG:15B0 95 28 inc Zp2A,x ; CPU:$D5B2 PRG:15B2 F6 2A ; ----------------------------------------------------------------------------- -; Routine: Label_D5B4 +; Routine: SubCD59C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +6266,7 @@ Label_D5B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5B4: +SubCD59C_Block_2: 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 @@ -6272,10 +6274,10 @@ Label_D5B4: clc ; CPU:$D5BC PRG:15BC 18 adc #$18 ; CPU:$D5BD PRG:15BD 69 18 sta Zp0A ; CPU:$D5BF PRG:15BF 85 0A - bcc Label_D5C5 ; CPU:$D5C1 PRG:15C1 90 02 + bcc SubCD59C_Block_3 ; CPU:$D5C1 PRG:15C1 90 02 inc Zp09 ; CPU:$D5C3 PRG:15C3 E6 09 ; ----------------------------------------------------------------------------- -; Routine: Label_D5C5 +; Routine: SubCD59C_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6283,17 +6285,17 @@ Label_D5B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5C5: +SubCD59C_Block_3: 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 Label_D648 ; CPU:$D5D1 PRG:15D1 D0 75 + bne SubCD59C_Block_4 ; CPU:$D5D1 PRG:15D1 D0 75 ldy #$00 ; CPU:$D5D3 PRG:15D3 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D5D5 +; Routine: SubCD59C_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6301,30 +6303,30 @@ Label_D5C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5D5: +SubCD59C_Block_12: lda $06E0,y ; CPU:$D5D5 PRG:15D5 B9 E0 06 - bmi Label_D603 ; CPU:$D5D8 PRG:15D8 30 29 + bmi SubCD59C_Block_10 ; CPU:$D5D8 PRG:15D8 30 29 cmp Zp09 ; CPU:$D5DA PRG:15DA C5 09 - bne Label_D603 ; CPU:$D5DC PRG:15DC D0 25 + bne SubCD59C_Block_10 ; 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 Label_D603 ; CPU:$D5E5 PRG:15E5 B0 1C + bcs SubCD59C_Block_10 ; 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 Label_D603 ; CPU:$D5EF PRG:15EF 90 12 + bcc SubCD59C_Block_10 ; 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 Label_D617 ; CPU:$D5F8 PRG:15F8 F0 1D - bcs Label_D603 ; CPU:$D5FA PRG:15FA B0 07 + beq SubCD59C_Block_11 ; CPU:$D5F8 PRG:15F8 F0 1D + bcs SubCD59C_Block_10 ; 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 Label_D617 ; CPU:$D601 PRG:1601 B0 14 + bcs SubCD59C_Block_11 ; CPU:$D601 PRG:1601 B0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_D603 +; Routine: SubCD59C_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6332,20 +6334,20 @@ Label_D5D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D603: +SubCD59C_Block_10: iny ; CPU:$D603 PRG:1603 C8 cpy #$1E ; CPU:$D604 PRG:1604 C0 1E - bne Label_D5D5 ; CPU:$D606 PRG:1606 D0 CD + bne SubCD59C_Block_12 ; CPU:$D606 PRG:1606 D0 CD lda #$02 ; CPU:$D608 PRG:1608 A9 02 cmp Zp6A,x ; CPU:$D60A PRG:160A D5 6A - beq Label_D63B ; CPU:$D60C PRG:160C F0 2D + beq SubCD59C_Block_17 ; 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 Label_D639 ; CPU:$D615 PRG:1615 D0 22 + bne SubCD59C_Block_14 ; CPU:$D615 PRG:1615 D0 22 ; ----------------------------------------------------------------------------- -; Routine: Label_D617 +; Routine: SubCD59C_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6353,21 +6355,21 @@ Label_D603: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D617: +SubCD59C_Block_11: 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 Label_D62F ; CPU:$D61F PRG:161F F0 0E + beq SubCD59C_Block_15 ; CPU:$D61F PRG:161F F0 0E cmp #$03 ; CPU:$D621 PRG:1621 C9 03 - beq Label_D63B ; CPU:$D623 PRG:1623 F0 16 + beq SubCD59C_Block_17 ; CPU:$D623 PRG:1623 F0 16 lda ZpE6,x ; CPU:$D625 PRG:1625 B5 E6 cmp #$03 ; CPU:$D627 PRG:1627 C9 03 - bcc Label_D63B ; CPU:$D629 PRG:1629 90 10 + bcc SubCD59C_Block_17 ; CPU:$D629 PRG:1629 90 10 lda #$03 ; CPU:$D62B PRG:162B A9 03 sta Zp6A,x ; CPU:$D62D PRG:162D 95 6A ; ----------------------------------------------------------------------------- -; Routine: Label_D62F +; Routine: SubCD59C_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +6377,14 @@ Label_D617: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D62F: +SubCD59C_Block_15: 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: Label_D639 +; Routine: SubCD59C_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6390,10 +6392,10 @@ Label_D62F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D639: +SubCD59C_Block_14: sta ZpE0,x ; CPU:$D639 PRG:1639 95 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_D63B +; Routine: SubCD59C_Block_17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6401,7 +6403,7 @@ Label_D639: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D63B: +SubCD59C_Block_17: jsr $D6E0 ; CPU:$D63B PRG:163B 20 E0 D6 lda Zp28,x ; CPU:$D63E PRG:163E B5 28 sec ; CPU:$D640 PRG:1640 38 @@ -6410,7 +6412,7 @@ Label_D63B: adc Zp66,x ; CPU:$D644 PRG:1644 75 66 sta Zp66,x ; CPU:$D646 PRG:1646 95 66 ; ----------------------------------------------------------------------------- -; Routine: Label_D648 +; Routine: SubCD59C_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,25 +6420,25 @@ Label_D63B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D648: +SubCD59C_Block_4: ldx Zp5F ; 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 Label_D6CB ; CPU:$D651 PRG:1651 F0 78 + beq SubCD684_Block_8 ; CPU:$D651 PRG:1651 F0 78 lda Zp13 ; CPU:$D653 PRG:1653 A5 13 ora Zp2A,x ; CPU:$D655 PRG:1655 15 2A - bne Label_D669 ; CPU:$D657 PRG:1657 D0 10 + bne SubCD59C_Block_19 ; CPU:$D657 PRG:1657 D0 10 lda Zp64,x ; CPU:$D659 PRG:1659 B5 64 cmp #$2B ; CPU:$D65B PRG:165B C9 2B - bcc Label_D6CC ; CPU:$D65D PRG:165D 90 6D + bcc SubCD59C_Block_21 ; CPU:$D65D PRG:165D 90 6D cmp #$C6 ; CPU:$D65F PRG:165F C9 C6 - bcs Label_D6CC ; CPU:$D661 PRG:1661 B0 69 + bcs SubCD59C_Block_21 ; CPU:$D661 PRG:1661 B0 69 lda Zp28,x ; CPU:$D663 PRG:1663 B5 28 cmp #$58 ; CPU:$D665 PRG:1665 C9 58 - bcc Label_D6CB ; CPU:$D667 PRG:1667 90 62 + bcc SubCD684_Block_8 ; CPU:$D667 PRG:1667 90 62 ; ----------------------------------------------------------------------------- -; Routine: Label_D669 +; Routine: SubCD59C_Block_19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6444,21 +6446,21 @@ Label_D648: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D669: +SubCD59C_Block_19: 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 Label_D680 ; CPU:$D672 PRG:1672 90 0C + bcc SubCD59C_Block_23 ; CPU:$D672 PRG:1672 90 0C ldy Zp2A,x ; CPU:$D674 PRG:1674 B4 2A sty Zp09 ; CPU:$D676 PRG:1676 84 09 - beq Label_D684 ; CPU:$D678 PRG:1678 F0 0A + beq SubCD684 ; 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: Label_D680 +; Routine: SubCD59C_Block_23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +6468,11 @@ Label_D669: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D680: +SubCD59C_Block_23: ldy Zp2A,x ; CPU:$D680 PRG:1680 B4 2A - beq Label_D697 ; CPU:$D682 PRG:1682 F0 13 + beq SubCD684_Block_3 ; CPU:$D682 PRG:1682 F0 13 ; ----------------------------------------------------------------------------- -; Routine: Label_D684 +; Routine: SubCD684 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6478,10 +6480,10 @@ Label_D680: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D684: +SubCD684: ldy #$00 ; CPU:$D684 PRG:1684 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D686 +; Routine: SubCD684_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6489,14 +6491,14 @@ Label_D684: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D686: +SubCD684_Block_2: cmp #$38 ; CPU:$D686 PRG:1686 C9 38 - bcc Label_D68F ; CPU:$D688 PRG:1688 90 05 + bcc SubCD684_Block ; CPU:$D688 PRG:1688 90 05 sbc #$38 ; CPU:$D68A PRG:168A E9 38 iny ; CPU:$D68C PRG:168C C8 - bne Label_D686 ; CPU:$D68D PRG:168D D0 F7 + bne SubCD684_Block_2 ; CPU:$D68D PRG:168D D0 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_D68F +; Routine: SubCD684_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6504,15 +6506,15 @@ Label_D686: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D68F: +SubCD684_Block: lda Zp09 ; CPU:$D68F PRG:168F A5 09 - beq Label_D697 ; CPU:$D691 PRG:1691 F0 04 + beq SubCD684_Block_3 ; 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: Label_D697 +; Routine: SubCD684_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6520,10 +6522,10 @@ Label_D68F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D697: +SubCD684_Block_3: lda #$A8 ; CPU:$D697 PRG:1697 A9 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_D699 +; Routine: SubCD684_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6531,15 +6533,15 @@ Label_D697: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D699: +SubCD684_Block_5: cpy #$00 ; CPU:$D699 PRG:1699 C0 00 - beq Label_D6A3 ; CPU:$D69B PRG:169B F0 06 + beq SubCD684_Block_4 ; 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 Label_D699 ; CPU:$D6A1 PRG:16A1 D0 F6 + bne SubCD684_Block_5 ; CPU:$D6A1 PRG:16A1 D0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_D6A3 +; Routine: SubCD684_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6549,10 @@ Label_D699: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6A3: +SubCD684_Block_4: sta Zp0A ; CPU:$D6A3 PRG:16A3 85 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D6A5 +; Routine: SubCD6A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +6560,7 @@ Label_D6A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6A5: +SubCD6A5: sec ; CPU:$D6A5 PRG:16A5 38 sbc #$A8 ; CPU:$D6A6 PRG:16A6 E9 A8 sta Zp09 ; CPU:$D6A8 PRG:16A8 85 09 @@ -6568,10 +6570,10 @@ Label_D6A5: 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 Label_D6BF ; CPU:$D6B5 PRG:16B5 90 08 + bcc SubCD684_Block_6 ; CPU:$D6B5 PRG:16B5 90 08 lda Zp0A ; CPU:$D6B7 PRG:16B7 A5 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D6B9 +; Routine: SubCD6B9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6579,12 +6581,12 @@ Label_D6A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6B9: +SubCD6B9: sta Zp64,x ; CPU:$D6B9 PRG:16B9 95 64 lda #$00 ; CPU:$D6BB PRG:16BB A9 00 - beq Label_D6C9 ; CPU:$D6BD PRG:16BD F0 0A + beq SubCD684_Block_7 ; CPU:$D6BD PRG:16BD F0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D6BF +; Routine: SubCD684_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6592,14 +6594,14 @@ Label_D6B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6BF: +SubCD684_Block_6: cmp Zp0B ; CPU:$D6BF PRG:16BF C5 0B - bcs Label_D6CB ; CPU:$D6C1 PRG:16C1 B0 08 + bcs SubCD684_Block_8 ; 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: Label_D6C9 +; Routine: SubCD684_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +6609,10 @@ Label_D6BF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6C9: +SubCD684_Block_7: sta Zp62,x ; CPU:$D6C9 PRG:16C9 95 62 ; ----------------------------------------------------------------------------- -; Routine: Label_D6CB +; Routine: SubCD684_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6618,10 +6620,10 @@ Label_D6C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6CB: +SubCD684_Block_8: rts ; CPU:$D6CB PRG:16CB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D6CC +; Routine: SubCD59C_Block_21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6629,17 +6631,17 @@ Label_D6CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6CC: +SubCD59C_Block_21: lda #$02 ; CPU:$D6CC PRG:16CC A9 02 cmp Zp6A,x ; CPU:$D6CE PRG:16CE D5 6A - beq Label_D6DC ; CPU:$D6D0 PRG:16D0 F0 0A + beq SubCD684_Block_9 ; 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: Label_D6DC +; Routine: SubCD684_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6647,11 +6649,11 @@ Label_D6CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6DC: +SubCD684_Block_9: inc $0352,x ; CPU:$D6DC PRG:16DC FE 52 03 rts ; CPU:$D6DF PRG:16DF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D6E0 +; Routine: SubCD6E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +6661,13 @@ Label_D6DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6E0: +SubCD6E0: lda ZpE6,x ; CPU:$D6E0 PRG:16E0 B5 E6 cmp #$04 ; CPU:$D6E2 PRG:16E2 C9 04 - bcs Label_D71A ; CPU:$D6E4 PRG:16E4 B0 34 + bcs SubCD6E0_Block ; CPU:$D6E4 PRG:16E4 B0 34 ldy #$00 ; CPU:$D6E6 PRG:16E6 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D6E8 +; Routine: SubCD6E0_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6673,30 +6675,30 @@ Label_D6E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6E8: +SubCD6E0_Block_8: lda $06E0,y ; CPU:$D6E8 PRG:16E8 B9 E0 06 - bmi Label_D715 ; CPU:$D6EB PRG:16EB 30 28 + bmi SubCD6E0_Block_6 ; CPU:$D6EB PRG:16EB 30 28 cmp Zp2A,x ; CPU:$D6ED PRG:16ED D5 2A - bne Label_D715 ; CPU:$D6EF PRG:16EF D0 24 + bne SubCD6E0_Block_6 ; 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 Label_D715 ; CPU:$D6F9 PRG:16F9 B0 1A + bcs SubCD6E0_Block_6 ; 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 Label_D715 ; CPU:$D700 PRG:1700 90 13 + bcc SubCD6E0_Block_6 ; 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 Label_D715 ; CPU:$D709 PRG:1709 B0 0A + bcs SubCD6E0_Block_6 ; 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 Label_D71B ; CPU:$D713 PRG:1713 B0 06 + bcs SubCD6E0_Block_7 ; CPU:$D713 PRG:1713 B0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D715 +; Routine: SubCD6E0_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6704,12 +6706,12 @@ Label_D6E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D715: +SubCD6E0_Block_6: iny ; CPU:$D715 PRG:1715 C8 cpy #$1E ; CPU:$D716 PRG:1716 C0 1E - bne Label_D6E8 ; CPU:$D718 PRG:1718 D0 CE + bne SubCD6E0_Block_8 ; CPU:$D718 PRG:1718 D0 CE ; ----------------------------------------------------------------------------- -; Routine: Label_D71A +; Routine: SubCD6E0_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +6719,10 @@ Label_D715: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D71A: +SubCD6E0_Block: rts ; CPU:$D71A PRG:171A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D71B +; Routine: SubCD6E0_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +6730,13 @@ Label_D71A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D71B: +SubCD6E0_Block_7: 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: Label_D723 +; Routine: SubCD724_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +6744,10 @@ Label_D71B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D723: +SubCD724_Block_6: rts ; CPU:$D723 PRG:1723 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D724 +; Routine: SubCD724 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +6755,10 @@ Label_D723: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D724: +SubCD724: ldx #$01 ; CPU:$D724 PRG:1724 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D726 +; Routine: SubCD724_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6764,20 +6766,20 @@ Label_D724: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D726: +SubCD724_Block_4: lda Zp6A,x ; CPU:$D726 PRG:1726 B5 6A cmp #$06 ; CPU:$D728 PRG:1728 C9 06 - beq Label_D74C ; CPU:$D72A PRG:172A F0 20 + beq SubCD724_Block_3 ; CPU:$D72A PRG:172A F0 20 lda Zp66,x ; CPU:$D72C PRG:172C B5 66 cmp #$D4 ; CPU:$D72E PRG:172E C9 D4 - bcc Label_D74C ; CPU:$D730 PRG:1730 90 1A + bcc SubCD724_Block_3 ; 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 lda Zp20,x ; CPU:$D73C PRG:173C B5 20 - bmi Label_D74C ; CPU:$D73E PRG:173E 30 0C + bmi SubCD724_Block_3 ; 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 @@ -6786,7 +6788,7 @@ Label_D726: pla ; CPU:$D74A PRG:174A 68 tax ; CPU:$D74B PRG:174B AA ; ----------------------------------------------------------------------------- -; Routine: Label_D74C +; Routine: SubCD724_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6794,13 +6796,13 @@ Label_D726: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D74C: +SubCD724_Block_3: dex ; CPU:$D74C PRG:174C CA - bpl Label_D726 ; CPU:$D74D PRG:174D 10 D7 + bpl SubCD724_Block_4 ; CPU:$D74D PRG:174D 10 D7 lda Zp6A ; CPU:$D74F PRG:174F A5 6A - bne Label_D723 ; CPU:$D751 PRG:1751 D0 D0 + bne SubCD724_Block_6 ; CPU:$D751 PRG:1751 D0 D0 lda Zp6B ; CPU:$D753 PRG:1753 A5 6B - bne Label_D723 ; CPU:$D755 PRG:1755 D0 CC + bne SubCD724_Block_6 ; 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 @@ -6821,7 +6823,7 @@ Label_D74C: .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: Label_D7DE +; Routine: SubCD7DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6829,19 +6831,19 @@ Label_D74C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7DE: +SubCD7DE: lda Zp8C ; CPU:$D7DE PRG:17DE A5 8C - bne Label_D82E ; CPU:$D7E0 PRG:17E0 D0 4C + bne SubCD7DE_Block_11 ; CPU:$D7E0 PRG:17E0 D0 4C lda Zp3D ; CPU:$D7E2 PRG:17E2 A5 3D - bne Label_D7FC ; CPU:$D7E4 PRG:17E4 D0 16 + bne SubCD7DE_Block_2 ; CPU:$D7E4 PRG:17E4 D0 16 lda Zp2C ; CPU:$D7E6 PRG:17E6 A5 2C - beq Label_D7F1 ; CPU:$D7E8 PRG:17E8 F0 07 + beq SubCD7DE_Block_3 ; 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: Label_D7F1 +; Routine: SubCD7DE_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6849,13 +6851,13 @@ Label_D7DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7F1: +SubCD7DE_Block_3: lda Zp7C ; CPU:$D7F1 PRG:17F1 A5 7C - bne Label_D7F8 ; CPU:$D7F3 PRG:17F3 D0 03 + bne SubCD7DE_Block_4 ; CPU:$D7F3 PRG:17F3 D0 03 inc Zp7C ; CPU:$D7F5 PRG:17F5 E6 7C rts ; CPU:$D7F7 PRG:17F7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D7F8 +; Routine: SubCD7DE_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6863,11 +6865,11 @@ Label_D7F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7F8: +SubCD7DE_Block_4: cmp #$80 ; CPU:$D7F8 PRG:17F8 C9 80 - beq Label_D816 ; CPU:$D7FA PRG:17FA F0 1A + beq SubCD7DE_Block_5 ; CPU:$D7FA PRG:17FA F0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_D7FC +; Routine: SubCD7DE_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6875,10 +6877,10 @@ Label_D7F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7FC: +SubCD7DE_Block_2: ldx #$01 ; CPU:$D7FC PRG:17FC A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D7FE +; Routine: SubCD7DE_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6886,15 +6888,15 @@ Label_D7FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7FE: +SubCD7DE_Block_8: lda Zp6A,x ; CPU:$D7FE PRG:17FE B5 6A cmp #$01 ; CPU:$D800 PRG:1800 C9 01 - bne Label_D80A ; CPU:$D802 PRG:1802 D0 06 + bne SubCD7DE_Block_6 ; CPU:$D802 PRG:1802 D0 06 lda Zp90 ; CPU:$D804 PRG:1804 A5 90 cmp Zp5A,x ; CPU:$D806 PRG:1806 D5 5A - beq Label_D80F ; CPU:$D808 PRG:1808 F0 05 + beq SubCD7DE_Block_7 ; CPU:$D808 PRG:1808 F0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D80A +; Routine: SubCD7DE_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6902,12 +6904,12 @@ Label_D7FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D80A: +SubCD7DE_Block_6: dex ; CPU:$D80A PRG:180A CA - bpl Label_D7FE ; CPU:$D80B PRG:180B 10 F1 - bmi Label_D82E ; CPU:$D80D PRG:180D 30 1F + bpl SubCD7DE_Block_8 ; CPU:$D80B PRG:180B 10 F1 + bmi SubCD7DE_Block_11 ; CPU:$D80D PRG:180D 30 1F ; ----------------------------------------------------------------------------- -; Routine: Label_D80F +; Routine: SubCD7DE_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6915,12 +6917,12 @@ Label_D80A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D80F: +SubCD7DE_Block_7: lda #$01 ; CPU:$D80F PRG:180F A9 01 sta $0376 ; CPU:$D811 PRG:1811 8D 76 03 - bne Label_D819 ; CPU:$D814 PRG:1814 D0 03 + bne SubCD7DE_Block_10 ; CPU:$D814 PRG:1814 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D816 +; Routine: SubCD7DE_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6928,10 +6930,10 @@ Label_D80F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D816: +SubCD7DE_Block_5: jsr $E215 ; CPU:$D816 PRG:1816 20 15 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_D819 +; Routine: SubCD7DE_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6939,12 +6941,12 @@ Label_D816: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D819: +SubCD7DE_Block_10: lda Zp90 ; CPU:$D819 PRG:1819 A5 90 cmp #$09 ; CPU:$D81B PRG:181B C9 09 - beq Label_D82E ; CPU:$D81D PRG:181D F0 0F + beq SubCD7DE_Block_11 ; CPU:$D81D PRG:181D F0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D81F +; Routine: SubCD81F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6952,7 +6954,7 @@ Label_D819: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D81F: +SubCD81F: lda #$0C ; CPU:$D81F PRG:181F A9 0C sta Zp8B ; CPU:$D821 PRG:1821 85 8B sta Zp8C ; CPU:$D823 PRG:1823 85 8C @@ -6962,7 +6964,7 @@ Label_D81F: adc #$06 ; CPU:$D82A PRG:182A 69 06 sta Zp8A ; CPU:$D82C PRG:182C 85 8A ; ----------------------------------------------------------------------------- -; Routine: Label_D82E +; Routine: SubCD7DE_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +6972,10 @@ Label_D81F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D82E: +SubCD7DE_Block_11: rts ; CPU:$D82E PRG:182E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D82F +; Routine: SubCD82F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6981,9 +6983,9 @@ Label_D82E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D82F: +SubCD82F: lda Zp8C ; CPU:$D82F PRG:182F A5 8C - beq Label_D887 ; CPU:$D831 PRG:1831 F0 54 + beq SubCD82F_Block_2 ; 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 @@ -6998,14 +7000,14 @@ Label_D82F: 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 Label_D887 ; CPU:$D855 PRG:1855 D0 30 + bne SubCD82F_Block_2 ; 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: Label_D863 +; Routine: SubCD82F_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7013,25 +7015,25 @@ Label_D82F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D863: +SubCD82F_Block_8: cpx #$00 ; CPU:$D863 PRG:1863 E0 00 - beq Label_D884 ; CPU:$D865 PRG:1865 F0 1D + beq SubCD82F_Block_7 ; CPU:$D865 PRG:1865 F0 1D lda Zp91,x ; CPU:$D867 PRG:1867 B5 91 - beq Label_D884 ; CPU:$D869 PRG:1869 F0 19 + beq SubCD82F_Block_7 ; 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 Label_D884 ; CPU:$D872 PRG:1872 90 10 + bcc SubCD82F_Block_7 ; CPU:$D872 PRG:1872 90 10 jsr $D888 ; CPU:$D874 PRG:1874 20 88 D8 cpx #$02 ; CPU:$D877 PRG:1877 E0 02 - bcc Label_D884 ; CPU:$D879 PRG:1879 90 09 + bcc SubCD82F_Block_7 ; CPU:$D879 PRG:1879 90 09 cpx #$05 ; CPU:$D87B PRG:187B E0 05 - bcs Label_D884 ; CPU:$D87D PRG:187D B0 05 + bcs SubCD82F_Block_7 ; 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: Label_D884 +; Routine: SubCD82F_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7039,11 +7041,11 @@ Label_D863: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D884: +SubCD82F_Block_7: dex ; CPU:$D884 PRG:1884 CA - bpl Label_D863 ; CPU:$D885 PRG:1885 10 DC + bpl SubCD82F_Block_8 ; CPU:$D885 PRG:1885 10 DC ; ----------------------------------------------------------------------------- -; Routine: Label_D887 +; Routine: SubCD82F_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7051,10 +7053,10 @@ Label_D884: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D887: +SubCD82F_Block_2: rts ; CPU:$D887 PRG:1887 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D888 +; Routine: SubCD888 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7062,14 +7064,14 @@ Label_D887: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D888: +SubCD888: 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: Label_D890 +; Routine: SubCD890 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7077,12 +7079,12 @@ Label_D888: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D890: +SubCD890: lda Zp8C ; CPU:$D890 PRG:1890 A5 8C - bne Label_D8A5 ; CPU:$D892 PRG:1892 D0 11 + bne SubCD8AF_Block_6 ; CPU:$D892 PRG:1892 D0 11 ldx #$01 ; CPU:$D894 PRG:1894 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D896 +; Routine: SubCD890_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7090,15 +7092,15 @@ Label_D890: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D896: +SubCD890_Block_4: lda Zp6A,x ; CPU:$D896 PRG:1896 B5 6A cmp #$01 ; CPU:$D898 PRG:1898 C9 01 - bne Label_D8A2 ; CPU:$D89A PRG:189A D0 06 + bne SubCD890_Block_2 ; CPU:$D89A PRG:189A D0 06 lda Zp66,x ; CPU:$D89C PRG:189C B5 66 cmp #$60 ; CPU:$D89E PRG:189E C9 60 - bcc Label_D8A6 ; CPU:$D8A0 PRG:18A0 90 04 + bcc SubCD890_Block_3 ; CPU:$D8A0 PRG:18A0 90 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D8A2 +; Routine: SubCD890_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7106,11 +7108,11 @@ Label_D896: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8A2: +SubCD890_Block_2: dex ; CPU:$D8A2 PRG:18A2 CA - bpl Label_D896 ; CPU:$D8A3 PRG:18A3 10 F1 + bpl SubCD890_Block_4 ; CPU:$D8A3 PRG:18A3 10 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_D8A5 +; Routine: SubCD8AF_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7118,10 +7120,10 @@ Label_D8A2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8A5: +SubCD8AF_Block_6: rts ; CPU:$D8A5 PRG:18A5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8A6 +; Routine: SubCD890_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7129,13 +7131,13 @@ Label_D8A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8A6: +SubCD890_Block_3: lda Zp13 ; CPU:$D8A6 PRG:18A6 A5 13 ora Zp27 ; CPU:$D8A8 PRG:18A8 05 27 - beq Label_D8A5 ; CPU:$D8AA PRG:18AA F0 F9 + beq SubCD8AF_Block_6 ; CPU:$D8AA PRG:18AA F0 F9 jmp $D81F ; CPU:$D8AC PRG:18AC 4C 1F D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D8AF +; Routine: SubCD8AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7143,21 +7145,21 @@ Label_D8A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8AF: +SubCD8AF: lda Zp8C ; CPU:$D8AF PRG:18AF A5 8C - beq Label_D8A5 ; CPU:$D8B1 PRG:18B1 F0 F2 + beq SubCD8AF_Block_6 ; 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 Label_D8C8 ; CPU:$D8BC PRG:18BC 90 0A + bcc SubCD8AF_Block_4 ; CPU:$D8BC PRG:18BC 90 0A lda Zp27 ; CPU:$D8BE PRG:18BE A5 27 - bne Label_D8C6 ; CPU:$D8C0 PRG:18C0 D0 04 + bne SubCD8AF_Block_3 ; CPU:$D8C0 PRG:18C0 D0 04 sta Zp13 ; CPU:$D8C2 PRG:18C2 85 13 - beq Label_D8C8 ; CPU:$D8C4 PRG:18C4 F0 02 + beq SubCD8AF_Block_4 ; CPU:$D8C4 PRG:18C4 F0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D8C6 +; Routine: SubCD8AF_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +7167,10 @@ Label_D8AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8C6: +SubCD8AF_Block_3: dec Zp27 ; CPU:$D8C6 PRG:18C6 C6 27 ; ----------------------------------------------------------------------------- -; Routine: Label_D8C8 +; Routine: SubCD8AF_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7176,17 +7178,17 @@ Label_D8C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8C8: +SubCD8AF_Block_4: 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 Label_D8DC ; CPU:$D8D6 PRG:18D6 F0 04 + beq SubCD8AF_Block_5 ; CPU:$D8D6 PRG:18D6 F0 04 dec Zp8B ; CPU:$D8D8 PRG:18D8 C6 8B - bne Label_D8A5 ; CPU:$D8DA PRG:18DA D0 C9 + bne SubCD8AF_Block_6 ; CPU:$D8DA PRG:18DA D0 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_D8DC +; Routine: SubCD8AF_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7194,7 +7196,7 @@ Label_D8C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8DC: +SubCD8AF_Block_5: lda #$00 ; CPU:$D8DC PRG:18DC A9 00 sta Zp8C ; CPU:$D8DE PRG:18DE 85 8C lda Zp24 ; CPU:$D8E0 PRG:18E0 A5 24 @@ -7203,7 +7205,7 @@ Label_D8DC: sta Zp24 ; CPU:$D8E5 PRG:18E5 85 24 jmp $E573 ; CPU:$D8E7 PRG:18E7 4C 73 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_D8EA +; Routine: SubCD8EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7211,18 +7213,18 @@ Label_D8DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8EA: +SubCD8EA: 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 Label_D8FC ; CPU:$D8F0 PRG:18F0 D0 0A + bne SubCD8EA_Block ; 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: Label_D8FC +; Routine: SubCD8EA_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +7232,10 @@ Label_D8EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8FC: +SubCD8EA_Block: rts ; CPU:$D8FC PRG:18FC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8FD +; Routine: SubCD8FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7241,13 +7243,13 @@ Label_D8FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8FD: +SubCD8FD: ldy Zp56 ; CPU:$D8FD PRG:18FD A4 56 cpy #$04 ; CPU:$D8FF PRG:18FF C0 04 - bcc Label_D905 ; CPU:$D901 PRG:1901 90 02 + bcc SubCD8FD_Block ; CPU:$D901 PRG:1901 90 02 ldy #$04 ; CPU:$D903 PRG:1903 A0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D905 +; Routine: SubCD8FD_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7255,13 +7257,13 @@ Label_D8FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D905: +SubCD8FD_Block: 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: Label_D90E +; Routine: SubCD90F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7269,10 +7271,10 @@ Label_D905: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D90E: +SubCD90F_Block: rts ; CPU:$D90E PRG:190E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D90F +; Routine: SubCD90F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7280,17 +7282,17 @@ Label_D90E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D90F: +SubCD90F: lda Zp8D ; CPU:$D90F PRG:190F A5 8D cmp Zp8A ; CPU:$D911 PRG:1911 C5 8A - bcs Label_D90E ; CPU:$D913 PRG:1913 B0 F9 + bcs SubCD90F_Block ; 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: Label_D91C +; Routine: SubCD91C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7298,7 +7300,7 @@ Label_D90F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D91C: +SubCD91C: txa ; CPU:$D91C PRG:191C 8A pha ; CPU:$D91D PRG:191D 48 tya ; CPU:$D91E PRG:191E 98 @@ -7319,10 +7321,10 @@ Label_D91C: 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 Label_D942 ; CPU:$D93D PRG:193D B0 03 + bcs SubCD91C_Block ; CPU:$D93D PRG:193D B0 03 inc $0364,x ; CPU:$D93F PRG:193F FE 64 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D942 +; Routine: SubCD91C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7330,12 +7332,12 @@ Label_D91C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D942: +SubCD91C_Block: pla ; CPU:$D942 PRG:1942 68 tax ; CPU:$D943 PRG:1943 AA ldy #$00 ; CPU:$D944 PRG:1944 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D946 +; Routine: SubCD91C_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7343,19 +7345,19 @@ Label_D942: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D946: +SubCD91C_Block_3: lda $02D0,y ; CPU:$D946 PRG:1946 B9 D0 02 cmp #$F8 ; CPU:$D949 PRG:1949 C9 F8 - beq Label_D957 ; CPU:$D94B PRG:194B F0 0A + beq SubCD91C_Block_2 ; 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 Label_D946 ; CPU:$D953 PRG:1953 90 F1 - bcs Label_D9A8 ; CPU:$D955 PRG:1955 B0 51 + bcc SubCD91C_Block_3 ; CPU:$D953 PRG:1953 90 F1 + bcs SubCD91C_Block_4 ; CPU:$D955 PRG:1955 B0 51 ; ----------------------------------------------------------------------------- -; Routine: Label_D957 +; Routine: SubCD91C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7363,15 +7365,15 @@ Label_D946: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D957: +SubCD91C_Block_2: lda ZpD7,x ; CPU:$D957 PRG:1957 B5 D7 cmp #$06 ; CPU:$D959 PRG:1959 C9 06 - bcs Label_D967 ; CPU:$D95B PRG:195B B0 0A + bcs SubCD91C_Block_5 ; CPU:$D95B PRG:195B B0 0A cmp #$03 ; CPU:$D95D PRG:195D C9 03 - bcc Label_D964 ; CPU:$D95F PRG:195F 90 03 + bcc SubCD91C_Block_6 ; CPU:$D95F PRG:195F 90 03 jsr $D9AD ; CPU:$D961 PRG:1961 20 AD D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D964 +; Routine: SubCD91C_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +7381,12 @@ Label_D957: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D964: +SubCD91C_Block_6: lda #$03 ; CPU:$D964 PRG:1964 A9 03 ; ---- data $D966-$D966 (1 bytes) ---- .byte $2C ; CPU:$D966 PRG:1966 2C ; ----------------------------------------------------------------------------- -; Routine: Label_D967 +; Routine: SubCD91C_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7392,7 +7394,7 @@ Label_D964: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D967: +SubCD91C_Block_5: 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 @@ -7406,10 +7408,10 @@ Label_D967: 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 Label_D988 ; CPU:$D984 PRG:1984 D0 02 + bne SubCD91C_Block_7 ; CPU:$D984 PRG:1984 D0 02 lda #$0A ; CPU:$D986 PRG:1986 A9 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D988 +; Routine: SubCD91C_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +7419,7 @@ Label_D967: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D988: +SubCD91C_Block_7: sta $02D1,y ; CPU:$D988 PRG:1988 99 D1 02 tya ; CPU:$D98B PRG:198B 98 lsr a ; CPU:$D98C PRG:198C 4A @@ -7430,10 +7432,10 @@ Label_D988: 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 Label_D9A5 ; CPU:$D9A1 PRG:19A1 D0 02 + bne SubCD91C_Block_8 ; CPU:$D9A1 PRG:19A1 D0 02 lda #$FF ; CPU:$D9A3 PRG:19A3 A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D9A5 +; Routine: SubCD91C_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7441,10 +7443,10 @@ Label_D988: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9A5: +SubCD91C_Block_8: sta $0658,y ; CPU:$D9A5 PRG:19A5 99 58 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D9A8 +; Routine: SubCD91C_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +7454,14 @@ Label_D9A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9A8: +SubCD91C_Block_4: 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: Label_D9AD +; Routine: SubCD9AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +7469,10 @@ Label_D9A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9AD: +SubCD9AD: lda $063F ; CPU:$D9AD PRG:19AD AD 3F 06 ora $0301 ; CPU:$D9B0 PRG:19B0 0D 01 03 - bne Label_D9C3 ; CPU:$D9B3 PRG:19B3 D0 0E + bne SubCD9AD_Block ; 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 @@ -7480,7 +7482,7 @@ Label_D9AD: pla ; CPU:$D9C1 PRG:19C1 68 tax ; CPU:$D9C2 PRG:19C2 AA ; ----------------------------------------------------------------------------- -; Routine: Label_D9C3 +; Routine: SubCD9AD_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +7490,13 @@ Label_D9AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9C3: +SubCD9AD_Block: 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: Label_D9CC +; Routine: SubCD9CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7502,10 +7504,10 @@ Label_D9C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9CC: +SubCD9CC: ldy #$14 ; CPU:$D9CC PRG:19CC A0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_D9CE +; Routine: SubCDA44_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7513,10 +7515,10 @@ Label_D9CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9CE: +SubCDA44_Block: lda $02D0,y ; CPU:$D9CE PRG:19CE B9 D0 02 cmp #$F8 ; CPU:$D9D1 PRG:19D1 C9 F8 - beq Label_DA44 ; CPU:$D9D3 PRG:19D3 F0 6F + beq SubCDA44 ; 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 @@ -7529,7 +7531,7 @@ Label_D9CE: 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 Label_DA3A ; CPU:$D9EE PRG:19EE B0 4A + bcs SubCD9CC_Block ; 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 @@ -7545,11 +7547,11 @@ Label_D9CE: lsr a ; CPU:$DA08 PRG:1A08 4A ldx Zp03 ; CPU:$DA09 PRG:1A09 A6 03 dex ; CPU:$DA0B PRG:1A0B CA - beq Label_DA11 ; CPU:$DA0C PRG:1A0C F0 03 + beq SubCD9CC_Block_2 ; CPU:$DA0C PRG:1A0C F0 03 clc ; CPU:$DA0E PRG:1A0E 18 adc #$04 ; CPU:$DA0F PRG:1A0F 69 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DA11 +; Routine: SubCD9CC_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +7559,7 @@ Label_D9CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA11: +SubCD9CC_Block_2: tax ; CPU:$DA11 PRG:1A11 AA lda $02D2,y ; CPU:$DA12 PRG:1A12 B9 D2 02 and #$03 ; CPU:$DA15 PRG:1A15 29 03 @@ -7567,7 +7569,7 @@ Label_DA11: 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 Label_DA44 ; CPU:$DA24 PRG:1A24 10 1E + bpl SubCDA44 ; 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 @@ -7577,7 +7579,7 @@ Label_DA11: sta $0648,x ; CPU:$DA34 PRG:1A34 9D 48 06 jmp $DA44 ; CPU:$DA37 PRG:1A37 4C 44 DA ; ----------------------------------------------------------------------------- -; Routine: Label_DA3A +; Routine: SubCD9CC_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +7587,13 @@ Label_DA11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA3A: +SubCD9CC_Block: 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: Label_DA44 +; Routine: SubCDA44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7599,15 +7601,15 @@ Label_DA3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA44: +SubCDA44: 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 Label_D9CE ; CPU:$DA48 PRG:1A48 10 84 + bpl SubCDA44_Block ; CPU:$DA48 PRG:1A48 10 84 rts ; CPU:$DA4A PRG:1A4A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA4B +; Routine: SubCDA4B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7615,10 +7617,10 @@ Label_DA44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA4B: +SubCDA4B: ldx #$01 ; CPU:$DA4B PRG:1A4B A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DA4D +; Routine: SubCDA4B_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7626,20 +7628,20 @@ Label_DA4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA4D: +SubCDA4B_Block_8: 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 Label_DA93 ; CPU:$DA58 PRG:1A58 F0 39 + beq SubCDA4B_Block_6 ; CPU:$DA58 PRG:1A58 F0 39 cpy $0786 ; CPU:$DA5A PRG:1A5A CC 86 07 - beq Label_DA64 ; CPU:$DA5D PRG:1A5D F0 05 + beq SubCDA4B_Block_2 ; CPU:$DA5D PRG:1A5D F0 05 cpy $0787 ; CPU:$DA5F PRG:1A5F CC 87 07 - bne Label_DA93 ; CPU:$DA62 PRG:1A62 D0 2F + bne SubCDA4B_Block_6 ; CPU:$DA62 PRG:1A62 D0 2F ; ----------------------------------------------------------------------------- -; Routine: Label_DA64 +; Routine: SubCDA4B_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7647,25 +7649,25 @@ Label_DA4D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA64: +SubCDA4B_Block_2: lda $062F,y ; CPU:$DA64 PRG:1A64 B9 2F 06 cmp #$01 ; CPU:$DA67 PRG:1A67 C9 01 - bne Label_DA93 ; CPU:$DA69 PRG:1A69 D0 28 + bne SubCDA4B_Block_6 ; 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 Label_DA87 ; CPU:$DA73 PRG:1A73 90 12 + bcc SubCDA4B_Block_5 ; 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 Label_DA93 ; CPU:$DA7B PRG:1A7B 90 16 + bcc SubCDA4B_Block_6 ; 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: Label_DA85 +; Routine: SubCDA85 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +7675,10 @@ Label_DA64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA85: - beq Label_DA8F ; CPU:$DA85 PRG:1A85 F0 08 +SubCDA85: + beq SubCDA4B_Block_7 ; CPU:$DA85 PRG:1A85 F0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_DA87 +; Routine: SubCDA4B_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7684,13 +7686,13 @@ Label_DA85: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA87: +SubCDA4B_Block_5: 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: Label_DA8F +; Routine: SubCDA4B_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7698,11 +7700,11 @@ Label_DA87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA8F: +SubCDA4B_Block_7: sta Zp64,x ; CPU:$DA8F PRG:1A8F 95 64 sty Zp62,x ; CPU:$DA91 PRG:1A91 94 62 ; ----------------------------------------------------------------------------- -; Routine: Label_DA93 +; Routine: SubCDA4B_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7710,16 +7712,16 @@ Label_DA8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA93: +SubCDA4B_Block_6: dex ; CPU:$DA93 PRG:1A93 CA - bpl Label_DA4D ; CPU:$DA94 PRG:1A94 10 B7 + bpl SubCDA4B_Block_8 ; 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: Label_DA99 +; Routine: SubCDA99 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7727,20 +7729,20 @@ Label_DA93: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA99: +SubCDA99: jsr $DDC9 ; CPU:$DA99 PRG:1A99 20 C9 DD - bcc Label_DAD3 ; CPU:$DA9C PRG:1A9C 90 35 + bcc SubCDAD5_Block_3 ; 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 jsr $DAB2 ; CPU:$DAA6 PRG:1AA6 20 B2 DA - bcc Label_DAD4 ; CPU:$DAA9 PRG:1AA9 90 29 + bcc SubCDA99_Block_2 ; 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 ; ----------------------------------------------------------------------------- -; Routine: Label_DAB2 +; Routine: SubCDAB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7748,11 +7750,11 @@ Label_DA99: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAB2: +SubCDAB2: jsr $DAD5 ; CPU:$DAB2 PRG:1AB2 20 D5 DA - bcs Label_DABC ; CPU:$DAB5 PRG:1AB5 B0 05 + bcs SubCDAB2_Block ; CPU:$DAB5 PRG:1AB5 B0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DAB7 +; Routine: SubCDAB2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7760,12 +7762,12 @@ Label_DAB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAB7: +SubCDAB2_Block_2: lda #$04 ; CPU:$DAB7 PRG:1AB7 A9 04 sta ZpFC ; CPU:$DAB9 PRG:1AB9 85 FC rts ; CPU:$DABB PRG:1ABB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DABC +; Routine: SubCDAB2_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7773,19 +7775,19 @@ Label_DAB7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DABC: +SubCDAB2_Block: 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 Label_DAB7 ; CPU:$DAC8 PRG:1AC8 B0 ED + bcs SubCDAB2_Block_2 ; 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: Label_DAD3 +; Routine: SubCDAD5_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7793,10 +7795,10 @@ Label_DABC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAD3: +SubCDAD5_Block_3: clc ; CPU:$DAD3 PRG:1AD3 18 ; ----------------------------------------------------------------------------- -; Routine: Label_DAD4 +; Routine: SubCDA99_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7804,10 +7806,10 @@ Label_DAD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAD4: +SubCDA99_Block_2: rts ; CPU:$DAD4 PRG:1AD4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DAD5 +; Routine: SubCDAD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7815,7 +7817,7 @@ Label_DAD4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAD5: +SubCDAD5: txa ; CPU:$DAD5 PRG:1AD5 8A asl a ; CPU:$DAD6 PRG:1AD6 0A asl a ; CPU:$DAD7 PRG:1AD7 0A @@ -7826,13 +7828,13 @@ Label_DAD5: ldy Zp5A,x ; CPU:$DADF PRG:1ADF B4 5A iny ; CPU:$DAE1 PRG:1AE1 C8 cpy #$0A ; CPU:$DAE2 PRG:1AE2 C0 0A - bcs Label_DAD3 ; CPU:$DAE4 PRG:1AE4 B0 ED + bcs SubCDAD5_Block_3 ; CPU:$DAE4 PRG:1AE4 B0 ED cmp $D7A3,y ; CPU:$DAE6 PRG:1AE6 D9 A3 D7 - bcc Label_DAD3 ; CPU:$DAE9 PRG:1AE9 90 E8 + bcc SubCDAD5_Block_3 ; CPU:$DAE9 PRG:1AE9 90 E8 cmp $D7AD,y ; CPU:$DAEB PRG:1AEB D9 AD D7 - bcs Label_DAD3 ; CPU:$DAEE PRG:1AEE B0 E3 + bcs SubCDAD5_Block_3 ; CPU:$DAEE PRG:1AEE B0 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_DAF0 +; Routine: SubCDAF2_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7840,11 +7842,11 @@ Label_DAD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAF0: +SubCDAF2_Block_3: sec ; CPU:$DAF0 PRG:1AF0 38 rts ; CPU:$DAF1 PRG:1AF1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DAF2 +; Routine: SubCDAF2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,23 +7854,23 @@ Label_DAF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAF2: +SubCDAF2: 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 Label_DAF0 ; CPU:$DAF9 PRG:1AF9 F0 F5 + beq SubCDAF2_Block_3 ; CPU:$DAF9 PRG:1AF9 F0 F5 cmp #$03 ; CPU:$DAFB PRG:1AFB C9 03 - bpl Label_DAF0 ; CPU:$DAFD PRG:1AFD 10 F1 + bpl SubCDAF2_Block_3 ; CPU:$DAFD PRG:1AFD 10 F1 cmp #$FF ; CPU:$DAFF PRG:1AFF C9 FF - beq Label_DAF0 ; CPU:$DB01 PRG:1B01 F0 ED + beq SubCDAF2_Block_3 ; CPU:$DB01 PRG:1B01 F0 ED cmp #$02 ; CPU:$DB03 PRG:1B03 C9 02 - bne Label_DB0E ; CPU:$DB05 PRG:1B05 D0 07 + bne SubCDAF2_Block_4 ; 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: Label_DB0E +; Routine: SubCDAF2_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7876,16 +7878,16 @@ Label_DAF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB0E: +SubCDAF2_Block_4: clc ; CPU:$DB0E PRG:1B0E 18 adc Zp02 ; CPU:$DB0F PRG:1B0F 65 02 sta (Zp03),y ; CPU:$DB11 PRG:1B11 91 03 cmp #$03 ; CPU:$DB13 PRG:1B13 C9 03 - bmi Label_DB1B ; CPU:$DB15 PRG:1B15 30 04 + bmi SubCDAF2_Block_5 ; CPU:$DB15 PRG:1B15 30 04 lda #$FF ; CPU:$DB17 PRG:1B17 A9 FF sta (Zp03),y ; CPU:$DB19 PRG:1B19 91 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DB1B +; Routine: SubCDAF2_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7893,11 +7895,11 @@ Label_DB0E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB1B: +SubCDAF2_Block_5: clc ; CPU:$DB1B PRG:1B1B 18 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. @@ -7905,16 +7907,16 @@ Label_DB1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB1D: +SubCDB1D: sta Zp08 ; CPU:$DB1D PRG:1B1D 85 08 - bne Label_DB2C ; CPU:$DB1F PRG:1B1F D0 0B + bne SubCDB1D_Block_2 ; 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 + bcc SubCDB1D_Block_2 ; 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 Label_DB31 ; CPU:$DB2A PRG:1B2A F0 05 + beq SubCDB1D_Block_3 ; CPU:$DB2A PRG:1B2A F0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DB2C +; Routine: SubCDB1D_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7922,11 +7924,11 @@ Label_DB1D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB2C: - lda a:$0091,y ; CPU:$DB2C PRG:1B2C B9 91 00 - bpl Label_DBA4 ; CPU:$DB2F PRG:1B2F 10 73 +SubCDB1D_Block_2: + lda a:Zp91,y ; CPU:$DB2C PRG:1B2C B9 91 00 + bpl SubCDB57_Block_10 ; CPU:$DB2F PRG:1B2F 10 73 ; ----------------------------------------------------------------------------- -; Routine: Label_DB31 +; Routine: SubCDB1D_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7934,23 +7936,23 @@ Label_DB2C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB31: +SubCDB1D_Block_3: lda Zp55 ; CPU:$DB31 PRG:1B31 A5 55 - beq Label_DB65 ; CPU:$DB33 PRG:1B33 F0 30 + beq SubCDB1D_Block_7 ; CPU:$DB33 PRG:1B33 F0 30 cmp #$02 ; CPU:$DB35 PRG:1B35 C9 02 - beq Label_DB65 ; CPU:$DB37 PRG:1B37 F0 2C + beq SubCDB1D_Block_7 ; CPU:$DB37 PRG:1B37 F0 2C cpy #$08 ; CPU:$DB39 PRG:1B39 C0 08 - bcs Label_DB65 ; CPU:$DB3B PRG:1B3B B0 28 + bcs SubCDB1D_Block_7 ; CPU:$DB3B PRG:1B3B B0 28 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 - bmi Label_DB4B ; CPU:$DB46 PRG:1B46 30 03 + bne SubCDB1D_Block_8 ; 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 lda #$10 ; CPU:$DB48 PRG:1B48 A9 10 ; ---- data $DB4A-$DB4A (1 bytes) ---- .byte $2C ; CPU:$DB4A PRG:1B4A 2C ; ----------------------------------------------------------------------------- -; Routine: Label_DB4B +; Routine: SubCDB1D_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +7960,13 @@ Label_DB31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB4B: +SubCDB1D_Block_9: 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 +; Routine: SubCDB1D_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7972,10 +7974,10 @@ Label_DB4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB54: - lda a:$009C,y ; CPU:$DB54 PRG:1B54 B9 9C 00 +SubCDB1D_Block_8: + lda a:Zp9C,y ; CPU:$DB54 PRG:1B54 B9 9C 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DB57 +; Routine: SubCDB57 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7983,15 +7985,15 @@ Label_DB54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB57: +SubCDB57: 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 Label_DBA4 ; CPU:$DB5E PRG:1B5E 90 44 + bcc SubCDB57_Block_10 ; CPU:$DB5E PRG:1B5E 90 44 cmp $D7AD,x ; CPU:$DB60 PRG:1B60 DD AD D7 - bcs Label_DBA4 ; CPU:$DB63 PRG:1B63 B0 3F + bcs SubCDB57_Block_10 ; CPU:$DB63 PRG:1B63 B0 3F ; ----------------------------------------------------------------------------- -; Routine: Label_DB65 +; Routine: SubCDB1D_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7999,8 +8001,8 @@ Label_DB57: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB65: - lda a:$009C,y ; CPU:$DB65 PRG:1B65 B9 9C 00 +SubCDB1D_Block_7: + 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 @@ -8009,13 +8011,13 @@ Label_DB65: jsr $D2F9 ; CPU:$DB71 PRG:1B71 20 F9 D2 pha ; CPU:$DB74 PRG:1B74 48 lda Zp08 ; CPU:$DB75 PRG:1B75 A5 08 - beq Label_DB81 ; CPU:$DB77 PRG:1B77 F0 08 + beq SubCDB57_Block_3 ; CPU:$DB77 PRG:1B77 F0 08 pla ; CPU:$DB79 PRG:1B79 68 cmp $D7D3,y ; CPU:$DB7A PRG:1B7A D9 D3 D7 - bcs Label_DBA4 ; CPU:$DB7D PRG:1B7D B0 25 - bcc Label_DB86 ; CPU:$DB7F PRG:1B7F 90 05 + bcs SubCDB57_Block_10 ; CPU:$DB7D PRG:1B7D B0 25 + bcc SubCDB57_Block_5 ; CPU:$DB7F PRG:1B7F 90 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DB81 +; Routine: SubCDB57_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8023,12 +8025,12 @@ Label_DB65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB81: +SubCDB57_Block_3: pla ; CPU:$DB81 PRG:1B81 68 cmp #$0C ; CPU:$DB82 PRG:1B82 C9 0C - bcs Label_DBA4 ; CPU:$DB84 PRG:1B84 B0 1E + bcs SubCDB57_Block_10 ; CPU:$DB84 PRG:1B84 B0 1E ; ----------------------------------------------------------------------------- -; Routine: Label_DB86 +; Routine: SubCDB57_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8036,8 +8038,8 @@ Label_DB81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB86: - lda a:$00A7,y ; CPU:$DB86 PRG:1B86 B9 A7 00 +SubCDB57_Block_5: + 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 @@ -8045,11 +8047,11 @@ Label_DB86: jsr $D2F9 ; CPU:$DB90 PRG:1B90 20 F9 D2 pha ; CPU:$DB93 PRG:1B93 48 cpy #$00 ; CPU:$DB94 PRG:1B94 C0 00 - bne Label_DB9C ; CPU:$DB96 PRG:1B96 D0 04 + bne SubCDB57_Block_7 ; CPU:$DB96 PRG:1B96 D0 04 lda Zp08 ; CPU:$DB98 PRG:1B98 A5 08 - beq Label_DBA6 ; CPU:$DB9A PRG:1B9A F0 0A + beq SubCDB57_Block_8 ; CPU:$DB9A PRG:1B9A F0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_DB9C +; Routine: SubCDB57_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8057,12 +8059,12 @@ Label_DB86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB9C: +SubCDB57_Block_7: pla ; CPU:$DB9C PRG:1B9C 68 cmp $D7C8,y ; CPU:$DB9D PRG:1B9D D9 C8 D7 - bcs Label_DBA4 ; CPU:$DBA0 PRG:1BA0 B0 02 + bcs SubCDB57_Block_10 ; CPU:$DBA0 PRG:1BA0 B0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DBA2 +; Routine: SubCDB57_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8070,11 +8072,11 @@ Label_DB9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBA2: +SubCDB57_Block_11: sec ; CPU:$DBA2 PRG:1BA2 38 rts ; CPU:$DBA3 PRG:1BA3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBA4 +; Routine: SubCDB57_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +8084,11 @@ Label_DBA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBA4: +SubCDB57_Block_10: clc ; CPU:$DBA4 PRG:1BA4 18 rts ; CPU:$DBA5 PRG:1BA5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBA6 +; Routine: SubCDB57_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8094,13 +8096,13 @@ Label_DBA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBA6: +SubCDB57_Block_8: pla ; CPU:$DBA6 PRG:1BA6 68 cmp #$10 ; CPU:$DBA7 PRG:1BA7 C9 10 - bcs Label_DBA4 ; CPU:$DBA9 PRG:1BA9 B0 F9 - bcc Label_DBA2 ; CPU:$DBAB PRG:1BAB 90 F5 + bcs SubCDB57_Block_10 ; CPU:$DBA9 PRG:1BA9 B0 F9 + bcc SubCDB57_Block_11 ; CPU:$DBAB PRG:1BAB 90 F5 ; ----------------------------------------------------------------------------- -; Routine: Label_DBAD +; Routine: SubCDBB4_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8108,11 +8110,11 @@ Label_DBA6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBAD: +SubCDBB4_Block_2: lda #$FF ; CPU:$DBAD PRG:1BAD A9 FF rts ; CPU:$DBAF PRG:1BAF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBB0 +; Routine: SubCDBB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8120,11 +8122,11 @@ Label_DBAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBB0: +SubCDBB0: ldy #$05 ; CPU:$DBB0 PRG:1BB0 A0 05 - bne Label_DBB6 ; CPU:$DBB2 PRG:1BB2 D0 02 + bne UpdateSound24_1 ; CPU:$DBB2 PRG:1BB2 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DBB4 +; Routine: SubCDBB4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8132,10 +8134,10 @@ Label_DBB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBB4: +SubCDBB4: ldy #$04 ; CPU:$DBB4 PRG:1BB4 A0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DBB6 +; Routine: UpdateSound24_1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8143,7 +8145,7 @@ Label_DBB4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBB6: +UpdateSound24_1: sty Zp04 ; CPU:$DBB6 PRG:1BB6 84 04 sta Zp00 ; CPU:$DBB8 PRG:1BB8 85 00 lda #$FF ; CPU:$DBBA PRG:1BBA A9 FF @@ -8152,10 +8154,10 @@ Label_DBB6: sta $0343,x ; CPU:$DBC1 PRG:1BC1 9D 43 03 ldy Zp5A,x ; CPU:$DBC4 PRG:1BC4 B4 5A lda Zp82,x ; CPU:$DBC6 PRG:1BC6 B5 82 - beq Label_DBCB ; CPU:$DBC8 PRG:1BC8 F0 01 + beq SubCDBB4_Block ; CPU:$DBC8 PRG:1BC8 F0 01 iny ; CPU:$DBCA PRG:1BCA C8 ; ----------------------------------------------------------------------------- -; Routine: Label_DBCB +; Routine: SubCDBB4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +8165,15 @@ Label_DBB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBCB: +SubCDBB4_Block: sty ZpD7,x ; CPU:$DBCB PRG:1BCB 94 D7 cpy #$0A ; CPU:$DBCD PRG:1BCD C0 0A - bcs Label_DBAD ; CPU:$DBCF PRG:1BCF B0 DC + bcs SubCDBB4_Block_2 ; CPU:$DBCF PRG:1BCF B0 DC lda Zp00 ; CPU:$DBD1 PRG:1BD1 A5 00 cmp $D7A3,y ; CPU:$DBD3 PRG:1BD3 D9 A3 D7 - bcc Label_DC56 ; CPU:$DBD6 PRG:1BD6 90 7E + bcc SubCDBB4_Block_21 ; CPU:$DBD6 PRG:1BD6 90 7E cmp $D7AD,y ; CPU:$DBD8 PRG:1BD8 D9 AD D7 - bcs Label_DC56 ; CPU:$DBDB PRG:1BDB B0 79 + bcs SubCDBB4_Block_21 ; 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 @@ -8186,10 +8188,10 @@ Label_DBCB: pha ; CPU:$DBF4 PRG:1BF4 48 tay ; CPU:$DBF5 PRG:1BF5 A8 lda (Zp03),y ; CPU:$DBF6 PRG:1BF6 B1 03 - bpl Label_DBFD ; CPU:$DBF8 PRG:1BF8 10 03 + bpl SubCDBB4_Block_5 ; CPU:$DBF8 PRG:1BF8 10 03 inc $0343,x ; CPU:$DBFA PRG:1BFA FE 43 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DBFD +; Routine: SubCDBB4_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8197,16 +8199,16 @@ Label_DBCB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBFD: +SubCDBB4_Block_5: 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 Label_DC0C ; CPU:$DC04 PRG:1C04 F0 06 + beq SubCDBB4_Block_6 ; CPU:$DC04 PRG:1C04 F0 06 iny ; CPU:$DC06 PRG:1C06 C8 cmp $0787 ; CPU:$DC07 PRG:1C07 CD 87 07 - bne Label_DC4D ; CPU:$DC0A PRG:1C0A D0 41 + bne SubCDBB4_Block_17 ; CPU:$DC0A PRG:1C0A D0 41 ; ----------------------------------------------------------------------------- -; Routine: Label_DC0C +; Routine: SubCDBB4_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8214,15 +8216,15 @@ Label_DBFD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC0C: +SubCDBB4_Block_6: sty Zp00 ; CPU:$DC0C PRG:1C0C 84 00 lda Zp6A,x ; CPU:$DC0E PRG:1C0E B5 6A cmp #$04 ; CPU:$DC10 PRG:1C10 C9 04 - beq Label_DC18 ; CPU:$DC12 PRG:1C12 F0 04 + beq SubCDBB4_Block_8 ; CPU:$DC12 PRG:1C12 F0 04 cmp #$02 ; CPU:$DC14 PRG:1C14 C9 02 - bne Label_DC34 ; CPU:$DC16 PRG:1C16 D0 1C + bne SubCDBB4_Block_14 ; CPU:$DC16 PRG:1C16 D0 1C ; ----------------------------------------------------------------------------- -; Routine: Label_DC18 +; Routine: SubCDBB4_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8230,18 +8232,18 @@ Label_DC0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC18: +SubCDBB4_Block_8: lda Zp68,x ; CPU:$DC18 PRG:1C18 B5 68 - beq Label_DC34 ; CPU:$DC1A PRG:1C1A F0 18 + beq SubCDBB4_Block_14 ; CPU:$DC1A PRG:1C1A F0 18 lda $07D7,y ; CPU:$DC1C PRG:1C1C B9 D7 07 - beq Label_DC2B ; CPU:$DC1F PRG:1C1F F0 0A + beq SubCDBB4_Block_11 ; CPU:$DC1F PRG:1C1F F0 0A lda Zp68,x ; CPU:$DC21 PRG:1C21 B5 68 cmp #$01 ; CPU:$DC23 PRG:1C23 C9 01 - bne Label_DC34 ; CPU:$DC25 PRG:1C25 D0 0D + bne SubCDBB4_Block_14 ; CPU:$DC25 PRG:1C25 D0 0D lda #$14 ; CPU:$DC27 PRG:1C27 A9 14 - bne Label_DC36 ; CPU:$DC29 PRG:1C29 D0 0B + bne SubCDBB4_Block_13 ; CPU:$DC29 PRG:1C29 D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_DC2B +; Routine: SubCDBB4_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +8251,15 @@ Label_DC18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC2B: +SubCDBB4_Block_11: lda Zp68,x ; CPU:$DC2B PRG:1C2B B5 68 cmp #$02 ; CPU:$DC2D PRG:1C2D C9 02 - bne Label_DC34 ; CPU:$DC2F PRG:1C2F D0 03 + bne SubCDBB4_Block_14 ; 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: Label_DC34 +; Routine: SubCDBB4_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8265,10 +8267,10 @@ Label_DC2B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC34: +SubCDBB4_Block_14: lda #$09 ; CPU:$DC34 PRG:1C34 A9 09 ; ----------------------------------------------------------------------------- -; Routine: Label_DC36 +; Routine: SubCDBB4_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8276,15 +8278,15 @@ Label_DC34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC36: +SubCDBB4_Block_13: 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 Label_DC43 ; CPU:$DC3C PRG:1C3C 90 05 + bcc SubCDBB4_Block_15 ; CPU:$DC3C PRG:1C3C 90 05 cmp $078A,y ; CPU:$DC3E PRG:1C3E D9 8A 07 - bcc Label_DC59 ; CPU:$DC41 PRG:1C41 90 16 + bcc SubCDBB4_Block_18 ; CPU:$DC41 PRG:1C41 90 16 ; ----------------------------------------------------------------------------- -; Routine: Label_DC43 +; Routine: SubCDBB4_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8292,13 +8294,13 @@ Label_DC36: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC43: +SubCDBB4_Block_15: cmp $078C,y ; CPU:$DC43 PRG:1C43 D9 8C 07 - bcc Label_DC4D ; CPU:$DC46 PRG:1C46 90 05 + bcc SubCDBB4_Block_17 ; CPU:$DC46 PRG:1C46 90 05 cmp $078E,y ; CPU:$DC48 PRG:1C48 D9 8E 07 - bcc Label_DC59 ; CPU:$DC4B PRG:1C4B 90 0C + bcc SubCDBB4_Block_18 ; CPU:$DC4B PRG:1C4B 90 0C ; ----------------------------------------------------------------------------- -; Routine: Label_DC4D +; Routine: SubCDBB4_Block_17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8306,13 +8308,13 @@ Label_DC43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC4D: +SubCDBB4_Block_17: lda Zp2D,x ; CPU:$DC4D PRG:1C4D B5 2D - bne Label_DC5E ; CPU:$DC4F PRG:1C4F D0 0D + bne SubCDBB4_Block_19 ; CPU:$DC4F PRG:1C4F D0 0D pla ; CPU:$DC51 PRG:1C51 68 tay ; CPU:$DC52 PRG:1C52 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_DC53 +; Routine: SubCDBB4_Block_22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8320,11 +8322,11 @@ Label_DC4D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC53: +SubCDBB4_Block_22: lda (Zp03),y ; CPU:$DC53 PRG:1C53 B1 03 rts ; CPU:$DC55 PRG:1C55 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC56 +; Routine: SubCDBB4_Block_21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8332,10 +8334,10 @@ Label_DC53: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC56: +SubCDBB4_Block_21: lda #$00 ; CPU:$DC56 PRG:1C56 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DC58 +; Routine: SubCDC6A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +8345,10 @@ Label_DC56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC58: +SubCDC6A_Block_3: rts ; CPU:$DC58 PRG:1C58 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC59 +; Routine: SubCDBB4_Block_18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8354,11 +8356,11 @@ Label_DC58: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC59: +SubCDBB4_Block_18: lda Zp00 ; CPU:$DC59 PRG:1C59 A5 00 sta $0783,x ; CPU:$DC5B PRG:1C5B 9D 83 07 ; ----------------------------------------------------------------------------- -; Routine: Label_DC5E +; Routine: SubCDBB4_Block_19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +8368,16 @@ Label_DC59: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC5E: +SubCDBB4_Block_19: pla ; CPU:$DC5E PRG:1C5E 68 tay ; CPU:$DC5F PRG:1C5F A8 lda (Zp03),y ; CPU:$DC60 PRG:1C60 B1 03 - bmi Label_DC56 ; CPU:$DC62 PRG:1C62 30 F2 + bmi SubCDBB4_Block_21 ; CPU:$DC62 PRG:1C62 30 F2 cmp #$04 ; CPU:$DC64 PRG:1C64 C9 04 - beq Label_DC56 ; CPU:$DC66 PRG:1C66 F0 EE - bne Label_DC53 ; CPU:$DC68 PRG:1C68 D0 E9 + beq SubCDBB4_Block_21 ; CPU:$DC66 PRG:1C66 F0 EE + bne SubCDBB4_Block_22 ; CPU:$DC68 PRG:1C68 D0 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_DC6A +; Routine: SubCDC6A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8383,18 +8385,18 @@ Label_DC5E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC6A: +SubCDC6A: lda $0301 ; CPU:$DC6A PRG:1C6A AD 01 03 - bne Label_DC58 ; CPU:$DC6D PRG:1C6D D0 E9 + bne SubCDC6A_Block_3 ; CPU:$DC6D PRG:1C6D D0 E9 sta $0300 ; CPU:$DC6F PRG:1C6F 8D 00 03 lda Zp84 ; CPU:$DC72 PRG:1C72 A5 84 - beq Label_DC80 ; CPU:$DC74 PRG:1C74 F0 0A + beq SubCDC6A_Block_2 ; 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: Label_DC80 +; Routine: SubCDC6A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8402,9 +8404,9 @@ Label_DC6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC80: +SubCDC6A_Block_2: lda Zp85 ; CPU:$DC80 PRG:1C80 A5 85 - beq Label_DC58 ; CPU:$DC82 PRG:1C82 F0 D4 + beq SubCDC6A_Block_3 ; 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 @@ -8413,7 +8415,7 @@ Label_DC80: ; 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: Label_DC97 +; Routine: SubCDC97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8421,16 +8423,16 @@ Label_DC80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC97: +SubCDC97: lda Zp84,x ; CPU:$DC97 PRG:1C97 B5 84 and #$01 ; CPU:$DC99 PRG:1C99 29 01 - bne Label_DCA4 ; CPU:$DC9B PRG:1C9B D0 07 + bne SubCDC97_Block ; CPU:$DC9B PRG:1C9B D0 07 lda Zp84,x ; CPU:$DC9D PRG:1C9D B5 84 and #$02 ; CPU:$DC9F PRG:1C9F 29 02 - bne Label_DCAD ; CPU:$DCA1 PRG:1CA1 D0 0A + bne SubCDC97_Block_2 ; CPU:$DCA1 PRG:1CA1 D0 0A rts ; CPU:$DCA3 PRG:1CA3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCA4 +; Routine: SubCDC97_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8438,12 +8440,12 @@ Label_DC97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCA4: +SubCDC97_Block: 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: Label_DCAD +; Routine: SubCDC97_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8451,11 +8453,11 @@ Label_DCA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCAD: +SubCDC97_Block_2: jsr $DDB6 ; CPU:$DCAD PRG:1CAD 20 B6 DD jsr $DCF6 ; CPU:$DCB0 PRG:1CB0 20 F6 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DCB3 +; Routine: SubCDCB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +8465,7 @@ Label_DCAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCB3: +SubCDCB3: lda ZpD7,x ; CPU:$DCB3 PRG:1CB3 B5 D7 pha ; CPU:$DCB5 PRG:1CB5 48 tay ; CPU:$DCB6 PRG:1CB6 A8 @@ -8494,7 +8496,7 @@ Label_DCB3: ldx Zp0F ; CPU:$DCE7 PRG:1CE7 A6 0F rts ; CPU:$DCE9 PRG:1CE9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCEA +; Routine: SubCDCEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +8504,12 @@ Label_DCB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCEA: +SubCDCEA: ldy Zp00 ; CPU:$DCEA PRG:1CEA A4 00 sta $0301,y ; CPU:$DCEC PRG:1CEC 99 01 03 rts ; CPU:$DCEF PRG:1CEF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCF0 +; Routine: SubCDCF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +8517,12 @@ Label_DCEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCF0: +SubCDCF0: lda #$04 ; CPU:$DCF0 PRG:1CF0 A9 04 ldy #$03 ; CPU:$DCF2 PRG:1CF2 A0 03 - bne Label_DCFA ; CPU:$DCF4 PRG:1CF4 D0 04 + bne SubCDCF0_Block ; CPU:$DCF4 PRG:1CF4 D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DCF6 +; Routine: SubCDCF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8528,11 +8530,11 @@ Label_DCF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCF6: +SubCDCF6: lda #$05 ; CPU:$DCF6 PRG:1CF6 A9 05 ldy #$07 ; CPU:$DCF8 PRG:1CF8 A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_DCFA +; Routine: SubCDCF0_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8540,11 +8542,11 @@ Label_DCF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCFA: +SubCDCF0_Block: sta Zp04 ; CPU:$DCFA PRG:1CFA 85 04 ldx #$03 ; CPU:$DCFC PRG:1CFC A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DCFE +; Routine: SubCDCF6_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8552,16 +8554,16 @@ Label_DCFA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCFE: +SubCDCF6_Block: 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 Label_DCFE ; CPU:$DD05 PRG:1D05 10 F7 + bpl SubCDCF6_Block ; CPU:$DD05 PRG:1D05 10 F7 ldy Zp00 ; CPU:$DD07 PRG:1D07 A4 00 ldx Zp0F ; CPU:$DD09 PRG:1D09 A6 0F ; ----------------------------------------------------------------------------- -; Routine: Label_DD0B +; Routine: SubCDD24_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8569,7 +8571,7 @@ Label_DCFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD0B: +SubCDD24_Block: rts ; CPU:$DD0B PRG:1D0B 60 ; ---- data $DD0C-$DD15 (10 bytes) ---- ; referenced by `lda $DD0C,x` at $DD41 (operand $DD0C falls inside this region) @@ -8577,7 +8579,7 @@ Label_DD0B: ; 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: Label_DD16 +; Routine: SubCDD16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8585,12 +8587,12 @@ Label_DD0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD16: +SubCDD16: jsr $DCF6 ; CPU:$DD16 PRG:1D16 20 F6 DC ldx #$01 ; CPU:$DD19 PRG:1D19 A2 01 - bne Label_DD22 ; CPU:$DD1B PRG:1D1B D0 05 + bne SubCDD16_Block ; CPU:$DD1B PRG:1D1B D0 05 ; ----------------------------------------------------------------------------- -; 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. @@ -8598,11 +8600,11 @@ Label_DD16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD1D: +SubCDD1D: jsr $DCF0 ; CPU:$DD1D PRG:1D1D 20 F0 DC ldx #$00 ; CPU:$DD20 PRG:1D20 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DD22 +; Routine: SubCDD16_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8610,10 +8612,10 @@ Label_DD1D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD22: +SubCDD16_Block: stx Zp0B ; CPU:$DD22 PRG:1D22 86 0B ; ----------------------------------------------------------------------------- -; Routine: Label_DD24 +; Routine: SubCDD24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +8623,10 @@ Label_DD22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD24: +SubCDD24: lda ZpDA,x ; CPU:$DD24 PRG:1D24 B5 DA cmp #$0A ; CPU:$DD26 PRG:1D26 C9 0A - beq Label_DD0B ; CPU:$DD28 PRG:1D28 F0 E1 + beq SubCDD24_Block ; 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,7 +8646,7 @@ Label_DD24: ldy #$00 ; CPU:$DD4C PRG:1D4C A0 00 sty Zp02 ; CPU:$DD4E PRG:1D4E 84 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DD50 +; Routine: SubCDD24_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8652,7 +8654,7 @@ Label_DD24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD50: +SubCDD24_Block_2: jsr $DE12 ; CPU:$DD50 PRG:1D50 20 12 DE ldy Zp02 ; CPU:$DD53 PRG:1D53 A4 02 sta $0304,y ; CPU:$DD55 PRG:1D55 99 04 03 @@ -8660,18 +8662,18 @@ Label_DD50: sty Zp02 ; CPU:$DD59 PRG:1D59 84 02 tya ; CPU:$DD5B PRG:1D5B 98 cmp $DD0C,x ; CPU:$DD5C PRG:1D5C DD 0C DD - bcc Label_DD50 ; CPU:$DD5F PRG:1D5F 90 EF + bcc SubCDD24_Block_2 ; 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 Label_DD97 ; CPU:$DD68 PRG:1D68 D0 2D + bne SubCDD24_Block_5 ; 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 Label_DD97 ; CPU:$DD6F PRG:1D6F 10 26 + bpl SubCDD24_Block_5 ; CPU:$DD6F PRG:1D6F 10 26 sta Zp00 ; CPU:$DD71 PRG:1D71 85 00 ldy #$03 ; CPU:$DD73 PRG:1D73 A0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DD75 +; Routine: UpdateSound26_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8679,23 +8681,23 @@ Label_DD50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD75: +UpdateSound26_11: lda Zp00 ; CPU:$DD75 PRG:1D75 A5 00 ldx $0301,y ; CPU:$DD77 PRG:1D77 BE 01 03 - beq Label_DD97 ; CPU:$DD7A PRG:1D7A F0 1B + beq SubCDD24_Block_5 ; CPU:$DD7A PRG:1D7A F0 1B cpx #$38 ; CPU:$DD7C PRG:1D7C E0 38 - beq Label_DD94 ; CPU:$DD7E PRG:1D7E F0 14 + beq SubCDD24_Block_6 ; CPU:$DD7E PRG:1D7E F0 14 cpx #$EB ; CPU:$DD80 PRG:1D80 E0 EB - bne Label_DD91 ; CPU:$DD82 PRG:1D82 D0 0D + bne SubCDD24_Block_8 ; CPU:$DD82 PRG:1D82 D0 0D cmp #$90 ; CPU:$DD84 PRG:1D84 C9 90 - bcc Label_DD91 ; CPU:$DD86 PRG:1D86 90 09 + bcc SubCDD24_Block_8 ; CPU:$DD86 PRG:1D86 90 09 cmp #$D3 ; CPU:$DD88 PRG:1D88 C9 D3 - beq Label_DD8F ; CPU:$DD8A PRG:1D8A F0 03 + beq UpdateSound26_13 ; CPU:$DD8A PRG:1D8A F0 03 lda #$8F ; CPU:$DD8C PRG:1D8C A9 8F ; ---- data $DD8E-$DD8E (1 bytes) ---- .byte $2C ; CPU:$DD8E PRG:1D8E 2C ; ----------------------------------------------------------------------------- -; Routine: Label_DD8F +; Routine: UpdateSound26_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8703,10 +8705,10 @@ Label_DD75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD8F: +UpdateSound26_13: lda #$8C ; CPU:$DD8F PRG:1D8F A9 8C ; ----------------------------------------------------------------------------- -; Routine: Label_DD91 +; Routine: SubCDD24_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8714,10 +8716,10 @@ Label_DD8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD91: +SubCDD24_Block_8: sta $0301,y ; CPU:$DD91 PRG:1D91 99 01 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DD94 +; Routine: SubCDD24_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8725,11 +8727,11 @@ Label_DD91: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD94: +SubCDD24_Block_6: iny ; CPU:$DD94 PRG:1D94 C8 - bne Label_DD75 ; CPU:$DD95 PRG:1D95 D0 DE + bne UpdateSound26_11 ; CPU:$DD95 PRG:1D95 D0 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DD97 +; Routine: SubCDD24_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8737,13 +8739,13 @@ Label_DD94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD97: +SubCDD24_Block_5: 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: Label_DDA1 +; Routine: SubCDDA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8751,14 +8753,14 @@ Label_DD97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDA1: +SubCDDA1: 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: Label_DDA9 +; Routine: SubCDDA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8766,7 +8768,7 @@ Label_DDA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDA9: +SubCDDA9: lda #$02 ; CPU:$DDA9 PRG:1DA9 A9 02 sta ZpFC ; CPU:$DDAB PRG:1DAB 85 FC lda Zp0E ; CPU:$DDAD PRG:1DAD A5 0E @@ -8775,7 +8777,7 @@ Label_DDA9: sta Zp84,x ; CPU:$DDB3 PRG:1DB3 95 84 rts ; CPU:$DDB5 PRG:1DB5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDB6 +; Routine: SubCDDB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8783,13 +8785,13 @@ Label_DDA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDB6: +SubCDDB6: sta Zp0E ; CPU:$DDB6 PRG:1DB6 85 0E stx Zp0F ; CPU:$DDB8 PRG:1DB8 86 0F sty Zp00 ; CPU:$DDBA PRG:1DBA 84 00 rts ; CPU:$DDBC PRG:1DBC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDBD +; Routine: SubCDDBD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +8799,10 @@ Label_DDB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDBD: +SubCDDBD: ldy #$06 ; CPU:$DDBD PRG:1DBD A0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DDBF +; Routine: SubCDDBD_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8808,14 +8810,14 @@ Label_DDBD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDBF: +SubCDDBD_Block: dey ; CPU:$DDBF PRG:1DBF 88 cmp $D77F,y ; CPU:$DDC0 PRG:1DC0 D9 7F D7 - bne Label_DDBF ; CPU:$DDC3 PRG:1DC3 D0 FA + bne SubCDDBD_Block ; CPU:$DDC3 PRG:1DC3 D0 FA lda $D785,y ; CPU:$DDC5 PRG:1DC5 B9 85 D7 rts ; CPU:$DDC8 PRG:1DC8 60 ; ----------------------------------------------------------------------------- -; 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. @@ -8823,20 +8825,20 @@ Label_DDBF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDC9: +SubCDDC9: lda Zp80,x ; CPU:$DDC9 PRG:1DC9 B5 80 - beq Label_DE10 ; CPU:$DDCB PRG:1DCB F0 43 + beq SubCDDE1_Block_2 ; 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 jsr $DDE1 ; CPU:$DDD5 PRG:1DD5 20 E1 DD - bcc Label_DE11 ; CPU:$DDD8 PRG:1DD8 90 37 + bcc SubCDE22_Block ; 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 ; ----------------------------------------------------------------------------- -; Routine: Label_DDE1 +; Routine: SubCDDE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8844,15 +8846,15 @@ Label_DDC9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDE1: +SubCDDE1: jsr $DAD5 ; CPU:$DDE1 PRG:1DE1 20 D5 DA - bcs Label_DDEC ; CPU:$DDE4 PRG:1DE4 B0 06 + bcs SubCDDE1_Block ; 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: Label_DDEC +; Routine: SubCDDE1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8860,22 +8862,22 @@ Label_DDE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDEC: +SubCDDE1_Block: 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 Label_DE10 ; CPU:$DDF6 PRG:1DF6 B0 18 + bcs SubCDDE1_Block_2 ; 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 Label_DE07 ; CPU:$DE01 PRG:1E01 90 04 + bcc SubCDDE1_Block_3 ; CPU:$DE01 PRG:1E01 90 04 lda Zp82,x ; CPU:$DE03 PRG:1E03 B5 82 - bne Label_DE11 ; CPU:$DE05 PRG:1E05 D0 0A + bne SubCDE22_Block ; CPU:$DE05 PRG:1E05 D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_DE07 +; Routine: SubCDDE1_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8883,13 +8885,13 @@ Label_DDEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE07: +SubCDDE1_Block_3: 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: Label_DE10 +; Routine: SubCDDE1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8897,10 +8899,10 @@ Label_DE07: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE10: +SubCDDE1_Block_2: clc ; CPU:$DE10 PRG:1E10 18 ; ----------------------------------------------------------------------------- -; Routine: Label_DE11 +; Routine: SubCDE22_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +8910,10 @@ Label_DE10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE11: +SubCDE22_Block: rts ; CPU:$DE11 PRG:1E11 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE12 +; Routine: SubCDE12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +8921,14 @@ Label_DE11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE12: +SubCDE12: lda Zp04 ; CPU:$DE12 PRG:1E12 A5 04 cmp #$05 ; CPU:$DE14 PRG:1E14 C9 05 - beq Label_DE1D ; CPU:$DE16 PRG:1E16 F0 05 + beq SubCDE12_Block ; 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: Label_DE1D +; Routine: SubCDE12_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8934,11 +8936,11 @@ Label_DE12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE1D: +SubCDE12_Block: lda (Zp03),y ; CPU:$DE1D PRG:1E1D B1 03 jmp $DEEA ; CPU:$DE1F PRG:1E1F 4C EA DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE22 +; Routine: SubCDE22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +8948,14 @@ Label_DE1D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE22: +SubCDE22: lda $0301 ; CPU:$DE22 PRG:1E22 AD 01 03 - bne Label_DE11 ; CPU:$DE25 PRG:1E25 D0 EA + bne SubCDE22_Block ; 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: Label_DE2E +; Routine: SubCDE44_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8961,12 +8963,12 @@ Label_DE22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE2E: +SubCDE44_Block_7: tax ; CPU:$DE2E PRG:1E2E AA lda Zp91,x ; CPU:$DE2F PRG:1E2F B5 91 - bpl Label_DE9C ; CPU:$DE31 PRG:1E31 10 69 + bpl SubCDE44_Block_8 ; CPU:$DE31 PRG:1E31 10 69 lda ZpB2,x ; CPU:$DE33 PRG:1E33 B5 B2 - beq Label_DE9C ; CPU:$DE35 PRG:1E35 F0 65 + beq SubCDE44_Block_8 ; 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 @@ -8975,7 +8977,7 @@ Label_DE2E: lda #$00 ; CPU:$DE40 PRG:1E40 A9 00 sta Zp0D ; CPU:$DE42 PRG:1E42 85 0D ; ----------------------------------------------------------------------------- -; Routine: Label_DE44 +; Routine: SubCDE44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8983,9 +8985,9 @@ Label_DE2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE44: +SubCDE44: jsr $DEB2 ; CPU:$DE44 PRG:1E44 20 B2 DE - bpl Label_DEA5 ; CPU:$DE47 PRG:1E47 10 5C + bpl SubCDE44_Block ; 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 @@ -9002,16 +9004,16 @@ Label_DE44: 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 Label_DE83 ; CPU:$DE6E PRG:1E6E 10 13 + bpl SubCDE44_Block_2 ; CPU:$DE6E PRG:1E6E 10 13 cmp #$90 ; CPU:$DE70 PRG:1E70 C9 90 - bcs Label_DE7D ; CPU:$DE72 PRG:1E72 B0 09 + bcs SubCDE44_Block_3 ; CPU:$DE72 PRG:1E72 B0 09 cmp #$8C ; CPU:$DE74 PRG:1E74 C9 8C - beq Label_DE7B ; CPU:$DE76 PRG:1E76 F0 03 + beq SubCDE44_Block_4 ; 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: Label_DE7B +; Routine: SubCDE44_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +9021,10 @@ Label_DE44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE7B: +SubCDE44_Block_4: lda #$D3 ; CPU:$DE7B PRG:1E7B A9 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_DE7D +; Routine: SubCDE44_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9030,11 +9032,11 @@ Label_DE7B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE7D: +SubCDE44_Block_3: ldy $0300 ; CPU:$DE7D PRG:1E7D AC 00 03 sta $0300,y ; CPU:$DE80 PRG:1E80 99 00 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DE83 +; Routine: SubCDE44_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9042,17 +9044,17 @@ Label_DE7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE83: +SubCDE44_Block_2: lda Zp0D ; CPU:$DE83 PRG:1E83 A5 0D - bne Label_DEA9 ; CPU:$DE85 PRG:1E85 D0 22 + bne SubCDE44_Block_5 ; CPU:$DE85 PRG:1E85 D0 22 ldx Zp0F ; CPU:$DE87 PRG:1E87 A6 0F lda ZpBD,x ; CPU:$DE89 PRG:1E89 B5 BD - bmi Label_DE90 ; CPU:$DE8B PRG:1E8B 30 03 + bmi SubCDE44_Block_6 ; 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: Label_DE90 +; Routine: SubCDE44_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9060,7 +9062,7 @@ Label_DE83: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE90: +SubCDE44_Block_6: lda #$F8 ; CPU:$DE90 PRG:1E90 A9 F8 sta Zp0D ; CPU:$DE92 PRG:1E92 85 0D clc ; CPU:$DE94 PRG:1E94 18 @@ -9068,7 +9070,7 @@ Label_DE90: sta Zp0E ; CPU:$DE97 PRG:1E97 85 0E jmp $DE44 ; CPU:$DE99 PRG:1E99 4C 44 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE9C +; Routine: SubCDE44_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9076,14 +9078,14 @@ Label_DE90: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE9C: +SubCDE44_Block_8: 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 Label_DE2E ; CPU:$DEA2 PRG:1EA2 90 8A + bcc SubCDE44_Block_7 ; CPU:$DEA2 PRG:1EA2 90 8A rts ; CPU:$DEA4 PRG:1EA4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DEA5 +; Routine: SubCDE44_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9091,11 +9093,11 @@ Label_DE9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEA5: +SubCDE44_Block: lda Zp0D ; CPU:$DEA5 PRG:1EA5 A5 0D - beq Label_DE9C ; CPU:$DEA7 PRG:1EA7 F0 F3 + beq SubCDE44_Block_8 ; CPU:$DEA7 PRG:1EA7 F0 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_DEA9 +; Routine: SubCDE44_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +9105,13 @@ Label_DEA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEA9: +SubCDE44_Block_5: 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: Label_DEB2 +; Routine: SubCDEB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +9119,14 @@ Label_DEA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEB2: +SubCDEB2: 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: Label_DEB9 +; Routine: SubCDEB9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9132,14 +9134,14 @@ Label_DEB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEB9: +SubCDEB9: 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 Label_DEE4 ; CPU:$DEC0 PRG:1EC0 90 22 + bcc SubCDEB9_Block_2 ; CPU:$DEC0 PRG:1EC0 90 22 cmp #$E0 ; CPU:$DEC2 PRG:1EC2 C9 E0 - bcs Label_DEE4 ; CPU:$DEC4 PRG:1EC4 B0 1E + bcs SubCDEB9_Block_2 ; 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 @@ -9157,7 +9159,7 @@ Label_DEB9: lda (Zp03),y ; CPU:$DEE1 PRG:1EE1 B1 03 rts ; CPU:$DEE3 PRG:1EE3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DEE4 +; Routine: SubCDEB9_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9165,13 +9167,13 @@ Label_DEB9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEE4: +SubCDEB9_Block_2: pla ; CPU:$DEE4 PRG:1EE4 68 lda #$01 ; CPU:$DEE5 PRG:1EE5 A9 01 sta Zp02 ; CPU:$DEE7 PRG:1EE7 85 02 rts ; CPU:$DEE9 PRG:1EE9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DEEA +; Routine: SubCDEEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +9181,10 @@ Label_DEE4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEEA: +SubCDEEA: ldy #$06 ; CPU:$DEEA PRG:1EEA A0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DEEC +; Routine: SubCDEEA_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9190,10 +9192,10 @@ Label_DEEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEEC: +SubCDEEA_Block: dey ; CPU:$DEEC PRG:1EEC 88 cmp $D77F,y ; CPU:$DEED PRG:1EED D9 7F D7 - bne Label_DEEC ; CPU:$DEF0 PRG:1EF0 D0 FA + bne SubCDEEA_Block ; 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) ---- @@ -9216,7 +9218,7 @@ Label_DEEC: .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: Label_DFA5 +; Routine: SubCDFA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +9226,13 @@ Label_DEEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFA5: +SubCDFA5: 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: Label_DFAB +; Routine: SubCDFAB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9238,12 +9240,12 @@ Label_DFA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFAB: +SubCDFAB: jsr $DFEA ; CPU:$DFAB PRG:1FAB 20 EA DF - beq Label_DFE9 ; CPU:$DFAE PRG:1FAE F0 39 + beq SubCDFAB_Block ; CPU:$DFAE PRG:1FAE F0 39 tax ; CPU:$DFB0 PRG:1FB0 AA ; ----------------------------------------------------------------------------- -; Routine: Label_DFB1 +; Routine: SubCDFAB_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9251,7 +9253,7 @@ Label_DFAB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFB1: +SubCDFAB_Block_4: lda #$04 ; CPU:$DFB1 PRG:1FB1 A9 04 sta Zp04 ; CPU:$DFB3 PRG:1FB3 85 04 sta Zp06 ; CPU:$DFB5 PRG:1FB5 85 06 @@ -9268,7 +9270,7 @@ Label_DFB1: sta Zp05 ; CPU:$DFCB PRG:1FCB 85 05 ldy #$02 ; CPU:$DFCD PRG:1FCD A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DFCF +; Routine: SubCDFAB_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9276,18 +9278,18 @@ Label_DFB1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFCF: +SubCDFAB_Block_3: 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 Label_DFE1 ; CPU:$DFD5 PRG:1FD5 D0 0A + bne SubCDFAB_Block_2 ; 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: Label_DFE1 +; Routine: SubCDFAB_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9295,14 +9297,14 @@ Label_DFCF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFE1: +SubCDFAB_Block_2: dey ; CPU:$DFE1 PRG:1FE1 88 - bpl Label_DFCF ; CPU:$DFE2 PRG:1FE2 10 EB + bpl SubCDFAB_Block_3 ; CPU:$DFE2 PRG:1FE2 10 EB dex ; CPU:$DFE4 PRG:1FE4 CA cpx Zp0A ; CPU:$DFE5 PRG:1FE5 E4 0A - bne Label_DFB1 ; CPU:$DFE7 PRG:1FE7 D0 C8 + bne SubCDFAB_Block_4 ; CPU:$DFE7 PRG:1FE7 D0 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_DFE9 +; Routine: SubCDFAB_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9310,10 +9312,10 @@ Label_DFE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFE9: +SubCDFAB_Block: rts ; CPU:$DFE9 PRG:1FE9 60 ; ----------------------------------------------------------------------------- -; 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. @@ -9321,7 +9323,7 @@ Label_DFE9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFEA: +SubCDFEA: 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 @@ -9329,7 +9331,7 @@ Label_DFEA: cmp Zp0A ; CPU:$DFF5 PRG:1FF5 C5 0A rts ; CPU:$DFF7 PRG:1FF7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DFF8 +; Routine: SubCDFF8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9337,7 +9339,7 @@ Label_DFEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFF8: +SubCDFF8: lda $DF1B,x ; CPU:$DFF8 PRG:1FF8 BD 1B DF lsr a ; CPU:$DFFB PRG:1FFB 4A lsr a ; CPU:$DFFC PRG:1FFC 4A @@ -9347,7 +9349,7 @@ Label_DFF8: tay ; CPU:$E000 PRG:2000 A8 rts ; CPU:$E001 PRG:2001 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E002 +; Routine: SubCE002 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +9357,10 @@ Label_DFF8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E002: +SubCE002: ldx #$0B ; CPU:$E002 PRG:2002 A2 0B ; ----------------------------------------------------------------------------- -; Routine: Label_E004 +; Routine: SubCE002_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9366,19 +9368,19 @@ Label_E002: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E004: +SubCE002_Block: 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 Label_E004 ; CPU:$E010 PRG:2010 10 F2 + bpl SubCE002_Block ; CPU:$E010 PRG:2010 10 F2 jsr $DFEA ; CPU:$E012 PRG:2012 20 EA DF - beq Label_E05D ; CPU:$E015 PRG:2015 F0 46 + beq SubCE05E_Block ; CPU:$E015 PRG:2015 F0 46 sta Zp0B ; CPU:$E017 PRG:2017 85 0B ldx #$00 ; CPU:$E019 PRG:2019 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E01B +; Routine: SubCE002_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9386,7 +9388,7 @@ Label_E004: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E01B: +SubCE002_Block_4: 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 @@ -9399,7 +9401,7 @@ Label_E01B: sec ; CPU:$E029 PRG:2029 38 sbc Zp00 ; CPU:$E02A PRG:202A E5 00 cmp #$04 ; CPU:$E02C PRG:202C C9 04 - bcs Label_E054 ; CPU:$E02E PRG:202E B0 24 + bcs SubCE002_Block_3 ; 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 @@ -9420,7 +9422,7 @@ Label_E01B: asl a ; CPU:$E050 PRG:2050 0A sta $0620,x ; CPU:$E051 PRG:2051 9D 20 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E054 +; Routine: SubCE002_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9428,14 +9430,14 @@ Label_E01B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E054: +SubCE002_Block_3: 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 Label_E01B ; CPU:$E05B PRG:205B D0 BE + bne SubCE002_Block_4 ; CPU:$E05B PRG:205B D0 BE ; ----------------------------------------------------------------------------- -; Routine: Label_E05D +; Routine: SubCE05E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +9445,10 @@ Label_E054: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E05D: +SubCE05E_Block: rts ; CPU:$E05D PRG:205D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E05E +; Routine: SubCE05E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +9456,14 @@ Label_E05D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E05E: +SubCE05E: jsr $DFEA ; CPU:$E05E PRG:205E 20 EA DF - beq Label_E05D ; CPU:$E061 PRG:2061 F0 FA + beq SubCE05E_Block ; CPU:$E061 PRG:2061 F0 FA sta Zp01 ; CPU:$E063 PRG:2063 85 01 lda #$00 ; CPU:$E065 PRG:2065 A9 00 sta Zp00 ; CPU:$E067 PRG:2067 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E069 +; Routine: SubCE05E_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +9471,7 @@ Label_E05E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E069: +SubCE05E_Block_3: ldx Zp01 ; 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 @@ -9482,13 +9484,13 @@ Label_E069: adc #$04 ; CPU:$E07F PRG:207F 69 04 sta Zp00 ; CPU:$E081 PRG:2081 85 00 cmp #$38 ; CPU:$E083 PRG:2083 C9 38 - bcs Label_E08F ; CPU:$E085 PRG:2085 B0 08 + 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 cmp Zp0A ; CPU:$E08B PRG:208B C5 0A - bne Label_E069 ; CPU:$E08D PRG:208D D0 DA + bne SubCE05E_Block_3 ; CPU:$E08D PRG:208D D0 DA ; ----------------------------------------------------------------------------- -; Routine: Label_E08F +; Routine: SubCE05E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9496,12 +9498,12 @@ Label_E069: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E08F: +SubCE05E_Block_2: ldy Zp00 ; 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: Label_E097 +; Routine: SubCE097 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9509,7 +9511,7 @@ Label_E08F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E097: +SubCE097: 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 @@ -9518,7 +9520,7 @@ Label_E097: sta $0305,y ; CPU:$E0A3 PRG:20A3 99 05 03 rts ; CPU:$E0A6 PRG:20A6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E0A7 +; Routine: SubCE0A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +9528,7 @@ Label_E097: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0A7: +SubCE0A7: 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 @@ -9537,7 +9539,7 @@ Label_E0A7: sta $0302,y ; CPU:$E0B5 PRG:20B5 99 02 03 rts ; CPU:$E0B8 PRG:20B8 60 ; ----------------------------------------------------------------------------- -; 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. @@ -9545,12 +9547,12 @@ Label_E0A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0B9: +SubCE0B9: 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: Label_E0C0 +; Routine: SubCE0C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9558,16 +9560,16 @@ Label_E0B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0C0: +SubCE0C0: lda Zp3A,x ; CPU:$E0C0 PRG:20C0 B5 3A - bne Label_E11B ; CPU:$E0C2 PRG:20C2 D0 57 + bne SubCE0C0_Block ; CPU:$E0C2 PRG:20C2 D0 57 lda Zp5A,x ; CPU:$E0C4 PRG:20C4 B5 5A - beq Label_E11A ; CPU:$E0C6 PRG:20C6 F0 52 + beq SubCE0C0_Block_4 ; CPU:$E0C6 PRG:20C6 F0 52 lda Zp6A,x ; CPU:$E0C8 PRG:20C8 B5 6A cmp #$07 ; CPU:$E0CA PRG:20CA C9 07 - beq Label_E11A ; CPU:$E0CC PRG:20CC F0 4C + beq SubCE0C0_Block_4 ; CPU:$E0CC PRG:20CC F0 4C lda Zp2D,x ; CPU:$E0CE PRG:20CE B5 2D - bne Label_E11A ; CPU:$E0D0 PRG:20D0 D0 48 + bne SubCE0C0_Block_4 ; 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 @@ -9578,7 +9580,7 @@ Label_E0C0: sta Zp0B ; CPU:$E0DE PRG:20DE 85 0B ldy #$00 ; CPU:$E0E0 PRG:20E0 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E0E2 +; Routine: SubCE0C0_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9586,9 +9588,9 @@ Label_E0C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0E2: +SubCE0C0_Block_11: lda $0600,y ; CPU:$E0E2 PRG:20E2 B9 00 06 - beq Label_E115 ; CPU:$E0E5 PRG:20E5 F0 2E + beq SubCE0C0_Block_9 ; 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 @@ -9596,7 +9598,7 @@ Label_E0E2: sta Zp00 ; CPU:$E0ED PRG:20ED 85 00 jsr $D2F9 ; CPU:$E0EF PRG:20EF 20 F9 D2 cmp #$0C ; CPU:$E0F2 PRG:20F2 C9 0C - bcs Label_E115 ; CPU:$E0F4 PRG:20F4 B0 1F + bcs SubCE0C0_Block_9 ; 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 @@ -9606,13 +9608,13 @@ Label_E0E2: pha ; CPU:$E102 PRG:2102 48 lda ZpE6,x ; CPU:$E103 PRG:2103 B5 E6 cmp #$02 ; CPU:$E105 PRG:2105 C9 02 - bcs Label_E110 ; CPU:$E107 PRG:2107 B0 07 + bcs SubCE0C0_Block_7 ; CPU:$E107 PRG:2107 B0 07 pla ; CPU:$E109 PRG:2109 68 cmp #$1C ; CPU:$E10A PRG:210A C9 1C - bcc Label_E12F ; CPU:$E10C PRG:210C 90 21 - bcs Label_E115 ; CPU:$E10E PRG:210E B0 05 + bcc SubCE0C0_Block_10 ; CPU:$E10C PRG:210C 90 21 + bcs SubCE0C0_Block_9 ; CPU:$E10E PRG:210E B0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E110 +; Routine: SubCE0C0_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9620,12 +9622,12 @@ Label_E0E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E110: +SubCE0C0_Block_7: pla ; CPU:$E110 PRG:2110 68 cmp #$24 ; CPU:$E111 PRG:2111 C9 24 - bcc Label_E12F ; CPU:$E113 PRG:2113 90 1A + bcc SubCE0C0_Block_10 ; CPU:$E113 PRG:2113 90 1A ; ----------------------------------------------------------------------------- -; Routine: Label_E115 +; Routine: SubCE0C0_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9633,12 +9635,12 @@ Label_E110: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E115: +SubCE0C0_Block_9: iny ; CPU:$E115 PRG:2115 C8 cpy #$0B ; CPU:$E116 PRG:2116 C0 0B - bcc Label_E0E2 ; CPU:$E118 PRG:2118 90 C8 + bcc SubCE0C0_Block_11 ; CPU:$E118 PRG:2118 90 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_E11A +; Routine: SubCE0C0_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +9648,10 @@ Label_E115: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E11A: +SubCE0C0_Block_4: rts ; CPU:$E11A PRG:211A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E11B +; Routine: SubCE0C0_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +9659,19 @@ Label_E11A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E11B: +SubCE0C0_Block: lda Zp50 ; CPU:$E11B PRG:211B A5 50 and #$01 ; CPU:$E11D PRG:211D 29 01 - beq Label_E12E ; CPU:$E11F PRG:211F F0 0D + beq SubCE0C0_Block_13 ; CPU:$E11F PRG:211F F0 0D lda Zp68,x ; CPU:$E121 PRG:2121 B5 68 - beq Label_E12E ; CPU:$E123 PRG:2123 F0 09 + beq SubCE0C0_Block_13 ; CPU:$E123 PRG:2123 F0 09 cmp #$02 ; CPU:$E125 PRG:2125 C9 02 - beq Label_E12C ; CPU:$E127 PRG:2127 F0 03 + beq SubCE0C0_Block_14 ; 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: Label_E12C +; Routine: SubCE0C0_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9677,10 +9679,10 @@ Label_E11B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E12C: +SubCE0C0_Block_14: dec Zp64,x ; CPU:$E12C PRG:212C D6 64 ; ----------------------------------------------------------------------------- -; Routine: Label_E12E +; Routine: SubCE0C0_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9688,10 +9690,10 @@ Label_E12C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E12E: +SubCE0C0_Block_13: rts ; CPU:$E12E PRG:212E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E12F +; Routine: SubCE0C0_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9699,17 +9701,17 @@ Label_E12E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E12F: +SubCE0C0_Block_10: pha ; CPU:$E12F PRG:212F 48 lda ZpE6,x ; CPU:$E130 PRG:2130 B5 E6 cmp #$02 ; CPU:$E132 PRG:2132 C9 02 - bcs Label_E13D ; CPU:$E134 PRG:2134 B0 07 + bcs SubCE0C0_Block_15 ; CPU:$E134 PRG:2134 B0 07 pla ; CPU:$E136 PRG:2136 68 cmp #$18 ; CPU:$E137 PRG:2137 C9 18 - bcc Label_E158 ; CPU:$E139 PRG:2139 90 1D - bcs Label_E142 ; CPU:$E13B PRG:213B B0 05 + bcc SubCE0C0_Block_19 ; CPU:$E139 PRG:2139 90 1D + bcs SubCE0C0_Block_17 ; CPU:$E13B PRG:213B B0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E13D +; Routine: SubCE0C0_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +9719,12 @@ Label_E12F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E13D: +SubCE0C0_Block_15: pla ; CPU:$E13D PRG:213D 68 cmp #$23 ; CPU:$E13E PRG:213E C9 23 - bcc Label_E158 ; CPU:$E140 PRG:2140 90 16 + bcc SubCE0C0_Block_19 ; CPU:$E140 PRG:2140 90 16 ; ----------------------------------------------------------------------------- -; Routine: Label_E142 +; Routine: SubCE0C0_Block_17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9730,17 +9732,17 @@ Label_E13D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E142: +SubCE0C0_Block_17: lda Zp68,x ; CPU:$E142 PRG:2142 B5 68 - beq Label_E158 ; CPU:$E144 PRG:2144 F0 12 + beq SubCE0C0_Block_19 ; CPU:$E144 PRG:2144 F0 12 lda Zp00 ; CPU:$E146 PRG:2146 A5 00 cmp #$03 ; CPU:$E148 PRG:2148 C9 03 - bcc Label_E153 ; CPU:$E14A PRG:214A 90 07 + bcc SubCE0C0_Block_21 ; CPU:$E14A PRG:214A 90 07 cmp #$FD ; CPU:$E14C PRG:214C C9 FD - bcs Label_E153 ; CPU:$E14E PRG:214E B0 03 + bcs SubCE0C0_Block_21 ; CPU:$E14E PRG:214E B0 03 jsr $E176 ; CPU:$E150 PRG:2150 20 76 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E153 +; Routine: SubCE0C0_Block_21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9748,12 +9750,12 @@ Label_E142: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E153: +SubCE0C0_Block_21: lda #$08 ; CPU:$E153 PRG:2153 A9 08 sta Zp3A,x ; CPU:$E155 PRG:2155 95 3A rts ; CPU:$E157 PRG:2157 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E158 +; Routine: SubCE0C0_Block_19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +9763,15 @@ Label_E153: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E158: +SubCE0C0_Block_19: lda Zp00 ; CPU:$E158 PRG:2158 A5 00 - bmi Label_E165 ; CPU:$E15A PRG:215A 30 09 + bmi SubCE0C0_Block_22 ; 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: Label_E165 +; Routine: SubCE0C0_Block_22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +9779,12 @@ Label_E158: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E165: +SubCE0C0_Block_22: 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: Label_E16B +; Routine: SubCE16B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +9792,14 @@ Label_E165: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E16B: +SubCE16B: 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 Label_E184 ; CPU:$E171 PRG:2171 D0 11 + bne SubCE16B_Block ; CPU:$E171 PRG:2171 D0 11 jmp $E176 ; CPU:$E173 PRG:2173 4C 76 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E176 +; Routine: SubCE176 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +9807,14 @@ Label_E16B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E176: +SubCE176: lda Zp00 ; CPU:$E176 PRG:2176 A5 00 asl a ; CPU:$E178 PRG:2178 0A lda #$01 ; CPU:$E179 PRG:2179 A9 01 - bcs Label_E17E ; CPU:$E17B PRG:217B B0 01 + bcs SubCE176_Block ; CPU:$E17B PRG:217B B0 01 asl a ; CPU:$E17D PRG:217D 0A ; ----------------------------------------------------------------------------- -; Routine: Label_E17E +; Routine: SubCE176_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9820,12 +9822,12 @@ Label_E176: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E17E: +SubCE176_Block: 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: Label_E184 +; Routine: SubCE16B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9833,13 +9835,13 @@ Label_E17E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E184: +SubCE16B_Block: 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: Label_E189 +; Routine: SubCE189 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9847,16 +9849,16 @@ Label_E184: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E189: +SubCE189: ldx Zp90 ; CPU:$E189 PRG:2189 A6 90 cpx #$09 ; CPU:$E18B PRG:218B E0 09 - beq Label_E1E0 ; CPU:$E18D PRG:218D F0 51 + beq SubCE189_Block_5 ; CPU:$E18D PRG:218D F0 51 ldx Zp7C ; CPU:$E18F PRG:218F A6 7C dex ; CPU:$E191 PRG:2191 CA - bne Label_E1E1 ; CPU:$E192 PRG:2192 D0 4D + bne SubCE189_Block_2 ; CPU:$E192 PRG:2192 D0 4D ldx #$02 ; CPU:$E194 PRG:2194 A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E196 +; Routine: SubCE189_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9864,13 +9866,13 @@ Label_E189: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E196: +SubCE189_Block_4: lda Zp99,x ; CPU:$E196 PRG:2196 B5 99 - bne Label_E1E0 ; CPU:$E198 PRG:2198 D0 46 + bne SubCE189_Block_5 ; CPU:$E198 PRG:2198 D0 46 dex ; CPU:$E19A PRG:219A CA - bpl Label_E196 ; CPU:$E19B PRG:219B 10 F9 + bpl SubCE189_Block_4 ; CPU:$E19B PRG:219B 10 F9 ldy Zp92 ; CPU:$E19D PRG:219D A4 92 - bne Label_E1E0 ; CPU:$E19F PRG:219F D0 3F + bne SubCE189_Block_5 ; 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 @@ -9889,7 +9891,7 @@ Label_E196: ldx Zp90 ; CPU:$E1C3 PRG:21C3 A6 90 inx ; CPU:$E1C5 PRG:21C5 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E1C6 +; Routine: SubCE189_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +9899,12 @@ Label_E196: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1C6: +SubCE189_Block_7: dex ; CPU:$E1C6 PRG:21C6 CA cpx $0786 ; CPU:$E1C7 PRG:21C7 EC 86 07 - beq Label_E1C6 ; CPU:$E1CA PRG:21CA F0 FA + beq SubCE189_Block_7 ; CPU:$E1CA PRG:21CA F0 FA cpx $0787 ; CPU:$E1CC PRG:21CC EC 87 07 - beq Label_E1C6 ; CPU:$E1CF PRG:21CF F0 F5 + beq SubCE189_Block_7 ; 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 @@ -9912,7 +9914,7 @@ Label_E1C6: sta ZpA8 ; CPU:$E1DC PRG:21DC 85 A8 inc Zp7C ; CPU:$E1DE PRG:21DE E6 7C ; ----------------------------------------------------------------------------- -; Routine: Label_E1E0 +; Routine: SubCE189_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9920,10 +9922,10 @@ Label_E1C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1E0: +SubCE189_Block_5: rts ; CPU:$E1E0 PRG:21E0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E1E1 +; Routine: SubCE189_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9931,11 +9933,11 @@ Label_E1E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1E1: +SubCE189_Block_2: dex ; CPU:$E1E1 PRG:21E1 CA - bne Label_E1EE ; CPU:$E1E2 PRG:21E2 D0 0A + bne SubCE189_Block_8 ; CPU:$E1E2 PRG:21E2 D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_E1E4 +; Routine: SubCE189_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9943,14 +9945,14 @@ Label_E1E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1E4: +SubCE189_Block_12: lda $0376 ; CPU:$E1E4 PRG:21E4 AD 76 03 - bne Label_E215 ; CPU:$E1E7 PRG:21E7 D0 2C + bne SubCE215 ; CPU:$E1E7 PRG:21E7 D0 2C dec ZpDF ; CPU:$E1E9 PRG:21E9 C6 DF - beq Label_E202 ; CPU:$E1EB PRG:21EB F0 15 + beq SubCE189_Block_9 ; CPU:$E1EB PRG:21EB F0 15 rts ; CPU:$E1ED PRG:21ED 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E1EE +; Routine: SubCE189_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9958,19 +9960,19 @@ Label_E1E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1EE: +SubCE189_Block_8: dex ; CPU:$E1EE PRG:21EE CA - bne Label_E21A ; CPU:$E1EF PRG:21EF D0 29 + bne SubCE189_Block_10 ; CPU:$E1EF PRG:21EF D0 29 lda $0376 ; CPU:$E1F1 PRG:21F1 AD 76 03 - bne Label_E215 ; CPU:$E1F4 PRG:21F4 D0 1F + bne SubCE215 ; CPU:$E1F4 PRG:21F4 D0 1F lda ZpA8 ; CPU:$E1F6 PRG:21F6 A5 A8 cmp #$17 ; CPU:$E1F8 PRG:21F8 C9 17 - bne Label_E1E4 ; CPU:$E1FA PRG:21FA D0 E8 + bne SubCE189_Block_12 ; CPU:$E1FA PRG:21FA D0 E8 lda Zp9D ; CPU:$E1FC PRG:21FC A5 9D cmp #$78 ; CPU:$E1FE PRG:21FE C9 78 - bne Label_E1E4 ; CPU:$E200 PRG:2200 D0 E2 + bne SubCE189_Block_12 ; CPU:$E200 PRG:2200 D0 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E202 +; Routine: SubCE189_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9978,18 +9980,18 @@ Label_E1EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E202: +SubCE189_Block_9: 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 Label_E214 ; CPU:$E20E PRG:220E D0 04 + bne SubCE215_Block_3 ; CPU:$E20E PRG:220E D0 04 lda #$04 ; CPU:$E210 PRG:2210 A9 04 sta Zp92 ; CPU:$E212 PRG:2212 85 92 ; ----------------------------------------------------------------------------- -; Routine: Label_E214 +; Routine: SubCE215_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9997,10 +9999,10 @@ Label_E202: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E214: +SubCE215_Block_3: rts ; CPU:$E214 PRG:2214 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E215 +; Routine: SubCE215 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10008,12 +10010,12 @@ Label_E214: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E215: +SubCE215: lda #$00 ; CPU:$E215 PRG:2215 A9 00 sta Zp7C ; CPU:$E217 PRG:2217 85 7C rts ; CPU:$E219 PRG:2219 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E21A +; Routine: SubCE189_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10021,15 +10023,15 @@ Label_E215: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E21A: +SubCE189_Block_10: dex ; CPU:$E21A PRG:221A CA - bne Label_E235 ; CPU:$E21B PRG:221B D0 18 + bne SubCE215_Block ; CPU:$E21B PRG:221B D0 18 dec ZpDF ; CPU:$E21D PRG:221D C6 DF - bpl Label_E225 ; CPU:$E21F PRG:221F 10 04 + bpl SubCE215_Block_2 ; CPU:$E21F PRG:221F 10 04 lda #$03 ; CPU:$E221 PRG:2221 A9 03 - bne Label_E23E ; CPU:$E223 PRG:2223 D0 19 + bne SubCE23E ; CPU:$E223 PRG:2223 D0 19 ; ----------------------------------------------------------------------------- -; Routine: Label_E225 +; Routine: SubCE215_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10037,17 +10039,17 @@ Label_E21A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E225: - beq Label_E214 ; CPU:$E225 PRG:2225 F0 ED +SubCE215_Block_2: + beq SubCE215_Block_3 ; CPU:$E225 PRG:2225 F0 ED lda Zp92 ; CPU:$E227 PRG:2227 A5 92 cmp #$04 ; CPU:$E229 PRG:2229 C9 04 - bne Label_E234 ; CPU:$E22B PRG:222B D0 07 + bne SubCE215_Block_4 ; 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: Label_E234 +; Routine: SubCE215_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10055,10 +10057,10 @@ Label_E225: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E234: +SubCE215_Block_4: rts ; CPU:$E234 PRG:2234 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E235 +; Routine: SubCE215_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10066,14 +10068,14 @@ Label_E234: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E235: +SubCE215_Block: dex ; CPU:$E235 PRG:2235 CA - bne Label_E251 ; CPU:$E236 PRG:2236 D0 19 + bne SubCE215_Block_5 ; CPU:$E236 PRG:2236 D0 19 dec ZpDF ; CPU:$E238 PRG:2238 C6 DF - bne Label_E243 ; CPU:$E23A PRG:223A D0 07 + bne SubCE215_Block_6 ; CPU:$E23A PRG:223A D0 07 lda #$10 ; CPU:$E23C PRG:223C A9 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E23E +; Routine: SubCE23E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10081,12 +10083,12 @@ Label_E235: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E23E: +SubCE23E: sta ZpDF ; CPU:$E23E PRG:223E 85 DF inc Zp7C ; CPU:$E240 PRG:2240 E6 7C rts ; CPU:$E242 PRG:2242 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E243 +; Routine: SubCE215_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +10096,16 @@ Label_E23E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E243: +SubCE215_Block_6: lda Zp92 ; CPU:$E243 PRG:2243 A5 92 cmp #$04 ; CPU:$E245 PRG:2245 C9 04 - bne Label_E250 ; CPU:$E247 PRG:2247 D0 07 + bne SubCE23E_Block_3 ; 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: Label_E250 +; Routine: SubCE23E_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10111,10 +10113,10 @@ Label_E243: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E250: +SubCE23E_Block_3: rts ; CPU:$E250 PRG:2250 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E251 +; Routine: SubCE215_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10122,19 +10124,19 @@ Label_E250: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E251: +SubCE215_Block_5: dex ; CPU:$E251 PRG:2251 CA - bne Label_E250 ; CPU:$E252 PRG:2252 D0 FC + bne SubCE23E_Block_3 ; CPU:$E252 PRG:2252 D0 FC dec ZpDF ; CPU:$E254 PRG:2254 C6 DF - bne Label_E250 ; CPU:$E256 PRG:2256 D0 F8 + bne SubCE23E_Block_3 ; CPU:$E256 PRG:2256 D0 F8 lda Zp92 ; CPU:$E258 PRG:2258 A5 92 cmp #$04 ; CPU:$E25A PRG:225A C9 04 - bne Label_E265 ; CPU:$E25C PRG:225C D0 07 + bne SubCE23E_Block_4 ; 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: Label_E265 +; Routine: SubCE23E_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10142,9 +10144,9 @@ Label_E251: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E265: +SubCE23E_Block_4: lda $0376 ; CPU:$E265 PRG:2265 AD 76 03 - bne Label_E215 ; CPU:$E268 PRG:2268 D0 AB + bne SubCE215 ; 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 @@ -10155,7 +10157,7 @@ Label_E265: ; 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: Label_E277 +; Routine: SubCE277 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +10165,12 @@ Label_E265: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E277: +SubCE277: ldx #$03 ; CPU:$E277 PRG:2277 A2 03 ; ---- data $E279-$E279 (1 bytes) ---- .byte $2C ; CPU:$E279 PRG:2279 2C ; ----------------------------------------------------------------------------- -; Routine: Label_E27A +; Routine: SubCE27A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10176,10 +10178,10 @@ Label_E277: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E27A: +SubCE27A: ldx #$01 ; CPU:$E27A PRG:227A A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E27C +; Routine: SubCE27A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10187,20 +10189,20 @@ Label_E27A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E27C: +SubCE27A_Block_3: 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 Label_E296 ; CPU:$E283 PRG:2283 F0 11 + beq SubCE27A_Block_2 ; 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 Label_E296 ; CPU:$E28A PRG:228A 90 0A + bcc SubCE27A_Block_2 ; 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: Label_E296 +; Routine: SubCE27A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10208,12 +10210,12 @@ Label_E27C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E296: +SubCE27A_Block_2: dex ; CPU:$E296 PRG:2296 CA - bpl Label_E27C ; CPU:$E297 PRG:2297 10 E3 + bpl SubCE27A_Block_3 ; CPU:$E297 PRG:2297 10 E3 rts ; CPU:$E299 PRG:2299 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E29A +; Routine: SubCE29A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10221,13 +10223,13 @@ Label_E296: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E29A: +SubCE29A: 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: Label_E2A3 +; Routine: SubCE29A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10235,16 +10237,16 @@ Label_E29A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2A3: +SubCE29A_Block_3: lda $0786,x ; CPU:$E2A3 PRG:22A3 BD 86 07 - beq Label_E2BE ; CPU:$E2A6 PRG:22A6 F0 16 + beq SubCE29A_Block ; 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: Label_E2B0 +; Routine: SubCE29A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10252,16 +10254,16 @@ Label_E2A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2B0: +SubCE29A_Block_2: 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 Label_E2B0 ; CPU:$E2BC PRG:22BC 10 F2 + bpl SubCE29A_Block_2 ; CPU:$E2BC PRG:22BC 10 F2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2BE +; Routine: SubCE29A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +10271,13 @@ Label_E2B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2BE: +SubCE29A_Block: ldy #$14 ; CPU:$E2BE PRG:22BE A0 14 dex ; CPU:$E2C0 PRG:22C0 CA - bpl Label_E2A3 ; CPU:$E2C1 PRG:22C1 10 E0 + bpl SubCE29A_Block_3 ; CPU:$E2C1 PRG:22C1 10 E0 ldy #$01 ; CPU:$E2C3 PRG:22C3 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E2C5 +; Routine: SubCE29A_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +10285,14 @@ Label_E2BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2C5: - lda a:$006A,y ; CPU:$E2C5 PRG:22C5 B9 6A 00 +SubCE29A_Block_12: + 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 + beq SubCE29A_Block_4 ; CPU:$E2CA PRG:22CA F0 04 cmp #$03 ; CPU:$E2CC PRG:22CC C9 03 - bne Label_E2F4 ; CPU:$E2CE PRG:22CE D0 24 + bne SubCE29A_Block_11 ; CPU:$E2CE PRG:22CE D0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_E2D0 +; Routine: SubCE29A_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10298,19 +10300,19 @@ Label_E2C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2D0: +SubCE29A_Block_4: ldx Zp5A,y ; CPU:$E2D0 PRG:22D0 B6 5A - beq Label_E2F4 ; CPU:$E2D2 PRG:22D2 F0 20 + beq SubCE29A_Block_11 ; CPU:$E2D2 PRG:22D2 F0 20 cpx #$02 ; CPU:$E2D4 PRG:22D4 E0 02 - bmi Label_E2F4 ; CPU:$E2D6 PRG:22D6 30 1C + bmi SubCE29A_Block_11 ; 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 - bne Label_E2E6 ; CPU:$E2DF PRG:22DF D0 05 + beq SubCE29A_Block_11 ; 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 lda $0343,y ; CPU:$E2E1 PRG:22E1 B9 43 03 - bne Label_E2EC ; CPU:$E2E4 PRG:22E4 D0 06 + bne SubCE29A_Block_10 ; CPU:$E2E4 PRG:22E4 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E2E6 +; Routine: SubCE29A_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +10320,11 @@ Label_E2D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2E6: +SubCE29A_Block_9: lda $07AE,x ; CPU:$E2E6 PRG:22E6 BD AE 07 jsr $E2FB ; CPU:$E2E9 PRG:22E9 20 FB E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2EC +; Routine: SubCE29A_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +10332,12 @@ Label_E2E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2EC: +SubCE29A_Block_10: ldx $0783,y ; CPU:$E2EC PRG:22EC BE 83 07 - bmi Label_E2F4 ; CPU:$E2EF PRG:22EF 30 03 + bmi SubCE29A_Block_11 ; CPU:$E2EF PRG:22EF 30 03 jsr $E2F8 ; CPU:$E2F1 PRG:22F1 20 F8 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2F4 +; Routine: SubCE29A_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10343,12 +10345,12 @@ Label_E2EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2F4: +SubCE29A_Block_11: dey ; CPU:$E2F4 PRG:22F4 88 - bpl Label_E2C5 ; CPU:$E2F5 PRG:22F5 10 CE + bpl SubCE29A_Block_12 ; CPU:$E2F5 PRG:22F5 10 CE rts ; CPU:$E2F7 PRG:22F7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E2F8 +; Routine: SubCE2F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10356,10 +10358,10 @@ Label_E2F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2F8: +SubCE2F8: lda $07B7,x ; CPU:$E2F8 PRG:22F8 BD B7 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E2FB +; Routine: SubCE2FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10367,13 +10369,13 @@ Label_E2F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2FB: +SubCE2FB: 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 +; Routine: SubCE303 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10381,7 +10383,7 @@ Label_E2FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E303: +SubCE303: 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 @@ -10389,10 +10391,10 @@ Label_E303: 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 Label_E31A ; CPU:$E315 PRG:2315 F0 03 + beq SubCE303_Block ; CPU:$E315 PRG:2315 F0 03 jsr $D2FB ; CPU:$E317 PRG:2317 20 FB D2 ; ----------------------------------------------------------------------------- -; Routine: Label_E31A +; Routine: SubCE303_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +10402,13 @@ Label_E303: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E31A: +SubCE303_Block: sta $07B0,x ; CPU:$E31A PRG:231A 9D B0 07 dex ; CPU:$E31D PRG:231D CA - bpl Label_E303 ; CPU:$E31E PRG:231E 10 E3 + bpl SubCE303 ; CPU:$E31E PRG:231E 10 E3 rts ; CPU:$E320 PRG:2320 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E321 +; Routine: SubCE321 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +10416,11 @@ Label_E31A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E321: +SubCE321: lda #$05 ; CPU:$E321 PRG:2321 A9 05 sta Zp01 ; CPU:$E323 PRG:2323 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E325 +; Routine: SubCE321_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10426,7 +10428,7 @@ Label_E321: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E325: +SubCE321_Block: 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 @@ -10436,13 +10438,13 @@ Label_E325: dey ; CPU:$E331 PRG:2331 88 dey ; CPU:$E332 PRG:2332 88 dec Zp01 ; CPU:$E333 PRG:2333 C6 01 - bpl Label_E325 ; CPU:$E335 PRG:2335 10 EE + bpl SubCE321_Block ; 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: Label_E33C +; Routine: SubCE33C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10450,12 +10452,12 @@ Label_E325: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E33C: +SubCE33C: 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: Label_E343 +; Routine: SubCE33C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10463,9 +10465,9 @@ Label_E33C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E343: +SubCE33C_Block_2: lda $0786,x ; CPU:$E343 PRG:2343 BD 86 07 - beq Label_E362 ; CPU:$E346 PRG:2346 F0 1A + beq SubCE33C_Block ; 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 @@ -10479,7 +10481,7 @@ Label_E343: adc $06A0,x ; CPU:$E35C PRG:235C 7D A0 06 sta $06A0,x ; CPU:$E35F PRG:235F 9D A0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E362 +; Routine: SubCE33C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10487,12 +10489,12 @@ Label_E343: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E362: +SubCE33C_Block: dex ; CPU:$E362 PRG:2362 CA - bpl Label_E343 ; CPU:$E363 PRG:2363 10 DE + bpl SubCE33C_Block_2 ; CPU:$E363 PRG:2363 10 DE ldy #$01 ; CPU:$E365 PRG:2365 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E367 +; Routine: SubCE33C_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +10502,14 @@ Label_E362: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E367: - lda a:$006A,y ; CPU:$E367 PRG:2367 B9 6A 00 +SubCE33C_Block_6: + 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 + beq SubCE33C_Block_3 ; CPU:$E36C PRG:236C F0 04 cmp #$03 ; CPU:$E36E PRG:236E C9 03 - bne Label_E37E ; CPU:$E370 PRG:2370 D0 0C + bne SubCE33C_Block_5 ; CPU:$E370 PRG:2370 D0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_E372 +; Routine: SubCE33C_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10515,15 +10517,15 @@ Label_E367: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E372: +SubCE33C_Block_3: 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 Label_E37E ; CPU:$E378 PRG:2378 30 04 + bmi SubCE33C_Block_5 ; CPU:$E378 PRG:2378 30 04 tax ; CPU:$E37A PRG:237A AA jsr $E2F8 ; CPU:$E37B PRG:237B 20 F8 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E37E +; Routine: SubCE33C_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10531,9 +10533,9 @@ Label_E372: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E37E: +SubCE33C_Block_5: dey ; CPU:$E37E PRG:237E 88 - bpl Label_E367 ; CPU:$E37F PRG:237F 10 E6 + bpl SubCE33C_Block_6 ; 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) @@ -10564,7 +10566,7 @@ Label_E37E: .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: Label_E4C2 +; Routine: SubCE4C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10572,13 +10574,13 @@ Label_E37E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4C2: +SubCE4C2: 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 ldy #$00 ; CPU:$E4CA PRG:24CA A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E4CC +; Routine: SubCE4C2_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10586,27 +10588,27 @@ Label_E4C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4CC: +SubCE4C2_Block_5: ldx Zp00 ; CPU:$E4CC PRG:24CC A6 00 lda $E382,x ; CPU:$E4CE PRG:24CE BD 82 E3 sta Zp01 ; CPU:$E4D1 PRG:24D1 85 01 and #$E0 ; CPU:$E4D3 PRG:24D3 29 E0 - beq Label_E502 ; CPU:$E4D5 PRG:24D5 F0 2B + beq SubCE4C2_Block_2 ; CPU:$E4D5 PRG:24D5 F0 2B cmp #$61 ; CPU:$E4D7 PRG:24D7 C9 61 - bcs Label_E502 ; CPU:$E4D9 PRG:24D9 B0 27 + bcs SubCE4C2_Block_2 ; CPU:$E4D9 PRG:24D9 B0 27 pha ; CPU:$E4DB PRG:24DB 48 lda Zp01 ; 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 Label_E4EC ; CPU:$E4E4 PRG:24E4 D0 06 + bne SubCE4C2_Block_4 ; CPU:$E4E4 PRG:24E4 D0 06 dex ; CPU:$E4E6 PRG:24E6 CA dex ; CPU:$E4E7 PRG:24E7 CA - bpl Label_E4EC ; CPU:$E4E8 PRG:24E8 10 02 + bpl SubCE4C2_Block_4 ; CPU:$E4E8 PRG:24E8 10 02 ldx #$06 ; CPU:$E4EA PRG:24EA A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E4EC +; Routine: SubCE4C2_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10614,7 +10616,7 @@ Label_E4CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4EC: +SubCE4C2_Block_4: txa ; CPU:$E4EC PRG:24EC 8A asl a ; CPU:$E4ED PRG:24ED 0A tax ; CPU:$E4EE PRG:24EE AA @@ -10626,7 +10628,7 @@ Label_E4EC: and #$10 ; CPU:$E4FD PRG:24FD 29 10 sta $07D0,y ; CPU:$E4FF PRG:24FF 99 D0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E502 +; Routine: SubCE4C2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10634,7 +10636,7 @@ Label_E4EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E502: +SubCE4C2_Block_2: lda Zp01 ; CPU:$E502 PRG:2502 A5 01 lsr a ; CPU:$E504 PRG:2504 4A lsr a ; CPU:$E505 PRG:2505 4A @@ -10644,11 +10646,11 @@ Label_E502: inc Zp00 ; CPU:$E50B PRG:250B E6 00 iny ; CPU:$E50D PRG:250D C8 cpy #$07 ; CPU:$E50E PRG:250E C0 07 - bne Label_E4CC ; CPU:$E510 PRG:2510 D0 BA + bne SubCE4C2_Block_5 ; CPU:$E510 PRG:2510 D0 BA ldy #$05 ; CPU:$E512 PRG:2512 A0 05 sty $0782 ; CPU:$E514 PRG:2514 8C 82 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E517 +; Routine: SubCE4C2_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10656,14 +10658,14 @@ Label_E502: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E517: +SubCE4C2_Block_6: 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 Label_E517 ; CPU:$E520 PRG:2520 D0 F5 + bne SubCE4C2_Block_6 ; CPU:$E520 PRG:2520 D0 F5 rts ; CPU:$E522 PRG:2522 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E523 +; Routine: SubCE523 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10671,11 +10673,11 @@ Label_E517: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E523: +SubCE523: lda #$00 ; CPU:$E523 PRG:2523 A9 00 ldx #$2D ; CPU:$E525 PRG:2525 A2 2D ; ----------------------------------------------------------------------------- -; Routine: Label_E527 +; Routine: SubCE523_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10683,13 +10685,13 @@ Label_E523: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E527: +SubCE523_Block: sta $0790,x ; CPU:$E527 PRG:2527 9D 90 07 dex ; CPU:$E52A PRG:252A CA - bpl Label_E527 ; CPU:$E52B PRG:252B 10 FA + bpl SubCE523_Block ; CPU:$E52B PRG:252B 10 FA ldx #$03 ; CPU:$E52D PRG:252D A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E52F +; Routine: SubCE523_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10697,10 +10699,10 @@ Label_E527: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E52F: +SubCE523_Block_2: sta $0786,x ; CPU:$E52F PRG:252F 9D 86 07 dex ; CPU:$E532 PRG:2532 CA - bpl Label_E52F ; CPU:$E533 PRG:2533 10 FA + bpl SubCE523_Block_2 ; 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) ---- @@ -10710,7 +10712,7 @@ Label_E52F: .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: Label_E573 +; Routine: SubCE573 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10718,18 +10720,18 @@ Label_E52F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E573: +SubCE573: 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 Label_E583 ; CPU:$E57D PRG:257D F0 04 - bcc Label_E583 ; CPU:$E57F PRG:257F 90 02 + beq SubCE573_Block_2 ; CPU:$E57D PRG:257D F0 04 + bcc SubCE573_Block_2 ; CPU:$E57F PRG:257F 90 02 pla ; CPU:$E581 PRG:2581 68 rts ; CPU:$E582 PRG:2582 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E583 +; Routine: SubCE573_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +10739,11 @@ Label_E573: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E583: +SubCE573_Block_2: inc Zp25 ; CPU:$E583 PRG:2583 E6 25 ldy #$03 ; CPU:$E585 PRG:2585 A0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E587 +; Routine: SubCE573_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10749,13 +10751,13 @@ Label_E583: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E587: +SubCE573_Block_4: lda $0786,y ; CPU:$E587 PRG:2587 B9 86 07 - beq Label_E58F ; CPU:$E58A PRG:258A F0 03 + beq SubCE573_Block_3 ; CPU:$E58A PRG:258A F0 03 dey ; CPU:$E58C PRG:258C 88 - bpl Label_E587 ; CPU:$E58D PRG:258D 10 F8 + bpl SubCE573_Block_4 ; CPU:$E58D PRG:258D 10 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_E58F +; Routine: SubCE573_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10763,16 +10765,16 @@ Label_E587: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E58F: +SubCE573_Block_3: 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 Label_E59B ; CPU:$E598 PRG:2598 D0 01 + bne SubCE573_Block_5 ; CPU:$E598 PRG:2598 D0 01 dex ; CPU:$E59A PRG:259A CA ; ----------------------------------------------------------------------------- -; Routine: Label_E59B +; Routine: SubCE573_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +10782,17 @@ Label_E58F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E59B: +SubCE573_Block_5: 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 Label_E5A9 ; CPU:$E5A5 PRG:25A5 D0 02 + bne SubCE573_Block_6 ; CPU:$E5A5 PRG:25A5 D0 02 ldx #$80 ; CPU:$E5A7 PRG:25A7 A2 80 ; ----------------------------------------------------------------------------- -; Routine: Label_E5A9 +; Routine: SubCE573_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +10800,7 @@ Label_E59B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5A9: +SubCE573_Block_6: txa ; CPU:$E5A9 PRG:25A9 8A sta $07A7,y ; CPU:$E5AA PRG:25AA 99 A7 07 lda #$00 ; CPU:$E5AD PRG:25AD A9 00 @@ -10806,10 +10808,10 @@ Label_E5A9: 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 Label_E5BB ; CPU:$E5B8 PRG:25B8 F0 01 + beq SubCE573_Block_7 ; CPU:$E5B8 PRG:25B8 F0 01 tax ; CPU:$E5BA PRG:25BA AA ; ----------------------------------------------------------------------------- -; Routine: Label_E5BB +; Routine: SubCE573_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10817,18 +10819,18 @@ Label_E5A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5BB: +SubCE573_Block_7: 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 Label_E5C8 ; CPU:$E5C3 PRG:25C3 30 03 + bmi SubCE573_Block_8 ; 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: Label_E5C8 +; Routine: SubCE573_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10836,7 +10838,7 @@ Label_E5BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5C8: +SubCE573_Block_8: ldx #$01 ; CPU:$E5C8 PRG:25C8 A2 01 txa ; CPU:$E5CA PRG:25CA 8A sta $06FA,y ; CPU:$E5CB PRG:25CB 99 FA 06 @@ -10844,7 +10846,7 @@ Label_E5C8: tax ; CPU:$E5CF PRG:25CF AA lda #$DE ; CPU:$E5D0 PRG:25D0 A9 DE ; ----------------------------------------------------------------------------- -; Routine: Label_E5D2 +; Routine: SubCE573_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10852,11 +10854,11 @@ Label_E5C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5D2: +SubCE573_Block_9: sec ; CPU:$E5D2 PRG:25D2 38 sbc #$08 ; CPU:$E5D3 PRG:25D3 E9 08 dex ; CPU:$E5D5 PRG:25D5 CA - bne Label_E5D2 ; CPU:$E5D6 PRG:25D6 D0 FA + bne SubCE573_Block_9 ; 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 @@ -10867,10 +10869,10 @@ Label_E5D2: 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 Label_E5F2 ; CPU:$E5EE PRG:25EE D0 02 + bne SubCE573_Block_10 ; CPU:$E5EE PRG:25EE D0 02 lda #$08 ; CPU:$E5F0 PRG:25F0 A9 08 ; ----------------------------------------------------------------------------- -; Routine: Label_E5F2 +; Routine: SubCE573_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +10880,17 @@ Label_E5D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5F2: +SubCE573_Block_10: sta $06A0,y ; CPU:$E5F2 PRG:25F2 99 A0 06 lda Zp27 ; CPU:$E5F5 PRG:25F5 A5 27 - beq Label_E5FF ; CPU:$E5F7 PRG:25F7 F0 06 + beq SubCE573_Block_11 ; 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: Label_E5FF +; Routine: SubCE573_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +10898,7 @@ Label_E5F2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5FF: +SubCE573_Block_11: lda Zp08 ; CPU:$E5FF PRG:25FF A5 08 sec ; CPU:$E601 PRG:2601 38 sbc Zp13 ; CPU:$E602 PRG:2602 E5 13 @@ -10909,7 +10911,7 @@ Label_E5FF: lda $E273,y ; CPU:$E610 PRG:2610 B9 73 E2 tay ; CPU:$E613 PRG:2613 A8 ; ----------------------------------------------------------------------------- -; 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. @@ -10917,7 +10919,7 @@ Label_E5FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E614: +SubCE614: 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 @@ -10928,14 +10930,14 @@ Label_E614: 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 Label_E635 ; CPU:$E62C PRG:262C F0 07 + beq SubCE614_Block ; 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: Label_E635 +; Routine: SubCE614_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +10945,12 @@ Label_E614: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E635: +SubCE614_Block: 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: Label_E63D +; Routine: SubCE63D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10956,11 +10958,11 @@ Label_E635: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E63D: +SubCE63D: ldy Zp90 ; CPU:$E63D PRG:263D A4 90 iny ; CPU:$E63F PRG:263F C8 ; ----------------------------------------------------------------------------- -; Routine: Label_E640 +; Routine: SubCE640 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10968,15 +10970,15 @@ Label_E63D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E640: +SubCE640: cpy #$09 ; CPU:$E640 PRG:2640 C0 09 - bpl Label_E64D ; CPU:$E642 PRG:2642 10 09 + bpl SubCE640_Block_2 ; CPU:$E642 PRG:2642 10 09 cpy #$01 ; CPU:$E644 PRG:2644 C0 01 - beq Label_E64D ; CPU:$E646 PRG:2646 F0 05 + beq SubCE640_Block_2 ; CPU:$E646 PRG:2646 F0 05 jsr $E64E ; CPU:$E648 PRG:2648 20 4E E6 - bcs Label_E662 ; CPU:$E64B PRG:264B B0 15 + bcs SubCE640_Block_3 ; CPU:$E64B PRG:264B B0 15 ; ----------------------------------------------------------------------------- -; Routine: Label_E64D +; Routine: SubCE640_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +10986,10 @@ Label_E640: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E64D: +SubCE640_Block_2: rts ; CPU:$E64D PRG:264D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E64E +; Routine: SubCE64E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10995,7 +10997,7 @@ Label_E64D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E64E: +SubCE64E: jsr $E719 ; CPU:$E64E PRG:264E 20 19 E7 sta Zp0C ; CPU:$E651 PRG:2651 85 0C tya ; CPU:$E653 PRG:2653 98 @@ -11008,7 +11010,7 @@ Label_E64E: cmp #$60 ; CPU:$E65F PRG:265F C9 60 rts ; CPU:$E661 PRG:2661 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E662 +; Routine: SubCE640_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11016,12 +11018,12 @@ Label_E64E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E662: +SubCE640_Block_3: sta Zp0E ; CPU:$E662 PRG:2662 85 0E sty Zp00 ; CPU:$E664 PRG:2664 84 00 ldx #$05 ; CPU:$E666 PRG:2666 A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E668 +; Routine: SubCE64E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +11031,17 @@ Label_E662: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E668: +SubCE64E_Block: lda $E4B2,x ; CPU:$E668 PRG:2668 BD B2 E4 sta Zp01,x ; CPU:$E66B PRG:266B 95 01 dex ; CPU:$E66D PRG:266D CA - bpl Label_E668 ; CPU:$E66E PRG:266E 10 F8 + bpl SubCE64E_Block ; CPU:$E66E PRG:266E 10 F8 lda Zp0C ; CPU:$E670 PRG:2670 A5 0C and #$10 ; CPU:$E672 PRG:2672 29 10 - bne Label_E678 ; CPU:$E674 PRG:2674 D0 02 + bne SubCE64E_Block_2 ; CPU:$E674 PRG:2674 D0 02 inc Zp05 ; CPU:$E676 PRG:2676 E6 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E678 +; Routine: SubCE64E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11047,7 +11049,7 @@ Label_E668: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E678: +SubCE64E_Block_2: lda Zp0C ; CPU:$E678 PRG:2678 A5 0C and #$07 ; CPU:$E67A PRG:267A 29 07 asl a ; CPU:$E67C PRG:267C 0A @@ -11062,12 +11064,12 @@ Label_E678: 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 Label_E69B ; CPU:$E693 PRG:2693 F0 06 + beq SubCE64E_Block_3 ; CPU:$E693 PRG:2693 F0 06 cpx #$C0 ; CPU:$E695 PRG:2695 E0 C0 - bne Label_E6A5 ; CPU:$E697 PRG:2697 D0 0C + bne SubCE64E_Block_4 ; CPU:$E697 PRG:2697 D0 0C lda #$F0 ; CPU:$E699 PRG:2699 A9 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_E69B +; Routine: SubCE64E_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11075,7 +11077,7 @@ Label_E678: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E69B: +SubCE64E_Block_3: clc ; CPU:$E69B PRG:269B 18 adc Zp03 ; CPU:$E69C PRG:269C 65 03 sta Zp03 ; CPU:$E69E PRG:269E 85 03 @@ -11083,7 +11085,7 @@ Label_E69B: adc #$1B ; CPU:$E6A1 PRG:26A1 69 1B sta Zp04 ; CPU:$E6A3 PRG:26A3 85 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E6A5 +; Routine: SubCE64E_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11091,13 +11093,13 @@ Label_E69B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6A5: +SubCE64E_Block_4: ldx #$00 ; CPU:$E6A5 PRG:26A5 A2 00 lda $0786 ; CPU:$E6A7 PRG:26A7 AD 86 07 - beq Label_E6AD ; CPU:$E6AA PRG:26AA F0 01 + beq SubCE64E_Block_5 ; CPU:$E6AA PRG:26AA F0 01 inx ; CPU:$E6AC PRG:26AC E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E6AD +; Routine: SubCE64E_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11105,7 +11107,7 @@ Label_E6A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6AD: +SubCE64E_Block_5: 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 @@ -11114,7 +11116,7 @@ Label_E6AD: sta $07A7,x ; CPU:$E6B9 PRG:26B9 9D A7 07 ldy #$00 ; CPU:$E6BC PRG:26BC A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E6BE +; Routine: SubCE64E_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11122,20 +11124,20 @@ Label_E6AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6BE: - lda a:$0000,y ; CPU:$E6BE PRG:26BE B9 00 00 +SubCE64E_Block_6: + lda a:Zp00,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 Label_E6BE ; CPU:$E6C9 PRG:26C9 D0 F3 + bne SubCE64E_Block_6 ; CPU:$E6C9 PRG:26C9 D0 F3 ldy #$00 ; CPU:$E6CB PRG:26CB A0 00 cpx #$0A ; CPU:$E6CD PRG:26CD E0 0A - beq Label_E6D3 ; CPU:$E6CF PRG:26CF F0 02 + beq SubCE64E_Block_7 ; CPU:$E6CF PRG:26CF F0 02 ldy #$18 ; CPU:$E6D1 PRG:26D1 A0 18 ; ----------------------------------------------------------------------------- -; Routine: Label_E6D3 +; Routine: SubCE64E_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11143,11 +11145,11 @@ Label_E6BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6D3: +SubCE64E_Block_7: ldx #$06 ; CPU:$E6D3 PRG:26D3 A2 06 stx Zp0A ; CPU:$E6D5 PRG:26D5 86 0A ; ----------------------------------------------------------------------------- -; Routine: Label_E6D7 +; Routine: SubCE6D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11155,17 +11157,17 @@ Label_E6D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6D7: +SubCE6D7: 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 Label_E6E9 ; CPU:$E6E3 PRG:26E3 F0 04 + beq SubCE6D7_Block ; CPU:$E6E3 PRG:26E3 F0 04 cpx #$04 ; CPU:$E6E5 PRG:26E5 E0 04 - bne Label_E6F1 ; CPU:$E6E7 PRG:26E7 D0 08 + bne SubCE6D7_Block_3 ; CPU:$E6E7 PRG:26E7 D0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_E6E9 +; Routine: SubCE6D7_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +11175,13 @@ Label_E6D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6E9: +SubCE6D7_Block: ldx Zp0E ; CPU:$E6E9 PRG:26E9 A6 0E cpx #$E0 ; CPU:$E6EB PRG:26EB E0 E0 - beq Label_E6F1 ; CPU:$E6ED PRG:26ED F0 02 + beq SubCE6D7_Block_3 ; CPU:$E6ED PRG:26ED F0 02 lda #$FF ; CPU:$E6EF PRG:26EF A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E6F1 +; Routine: SubCE6D7_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11187,7 +11189,7 @@ Label_E6E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F1: +SubCE6D7_Block_3: 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 @@ -11202,15 +11204,15 @@ Label_E6F1: iny ; CPU:$E706 PRG:2706 C8 iny ; CPU:$E707 PRG:2707 C8 dec Zp0A ; CPU:$E708 PRG:2708 C6 0A - beq Label_E726 ; CPU:$E70A PRG:270A F0 1A + beq SubCE6D7_Block_4 ; CPU:$E70A PRG:270A F0 1A lda Zp0A ; CPU:$E70C PRG:270C A5 0A cmp #$03 ; CPU:$E70E PRG:270E C9 03 - bne Label_E6D7 ; CPU:$E710 PRG:2710 D0 C5 + bne SubCE6D7 ; CPU:$E710 PRG:2710 D0 C5 lda Zp03 ; CPU:$E712 PRG:2712 A5 03 sta Zp01 ; CPU:$E714 PRG:2714 85 01 jmp $E6D7 ; CPU:$E716 PRG:2716 4C D7 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E719 +; Routine: SubCE719 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +11220,13 @@ Label_E6F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E719: +SubCE719: 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: Label_E720 +; Routine: SubCE719_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +11234,13 @@ Label_E719: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E720: +SubCE719_Block: clc ; CPU:$E720 PRG:2720 18 adc #$07 ; CPU:$E721 PRG:2721 69 07 dex ; CPU:$E723 PRG:2723 CA - bpl Label_E720 ; CPU:$E724 PRG:2724 10 FA + bpl SubCE719_Block ; CPU:$E724 PRG:2724 10 FA ; ----------------------------------------------------------------------------- -; Routine: Label_E726 +; Routine: SubCE6D7_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11246,13 +11248,13 @@ Label_E720: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E726: +SubCE6D7_Block_4: 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: Label_E72B +; Routine: SubCE72B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11260,7 +11262,7 @@ Label_E726: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E72B: +SubCE72B: lda Zp59 ; CPU:$E72B PRG:272B A5 59 tax ; CPU:$E72D PRG:272D AA and #$0F ; CPU:$E72E PRG:272E 29 0F @@ -11275,7 +11277,7 @@ Label_E72B: sta Zp03 ; CPU:$E743 PRG:2743 85 03 ldy #$07 ; CPU:$E745 PRG:2745 A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E747 +; Routine: SubCE72B_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11283,11 +11285,11 @@ Label_E72B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E747: +SubCE72B_Block_5: lda #$00 ; CPU:$E747 PRG:2747 A9 00 ldx #$03 ; CPU:$E749 PRG:2749 A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E74B +; Routine: SubCE72B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11295,21 +11297,21 @@ Label_E747: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E74B: +SubCE72B_Block: lsr Zp00,x ; CPU:$E74B PRG:274B 56 00 rol a ; CPU:$E74D PRG:274D 2A dex ; CPU:$E74E PRG:274E CA - bpl Label_E74B ; CPU:$E74F PRG:274F 10 FA + bpl SubCE72B_Block ; 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 Label_E75E ; CPU:$E75A PRG:275A 90 02 + bcc SubCE72B_Block_2 ; CPU:$E75A PRG:275A 90 02 lda #$00 ; CPU:$E75C PRG:275C A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E75E +; Routine: SubCE72B_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11317,15 +11319,15 @@ Label_E74B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E75E: - sta a:$0004,y ; CPU:$E75E PRG:275E 99 04 00 +SubCE72B_Block_2: + 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 Label_E77C ; CPU:$E768 PRG:2768 B0 12 + bcs SubCE72B_Block_3 ; CPU:$E768 PRG:2768 B0 12 and #$70 ; CPU:$E76A PRG:276A 29 70 - beq Label_E779 ; CPU:$E76C PRG:276C F0 0B + beq SubCE72B_Block_4 ; 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 @@ -11336,7 +11338,7 @@ Label_E75E: ; ---- data $E778-$E778 (1 bytes) ---- .byte $2C ; CPU:$E778 PRG:2778 2C ; ----------------------------------------------------------------------------- -; Routine: Label_E779 +; Routine: SubCE72B_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11344,12 +11346,12 @@ Label_E75E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E779: +SubCE72B_Block_4: lda #$00 ; CPU:$E779 PRG:2779 A9 00 ; ---- data $E77B-$E77B (1 bytes) ---- .byte $2C ; CPU:$E77B PRG:277B 2C ; ----------------------------------------------------------------------------- -; Routine: Label_E77C +; Routine: SubCE72B_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11357,11 +11359,11 @@ Label_E779: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E77C: +SubCE72B_Block_3: 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 Label_E747 ; CPU:$E782 PRG:2782 D0 C3 + bne SubCE72B_Block_5 ; 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 @@ -11372,7 +11374,7 @@ Label_E77C: ; 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: 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. @@ -11380,11 +11382,11 @@ Label_E77C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79D: +SubCE79D: lda #$08 ; CPU:$E79D PRG:279D A9 08 sta Zp0F ; CPU:$E79F PRG:279F 85 0F ; ----------------------------------------------------------------------------- -; 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. @@ -11392,17 +11394,17 @@ Label_E79D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7A1: +SubCE7A1: ldy Zp0F ; CPU:$E7A1 PRG:27A1 A4 0F cpy #$01 ; CPU:$E7A3 PRG:27A3 C0 01 - beq Label_E7B2 ; CPU:$E7A5 PRG:27A5 F0 0B + beq SubCE7A1_Block_2 ; CPU:$E7A5 PRG:27A5 F0 0B jsr $E64E ; CPU:$E7A7 PRG:27A7 20 4E E6 cmp #$81 ; CPU:$E7AA PRG:27AA C9 81 - bcc Label_E7B2 ; CPU:$E7AC PRG:27AC 90 04 + bcc SubCE7A1_Block_2 ; CPU:$E7AC PRG:27AC 90 04 lda #$01 ; CPU:$E7AE PRG:27AE A9 01 - bne Label_E7B8 ; CPU:$E7B0 PRG:27B0 D0 06 + bne SubCE7A1_Block_3 ; CPU:$E7B0 PRG:27B0 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E7B2 +; Routine: SubCE7A1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11410,12 +11412,12 @@ Label_E7A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7B2: +SubCE7A1_Block_2: 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: Label_E7B8 +; Routine: SubCE7A1_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11423,7 +11425,7 @@ Label_E7B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7B8: +SubCE7A1_Block_3: 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 @@ -11433,7 +11435,7 @@ Label_E7B8: ldy #$00 ; CPU:$E7C6 PRG:27C6 A0 00 sty $066C ; CPU:$E7C8 PRG:27C8 8C 6C 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E7CB +; Routine: SubCE7A1_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11441,7 +11443,7 @@ Label_E7B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7CB: +SubCE7A1_Block_8: 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 @@ -11450,12 +11452,12 @@ Label_E7CB: sta $0600,y ; CPU:$E7D7 PRG:27D7 99 00 06 inc Zp00 ; CPU:$E7DA PRG:27DA E6 00 ldx Zp0D ; CPU:$E7DC PRG:27DC A6 0D - beq Label_E7E7 ; CPU:$E7DE PRG:27DE F0 07 + beq SubCE7A1_Block_4 ; 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: Label_E7E7 +; Routine: SubCE7A1_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11463,19 +11465,19 @@ Label_E7CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7E7: +SubCE7A1_Block_4: 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 Label_E7F7 ; CPU:$E7EE PRG:27EE D0 07 + bne SubCE7A1_Block_7 ; CPU:$E7EE PRG:27EE D0 07 lda Zp00 ; 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 ; ----------------------------------------------------------------------------- -; Routine: Label_E7F7 +; Routine: SubCE7A1_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11483,20 +11485,20 @@ Label_E7E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7F7: +SubCE7A1_Block_7: 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 Label_E80D ; CPU:$E801 PRG:2801 F0 0A + beq SubCE7A1_Block_6 ; CPU:$E801 PRG:2801 F0 0A dex ; CPU:$E803 PRG:2803 CA - bne Label_E7F7 ; CPU:$E804 PRG:2804 D0 F1 + bne SubCE7A1_Block_7 ; 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 Label_E7CB ; CPU:$E80B PRG:280B D0 BE + bne SubCE7A1_Block_8 ; CPU:$E80B PRG:280B D0 BE ; ----------------------------------------------------------------------------- -; Routine: Label_E80D +; Routine: SubCE7A1_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +11506,14 @@ Label_E7F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E80D: +SubCE7A1_Block_6: 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: Label_E815 +; Routine: SubCE7A1_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11519,13 +11521,13 @@ Label_E80D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E815: +SubCE7A1_Block_10: cpy #$01 ; CPU:$E815 PRG:2815 C0 01 - bne Label_E81C ; CPU:$E817 PRG:2817 D0 03 + bne SubCE7A1_Block_9 ; CPU:$E817 PRG:2817 D0 03 clc ; CPU:$E819 PRG:2819 18 adc #$01 ; CPU:$E81A PRG:281A 69 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E81C +; Routine: SubCE7A1_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,20 +11535,20 @@ Label_E815: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E81C: +SubCE7A1_Block_9: 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 Label_E815 ; CPU:$E823 PRG:2823 10 F0 + bpl SubCE7A1_Block_10 ; CPU:$E823 PRG:2823 10 F0 lda Zp0F ; CPU:$E825 PRG:2825 A5 0F cmp #$06 ; CPU:$E827 PRG:2827 C9 06 - bpl Label_E875 ; CPU:$E829 PRG:2829 10 4A + bpl SubCE7A1_Block_11 ; CPU:$E829 PRG:2829 10 4A ldy #$08 ; CPU:$E82B PRG:282B A0 08 cmp #$03 ; CPU:$E82D PRG:282D C9 03 - bpl Label_E833 ; CPU:$E82F PRG:282F 10 02 + bpl SubCE7A1_Block_12 ; CPU:$E82F PRG:282F 10 02 ldy #$10 ; CPU:$E831 PRG:2831 A0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E833 +; Routine: SubCE7A1_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11554,11 +11556,11 @@ Label_E81C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E833: +SubCE7A1_Block_12: sty Zp0A ; CPU:$E833 PRG:2833 84 0A ldx #$05 ; CPU:$E835 PRG:2835 A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E837 +; Routine: SubCE7A1_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +11568,7 @@ Label_E833: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E837: +SubCE7A1_Block_14: ldy Zp0A ; CPU:$E837 PRG:2837 A4 0A lda #$38 ; CPU:$E839 PRG:2839 A9 38 sta Zp06 ; CPU:$E83B PRG:283B 85 06 @@ -11574,7 +11576,7 @@ Label_E837: sta Zp08 ; CPU:$E83F PRG:283F 85 08 sta Zp09 ; CPU:$E841 PRG:2841 85 09 ; ----------------------------------------------------------------------------- -; Routine: Label_E843 +; Routine: SubCE7A1_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11582,7 +11584,7 @@ Label_E837: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E843: +SubCE7A1_Block_13: 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 @@ -11600,11 +11602,11 @@ Label_E843: 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 Label_E843 ; CPU:$E870 PRG:2870 D0 D1 + bne SubCE7A1_Block_13 ; CPU:$E870 PRG:2870 D0 D1 dex ; CPU:$E872 PRG:2872 CA - bpl Label_E837 ; CPU:$E873 PRG:2873 10 C2 + bpl SubCE7A1_Block_14 ; CPU:$E873 PRG:2873 10 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_E875 +; Routine: SubCE7A1_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11612,14 +11614,14 @@ Label_E843: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E875: +SubCE7A1_Block_11: 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 Label_E88B ; CPU:$E87C PRG:287C F0 0D + beq SubCE7A1_Block_15 ; CPU:$E87C PRG:287C F0 0D jmp $E7A1 ; CPU:$E87E PRG:287E 4C A1 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E881 +; Routine: SubCE881 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11627,14 +11629,14 @@ Label_E875: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E881: +SubCE881: lda Zp01 ; 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 ; ----------------------------------------------------------------------------- -; Routine: Label_E88B +; Routine: SubCE7A1_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +11644,7 @@ Label_E881: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E88B: +SubCE7A1_Block_15: rts ; CPU:$E88B PRG:288B 60 ; ---- data $E88C-$E998 (269 bytes) ---- ; referenced by `lda $E8CB,x` at $E9A0 (operand $E8CB falls inside this region) @@ -11668,7 +11670,7 @@ Label_E88B: .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: Label_E999 +; Routine: SubCE881_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11676,17 +11678,17 @@ Label_E88B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E999: +SubCE881_Block_3: 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 Label_E9AA ; CPU:$E9A5 PRG:29A5 D0 03 + bne SubCE881_Block ; CPU:$E9A5 PRG:29A5 D0 03 lda $05FE ; CPU:$E9A7 PRG:29A7 AD FE 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E9AA +; Routine: SubCE881_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +11696,7 @@ Label_E999: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9AA: +SubCE881_Block: sta Zp02 ; CPU:$E9AA PRG:29AA 85 02 lda $E8C7,x ; CPU:$E9AC PRG:29AC BD C7 E8 sta Zp01 ; CPU:$E9AF PRG:29AF 85 01 @@ -11705,10 +11707,10 @@ Label_E9AA: 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 Label_E9C3 ; CPU:$E9BF PRG:29BF F0 02 + beq SubCE881_Block_2 ; CPU:$E9BF PRG:29BF F0 02 adc #$70 ; CPU:$E9C1 PRG:29C1 69 70 ; ----------------------------------------------------------------------------- -; Routine: Label_E9C3 +; Routine: SubCE881_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11716,10 +11718,10 @@ Label_E9AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9C3: +SubCE881_Block_2: sta Zp00 ; CPU:$E9C3 PRG:29C3 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E9C5 +; Routine: SubCE9C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +11729,12 @@ Label_E9C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9C5: +SubCE9C5: 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 Label_E999 ; CPU:$E9CB PRG:29CB 10 CC + bpl SubCE881_Block_3 ; CPU:$E9CB PRG:29CB 10 CC rts ; CPU:$E9CD PRG:29CD 60 ; ---- data $E9CE-$EA48 (123 bytes) ---- .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 @@ -11744,7 +11746,7 @@ Label_E9C5: .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: Label_EA49 +; Routine: SubCEA4A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11752,10 +11754,10 @@ Label_E9C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA49: +SubCEA4A_Block: rts ; CPU:$EA49 PRG:2A49 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA4A +; Routine: SubCEA4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +11765,10 @@ Label_EA49: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA4A: +SubCEA4A: ldy #$00 ; CPU:$EA4A PRG:2A4A A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EA4C +; Routine: SubCEA4A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +11776,14 @@ Label_EA4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA4C: +SubCEA4A_Block_2: cmp #$0A ; CPU:$EA4C PRG:2A4C C9 0A - bcc Label_EA49 ; CPU:$EA4E PRG:2A4E 90 F9 + bcc SubCEA4A_Block ; CPU:$EA4E PRG:2A4E 90 F9 sbc #$0A ; CPU:$EA50 PRG:2A50 E9 0A iny ; CPU:$EA52 PRG:2A52 C8 - bne Label_EA4C ; CPU:$EA53 PRG:2A53 D0 F7 + bne SubCEA4A_Block_2 ; CPU:$EA53 PRG:2A53 D0 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_EA55 +; Routine: SubCEA55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +11791,7 @@ Label_EA4C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA55: +SubCEA55: 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 @@ -11799,7 +11801,7 @@ Label_EA55: .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: Label_EA8E +; Routine: SubCEA8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11807,13 +11809,13 @@ Label_EA55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA8E: +SubCEA8E: ldy Zp56 ; CPU:$EA8E PRG:2A8E A4 56 cpy #$0A ; CPU:$EA90 PRG:2A90 C0 0A - bcc Label_EA96 ; CPU:$EA92 PRG:2A92 90 02 + bcc SubCEA8E_Block ; CPU:$EA92 PRG:2A92 90 02 ldy #$09 ; CPU:$EA94 PRG:2A94 A0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_EA96 +; Routine: SubCEA8E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +11823,10 @@ Label_EA8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA96: +SubCEA8E_Block: rts ; CPU:$EA96 PRG:2A96 60 ; ----------------------------------------------------------------------------- -; 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. @@ -11832,15 +11834,15 @@ Label_EA96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA97: +SubCEA97: 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 Label_EAA1 ; CPU:$EA9D PRG:2A9D 90 02 + bcc SubCEA8E_Block_2 ; CPU:$EA9D PRG:2A9D 90 02 sbc #$20 ; CPU:$EA9F PRG:2A9F E9 20 ; ----------------------------------------------------------------------------- -; Routine: Label_EAA1 +; Routine: SubCEA8E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +11850,7 @@ Label_EA97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAA1: +SubCEA8E_Block_2: rts ; CPU:$EAA1 PRG:2AA1 60 ; ---- data $EAA2-$EAFB (90 bytes) ---- ; referenced by `lda $EABF,y` at $EB03 (operand $EABF falls inside this region) @@ -11862,7 +11864,7 @@ Label_EAA1: .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: Label_EAFC +; Routine: SubCEAFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +11872,7 @@ Label_EAA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAFC: +SubCEAFC: 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 @@ -11885,7 +11887,7 @@ Label_EAFC: .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: 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. @@ -11893,10 +11895,10 @@ Label_EAFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB2E: +SubCEB2E: ldx #$0A ; CPU:$EB2E PRG:2B2E A2 0A ; ----------------------------------------------------------------------------- -; Routine: Label_EB30 +; Routine: SubCEB5F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11904,15 +11906,15 @@ Label_EB2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB30: +SubCEB5F_Block: lda $03E8,x ; CPU:$EB30 PRG:2B30 BD E8 03 - beq Label_EB68 ; CPU:$EB33 PRG:2B33 F0 33 + beq SubCEB2E_Block ; CPU:$EB33 PRG:2B33 F0 33 pha ; CPU:$EB35 PRG:2B35 48 and #$1F ; CPU:$EB36 PRG:2B36 29 1F - beq Label_EB62 ; CPU:$EB38 PRG:2B38 F0 28 + beq SubCEB2E_Block_2 ; CPU:$EB38 PRG:2B38 F0 28 tay ; CPU:$EB3A PRG:2B3A A8 pla ; CPU:$EB3B PRG:2B3B 68 - bmi Label_EB6C ; CPU:$EB3C PRG:2B3C 30 2E + bmi SubCEB2E_Block_3 ; 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 @@ -11922,12 +11924,12 @@ Label_EB30: lda $03DD,x ; CPU:$EB4A PRG:2B4A BD DD 03 sta Zp02 ; CPU:$EB4D PRG:2B4D 85 02 lda ZpBD,x ; CPU:$EB4F PRG:2B4F B5 BD - bpl Label_EB56 ; CPU:$EB51 PRG:2B51 10 03 + bpl SubCEB2E_Block_4 ; 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: Label_EB56 +; Routine: SubCEB2E_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11935,14 +11937,14 @@ Label_EB30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB56: +SubCEB2E_Block_4: 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: Label_EB5F +; Routine: SubCEB5F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +11952,13 @@ Label_EB56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB5F: +SubCEB5F: 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: Label_EB62 +; Routine: SubCEB2E_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11964,12 +11966,12 @@ Label_EB5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB62: +SubCEB2E_Block_2: 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: Label_EB68 +; Routine: SubCEB2E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +11979,11 @@ Label_EB62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB68: +SubCEB2E_Block: dex ; CPU:$EB68 PRG:2B68 CA - bpl Label_EB30 ; CPU:$EB69 PRG:2B69 10 C5 + bpl SubCEB5F_Block ; CPU:$EB69 PRG:2B69 10 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_EB6B +; Routine: SubCEB8A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +11991,10 @@ Label_EB68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB6B: +SubCEB8A_Block_3: rts ; CPU:$EB6B PRG:2B6B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB6C +; Routine: SubCEB2E_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12000,7 +12002,7 @@ Label_EB6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB6C: +SubCEB2E_Block_3: lda #$00 ; CPU:$EB6C PRG:2B6C A9 00 sta Zp91,x ; CPU:$EB6E PRG:2B6E 95 91 txa ; CPU:$EB70 PRG:2B70 8A @@ -12011,7 +12013,7 @@ Label_EB6C: jsr $C821 ; CPU:$EB79 PRG:2B79 20 21 C8 jmp $EB5F ; CPU:$EB7C PRG:2B7C 4C 5F EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB7F +; Routine: SubCEB7F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +12021,14 @@ Label_EB6C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB7F: +SubCEB7F: 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 Label_EB6B ; CPU:$EB86 PRG:2B86 F0 E3 + beq SubCEB8A_Block_3 ; CPU:$EB86 PRG:2B86 F0 E3 ldx #$01 ; CPU:$EB88 PRG:2B88 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EB8A +; Routine: SubCEB8A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12034,11 +12036,11 @@ Label_EB7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB8A: +SubCEB8A: lda Zp5A,x ; CPU:$EB8A PRG:2B8A B5 5A - bne Label_EB6B ; CPU:$EB8C PRG:2B8C D0 DD + bne SubCEB8A_Block_3 ; CPU:$EB8C PRG:2B8C D0 DD lda Zp20,x ; CPU:$EB8E PRG:2B8E B5 20 - bmi Label_EB6B ; CPU:$EB90 PRG:2B90 30 D9 + bmi SubCEB8A_Block_3 ; 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 @@ -12052,7 +12054,7 @@ Label_EB8A: pla ; CPU:$EBA4 PRG:2BA4 68 tax ; CPU:$EBA5 PRG:2BA5 AA lda Zp3F,x ; CPU:$EBA6 PRG:2BA6 B5 3F - bne Label_EB6B ; CPU:$EBA8 PRG:2BA8 D0 C1 + bne SubCEB8A_Block_3 ; 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 @@ -12065,13 +12067,13 @@ Label_EB8A: sta Zp00 ; 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 Label_EBCE ; CPU:$EBC3 PRG:2BC3 B0 09 + bcs SubCEB8A_Block_4 ; CPU:$EBC3 PRG:2BC3 B0 09 cmp Zp00 ; CPU:$EBC5 PRG:2BC5 C5 00 - bcs Label_EBD3 ; CPU:$EBC7 PRG:2BC7 B0 0A + bcs SubCEBD3 ; CPU:$EBC7 PRG:2BC7 B0 0A lda Zp00 ; CPU:$EBC9 PRG:2BC9 A5 00 jmp $EBD3 ; CPU:$EBCB PRG:2BCB 4C D3 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EBCE +; Routine: SubCEB8A_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12079,12 +12081,12 @@ Label_EB8A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBCE: +SubCEB8A_Block_4: lda Zp00 ; CPU:$EBCE PRG:2BCE A5 00 clc ; CPU:$EBD0 PRG:2BD0 18 adc #$02 ; CPU:$EBD1 PRG:2BD1 69 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EBD3 +; Routine: SubCEBD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12092,13 +12094,13 @@ Label_EBCE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBD3: +SubCEBD3: cmp $0786 ; CPU:$EBD3 PRG:2BD3 CD 86 07 - beq Label_EBDD ; CPU:$EBD6 PRG:2BD6 F0 05 + beq SubCEBD3_Block ; CPU:$EBD6 PRG:2BD6 F0 05 cmp $0787 ; CPU:$EBD8 PRG:2BD8 CD 87 07 - bne Label_EBE9 ; CPU:$EBDB PRG:2BDB D0 0C + bne SubCEBD3_Block_2 ; CPU:$EBDB PRG:2BDB D0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_EBDD +; Routine: SubCEBD3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12106,15 +12108,15 @@ Label_EBD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBDD: +SubCEBD3_Block: sec ; CPU:$EBDD PRG:2BDD 38 sbc #$01 ; CPU:$EBDE PRG:2BDE E9 01 cmp Zp00 ; CPU:$EBE0 PRG:2BE0 C5 00 - bcs Label_EBD3 ; CPU:$EBE2 PRG:2BE2 B0 EF + bcs SubCEBD3 ; CPU:$EBE2 PRG:2BE2 B0 EF adc #$03 ; CPU:$EBE4 PRG:2BE4 69 03 jmp $EBD3 ; CPU:$EBE6 PRG:2BE6 4C D3 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EBE9 +; Routine: SubCEBD3_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12122,7 +12124,7 @@ Label_EBDD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBE9: +SubCEBD3_Block_2: sta Zp5A,x ; CPU:$EBE9 PRG:2BE9 95 5A jsr $EDD5 ; CPU:$EBEB PRG:2BEB 20 D5 ED sec ; CPU:$EBEE PRG:2BEE 38 @@ -12135,7 +12137,7 @@ Label_EBE9: adc #$08 ; CPU:$EBFA PRG:2BFA 69 08 sta Zp0E ; CPU:$EBFC PRG:2BFC 85 0E ; ----------------------------------------------------------------------------- -; Routine: Label_EBFE +; Routine: SubCEBD3_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +12145,13 @@ Label_EBE9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBFE: +SubCEBD3_Block_5: jsr $DEB9 ; CPU:$EBFE PRG:2BFE 20 B9 DE - bmi Label_EC07 ; CPU:$EC01 PRG:2C01 30 04 + bmi SubCEBD3_Block_3 ; CPU:$EC01 PRG:2C01 30 04 cmp #$03 ; CPU:$EC03 PRG:2C03 C9 03 - bne Label_EC12 ; CPU:$EC05 PRG:2C05 D0 0B + bne SubCEBD3_Block_4 ; CPU:$EC05 PRG:2C05 D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_EC07 +; Routine: SubCEBD3_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12157,15 +12159,15 @@ Label_EBFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC07: +SubCEBD3_Block_3: 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 Label_EBFE ; CPU:$EC10 PRG:2C10 90 EC + bcc SubCEBD3_Block_5 ; CPU:$EC10 PRG:2C10 90 EC ; ----------------------------------------------------------------------------- -; Routine: Label_EC12 +; Routine: SubCEBD3_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +12175,7 @@ Label_EC07: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC12: +SubCEBD3_Block_4: lda Zp0E ; CPU:$EC12 PRG:2C12 A5 0E sec ; CPU:$EC14 PRG:2C14 38 sbc #$08 ; CPU:$EC15 PRG:2C15 E9 08 @@ -12183,7 +12185,7 @@ Label_EC12: jsr $D0B8 ; CPU:$EC1D PRG:2C1D 20 B8 D0 jmp $D8FD ; CPU:$EC20 PRG:2C20 4C FD D8 ; ----------------------------------------------------------------------------- -; 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. @@ -12191,12 +12193,12 @@ Label_EC12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC23: +SubCEC23: 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: Label_EC2A +; Routine: SubCEC2A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12204,22 +12206,22 @@ Label_EC23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC2A: +SubCEC2A: lda Zp2D,x ; CPU:$EC2A PRG:2C2A B5 2D - beq Label_EC50 ; CPU:$EC2C PRG:2C2C F0 22 + beq SubCEC2A_Block_4 ; CPU:$EC2C PRG:2C2C F0 22 lda Zp20,x ; CPU:$EC2E PRG:2C2E B5 20 - bmi Label_EC50 ; CPU:$EC30 PRG:2C30 30 1E + bmi SubCEC2A_Block_4 ; 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:$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 + beq SubCEC2A_Block_3 ; CPU:$EC3C PRG:2C3C F0 04 lda #$00 ; CPU:$EC3E PRG:2C3E A9 00 sta Zp2D,x ; CPU:$EC40 PRG:2C40 95 2D ; ----------------------------------------------------------------------------- -; Routine: Label_EC42 +; Routine: SubCEC2A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12227,15 +12229,15 @@ Label_EC2A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC42: +SubCEC2A_Block_3: lda Zp50 ; CPU:$EC42 PRG:2C42 A5 50 and #$01 ; CPU:$EC44 PRG:2C44 29 01 - beq Label_EC50 ; CPU:$EC46 PRG:2C46 F0 08 + beq SubCEC2A_Block_4 ; 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: Label_EC50 +; Routine: SubCEC2A_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12243,10 +12245,10 @@ Label_EC42: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC50: +SubCEC2A_Block_4: rts ; CPU:$EC50 PRG:2C50 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC51 +; Routine: SubCEC51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12254,10 +12256,10 @@ Label_EC50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC51: +SubCEC51: ldx #$07 ; CPU:$EC51 PRG:2C51 A2 07 ; ----------------------------------------------------------------------------- -; Routine: Label_EC53 +; Routine: SubCEC51_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12265,17 +12267,17 @@ Label_EC51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC53: +SubCEC51_Block_11: lda Zp91,x ; CPU:$EC53 PRG:2C53 B5 91 - beq Label_EC74 ; CPU:$EC55 PRG:2C55 F0 1D + beq SubCEC51_Block_5 ; CPU:$EC55 PRG:2C55 F0 1D lda ZpA7,x ; CPU:$EC57 PRG:2C57 B5 A7 cpx #$00 ; CPU:$EC59 PRG:2C59 E0 00 - bne Label_EC63 ; CPU:$EC5B PRG:2C5B D0 06 + bne SubCEC51_Block_3 ; CPU:$EC5B PRG:2C5B D0 06 cmp #$F0 ; CPU:$EC5D PRG:2C5D C9 F0 - bcc Label_EC63 ; CPU:$EC5F PRG:2C5F 90 02 + bcc SubCEC51_Block_3 ; CPU:$EC5F PRG:2C5F 90 02 lda #$EC ; CPU:$EC61 PRG:2C61 A9 EC ; ----------------------------------------------------------------------------- -; Routine: Label_EC63 +; Routine: SubCEC51_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12283,18 +12285,18 @@ Label_EC53: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC63: +SubCEC51_Block_3: 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 Label_EC74 ; CPU:$EC6A PRG:2C6A F0 08 + beq SubCEC51_Block_5 ; CPU:$EC6A PRG:2C6A F0 08 cmp #$F8 ; CPU:$EC6C PRG:2C6C C9 F8 - bcc Label_EC74 ; CPU:$EC6E PRG:2C6E 90 04 + bcc SubCEC51_Block_5 ; CPU:$EC6E PRG:2C6E 90 04 lda #$00 ; CPU:$EC70 PRG:2C70 A9 00 sta Zp91,x ; CPU:$EC72 PRG:2C72 95 91 ; ----------------------------------------------------------------------------- -; Routine: Label_EC74 +; Routine: SubCEC51_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12302,16 +12304,16 @@ Label_EC63: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC74: +SubCEC51_Block_5: cpx #$02 ; CPU:$EC74 PRG:2C74 E0 02 - bcs Label_EC82 ; CPU:$EC76 PRG:2C76 B0 0A + bcs SubCEC51_Block_7 ; CPU:$EC76 PRG:2C76 B0 0A lda Zp5A,x ; CPU:$EC78 PRG:2C78 B5 5A - beq Label_EC82 ; CPU:$EC7A PRG:2C7A F0 06 + beq SubCEC51_Block_7 ; 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: Label_EC82 +; Routine: SubCEC51_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12319,17 +12321,17 @@ Label_EC74: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC82: +SubCEC51_Block_7: cpx #$03 ; CPU:$EC82 PRG:2C82 E0 03 - bcs Label_EC92 ; CPU:$EC84 PRG:2C84 B0 0C + bcs SubCEC51_Block_10 ; CPU:$EC84 PRG:2C84 B0 0C lda ZpAF,x ; CPU:$EC86 PRG:2C86 B5 AF - beq Label_EC92 ; CPU:$EC88 PRG:2C88 F0 08 + beq SubCEC51_Block_10 ; CPU:$EC88 PRG:2C88 F0 08 cmp #$F0 ; CPU:$EC8A PRG:2C8A C9 F0 - bcs Label_EC92 ; CPU:$EC8C PRG:2C8C B0 04 + bcs SubCEC51_Block_10 ; CPU:$EC8C PRG:2C8C B0 04 adc #$04 ; CPU:$EC8E PRG:2C8E 69 04 sta ZpAF,x ; CPU:$EC90 PRG:2C90 95 AF ; ----------------------------------------------------------------------------- -; Routine: Label_EC92 +; Routine: SubCEC51_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12337,16 +12339,16 @@ Label_EC82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC92: +SubCEC51_Block_10: dex ; CPU:$EC92 PRG:2C92 CA - bpl Label_EC53 ; CPU:$EC93 PRG:2C93 10 BE + bpl SubCEC51_Block_11 ; CPU:$EC93 PRG:2C93 10 BE ldx #$E4 ; CPU:$EC95 PRG:2C95 A2 E4 lda Zp55 ; CPU:$EC97 PRG:2C97 A5 55 cmp #$02 ; CPU:$EC99 PRG:2C99 C9 02 - bne Label_EC9F ; CPU:$EC9B PRG:2C9B D0 02 + bne SubCEC51_Block_14 ; CPU:$EC9B PRG:2C9B D0 02 ldx #$FC ; CPU:$EC9D PRG:2C9D A2 FC ; ----------------------------------------------------------------------------- -; Routine: Label_EC9F +; Routine: SubCEC51_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +12356,13 @@ Label_EC92: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC9F: +SubCEC51_Block_14: lda $0200,x ; CPU:$EC9F PRG:2C9F BD 00 02 cmp #$F2 ; CPU:$ECA2 PRG:2CA2 C9 F2 - bcc Label_ECA8 ; CPU:$ECA4 PRG:2CA4 90 02 + bcc SubCEC51_Block_13 ; CPU:$ECA4 PRG:2CA4 90 02 lda #$F4 ; CPU:$ECA6 PRG:2CA6 A9 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_ECA8 +; Routine: SubCEC51_Block_13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12368,7 +12370,7 @@ Label_EC9F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECA8: +SubCEC51_Block_13: clc ; CPU:$ECA8 PRG:2CA8 18 adc #$04 ; CPU:$ECA9 PRG:2CA9 69 04 sta $0200,x ; CPU:$ECAB PRG:2CAB 9D 00 02 @@ -12377,12 +12379,12 @@ Label_ECA8: dex ; CPU:$ECB0 PRG:2CB0 CA dex ; CPU:$ECB1 PRG:2CB1 CA cpx #$FC ; CPU:$ECB2 PRG:2CB2 E0 FC - bne Label_EC9F ; CPU:$ECB4 PRG:2CB4 D0 E9 + bne SubCEC51_Block_14 ; 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: Label_ECBF +; Routine: SubCECBF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12390,10 +12392,10 @@ Label_ECA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECBF: +SubCECBF: ldx Zp58 ; CPU:$ECBF PRG:2CBF A6 58 ; ----------------------------------------------------------------------------- -; Routine: Label_ECC1 +; Routine: SubCECBF_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +12403,12 @@ Label_ECBF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECC1: +SubCECBF_Block_2: lda Zp20,x ; CPU:$ECC1 PRG:2CC1 B5 20 - bmi Label_ECC7 ; CPU:$ECC3 PRG:2CC3 30 02 + bmi SubCECBF_Block ; CPU:$ECC3 PRG:2CC3 30 02 lda #$FB ; CPU:$ECC5 PRG:2CC5 A9 FB ; ----------------------------------------------------------------------------- -; Routine: Label_ECC7 +; Routine: SubCECBF_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12414,20 +12416,20 @@ Label_ECC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECC7: +SubCECBF_Block: eor #$FF ; CPU:$ECC7 PRG:2CC7 49 FF jsr $ECF0 ; CPU:$ECC9 PRG:2CC9 20 F0 EC dex ; CPU:$ECCC PRG:2CCC CA - bpl Label_ECC1 ; CPU:$ECCD PRG:2CCD 10 F2 + bpl SubCECBF_Block_2 ; CPU:$ECCD PRG:2CCD 10 F2 lda #$FC ; CPU:$ECCF PRG:2CCF A9 FC cmp Zp20 ; CPU:$ECD1 PRG:2CD1 C5 20 - bne Label_ED08 ; CPU:$ECD3 PRG:2CD3 D0 33 + bne SubCECF0_Block_3 ; CPU:$ECD3 PRG:2CD3 D0 33 ldy Zp58 ; CPU:$ECD5 PRG:2CD5 A4 58 - beq Label_ECDD ; CPU:$ECD7 PRG:2CD7 F0 04 + beq SubCECBF_Block_4 ; CPU:$ECD7 PRG:2CD7 F0 04 cmp Zp21 ; CPU:$ECD9 PRG:2CD9 C5 21 - bne Label_ED08 ; CPU:$ECDB PRG:2CDB D0 2B + bne SubCECF0_Block_3 ; CPU:$ECDB PRG:2CDB D0 2B ; ----------------------------------------------------------------------------- -; Routine: Label_ECDD +; Routine: SubCECBF_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12435,12 +12437,12 @@ Label_ECC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECDD: +SubCECBF_Block_4: ldy Zp43 ; CPU:$ECDD PRG:2CDD A4 43 - beq Label_ED08 ; CPU:$ECDF PRG:2CDF F0 27 + beq SubCECF0_Block_3 ; CPU:$ECDF PRG:2CDF F0 27 dey ; CPU:$ECE1 PRG:2CE1 88 ; ----------------------------------------------------------------------------- -; Routine: Label_ECE2 +; Routine: SubCECF0_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12448,15 +12450,15 @@ Label_ECDD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECE2: - bne Label_ED08 ; CPU:$ECE2 PRG:2CE2 D0 24 +SubCECF0_Block: + bne SubCECF0_Block_3 ; 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: Label_ECEA +; Routine: SubCECF0_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12464,11 +12466,11 @@ Label_ECE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECEA: +SubCECF0_Block_2: asl $04A9,x ; CPU:$ECEA PRG:2CEA 1E A9 04 jmp $D4F5 ; CPU:$ECED PRG:2CED 4C F5 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_ECF0 +; Routine: SubCECF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12476,19 +12478,19 @@ Label_ECEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECF0: +SubCECF0: jsr $C728 ; CPU:$ECF0 PRG:2CF0 20 28 C7 - bpl Label_ECE2 ; CPU:$ECF3 PRG:2CF3 10 ED + bpl SubCECF0_Block ; 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 Label_ECEA ; CPU:$ECFB PRG:2CFB 70 ED + bvs SubCECF0_Block_2 ; CPU:$ECFB PRG:2CFB 70 ED jsr $ED51 ; CPU:$ECFD PRG:2CFD 20 51 ED - bcs Label_ED08 ; CPU:$ED00 PRG:2D00 B0 06 + bcs SubCECF0_Block_3 ; 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: Label_ED08 +; Routine: SubCECF0_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12496,13 +12498,13 @@ Label_ECF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED08: +SubCECF0_Block_3: 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: Label_ED25 +; Routine: SubCED25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +12512,13 @@ Label_ED08: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED25: +SubCED25: 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: Label_ED2C +; Routine: SubCED25_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12524,13 +12526,13 @@ Label_ED25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED2C: +SubCED25_Block: lda $0358,y ; CPU:$ED2C PRG:2D2C B9 58 03 sta Zp00,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 Label_ED2C ; CPU:$ED35 PRG:2D35 D0 F5 + bne SubCED25_Block ; 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 @@ -12540,10 +12542,10 @@ Label_ED2C: ldy #$00 ; CPU:$ED43 PRG:2D43 A0 00 pla ; CPU:$ED45 PRG:2D45 68 tax ; CPU:$ED46 PRG:2D46 AA - beq Label_ED4B ; CPU:$ED47 PRG:2D47 F0 02 + beq SubCED25_Block_2 ; CPU:$ED47 PRG:2D47 F0 02 ldy #$20 ; CPU:$ED49 PRG:2D49 A0 20 ; ----------------------------------------------------------------------------- -; Routine: Label_ED4B +; Routine: SubCED25_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +12553,12 @@ Label_ED2C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED4B: +SubCED25_Block_2: 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: Label_ED51 +; Routine: SubCED51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12564,7 +12566,7 @@ Label_ED4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED51: +SubCED51: 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 @@ -12574,7 +12576,7 @@ Label_ED51: cmp #$30 ; CPU:$ED60 PRG:2D60 C9 30 rts ; CPU:$ED62 PRG:2D62 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED63 +; Routine: SubCED63 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +12584,7 @@ Label_ED51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED63: +SubCED63: txa ; CPU:$ED63 PRG:2D63 8A asl a ; CPU:$ED64 PRG:2D64 0A asl a ; CPU:$ED65 PRG:2D65 0A @@ -12596,7 +12598,7 @@ Label_ED63: .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: Label_EDBF +; Routine: SubCEDBF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12604,7 +12606,7 @@ Label_ED63: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDBF: +SubCEDBF: pha ; CPU:$EDBF PRG:2DBF 48 and #$80 ; CPU:$EDC0 PRG:2DC0 29 80 lsr a ; CPU:$EDC2 PRG:2DC2 4A @@ -12621,7 +12623,7 @@ Label_EDBF: ; ---- data $EDD0-$EDD4 (5 bytes) ---- .byte $A5, $5A, $2C, $A5, $5B ; CPU:$EDD0 PRG:2DD0 A5 5A 2C A5 5B ; ----------------------------------------------------------------------------- -; 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. @@ -12629,7 +12631,7 @@ Label_EDBF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDD5: +SubCEDD5: sta Zp00 ; CPU:$EDD5 PRG:2DD5 85 00 lda Zp90 ; CPU:$EDD7 PRG:2DD7 A5 90 sec ; CPU:$EDD9 PRG:2DD9 38 @@ -12637,7 +12639,7 @@ Label_EDD5: tay ; CPU:$EDDC PRG:2DDC A8 lda #$08 ; CPU:$EDDD PRG:2DDD A9 08 ; ----------------------------------------------------------------------------- -; Routine: Label_EDDF +; Routine: SubCEDD5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +12647,11 @@ Label_EDD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDDF: +SubCEDD5_Block: clc ; CPU:$EDDF PRG:2DDF 18 adc #$30 ; CPU:$EDE0 PRG:2DE0 69 30 dey ; CPU:$EDE2 PRG:2DE2 88 - bpl Label_EDDF ; CPU:$EDE3 PRG:2DE3 10 FA + bpl SubCEDD5_Block ; 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) @@ -12660,7 +12662,7 @@ Label_EDDF: .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: Label_EE0D +; Routine: SubCEE0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +12670,10 @@ Label_EDDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE0D: +SubCEE0D: ldx #$07 ; CPU:$EE0D PRG:2E0D A2 07 ; ----------------------------------------------------------------------------- -; Routine: Label_EE0F +; Routine: SubCEE4A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +12681,19 @@ Label_EE0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE0F: +SubCEE4A_Block: cpx #$00 ; CPU:$EE0F PRG:2E0F E0 00 - beq Label_EE54 ; CPU:$EE11 PRG:2E11 F0 41 + beq SubCEE0D_Block_3 ; CPU:$EE11 PRG:2E11 F0 41 lda $03E8,x ; CPU:$EE13 PRG:2E13 BD E8 03 - bmi Label_EE54 ; CPU:$EE16 PRG:2E16 30 3C + bmi SubCEE0D_Block_3 ; CPU:$EE16 PRG:2E16 30 3C lda Zp91,x ; CPU:$EE18 PRG:2E18 B5 91 - beq Label_EE54 ; CPU:$EE1A PRG:2E1A F0 38 - bpl Label_EE58 ; CPU:$EE1C PRG:2E1C 10 3A + beq SubCEE0D_Block_3 ; CPU:$EE1A PRG:2E1A F0 38 + bpl SubCEE0D_Block_4 ; CPU:$EE1C PRG:2E1C 10 3A jsr $EF70 ; CPU:$EE1E PRG:2E1E 20 70 EF - bcc Label_EE26 ; CPU:$EE21 PRG:2E21 90 03 + bcc SubCEE0D_Block_5 ; CPU:$EE21 PRG:2E21 90 03 jsr $EF7B ; CPU:$EE23 PRG:2E23 20 7B EF ; ----------------------------------------------------------------------------- -; Routine: Label_EE26 +; Routine: SubCEE0D_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12699,14 +12701,14 @@ Label_EE0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE26: +SubCEE0D_Block_5: jsr $EF56 ; CPU:$EE26 PRG:2E26 20 56 EF cpx #$01 ; CPU:$EE29 PRG:2E29 E0 01 - bne Label_EE31 ; CPU:$EE2B PRG:2E2B D0 04 + bne SubCEE0D_Block_6 ; CPU:$EE2B PRG:2E2B D0 04 lda Zp3D ; CPU:$EE2D PRG:2E2D A5 3D - beq Label_EE38 ; CPU:$EE2F PRG:2E2F F0 07 + beq SubCEE0D_Block_8 ; CPU:$EE2F PRG:2E2F F0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_EE31 +; Routine: SubCEE0D_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,12 +12716,12 @@ Label_EE26: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE31: +SubCEE0D_Block_6: lda Zp9C,x ; CPU:$EE31 PRG:2E31 B5 9C - bne Label_EE38 ; CPU:$EE33 PRG:2E33 D0 03 + bne SubCEE0D_Block_8 ; CPU:$EE33 PRG:2E33 D0 03 jmp $EEBD ; CPU:$EE35 PRG:2E35 4C BD EE ; ----------------------------------------------------------------------------- -; Routine: Label_EE38 +; Routine: SubCEE0D_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12727,14 +12729,14 @@ Label_EE31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE38: +SubCEE0D_Block_8: jsr $EF8E ; CPU:$EE38 PRG:2E38 20 8E EF cmp #$FF ; CPU:$EE3B PRG:2E3B C9 FF - bne Label_EE44 ; CPU:$EE3D PRG:2E3D D0 05 + bne SubCEE0D_Block_9 ; 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: Label_EE44 +; Routine: SubCEE0D_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +12744,11 @@ Label_EE38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE44: +SubCEE0D_Block_9: jsr $EF8E ; CPU:$EE44 PRG:2E44 20 8E EF sta $03DD,x ; CPU:$EE47 PRG:2E47 9D DD 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EE4A +; Routine: SubCEE4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12754,14 +12756,14 @@ Label_EE44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE4A: +SubCEE4A: 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: Label_EE54 +; Routine: SubCEE0D_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12769,12 +12771,12 @@ Label_EE4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE54: +SubCEE0D_Block_3: dex ; CPU:$EE54 PRG:2E54 CA - bpl Label_EE0F ; CPU:$EE55 PRG:2E55 10 B8 + bpl SubCEE4A_Block ; CPU:$EE55 PRG:2E55 10 B8 rts ; CPU:$EE57 PRG:2E57 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE58 +; Routine: SubCEE0D_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12782,28 +12784,28 @@ Label_EE54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE58: +SubCEE0D_Block_4: cpx #$01 ; CPU:$EE58 PRG:2E58 E0 01 - beq Label_EEA7 ; CPU:$EE5A PRG:2E5A F0 4B + beq SubCEE4A_Block_2 ; CPU:$EE5A PRG:2E5A F0 4B cmp #$01 ; CPU:$EE5C PRG:2E5C C9 01 - bne Label_EEC5 ; CPU:$EE5E PRG:2E5E D0 65 + bne SubCEE4A_Block_3 ; CPU:$EE5E PRG:2E5E D0 65 cpx #$05 ; CPU:$EE60 PRG:2E60 E0 05 - bcs Label_EEAA ; CPU:$EE62 PRG:2E62 B0 46 + bcs SubCEE4A_Block_4 ; 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 Label_EE82 ; CPU:$EE71 PRG:2E71 D0 0F + bne SubCEE4A_Block_6 ; 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 Label_EE82 ; CPU:$EE7C PRG:2E7C D0 04 + bne SubCEE4A_Block_6 ; CPU:$EE7C PRG:2E7C D0 04 tya ; CPU:$EE7E PRG:2E7E 98 sta $03B1,x ; CPU:$EE7F PRG:2E7F 9D B1 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EE82 +; Routine: SubCEE4A_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12811,13 +12813,13 @@ Label_EE58: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE82: +SubCEE4A_Block_6: jsr $EF70 ; CPU:$EE82 PRG:2E82 20 70 EF - bcc Label_EE8D ; CPU:$EE85 PRG:2E85 90 06 + bcc SubCEE4A_Block_7 ; 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: Label_EE8D +; Routine: SubCEE4A_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12825,16 +12827,16 @@ Label_EE82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE8D: +SubCEE4A_Block_7: lda Zp9C,x ; CPU:$EE8D PRG:2E8D B5 9C - beq Label_EEBD ; CPU:$EE8F PRG:2E8F F0 2C + beq SubCEEBD ; CPU:$EE8F PRG:2E8F F0 2C jsr $EF42 ; CPU:$EE91 PRG:2E91 20 42 EF - bpl Label_EE9D ; CPU:$EE94 PRG:2E94 10 07 + bpl SubCEE9D ; 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: 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. @@ -12842,11 +12844,11 @@ Label_EE8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE9D: +SubCEE9D: lda #$06 ; CPU:$EE9D PRG:2E9D A9 06 sta $03DD,x ; CPU:$EE9F PRG:2E9F 9D DD 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EEA2 +; Routine: SubCEEA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12854,11 +12856,11 @@ Label_EE9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEA2: +SubCEEA2: jsr $EF6A ; CPU:$EEA2 PRG:2EA2 20 6A EF - bne Label_EE4A ; CPU:$EEA5 PRG:2EA5 D0 A3 + bne SubCEE4A ; CPU:$EEA5 PRG:2EA5 D0 A3 ; ----------------------------------------------------------------------------- -; Routine: Label_EEA7 +; Routine: SubCEE4A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12866,10 +12868,10 @@ Label_EEA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEA7: +SubCEE4A_Block_2: jmp $EF06 ; CPU:$EEA7 PRG:2EA7 4C 06 EF ; ----------------------------------------------------------------------------- -; Routine: Label_EEAA +; Routine: SubCEE4A_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,16 +12879,16 @@ Label_EEA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEAA: +SubCEE4A_Block_4: 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 Label_EEC2 ; CPU:$EEBB PRG:2EBB 10 05 + bpl SubCEF06_Block_2 ; CPU:$EEBB PRG:2EBB 10 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EEBD +; Routine: SubCEEBD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12894,11 +12896,11 @@ Label_EEAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEBD: +SubCEEBD: lda #$80 ; CPU:$EEBD PRG:2EBD A9 80 sta $03E8,x ; CPU:$EEBF PRG:2EBF 9D E8 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EEC2 +; Routine: SubCEF06_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12906,10 +12908,10 @@ Label_EEBD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEC2: +SubCEF06_Block_2: jmp $EE4A ; CPU:$EEC2 PRG:2EC2 4C 4A EE ; ----------------------------------------------------------------------------- -; Routine: Label_EEC5 +; Routine: SubCEE4A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12917,12 +12919,12 @@ Label_EEC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEC5: +SubCEE4A_Block_3: cmp #$02 ; CPU:$EEC5 PRG:2EC5 C9 02 - bne Label_EEC2 ; CPU:$EEC7 PRG:2EC7 D0 F9 + bne SubCEF06_Block_2 ; 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 Label_EF03 ; CPU:$EECE PRG:2ECE 90 33 + bcc SubCEEBD_Block_4 ; 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 @@ -12932,14 +12934,14 @@ Label_EEC5: 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 Label_EF03 ; CPU:$EEE2 PRG:2EE2 B0 1F + bcs SubCEEBD_Block_4 ; 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 Label_EEBD ; CPU:$EEEA PRG:2EEA B0 D1 + bcs SubCEEBD ; 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 Label_EF03 ; CPU:$EEF1 PRG:2EF1 30 10 + bmi SubCEEBD_Block_4 ; 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 @@ -12948,7 +12950,7 @@ Label_EEC5: sta $03D2,x ; CPU:$EEFD PRG:2EFD 9D D2 03 jsr $EF6A ; CPU:$EF00 PRG:2F00 20 6A EF ; ----------------------------------------------------------------------------- -; Routine: Label_EF03 +; Routine: SubCEEBD_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12956,10 +12958,10 @@ Label_EEC5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF03: +SubCEEBD_Block_4: jmp $EE9D ; CPU:$EF03 PRG:2F03 4C 9D EE ; ----------------------------------------------------------------------------- -; Routine: Label_EF06 +; Routine: SubCEF06 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12967,17 +12969,17 @@ Label_EF03: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF06: +SubCEF06: cmp #$04 ; CPU:$EF06 PRG:2F06 C9 04 - beq Label_EEC2 ; CPU:$EF08 PRG:2F08 F0 B8 + beq SubCEF06_Block_2 ; CPU:$EF08 PRG:2F08 F0 B8 cmp #$05 ; CPU:$EF0A PRG:2F0A C9 05 - bne Label_EEC2 ; CPU:$EF0C PRG:2F0C D0 B4 + bne SubCEF06_Block_2 ; CPU:$EF0C PRG:2F0C D0 B4 jsr $EF70 ; CPU:$EF0E PRG:2F0E 20 70 EF - bcc Label_EF19 ; CPU:$EF11 PRG:2F11 90 06 + bcc SubCEF06_Block_3 ; 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: Label_EF19 +; Routine: SubCEF06_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +12987,11 @@ Label_EF06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF19: +SubCEF06_Block_3: lda Zp9C,x ; CPU:$EF19 PRG:2F19 B5 9C - beq Label_EEBD ; CPU:$EF1B PRG:2F1B F0 A0 + beq SubCEEBD ; CPU:$EF1B PRG:2F1B F0 A0 jsr $EF83 ; CPU:$EF1D PRG:2F1D 20 83 EF - bcc Label_EF3A ; CPU:$EF20 PRG:2F20 90 18 + bcc SubCEF06_Block_5 ; 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 @@ -12998,11 +13000,11 @@ Label_EF19: 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 Label_EF3A ; CPU:$EF33 PRG:2F33 D0 05 + bne SubCEF06_Block_5 ; 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: Label_EF3A +; Routine: SubCEF06_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13010,12 +13012,12 @@ Label_EF19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF3A: +SubCEF06_Block_5: 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: Label_EF42 +; Routine: SubCEF42 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13023,12 +13025,12 @@ Label_EF3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF42: +SubCEF42: lda Zp9C,x ; CPU:$EF42 PRG:2F42 B5 9C clc ; CPU:$EF44 PRG:2F44 18 adc #$08 ; CPU:$EF45 PRG:2F45 69 08 ; ----------------------------------------------------------------------------- -; Routine: Label_EF47 +; Routine: SubCEF47 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13036,12 +13038,12 @@ Label_EF42: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF47: +SubCEF47: 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: Label_EF4E +; Routine: SubCEF4E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13049,13 +13051,13 @@ Label_EF47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF4E: +SubCEF4E: 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: Label_EF56 +; Routine: SubCEF56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13063,14 +13065,14 @@ Label_EF4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF56: +SubCEF56: lda $03D2,x ; CPU:$EF56 PRG:2F56 BD D2 03 cmp #$FF ; CPU:$EF59 PRG:2F59 C9 FF - bne Label_EF62 ; CPU:$EF5B PRG:2F5B D0 05 + bne SubCEF56_Block ; CPU:$EF5B PRG:2F5B D0 05 inc $03D2,x ; CPU:$EF5D PRG:2F5D FE D2 03 - beq Label_EF6A ; CPU:$EF60 PRG:2F60 F0 08 + beq SubCEF6A ; CPU:$EF60 PRG:2F60 F0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_EF62 +; Routine: SubCEF56_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13078,12 +13080,12 @@ Label_EF56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF62: +SubCEF56_Block: jsr $EF83 ; CPU:$EF62 PRG:2F62 20 83 EF - bcc Label_EF6F ; CPU:$EF65 PRG:2F65 90 08 + bcc SubCEF56_Block_2 ; CPU:$EF65 PRG:2F65 90 08 inc $03B1,x ; CPU:$EF67 PRG:2F67 FE B1 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EF6A +; Routine: SubCEF6A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13091,11 +13093,11 @@ Label_EF62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF6A: +SubCEF6A: lda #$40 ; CPU:$EF6A PRG:2F6A A9 40 sta $03E8,x ; CPU:$EF6C PRG:2F6C 9D E8 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EF6F +; Routine: SubCEF56_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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 +13105,10 @@ Label_EF6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF6F: +SubCEF56_Block_2: rts ; CPU:$EF6F PRG:2F6F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF70 +; Routine: SubCEF70 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +13116,14 @@ Label_EF6F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF70: +SubCEF70: 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: Label_EF7B +; Routine: SubCEF7B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13129,10 +13131,10 @@ Label_EF70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF7B: +SubCEF7B: lda ZpBD,x ; CPU:$EF7B PRG:2F7B B5 BD ; ----------------------------------------------------------------------------- -; Routine: Label_EF7D +; Routine: SubCEF7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13140,13 +13142,13 @@ Label_EF7B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF7D: +SubCEF7D: 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: Label_EF83 +; Routine: SubCEF83 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,14 +13156,14 @@ Label_EF7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF83: +SubCEF83: 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: Label_EF8E +; Routine: SubCEF8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13169,7 +13171,7 @@ Label_EF83: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF8E: +SubCEF8E: 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 @@ -13177,7 +13179,7 @@ Label_EF8E: lda $EDF1,y ; CPU:$EF96 PRG:2F96 B9 F1 ED rts ; CPU:$EF99 PRG:2F99 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF9A +; Routine: SubCEF9A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,17 +13187,17 @@ Label_EF8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF9A: +SubCEF9A: ldy ZpDC ; CPU:$EF9A PRG:2F9A A4 DC dey ; CPU:$EF9C PRG:2F9C 88 dey ; CPU:$EF9D PRG:2F9D 88 - bmi Label_EFB7 ; CPU:$EF9E PRG:2F9E 30 17 - bne Label_EFA8 ; CPU:$EFA0 PRG:2FA0 D0 06 + bmi SubCEF9A_Block ; CPU:$EF9E PRG:2F9E 30 17 + bne SubCEF9A_Block_2 ; 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: Label_EFA8 +; Routine: SubCEF9A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13203,16 +13205,16 @@ Label_EF9A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFA8: +SubCEF9A_Block_2: 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 Label_EFB6 ; CPU:$EFAE PRG:2FAE D0 06 + bne SubCEF9A_Block_3 ; 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: Label_EFB6 +; Routine: SubCEF9A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +13222,10 @@ Label_EFA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFB6: +SubCEF9A_Block_3: rts ; CPU:$EFB6 PRG:2FB6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFB7 +; Routine: SubCEF9A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13231,19 +13233,19 @@ Label_EFB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFB7: +SubCEF9A_Block: ldx #$01 ; CPU:$EFB7 PRG:2FB7 A2 01 lda Zp91,x ; CPU:$EFB9 PRG:2FB9 B5 91 - beq Label_EFE1 ; CPU:$EFBB PRG:2FBB F0 24 + beq SubCEF9A_Block_6 ; 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 Label_EFCB ; CPU:$EFC4 PRG:2FC4 90 05 + bcc SubCEF9A_Block_5 ; 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: Label_EFCB +; Routine: SubCEF9A_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13251,13 +13253,13 @@ Label_EFB7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFCB: +SubCEF9A_Block_5: lda Zp9C,x ; CPU:$EFCB PRG:2FCB B5 9C ldy ZpBD,x ; CPU:$EFCD PRG:2FCD B4 BD - bmi Label_EFD3 ; CPU:$EFCF PRG:2FCF 30 02 + bmi UpdateMusicChannel19 ; CPU:$EFCF PRG:2FCF 30 02 adc #$08 ; CPU:$EFD1 PRG:2FD1 69 08 ; ----------------------------------------------------------------------------- -; Routine: Label_EFD3 +; Routine: UpdateMusicChannel19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13265,14 +13267,14 @@ Label_EFCB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFD3: +UpdateMusicChannel19: jsr $EF47 ; CPU:$EFD3 PRG:2FD3 20 47 EF - bpl Label_EFE1 ; CPU:$EFD6 PRG:2FD6 10 09 + bpl SubCEF9A_Block_6 ; CPU:$EFD6 PRG:2FD6 10 09 lda ZpDC ; CPU:$EFD8 PRG:2FD8 A5 DC - bne Label_EFDF ; CPU:$EFDA PRG:2FDA D0 03 + bne SubCEF9A_Block_7 ; CPU:$EFDA PRG:2FDA D0 03 jsr $EF4E ; CPU:$EFDC PRG:2FDC 20 4E EF ; ----------------------------------------------------------------------------- -; Routine: Label_EFDF +; Routine: SubCEF9A_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13280,10 +13282,10 @@ Label_EFD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFDF: +SubCEF9A_Block_7: inc ZpDC ; CPU:$EFDF PRG:2FDF E6 DC ; ----------------------------------------------------------------------------- -; Routine: Label_EFE1 +; Routine: SubCEF9A_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13291,13 +13293,13 @@ Label_EFDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFE1: +SubCEF9A_Block_6: 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: Label_EFEC +; Routine: SubCEFEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13305,12 +13307,12 @@ Label_EFE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFEC: +SubCEFEC: 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: Label_EFF3 +; Routine: SubCEFF3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13318,15 +13320,15 @@ Label_EFEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFF3: +SubCEFF3: lda Zp91,x ; CPU:$EFF3 PRG:2FF3 B5 91 - beq Label_F03B ; CPU:$EFF5 PRG:2FF5 F0 44 - bpl Label_F014 ; CPU:$EFF7 PRG:2FF7 10 1B + beq SubCEFF3_Block ; CPU:$EFF5 PRG:2FF5 F0 44 + bpl SubCEFF3_Block_6 ; CPU:$EFF7 PRG:2FF7 10 1B jsr $EF42 ; CPU:$EFF9 PRG:2FF9 20 42 EF - bpl Label_F014 ; CPU:$EFFC PRG:2FFC 10 16 + bpl SubCEFF3_Block_6 ; 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 Label_F015 ; CPU:$F003 PRG:3003 D0 10 + bne SubCEFF3_Block_4 ; 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 @@ -13335,7 +13337,7 @@ Label_EFF3: sta $03D2,x ; CPU:$F00E PRG:300E 9D D2 03 sta $0382,x ; CPU:$F011 PRG:3011 9D 82 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F014 +; Routine: SubCEFF3_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13343,10 +13345,10 @@ Label_EFF3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F014: +SubCEFF3_Block_6: rts ; CPU:$F014 PRG:3014 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F015 +; Routine: SubCEFF3_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +13356,7 @@ Label_F014: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F015: +SubCEFF3_Block_4: 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 @@ -13369,7 +13371,7 @@ Label_F015: ; 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: Label_F03B +; Routine: SubCEFF3_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13377,12 +13379,12 @@ Label_F015: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F03B: +SubCEFF3_Block: lda $0382,x ; CPU:$F03B PRG:303B BD 82 03 - beq Label_F043 ; CPU:$F03E PRG:303E F0 03 + beq SubCEFF3_Block_5 ; CPU:$F03E PRG:303E F0 03 jmp $F0C9 ; CPU:$F040 PRG:3040 4C C9 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_F043 +; Routine: SubCEFF3_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13390,15 +13392,15 @@ Label_F03B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F043: +SubCEFF3_Block_5: lda Zp48,x ; CPU:$F043 PRG:3043 B5 48 - bne Label_F014 ; CPU:$F045 PRG:3045 D0 CD + bne SubCEFF3_Block_6 ; CPU:$F045 PRG:3045 D0 CD lda Zp16,x ; CPU:$F047 PRG:3047 B5 16 and #$01 ; CPU:$F049 PRG:3049 29 01 - bne Label_F04F ; CPU:$F04B PRG:304B D0 02 + bne SubCEFF3_Block_7 ; CPU:$F04B PRG:304B D0 02 lda #$FF ; CPU:$F04D PRG:304D A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_F04F +; Routine: SubCEFF3_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13406,7 +13408,7 @@ Label_F043: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F04F: +SubCEFF3_Block_7: sta ZpBD,x ; CPU:$F04F PRG:304F 95 BD sta Zp9C,x ; CPU:$F051 PRG:3051 95 9C txa ; CPU:$F053 PRG:3053 8A @@ -13422,15 +13424,15 @@ Label_F04F: 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 Label_F075 ; CPU:$F068 PRG:3068 D0 0B + bne SubCF075 ; CPU:$F068 PRG:3068 D0 0B cmp #$07 ; CPU:$F06A PRG:306A C9 07 - bne Label_F075 ; CPU:$F06C PRG:306C D0 07 + bne SubCF075 ; 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: Label_F075 +; Routine: SubCF075 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13438,13 +13440,13 @@ Label_F04F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F075: +SubCF075: cmp $0786 ; CPU:$F075 PRG:3075 CD 86 07 - beq Label_F07F ; CPU:$F078 PRG:3078 F0 05 + beq SubCF075_Block ; CPU:$F078 PRG:3078 F0 05 cmp $0787 ; CPU:$F07A PRG:307A CD 87 07 - bne Label_F092 ; CPU:$F07D PRG:307D D0 13 + bne SubCF075_Block_5 ; CPU:$F07D PRG:307D D0 13 ; ----------------------------------------------------------------------------- -; Routine: Label_F07F +; Routine: SubCF075_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13452,18 +13454,18 @@ Label_F075: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F07F: +SubCF075_Block: clc ; CPU:$F07F PRG:307F 18 adc #$01 ; CPU:$F080 PRG:3080 69 01 cmp $0786 ; CPU:$F082 PRG:3082 CD 86 07 - beq Label_F0C8 ; CPU:$F085 PRG:3085 F0 41 + beq SubCF075_Block_8 ; CPU:$F085 PRG:3085 F0 41 cmp $0787 ; CPU:$F087 PRG:3087 CD 87 07 - beq Label_F0C8 ; CPU:$F08A PRG:308A F0 3C + beq SubCF075_Block_8 ; CPU:$F08A PRG:308A F0 3C cmp Zp90 ; CPU:$F08C PRG:308C C5 90 - beq Label_F092 ; CPU:$F08E PRG:308E F0 02 - bcs Label_F0C8 ; CPU:$F090 PRG:3090 B0 36 + beq SubCF075_Block_5 ; CPU:$F08E PRG:308E F0 02 + bcs SubCF075_Block_8 ; CPU:$F090 PRG:3090 B0 36 ; ----------------------------------------------------------------------------- -; Routine: Label_F092 +; Routine: SubCF075_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13471,15 +13473,15 @@ Label_F07F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F092: +SubCF075_Block_5: cmp #$09 ; CPU:$F092 PRG:3092 C9 09 - bcs Label_F0C8 ; CPU:$F094 PRG:3094 B0 32 + bcs SubCF075_Block_8 ; CPU:$F094 PRG:3094 B0 32 sta Zp00 ; 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 Label_F0C8 ; CPU:$F09F PRG:309F B0 27 + bcs SubCF075_Block_8 ; CPU:$F09F PRG:309F B0 27 lda Zp00 ; CPU:$F0A1 PRG:30A1 A5 00 sta ZpB2,x ; CPU:$F0A3 PRG:30A3 95 B2 lda #$FF ; CPU:$F0A5 PRG:30A5 A9 FF @@ -13498,7 +13500,7 @@ Label_F092: lda $EFE0,x ; CPU:$F0C3 PRG:30C3 BD E0 EF sta Zp48,x ; CPU:$F0C6 PRG:30C6 95 48 ; ----------------------------------------------------------------------------- -; Routine: Label_F0C8 +; Routine: SubCF075_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13506,10 +13508,10 @@ Label_F092: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0C8: +SubCF075_Block_8: rts ; CPU:$F0C8 PRG:30C8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F0C9 +; Routine: SubCF0C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +13519,7 @@ Label_F0C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0C9: +SubCF0C9: 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 @@ -13528,7 +13530,7 @@ Label_F0C9: txa ; CPU:$F0DA PRG:30DA 8A pha ; CPU:$F0DB PRG:30DB 48 ; ----------------------------------------------------------------------------- -; Routine: Label_F0DC +; Routine: SubCF0C9_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13536,7 +13538,7 @@ Label_F0C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0DC: +SubCF0C9_Block: 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 @@ -13546,15 +13548,15 @@ Label_F0DC: adc #$0B ; CPU:$F0E8 PRG:30E8 69 0B tax ; CPU:$F0EA PRG:30EA AA cpx #$37 ; CPU:$F0EB PRG:30EB E0 37 - bcc Label_F0DC ; CPU:$F0ED PRG:30ED 90 ED + bcc SubCF0C9_Block ; 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 Label_F0F9 ; CPU:$F0F5 PRG:30F5 10 02 + bpl SubCF0C9_Block_2 ; CPU:$F0F5 PRG:30F5 10 02 lda #$FA ; CPU:$F0F7 PRG:30F7 A9 FA ; ----------------------------------------------------------------------------- -; Routine: Label_F0F9 +; Routine: SubCF0C9_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13562,7 +13564,7 @@ Label_F0DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0F9: +SubCF0C9_Block_2: clc ; CPU:$F0F9 PRG:30F9 18 adc Zp9C,x ; CPU:$F0FA PRG:30FA 75 9C sta Zp9F,x ; CPU:$F0FC PRG:30FC 95 9F @@ -13573,7 +13575,7 @@ Label_F0F9: ; ---- data $F107-$F10A (4 bytes) ---- .byte $10, $0E, $0C, $0C ; CPU:$F107 PRG:3107 10 0E 0C 0C ; ----------------------------------------------------------------------------- -; Routine: Label_F10B +; Routine: SubCF10B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13581,18 +13583,18 @@ Label_F0F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F10B: +SubCF10B: 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 Label_F11C ; CPU:$F111 PRG:3111 B0 09 + bcs SubCF10B_Block_5 ; CPU:$F111 PRG:3111 B0 09 ldx Zp56 ; CPU:$F113 PRG:3113 A6 56 - beq Label_F13A ; CPU:$F115 PRG:3115 F0 23 + beq SubCF10B_Block_2 ; CPU:$F115 PRG:3115 F0 23 dex ; CPU:$F117 PRG:3117 CA - beq Label_F11C ; CPU:$F118 PRG:3118 F0 02 + beq SubCF10B_Block_5 ; CPU:$F118 PRG:3118 F0 02 ldx #$01 ; CPU:$F11A PRG:311A A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F11C +; Routine: SubCF10B_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13600,7 +13602,7 @@ Label_F10B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F11C: +SubCF10B_Block_5: txa ; CPU:$F11C PRG:311C 8A clc ; CPU:$F11D PRG:311D 18 adc #$18 ; CPU:$F11E PRG:311E 69 18 @@ -13611,12 +13613,12 @@ Label_F11C: 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 Label_F137 ; CPU:$F12F PRG:312F F0 06 + beq SubCF10B_Block_4 ; 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: Label_F137 +; Routine: SubCF10B_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13624,11 +13626,11 @@ Label_F11C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F137: +SubCF10B_Block_4: dex ; CPU:$F137 PRG:3137 CA - bpl Label_F11C ; CPU:$F138 PRG:3138 10 E2 + bpl SubCF10B_Block_5 ; CPU:$F138 PRG:3138 10 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_F13A +; Routine: SubCF10B_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13636,10 +13638,10 @@ Label_F137: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F13A: +SubCF10B_Block_2: rts ; CPU:$F13A PRG:313A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F13B +; Routine: SubCF13B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13647,7 +13649,7 @@ Label_F13A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F13B: +SubCF13B: 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 @@ -13662,7 +13664,7 @@ Label_F13B: .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: Label_F19E +; Routine: SubCF19E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13670,7 +13672,7 @@ Label_F13B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F19E: +SubCF19E: jsr $F7AB ; CPU:$F19E PRG:319E 20 AB F7 asl a ; CPU:$F1A1 PRG:31A1 0A asl a ; CPU:$F1A2 PRG:31A2 0A @@ -13707,7 +13709,7 @@ Label_F19E: .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: Label_F2EC +; Routine: SubCF2EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13715,22 +13717,22 @@ Label_F19E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2EC: +SubCF2EC: lda Zp52 ; CPU:$F2EC PRG:32EC A5 52 ora $0300 ; CPU:$F2EE PRG:32EE 0D 00 03 - bne Label_F35A ; CPU:$F2F1 PRG:32F1 D0 67 + bne SubCF2EC_Block_10 ; CPU:$F2F1 PRG:32F1 D0 67 lda Zp8D ; CPU:$F2F3 PRG:32F3 A5 8D tay ; CPU:$F2F5 PRG:32F5 A8 - beq Label_F35A ; CPU:$F2F6 PRG:32F6 F0 62 + beq SubCF2EC_Block_10 ; CPU:$F2F6 PRG:32F6 F0 62 cmp #$01 ; CPU:$F2F8 PRG:32F8 C9 01 - beq Label_F305 ; CPU:$F2FA PRG:32FA F0 09 + beq SubCF2EC_Block_3 ; CPU:$F2FA PRG:32FA F0 09 cmp #$3E ; CPU:$F2FC PRG:32FC C9 3E - bcc Label_F32E ; CPU:$F2FE PRG:32FE 90 2E + bcc SubCF2EC_Block_4 ; 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: Label_F305 +; Routine: SubCF2EC_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13738,11 +13740,11 @@ Label_F2EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F305: +SubCF2EC_Block_3: lda #$FF ; CPU:$F305 PRG:3305 A9 FF ldx #$77 ; CPU:$F307 PRG:3307 A2 77 ; ----------------------------------------------------------------------------- -; Routine: Label_F309 +; Routine: SubCF2EC_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13750,10 +13752,10 @@ Label_F305: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F309: +SubCF2EC_Block_5: sta $0668,x ; CPU:$F309 PRG:3309 9D 68 06 dex ; CPU:$F30C PRG:330C CA - bpl Label_F309 ; CPU:$F30D PRG:330D 10 FA + bpl SubCF2EC_Block_5 ; 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 @@ -13766,7 +13768,7 @@ Label_F309: lda #$00 ; CPU:$F324 PRG:3324 A9 00 sec ; CPU:$F326 PRG:3326 38 ; ----------------------------------------------------------------------------- -; Routine: Label_F327 +; Routine: SubCF2EC_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13774,13 +13776,13 @@ Label_F309: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F327: +SubCF2EC_Block_6: ror a ; CPU:$F327 PRG:3327 6A dex ; CPU:$F328 PRG:3328 CA - bpl Label_F327 ; CPU:$F329 PRG:3329 10 FC + bpl SubCF2EC_Block_6 ; CPU:$F329 PRG:3329 10 FC sta $0345 ; CPU:$F32B PRG:332B 8D 45 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F32E +; Routine: SubCF2EC_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13788,14 +13790,14 @@ Label_F327: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F32E: +SubCF2EC_Block_4: 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: Label_F33A +; Routine: SubCF2EC_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13803,14 +13805,14 @@ Label_F32E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F33A: +SubCF2EC_Block_8: cmp $F22F,x ; CPU:$F33A PRG:333A DD 2F F2 - beq Label_F343 ; CPU:$F33D PRG:333D F0 04 + beq SubCF2EC_Block_7 ; CPU:$F33D PRG:333D F0 04 dex ; CPU:$F33F PRG:333F CA - bpl Label_F33A ; CPU:$F340 PRG:3340 10 F8 + bpl SubCF2EC_Block_8 ; CPU:$F340 PRG:3340 10 F8 rts ; CPU:$F342 PRG:3342 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F343 +; Routine: SubCF2EC_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,13 +13820,13 @@ Label_F33A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F343: +SubCF2EC_Block_7: ldy #$15 ; CPU:$F343 PRG:3343 A0 15 txa ; CPU:$F345 PRG:3345 8A - beq Label_F34A ; CPU:$F346 PRG:3346 F0 02 + beq SubCF2EC_Block_9 ; CPU:$F346 PRG:3346 F0 02 ldy #$06 ; CPU:$F348 PRG:3348 A0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F34A +; Routine: SubCF2EC_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13832,11 +13834,11 @@ Label_F343: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F34A: +SubCF2EC_Block_9: lda $F25E,x ; CPU:$F34A PRG:334A BD 5E F2 tax ; CPU:$F34D PRG:334D AA ; ----------------------------------------------------------------------------- -; Routine: Label_F34E +; Routine: SubCF2EC_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13844,15 +13846,15 @@ Label_F34A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F34E: +SubCF2EC_Block_11: 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 Label_F35A ; CPU:$F355 PRG:3355 30 03 + bmi SubCF2EC_Block_10 ; CPU:$F355 PRG:3355 30 03 dey ; CPU:$F357 PRG:3357 88 - bne Label_F34E ; CPU:$F358 PRG:3358 D0 F4 + bne SubCF2EC_Block_11 ; CPU:$F358 PRG:3358 D0 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_F35A +; Routine: SubCF2EC_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13860,10 +13862,10 @@ Label_F34E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F35A: +SubCF2EC_Block_10: rts ; CPU:$F35A PRG:335A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F35B +; Routine: SubCF35B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13871,12 +13873,12 @@ Label_F35A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F35B: +SubCF35B: 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: Label_F362 +; Routine: SubCF35B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +13886,10 @@ Label_F35B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F362: +SubCF35B_Block: sta $0304,y ; CPU:$F362 PRG:3362 99 04 03 dey ; CPU:$F365 PRG:3365 88 - bpl Label_F362 ; CPU:$F366 PRG:3366 10 FA + bpl SubCF35B_Block ; 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 @@ -13900,12 +13902,12 @@ Label_F362: 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 Label_F3D1 ; CPU:$F387 PRG:3387 B0 48 + bcs SubCF35B_Block_2 ; 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: Label_F38D +; Routine: SubCF35B_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13913,14 +13915,14 @@ Label_F362: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F38D: +SubCF35B_Block_4: sec ; CPU:$F38D PRG:338D 38 sbc #$07 ; CPU:$F38E PRG:338E E9 07 - bcc Label_F395 ; CPU:$F390 PRG:3390 90 03 + bcc SubCF35B_Block_3 ; CPU:$F390 PRG:3390 90 03 iny ; CPU:$F392 PRG:3392 C8 - bcs Label_F38D ; CPU:$F393 PRG:3393 B0 F8 + bcs SubCF35B_Block_4 ; CPU:$F393 PRG:3393 B0 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_F395 +; Routine: SubCF35B_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13928,7 +13930,7 @@ Label_F38D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F395: +SubCF35B_Block_3: tya ; CPU:$F395 PRG:3395 98 sta Zp00 ; CPU:$F396 PRG:3396 85 00 eor #$FF ; CPU:$F398 PRG:3398 49 FF @@ -13937,7 +13939,7 @@ Label_F395: pha ; CPU:$F39D PRG:339D 48 tay ; CPU:$F39E PRG:339E A8 ; ----------------------------------------------------------------------------- -; Routine: Label_F39F +; Routine: SubCF35B_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13945,10 +13947,10 @@ Label_F395: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F39F: +SubCF35B_Block_6: ldx #$04 ; CPU:$F39F PRG:339F A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_F3A1 +; Routine: SubCF35B_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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_F39F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3A1: +SubCF35B_Block_5: rol Zp19,x ; CPU:$F3A1 PRG:33A1 36 19 dex ; CPU:$F3A3 PRG:33A3 CA - bpl Label_F3A1 ; CPU:$F3A4 PRG:33A4 10 FB + bpl SubCF35B_Block_5 ; 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 @@ -13967,13 +13969,13 @@ Label_F3A1: 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 Label_F39F ; CPU:$F3B4 PRG:33B4 D0 E9 + bne SubCF35B_Block_6 ; 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 ; ----------------------------------------------------------------------------- -; Routine: Label_F3BD +; Routine: SubCF3BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,15 +13983,15 @@ Label_F3A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3BD: +SubCF3BD: lda Zp8D ; CPU:$F3BD PRG:33BD A5 8D and #$01 ; CPU:$F3BF PRG:33BF 29 01 - bne Label_F3C6 ; CPU:$F3C1 PRG:33C1 D0 03 + bne SubCF3BD_Block ; 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: Label_F3C6 +; Routine: SubCF3BD_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13997,13 +13999,13 @@ Label_F3BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3C6: +SubCF3BD_Block: 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: Label_F3D1 +; Routine: SubCF35B_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14011,10 +14013,10 @@ Label_F3C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3D1: +SubCF35B_Block_2: rts ; CPU:$F3D1 PRG:33D1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F3D2 +; Routine: SubCF3D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14022,14 +14024,14 @@ Label_F3D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3D2: +SubCF3D2: 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 Label_F430 ; CPU:$F3DB PRG:33DB F0 53 + beq SubCF3D2_Block ; 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 Label_F436 ; CPU:$F3E2 PRG:33E2 D0 52 + bne SubCF3D2_Block_2 ; 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 @@ -14045,7 +14047,7 @@ Label_F3D2: stx Zp01 ; CPU:$F3F4 PRG:33F4 86 01 lda #$EB ; CPU:$F3F6 PRG:33F6 A9 EB ; ----------------------------------------------------------------------------- -; Routine: Label_F3F8 +; Routine: SubCF3D2_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14053,11 +14055,11 @@ Label_F3D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3F8: +SubCF3D2_Block_3: sta $0304,y ; CPU:$F3F8 PRG:33F8 99 04 03 iny ; CPU:$F3FB PRG:33FB C8 dex ; CPU:$F3FC PRG:33FC CA - bpl Label_F3F8 ; CPU:$F3FD PRG:33FD 10 F9 + bpl SubCF3D2_Block_3 ; CPU:$F3FD PRG:33FD 10 F9 ldy $0347 ; CPU:$F3FF PRG:33FF AC 47 03 lda Zp00 ; CPU:$F402 PRG:3402 A5 00 pha ; CPU:$F404 PRG:3404 48 @@ -14080,10 +14082,10 @@ Label_F3F8: 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 Label_F42A ; CPU:$F427 PRG:3427 90 01 + bcc SubCF3D2_Block_4 ; CPU:$F427 PRG:3427 90 01 rol a ; CPU:$F429 PRG:3429 2A ; ----------------------------------------------------------------------------- -; Routine: Label_F42A +; Routine: SubCF3D2_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14091,11 +14093,11 @@ Label_F3F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F42A: +SubCF3D2_Block_4: sta $06E0,y ; CPU:$F42A PRG:342A 99 E0 06 inc $0347 ; CPU:$F42D PRG:342D EE 47 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F430 +; Routine: SubCF3D2_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,11 +14105,11 @@ Label_F42A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F430: +SubCF3D2_Block: inc $0346 ; CPU:$F430 PRG:3430 EE 46 03 jmp $F3D2 ; CPU:$F433 PRG:3433 4C D2 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_F436 +; Routine: SubCF3D2_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14115,7 +14117,7 @@ Label_F430: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F436: +SubCF3D2_Block_2: lda $034A ; CPU:$F436 PRG:3436 AD 4A 03 sec ; CPU:$F439 PRG:3439 38 sbc #$08 ; CPU:$F43A PRG:343A E9 08 @@ -14128,14 +14130,14 @@ Label_F436: 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 Label_F45B ; CPU:$F452 PRG:3452 F0 07 + beq SubCF45B ; CPU:$F452 PRG:3452 F0 07 cmp #$27 ; CPU:$F454 PRG:3454 C9 27 - bne Label_F465 ; CPU:$F456 PRG:3456 D0 0D + bne SubCF3D2_Block_5 ; 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: Label_F45B +; Routine: SubCF45B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14143,13 +14145,13 @@ Label_F436: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F45B: +SubCF45B: 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: Label_F465 +; Routine: SubCF3D2_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +14159,7 @@ Label_F45B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F465: +SubCF3D2_Block_5: rts ; CPU:$F465 PRG:3465 60 ; ---- data $F466-$F503 (158 bytes) ---- ; referenced by `lda $F46C,y` at $F506 (operand $F46C falls inside this region) @@ -14172,7 +14174,7 @@ Label_F465: .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: Label_F504 +; Routine: SubCF504 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14180,18 +14182,18 @@ Label_F465: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F504: +SubCF504: 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 Label_F517 ; CPU:$F511 PRG:3511 D0 04 + bne SubCF45B_Block ; CPU:$F511 PRG:3511 D0 04 lda #$08 ; CPU:$F513 PRG:3513 A9 08 sta ZpFF ; CPU:$F515 PRG:3515 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_F517 +; Routine: SubCF45B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14199,7 +14201,7 @@ Label_F504: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F517: +SubCF45B_Block: lda #$00 ; CPU:$F517 PRG:3517 A9 00 sta ZpE0,x ; CPU:$F519 PRG:3519 95 E0 rts ; CPU:$F51B PRG:351B 60 @@ -14207,7 +14209,7 @@ Label_F517: ; 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: Label_F524 +; Routine: SubCF524 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14215,13 +14217,13 @@ Label_F517: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F524: +SubCF524: ldx Zp1E ; CPU:$F524 PRG:3524 A6 1E - beq Label_F537 ; CPU:$F526 PRG:3526 F0 0F + beq SubCF524_Block ; 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: Label_F52D +; Routine: SubCF524_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14229,14 +14231,14 @@ Label_F524: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F52D: +SubCF524_Block_2: 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 Label_F52D ; CPU:$F535 PRG:3535 10 F6 + bpl SubCF524_Block_2 ; CPU:$F535 PRG:3535 10 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_F537 +; Routine: SubCF524_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14244,7 +14246,7 @@ Label_F52D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F537: +SubCF524_Block: rts ; CPU:$F537 PRG:3537 60 ; ---- data $F538-$F563 (44 bytes) ---- ; referenced by `lda $F538,y` at $F566 (operand $F538 falls inside this region) @@ -14252,7 +14254,7 @@ Label_F537: .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: Label_F564 +; Routine: SubCF564 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14260,10 +14262,10 @@ Label_F537: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F564: +SubCF564: ldx #$02 ; CPU:$F564 PRG:3564 A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F566 +; Routine: SubCF564_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14271,12 +14273,12 @@ Label_F564: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F566: +SubCF564_Block: 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 Label_F566 ; CPU:$F56E PRG:356E 10 F6 + bpl SubCF564_Block ; 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 @@ -14290,7 +14292,7 @@ Label_F566: ; 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: Label_F586 +; Routine: SubCF586 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14298,9 +14300,9 @@ Label_F566: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F586: +SubCF586: ldx Zp1E ; CPU:$F586 PRG:3586 A6 1E - beq Label_F5C4 ; CPU:$F588 PRG:3588 F0 3A + beq SubCF586_Block ; 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 @@ -14315,10 +14317,10 @@ Label_F586: 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 Label_F5B1 ; CPU:$F5AD PRG:35AD D0 02 + bne SubCF586_Block_2 ; CPU:$F5AD PRG:35AD D0 02 ldy #$38 ; CPU:$F5AF PRG:35AF A0 38 ; ----------------------------------------------------------------------------- -; Routine: Label_F5B1 +; Routine: SubCF586_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14326,13 +14328,13 @@ Label_F586: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F5B1: +SubCF586_Block_2: 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: Label_F5BB +; Routine: SubCF586_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14340,13 +14342,13 @@ Label_F5B1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F5BB: +SubCF586_Block_3: sta $0306,x ; CPU:$F5BB PRG:35BB 9D 06 03 dex ; CPU:$F5BE PRG:35BE CA - bpl Label_F5BB ; CPU:$F5BF PRG:35BF 10 FA + bpl SubCF586_Block_3 ; CPU:$F5BF PRG:35BF 10 FA jsr $C14E ; CPU:$F5C1 PRG:35C1 20 4E C1 ; ----------------------------------------------------------------------------- -; Routine: Label_F5C4 +; Routine: SubCF586_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14354,7 +14356,7 @@ Label_F5BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F5C4: +SubCF586_Block: ldy #$05 ; CPU:$F5C4 PRG:35C4 A0 05 jmp $F564 ; CPU:$F5C6 PRG:35C6 4C 64 F5 ; ---- data $F5C9-$F62F (103 bytes) ---- @@ -14369,7 +14371,7 @@ Label_F5C4: .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: Label_F630 +; Routine: SubCF630 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +14379,7 @@ Label_F5C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F630: +SubCF630: lda ZpD5 ; CPU:$F630 PRG:3630 A5 D5 sta Zp0F ; CPU:$F632 PRG:3632 85 0F lda #$01 ; CPU:$F634 PRG:3634 A9 01 @@ -14387,7 +14389,7 @@ Label_F630: .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: Label_F64C +; Routine: SubCF64C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,7 +14397,7 @@ Label_F630: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F64C: +SubCF64C: stx Zp0F ; CPU:$F64C PRG:364C 86 0F txa ; CPU:$F64E PRG:364E 8A asl a ; CPU:$F64F PRG:364F 0A @@ -14408,7 +14410,7 @@ Label_F64C: lda #$03 ; CPU:$F65C PRG:365C A9 03 sta Zp00 ; CPU:$F65E PRG:365E 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F660 +; Routine: SubCF64C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14416,17 +14418,17 @@ Label_F64C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F660: +SubCF64C_Block: 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 Label_F660 ; CPU:$F66A PRG:366A D0 F4 + bne SubCF64C_Block ; CPU:$F66A PRG:366A D0 F4 ldx $0300 ; CPU:$F66C PRG:366C AE 00 03 ldy #$00 ; CPU:$F66F PRG:366F A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F671 +; Routine: SubCF64C_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,19 +14436,19 @@ Label_F660: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F671: +SubCF64C_Block_2: 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 Label_F671 ; CPU:$F67B PRG:367B D0 F4 + bne SubCF64C_Block_2 ; CPU:$F67B PRG:367B D0 F4 rts ; CPU:$F67D PRG:367D 60 ; ---- data $F67E-$F690 (19 bytes) ---- .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: Label_F691 +; Routine: SubCF691 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14454,7 +14456,7 @@ Label_F671: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F691: +SubCF691: tya ; CPU:$F691 PRG:3691 98 pha ; CPU:$F692 PRG:3692 48 lda $F5F9,x ; CPU:$F693 PRG:3693 BD F9 F5 @@ -14467,7 +14469,7 @@ Label_F691: tay ; CPU:$F6A2 PRG:36A2 A8 rts ; CPU:$F6A3 PRG:36A3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F6A4 +; Routine: SubCF6A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14475,20 +14477,20 @@ Label_F691: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F6A4: +SubCF6A4: lda Zp3B ; CPU:$F6A4 PRG:36A4 A5 3B - bne Label_F6DA ; CPU:$F6A6 PRG:36A6 D0 32 + bne SubCF6A4_Block ; 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 Label_F6DB ; CPU:$F6AE PRG:36AE F0 2B + beq SubCF6A4_Block_2 ; CPU:$F6AE PRG:36AE F0 2B lda #$02 ; CPU:$F6B0 PRG:36B0 A9 02 sta Zp01 ; CPU:$F6B2 PRG:36B2 85 01 lda #$01 ; CPU:$F6B4 PRG:36B4 A9 01 ldy $07FB ; CPU:$F6B6 PRG:36B6 AC FB 07 - beq Label_F6BD ; CPU:$F6B9 PRG:36B9 F0 02 + beq SubCF6A4_Block_3 ; CPU:$F6B9 PRG:36B9 F0 02 lda #$11 ; CPU:$F6BB PRG:36BB A9 11 ; ----------------------------------------------------------------------------- -; Routine: Label_F6BD +; Routine: SubCF6A4_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14496,7 +14498,7 @@ Label_F6A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F6BD: +SubCF6A4_Block_3: pha ; CPU:$F6BD PRG:36BD 48 jsr $C94B ; CPU:$F6BE PRG:36BE 20 4B C9 lda #$03 ; CPU:$F6C1 PRG:36C1 A9 03 @@ -14511,7 +14513,7 @@ Label_F6BD: lda #$06 ; CPU:$F6D6 PRG:36D6 A9 06 sta Zp3B ; CPU:$F6D8 PRG:36D8 85 3B ; ----------------------------------------------------------------------------- -; Routine: Label_F6DA +; Routine: SubCF6A4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14519,10 +14521,10 @@ Label_F6BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F6DA: +SubCF6A4_Block: rts ; CPU:$F6DA PRG:36DA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F6DB +; Routine: SubCF6A4_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14530,7 +14532,7 @@ Label_F6DA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F6DB: +SubCF6A4_Block_2: sta Zp1E ; CPU:$F6DB PRG:36DB 85 1E lda #$06 ; CPU:$F6DD PRG:36DD A9 06 sta Zp6A ; CPU:$F6DF PRG:36DF 85 6A @@ -14540,7 +14542,7 @@ Label_F6DB: sta ZpFB ; CPU:$F6E7 PRG:36E7 85 FB rts ; CPU:$F6E9 PRG:36E9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F6EA +; Routine: SubCF6EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,8 +14550,8 @@ Label_F6DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F6EA: - bpl Label_F72C ; CPU:$F6EA PRG:36EA 10 40 +SubCF6EA: + bpl SubCF71D_Block ; CPU:$F6EA PRG:36EA 10 40 tya ; CPU:$F6EC PRG:36EC 98 tya ; CPU:$F6ED PRG:36ED 98 rts ; CPU:$F6EE PRG:36EE 60 @@ -14558,7 +14560,7 @@ Label_F6EA: .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: Label_F71D +; Routine: SubCF71D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its 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,10 +14568,10 @@ Label_F6EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F71D: +SubCF71D: ldx #$03 ; CPU:$F71D PRG:371D A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F71F +; Routine: SubCF71D_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14577,16 +14579,16 @@ Label_F71D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F71F: +SubCF71D_Block_2: lda Zp94,x ; CPU:$F71F PRG:371F B5 94 cmp #$01 ; CPU:$F721 PRG:3721 C9 01 - bne Label_F72C ; CPU:$F723 PRG:3723 D0 07 + bne SubCF71D_Block ; 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: Label_F72C +; Routine: SubCF71D_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14594,16 +14596,16 @@ Label_F71F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F72C: +SubCF71D_Block: dex ; CPU:$F72C PRG:372C CA - bpl Label_F71F ; CPU:$F72D PRG:372D 10 F0 + bpl SubCF71D_Block_2 ; 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: Label_F737 +; Routine: SubCF737 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14611,21 +14613,21 @@ Label_F72C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F737: +SubCF737: 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 Label_F74F ; CPU:$F73D PRG:373D 90 10 + bcc SubCF737_Block_2 ; 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 Label_F74F ; CPU:$F749 PRG:3749 90 04 + bcc SubCF737_Block_2 ; CPU:$F749 PRG:3749 90 04 lda #$00 ; CPU:$F74B PRG:374B A9 00 sta ZpD4 ; CPU:$F74D PRG:374D 85 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_F74F +; Routine: SubCF737_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14633,7 +14635,7 @@ Label_F737: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F74F: +SubCF737_Block_2: 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 @@ -14645,14 +14647,14 @@ Label_F74F: 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 Label_F78A ; CPU:$F767 PRG:3767 D0 21 + bne SubCF78B_Block_3 ; 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 Label_F773 ; CPU:$F76F PRG:376F D0 02 + bne SubCF737_Block_7 ; CPU:$F76F PRG:376F D0 02 ldx #$51 ; CPU:$F771 PRG:3771 A2 51 ; ----------------------------------------------------------------------------- -; Routine: Label_F773 +; Routine: SubCF737_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14660,14 +14662,14 @@ Label_F74F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F773: +SubCF737_Block_7: lda ZpD5 ; CPU:$F773 PRG:3773 A5 D5 - bne Label_F77D ; CPU:$F775 PRG:3775 D0 06 + bne SubCF737_Block_5 ; CPU:$F775 PRG:3775 D0 06 txa ; CPU:$F777 PRG:3777 8A sta $0251,y ; CPU:$F778 PRG:3778 99 51 02 - bne Label_F783 ; CPU:$F77B PRG:377B D0 06 + bne SubCF737_Block_6 ; CPU:$F77B PRG:377B D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F77D +; Routine: SubCF737_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14675,11 +14677,11 @@ Label_F773: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F77D: +SubCF737_Block_5: lda $F733,x ; CPU:$F77D PRG:377D BD 33 F7 sta $0241,y ; CPU:$F780 PRG:3780 99 41 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F783 +; Routine: SubCF737_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14687,15 +14689,15 @@ Label_F77D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F783: +SubCF737_Block_6: 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 Label_F773 ; CPU:$F788 PRG:3788 10 E9 + bpl SubCF737_Block_7 ; CPU:$F788 PRG:3788 10 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_F78A +; Routine: SubCF78B_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14703,10 +14705,10 @@ Label_F783: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F78A: +SubCF78B_Block_3: rts ; CPU:$F78A PRG:378A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F78B +; Routine: SubCF78B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14714,13 +14716,13 @@ Label_F78A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F78B: +SubCF78B: lda #$FF ; CPU:$F78B PRG:378B A9 FF ldx ZpD5 ; CPU:$F78D PRG:378D A6 D5 - beq Label_F793 ; CPU:$F78F PRG:378F F0 02 + beq SubCF78B_Block ; CPU:$F78F PRG:378F F0 02 lda #$01 ; CPU:$F791 PRG:3791 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F793 +; Routine: SubCF78B_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14728,17 +14730,17 @@ Label_F78B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F793: +SubCF78B_Block: 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 Label_F7A2 ; CPU:$F79A PRG:379A D0 06 + bne SubCF78B_Block_2 ; 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: Label_F7A2 +; Routine: SubCF78B_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14746,13 +14748,13 @@ Label_F793: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F7A2: +SubCF78B_Block_2: lda Zp13 ; CPU:$F7A2 PRG:37A2 A5 13 ora Zp27 ; CPU:$F7A4 PRG:37A4 05 27 - bne Label_F78A ; CPU:$F7A6 PRG:37A6 D0 E2 + bne SubCF78B_Block_3 ; CPU:$F7A6 PRG:37A6 D0 E2 jmp $F737 ; CPU:$F7A8 PRG:37A8 4C 37 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_F7AB +; Routine: SubCF7AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14760,7 +14762,7 @@ Label_F7A2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F7AB: +SubCF7AB: lda Zp56 ; CPU:$F7AB PRG:37AB A5 56 and #$3C ; CPU:$F7AD PRG:37AD 29 3C eor #$3C ; CPU:$F7AF PRG:37AF 49 3C @@ -14782,7 +14784,7 @@ Label_F7AB: .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: Label_F80C +; Routine: SubCF80C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14790,7 +14792,7 @@ Label_F7AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F80C: +SubCF80C: lda Zp18 ; CPU:$F80C PRG:380C A5 18 and #$03 ; CPU:$F80E PRG:380E 29 03 tay ; CPU:$F810 PRG:3810 A8 @@ -14805,10 +14807,10 @@ Label_F80C: 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 Label_F82F ; CPU:$F82B PRG:382B 90 02 + bcc SubCF80C_Block ; CPU:$F82B PRG:382B 90 02 lda #$3D ; CPU:$F82D PRG:382D A9 3D ; ----------------------------------------------------------------------------- -; Routine: Label_F82F +; Routine: SubCF80C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14816,7 +14818,7 @@ Label_F80C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F82F: +SubCF80C_Block: asl a ; CPU:$F82F PRG:382F 0A asl a ; CPU:$F830 PRG:3830 0A clc ; CPU:$F831 PRG:3831 18 @@ -14824,7 +14826,7 @@ Label_F82F: sta $03A6 ; CPU:$F834 PRG:3834 8D A6 03 rts ; CPU:$F837 PRG:3837 60 ; ----------------------------------------------------------------------------- -; 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. @@ -14832,25 +14834,25 @@ Label_F82F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F838: +SubCF838: 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 Label_F877 ; CPU:$F83F PRG:383F F0 36 + beq SubCF838_Block ; CPU:$F83F PRG:383F F0 36 cmp #$20 ; CPU:$F841 PRG:3841 C9 20 - beq Label_F898 ; CPU:$F843 PRG:3843 F0 53 + beq SubCF838_Block_9 ; CPU:$F843 PRG:3843 F0 53 cmp #$01 ; CPU:$F845 PRG:3845 C9 01 - beq Label_F899 ; CPU:$F847 PRG:3847 F0 50 + beq SubCF838_Block_3 ; CPU:$F847 PRG:3847 F0 50 cmp #$02 ; CPU:$F849 PRG:3849 C9 02 - beq Label_F87C ; CPU:$F84B PRG:384B F0 2F + beq SubCF838_Block_4 ; CPU:$F84B PRG:384B F0 2F ldx #$00 ; CPU:$F84D PRG:384D A2 00 jsr $EF70 ; CPU:$F84F PRG:384F 20 70 EF - bcc Label_F85C ; CPU:$F852 PRG:3852 90 08 + bcc SubCF838_Block_6 ; CPU:$F852 PRG:3852 90 08 jsr $F8DB ; CPU:$F854 PRG:3854 20 DB F8 - bmi Label_F85C ; CPU:$F857 PRG:3857 30 03 + bmi SubCF838_Block_6 ; CPU:$F857 PRG:3857 30 03 jsr $F8AC ; CPU:$F859 PRG:3859 20 AC F8 ; ----------------------------------------------------------------------------- -; Routine: Label_F85C +; Routine: SubCF838_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14858,7 +14860,7 @@ Label_F838: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F85C: +SubCF838_Block_6: lda ZpB2 ; CPU:$F85C PRG:385C A5 B2 lsr a ; CPU:$F85E PRG:385E 4A ror a ; CPU:$F85F PRG:385F 6A @@ -14869,7 +14871,7 @@ Label_F85C: lsr a ; CPU:$F868 PRG:3868 4A ora #$E0 ; CPU:$F869 PRG:3869 09 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_F86B +; Routine: SubCF838_Block_11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14877,14 +14879,14 @@ Label_F85C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F86B: +SubCF838_Block_11: 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: Label_F877 +; Routine: SubCF838_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14892,11 +14894,11 @@ Label_F86B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F877: +SubCF838_Block: sta $03E8 ; CPU:$F877 PRG:3877 8D E8 03 - beq Label_F889 ; CPU:$F87A PRG:387A F0 0D + beq SubCF838_Block_7 ; CPU:$F87A PRG:387A F0 0D ; ----------------------------------------------------------------------------- -; Routine: Label_F87C +; Routine: SubCF838_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14904,14 +14906,14 @@ Label_F877: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F87C: +SubCF838_Block_4: 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: Label_F889 +; Routine: SubCF838_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14919,16 +14921,16 @@ Label_F87C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F889: +SubCF838_Block_7: lda Zp4E ; CPU:$F889 PRG:3889 A5 4E - bne Label_F898 ; CPU:$F88B PRG:388B D0 0B + bne SubCF838_Block_9 ; CPU:$F88B PRG:388B D0 0B lda Zp91 ; CPU:$F88D PRG:388D A5 91 - bmi Label_F898 ; CPU:$F88F PRG:388F 30 07 + bmi SubCF838_Block_9 ; 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: Label_F898 +; Routine: SubCF838_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14936,10 +14938,10 @@ Label_F889: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F898: +SubCF838_Block_9: rts ; CPU:$F898 PRG:3898 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F899 +; Routine: SubCF838_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14947,17 +14949,17 @@ Label_F898: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F899: +SubCF838_Block_3: 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 Label_F8A8 ; CPU:$F8A2 PRG:38A2 90 04 + bcc SubCF838_Block_10 ; CPU:$F8A2 PRG:38A2 90 04 lda #$02 ; CPU:$F8A4 PRG:38A4 A9 02 sta Zp91 ; CPU:$F8A6 PRG:38A6 85 91 ; ----------------------------------------------------------------------------- -; Routine: Label_F8A8 +; Routine: SubCF838_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14965,11 +14967,11 @@ Label_F899: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8A8: +SubCF838_Block_10: lda #$B2 ; CPU:$F8A8 PRG:38A8 A9 B2 - bne Label_F86B ; CPU:$F8AA PRG:38AA D0 BF + bne SubCF838_Block_11 ; CPU:$F8AA PRG:38AA D0 BF ; ----------------------------------------------------------------------------- -; Routine: Label_F8AC +; Routine: SubCF8AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14977,18 +14979,18 @@ Label_F8A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8AC: +SubCF8AC: 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 Label_F8BE ; CPU:$F8B7 PRG:38B7 F0 05 + beq SubCF8AC_Block ; 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: Label_F8BE +; Routine: SubCF8AC_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14996,17 +14998,17 @@ Label_F8AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8BE: +SubCF8AC_Block: 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 Label_F8CB ; CPU:$F8C6 PRG:38C6 F0 03 + beq SubCF8AC_Block_2 ; 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: Label_F8CB +; Routine: SubCF8AC_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15014,15 +15016,15 @@ Label_F8BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8CB: +SubCF8AC_Block_2: 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 Label_F8D7 ; CPU:$F8D1 PRG:38D1 D0 04 + bne SubCF8AC_Block_3 ; CPU:$F8D1 PRG:38D1 D0 04 inc $03B1 ; CPU:$F8D3 PRG:38D3 EE B1 03 rts ; CPU:$F8D6 PRG:38D6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F8D7 +; Routine: SubCF8AC_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15030,11 +15032,11 @@ Label_F8CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8D7: +SubCF8AC_Block_3: dec $03B1 ; CPU:$F8D7 PRG:38D7 CE B1 03 rts ; CPU:$F8DA PRG:38DA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F8DB +; Routine: SubCF8DB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15042,12 +15044,12 @@ Label_F8D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8DB: +SubCF8DB: lda $03B1 ; CPU:$F8DB PRG:38DB AD B1 03 and #$1F ; CPU:$F8DE PRG:38DE 29 1F - bne Label_F8F4 ; CPU:$F8E0 PRG:38E0 D0 12 + bne SubCF8DB_Block ; CPU:$F8E0 PRG:38E0 D0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_F8E2 +; Routine: SubCF8DB_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15055,15 +15057,15 @@ Label_F8DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8E2: +SubCF8DB_Block_6: 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 Label_F8F1 ; CPU:$F8ED PRG:38ED F0 02 + beq SubCF8DB_Block_2 ; CPU:$F8ED PRG:38ED F0 02 lda #$1F ; CPU:$F8EF PRG:38EF A9 1F ; ----------------------------------------------------------------------------- -; Routine: Label_F8F1 +; Routine: SubCF8DB_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15071,10 +15073,10 @@ Label_F8E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8F1: +SubCF8DB_Block_2: sta $03B1 ; CPU:$F8F1 PRG:38F1 8D B1 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F8F4 +; Routine: SubCF8DB_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15082,24 +15084,24 @@ Label_F8F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8F4: +SubCF8DB_Block: lda Zp9C ; CPU:$F8F4 PRG:38F4 A5 9C cmp #$0F ; CPU:$F8F6 PRG:38F6 C9 0F - bcc Label_F911 ; CPU:$F8F8 PRG:38F8 90 17 + bcc SubCF8DB_Block_5 ; CPU:$F8F8 PRG:38F8 90 17 cmp #$F1 ; CPU:$F8FA PRG:38FA C9 F1 - bcs Label_F911 ; CPU:$F8FC PRG:38FC B0 13 + bcs SubCF8DB_Block_5 ; CPU:$F8FC PRG:38FC B0 13 lda ZpA7 ; CPU:$F8FE PRG:38FE A5 A7 cmp #$F0 ; CPU:$F900 PRG:3900 C9 F0 - bcs Label_F911 ; CPU:$F902 PRG:3902 B0 0D + bcs SubCF8DB_Block_5 ; CPU:$F902 PRG:3902 B0 0D ldy $03BC ; CPU:$F904 PRG:3904 AC BC 03 - bmi Label_F8E2 ; CPU:$F907 PRG:3907 30 D9 + bmi SubCF8DB_Block_6 ; 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 Label_F919 ; CPU:$F90E PRG:390E D0 09 + bne SubCF8DB_Block_7 ; CPU:$F90E PRG:390E D0 09 ; ---- data $F910-$F910 (1 bytes) ---- .byte $2C ; CPU:$F910 PRG:3910 2C ; ----------------------------------------------------------------------------- -; Routine: Label_F911 +; Routine: SubCF8DB_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15107,14 +15109,14 @@ Label_F8F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F911: +SubCF8DB_Block_5: 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: Label_F919 +; Routine: SubCF8DB_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15122,13 +15124,13 @@ Label_F911: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F919: +SubCF8DB_Block_7: 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: Label_F91E +; Routine: SubCF91E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15136,9 +15138,9 @@ Label_F919: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F91E: +SubCF91E: 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 @@ -15151,12 +15153,12 @@ Label_F91E: ldy $0711 ; CPU:$F939 PRG:3939 AC 11 07 lda ZpF3 ; CPU:$F93C PRG:393C A5 F3 and #$0C ; CPU:$F93E PRG:393E 29 0C - beq Label_F949 ; CPU:$F940 PRG:3940 F0 07 + beq SubCF91E_Block ; CPU:$F940 PRG:3940 F0 07 inc $0711 ; CPU:$F942 PRG:3942 EE 11 07 cpy #$30 ; CPU:$F945 PRG:3945 C0 30 - bcc Label_F94F ; CPU:$F947 PRG:3947 90 06 + bcc SubCF91E_Block_3 ; CPU:$F947 PRG:3947 90 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F949 +; Routine: SubCF91E_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15164,12 +15166,12 @@ Label_F91E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F949: +SubCF91E_Block: tya ; CPU:$F949 PRG:3949 98 - beq Label_F94F ; CPU:$F94A PRG:394A F0 03 + beq SubCF91E_Block_3 ; CPU:$F94A PRG:394A F0 03 dec $0711 ; CPU:$F94C PRG:394C CE 11 07 ; ----------------------------------------------------------------------------- -; Routine: Label_F94F +; Routine: SubCF91E_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15177,11 +15179,11 @@ Label_F949: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F94F: - sty $4011 ; CPU:$F94F PRG:394F 8C 11 40 +SubCF91E_Block_3: + sty APUDMCDIRECT ; CPU:$F94F PRG:394F 8C 11 40 rts ; CPU:$F952 PRG:3952 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F953 +; Routine: SubCF953 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15189,12 +15191,12 @@ Label_F94F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; 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 +SubCF953: + 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 +; Routine: SubCF95A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15202,12 +15204,12 @@ Label_F953: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; 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 +SubCF95A: + 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 +; Routine: SubCF961 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15215,10 +15217,10 @@ Label_F95A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F961: +SubCF961: jsr $F953 ; CPU:$F961 PRG:3961 20 53 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F964 +; Routine: SubCF964 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15226,10 +15228,10 @@ Label_F961: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F964: +SubCF964: ldx #$00 ; CPU:$F964 PRG:3964 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F966 +; Routine: SubCF97F_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15237,16 +15239,16 @@ Label_F964: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F966: +SubCF97F_Block: 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 + beq SubCF964_Block ; 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 $4003,x ; CPU:$F974 PRG:3974 9D 03 40 + sta APUPULSE1TIMERHI,x ; CPU:$F974 PRG:3974 9D 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_F977 +; Routine: SubCF964_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15254,10 +15256,10 @@ Label_F966: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F977: +SubCF964_Block: rts ; CPU:$F977 PRG:3977 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F978 +; Routine: SubCF978 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15265,10 +15267,10 @@ Label_F977: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F978: +SubCF978: jsr $F95A ; CPU:$F978 PRG:3978 20 5A F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F97B +; Routine: SubCF97B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15276,11 +15278,11 @@ Label_F978: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F97B: +SubCF97B: ldx #$04 ; CPU:$F97B PRG:397B A2 04 - bne Label_F966 ; CPU:$F97D PRG:397D D0 E7 + bne SubCF97F_Block ; CPU:$F97D PRG:397D D0 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_F97F +; Routine: SubCF97F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15288,11 +15290,11 @@ Label_F97B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F97F: +SubCF97F: ldx #$08 ; CPU:$F97F PRG:397F A2 08 - bne Label_F966 ; CPU:$F981 PRG:3981 D0 E3 + bne SubCF97F_Block ; CPU:$F981 PRG:3981 D0 E3 ; ----------------------------------------------------------------------------- -; 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. @@ -15300,7 +15302,7 @@ Label_F97F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F983: +SubCF983: tax ; CPU:$F983 PRG:3983 AA ror a ; CPU:$F984 PRG:3984 6A txa ; CPU:$F985 PRG:3985 8A @@ -15319,7 +15321,7 @@ Label_F983: .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: Label_F9AB +; Routine: SubCF9EB_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15327,12 +15329,12 @@ Label_F983: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9AB: +SubCF9EB_Block: 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: Label_F9B1 +; Routine: SubCF9EB_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15340,20 +15342,20 @@ Label_F9AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9B1: +SubCF9EB_Block_2: lda ZpF4 ; CPU:$F9B1 PRG:39B1 A5 F4 lsr a ; CPU:$F9B3 PRG:39B3 4A 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 + bne SubCFA3A_Block_3 ; CPU:$F9C6 PRG:39C6 D0 67 ; ----------------------------------------------------------------------------- -; Routine: Label_F9C8 +; Routine: SubCF9EB_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15361,13 +15363,13 @@ Label_F9B1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9C8: +SubCF9EB_Block_3: 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 Label_F9D6 ; CPU:$F9CE PRG:39CE D0 06 + bne SubCF983_Block_2 ; CPU:$F9CE PRG:39CE D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F9D0 +; Routine: SubCF9EB_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15375,12 +15377,12 @@ Label_F9C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9D0: +SubCF9EB_Block_4: lda ZpF4 ; CPU:$F9D0 PRG:39D0 A5 F4 cmp #$1B ; CPU:$F9D2 PRG:39D2 C9 1B - bne Label_FA32 ; CPU:$F9D4 PRG:39D4 D0 5C + bne SubCFA3A_Block_2 ; CPU:$F9D4 PRG:39D4 D0 5C ; ----------------------------------------------------------------------------- -; Routine: Label_F9D6 +; Routine: SubCF983_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15388,7 +15390,7 @@ Label_F9D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9D6: +SubCF983_Block_2: ldx #$88 ; CPU:$F9D6 PRG:39D6 A2 88 ldy #$D3 ; CPU:$F9D8 PRG:39D8 A0 D3 lda #$00 ; CPU:$F9DA PRG:39DA A9 00 @@ -15396,10 +15398,10 @@ 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 - bne Label_FA32 ; CPU:$F9E9 PRG:39E9 D0 47 + sta APUTRIANGLECTRL ; CPU:$F9E6 PRG:39E6 8D 08 40 + bne SubCFA3A_Block_2 ; CPU:$F9E9 PRG:39E9 D0 47 ; ----------------------------------------------------------------------------- -; Routine: Label_F9EB +; Routine: SubCF9EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15407,28 +15409,28 @@ Label_F9D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9EB: +SubCF9EB: 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 Label_F9AB ; CPU:$F9F1 PRG:39F1 B0 B8 + bcs SubCF9EB_Block ; CPU:$F9F1 PRG:39F1 B0 B8 lsr a ; CPU:$F9F3 PRG:39F3 4A - bcs Label_F9B1 ; CPU:$F9F4 PRG:39F4 B0 BB + bcs SubCF9EB_Block_2 ; CPU:$F9F4 PRG:39F4 B0 BB lsr ZpFF ; CPU:$F9F6 PRG:39F6 46 FF - bcs Label_F9C8 ; CPU:$F9F8 PRG:39F8 B0 CE + bcs SubCF9EB_Block_3 ; CPU:$F9F8 PRG:39F8 B0 CE lsr a ; CPU:$F9FA PRG:39FA 4A - bcs Label_F9D0 ; CPU:$F9FB PRG:39FB B0 D3 + bcs SubCF9EB_Block_4 ; CPU:$F9FB PRG:39FB B0 D3 lsr ZpFF ; CPU:$F9FD PRG:39FD 46 FF - bcs Label_FA0C ; CPU:$F9FF PRG:39FF B0 0B + bcs SubCF9EB_Block_5 ; CPU:$F9FF PRG:39FF B0 0B lsr a ; CPU:$FA01 PRG:3A01 4A - bcs Label_FA1B ; CPU:$FA02 PRG:3A02 B0 17 + bcs SubCF9EB_Block_6 ; CPU:$FA02 PRG:3A02 B0 17 lsr ZpFF ; CPU:$FA04 PRG:3A04 46 FF - bcs Label_FA40 ; CPU:$FA06 PRG:3A06 B0 38 + bcs SubCF9EB_Block_7 ; CPU:$FA06 PRG:3A06 B0 38 lsr a ; CPU:$FA08 PRG:3A08 4A - bcs Label_FA4A ; CPU:$FA09 PRG:3A09 B0 3F + bcs SubCF9EB_Block_8 ; CPU:$FA09 PRG:3A09 B0 3F rts ; CPU:$FA0B PRG:3A0B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FA0C +; Routine: SubCF9EB_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15436,7 +15438,7 @@ Label_F9EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA0C: +SubCF9EB_Block_5: sty ZpF0 ; CPU:$FA0C PRG:3A0C 84 F0 lda #$28 ; CPU:$FA0E PRG:3A0E A9 28 sta ZpF4 ; CPU:$FA10 PRG:3A10 85 F4 @@ -15445,7 +15447,7 @@ Label_FA0C: lda #$36 ; CPU:$FA16 PRG:3A16 A9 36 jsr $F961 ; CPU:$FA18 PRG:3A18 20 61 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FA1B +; Routine: SubCF9EB_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15453,15 +15455,15 @@ Label_FA0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA1B: +SubCF9EB_Block_6: lda ZpF4 ; CPU:$FA1B PRG:3A1B A5 F4 cmp #$25 ; CPU:$FA1D PRG:3A1D C9 25 - bne Label_FA27 ; CPU:$FA1F PRG:3A1F D0 06 + bne SubCF9EB_Block_9 ; CPU:$FA1F PRG:3A1F D0 06 ldx #$47 ; CPU:$FA21 PRG:3A21 A2 47 ldy #$F6 ; CPU:$FA23 PRG:3A23 A0 F6 - bne Label_FA2F ; CPU:$FA25 PRG:3A25 D0 08 + bne SubCFA3A_Block_3 ; CPU:$FA25 PRG:3A25 D0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_FA27 +; Routine: SubCF9EB_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15469,13 +15471,13 @@ Label_FA1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA27: +SubCF9EB_Block_9: cmp #$20 ; CPU:$FA27 PRG:3A27 C9 20 - bne Label_FA32 ; CPU:$FA29 PRG:3A29 D0 07 + bne SubCFA3A_Block_2 ; CPU:$FA29 PRG:3A29 D0 07 ldy #$BC ; CPU:$FA2B PRG:3A2B A0 BC ldx #$4C ; CPU:$FA2D PRG:3A2D A2 4C ; ----------------------------------------------------------------------------- -; Routine: Label_FA2F +; Routine: SubCFA3A_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15483,10 +15485,10 @@ Label_FA27: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA2F: +SubCFA3A_Block_3: jsr $F953 ; CPU:$FA2F PRG:3A2F 20 53 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FA32 +; Routine: SubCFA3A_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15494,11 +15496,11 @@ Label_FA2F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA32: +SubCFA3A_Block_2: dec ZpF4 ; CPU:$FA32 PRG:3A32 C6 F4 - bne Label_FA3F ; CPU:$FA34 PRG:3A34 D0 09 + bne SubCF9EB_Block_12 ; CPU:$FA34 PRG:3A34 D0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_FA36 +; Routine: SubCFA36 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15506,11 +15508,11 @@ Label_FA32: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA36: +SubCFA36: lda #$00 ; CPU:$FA36 PRG:3A36 A9 00 sta ZpF0 ; CPU:$FA38 PRG:3A38 85 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_FA3A +; Routine: SubCFA3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15518,11 +15520,11 @@ Label_FA36: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA3A: +SubCFA3A: 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 +; Routine: SubCF9EB_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15530,10 +15532,10 @@ Label_FA3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA3F: +SubCF9EB_Block_12: rts ; CPU:$FA3F PRG:3A3F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FA40 +; Routine: SubCF9EB_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15541,14 +15543,14 @@ Label_FA3F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA40: +SubCF9EB_Block_7: 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 Label_FA52 ; CPU:$FA48 PRG:3A48 D0 08 + bne SubCFA3A_Block ; CPU:$FA48 PRG:3A48 D0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_FA4A +; Routine: SubCF9EB_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15556,13 +15558,13 @@ Label_FA40: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA4A: +SubCF9EB_Block_8: lda ZpF4 ; CPU:$FA4A PRG:3A4A A5 F4 cmp #$07 ; CPU:$FA4C PRG:3A4C C9 07 - bne Label_FA32 ; CPU:$FA4E PRG:3A4E D0 E2 + bne SubCFA3A_Block_2 ; CPU:$FA4E PRG:3A4E D0 E2 lda #$02 ; CPU:$FA50 PRG:3A50 A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_FA52 +; Routine: SubCFA3A_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15570,18 +15572,18 @@ Label_FA4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA52: - sta $4002 ; CPU:$FA52 PRG:3A52 8D 02 40 +SubCFA3A_Block: + 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 + bne SubCFA3A_Block_3 ; 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: Label_FA64 +; Routine: SubCFAC4_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15589,12 +15591,12 @@ Label_FA52: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA64: +SubCFAC4_Block: 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: Label_FA6B +; Routine: SubCFAC4_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15602,11 +15604,11 @@ Label_FA64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA6B: +SubCFAC4_Block_2: lda $0712 ; CPU:$FA6B PRG:3A6B AD 12 07 ldx #$03 ; CPU:$FA6E PRG:3A6E A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_FA70 +; Routine: SubCFA3A_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15614,16 +15616,16 @@ Label_FA6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA70: +SubCFA3A_Block_4: lsr a ; CPU:$FA70 PRG:3A70 4A - bcs Label_FAB5 ; CPU:$FA71 PRG:3A71 B0 42 + bcs SubCFAB5 ; CPU:$FA71 PRG:3A71 B0 42 dex ; CPU:$FA73 PRG:3A73 CA - bne Label_FA70 ; CPU:$FA74 PRG:3A74 D0 FA + bne SubCFA3A_Block_4 ; 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: Label_FA7C +; Routine: SubCFAC4_Block_9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15631,12 +15633,12 @@ Label_FA70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA7C: +SubCFAC4_Block_9: ldx #$B8 ; CPU:$FA7C PRG:3A7C A2 B8 jsr $F978 ; CPU:$FA7E PRG:3A7E 20 78 F9 - bne Label_FAB5 ; CPU:$FA81 PRG:3A81 D0 32 + bne SubCFAB5 ; CPU:$FA81 PRG:3A81 D0 32 ; ----------------------------------------------------------------------------- -; Routine: Label_FA83 +; Routine: SubCFAC4_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15644,7 +15646,7 @@ Label_FA7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA83: +SubCFAC4_Block_3: 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 @@ -15653,7 +15655,7 @@ Label_FA83: lda #$3C ; CPU:$FA8F PRG:3A8F A9 3C jsr $F97B ; CPU:$FA91 PRG:3A91 20 7B F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FA94 +; Routine: SubCFAC4_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15661,14 +15663,14 @@ Label_FA83: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA94: +SubCFAC4_Block_4: 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 + beq SubCFA3A_Block_5 ; CPU:$FA9C PRG:3A9C F0 03 inc $0709 ; CPU:$FA9E PRG:3A9E EE 09 07 ; ----------------------------------------------------------------------------- -; Routine: Label_FAA1 +; Routine: SubCFA3A_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15676,14 +15678,14 @@ Label_FA94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAA1: +SubCFA3A_Block_5: lda $0712 ; CPU:$FAA1 PRG:3AA1 AD 12 07 and #$07 ; CPU:$FAA4 PRG:3AA4 29 07 - bne Label_FAAC ; CPU:$FAA6 PRG:3AA6 D0 04 + bne SubCFA3A_Block_6 ; CPU:$FAA6 PRG:3AA6 D0 04 lda #$9F ; CPU:$FAA8 PRG:3AA8 A9 9F - bne Label_FAB2 ; CPU:$FAAA PRG:3AAA D0 06 + bne SubCFA3A_Block_7 ; CPU:$FAAA PRG:3AAA D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FAAC +; Routine: SubCFA3A_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15691,12 +15693,12 @@ Label_FAA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAAC: +SubCFA3A_Block_6: cmp #$06 ; CPU:$FAAC PRG:3AAC C9 06 - bne Label_FAB5 ; CPU:$FAAE PRG:3AAE D0 05 + bne SubCFAB5 ; CPU:$FAAE PRG:3AAE D0 05 lda #$A3 ; CPU:$FAB0 PRG:3AB0 A9 A3 ; ----------------------------------------------------------------------------- -; Routine: Label_FAB2 +; Routine: SubCFA3A_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15704,10 +15706,10 @@ Label_FAAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAB2: - sta $4005 ; CPU:$FAB2 PRG:3AB2 8D 05 40 +SubCFA3A_Block_7: + sta APUPULSE2SWEEP ; CPU:$FAB2 PRG:3AB2 8D 05 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FAB5 +; Routine: SubCFAB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15715,15 +15717,15 @@ Label_FAB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAB5: +SubCFAB5: dec $0712 ; CPU:$FAB5 PRG:3AB5 CE 12 07 - bne Label_FAC3 ; CPU:$FAB8 PRG:3AB8 D0 09 + bne SubCFAB5_Block ; 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 $4004 ; CPU:$FAC0 PRG:3AC0 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FAC0 PRG:3AC0 8D 04 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FAC3 +; Routine: SubCFAB5_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15731,10 +15733,10 @@ Label_FAB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAC3: +SubCFAB5_Block: rts ; CPU:$FAC3 PRG:3AC3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FAC4 +; Routine: SubCFAC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15742,32 +15744,32 @@ Label_FAC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAC4: +SubCFAC4: 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 Label_FA64 ; CPU:$FACA PRG:3ACA B0 98 + bcs SubCFAC4_Block ; CPU:$FACA PRG:3ACA B0 98 lsr a ; CPU:$FACC PRG:3ACC 4A - bcs Label_FA6B ; CPU:$FACD PRG:3ACD B0 9C + bcs SubCFAC4_Block_2 ; CPU:$FACD PRG:3ACD B0 9C lsr ZpFE ; CPU:$FACF PRG:3ACF 46 FE - bcs Label_FA83 ; CPU:$FAD1 PRG:3AD1 B0 B0 + bcs SubCFAC4_Block_3 ; CPU:$FAD1 PRG:3AD1 B0 B0 lsr a ; CPU:$FAD3 PRG:3AD3 4A - bcs Label_FA94 ; CPU:$FAD4 PRG:3AD4 B0 BE + bcs SubCFAC4_Block_4 ; CPU:$FAD4 PRG:3AD4 B0 BE lsr ZpFE ; CPU:$FAD6 PRG:3AD6 46 FE - bcs Label_FAEC ; CPU:$FAD8 PRG:3AD8 B0 12 + bcs SubCFAC4_Block_5 ; CPU:$FAD8 PRG:3AD8 B0 12 lsr a ; CPU:$FADA PRG:3ADA 4A - bcs Label_FAB5 ; CPU:$FADB PRG:3ADB B0 D8 + bcs SubCFAB5 ; CPU:$FADB PRG:3ADB B0 D8 lsr a ; CPU:$FADD PRG:3ADD 4A - bcs Label_FB09 ; CPU:$FADE PRG:3ADE B0 29 + bcs SubCFAC4_Block_6 ; CPU:$FADE PRG:3ADE B0 29 lsr ZpFE ; CPU:$FAE0 PRG:3AE0 46 FE - bcs Label_FAF9 ; CPU:$FAE2 PRG:3AE2 B0 15 + bcs SubCFAC4_Block_7 ; CPU:$FAE2 PRG:3AE2 B0 15 lsr ZpFE ; CPU:$FAE4 PRG:3AE4 46 FE - bcs Label_FB17 ; CPU:$FAE6 PRG:3AE6 B0 2F + bcs SubCFAC4_Block_8 ; CPU:$FAE6 PRG:3AE6 B0 2F lsr a ; CPU:$FAE8 PRG:3AE8 4A - bcs Label_FAB5 ; CPU:$FAE9 PRG:3AE9 B0 CA + bcs SubCFAB5 ; CPU:$FAE9 PRG:3AE9 B0 CA rts ; CPU:$FAEB PRG:3AEB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FAEC +; Routine: SubCFAC4_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15775,15 +15777,15 @@ Label_FAC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAEC: +SubCFAC4_Block_5: 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 Label_FA7C ; CPU:$FAF7 PRG:3AF7 D0 83 + bne SubCFAC4_Block_9 ; CPU:$FAF7 PRG:3AF7 D0 83 ; ----------------------------------------------------------------------------- -; Routine: Label_FAF9 +; Routine: SubCFAC4_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15791,7 +15793,7 @@ Label_FAEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAF9: +SubCFAC4_Block_7: 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 @@ -15800,7 +15802,7 @@ Label_FAF9: lda #$04 ; CPU:$FB04 PRG:3B04 A9 04 jsr $F978 ; CPU:$FB06 PRG:3B06 20 78 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FB09 +; Routine: SubCFAC4_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15808,15 +15810,15 @@ Label_FAF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB09: +SubCFAC4_Block_6: lda $0712 ; CPU:$FB09 PRG:3B09 AD 12 07 cmp #$04 ; CPU:$FB0C PRG:3B0C C9 04 - bne Label_FAB5 ; CPU:$FB0E PRG:3B0E D0 A5 + bne SubCFAB5 ; CPU:$FB0E PRG:3B0E D0 A5 lda #$A9 ; CPU:$FB10 PRG:3B10 A9 A9 - sta $4006 ; CPU:$FB12 PRG:3B12 8D 06 40 - bne Label_FAB5 ; CPU:$FB15 PRG:3B15 D0 9E + sta APUPULSE2TIMERLO ; CPU:$FB12 PRG:3B12 8D 06 40 + bne SubCFAB5 ; CPU:$FB15 PRG:3B15 D0 9E ; ----------------------------------------------------------------------------- -; Routine: Label_FB17 +; Routine: SubCFAC4_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15824,7 +15826,7 @@ Label_FB09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB17: +SubCFAC4_Block_8: 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 @@ -15833,14 +15835,14 @@ 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 + bne SubCFAC4_Block_10 ; 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 +; Routine: SubCFAC4_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15848,7 +15850,7 @@ Label_FB17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB38: +SubCFAC4_Block_10: 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) @@ -15862,7 +15864,7 @@ Label_FB38: .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: Label_FB71 +; Routine: SubCFBA1_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15870,12 +15872,12 @@ Label_FB38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB71: +SubCFBA1_Block: 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: Label_FB78 +; Routine: SubCFBA1_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15883,7 +15885,7 @@ Label_FB71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB78: +SubCFBA1_Block_2: lda $070E ; CPU:$FB78 PRG:3B78 AD 0E 07 lsr a ; CPU:$FB7B PRG:3B7B 4A lsr a ; CPU:$FB7C PRG:3B7C 4A @@ -15896,7 +15898,7 @@ Label_FB78: tay ; CPU:$FB88 PRG:3B88 A8 lda $FB3B,y ; CPU:$FB89 PRG:3B89 B9 3B FB ; ----------------------------------------------------------------------------- -; 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. @@ -15904,17 +15906,17 @@ Label_FB78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; 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 +SubCFB8C: + 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 + bne SubCFB8C_Block ; CPU:$FB9A PRG:3B9A D0 04 lda #$00 ; CPU:$FB9C PRG:3B9C A9 00 sta ZpF2 ; CPU:$FB9E PRG:3B9E 85 F2 ; ----------------------------------------------------------------------------- -; Routine: Label_FBA0 +; Routine: SubCFB8C_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15922,10 +15924,10 @@ Label_FB8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBA0: +SubCFB8C_Block: rts ; CPU:$FBA0 PRG:3BA0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FBA1 +; Routine: SubCFBA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15933,24 +15935,24 @@ Label_FBA0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBA1: +SubCFBA1: 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 Label_FB71 ; CPU:$FBA7 PRG:3BA7 B0 C8 + bcs SubCFBA1_Block ; CPU:$FBA7 PRG:3BA7 B0 C8 lsr a ; CPU:$FBA9 PRG:3BA9 4A - bcs Label_FB78 ; CPU:$FBAA PRG:3BAA B0 CC + bcs SubCFBA1_Block_2 ; CPU:$FBAA PRG:3BAA B0 CC lsr ZpFC ; CPU:$FBAC PRG:3BAC 46 FC - bcs Label_FBBB ; CPU:$FBAE PRG:3BAE B0 0B + bcs SubCFBA1_Block_3 ; CPU:$FBAE PRG:3BAE B0 0B lsr a ; CPU:$FBB0 PRG:3BB0 4A - bcs Label_FBCB ; CPU:$FBB1 PRG:3BB1 B0 18 + bcs SubCFBA1_Block_7 ; CPU:$FBB1 PRG:3BB1 B0 18 lsr ZpFC ; CPU:$FBB3 PRG:3BB3 46 FC - bcs Label_FBDB ; CPU:$FBB5 PRG:3BB5 B0 24 + bcs SubCFBA1_Block_5 ; CPU:$FBB5 PRG:3BB5 B0 24 lsr a ; CPU:$FBB7 PRG:3BB7 4A - bcs Label_FBEB ; CPU:$FBB8 PRG:3BB8 B0 31 + bcs SubCFBA1_Block_8 ; CPU:$FBB8 PRG:3BB8 B0 31 rts ; CPU:$FBBA PRG:3BBA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FBBB +; Routine: SubCFBA1_Block_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15958,16 +15960,16 @@ Label_FBA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBBB: +SubCFBA1_Block_3: 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 Label_FBCB ; CPU:$FBC6 PRG:3BC6 D0 03 + bne SubCFBA1_Block_7 ; CPU:$FBC6 PRG:3BC6 D0 03 jsr $FA36 ; CPU:$FBC8 PRG:3BC8 20 36 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FBCB +; Routine: SubCFBA1_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15975,16 +15977,16 @@ Label_FBBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBCB: +SubCFBA1_Block_7: 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 Label_FB8C ; CPU:$FBD9 PRG:3BD9 D0 B1 + bne SubCFB8C ; CPU:$FBD9 PRG:3BD9 D0 B1 ; ----------------------------------------------------------------------------- -; Routine: Label_FBDB +; Routine: SubCFBA1_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15992,16 +15994,16 @@ Label_FBCB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBDB: +SubCFBA1_Block_5: 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 Label_FBEB ; CPU:$FBE6 PRG:3BE6 D0 03 + bne SubCFBA1_Block_8 ; CPU:$FBE6 PRG:3BE6 D0 03 jsr $FA36 ; CPU:$FBE8 PRG:3BE8 20 36 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FBEB +; Routine: SubCFBA1_Block_8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16009,7 +16011,7 @@ Label_FBDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBEB: +SubCFBA1_Block_8: lda $070E ; CPU:$FBEB PRG:3BEB AD 0E 07 lsr a ; CPU:$FBEE PRG:3BEE 4A tay ; CPU:$FBEF PRG:3BEF A8 @@ -16018,7 +16020,7 @@ Label_FBEB: lda $FB6A,y ; CPU:$FBF6 PRG:3BF6 B9 6A FB jmp $FB8C ; CPU:$FBF9 PRG:3BF9 4C 8C FB ; ----------------------------------------------------------------------------- -; Routine: Label_FBFC +; Routine: SubCFBFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16026,14 +16028,14 @@ Label_FBEB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBFC: +SubCFBFC: lda ZpFB ; CPU:$FBFC PRG:3BFC A5 FB - bne Label_FC05 ; CPU:$FBFE PRG:3BFE D0 05 + bne SubCFBFC_Block ; CPU:$FBFE PRG:3BFE D0 05 lda ZpF3 ; CPU:$FC00 PRG:3C00 A5 F3 - bne Label_FC51 ; CPU:$FC02 PRG:3C02 D0 4D + bne SubCFBFC_Block_2 ; CPU:$FC02 PRG:3C02 D0 4D rts ; CPU:$FC04 PRG:3C04 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FC05 +; Routine: SubCFBFC_Block ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16041,15 +16043,15 @@ Label_FBFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC05: +SubCFBFC_Block: cmp #$20 ; CPU:$FC05 PRG:3C05 C9 20 - bne Label_FC11 ; CPU:$FC07 PRG:3C07 D0 08 + bne SubCFBFC_Block_12 ; CPU:$FC07 PRG:3C07 D0 08 lda ZpF3 ; 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: Label_FC11 +; Routine: SubCFBFC_Block_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16057,12 +16059,12 @@ Label_FC05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC11: +SubCFBFC_Block_12: sta ZpF3 ; CPU:$FC11 PRG:3C11 85 F3 ldy #$00 ; CPU:$FC13 PRG:3C13 A0 00 sty ZpF8 ; CPU:$FC15 PRG:3C15 84 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_FC17 +; Routine: SubCFBFC_Block_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16070,10 +16072,10 @@ Label_FC11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC17: +SubCFBFC_Block_4: iny ; CPU:$FC17 PRG:3C17 C8 lsr a ; CPU:$FC18 PRG:3C18 4A - bcc Label_FC17 ; CPU:$FC19 PRG:3C19 90 FC + bcc SubCFBFC_Block_4 ; 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 @@ -16096,7 +16098,7 @@ Label_FC17: lda #$7F ; CPU:$FC4C PRG:3C4C A9 7F sta $0700 ; CPU:$FC4E PRG:3C4E 8D 00 07 ; ----------------------------------------------------------------------------- -; Routine: Label_FC51 +; Routine: SubCFBFC_Block_2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16104,20 +16106,20 @@ Label_FC17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC51: +SubCFBFC_Block_2: dec $0701 ; CPU:$FC51 PRG:3C51 CE 01 07 - bne Label_FCAC ; CPU:$FC54 PRG:3C54 D0 56 + bne SubCFBFC_Block_5 ; 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 Label_FC84 ; CPU:$FC5C PRG:3C5C D0 26 + bne SubCFBFC_Block_6 ; CPU:$FC5C PRG:3C5C D0 26 lda ZpF3 ; CPU:$FC5E PRG:3C5E A5 F3 cmp #$40 ; CPU:$FC60 PRG:3C60 C9 40 - bne Label_FC68 ; CPU:$FC62 PRG:3C62 D0 04 + bne SubCFBFC_Block_7 ; CPU:$FC62 PRG:3C62 D0 04 lda ZpFD ; CPU:$FC64 PRG:3C64 A5 FD - bne Label_FC11 ; CPU:$FC66 PRG:3C66 D0 A9 + bne SubCFBFC_Block_12 ; CPU:$FC66 PRG:3C66 D0 A9 ; ----------------------------------------------------------------------------- -; Routine: Label_FC68 +; Routine: SubCFBFC_Block_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16125,18 +16127,18 @@ Label_FC51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC68: +SubCFBFC_Block_7: cmp #$02 ; CPU:$FC68 PRG:3C68 C9 02 - beq Label_FC11 ; CPU:$FC6A PRG:3C6A F0 A5 + beq SubCFBFC_Block_12 ; CPU:$FC6A PRG:3C6A F0 A5 and #$0C ; CPU:$FC6C PRG:3C6C 29 0C - beq Label_FC79 ; CPU:$FC6E PRG:3C6E F0 09 + beq SubCFBFC_Block_10 ; CPU:$FC6E PRG:3C6E F0 09 lsr a ; CPU:$FC70 PRG:3C70 4A cmp #$04 ; CPU:$FC71 PRG:3C71 C9 04 - beq Label_FC11 ; CPU:$FC73 PRG:3C73 F0 9C + beq SubCFBFC_Block_12 ; CPU:$FC73 PRG:3C73 F0 9C lda #$08 ; CPU:$FC75 PRG:3C75 A9 08 - bne Label_FC11 ; CPU:$FC77 PRG:3C77 D0 98 + bne SubCFBFC_Block_12 ; CPU:$FC77 PRG:3C77 D0 98 ; ----------------------------------------------------------------------------- -; Routine: Label_FC79 +; Routine: SubCFBFC_Block_10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16144,14 +16146,14 @@ Label_FC68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC79: +SubCFBFC_Block_10: lda #$00 ; CPU:$FC79 PRG:3C79 A9 00 sta ZpF3 ; 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 +; Routine: SubCFBFC_Block_6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16159,19 +16161,19 @@ Label_FC79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC84: +SubCFBFC_Block_6: 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 Label_FCC4 ; CPU:$FC8C PRG:3C8C D0 36 + bne SubCFBFC_Block_17 ; 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 Label_FC99 ; CPU:$FC95 PRG:3C95 F0 02 + beq SubCFBFC_Block_14 ; CPU:$FC95 PRG:3C95 F0 02 ldy #$1F ; CPU:$FC97 PRG:3C97 A0 1F ; ----------------------------------------------------------------------------- -; Routine: Label_FC99 +; Routine: SubCFBFC_Block_14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16179,15 +16181,15 @@ Label_FC84: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC99: +SubCFBFC_Block_14: 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 Label_FCA7 ; CPU:$FCA3 PRG:3CA3 B0 02 + bcs SubCFBFC_Block_15 ; CPU:$FCA3 PRG:3CA3 B0 02 ldx #$82 ; CPU:$FCA5 PRG:3CA5 A2 82 ; ----------------------------------------------------------------------------- -; Routine: Label_FCA7 +; Routine: SubCFBFC_Block_15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16195,11 +16197,11 @@ Label_FC99: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCA7: +SubCFBFC_Block_15: ldy #$7F ; CPU:$FCA7 PRG:3CA7 A0 7F jsr $F95A ; CPU:$FCA9 PRG:3CA9 20 5A F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FCAC +; Routine: SubCFBFC_Block_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16207,17 +16209,17 @@ Label_FCA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCAC: +SubCFBFC_Block_5: lda ZpF1 ; CPU:$FCAC PRG:3CAC A5 F1 - bne Label_FCC4 ; CPU:$FCAE PRG:3CAE D0 14 + bne SubCFBFC_Block_17 ; CPU:$FCAE PRG:3CAE D0 14 lda ZpF3 ; CPU:$FCB0 PRG:3CB0 A5 F3 and #$0C ; CPU:$FCB2 PRG:3CB2 29 0C - beq Label_FCC4 ; CPU:$FCB4 PRG:3CB4 F0 0E + beq SubCFBFC_Block_17 ; CPU:$FCB4 PRG:3CB4 F0 0E ldy $0702 ; CPU:$FCB6 PRG:3CB6 AC 02 07 - beq Label_FCBE ; CPU:$FCB9 PRG:3CB9 F0 03 + beq SubCFBFC_Block_18 ; CPU:$FCB9 PRG:3CB9 F0 03 dec $0702 ; CPU:$FCBB PRG:3CBB CE 02 07 ; ----------------------------------------------------------------------------- -; Routine: Label_FCBE +; Routine: SubCFBFC_Block_18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16225,11 +16227,11 @@ Label_FCAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCBE: +SubCFBFC_Block_18: 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 +; Routine: SubCFBFC_Block_17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16237,13 +16239,13 @@ Label_FCBE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCC4: +SubCFBFC_Block_17: ldy ZpF9 ; CPU:$FCC4 PRG:3CC4 A4 F9 - beq Label_FCFA ; CPU:$FCC6 PRG:3CC6 F0 32 + beq SubCFBFC_Block_20 ; CPU:$FCC6 PRG:3CC6 F0 32 dec $0703 ; CPU:$FCC8 PRG:3CC8 CE 03 07 - bne Label_FCFA ; CPU:$FCCB PRG:3CCB D0 2D + bne SubCFBFC_Block_20 ; CPU:$FCCB PRG:3CCB D0 2D ; ----------------------------------------------------------------------------- -; Routine: Label_FCCD +; Routine: SubCFBFC_Block_22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16251,18 +16253,18 @@ Label_FCC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCCD: +SubCFBFC_Block_22: 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 Label_FCE0 ; CPU:$FCD3 PRG:3CD3 D0 0B + bne SubCFBFC_Block_21 ; 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 Label_FCCD ; CPU:$FCDE PRG:3CDE D0 ED + bne SubCFBFC_Block_22 ; CPU:$FCDE PRG:3CDE D0 ED ; ----------------------------------------------------------------------------- -; Routine: Label_FCE0 +; Routine: SubCFBFC_Block_21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16270,17 +16272,17 @@ Label_FCCD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCE0: +SubCFBFC_Block_21: 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 Label_FCF2 ; CPU:$FCEC PRG:3CEC D0 04 + bne SubCFBFC_Block_23 ; CPU:$FCEC PRG:3CEC D0 04 ldx #$10 ; CPU:$FCEE PRG:3CEE A2 10 - bne Label_FCF4 ; CPU:$FCF0 PRG:3CF0 D0 02 + bne SubCFBFC_Block_24 ; CPU:$FCF0 PRG:3CF0 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_FCF2 +; Routine: SubCFBFC_Block_23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16288,10 +16290,10 @@ Label_FCE0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCF2: +SubCFBFC_Block_23: ldx #$06 ; CPU:$FCF2 PRG:3CF2 A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FCF4 +; Routine: SubCFBFC_Block_24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16299,11 +16301,11 @@ Label_FCF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCF4: +SubCFBFC_Block_24: ldy $0700 ; CPU:$FCF4 PRG:3CF4 AC 00 07 jsr $F953 ; CPU:$FCF7 PRG:3CF7 20 53 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FCFA +; Routine: SubCFBFC_Block_20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16311,11 +16313,11 @@ Label_FCF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCFA: +SubCFBFC_Block_20: ldy ZpFA ; CPU:$FCFA PRG:3CFA A4 FA - beq Label_FD21 ; CPU:$FCFC PRG:3CFC F0 23 + beq SubCFBFC_Block_26 ; CPU:$FCFC PRG:3CFC F0 23 dec $0704 ; CPU:$FCFE PRG:3CFE CE 04 07 - bne Label_FD21 ; CPU:$FD01 PRG:3D01 D0 1E + bne SubCFBFC_Block_26 ; 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 @@ -16323,10 +16325,10 @@ Label_FCFA: clc ; CPU:$FD0D PRG:3D0D 18 adc #$FE ; CPU:$FD0E PRG:3D0E 69 FE cmp #$0E ; CPU:$FD10 PRG:3D10 C9 0E - bcc Label_FD16 ; CPU:$FD12 PRG:3D12 90 02 + bcc SubCFBFC_Block_27 ; CPU:$FD12 PRG:3D12 90 02 lda #$0E ; CPU:$FD14 PRG:3D14 A9 0E ; ----------------------------------------------------------------------------- -; Routine: Label_FD16 +; Routine: SubCFBFC_Block_27 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16334,15 +16336,15 @@ Label_FCFA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD16: +SubCFBFC_Block_27: 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 ; ----------------------------------------------------------------------------- -; Routine: Label_FD21 +; Routine: SubCFBFC_Block_26 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16350,7 +16352,7 @@ Label_FD16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD21: +SubCFBFC_Block_26: rts ; CPU:$FD21 PRG:3D21 60 ; ---- data $FD22-$FFFF (734 bytes) ---- ; referenced by `bit $FFA9` at $C5FB (operand $FFA9 falls inside this region) diff --git a/_wip/Ice Climber (U)/copilot/reconstructed.lbl b/_wip/Ice Climber (U)/copilot/reconstructed.lbl index 54e4720..d160574 100644 --- a/_wip/Ice Climber (U)/copilot/reconstructed.lbl +++ b/_wip/Ice Climber (U)/copilot/reconstructed.lbl @@ -1,973 +1,973 @@ -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 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 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 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 00F671 .Label_F671 -al 00F660 .Label_F660 -al 00F64C .Label_F64C -al 00F630 .Label_F630 -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 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 00F19E .Label_F19E -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 .Label_EFD3 -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 00EAA1 .Label_EAA1 -al 00EA97 .Label_EA97 -al 00EA96 .Label_EA96 -al 00EA8E .Label_EA8E -al 00EA55 .Label_EA55 -al 00EA4C .Label_EA4C -al 00EA4A .Label_EA4A -al 00EA49 .Label_EA49 -al 00E9C5 .Label_E9C5 -al 00E9C3 .Label_E9C3 -al 00E9AA .Label_E9AA -al 00E999 .Label_E999 -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 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 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 .Label_DD8F -al 00DD91 .Label_DD91 -al 00DD94 .Label_DD94 -al 00DD75 .Label_DD75 -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 .Label_DBB6 -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 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 .Label_D2CB -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 .Label_D160 -al 00D143 .Label_D143 -al 00D133 .Label_D133 -al 00D127 .Label_D127 -al 00D123 .Label_D123 -al 00D117 .Label_D117 -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 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 00CC1F .Label_CC1F -al 00CC05 .Label_CC05 -al 00CBAF .Label_CBAF -al 00CBA9 .Label_CBA9 -al 00CB9D .Label_CB9D -al 00CB9C .Label_CB9C -al 00CB8E .Label_CB8E -al 00CB8C .Label_CB8C -al 00CB81 .Label_CB81 -al 00CB78 .Label_CB78 -al 00CB64 .Label_CB64 -al 00CB61 .Label_CB61 -al 00CB5E .Label_CB5E -al 00CB54 .Label_CB54 -al 00CB3E .Label_CB3E -al 00CB35 .Label_CB35 -al 00CB2D .Label_CB2D -al 00CB21 .Label_CB21 -al 00CB02 .Label_CB02 -al 00CB00 .Label_CB00 -al 00CAED .Label_CAED -al 00CAE6 .Label_CAE6 -al 00CAD8 .Label_CAD8 -al 00CACE .Label_CACE -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 .Label_CA4C -al 00CA44 .Label_CA44 -al 00CA40 .Label_CA40 -al 00CA3D .Label_CA3D -al 00CA36 .Label_CA36 -al 00CA33 .Label_CA33 -al 00CA2C .Label_CA2C -al 00CA29 .Label_CA29 -al 00CA1A .Label_CA1A -al 00CA17 .Label_CA17 -al 00CA03 .Label_CA03 -al 00CA01 .Label_CA01 -al 00CA0B .Label_CA0B -al 00C9F8 .Label_C9F8 -al 00C9EF .Label_C9EF -al 00C9F3 .Label_C9F3 -al 00C9E2 .Label_C9E2 -al 00C9D7 .Label_C9D7 -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 .Label_C94B -al 00C92B .Label_C92B -al 00C94A .Label_C94A -al 00C8EE .Label_C8EE -al 00C8E0 .Label_C8E0 -al 00C8D9 .Label_C8D9 -al 00C8BF .Label_C8BF -al 00C8A4 .Label_C8A4 -al 00C89A .Label_C89A -al 00C891 .Label_C891 -al 00C883 .Label_C883 -al 00C868 .Label_C868 -al 00C853 .Label_C853 -al 00C83D .Label_C83D -al 00C829 .Label_C829 -al 00C821 .Label_C821 -al 00C81D .Label_C81D -al 00C813 .Label_C813 -al 00C7FD .Label_C7FD -al 00C7F7 .Label_C7F7 -al 00C7F5 .Label_C7F5 -al 00C7CF .Label_C7CF -al 00C7CA .Label_C7CA -al 00C7C5 .Label_C7C5 -al 00C7C1 .Label_C7C1 -al 00C7A5 .Label_C7A5 -al 00C77B .Label_C77B -al 00C777 .Label_C777 -al 00C76F .Label_C76F -al 00C759 .Label_C759 -al 00C73D .Label_C73D -al 00C728 .Label_C728 -al 00C726 .Label_C726 -al 00C718 .Label_C718 -al 00C6FB .Label_C6FB -al 00C67F .Label_C67F -al 00C664 .Label_C664 -al 00C626 .Label_C626 -al 00C63A .Label_C63A -al 00C620 .Label_C620 -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 .Label_C5D3 -al 00C5C9 .Label_C5C9 -al 00C5A9 .Label_C5A9 -al 00C5A7 .Label_C5A7 -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 .Label_C542 -al 00C508 .Label_C508 -al 00C4F6 .Label_C4F6 -al 00C4E8 .Label_C4E8 -al 00C4D9 .Label_C4D9 -al 00C4D7 .Label_C4D7 -al 00C4CD .Label_C4CD -al 00C4C8 .Label_C4C8 -al 00C4C0 .Label_C4C0 -al 00C44A .Label_C44A -al 00C437 .Label_C437 -al 00C436 .Label_C436 -al 00C39F .Label_C39F -al 00C38D .Label_C38D -al 00C2D9 .Label_C2D9 -al 00C2CE .Label_C2CE -al 00C2C1 .Label_C2C1 -al 00C2C4 .Label_C2C4 -al 00C2B0 .Label_C2B0 -al 00C2AB .Label_C2AB -al 00C279 .Label_C279 -al 00C274 .Label_C274 -al 00C253 .Label_C253 -al 00C23F .Label_C23F -al 00C23B .Label_C23B -al 00C218 .Label_C218 -al 00C207 .Label_C207 -al 00C1FE .Label_C1FE -al 00C21D .Label_C21D -al 00C21A .Label_C21A -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 .Label_C150 -al 00C14E .Label_C14E -al 00C148 .Label_C148 -al 00C141 .Label_C141 -al 00C135 .Label_C135 -al 00C10A .Label_C10A -al 00C0FA .Label_C0FA -al 00C0F3 .Label_C0F3 -al 00C138 .Label_C138 -al 00C100 .Label_C100 -al 00C103 .Label_C103 -al 00C11A .Label_C11A -al 00C126 .Label_C126 -al 00C0D3 .Label_C0D3 -al 00C095 .Label_C095 -al 00C083 .Label_C083 +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 .Label_C070 -al 00C06D .Label_C06D -al 00C05E .Label_C05E -al 00C058 .Label_C058 -al 00C041 .Label_C041 -al 00C024 .Label_C024 -al 00C01E .Label_C01E +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