- Apply symbols.inc hardware register names to Defender 2 (U) (51 operands)
- Apply symbols.inc hardware register names to Donkey Kong 3 (JUE) (36 operands)
- Add APU register symbols (-) to Defender 2 (U) and Donkey Kong 3 (JUE) symbols.inc
- Apply symbols to Donkey Kong Jr. Math (U) (80 operands: 11 single + 69 hardware)
- Apply symbols to Excitebike (JU) (786 operands: 785 single + 1 hardware)
- Add promotion criteria to PROMPTS.md: symbol/local substitution,
ROM-specific semantic naming, and verification checklist
Add branch/jump target naming requirement to PROMPTS.md
All branches and jumps must target symbolic labels with descriptive names
derived from program flow role (e.g., _Loop, _Next, _Done, _Store, _Return),
never raw address literals. Adds criterion 8 to verification checklist.
Rename all OVERVIEW.md to README.md; add root README content to top-level
- Rename all OVERVIEW.md files to README.md throughout the repo (47 files)
- Prepend README.md content to top-level OVERVIEW.md before rename
- Fix apply_symbols.py NAME_RE regex to handle spaced assignments
- Apply symbols.inc to Defender 2 (U) (51 hardware operands)
- Apply symbols.inc to Donkey Kong 3 (JUE) (36 hardware operands)
- Apply symbols.inc to Donkey Kong Jr. Math (U) (80 operands: 11 single + 69 hardware)
- Apply symbols.inc to Excitebike (JU) (786 operands: 785 single + 1 hardware)
- Add missing Zp18/FrameCounter aliases to Excitebike prg.s
- Build all 27 top-level projects: byte-identical
Promote Donkey Kong Jr. Math back to _wip tier
Moves code from `copilot` folder and verifies each builds after
Add pre-commit hook for byte-identical verification
Add .git/hooks/pre-commit that runs 'make' then 'make clean' in each
project directory before committing. This ensures every project builds
byte-identical before any commit is accepted.
Also includes all file moves from the Donkey Kong Jr. Math (U) demotion
and other file restructuring from the session.
moves code out of copilot folder, its all AI generated.
Moves NROM games into NROM folder
removes copilot folder from Lunar Pool
Adds makefile to build all projects recursively
Updates docs to reflect changes in layout
Repromotes Donkey Kong Jr Math
Repromotes Excitebike
Promotes Popeye (JU) (PRG 1)
Updates Makefile to provide summary of build failure/success
Promote Raid on Bungeling Bay (U): Pass 2/3 partial, whole-ROM byte-identical
Move _wip/NROM/Raid on Bungeling Bay (U) to NROM/ and switch the build
from a PRG-only compare to a whole-ROM one:
- header.s/chr.s added (one-line .incbin of header.bin / chr.bin)
- linker.cfg gains HEADER ($0000, $0010) and CHR ($0000, $2000)
areas ahead of PRG ($C000, $4000)
- rom.nes symlink to the space-containing original ROM name
- Makefile builds header.o/prg.o/chr.o into reconstructed.nes and
compares it against rom.nes ('Byte-identical ROM verified.')
- one leftover neutral indirect operand jmp (Zp01) at $E2EC becomes
jmp (IndDispatch01); apply_symbols.py reports 0 substitutions pending
README.md / TODO.md / AGENTS.md updated: 29 promoted, 7 in _wip/.
Pac-Man (U): Pass 2 complete (label renaming) + Pass 3 partial (ZP aliases, table names)
Pass 2 — fresh map derived from the committed split, not from any drafted
map (the drafted maps in other projects were audited and found not
applicable):
- all 194 address-derived Label_XXXX definitions renamed to semantic
routine-entry names plus <Routine>_<Role>_<addr> internal branch
targets; zero Label_ remains
- all 49 jsr/jmp call sites resolved from raw $XXXX to labels; zero
raw $XXXX call operands remain
- routinemap.tsv / derived_names.tsv record the derivation
Pass 3 (partial):
- 15 proven semantic zero-page aliases added to locals.inc
(GameState, NmiFlag, ScrollX/Y, PpuCtrlShadow, OamDmaPage,
CocktailModeFlag, ActivePlayerFlag, GameplaySuspended, FrameCounter,
StateTimer, Player1/2Input, ActiveInput, CopyrightVerified)
- 112 operands substituted into prg.s (11 single + 101 hardware)
- key data tables named: ProgrammerSig ($C0EB), GameStateDispatchTable
($C253), TitleScreenData ($C2FD), EntityPtrTable ($D912),
AudioCommandTable ($EFDD)
Also corrects the README's claim that the RESET vector points at padding:
$FF00 holds real boot code (sei/cld, PPU off, double vblank wait, then
jmp ColdStart at $C042).
.gitignore: ignore reconstructed_prg.bin (build artifact of the _wip
Makefiles; '**/reconstructed.*' does not match the underscore form).
Promote Pac-Man (U): Pass 2/3 complete, whole-ROM byte-identical
Move _wip/NROM/Pac-Man (U) to NROM/ and switch the build from a PRG-only
compare to a whole-ROM one:
- header.s/chr.s added (one-line .incbin of header.bin / chr.bin)
- linker.cfg gains HEADER ($0000, $0010) and CHR ($0000, $2000)
areas ahead of PRG ($C000, $4000)
- rom.nes symlink to 'Pac-Man (U) [!].nes' (the original ROM name
contains a space and brackets)
- Makefile builds header.o/prg.o/chr.o into reconstructed.nes and
compares it against rom.nes
- reconstructed.nes is 24,592 bytes, MD5 a69d310f8cae9397fbd39f204672b5c7
- equal to the original ROM; the header/prg/chr splits were checked
against the original before promotion and are byte-exact
Pass 3 residue closed. The last 7 multi-alias zero-page operands are
resolved per site through a new sites.tsv, each proven from context
rather than guessed:
- jmp ($0010) at $C250/$D3CA/$D90F/$D9B6 -> (DispatchPtrLo); each
is immediately preceded by sta DispatchPtrLo/sta DispatchPtrHi
- jmp ($00FE) at $EFDA -> (AudioHandlerPtrLo); preceded by
sta AudioHandlerPtrLo/sta AudioHandlerPtrHi
- sta a:$0000,y at $C048/$C089 -> a:Zp00,y; the literal zero-page
base in the two ZP clear loops, so the neutral name is used rather
than the semantic WorkPtrLo. The 'a:' prefix survives the
substitution, so the bytes stay 99 00 00 (sta abs,Y)
apply_symbols.py now reports 119 operands substituted (101 hardware,
11 single-name, 7 site) and 0 residue.
New tool _tools/align_audit_comments.py: re-aligns the audit comment to
column 35 after a substitution lengthens an operand (nesdis.py pads each
instruction to 31 characters). Whitespace-only, so the byte identity
cannot change. 405 lines re-aligned in this project; all 2,387 audit
comments still match prg.bin at the stated PRG offset, 0 mismatches.
Docs: root README.md / TODO.md / AGENTS.md updated - 30 promoted, 6 in
_wip/; a per-project detail entry for Pac-Man (U) added; the stale
'Donkey Kong 3 (JUE) has no README.md' claim corrected (it has a
318-line one).
Promote Raid on Bungeling Bay (U) [a2]: Pass 3 complete, whole-ROM byte-identical
Move _wip/NROM/Raid on Bungeling Bay (U) [a2] to NROM/ and switch the build
from a PRG-only compare to a whole-ROM one:
- header.s/chr.s added (one-line .incbin of header.bin / chr.bin)
- linker.cfg gains HEADER ($0000, $0010) and CHR ($0000, $2000)
areas ahead of PRG ($C000, $4000)
- rom.nes symlink to 'Raid on Bungeling Bay (U) [a2].nes' (the original
ROM name contains spaces and brackets)
- reconstructed.nes is 24,592 bytes, MD5 659d340a1e9d420eee28df13319b0094
- equal to the original ROM; the header/prg/chr splits were checked
against the original before promotion and are byte-exact
Pass 3 - 15 semantic zero-page aliases, each applied only at the sites
where its role is proven:
- PpuCtrlShadow ($C2), 15 sites: the reset entry primes it right after
'sta PPUCTRL', and every other use is an ora/and/eor followed by
'sta PPUCTRL'
- NmiPathSelector ($C4), 5 sites: written 1 at $C3E9 and 0 at $C962
- GameState ($D6), 6 sites: 'cmp #$02' and used as an index at $C4C7
- FrameSubCounter ($55), 6 sites: set to $0A at $C520, decremented per
NMI at $C07B
- PrngPeriodCounter ($EA) / PrngSeedB ($EB) / PrngState ($EC), 13 sites:
the PRNG state
- PtrLo ($00) / PtrHi ($01), 8 sites: the 16-bit pair $1C13 and $1610
compared at $E785/$E791
- IndDispatch01 ($01) / IndDispatch02 ($02), 3 sites: the computed
dispatch at $E2EC
- IndDispatch1B ($1B) / IndDispatch1C ($1C), 6 sites: the dispatch at
$E7A3
- IndDispatch17 ($17) / IndDispatch19 ($19): the dispatches at $E79D
and $E7A0
Addresses that carry two names keep the neutral ZpXX name where the other
role applies - $01 is PtrHi at the 16-bit compare and IndDispatch01 at the
dispatch; $17 is IndDispatch17 at the dispatch and Zp17 for the absolute
RAM $0017 store in the copy loop at $E895/$E8D0.
New tool _tools/apply_zp_aliases.py does the per-site substitution:
apply_symbols.py only rewrites *numeric* operands, so it cannot rename an
operand that is already written as a neutral ZpXX name. The tool keeps the
ca65 'a:' prefix (dropping it would turn 'sta a:Zp17,y' into a zero-page
store and change the bytes) and rewrites only the operand token, so the
audit comment survives byte for byte.
Naming correction in the promoted sibling. Finishing this dump showed that
$EA was misnamed 'VBlankWaitCounter': the routine at $C412 is the game's
pseudo-random generator (the classic eor/asl/php/lsr/plp/rol scrambler,
called from thirteen gameplay sites, twice in a row at $CDF4/$CDF9 with the
second result masked #$07), so $EA is the scrambler's phase counter.
Renamed PrngPeriodCounter in both dumps and named $EB/$EC PrngSeedB /
PrngState. The sibling's two 'sta a:IndDispatch17,y' operands were also
wrong - they are absolute stores to RAM $0017, not the dispatch pointer -
and are now 'a:Zp17,y', matching the file's 'a:' = absolute convention.
Audit-comment alignment re-done with _tools/align_audit_comments.py (1,040
lines here, 1,080 in the sibling). Both files still match prg.bin at every
stated PRG offset: 5,467 and 5,483 audit comments, 0 mismatches.
Docs: root README.md / TODO.md / AGENTS.md updated - 31 promoted, 5 in
_wip/; per-project detail entries added for both Raid dumps.
Promote Pac-Man (Tengen) (U): Pass 2/3 from scratch, whole-ROM byte-identical
Move _wip/NROM/Pac-Man (Tengen) (U) to NROM/ and switch the build from a
PRG-only compare to a whole-ROM one:
- header.s/chr.s added (one-line .incbin of header.bin / chr.bin)
- linker.cfg gains HEADER ($0000, $0010) and CHR ($0000, $2000)
areas ahead of PRG ($C000, $4000)
- rom.nes symlink to 'Pac-Man (Tengen) (U) [!].nes'
- reconstructed.nes is 24,592 bytes, MD5 d34e7a74d8d2c231b6cc601210e28ad0
- equal to the original ROM; the header/prg/chr splits were checked
against the original before promotion and are byte-exact
Disassembled from scratch. No name, map or file was carried over from the
sibling 'Pac-Man (U)' dump; the map was derived from this dump's own
committed split and the two were only compared afterwards.
Pass 2 (new tool _tools/apply_pass2_map.py):
- all 194 Label_XXXX definitions renamed to semantic routine entries plus
<Routine>_<Role> branch targets; zero Label_ remains
- all 48 raw $XXXX jsr/jmp operands resolved to labels; zero raw $XXXX
call or branch operands remain
- the map is in routinemap.tsv
Pass 3:
- 30 semantic zero-page aliases, each applied only at the sites where its
role is proven (per-site choice in sites.tsv; the addresses that carry
two roles keep the neutral ZpXX name elsewhere). _tools/
derive_zp_aliases.py records how the set was derived, and locals.inc
records the reason for every remaining neutral slot
- 28 data tables named (new tool _tools/name_data_region.py), including
CharacterDataTable ($C66A) and CharacterNameStrings ($C67E), where the
ROM itself names Blinky, Pinky, Inky and Clyde - which is why the four
indexed entities are called ghosts and not 'actors'
- apply_symbols.py reports 0 substitutions pending and 0 residue
- audit-comment alignment re-done with _tools/align_audit_comments.py;
all 2,479 audit comments still match prg.bin at the stated PRG offset
Pass 1 correction - six command handlers recovered (new tool
_tools/recode_region.py). ScriptCommandTable ($EFDD) is read by the traced
instruction at $EFCC, and six of its entries point at $F00A, $F022, $F03A,
$F052, $F062 and $F072 - all of which the tracer had left as data, and two
of which it had mis-split across the 'jmp $EF61' at $F01F and $F04F.
Those 120 bytes are code here, decoded straight from the ROM; the six
handlers tile $F00A-$F081 exactly. The same gap exists in the promoted
'Pac-Man (U)' dump, which has not been corrected - recorded in both READMEs.
Residue (documented, not guessed): the unreached main game logic at
$C45A-$C55F is still .byte data. It is code - the tracer's own decoder
walks it cleanly and the dispatch table at $C511 points into it - but
nothing reaches it, so it cannot be entered without a guess. The same gap
exists in the promoted 'Pac-Man (U)' dump. Re-deriving it is a Pass 1 job;
a Mesen Code Data Logger capture is the tool the repo uses for it.
Docs: root README.md / TODO.md / AGENTS.md updated - 32 promoted, 4 in
_wip/; a per-project detail entry added for the Tengen dump.
Promote Pyramid (U): Pass 1 corrected, Pass 2/3 complete, whole-ROM byte-identical
Move _wip/NROM/Pyramid (U) to NROM/ and switch the build from a PRG-only
compare to a whole-ROM one:
- header.s/chr.s added (one-line .incbin of header.bin / chr.bin)
- linker.cfg gains HEADER ($0000, $0010) and CHR ($0000, $2000)
areas ahead of PRG ($C000, $4000)
- rom.nes symlink to 'Pyramid (U) (Sachen).nes'
- reconstructed.nes is 24,592 bytes, MD5 aa285ff17f25dd05da5996b7466c59e2
- equal to the original ROM; the header/prg/chr splits were checked
against the original before promotion and are byte-exact
Pass 1 correction - the committed split was a strict subset of the correct
one. This game dispatches through 'jmp' trampoline tables that live
*inside* the data regions, and the tracer cannot follow a jmp there, so
828 bytes of code were still marked as data. Four such tables were found
($C01E 3 entries, $C02A 6, $C042 2, $C054 5) plus ten more entries at
$C000-$C01B; all sixteen targets decode as valid instructions. Seeding
them, the $C800 boot mainline and six further code starts recovers the
whole lot, plus a five-byte stub at $DF89 (lda $33 / jmp $DECB) that sat
in a hole between two routines. The re-trace loses NO committed code byte
and takes the split from 34.5% to 39.6% (3,130 instructions / 6,493 code
bytes). 'make regen' reproduces it, so the split stays verifiable.
Pass 2 - a fresh map derived from this dump's own committed split:
- 428 Label_XXXX definitions renamed; zero Label_ residue
- 320 raw $XXXX jsr/jmp operands resolved; zero raw $XXXX branch
operands remain
- 431 routine entries and the 32 data blocks named from the code
- the internal branch-target names are derived mechanically from the
branch that reaches them by the new _tools/derive_branch_names.py
(beq -> OnZero, bne -> OnNonzero, bcc/bcs -> the carry cases, a
backwards branch -> Loop)
- recorded in routinemap.tsv
Pass 3:
- 24 semantic zero-page aliases, each applied only where its role is
proven; the 57 slots that stay neutral are each listed with the reason
in locals.inc (the neutral set lives in zp_aliases.inc so that
'make regen' can rebuild locals.inc from prg.bin)
- 32 data tables named - TaskVectorTable1/2, LevelScriptData,
MusicPeriodTable, SoundEnvelopeTable, the actor tables - recorded in
data_region_names.tsv
- apply_symbols.py reports 0 substitutions pending and 0 residue; no
hardware register is left as a raw literal
- the audit comments are now canonical on every line, data included
(the old file carried only 'PRG:$xxxx' on its 1,358 data lines);
all 3,762 audit comments match prg.bin at their stated PRG offset
Kept as-is, not 'cleaned up':
- sta $4100 stays a raw operand. The iNES header claims mapper 0 but
the boot code writes past the NES register space; the ROM does not
explain it, so it is recorded rather than guessed
- the 'A'/'V' check on RAM $0120/$0121 and its seed/clear routines
are named for what they do, not for what they are for
- the ninth entry of the $C3A6 task vector table ($D820) is a junk
slot and stays data
Docs: root README.md / TODO.md / AGENTS.md updated - 33 promoted, 3 in
_wip/; a per-project detail entry added.
Hogan's Alley (JU): Pass 1 correction, Pass 2, Pass 3, promoted to NROM/
The light-gun game whose engine dispatches through *inline* tables:
`IndirectCall` at $C34D pops the return address of the `jsr` that called
it and reads a 16-bit handler pointer from the word that follows, so all
six handler tables ($C124 19 entries, $C219 4, $C89C 14, $CDD1 1, $D234 2,
$D3D6 14) live inside the code stream and the static tracer cannot follow
them.
Pass 1 correction. The committed split was a strict subset of the correct
one -- 41.8% of the PRG was classified as code. A fresh Mesen Code Data
Logger capture was merged with the four captures already in the folder
(hogans_merged.cdl, the OR of five per-byte flag arrays, 6,544 code bytes)
and _tools/cdl_reclass.py rewrote the split to match what the CPU actually
fetched: 1,216 bytes moved from data to code, five the other way, 59 labels
emitted. The split is now 49.1% code (3,950 instructions, 8,041 bytes).
The four branch targets the reclassifier could not prove were turned into
labels by the new _tools/resolve_raw_branches.py.
Pass 2. 206 routine entries hand-named from this dump's own code and 413
internal branch targets derived mechanically by _tools/derive_branch_names.py:
630 Label_XXXX definitions gone, 484 raw $XXXX call operands resolved, 15
call targets the tracer had never labelled given a label. Recorded in
routinemap.tsv. No SubC<addr> residue was needed -- every entry the engine
reaches is named after what it does.
Pass 3. 60 semantic zero-page aliases, each applied only where its role is
proven (zp_aliases.inc, zp_alias_sites.tsv); the slots that stay neutral are
each listed with the reason. All 34 data blocks named
(data_region_names.tsv). apply_symbols.py reports 1 residue: `sta a:$00B4,y`
at $C203, the same address as Zp40/ActorPalette but forced to absolute
addressing, so it must stay numeric.
Promotion. header.s, chr.s and a HEADER/PRG/CHR linker.cfg added, rom.nes
symlinked to the original ROM; the whole-ROM cmp passes on the first
promoted build. There is deliberately no `make regen` target: the Pass 1
split here is the static trace corrected by a CDL capture, and the base the
correction was applied to is not what the current _tools/nesdis.py
produces, so prg.s is the maintained source of truth.
Tools changed:
nesdis.py --split/--note/--provenance options, so a data
region can carry its own name and explanation;
a forced-data address is no longer reported as a
recovered routine entry
apply_pass2_map.py can create the label for a call target the tracer
left unlabelled; no longer double-labels it
apply_zp_aliases.py --at-file, an address-based per-site list
derive_branch_names.py keeps the map's own header instead of writing a
fixed one
resolve_raw_branches.py new: turns `bXX *+$NN` operands into labels
build_hogans_map.py new: the hand-written Pass 2 map builder
The existing regen pipelines (MUSCLE (U), Urban Champion (JU)) still
reproduce prg.s byte for byte.
Apply the symbols.inc register names at Pass 1; fix a dropped byte in cdl_reclass
nesdis.py now names the hardware registers as it renders the operands, so a
project's Pass 1 output already reads `lda PPUSTATUS` instead of `lda $2002`
and the Pass 3 apply_symbols.py step has nothing left to do for them.
* nesdis.py --symbols FILE reads a symbols.inc-style file and substitutes
the register names. Only unambiguous entries in the $2000-$4017 window
are used: $4017 is both JOY2 and APUFRAMECOUNTER, so it stays numeric
and apply_symbols.py reports it as multi-alias residue, exactly as
before. The default is the symbols.inc next to --out, so a new project
gets the names without asking; --no-symbols opts out.
* The renderer records the operand's numeric value on the Insn, because
operand_value() used to re-parse the operand text and could no longer
read a name.
* The controller bit masks in symbols.inc (PAD_A and friends) are
constants, not addresses, and are still never substituted.
MUSCLE (U) and Urban Champion (JU) keep --no-symbols: their committed
prg.s was produced with the registers named by the Pass 3 apply_symbols.py
step, and the columns in those files reflect the in-place substitution.
Adding the missing apply_symbols.py step to both regen pipelines makes
them reproduce their committed prg.s byte for byte again - neither did
before this change (MUSCLE was 440 lines out, Urban Champion 772).
cdl_reclass.py had a bug that cost a byte: a region whose last source row
straddled the region's end was replaced by a regeneration of the region
only, so the tail of that row was dropped. Mario Bros (JU) hit it at
$C595, where the rebuild came out one byte short and every label after it
shifted. A region now covers the whole rows it replaces.
pass2.py reflow takes an optional column argument; the default is
unchanged (the ';' lands on the same column as before).
Mario Bros (JU): Pass 1 correction, Pass 2, Pass 3, promoted to NROM/
A two-player platformer whose handler tables are *inline*: the pointers sit
in the middle of the code stream, right after the `jsr` that reads them, so
the static tracer could never follow them.
Pass 1 correction. The committed split was a strict subset of the correct
one -- only 72.0% of the PRG was classified as code. A Mesen Code Data
Logger capture of this ROM (mario_mesen.cdl, 10,915 code bytes) showed
1,010 bytes the tracer had left as data were code; two branch targets the
capture never reached ($E4CB and $E639) were forced with --override for 57
more, so 1,067 bytes moved from data to code and 22 moved the other way.
The split is now 78.4% code (6,210 instructions, 12,847 bytes). The three
branch targets the reclassifier could not prove were turned into labels by
_resolve_raw_branches.py, which now refuses to put a label on a `.byte` row.
Pass 2. 206 routine entries and 519 internal branch targets: 931
Label_XXXX definitions gone, 51 raw $XXXX call operands resolved and 12 call
targets the tracer had never labelled given a label. Zero SubC residue --
the 185 entries a previous session had left as address-derived residue were
all named from this dump's own code. Recorded in routinemap.tsv.
Pass 3. 25 semantic zero-page aliases, each applied only where its role is
proven (zp_aliases.inc); the slots that stay neutral are each listed with the
reason. 35 data tables named -- GameStateHandlerTable, EnemyBehaviourTable,
EnemyScriptTable, EnemyTypePointerTable, SoundRoutineTable,
NoteFrequencyTable and the rest -- and recorded in
data_region_names.tsv. apply_symbols.py reports 0 residue.
Promotion. header.s, chr.s and a HEADER/PRG/CHR linker.cfg added, rom.nes
symlinked to the original ROM; the whole-ROM cmp passes on the first
promoted build. There is deliberately no `make regen` target: the Pass 1
split here is the static trace corrected by a CDL capture, and the base the
correction was applied to is not what the current _tools/nesdis.py
produces, so prg.s is the maintained source of truth.
Tools:
apply_pass2_map.py renames a label of any spelling -- SubC<addr> is
the honest residue form -- and its references
follow it; one combined pattern, so a 16,000-line
file does not need a substitution per label
resolve_raw_branches.py refuses to label a data row
build_mario_map.py new: the hand-written Pass 2 map builder
Remove the old _wip/NROM/Mario Bros (JU) folder (promoted to NROM/)
Mario Bros (JU): add the promoted-tier header, CHR, rom.nes symlink and zero-page aliases
Moves _ROMS/<ROM> into _wip/<MAPPER>/<ROM>
Sync the docs and the skeleton tool with the 857-project _wip tier
The _wip/ tier now holds 857 projects across 30 mapper folders, all
building byte-identical for the whole ROM. README.md, TODO.md and
AGENTS.md still described the old 39-project tier, so bring them in line
with WIP.md, which carries the tier's index.
The tier is no longer 39 projects of NROM-256 with a 16/32 KB PRG:
only two projects have a 16 KB PRG, 151 have 32 KB, 523 have 128 KB and
one has 1.5 MB, so most of it is a banked mapper whose image does not fit
the 6502's address space. Those projects link their MEMORY areas at .nes
file offsets rather than CPU addresses, which is the only option and the
honest model; the 39 older projects keep the CPU-address layout because
their PRG really is one contiguous window.
make_skeleton.py gains the two layouts (--layout flat|cpu), the board
name for the mapper, and a fix for find_rom() mistaking the build
output reconstructed.nes for the source ROM.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16436 lines
1.0 MiB
Plaintext
16436 lines
1.0 MiB
Plaintext
; 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.
|
|
; Pass 2 replaces address-derived labels, RAM aliases, and table names while
|
|
; preserving byte identity.
|
|
;
|
|
; Vectors: NMI=$C076 RESET=$C014 IRQ=$FFF0
|
|
; PRG mapped at $C000-$FFFF (NROM, mirrored to the upper half)
|
|
;
|
|
; 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
|
|
;
|
|
.setcpu "6502"
|
|
|
|
.include "symbols.inc"
|
|
.include "locals.inc"
|
|
|
|
.segment "PRG"
|
|
|
|
; ---- 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Reset
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Reset:
|
|
sei ; CPU:$C014 PRG:0014 78
|
|
cld ; CPU:$C015 PRG:0015 D8
|
|
lda #$10 ; CPU:$C016 PRG:0016 A9 10
|
|
sta PPUCTRL ; CPU:$C018 PRG:0018 8D 00 20
|
|
ldx #$FF ; CPU:$C01B PRG:001B A2 FF
|
|
txs ; CPU:$C01D PRG:001D 9A
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
WaitVBlank_1:
|
|
lda PPUSTATUS ; CPU:$C01E PRG:001E AD 02 20
|
|
asl a ; CPU:$C021 PRG:0021 0A
|
|
bcc WaitVBlank_1 ; CPU:$C022 PRG:0022 90 FA
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
WaitVBlank2_1:
|
|
lda PPUSTATUS ; CPU:$C024 PRG:0024 AD 02 20
|
|
asl a ; CPU:$C027 PRG:0027 0A
|
|
bcc WaitVBlank2_1 ; CPU:$C028 PRG:0028 90 FA
|
|
ldy #$07 ; CPU:$C02A PRG:002A A0 07
|
|
sty PtrHi ; CPU:$C02C PRG:002C 84 01
|
|
ldy #$00 ; CPU:$C02E PRG:002E A0 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
|
|
bne ClearZeropage ; CPU:$C038 PRG:0038 D0 07
|
|
cpx $0781 ; CPU:$C03A PRG:003A EC 81 07
|
|
bne ClearZeropage ; CPU:$C03D PRG:003D D0 02
|
|
ldy #$EC ; CPU:$C03F PRG:003F A0 EC
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
ClearZeropage:
|
|
sta (PtrLo),y ; CPU:$C041 PRG:0041 91 00
|
|
dey ; CPU:$C043 PRG:0043 88
|
|
bne ClearZeropage ; CPU:$C044 PRG:0044 D0 FB
|
|
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
|
|
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: 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
InitAPU_1:
|
|
jsr $CACE ; CPU:$C058 PRG:0058 20 CE CA
|
|
jmp $C058 ; CPU:$C05B PRG:005B 4C 58 C0
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
InitAPU_3:
|
|
lda #$00 ; CPU:$C05E PRG:005E A9 00
|
|
sta APUDMCDIRECT ; CPU:$C060 PRG:0060 8D 11 40
|
|
lda #$0F ; CPU:$C063 PRG:0063 A9 0F
|
|
sta APUSTATUS ; CPU:$C065 PRG:0065 8D 15 40
|
|
lda #$06 ; CPU:$C068 PRG:0068 A9 06
|
|
sta PPUMASK ; CPU:$C06A PRG:006A 8D 01 20
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: MainGameLoop
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
MainGameLoop:
|
|
jsr $C883 ; CPU:$C06D PRG:006D 20 83 C8
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
GameLoopEntry_1:
|
|
jsr $C89A ; CPU:$C070 PRG:0070 20 9A C8
|
|
jmp $C81D ; CPU:$C073 PRG:0073 4C 1D C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: NmiHandler
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
NmiHandler:
|
|
pha ; CPU:$C076 PRG:0076 48
|
|
txa ; CPU:$C077 PRG:0077 8A
|
|
pha ; CPU:$C078 PRG:0078 48
|
|
tya ; CPU:$C079 PRG:0079 98
|
|
pha ; CPU:$C07A PRG:007A 48
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 NmiFrameUpdate2 ; CPU:$C08A PRG:008A D0 09
|
|
lda Zp11 ; CPU:$C08C PRG:008C A5 11
|
|
ora #$1E ; CPU:$C08E PRG:008E 09 1E
|
|
sta PPUMASK ; CPU:$C090 PRG:0090 8D 01 20
|
|
sta Zp11 ; CPU:$C093 PRG:0093 85 11
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
NmiFrameUpdate2:
|
|
lda #$00 ; CPU:$C095 PRG:0095 A9 00
|
|
sta OAMADDR ; CPU:$C097 PRG:0097 8D 03 20
|
|
lda #$02 ; CPU:$C09A PRG:009A A9 02
|
|
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 PPUADDR ; CPU:$C0AA PRG:00AA 8D 06 20
|
|
lda #$00 ; CPU:$C0AD PRG:00AD A9 00
|
|
sta PPUADDR ; CPU:$C0AF PRG:00AF 8D 06 20
|
|
sta PPUADDR ; CPU:$C0B2 PRG:00B2 8D 06 20
|
|
sta PPUADDR ; CPU:$C0B5 PRG:00B5 8D 06 20
|
|
lda PPUSTATUS ; CPU:$C0B8 PRG:00B8 AD 02 20
|
|
jsr $CB81 ; CPU:$C0BB PRG:00BB 20 81 CB
|
|
lda VBlankTimer ; CPU:$C0BE PRG:00BE A5 10
|
|
sta 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 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: 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
GameStateUpdate:
|
|
lda Zp51 ; CPU:$C0D3 PRG:00D3 A5 51
|
|
beq GameLoopEntry_4 ; CPU:$C0D5 PRG:00D5 F0 4F
|
|
ldx $034C ; CPU:$C0D7 PRG:00D7 AE 4C 03
|
|
beq Label_C11A ; CPU:$C0DA PRG:00DA F0 3E
|
|
dex ; CPU:$C0DC PRG:00DC CA
|
|
beq UpdateGameState5 ; CPU:$C0DD PRG:00DD F0 24
|
|
dex ; CPU:$C0DF PRG:00DF CA
|
|
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 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 UpdateGameState2_4 ; CPU:$C0EF PRG:00EF F0 47
|
|
ldy #$40 ; CPU:$C0F1 PRG:00F1 A0 40
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C0F3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C0F3:
|
|
sty ZpFB ; CPU:$C0F3 PRG:00F3 84 FB
|
|
lda #$40 ; CPU:$C0F5 PRG:00F5 A9 40
|
|
sta $034D ; CPU:$C0F7 PRG:00F7 8D 4D 03
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateGameState3_1:
|
|
inc $034C ; CPU:$C0FA PRG:00FA EE 4C 03
|
|
jmp $C138 ; CPU:$C0FD PRG:00FD 4C 38 C1
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateGameState4:
|
|
dex ; CPU:$C100 PRG:0100 CA
|
|
bne UpdateGameState6 ; CPU:$C101 PRG:0101 D0 07
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateGameState5:
|
|
dec $034D ; CPU:$C103 PRG:0103 CE 4D 03
|
|
beq UpdateGameState3_1 ; CPU:$C106 PRG:0106 F0 F2
|
|
bne UpdateGameState2_4 ; CPU:$C108 PRG:0108 D0 2E
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateGameState6:
|
|
lda Zp11 ; CPU:$C10A PRG:010A A5 11
|
|
ora #$10 ; CPU:$C10C PRG:010C 09 10
|
|
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 UpdateGameState2_4 ; CPU:$C118 PRG:0118 F0 1E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C11A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C11A:
|
|
ldy #$20 ; CPU:$C11A PRG:011A A0 20
|
|
lda Zp15 ; CPU:$C11C PRG:011C A5 15
|
|
and #$10 ; CPU:$C11E PRG:011E 29 10
|
|
beq GameLoopEntry_4 ; CPU:$C120 PRG:0120 F0 04
|
|
lda ZpCheckZp14 ; CPU:$C122 PRG:0122 A5 55
|
|
bne Label_C0F3 ; CPU:$C124 PRG:0124 D0 CD
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: GameLoopEntry_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
jsr $C437 ; CPU:$C12F PRG:012F 20 37 C4
|
|
jmp $C138 ; CPU:$C132 PRG:0132 4C 38 C1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C135
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C135:
|
|
jsr $C44A ; CPU:$C135 PRG:0135 20 4A C4
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateGameState2_4:
|
|
jsr $C141 ; CPU:$C138 PRG:0138 20 41 C1
|
|
pla ; CPU:$C13B PRG:013B 68
|
|
tay ; CPU:$C13C PRG:013C A8
|
|
pla ; CPU:$C13D PRG:013D 68
|
|
tax ; CPU:$C13E PRG:013E AA
|
|
pla ; CPU:$C13F PRG:013F 68
|
|
rti ; CPU:$C140 PRG:0140 40
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateGameState2_5:
|
|
lda PPUSTATUS ; CPU:$C141 PRG:0141 AD 02 20
|
|
lda VBlankTimer ; CPU:$C144 PRG:0144 A5 10
|
|
ora #$80 ; CPU:$C146 PRG:0146 09 80
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
WaitVBlankFrame2:
|
|
sta VBlankTimer ; CPU:$C148 PRG:0148 85 10
|
|
sta PPUCTRL ; CPU:$C14A PRG:014A 8D 00 20
|
|
rts ; CPU:$C14D PRG:014D 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
InitSprites_1:
|
|
ldx #$00 ; CPU:$C14E PRG:014E A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
CopySprites:
|
|
lda $C000,x ; CPU:$C150 PRG:0150 BD 00 C0
|
|
sta PtrLo ; CPU:$C153 PRG:0153 85 00
|
|
lda $C00A,x ; CPU:$C155 PRG:0155 BD 0A C0
|
|
sta PtrHi ; CPU:$C158 PRG:0158 85 01
|
|
jsr $CB78 ; CPU:$C15A PRG:015A 20 78 CB
|
|
lda #$00 ; CPU:$C15D PRG:015D A9 00
|
|
sta $0300 ; CPU:$C15F PRG:015F 8D 00 03
|
|
sta $0301 ; CPU:$C162 PRG:0162 8D 01 03
|
|
rts ; CPU:$C165 PRG:0165 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C166
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C166:
|
|
lda Zp43 ; CPU:$C166 PRG:0166 A5 43
|
|
bne Label_C1D6 ; CPU:$C168 PRG:0168 D0 6C
|
|
jsr $C891 ; CPU:$C16A PRG:016A 20 91 C8
|
|
ldx Zp57 ; CPU:$C16D PRG:016D A6 57
|
|
bne Label_C182 ; CPU:$C16F PRG:016F D0 11
|
|
lda #$80 ; CPU:$C171 PRG:0171 A9 80
|
|
sta ZpFB ; CPU:$C173 PRG:0173 85 FB
|
|
jsr $C06D ; CPU:$C175 PRG:0175 20 6D C0
|
|
ldx #$00 ; CPU:$C178 PRG:0178 A2 00
|
|
jsr $C6FB ; CPU:$C17A PRG:017A 20 FB C6
|
|
lda #$01 ; CPU:$C17D PRG:017D A9 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C17F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C17F:
|
|
jmp $C218 ; CPU:$C17F PRG:017F 4C 18 C2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C182
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C182:
|
|
dex ; CPU:$C182 PRG:0182 CA
|
|
bne Label_C189 ; CPU:$C183 PRG:0183 D0 04
|
|
lda #$05 ; CPU:$C185 PRG:0185 A9 05
|
|
bne Label_C17F ; CPU:$C187 PRG:0187 D0 F6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C189
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 PtrLo ; CPU:$C18E PRG:018E 85 00
|
|
jsr $CA4C ; CPU:$C190 PRG:0190 20 4C CA
|
|
lda #$F1 ; CPU:$C193 PRG:0193 A9 F1
|
|
jsr $C8E0 ; CPU:$C195 PRG:0195 20 E0 C8
|
|
jmp $C21A ; CPU:$C198 PRG:0198 4C 1A C2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C19B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C19B:
|
|
lda #$00 ; CPU:$C19B PRG:019B A9 00
|
|
sta Zp56 ; CPU:$C19D PRG:019D 85 56
|
|
sta Zp57 ; CPU:$C19F PRG:019F 85 57
|
|
sta $03FA ; CPU:$C1A1 PRG:01A1 8D FA 03
|
|
sta $03FB ; CPU:$C1A4 PRG:01A4 8D FB 03
|
|
sta Zp13 ; CPU:$C1A7 PRG:01A7 85 13
|
|
sta Zp22 ; CPU:$C1A9 PRG:01A9 85 22
|
|
sta Zp23 ; CPU:$C1AB PRG:01AB 85 23
|
|
ldx #$09 ; CPU:$C1AD PRG:01AD A2 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C1AF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C1AF:
|
|
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
|
|
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
|
|
lda #$03 ; CPU:$C1C1 PRG:01C1 A9 03
|
|
sta Zp54 ; CPU:$C1C3 PRG:01C3 85 54
|
|
lda #$58 ; CPU:$C1C5 PRG:01C5 A9 58
|
|
sta Zp4D ; CPU:$C1C7 PRG:01C7 85 4D
|
|
lda #$09 ; CPU:$C1C9 PRG:01C9 A9 09
|
|
sta Zp31 ; CPU:$C1CB PRG:01CB 85 31
|
|
lsr a ; CPU:$C1CD PRG:01CD 4A
|
|
sta ZpFB ; CPU:$C1CE PRG:01CE 85 FB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C1D0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C1D0:
|
|
lda #$80 ; CPU:$C1D0 PRG:01D0 A9 80
|
|
sta Zp4E ; CPU:$C1D2 PRG:01D2 85 4E
|
|
inc Zp51 ; CPU:$C1D4 PRG:01D4 E6 51
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C1D6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C1D6:
|
|
rts ; CPU:$C1D6 PRG:01D6 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C1D7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C1D7:
|
|
jsr $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
|
|
jsr $C070 ; CPU:$C1DE PRG:01DE 20 70 C0
|
|
lda VBlankTimer ; CPU:$C1E1 PRG:01E1 A5 10
|
|
and #$FD ; CPU:$C1E3 PRG:01E3 29 FD
|
|
sta VBlankTimer ; CPU:$C1E5 PRG:01E5 85 10
|
|
lda #$9F ; CPU:$C1E7 PRG:01E7 A9 9F
|
|
sta Zp13 ; CPU:$C1E9 PRG:01E9 85 13
|
|
lda #$04 ; CPU:$C1EB PRG:01EB A9 04
|
|
jmp $C218 ; CPU:$C1ED PRG:01ED 4C 18 C2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C1F0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C1F0:
|
|
cmp #$01 ; CPU:$C1F0 PRG:01F0 C9 01
|
|
beq UpdateSprites2_1 ; CPU:$C1F2 PRG:01F2 F0 26
|
|
cmp #$02 ; CPU:$C1F4 PRG:01F4 C9 02
|
|
bne Label_C21D ; CPU:$C1F6 PRG:01F6 D0 25
|
|
lda #$00 ; CPU:$C1F8 PRG:01F8 A9 00
|
|
sta Zp7C ; CPU:$C1FA PRG:01FA 85 7C
|
|
ldx #$77 ; CPU:$C1FC PRG:01FC A2 77
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C1FE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C1FE:
|
|
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
|
|
sta $0380,x ; CPU:$C204 PRG:0204 9D 80 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C207
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C207:
|
|
dex ; CPU:$C207 PRG:0207 CA
|
|
bpl Label_C1FE ; CPU:$C208 PRG:0208 10 F4
|
|
jsr $C5A7 ; CPU:$C20A PRG:020A 20 A7 C5
|
|
lda #$01 ; CPU:$C20D PRG:020D A9 01
|
|
sta ZpDA ; CPU:$C20F PRG:020F 85 DA
|
|
lda #$04 ; CPU:$C211 PRG:0211 A9 04
|
|
sta Zp90 ; CPU:$C213 PRG:0213 85 90
|
|
lsr a ; CPU:$C215 PRG:0215 4A
|
|
sta ZpDB ; CPU:$C216 PRG:0216 85 DB
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites_1:
|
|
sta Zp52 ; CPU:$C218 PRG:0218 85 52
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites2_1:
|
|
inc Zp57 ; CPU:$C21A PRG:021A E6 57
|
|
rts ; CPU:$C21C PRG:021C 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C21D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C21D:
|
|
cmp #$03 ; CPU:$C21D PRG:021D C9 03
|
|
bne Label_C23B ; CPU:$C21F PRG:021F D0 1A
|
|
jsr $E79D ; CPU:$C221 PRG:0221 20 9D E7
|
|
jsr $E4C2 ; CPU:$C224 PRG:0224 20 C2 E4
|
|
jsr $C542 ; CPU:$C227 PRG:0227 20 42 C5
|
|
jsr $C4D7 ; CPU:$C22A PRG:022A 20 D7 C4
|
|
jsr $DFAB ; CPU:$C22D PRG:022D 20 AB DF
|
|
jsr $DD16 ; CPU:$C230 PRG:0230 20 16 DD
|
|
jsr $DD1D ; CPU:$C233 PRG:0233 20 1D DD
|
|
inc Zp57 ; CPU:$C236 PRG:0236 E6 57
|
|
jmp $E05E ; CPU:$C238 PRG:0238 4C 5E E0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C23B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C23B:
|
|
lda #$00 ; CPU:$C23B PRG:023B A9 00
|
|
ldy #$90 ; CPU:$C23D PRG:023D A0 90
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C23F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C23F:
|
|
sta a:SprData2,y ; CPU:$C23F PRG:023F 99 5F 00
|
|
dey ; CPU:$C242 PRG:0242 88
|
|
bne Label_C23F ; CPU:$C243 PRG:0243 D0 FA
|
|
lda #$04 ; CPU:$C245 PRG:0245 A9 04
|
|
sta Zp90 ; CPU:$C247 PRG:0247 85 90
|
|
lda #$38 ; CPU:$C249 PRG:0249 A9 38
|
|
sta Zp64 ; CPU:$C24B PRG:024B 85 64
|
|
lda #$B8 ; CPU:$C24D PRG:024D A9 B8
|
|
sta Zp65 ; CPU:$C24F PRG:024F 85 65
|
|
ldx #$01 ; CPU:$C251 PRG:0251 A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C253
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C253:
|
|
lda #$00 ; CPU:$C253 PRG:0253 A9 00
|
|
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 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
|
|
sta $063F ; CPU:$C26B PRG:026B 8D 3F 06
|
|
sta Zp2D,x ; CPU:$C26E PRG:026E 95 2D
|
|
lda #$C0 ; CPU:$C270 PRG:0270 A9 C0
|
|
sta Zp66,x ; CPU:$C272 PRG:0272 95 66
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C274
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C274:
|
|
dex ; CPU:$C274 PRG:0274 CA
|
|
bpl Label_C253 ; CPU:$C275 PRG:0275 10 DC
|
|
ldx #$02 ; CPU:$C277 PRG:0277 A2 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C279
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C279:
|
|
jsr $F19E ; CPU:$C279 PRG:0279 20 9E F1
|
|
dex ; CPU:$C27C PRG:027C CA
|
|
bpl Label_C279 ; CPU:$C27D PRG:027D 10 FA
|
|
lda #$05 ; CPU:$C27F PRG:027F A9 05
|
|
sta Zp8B ; CPU:$C281 PRG:0281 85 8B
|
|
lda #$80 ; CPU:$C283 PRG:0283 A9 80
|
|
sta Zp3D ; CPU:$C285 PRG:0285 85 3D
|
|
lda #$01 ; CPU:$C287 PRG:0287 A9 01
|
|
sta Zp2C ; CPU:$C289 PRG:0289 85 2C
|
|
lda #$1A ; CPU:$C28B PRG:028B A9 1A
|
|
sta Zp4A ; CPU:$C28D PRG:028D 85 4A
|
|
lda #$21 ; CPU:$C28F PRG:028F A9 21
|
|
sta Zp4B ; CPU:$C291 PRG:0291 85 4B
|
|
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 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
|
|
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: 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C2B0:
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C2C1:
|
|
jmp $C218 ; CPU:$C2C1 PRG:02C1 4C 18 C2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C2C4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C2C4:
|
|
dex ; CPU:$C2C4 PRG:02C4 CA
|
|
bne Label_C2CE ; CPU:$C2C5 PRG:02C5 D0 07
|
|
jsr $F524 ; CPU:$C2C7 PRG:02C7 20 24 F5
|
|
lda #$05 ; CPU:$C2CA PRG:02CA A9 05
|
|
bne Label_C2C1 ; CPU:$C2CC PRG:02CC D0 F3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C2CE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C2CE:
|
|
dex ; CPU:$C2CE PRG:02CE CA
|
|
bne Label_C2D9 ; CPU:$C2CF PRG:02CF D0 08
|
|
lda Zp58 ; CPU:$C2D1 PRG:02D1 A5 58
|
|
beq Label_C2D9 ; CPU:$C2D3 PRG:02D3 F0 04
|
|
lda #$08 ; CPU:$C2D5 PRG:02D5 A9 08
|
|
bne Label_C2C1 ; CPU:$C2D7 PRG:02D7 D0 E8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C2D9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C2D9:
|
|
jsr $F586 ; CPU:$C2D9 PRG:02D9 20 86 F5
|
|
lda #$00 ; CPU:$C2DC PRG:02DC A9 00
|
|
sta Zp84 ; CPU:$C2DE PRG:02DE 85 84
|
|
lda #$10 ; CPU:$C2E0 PRG:02E0 A9 10
|
|
sta Zp37 ; CPU:$C2E2 PRG:02E2 85 37
|
|
sta Zp38 ; CPU:$C2E4 PRG:02E4 85 38
|
|
lda #$68 ; CPU:$C2E6 PRG:02E6 A9 68
|
|
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
|
|
.byte $A9, $06, $85, $7A, $4C, $18, $C2, $CA, $D0, $22, $C6, $13, $C6, $13, $A6, $26 ; CPU:$C31D PRG:031D A9 06 85 7A 4C 18 C2 CA D0 22 C6 13 C6 13 A6 26
|
|
.byte $E0, $02, $D0, $07, $A2, $00, $20, $8D, $C3, $A2, $01, $20, $8D, $C3, $20, $BF ; CPU:$C32D PRG:032D E0 02 D0 07 A2 00 20 8D C3 A2 01 20 8D C3 20 BF
|
|
.byte $EC, $A5, $13, $C9, $20, $B0, $48, $A9, $03, $4C, $18, $C2, $CA, $D0, $07, $E6 ; CPU:$C33D PRG:033D EC A5 13 C9 20 B0 48 A9 03 4C 18 C2 CA D0 07 E6
|
|
.byte $57, $A2, $0A, $4C, $91, $F6, $A9, $00, $85, $6A, $85, $6B, $85, $5A, $85, $5B ; CPU:$C34D PRG:034D 57 A2 0A 4C 91 F6 A9 00 85 6A 85 6B 85 5A 85 5B
|
|
.byte $8D, $52, $03, $8D, $53, $03, $A6, $26, $E0, $02, $D0, $07, $A2, $00, $20, $99 ; CPU:$C35D PRG:035D 8D 52 03 8D 53 03 A6 26 E0 02 D0 07 A2 00 20 99
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C38D:
|
|
inc Zp66,x ; CPU:$C38D PRG:038D F6 66
|
|
inc Zp66,x ; CPU:$C38F PRG:038F F6 66
|
|
lda #$00 ; CPU:$C391 PRG:0391 A9 00
|
|
sta Zp70,x ; CPU:$C393 PRG:0393 95 70
|
|
sta Zp6C,x ; CPU:$C395 PRG:0395 95 6C
|
|
beq 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 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.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C39F:
|
|
stx SprData2 ; CPU:$C39F PRG:039F 86 5F
|
|
jmp $CDFF ; CPU:$C3A1 PRG:03A1 4C FF CD
|
|
; ---- data $C3A4-$C435 (146 bytes) ----
|
|
SpriteAnimTable2: ; Sprite animation table 2 (UpdateSprites2_3)
|
|
.byte $A5, $57, $C9, $06, $F0, $22, $20, $D7, $C1, $A5, $57, $C9, $05, $D0, $18, $A5 ; CPU:$C3A4 PRG:03A4 A5 57 C9 06 F0 22 20 D7 C1 A5 57 C9 05 D0 18 A5
|
|
.byte $53, $D0, $0A, $A9, $00, $A2, $0E, $9D, $F0, $07, $CA, $10, $FA, $20, $1D, $C8 ; CPU:$C3B4 PRG:03B4 53 D0 0A A9 00 A2 0E 9D F0 07 CA 10 FA 20 1D C8
|
|
.byte $20, $0F, $F6, $E6, $57, $C6, $51, $60, $A2, $0A, $20, $91, $F6, $A9, $70, $85 ; CPU:$C3C4 PRG:03C4 20 0F F6 E6 57 C6 51 60 A2 0A 20 91 F6 A9 70 85
|
|
.byte $D6, $0A, $85, $D7, $A9, $00, $85, $D4, $85, $D5, $A9, $04, $85, $1F, $4A, $85 ; CPU:$C3D4 PRG:03D4 D6 0A 85 D7 A9 00 85 D4 85 D5 A9 04 85 1F 4A 85
|
|
.byte $7A, $4C, $A7, $C2, $A5, $D7, $C9, $1D, $90, $35, $C9, $80, $D0, $27, $C6, $13 ; CPU:$C3E4 PRG:03E4 7A 4C A7 C2 A5 D7 C9 1D 90 35 C9 80 D0 27 C6 13
|
|
.byte $C6, $13, $20, $EA, $D8, $A5, $13, $C9, $02, $B0, $0C, $A6, $7A, $F0, $16, $A9 ; CPU:$C3F4 PRG:03F4 C6 13 20 EA D8 A5 13 C9 02 B0 0C A6 7A F0 16 A9
|
|
.byte $03, $CA, $F0, $01, $0A, $85, $52, $C6, $1F, $D0, $07, $A9, $04, $85, $1F, $20 ; CPU:$C404 PRG:0404 03 CA F0 01 0A 85 52 C6 1F D0 07 A9 04 85 1F 20
|
|
.byte $EC, $F2, $4C, $1D, $C4, $C6, $D7, $C6, $D7, $20, $37, $F7, $4C, $7E, $F6, $A5 ; CPU:$C414 PRG:0414 EC F2 4C 1D C4 C6 D7 C6 D7 20 37 F7 4C 7E F6 A5
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C436:
|
|
rts ; CPU:$C436 PRG:0436 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
CheckZp34:
|
|
lda Zp34 ; CPU:$C437 PRG:0437 A5 34
|
|
bne Label_C436 ; CPU:$C439 PRG:0439 D0 FB
|
|
jsr $C726 ; CPU:$C43B PRG:043B 20 26 C7
|
|
ror ZpC1 ; CPU:$C43E PRG:043E 66 C1
|
|
; ---- data $C440-$C449 (10 bytes) ----
|
|
SpriteDataTable1: ; Sprite data table 1 (CheckZp34/UpdateSprites2_4)
|
|
.byte $D7, $C1, $ED, $C2, $AD, $C2, $B0, $C2, $A4, $C3 ; CPU:$C440 PRG:0440 D7 C1 ED C2 AD C2 B0 C2 A4 C3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateSprites2_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
rts ; CPU:$C451 PRG:0451 60
|
|
; ---- data $C452-$C4BF (110 bytes) ----
|
|
; referenced by `lda $C45D,x` at $C4CD (operand $C45D falls inside this region)
|
|
.byte $C4, $FB, $CB, $9E, $CC, $67, $CC, $6C, $CC, $E8, $C3, $6F, $00, $38, $A5, $59 ; CPU:$C452 PRG:0452 C4 FB CB 9E CC 67 CC 6C CC E8 C3 6F 00 38 A5 59
|
|
.byte $29, $1F, $85, $59, $20, $3E, $F5, $A5, $4E, $D0, $17, $8D, $15, $40, $85, $58 ; CPU:$C462 PRG:0462 29 1F 85 59 20 3E F5 A5 4E D0 17 8D 15 40 85 58
|
|
.byte $A5, $59, $8D, $FE, $03, $AD, $FD, $03, $29, $03, $85, $59, $A9, $01, $85, $53 ; CPU:$C472 PRG:0472 A5 59 8D FE 03 AD FD 03 29 03 85 59 A9 01 85 53
|
|
.byte $D0, $20, $A5, $4D, $C9, $01, $D0, $06, $4A, $85, $4D, $6A, $85, $FB, $A5, $15 ; CPU:$C482 PRG:0482 D0 20 A5 4D C9 01 D0 06 4A 85 4D 6A 85 FB A5 15
|
|
.byte $29, $20, $F0, $08, $20, $BA, $C4, $A9, $80, $85, $4E, $60, $A5, $15, $29, $10 ; CPU:$C492 PRG:0492 29 20 F0 08 20 BA C4 A9 80 85 4E 60 A5 15 29 10
|
|
.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: 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
lda #$8F ; CPU:$C4C6 PRG:04C6 A9 8F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C4C8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C4C8:
|
|
sta $0200 ; CPU:$C4C8 PRG:04C8 8D 00 02
|
|
ldx #$02 ; CPU:$C4CB PRG:04CB A2 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C4CD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C4CD:
|
|
lda $C45D,x ; CPU:$C4CD PRG:04CD BD 5D C4
|
|
sta $0201,x ; CPU:$C4D0 PRG:04D0 9D 01 02
|
|
dex ; CPU:$C4D3 PRG:04D3 CA
|
|
bpl Label_C4CD ; CPU:$C4D4 PRG:04D4 10 F7
|
|
rts ; CPU:$C4D6 PRG:04D6 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
InitSprites_3:
|
|
ldy #$17 ; CPU:$C4D7 PRG:04D7 A0 17
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C4D9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C4D9:
|
|
lda #$00 ; CPU:$C4D9 PRG:04D9 A9 00
|
|
sta $04C0,y ; CPU:$C4DB PRG:04DB 99 C0 04
|
|
lda #$FF ; CPU:$C4DE PRG:04DE A9 FF
|
|
sta $05C0,y ; CPU:$C4E0 PRG:04E0 99 C0 05
|
|
dey ; CPU:$C4E3 PRG:04E3 88
|
|
bpl Label_C4D9 ; CPU:$C4E4 PRG:04E4 10 F3
|
|
ldy #$01 ; CPU:$C4E6 PRG:04E6 A0 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C4E8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C4E8:
|
|
sta $04C3,y ; CPU:$C4E8 PRG:04E8 99 C3 04
|
|
sta $04CB,y ; CPU:$C4EB PRG:04EB 99 CB 04
|
|
sta $04D3,y ; CPU:$C4EE PRG:04EE 99 D3 04
|
|
dey ; CPU:$C4F1 PRG:04F1 88
|
|
bpl Label_C4E8 ; CPU:$C4F2 PRG:04F2 10 F4
|
|
ldx #$00 ; CPU:$C4F4 PRG:04F4 A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C4F6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C4F6:
|
|
lda #$00 ; CPU:$C4F6 PRG:04F6 A9 00
|
|
sta $0430,x ; CPU:$C4F8 PRG:04F8 9D 30 04
|
|
sta $0447,x ; CPU:$C4FB PRG:04FB 9D 47 04
|
|
cpx #$48 ; CPU:$C4FE PRG:04FE E0 48
|
|
bcc Label_C508 ; CPU:$C500 PRG:0500 90 06
|
|
sta $0431,x ; CPU:$C502 PRG:0502 9D 31 04
|
|
sta $0446,x ; CPU:$C505 PRG:0505 9D 46 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C508
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C508:
|
|
txa ; CPU:$C508 PRG:0508 8A
|
|
clc ; CPU:$C509 PRG:0509 18
|
|
adc #$18 ; CPU:$C50A PRG:050A 69 18
|
|
tax ; CPU:$C50C PRG:050C AA
|
|
cpx #$90 ; CPU:$C50D PRG:050D E0 90
|
|
bcc Label_C4F6 ; CPU:$C50F PRG:050F 90 E5
|
|
rts ; CPU:$C511 PRG:0511 60
|
|
; ---- data $C512-$C541 (48 bytes) ----
|
|
; referenced by `lda $C512,y` at $C55A (operand $C512 falls inside this region)
|
|
; referenced by `lda $C513,y` at $C55F (operand $C513 falls inside this region)
|
|
; referenced by `lda $C514,y` at $C564 (operand $C514 falls inside this region)
|
|
SpriteInitTable: ; Sprite initialization table (InitSprites_3/UpdateSprites_3)
|
|
.byte $00, $00, $00, $FF, $FF, $FF, $F3, $E7, $CF, $33, $33, $33, $0F, $0F, $0F, $33 ; CPU:$C512 PRG:0512 00 00 00 FF FF FF F3 E7 CF 33 33 33 0F 0F 0F 33
|
|
.byte $00, $CC, $FF, $0F, $FF, $C3, $FC, $3F, $F0, $F0, $F0, $F0, $00, $0F, $CF, $CF ; CPU:$C522 PRG:0522 00 CC FF 0F FF C3 FC 3F F0 F0 F0 F0 00 0F CF CF
|
|
.byte $3F, $F0, $00, $FF, $CC, $CC, $CC, $F3, $33, $00, $FC, $FC, $FF, $FC, $00, $3F ; CPU:$C532 PRG:0532 3F F0 00 FF CC CC CC F3 33 00 FC FC FF FC 00 3F
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
lda #$00 ; CPU:$C549 PRG:0549 A9 00
|
|
sta Zp0D ; CPU:$C54B PRG:054B 85 0D
|
|
lda #$04 ; CPU:$C54D PRG:054D A9 04
|
|
sta Zp0E ; CPU:$C54F PRG:054F 85 0E
|
|
ldx #$07 ; CPU:$C551 PRG:0551 A2 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C553
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C553:
|
|
lda Zp04,x ; CPU:$C553 PRG:0553 B5 04
|
|
asl a ; CPU:$C555 PRG:0555 0A
|
|
clc ; CPU:$C556 PRG:0556 18
|
|
adc Zp04,x ; CPU:$C557 PRG:0557 75 04
|
|
tay ; CPU:$C559 PRG:0559 A8
|
|
lda $C512,y ; CPU:$C55A PRG:055A B9 12 C5
|
|
sta PtrLo ; CPU:$C55D PRG:055D 85 00
|
|
lda $C513,y ; CPU:$C55F PRG:055F B9 13 C5
|
|
sta PtrHi ; CPU:$C562 PRG:0562 85 01
|
|
lda $C514,y ; CPU:$C564 PRG:0564 B9 14 C5
|
|
sta Ptr2Lo ; CPU:$C567 PRG:0567 85 02
|
|
ldy Zp0C ; CPU:$C569 PRG:0569 A4 0C
|
|
lda #$01 ; CPU:$C56B PRG:056B A9 01
|
|
sta Zp1F ; CPU:$C56D PRG:056D 85 1F
|
|
jsr $C5D3 ; CPU:$C56F PRG:056F 20 D3 C5
|
|
sty Zp0C ; CPU:$C572 PRG:0572 84 0C
|
|
dex ; CPU:$C574 PRG:0574 CA
|
|
bpl Label_C553 ; CPU:$C575 PRG:0575 10 DC
|
|
ldx #$C0 ; CPU:$C577 PRG:0577 A2 C0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C579
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C579:
|
|
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
|
|
lda #$01 ; CPU:$C580 PRG:0580 A9 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C582
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C582:
|
|
sta PtrLo ; CPU:$C582 PRG:0582 85 00
|
|
ldy #$18 ; CPU:$C584 PRG:0584 A0 18
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C586
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C586:
|
|
lda $03FF,x ; CPU:$C586 PRG:0586 BD FF 03
|
|
bmi Label_C592 ; CPU:$C589 PRG:0589 30 07
|
|
lda PtrLo ; CPU:$C58B PRG:058B A5 00
|
|
sta $03FF,x ; CPU:$C58D PRG:058D 9D FF 03
|
|
bne Label_C597 ; CPU:$C590 PRG:0590 D0 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C592
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C592:
|
|
lda #$FF ; CPU:$C592 PRG:0592 A9 FF
|
|
sta $04FF,x ; CPU:$C594 PRG:0594 9D FF 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C597
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C597:
|
|
dex ; CPU:$C597 PRG:0597 CA
|
|
beq Label_C5D2 ; 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
|
|
; ---- data $C5A1-$C5A6 (6 bytes) ----
|
|
.byte $E7, $3C, $FC, $3F, $CF, $E3 ; CPU:$C5A1 PRG:05A1 E7 3C FC 3F CF E3
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites2_5:
|
|
ldy #$D7 ; CPU:$C5A7 PRG:05A7 A0 D7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C5A9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C5A9:
|
|
tya ; CPU:$C5A9 PRG:05A9 98
|
|
pha ; CPU:$C5AA PRG:05AA 48
|
|
jsr $CACE ; CPU:$C5AB PRG:05AB 20 CE CA
|
|
ldx #$02 ; CPU:$C5AE PRG:05AE A2 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C5B0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C5B0:
|
|
lda Zp18,x ; CPU:$C5B0 PRG:05B0 B5 18
|
|
and #$07 ; CPU:$C5B2 PRG:05B2 29 07
|
|
tay ; CPU:$C5B4 PRG:05B4 A8
|
|
lda $C59F,y ; CPU:$C5B5 PRG:05B5 B9 9F C5
|
|
sta 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
|
|
tay ; CPU:$C5BE PRG:05BE A8
|
|
lda #$00 ; CPU:$C5BF PRG:05BF A9 00
|
|
sta Zp0D ; CPU:$C5C1 PRG:05C1 85 0D
|
|
lda #$05 ; CPU:$C5C3 PRG:05C3 A9 05
|
|
sta Zp0E ; CPU:$C5C5 PRG:05C5 85 0E
|
|
lda #$00 ; CPU:$C5C7 PRG:05C7 A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C5C9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C5C9:
|
|
sta Zp1F ; CPU:$C5C9 PRG:05C9 85 1F
|
|
jsr $C5D3 ; CPU:$C5CB PRG:05CB 20 D3 C5
|
|
cpy #$FF ; CPU:$C5CE PRG:05CE C0 FF
|
|
bne Label_C5A9 ; CPU:$C5D0 PRG:05D0 D0 D7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C5D2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C5D2:
|
|
rts ; CPU:$C5D2 PRG:05D2 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C5DB:
|
|
lsr PtrLo ; CPU:$C5DB PRG:05DB 46 00
|
|
ror PtrHi ; CPU:$C5DD PRG:05DD 66 01
|
|
ror Ptr2Lo ; CPU:$C5DF PRG:05DF 66 02
|
|
php ; CPU:$C5E1 PRG:05E1 08
|
|
lda Zp1F ; CPU:$C5E2 PRG:05E2 A5 1F
|
|
bne Label_C5ED ; CPU:$C5E4 PRG:05E4 D0 07
|
|
lda Zp0F ; CPU:$C5E6 PRG:05E6 A5 0F
|
|
beq Label_C5EF ; CPU:$C5E8 PRG:05E8 F0 05
|
|
lda #$01 ; CPU:$C5EA PRG:05EA A9 01
|
|
; ---- data $C5EC-$C5EC (1 bytes) ----
|
|
.byte $2C ; CPU:$C5EC PRG:05EC 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C5ED
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C5ED:
|
|
lda #$00 ; CPU:$C5ED PRG:05ED A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C5EF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C5EF:
|
|
rol a ; CPU:$C5EF PRG:05EF 2A
|
|
beq Label_C5FC ; CPU:$C5F0 PRG:05F0 F0 0A
|
|
cmp #$03 ; CPU:$C5F2 PRG:05F2 C9 03
|
|
bcs Label_C5F9 ; CPU:$C5F4 PRG:05F4 B0 03
|
|
lda #$02 ; CPU:$C5F6 PRG:05F6 A9 02
|
|
; ---- data $C5F8-$C5F8 (1 bytes) ----
|
|
.byte $2C ; CPU:$C5F8 PRG:05F8 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C5F9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C5F9:
|
|
lda #$01 ; CPU:$C5F9 PRG:05F9 A9 01
|
|
; ---- data $C5FB-$C5FB (1 bytes) ----
|
|
.byte $2C ; CPU:$C5FB PRG:05FB 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C5FC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C5FC:
|
|
lda #$FF ; CPU:$C5FC PRG:05FC A9 FF
|
|
sta (Zp0D),y ; CPU:$C5FE PRG:05FE 91 0D
|
|
plp ; CPU:$C600 PRG:0600 28
|
|
bcs Label_C608 ; CPU:$C601 PRG:0601 B0 05
|
|
lda #$00 ; CPU:$C603 PRG:0603 A9 00
|
|
sta Zp0F ; CPU:$C605 PRG:0605 85 0F
|
|
; ---- data $C607-$C607 (1 bytes) ----
|
|
.byte $2C ; CPU:$C607 PRG:0607 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C608
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C608:
|
|
inc Zp0F ; CPU:$C608 PRG:0608 E6 0F
|
|
dey ; CPU:$C60A PRG:060A 88
|
|
dec Zp03 ; CPU:$C60B PRG:060B C6 03
|
|
bne Label_C5DB ; CPU:$C60D PRG:060D D0 CC
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C60F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C60F:
|
|
rts ; CPU:$C60F PRG:060F 60
|
|
; ---- data $C610-$C61F (16 bytes) ----
|
|
; referenced by `lda $C610,x` at $C650 (operand $C610 falls inside this region)
|
|
.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: 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C626
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C626:
|
|
lda $03FE ; CPU:$C626 PRG:0626 AD FE 03
|
|
sta Zp59 ; CPU:$C629 PRG:0629 85 59
|
|
lda #$0F ; CPU:$C62B PRG:062B A9 0F
|
|
sta 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C63A:
|
|
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
|
|
beq Label_C60F ; CPU:$C642 PRG:0642 F0 CB
|
|
lda Zp66 ; CPU:$C644 PRG:0644 A5 66
|
|
cmp #$D4 ; CPU:$C646 PRG:0646 C9 D4
|
|
bcs Label_C626 ; CPU:$C648 PRG:0648 B0 DC
|
|
lda $03FA ; CPU:$C64A PRG:064A AD FA 03
|
|
and #$0F ; CPU:$C64D PRG:064D 29 0F
|
|
tax ; CPU:$C64F PRG:064F AA
|
|
lda $C610,x ; CPU:$C650 PRG:0650 BD 10 C6
|
|
ldy $C60F,x ; CPU:$C653 PRG:0653 BC 0F C6
|
|
ldx $03FB ; CPU:$C656 PRG:0656 AE FB 03
|
|
bne Label_C664 ; CPU:$C659 PRG:0659 D0 09
|
|
tay ; CPU:$C65B PRG:065B A8
|
|
and #$F0 ; CPU:$C65C PRG:065C 29 F0
|
|
sta $03FB ; CPU:$C65E PRG:065E 8D FB 03
|
|
inc $03FA ; CPU:$C661 PRG:0661 EE FA 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C664
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C664:
|
|
tya ; CPU:$C664 PRG:0664 98
|
|
and #$0F ; CPU:$C665 PRG:0665 29 0F
|
|
sta Zp14 ; CPU:$C667 PRG:0667 85 14
|
|
tya ; CPU:$C669 PRG:0669 98
|
|
asl a ; CPU:$C66A PRG:066A 0A
|
|
asl a ; CPU:$C66B PRG:066B 0A
|
|
asl a ; CPU:$C66C PRG:066C 0A
|
|
asl a ; CPU:$C66D PRG:066D 0A
|
|
ora Zp14 ; CPU:$C66E PRG:066E 05 14
|
|
and #$C3 ; CPU:$C670 PRG:0670 29 C3
|
|
sta Zp14 ; CPU:$C672 PRG:0672 85 14
|
|
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
|
|
dec $03FB ; CPU:$C67C PRG:067C CE FB 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C67F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C67F:
|
|
rts ; CPU:$C67F PRG:067F 60
|
|
; ---- data $C680-$C6FA (123 bytes) ----
|
|
; referenced by `lda $C6F9,x` at $C6FE (operand $C6F9 falls inside this region)
|
|
; referenced by `lda $C6F7,x` at $C704 (operand $C6F7 falls inside this region)
|
|
; 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
|
|
.byte $30, $21, $12, $0F, $38, $29, $0A, $00, $23, $E8, $58, $FF, $23, $E0, $02, $F0 ; CPU:$C6B0 PRG:06B0 30 21 12 0F 38 29 0A 00 23 E8 58 FF 23 E0 02 F0
|
|
.byte $30, $23, $E6, $02, $C0, $F0, $2B, $C0, $48, $FF, $2B, $C8, $48, $AF, $2B, $D0 ; CPU:$C6C0 PRG:06C0 30 23 E6 02 C0 F0 2B C0 48 FF 2B C8 48 AF 2B D0
|
|
.byte $50, $AA, $2B, $E0, $48, $0A, $2B, $C9, $46, $FF, $2A, $40, $60, $31, $2A, $60 ; CPU:$C6D0 PRG:06D0 50 AA 2B E0 48 0A 2B C9 46 FF 2A 40 60 31 2A 60
|
|
.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: 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites3_4:
|
|
jsr $C891 ; CPU:$C6FB PRG:06FB 20 91 C8
|
|
lda $C6F9,x ; CPU:$C6FE PRG:06FE BD F9 C6
|
|
sta PPUADDR ; CPU:$C701 PRG:0701 8D 06 20
|
|
lda $C6F7,x ; CPU:$C704 PRG:0704 BD F7 C6
|
|
sta PPUADDR ; CPU:$C707 PRG:0707 8D 06 20
|
|
lda PPUDATA ; CPU:$C70A PRG:070A AD 07 20
|
|
lda #$00 ; CPU:$C70D PRG:070D A9 00
|
|
sta PtrLo ; CPU:$C70F PRG:070F 85 00
|
|
tay ; CPU:$C711 PRG:0711 A8
|
|
lda #$04 ; CPU:$C712 PRG:0712 A9 04
|
|
sta PtrHi ; CPU:$C714 PRG:0714 85 01
|
|
ldx #$02 ; CPU:$C716 PRG:0716 A2 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C718
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C718:
|
|
lda PPUDATA ; CPU:$C718 PRG:0718 AD 07 20
|
|
sta (PtrLo),y ; CPU:$C71B PRG:071B 91 00
|
|
iny ; CPU:$C71D PRG:071D C8
|
|
bne Label_C718 ; CPU:$C71E PRG:071E D0 F8
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
CheckZp55:
|
|
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.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites2_7:
|
|
asl a ; CPU:$C728 PRG:0728 0A
|
|
tay ; CPU:$C729 PRG:0729 A8
|
|
pla ; CPU:$C72A PRG:072A 68
|
|
sta PtrLo ; CPU:$C72B PRG:072B 85 00
|
|
pla ; CPU:$C72D PRG:072D 68
|
|
sta PtrHi ; CPU:$C72E PRG:072E 85 01
|
|
iny ; CPU:$C730 PRG:0730 C8
|
|
lda (PtrLo),y ; CPU:$C731 PRG:0731 B1 00
|
|
sta Ptr2Lo ; CPU:$C733 PRG:0733 85 02
|
|
iny ; CPU:$C735 PRG:0735 C8
|
|
lda (PtrLo),y ; CPU:$C736 PRG:0736 B1 00
|
|
sta Zp03 ; CPU:$C738 PRG:0738 85 03
|
|
jmp (Ptr2Lo) ; CPU:$C73A PRG:073A 6C 02 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateSprites3_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites3_5:
|
|
sta Zp03 ; CPU:$C73D PRG:073D 85 03
|
|
txa ; CPU:$C73F PRG:073F 8A
|
|
pha ; CPU:$C740 PRG:0740 48
|
|
tya ; CPU:$C741 PRG:0741 98
|
|
pha ; CPU:$C742 PRG:0742 48
|
|
lda #$02 ; CPU:$C743 PRG:0743 A9 02
|
|
sta Zp05 ; CPU:$C745 PRG:0745 85 05
|
|
lda #$0F ; CPU:$C747 PRG:0747 A9 0F
|
|
and Zp03 ; CPU:$C749 PRG:0749 25 03
|
|
sta Zp07 ; CPU:$C74B PRG:074B 85 07
|
|
lda Zp03 ; CPU:$C74D PRG:074D A5 03
|
|
lsr a ; CPU:$C74F PRG:074F 4A
|
|
lsr a ; CPU:$C750 PRG:0750 4A
|
|
lsr a ; CPU:$C751 PRG:0751 4A
|
|
lsr a ; CPU:$C752 PRG:0752 4A
|
|
sta Zp06 ; CPU:$C753 PRG:0753 85 06
|
|
tax ; CPU:$C755 PRG:0755 AA
|
|
lda #$00 ; CPU:$C756 PRG:0756 A9 00
|
|
clc ; CPU:$C758 PRG:0758 18
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C759
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C759:
|
|
adc Zp07 ; CPU:$C759 PRG:0759 65 07
|
|
dex ; CPU:$C75B PRG:075B CA
|
|
bne Label_C759 ; CPU:$C75C PRG:075C D0 FB
|
|
sta Zp08 ; CPU:$C75E PRG:075E 85 08
|
|
tax ; CPU:$C760 PRG:0760 AA
|
|
lda Zp0E ; CPU:$C761 PRG:0761 A5 0E
|
|
beq Label_C76F ; CPU:$C763 PRG:0763 F0 0A
|
|
jsr $C777 ; CPU:$C765 PRG:0765 20 77 C7
|
|
lda Zp0F ; CPU:$C768 PRG:0768 A5 0F
|
|
beq Label_C76F ; CPU:$C76A PRG:076A F0 03
|
|
jsr $C7C1 ; CPU:$C76C PRG:076C 20 C1 C7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C76F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C76F:
|
|
jsr $C7F5 ; CPU:$C76F PRG:076F 20 F5 C7
|
|
pla ; CPU:$C772 PRG:0772 68
|
|
tay ; CPU:$C773 PRG:0773 A8
|
|
pla ; CPU:$C774 PRG:0774 68
|
|
tax ; CPU:$C775 PRG:0775 AA
|
|
rts ; CPU:$C776 PRG:0776 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites4_1:
|
|
lda Ptr2Lo ; CPU:$C777 PRG:0777 A5 02
|
|
ldy #$01 ; CPU:$C779 PRG:0779 A0 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C77B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C77B:
|
|
sta (Zp04),y ; CPU:$C77B PRG:077B 91 04
|
|
clc ; CPU:$C77D PRG:077D 18
|
|
adc #$01 ; CPU:$C77E PRG:077E 69 01
|
|
iny ; CPU:$C780 PRG:0780 C8
|
|
pha ; CPU:$C781 PRG:0781 48
|
|
lda (Zp04),y ; CPU:$C782 PRG:0782 B1 04
|
|
and #$3F ; CPU:$C784 PRG:0784 29 3F
|
|
sta (Zp04),y ; CPU:$C786 PRG:0786 91 04
|
|
txa ; CPU:$C788 PRG:0788 8A
|
|
pha ; CPU:$C789 PRG:0789 48
|
|
lda Zp0D ; CPU:$C78A PRG:078A A5 0D
|
|
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
|
|
cpx #$18 ; CPU:$C794 PRG:0794 E0 18
|
|
bcs Label_C7A5 ; CPU:$C796 PRG:0796 B0 0D
|
|
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
|
|
cpx #$03 ; CPU:$C79F PRG:079F E0 03
|
|
beq Label_C7A5 ; CPU:$C7A1 PRG:07A1 F0 02
|
|
ora #$20 ; CPU:$C7A3 PRG:07A3 09 20
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C7A5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C7A5:
|
|
sta (Zp04),y ; CPU:$C7A5 PRG:07A5 91 04
|
|
pla ; CPU:$C7A7 PRG:07A7 68
|
|
tax ; CPU:$C7A8 PRG:07A8 AA
|
|
lsr Zp0A ; CPU:$C7A9 PRG:07A9 46 0A
|
|
ror Zp0B ; CPU:$C7AB PRG:07AB 66 0B
|
|
ror Zp0C ; CPU:$C7AD PRG:07AD 66 0C
|
|
ror Zp0D ; CPU:$C7AF PRG:07AF 66 0D
|
|
lsr Zp0A ; CPU:$C7B1 PRG:07B1 46 0A
|
|
ror Zp0B ; CPU:$C7B3 PRG:07B3 66 0B
|
|
ror Zp0C ; CPU:$C7B5 PRG:07B5 66 0C
|
|
ror Zp0D ; CPU:$C7B7 PRG:07B7 66 0D
|
|
pla ; CPU:$C7B9 PRG:07B9 68
|
|
iny ; CPU:$C7BA PRG:07BA C8
|
|
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
|
|
rts ; CPU:$C7C0 PRG:07C0 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites4_3:
|
|
ldy #$01 ; CPU:$C7C1 PRG:07C1 A0 01
|
|
sty Zp0A ; CPU:$C7C3 PRG:07C3 84 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C7C5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C7C5:
|
|
lda Zp08 ; CPU:$C7C5 PRG:07C5 A5 08
|
|
sec ; CPU:$C7C7 PRG:07C7 38
|
|
sbc Zp06 ; CPU:$C7C8 PRG:07C8 E5 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C7CA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C7CA:
|
|
tay ; CPU:$C7CA PRG:07CA A8
|
|
sta Zp0B ; CPU:$C7CB PRG:07CB 85 0B
|
|
ldx Zp06 ; CPU:$C7CD PRG:07CD A6 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C7CF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C7CF:
|
|
tya ; CPU:$C7CF PRG:07CF 98
|
|
pha ; CPU:$C7D0 PRG:07D0 48
|
|
clc ; CPU:$C7D1 PRG:07D1 18
|
|
tya ; CPU:$C7D2 PRG:07D2 98
|
|
adc 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
|
|
lda (Zp04),y ; CPU:$C7DA PRG:07DA B1 04
|
|
and #$3F ; CPU:$C7DC PRG:07DC 29 3F
|
|
eor #$40 ; CPU:$C7DE PRG:07DE 49 40
|
|
sta (Zp04),y ; CPU:$C7E0 PRG:07E0 91 04
|
|
iny ; CPU:$C7E2 PRG:07E2 C8
|
|
iny ; CPU:$C7E3 PRG:07E3 C8
|
|
iny ; CPU:$C7E4 PRG:07E4 C8
|
|
sty Zp0A ; CPU:$C7E5 PRG:07E5 84 0A
|
|
pla ; CPU:$C7E7 PRG:07E7 68
|
|
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
|
|
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
|
|
rts ; CPU:$C7F4 PRG:07F4 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites4_4:
|
|
ldy #$00 ; CPU:$C7F5 PRG:07F5 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C7F7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C7F7:
|
|
ldx Zp06 ; CPU:$C7F7 PRG:07F7 A6 06
|
|
lda PtrHi ; CPU:$C7F9 PRG:07F9 A5 01
|
|
sta Zp09 ; CPU:$C7FB PRG:07FB 85 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C7FD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C7FD:
|
|
lda Zp09 ; CPU:$C7FD PRG:07FD A5 09
|
|
sta (Zp04),y ; CPU:$C7FF PRG:07FF 91 04
|
|
clc ; CPU:$C801 PRG:0801 18
|
|
adc #$08 ; CPU:$C802 PRG:0802 69 08
|
|
sta Zp09 ; CPU:$C804 PRG:0804 85 09
|
|
iny ; CPU:$C806 PRG:0806 C8
|
|
iny ; CPU:$C807 PRG:0807 C8
|
|
iny ; CPU:$C808 PRG:0808 C8
|
|
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 PtrLo ; CPU:$C811 PRG:0811 A5 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C813
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C813:
|
|
clc ; CPU:$C813 PRG:0813 18
|
|
adc #$08 ; CPU:$C814 PRG:0814 69 08
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
GameLoopEntry_5:
|
|
ldx #$40 ; CPU:$C81D PRG:081D A2 40
|
|
lda #$00 ; CPU:$C81F PRG:081F A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C829:
|
|
lda #$F8 ; CPU:$C829 PRG:0829 A9 F8
|
|
sta (Zp04),y ; CPU:$C82B PRG:082B 91 04
|
|
iny ; CPU:$C82D PRG:082D C8
|
|
iny ; CPU:$C82E PRG:082E C8
|
|
lda #$00 ; CPU:$C82F PRG:082F A9 00
|
|
sta (Zp04),y ; CPU:$C831 PRG:0831 91 04
|
|
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
|
|
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: 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
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
|
|
lda #$F0 ; CPU:$C84A PRG:084A A9 F0
|
|
sta ZpEA,x ; CPU:$C84C PRG:084C 95 EA
|
|
inc ZpE0,x ; CPU:$C84E PRG:084E F6 E0
|
|
jmp $C868 ; CPU:$C850 PRG:0850 4C 68 C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C853
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C853:
|
|
lda ZpE6,x ; CPU:$C853 PRG:0853 B5 E6
|
|
cmp #$08 ; CPU:$C855 PRG:0855 C9 08
|
|
bcs UpdateSprites2_9 ; CPU:$C857 PRG:0857 B0 0F
|
|
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
|
|
sta ZpE8,x ; CPU:$C860 PRG:0860 95 E8
|
|
lda ZpE6,x ; CPU:$C862 PRG:0862 B5 E6
|
|
adc #$00 ; CPU:$C864 PRG:0864 69 00
|
|
sta ZpE6,x ; CPU:$C866 PRG:0866 95 E6
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
sta ZpEA,x ; CPU:$C86D PRG:086D 95 EA
|
|
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
|
|
lda ZpEA,x ; CPU:$C875 PRG:0875 B5 EA
|
|
adc ZpE8,x ; CPU:$C877 PRG:0877 75 E8
|
|
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 PtrHi ; CPU:$C87E PRG:087E 85 01
|
|
ldx Zp0F ; CPU:$C880 PRG:0880 A6 0F
|
|
rts ; CPU:$C882 PRG:0882 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
sta Zp12 ; CPU:$C88A PRG:088A 85 12
|
|
sta Zp13 ; CPU:$C88C PRG:088C 85 13
|
|
jmp $CB81 ; CPU:$C88E PRG:088E 4C 81 CB
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
ClearSpriteRAM:
|
|
lda #$00 ; CPU:$C891 PRG:0891 A9 00
|
|
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: 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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: 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites2_11:
|
|
sta PtrLo ; CPU:$C8A4 PRG:08A4 85 00
|
|
lda PPUSTATUS ; CPU:$C8A6 PRG:08A6 AD 02 20
|
|
lda VBlankTimer ; CPU:$C8A9 PRG:08A9 A5 10
|
|
and #$FB ; CPU:$C8AB PRG:08AB 29 FB
|
|
sta PPUCTRL ; CPU:$C8AD PRG:08AD 8D 00 20
|
|
lda PtrLo ; CPU:$C8B0 PRG:08B0 A5 00
|
|
sta PPUADDR ; CPU:$C8B2 PRG:08B2 8D 06 20
|
|
lda #$00 ; CPU:$C8B5 PRG:08B5 A9 00
|
|
sta PPUADDR ; CPU:$C8B7 PRG:08B7 8D 06 20
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C8BF:
|
|
sta PPUDATA ; CPU:$C8BF PRG:08BF 8D 07 20
|
|
dey ; CPU:$C8C2 PRG:08C2 88
|
|
bne Label_C8BF ; CPU:$C8C3 PRG:08C3 D0 FA
|
|
dex ; CPU:$C8C5 PRG:08C5 CA
|
|
bne Label_C8BF ; CPU:$C8C6 PRG:08C6 D0 F7
|
|
lda PtrLo ; CPU:$C8C8 PRG:08C8 A5 00
|
|
clc ; CPU:$C8CA PRG:08CA 18
|
|
adc #$03 ; CPU:$C8CB PRG:08CB 69 03
|
|
sta PPUADDR ; CPU:$C8CD PRG:08CD 8D 06 20
|
|
lda #$C0 ; CPU:$C8D0 PRG:08D0 A9 C0
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C8D9:
|
|
sta PPUDATA ; CPU:$C8D9 PRG:08D9 8D 07 20
|
|
dey ; CPU:$C8DC PRG:08DC 88
|
|
bne Label_C8D9 ; CPU:$C8DD PRG:08DD D0 FA
|
|
rts ; CPU:$C8DF PRG:08DF 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites3_6:
|
|
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 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
|
|
lsr a ; CPU:$C8EC PRG:08EC 4A
|
|
tax ; CPU:$C8ED PRG:08ED AA
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
asl a ; CPU:$C8F6 PRG:08F6 0A
|
|
asl a ; CPU:$C8F7 PRG:08F7 0A
|
|
tay ; CPU:$C8F8 PRG:08F8 A8
|
|
ldx $0300 ; CPU:$C8F9 PRG:08F9 AE 00 03
|
|
lda $C680,y ; CPU:$C8FC PRG:08FC B9 80 C6
|
|
sta $0301,x ; CPU:$C8FF PRG:08FF 9D 01 03
|
|
jsr $CB8C ; CPU:$C902 PRG:0902 20 8C CB
|
|
iny ; CPU:$C905 PRG:0905 C8
|
|
lda $C680,y ; CPU:$C906 PRG:0906 B9 80 C6
|
|
sta $0301,x ; CPU:$C909 PRG:0909 9D 01 03
|
|
jsr $CB8C ; CPU:$C90C PRG:090C 20 8C CB
|
|
iny ; CPU:$C90F PRG:090F C8
|
|
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 PtrHi ; CPU:$C918 PRG:0918 85 01
|
|
txa ; CPU:$C91A PRG:091A 8A
|
|
sec ; CPU:$C91B PRG:091B 38
|
|
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
|
|
lda #$00 ; CPU:$C925 PRG:0925 A9 00
|
|
sta $0301,x ; CPU:$C927 PRG:0927 9D 01 03
|
|
iny ; CPU:$C92A PRG:092A C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C92B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C92B:
|
|
dex ; CPU:$C92B PRG:092B CA
|
|
lda $07EC,y ; CPU:$C92C PRG:092C B9 EC 07
|
|
and #$0F ; CPU:$C92F PRG:092F 29 0F
|
|
sta $0301,x ; CPU:$C931 PRG:0931 9D 01 03
|
|
dec PtrHi ; CPU:$C934 PRG:0934 C6 01
|
|
beq Label_C94A ; CPU:$C936 PRG:0936 F0 12
|
|
dex ; CPU:$C938 PRG:0938 CA
|
|
lda $07EC,y ; CPU:$C939 PRG:0939 B9 EC 07
|
|
and #$F0 ; CPU:$C93C PRG:093C 29 F0
|
|
lsr a ; CPU:$C93E PRG:093E 4A
|
|
lsr a ; CPU:$C93F PRG:093F 4A
|
|
lsr a ; CPU:$C940 PRG:0940 4A
|
|
lsr a ; CPU:$C941 PRG:0941 4A
|
|
sta $0301,x ; CPU:$C942 PRG:0942 9D 01 03
|
|
dey ; CPU:$C945 PRG:0945 88
|
|
dec PtrHi ; CPU:$C946 PRG:0946 C6 01
|
|
bne Label_C92B ; CPU:$C948 PRG:0948 D0 E1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C94A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C94A:
|
|
rts ; CPU:$C94A PRG:094A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites5_1:
|
|
ldx #$FF ; CPU:$C94B PRG:094B A2 FF
|
|
bit a:$00A2 ; CPU:$C94D PRG:094D 2C A2 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 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C963
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C963:
|
|
lda PtrLo ; CPU:$C963 PRG:0963 A5 00
|
|
sta Zp06,x ; CPU:$C965 PRG:0965 95 06
|
|
lda PtrHi ; CPU:$C967 PRG:0967 A5 01
|
|
and #$07 ; CPU:$C969 PRG:0969 29 07
|
|
asl a ; CPU:$C96B PRG:096B 0A
|
|
asl a ; CPU:$C96C PRG:096C 0A
|
|
tax ; CPU:$C96D PRG:096D AA
|
|
lda Zp04 ; CPU:$C96E PRG:096E A5 04
|
|
beq Label_C995 ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C977
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C977:
|
|
clc ; CPU:$C977 PRG:0977 18
|
|
jsr $CA44 ; CPU:$C978 PRG:0978 20 44 CA
|
|
jsr $C9D7 ; CPU:$C97B PRG:097B 20 D7 C9
|
|
jsr $CA2C ; CPU:$C97E PRG:097E 20 2C CA
|
|
sta Zp03 ; CPU:$C981 PRG:0981 85 03
|
|
lda Zp06 ; CPU:$C983 PRG:0983 A5 06
|
|
jsr $C9D7 ; CPU:$C985 PRG:0985 20 D7 C9
|
|
jsr $CA36 ; CPU:$C988 PRG:0988 20 36 CA
|
|
sta Zp03 ; CPU:$C98B PRG:098B 85 03
|
|
lda Zp05 ; CPU:$C98D PRG:098D A5 05
|
|
jsr $C9D7 ; CPU:$C98F PRG:098F 20 D7 C9
|
|
jmp $CA40 ; CPU:$C992 PRG:0992 4C 40 CA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C995
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C995:
|
|
lda $07F0,x ; CPU:$C995 PRG:0995 BD F0 07
|
|
beq Label_C977 ; CPU:$C998 PRG:0998 F0 DD
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C99A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C99A:
|
|
sec ; CPU:$C99A PRG:099A 38
|
|
jsr $CA44 ; CPU:$C99B PRG:099B 20 44 CA
|
|
jsr $CA29 ; CPU:$C99E PRG:099E 20 29 CA
|
|
sta Zp03 ; CPU:$C9A1 PRG:09A1 85 03
|
|
lda Zp06 ; CPU:$C9A3 PRG:09A3 A5 06
|
|
jsr $CA33 ; CPU:$C9A5 PRG:09A5 20 33 CA
|
|
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
|
|
lda $07F2,x ; CPU:$C9B1 PRG:09B1 BD F2 07
|
|
bne Label_C9BB ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C9BB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; 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
|
|
lda $07F0,x ; CPU:$C9BD PRG:09BD BD F0 07
|
|
eor #$FF ; CPU:$C9C0 PRG:09C0 49 FF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C9C2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C9C2:
|
|
sta $07F0,x ; CPU:$C9C2 PRG:09C2 9D F0 07
|
|
sec ; CPU:$C9C5 PRG:09C5 38
|
|
lda #$00 ; CPU:$C9C6 PRG:09C6 A9 00
|
|
sta Zp03 ; CPU:$C9C8 PRG:09C8 85 03
|
|
lda $07F3,x ; CPU:$C9CA PRG:09CA BD F3 07
|
|
jsr $CA29 ; CPU:$C9CD PRG:09CD 20 29 CA
|
|
jsr $CA33 ; CPU:$C9D0 PRG:09D0 20 33 CA
|
|
jsr $CA3D ; CPU:$C9D3 PRG:09D3 20 3D CA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C9D6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C9D6:
|
|
rts ; CPU:$C9D6 PRG:09D6 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites6:
|
|
jsr $CA1A ; CPU:$C9D7 PRG:09D7 20 1A CA
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C9E2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C9E2:
|
|
clc ; CPU:$C9E2 PRG:09E2 18
|
|
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 Ptr2Lo ; CPU:$C9EB PRG:09EB 65 02
|
|
bcc Label_C9F3 ; CPU:$C9ED PRG:09ED 90 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C9EF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C9EF:
|
|
adc #$5F ; CPU:$C9EF PRG:09EF 69 5F
|
|
sec ; CPU:$C9F1 PRG:09F1 38
|
|
rts ; CPU:$C9F2 PRG:09F2 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_C9F3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_C9F3:
|
|
cmp #$A0 ; CPU:$C9F3 PRG:09F3 C9 A0
|
|
bcs Label_C9EF ; CPU:$C9F5 PRG:09F5 B0 F8
|
|
rts ; CPU:$C9F7 PRG:09F7 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites7_1:
|
|
jsr $CA1A ; CPU:$C9F8 PRG:09F8 20 1A CA
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CA01:
|
|
adc #$0A ; CPU:$CA01 PRG:0A01 69 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CA03
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CA03:
|
|
sta PtrHi ; CPU:$CA03 PRG:0A03 85 01
|
|
lda Ptr2Lo ; CPU:$CA05 PRG:0A05 A5 02
|
|
adc #$0F ; CPU:$CA07 PRG:0A07 69 0F
|
|
sta Ptr2Lo ; CPU:$CA09 PRG:0A09 85 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CA0B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 Ptr2Lo ; CPU:$CA10 PRG:0A10 E5 02
|
|
bcs Label_CA17 ; CPU:$CA12 PRG:0A12 B0 03
|
|
adc #$A0 ; CPU:$CA14 PRG:0A14 69 A0
|
|
clc ; CPU:$CA16 PRG:0A16 18
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CA17
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CA17:
|
|
ora PtrHi ; CPU:$CA17 PRG:0A17 05 01
|
|
rts ; CPU:$CA19 PRG:0A19 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites7_3:
|
|
pha ; CPU:$CA1A PRG:0A1A 48
|
|
and #$0F ; CPU:$CA1B PRG:0A1B 29 0F
|
|
sta PtrHi ; CPU:$CA1D PRG:0A1D 85 01
|
|
pla ; CPU:$CA1F PRG:0A1F 68
|
|
and #$F0 ; CPU:$CA20 PRG:0A20 29 F0
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites8:
|
|
jsr $C9F8 ; CPU:$CA29 PRG:0A29 20 F8 C9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CA2C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CA2C:
|
|
sta $07F3,x ; CPU:$CA2C PRG:0A2C 9D F3 07
|
|
lda $07F2,x ; CPU:$CA2F PRG:0A2F BD F2 07
|
|
rts ; CPU:$CA32 PRG:0A32 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites9:
|
|
jsr $C9F8 ; CPU:$CA33 PRG:0A33 20 F8 C9
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CA3D:
|
|
jsr $C9F8 ; CPU:$CA3D PRG:0A3D 20 F8 C9
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites11:
|
|
sta $07F1,x ; CPU:$CA40 PRG:0A40 9D F1 07
|
|
rts ; CPU:$CA43 PRG:0A43 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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: 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites13:
|
|
lda #$00 ; CPU:$CA4C PRG:0A4C A9 00
|
|
sta Zp04 ; CPU:$CA4E PRG:0A4E 85 04
|
|
clc ; CPU:$CA50 PRG:0A50 18
|
|
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 PtrLo ; CPU:$CA5A PRG:0A5A A5 00
|
|
and #$07 ; CPU:$CA5C PRG:0A5C 29 07
|
|
asl a ; CPU:$CA5E PRG:0A5E 0A
|
|
asl a ; CPU:$CA5F PRG:0A5F 0A
|
|
tax ; CPU:$CA60 PRG:0A60 AA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CA61
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CA61:
|
|
lda $07EC,y ; CPU:$CA61 PRG:0A61 B9 EC 07
|
|
beq Label_CAC1 ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CA6B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CA6B:
|
|
sec ; CPU:$CA6B PRG:0A6B 38
|
|
lda $07EF,y ; CPU:$CA6C PRG:0A6C B9 EF 07
|
|
sta Zp03 ; CPU:$CA6F PRG:0A6F 85 03
|
|
lda $07F3,x ; CPU:$CA71 PRG:0A71 BD F3 07
|
|
jsr $C9F8 ; CPU:$CA74 PRG:0A74 20 F8 C9
|
|
lda $07EE,y ; CPU:$CA77 PRG:0A77 B9 EE 07
|
|
sta Zp03 ; CPU:$CA7A PRG:0A7A 85 03
|
|
lda $07F2,x ; CPU:$CA7C PRG:0A7C BD F2 07
|
|
jsr $C9F8 ; CPU:$CA7F PRG:0A7F 20 F8 C9
|
|
lda $07ED,y ; CPU:$CA82 PRG:0A82 B9 ED 07
|
|
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
|
|
lda $07EC,y ; CPU:$CA8F PRG:0A8F B9 EC 07
|
|
bne Label_CACB ; CPU:$CA92 PRG:0A92 D0 37
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CA94
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CA94:
|
|
lda #$FF ; CPU:$CA94 PRG:0A94 A9 FF
|
|
sta Zp04 ; CPU:$CA96 PRG:0A96 85 04
|
|
sec ; CPU:$CA98 PRG:0A98 38
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CA99
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CA99:
|
|
tya ; CPU:$CA99 PRG:0A99 98
|
|
bne Label_CAC0 ; CPU:$CA9A PRG:0A9A D0 24
|
|
bcc Label_CAB4 ; CPU:$CA9C PRG:0A9C 90 16
|
|
txa ; CPU:$CA9E PRG:0A9E 8A
|
|
pha ; CPU:$CA9F PRG:0A9F 48
|
|
tya ; CPU:$CAA0 PRG:0AA0 98
|
|
pha ; CPU:$CAA1 PRG:0AA1 48
|
|
ldy #$00 ; CPU:$CAA2 PRG:0AA2 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CAA4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CAA4:
|
|
lda $07F0,x ; CPU:$CAA4 PRG:0AA4 BD F0 07
|
|
sta $07EC,y ; CPU:$CAA7 PRG:0AA7 99 EC 07
|
|
inx ; CPU:$CAAA PRG:0AAA E8
|
|
iny ; CPU:$CAAB PRG:0AAB C8
|
|
cpy #$04 ; CPU:$CAAC PRG:0AAC C0 04
|
|
bcc Label_CAA4 ; CPU:$CAAE PRG:0AAE 90 F4
|
|
pla ; CPU:$CAB0 PRG:0AB0 68
|
|
tay ; CPU:$CAB1 PRG:0AB1 A8
|
|
pla ; CPU:$CAB2 PRG:0AB2 68
|
|
tax ; CPU:$CAB3 PRG:0AB3 AA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CAB4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CAB4:
|
|
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
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CAC0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CAC0:
|
|
rts ; CPU:$CAC0 PRG:0AC0 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CAC1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CAC1:
|
|
lda $07F0,x ; CPU:$CAC1 PRG:0AC1 BD F0 07
|
|
beq Label_CA6B ; CPU:$CAC4 PRG:0AC4 F0 A5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CAC6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CAC6:
|
|
lda $07EC,y ; CPU:$CAC6 PRG:0AC6 B9 EC 07
|
|
bne Label_CA94 ; CPU:$CAC9 PRG:0AC9 D0 C9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CACB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CACB:
|
|
clc ; CPU:$CACB PRG:0ACB 18
|
|
bcc Label_CA99 ; CPU:$CACC PRG:0ACC 90 CB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: InitSprites_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
lda #$37 ; CPU:$CAD6 PRG:0AD6 A9 37
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CAD8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CAD8:
|
|
and #$02 ; CPU:$CAD8 PRG:0AD8 29 02
|
|
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 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CAE6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CAE6:
|
|
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
|
|
rts ; CPU:$CAEC PRG:0AEC 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
InitSprites3:
|
|
jsr $CB35 ; CPU:$CAED PRG:0AED 20 35 CB
|
|
lda #$01 ; CPU:$CAF0 PRG:0AF0 A9 01
|
|
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 JOY1 ; CPU:$CAF9 PRG:0AF9 8D 16 40
|
|
jsr $CB00 ; CPU:$CAFC PRG:0AFC 20 00 CB
|
|
inx ; CPU:$CAFF PRG:0AFF E8
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateController:
|
|
ldy #$08 ; CPU:$CB00 PRG:0B00 A0 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CB02
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CB02:
|
|
pha ; CPU:$CB02 PRG:0B02 48
|
|
lda JOY1,x ; CPU:$CB03 PRG:0B03 BD 16 40
|
|
sta PtrLo ; CPU:$CB06 PRG:0B06 85 00
|
|
lsr a ; CPU:$CB08 PRG:0B08 4A
|
|
ora PtrLo ; CPU:$CB09 PRG:0B09 05 00
|
|
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 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 PtrLo ; CPU:$CB19 PRG:0B19 84 00
|
|
sta Zp14,x ; CPU:$CB1B PRG:0B1B 95 14
|
|
sta Zp15,x ; CPU:$CB1D PRG:0B1D 95 15
|
|
ldy #$04 ; CPU:$CB1F PRG:0B1F A0 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CB21
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CB21:
|
|
lda Ptr2Lo ; CPU:$CB21 PRG:0B21 A5 02
|
|
bit PtrLo ; CPU:$CB23 PRG:0B23 24 00
|
|
beq Label_CB2D ; CPU:$CB25 PRG:0B25 F0 06
|
|
lda Zp15,x ; CPU:$CB27 PRG:0B27 B5 15
|
|
and PtrHi ; CPU:$CB29 PRG:0B29 25 01
|
|
sta Zp15,x ; CPU:$CB2B PRG:0B2B 95 15
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CB2D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CB2D:
|
|
sec ; CPU:$CB2D PRG:0B2D 38
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateController2_4:
|
|
lda #$7F ; CPU:$CB35 PRG:0B35 A9 7F
|
|
sta PtrHi ; CPU:$CB37 PRG:0B37 85 01
|
|
lda #$80 ; CPU:$CB39 PRG:0B39 A9 80
|
|
sta Ptr2Lo ; CPU:$CB3B PRG:0B3B 85 02
|
|
rts ; CPU:$CB3D PRG:0B3D 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CB3E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CB3E:
|
|
sta PPUADDR ; CPU:$CB3E PRG:0B3E 8D 06 20
|
|
iny ; CPU:$CB41 PRG:0B41 C8
|
|
lda (PtrLo),y ; CPU:$CB42 PRG:0B42 B1 00
|
|
sta PPUADDR ; CPU:$CB44 PRG:0B44 8D 06 20
|
|
iny ; CPU:$CB47 PRG:0B47 C8
|
|
lda (PtrLo),y ; CPU:$CB48 PRG:0B48 B1 00
|
|
asl a ; CPU:$CB4A PRG:0B4A 0A
|
|
pha ; CPU:$CB4B PRG:0B4B 48
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CB54
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CB54:
|
|
jsr $C148 ; CPU:$CB54 PRG:0B54 20 48 C1
|
|
pla ; CPU:$CB57 PRG:0B57 68
|
|
asl a ; CPU:$CB58 PRG:0B58 0A
|
|
bcc Label_CB5E ; CPU:$CB59 PRG:0B59 90 03
|
|
ora #$02 ; CPU:$CB5B PRG:0B5B 09 02
|
|
iny ; CPU:$CB5D PRG:0B5D C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CB5E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CB5E:
|
|
lsr a ; CPU:$CB5E PRG:0B5E 4A
|
|
lsr a ; CPU:$CB5F PRG:0B5F 4A
|
|
tax ; CPU:$CB60 PRG:0B60 AA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CB61
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; 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
|
|
iny ; CPU:$CB63 PRG:0B63 C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CB64
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CB64:
|
|
lda (PtrLo),y ; CPU:$CB64 PRG:0B64 B1 00
|
|
sta PPUDATA ; CPU:$CB66 PRG:0B66 8D 07 20
|
|
dex ; CPU:$CB69 PRG:0B69 CA
|
|
bne Label_CB61 ; CPU:$CB6A PRG:0B6A D0 F5
|
|
sec ; CPU:$CB6C PRG:0B6C 38
|
|
tya ; CPU:$CB6D PRG:0B6D 98
|
|
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 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.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites_4:
|
|
ldx PPUSTATUS ; CPU:$CB78 PRG:0B78 AE 02 20
|
|
ldy #$00 ; CPU:$CB7B PRG:0B7B A0 00
|
|
lda (PtrLo),y ; CPU:$CB7D PRG:0B7D B1 00
|
|
bne Label_CB3E ; CPU:$CB7F PRG:0B7F D0 BD
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites2_12:
|
|
lda Zp12 ; CPU:$CB81 PRG:0B81 A5 12
|
|
sta PPUSCROLL ; CPU:$CB83 PRG:0B83 8D 05 20
|
|
lda Zp13 ; CPU:$CB86 PRG:0B86 A5 13
|
|
sta PPUSCROLL ; CPU:$CB88 PRG:0B88 8D 05 20
|
|
rts ; CPU:$CB8B PRG:0B8B 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites4_7:
|
|
inx ; CPU:$CB8C PRG:0B8C E8
|
|
txa ; CPU:$CB8D PRG:0B8D 8A
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSprites4_6:
|
|
cmp #$3F ; CPU:$CB8E PRG:0B8E C9 3F
|
|
bcc Label_CB9C ; CPU:$CB90 PRG:0B90 90 0A
|
|
ldx $0300 ; CPU:$CB92 PRG:0B92 AE 00 03
|
|
lda #$00 ; CPU:$CB95 PRG:0B95 A9 00
|
|
sta $0301,x ; CPU:$CB97 PRG:0B97 9D 01 03
|
|
pla ; CPU:$CB9A PRG:0B9A 68
|
|
pla ; CPU:$CB9B PRG:0B9B 68
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CB9C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CB9C:
|
|
rts ; CPU:$CB9C PRG:0B9C 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CBA9:
|
|
lda Zp32,x ; CPU:$CBA9 PRG:0BA9 B5 32
|
|
beq Label_CBAF ; CPU:$CBAB PRG:0BAB F0 02
|
|
dec Zp32,x ; CPU:$CBAD PRG:0BAD D6 32
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CBAF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CBAF:
|
|
dex ; CPU:$CBAF PRG:0BAF CA
|
|
bpl Label_CBA9 ; CPU:$CBB0 PRG:0BB0 10 F7
|
|
rts ; CPU:$CBB2 PRG:0BB2 60
|
|
; ---- data $CBB3-$CC04 (82 bytes) ----
|
|
; referenced by `ldy $CBBF,x` at $CE0C (operand $CBBF falls inside this region)
|
|
; referenced by `adc $CBF5,x` at $CE13 (operand $CBF5 falls inside this region)
|
|
; referenced by `ldy $CBBF,x` at $CE31 (operand $CBBF falls inside this region)
|
|
; referenced by `cmp $CBDC,y` at $CEDD (operand $CBDC falls inside this region)
|
|
; 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
|
|
.byte $B0, $D9, $E2, $F1, $FA, $4A, $7A, $AA, $DA, $F5, $80, $40, $20, $10, $08, $04 ; CPU:$CBE3 PRG:0BE3 B0 D9 E2 F1 FA 4A 7A AA DA F5 80 40 20 10 08 04
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CC05:
|
|
jsr $CD13 ; CPU:$CC05 PRG:0C05 20 13 CD
|
|
ldx #$00 ; CPU:$CC08 PRG:0C08 A2 00
|
|
jsr $DA99 ; CPU:$CC0A PRG:0C0A 20 99 DA
|
|
lda Zp58 ; CPU:$CC0D PRG:0C0D A5 58
|
|
beq Label_CC1F ; CPU:$CC0F PRG:0C0F F0 0E
|
|
lda Zp17 ; CPU:$CC11 PRG:0C11 A5 17
|
|
sta Zp71 ; CPU:$CC13 PRG:0C13 85 71
|
|
ldx #$01 ; CPU:$CC15 PRG:0C15 A2 01
|
|
jsr $CD13 ; CPU:$CC17 PRG:0C17 20 13 CD
|
|
ldx #$01 ; CPU:$CC1A PRG:0C1A A2 01
|
|
jsr $DA99 ; CPU:$CC1C PRG:0C1C 20 99 DA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CC1F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CC1F:
|
|
jsr $EFEC ; CPU:$CC1F PRG:0C1F 20 EC EF
|
|
jsr $E189 ; CPU:$CC22 PRG:0C22 20 89 E1
|
|
jsr $DC6A ; CPU:$CC25 PRG:0C25 20 6A DC
|
|
jsr $D1E5 ; CPU:$CC28 PRG:0C28 20 E5 D1
|
|
jsr $DE22 ; CPU:$CC2B PRG:0C2B 20 22 DE
|
|
jsr $EE0D ; CPU:$CC2E PRG:0C2E 20 0D EE
|
|
jsr $EF9A ; CPU:$CC31 PRG:0C31 20 9A EF
|
|
jsr $F10B ; CPU:$CC34 PRG:0C34 20 0B F1
|
|
jsr $D3AC ; CPU:$CC37 PRG:0C37 20 AC D3
|
|
jsr $D212 ; CPU:$CC3A PRG:0C3A 20 12 D2
|
|
jsr $D301 ; CPU:$CC3D PRG:0C3D 20 01 D3
|
|
jsr $EB7F ; CPU:$CC40 PRG:0C40 20 7F EB
|
|
jsr $EC23 ; CPU:$CC43 PRG:0C43 20 23 EC
|
|
jsr $F838 ; CPU:$CC46 PRG:0C46 20 38 F8
|
|
jsr $D493 ; CPU:$CC49 PRG:0C49 20 93 D4
|
|
jsr $E29A ; CPU:$CC4C PRG:0C4C 20 9A E2
|
|
jsr $E0B9 ; CPU:$CC4F PRG:0C4F 20 B9 E0
|
|
jsr $D9CC ; CPU:$CC52 PRG:0C52 20 CC D9
|
|
jsr $DA4B ; CPU:$CC55 PRG:0C55 20 4B DA
|
|
jsr $EB2E ; CPU:$CC58 PRG:0C58 20 2E EB
|
|
jsr $ECBF ; CPU:$CC5B PRG:0C5B 20 BF EC
|
|
jsr $D463 ; CPU:$CC5E PRG:0C5E 20 63 D4
|
|
jsr $D82F ; CPU:$CC61 PRG:0C61 20 2F D8
|
|
jmp $D7DE ; CPU:$CC64 PRG:0C64 4C DE D7
|
|
; ---- data $CC67-$CC9D (55 bytes) ----
|
|
SpriteDataTable3: ; Sprite data table 3 (UpdateSprites5_4)
|
|
.byte $A9, $04, $4C, $F5, $D4, $20, $71, $F4, $20, $8F, $E8, $A5, $45, $F0, $05, $C9 ; CPU:$CC67 PRG:0C67 A9 04 4C F5 D4 20 71 F4 20 8F E8 A5 45 F0 05 C9
|
|
.byte $01, $F0, $04, $60, $4C, $F2, $E8, $A5, $20, $C9, $80, $F0, $13, $E6, $59, $A5 ; CPU:$CC77 PRG:0C77 01 F0 04 60 4C F2 E8 A5 20 C9 80 F0 13 E6 59 A5
|
|
.byte $59, $C9, $63, $90, $04, $A9, $00, $85, $59, $E6, $56, $A9, $01, $4C, $F5, $D4 ; CPU:$CC87 PRG:0C87 59 C9 63 90 04 A9 00 85 59 E6 56 A9 01 4C F5 D4
|
|
.byte $A9, $00, $85, $51, $85, $55, $60 ; CPU:$CC97 PRG:0C97 A9 00 85 51 85 55 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CC9E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CC9E:
|
|
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
|
|
cmp Zp6B ; CPU:$CCA4 PRG:0CA4 C5 6B
|
|
beq Label_CCED ; CPU:$CCA6 PRG:0CA6 F0 45
|
|
lda Zp8C ; CPU:$CCA8 PRG:0CA8 A5 8C
|
|
bne Label_CCE4 ; CPU:$CCAA PRG:0CAA D0 38
|
|
ldx Zp26 ; CPU:$CCAC PRG:0CAC A6 26
|
|
cpx #$02 ; CPU:$CCAE PRG:0CAE E0 02
|
|
bne Label_CCB9 ; CPU:$CCB0 PRG:0CB0 D0 07
|
|
ldx #$00 ; CPU:$CCB2 PRG:0CB2 A2 00
|
|
jsr $CCF6 ; CPU:$CCB4 PRG:0CB4 20 F6 CC
|
|
ldx #$01 ; CPU:$CCB7 PRG:0CB7 A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CCB9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CCB9:
|
|
jsr $CCF6 ; CPU:$CCB9 PRG:0CB9 20 F6 CC
|
|
jsr $D212 ; CPU:$CCBC PRG:0CBC 20 12 D2
|
|
jsr $F78B ; CPU:$CCBF PRG:0CBF 20 8B F7
|
|
jsr $D301 ; CPU:$CCC2 PRG:0CC2 20 01 D3
|
|
jsr $F6A4 ; CPU:$CCC5 PRG:0CC5 20 A4 F6
|
|
jsr $F71D ; CPU:$CCC8 PRG:0CC8 20 1D F7
|
|
jsr $EB2E ; CPU:$CCCB PRG:0CCB 20 2E EB
|
|
jsr $E277 ; CPU:$CCCE PRG:0CCE 20 77 E2
|
|
jsr $E33C ; CPU:$CCD1 PRG:0CD1 20 3C E3
|
|
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
|
|
lda Zp27 ; CPU:$CCDD PRG:0CDD A5 27
|
|
bne Label_CCE4 ; CPU:$CCDF PRG:0CDF D0 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CCE1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CCE1:
|
|
jsr $F2EC ; CPU:$CCE1 PRG:0CE1 20 EC F2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CCE4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CCE4:
|
|
jsr $D724 ; CPU:$CCE4 PRG:0CE4 20 24 D7
|
|
jsr $D8AF ; CPU:$CCE7 PRG:0CE7 20 AF D8
|
|
jmp $D890 ; CPU:$CCEA PRG:0CEA 4C 90 D8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CCED
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CCED:
|
|
lda Zp4D ; CPU:$CCED PRG:0CED A5 4D
|
|
bne Label_CD12 ; CPU:$CCEF PRG:0CEF D0 21
|
|
lda #$03 ; CPU:$CCF1 PRG:0CF1 A9 03
|
|
jmp $D4F5 ; CPU:$CCF3 PRG:0CF3 4C F5 D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CCF6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CCF6:
|
|
stx SprData2 ; CPU:$CCF6 PRG:0CF6 86 5F
|
|
txa ; CPU:$CCF8 PRG:0CF8 8A
|
|
asl a ; CPU:$CCF9 PRG:0CF9 0A
|
|
tay ; CPU:$CCFA PRG:0CFA A8
|
|
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
|
|
ldx SprData2 ; CPU:$CD08 PRG:0D08 A6 5F
|
|
jsr $D59C ; CPU:$CD0A PRG:0D0A 20 9C D5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CD0D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CD0D:
|
|
ldx SprData2 ; CPU:$CD0D PRG:0D0D A6 5F
|
|
jsr $D507 ; CPU:$CD0F PRG:0D0F 20 07 D5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CD12
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CD12:
|
|
rts ; CPU:$CD12 PRG:0D12 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CD13
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CD13:
|
|
stx SprData2 ; CPU:$CD13 PRG:0D13 86 5F
|
|
lda SprData,x ; CPU:$CD15 PRG:0D15 B5 5A
|
|
beq Label_CD61 ; CPU:$CD17 PRG:0D17 F0 48
|
|
ldy Zp6A,x ; CPU:$CD19 PRG:0D19 B4 6A
|
|
dey ; CPU:$CD1B PRG:0D1B 88
|
|
tya ; CPU:$CD1C PRG:0D1C 98
|
|
jsr $C728 ; CPU:$CD1D PRG:0D1D 20 28 C7
|
|
; ---- data $CD20-$CD60 (65 bytes) ----
|
|
SpriteAnimTable3: ; Sprite animation table 3 (SubCCD13)
|
|
.byte $32, $CD, $5D, $CE, $38, $CD, $08, $D0, $5D, $D0, $08, $D0, $AA, $D0, $08, $D0 ; CPU:$CD20 PRG:0D20 32 CD 5D CE 38 CD 08 D0 5D D0 08 D0 AA D0 08 D0
|
|
.byte $00, $D5, $20, $B0, $CD, $4C, $3B, $CD, $20, $C6, $CF, $20, $62, $CD, $B0, $21 ; CPU:$CD30 PRG:0D30 00 D5 20 B0 CD 4C 3B CD 20 C6 CF 20 62 CD B0 21
|
|
.byte $A9, $05, $95, $E8, $95, $6E, $A9, $04, $95, $E6, $4A, $95, $6A, $4A, $95, $E0 ; CPU:$CD40 PRG:0D40 A9 05 95 E8 95 6E A9 04 95 E6 4A 95 6A 4A 95 E0
|
|
.byte $95, $86, $4A, $95, $88, $B4, $68, $F0, $08, $B9, $F8, $CB, $18, $75, $64, $95 ; CPU:$CD50 PRG:0D50 95 86 4A 95 88 B4 68 F0 08 B9 F8 CB 18 75 64 95
|
|
.byte $64 ; CPU:$CD60 PRG:0D60 64
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CD61
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CD61:
|
|
rts ; CPU:$CD61 PRG:0D61 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CD62
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CD62:
|
|
lda #$00 ; CPU:$CD62 PRG:0D62 A9 00
|
|
sta Zp82,x ; CPU:$CD64 PRG:0D64 95 82
|
|
lda #$06 ; CPU:$CD66 PRG:0D66 A9 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CD68
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CD68:
|
|
sta PtrHi ; CPU:$CD68 PRG:0D68 85 01
|
|
lda Zp64,x ; CPU:$CD6A PRG:0D6A B5 64
|
|
clc ; CPU:$CD6C PRG:0D6C 18
|
|
adc 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
|
|
bne Label_CD8B ; CPU:$CD76 PRG:0D76 D0 13
|
|
iny ; CPU:$CD78 PRG:0D78 C8
|
|
lda (Zp03),y ; CPU:$CD79 PRG:0D79 B1 03
|
|
bpl Label_CD8B ; CPU:$CD7B PRG:0D7B 10 0E
|
|
dey ; CPU:$CD7D PRG:0D7D 88
|
|
dey ; CPU:$CD7E PRG:0D7E 88
|
|
lda (Zp03),y ; CPU:$CD7F PRG:0D7F B1 03
|
|
bpl Label_CD8B ; CPU:$CD81 PRG:0D81 10 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CD83
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CD83:
|
|
lda #$09 ; CPU:$CD83 PRG:0D83 A9 09
|
|
cmp PtrHi ; CPU:$CD85 PRG:0D85 C5 01
|
|
bne Label_CD68 ; CPU:$CD87 PRG:0D87 D0 DF
|
|
clc ; CPU:$CD89 PRG:0D89 18
|
|
rts ; CPU:$CD8A PRG:0D8A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CD8B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CD8B:
|
|
sec ; CPU:$CD8B PRG:0D8B 38
|
|
rts ; CPU:$CD8C PRG:0D8C 60
|
|
; ---- data $CD8D-$CD94 (8 bytes) ----
|
|
; referenced by `cmp $CD8D,y` at $CD99 (operand $CD8D falls inside this region)
|
|
; 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CD95:
|
|
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
|
|
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
|
|
lda #$00 ; CPU:$CDAB PRG:0DAB A9 00
|
|
sta Zp6C,x ; CPU:$CDAD PRG:0DAD 95 6C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CDAF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CDAF:
|
|
rts ; CPU:$CDAF PRG:0DAF 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CDB0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CDB0:
|
|
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
|
|
asl a ; CPU:$CDB7 PRG:0DB7 0A
|
|
tay ; CPU:$CDB8 PRG:0DB8 A8
|
|
lda a:Zp14,y ; CPU:$CDB9 PRG:0DB9 B9 14 00
|
|
and #$40 ; CPU:$CDBC PRG:0DBC 29 40
|
|
beq Label_CDC4 ; CPU:$CDBE PRG:0DBE F0 04
|
|
lda #$05 ; CPU:$CDC0 PRG:0DC0 A9 05
|
|
bne Label_CDDB ; CPU:$CDC2 PRG:0DC2 D0 17
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CDC4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CDC4:
|
|
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
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CDD0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CDD0:
|
|
lda Zp68,x ; CPU:$CDD0 PRG:0DD0 B5 68
|
|
beq Label_CDFF ; CPU:$CDD2 PRG:0DD2 F0 2B
|
|
lda Zp6E,x ; CPU:$CDD4 PRG:0DD4 B5 6E
|
|
lsr a ; CPU:$CDD6 PRG:0DD6 4A
|
|
sta Zp32,x ; CPU:$CDD7 PRG:0DD7 95 32
|
|
lda #$03 ; CPU:$CDD9 PRG:0DD9 A9 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CDDB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CDDB:
|
|
sta Zp6A,x ; CPU:$CDDB PRG:0DDB 95 6A
|
|
bne Label_CDFF ; CPU:$CDDD PRG:0DDD D0 20
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CDDF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CDDF:
|
|
lda #$01 ; CPU:$CDDF PRG:0DDF A9 01
|
|
ldy Zp68,x ; CPU:$CDE1 PRG:0DE1 B4 68
|
|
cpy #$02 ; CPU:$CDE3 PRG:0DE3 C0 02
|
|
beq Label_CDD0 ; CPU:$CDE5 PRG:0DE5 F0 E9
|
|
bne Label_CDF1 ; CPU:$CDE7 PRG:0DE7 D0 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CDE9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CDE9:
|
|
lda #$02 ; CPU:$CDE9 PRG:0DE9 A9 02
|
|
ldy Zp68,x ; CPU:$CDEB PRG:0DEB B4 68
|
|
cpy #$01 ; CPU:$CDED PRG:0DED C0 01
|
|
beq Label_CDD0 ; CPU:$CDEF PRG:0DEF F0 DF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CDF1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CDF1:
|
|
sta Zp68,x ; CPU:$CDF1 PRG:0DF1 95 68
|
|
and #$01 ; CPU:$CDF3 PRG:0DF3 29 01
|
|
sta Zp62,x ; CPU:$CDF5 PRG:0DF5 95 62
|
|
jsr $D143 ; CPU:$CDF7 PRG:0DF7 20 43 D1
|
|
ldy #$00 ; CPU:$CDFA PRG:0DFA A0 00
|
|
jsr $CD95 ; CPU:$CDFC PRG:0DFC 20 95 CD
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CDFF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 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
|
|
ldx #$00 ; CPU:$CE0F PRG:0E0F A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CE11
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CE11:
|
|
tya ; CPU:$CE11 PRG:0E11 98
|
|
clc ; CPU:$CE12 PRG:0E12 18
|
|
adc $CBF5,x ; CPU:$CE13 PRG:0E13 7D F5 CB
|
|
tay ; CPU:$CE16 PRG:0E16 A8
|
|
lda $0205,y ; CPU:$CE17 PRG:0E17 B9 05 02
|
|
clc ; CPU:$CE1A PRG:0E1A 18
|
|
adc #$77 ; CPU:$CE1B PRG:0E1B 69 77
|
|
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
|
|
ldy #$DF ; CPU:$CE25 PRG:0E25 A0 DF
|
|
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.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CE29:
|
|
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
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CE3F:
|
|
pla ; CPU:$CE3F PRG:0E3F 68
|
|
sta $0215,y ; CPU:$CE40 PRG:0E40 99 15 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CE43
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 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
|
|
lda #$02 ; CPU:$CE51 PRG:0E51 A9 02
|
|
; ---- data $CE53-$CE53 (1 bytes) ----
|
|
.byte $2C ; CPU:$CE53 PRG:0E53 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CE54
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CE54:
|
|
lda #$04 ; CPU:$CE54 PRG:0E54 A9 04
|
|
sta Zp6A,x ; CPU:$CE56 PRG:0E56 95 6A
|
|
lda #$04 ; CPU:$CE58 PRG:0E58 A9 04
|
|
sta ZpFF ; CPU:$CE5A PRG:0E5A 85 FF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CE5C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CE5C:
|
|
rts ; CPU:$CE5C PRG:0E5C 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CE5D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CE5D:
|
|
lda #$A8 ; CPU:$CE5D PRG:0E5D A9 A8
|
|
sta ZpE2,x ; CPU:$CE5F PRG:0E5F 95 E2
|
|
lda #$03 ; CPU:$CE61 PRG:0E61 A9 03
|
|
sta ZpE4,x ; CPU:$CE63 PRG:0E63 95 E4
|
|
lda Zp68,x ; CPU:$CE65 PRG:0E65 B5 68
|
|
bne Label_CE93 ; CPU:$CE67 PRG:0E67 D0 2A
|
|
lda ZpE6,x ; CPU:$CE69 PRG:0E69 B5 E6
|
|
cmp #$03 ; CPU:$CE6B PRG:0E6B C9 03
|
|
bcc Label_CE93 ; CPU:$CE6D PRG:0E6D 90 24
|
|
lda Zp70,x ; CPU:$CE6F PRG:0E6F B5 70
|
|
and #$03 ; CPU:$CE71 PRG:0E71 29 03
|
|
beq Label_CE93 ; CPU:$CE73 PRG:0E73 F0 1E
|
|
sta Zp68,x ; CPU:$CE75 PRG:0E75 95 68
|
|
cmp #$01 ; CPU:$CE77 PRG:0E77 C9 01
|
|
beq Label_CE7E ; CPU:$CE79 PRG:0E79 F0 03
|
|
lda #$00 ; CPU:$CE7B PRG:0E7B A9 00
|
|
; ---- data $CE7D-$CE7D (1 bytes) ----
|
|
.byte $2C ; CPU:$CE7D PRG:0E7D 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CE7E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CE7E:
|
|
lda #$01 ; CPU:$CE7E PRG:0E7E A9 01
|
|
sta Zp62,x ; CPU:$CE80 PRG:0E80 95 62
|
|
lda #$0F ; CPU:$CE82 PRG:0E82 A9 0F
|
|
sta Zp6E,x ; CPU:$CE84 PRG:0E84 95 6E
|
|
bne Label_CE93 ; CPU:$CE86 PRG:0E86 D0 0B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CE88
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CE88:
|
|
lda #$F0 ; CPU:$CE88 PRG:0E88 A9 F0
|
|
; ---- data $CE8A-$CE8A (1 bytes) ----
|
|
.byte $2C ; CPU:$CE8A PRG:0E8A 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CE8B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CE8B:
|
|
lda #$B0 ; CPU:$CE8B PRG:0E8B A9 B0
|
|
sta ZpE2,x ; CPU:$CE8D PRG:0E8D 95 E2
|
|
lda #$00 ; CPU:$CE8F PRG:0E8F A9 00
|
|
sta ZpE4,x ; CPU:$CE91 PRG:0E91 95 E4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CE93
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CE93:
|
|
lda Zp68,x ; CPU:$CE93 PRG:0E93 B5 68
|
|
beq Label_CE9A ; CPU:$CE95 PRG:0E95 F0 03
|
|
jsr $D160 ; CPU:$CE97 PRG:0E97 20 60 D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CE9A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CE9A:
|
|
jsr $D133 ; CPU:$CE9A PRG:0E9A 20 33 D1
|
|
jsr $CEEF ; CPU:$CE9D PRG:0E9D 20 EF CE
|
|
jsr $CF1A ; CPU:$CEA0 PRG:0EA0 20 1A CF
|
|
bcc Label_CED0 ; CPU:$CEA3 PRG:0EA3 90 2B
|
|
lda Zp0E ; CPU:$CEA5 PRG:0EA5 A5 0E
|
|
sec ; CPU:$CEA7 PRG:0EA7 38
|
|
sbc #$19 ; CPU:$CEA8 PRG:0EA8 E9 19
|
|
sta Zp66,x ; CPU:$CEAA PRG:0EAA 95 66
|
|
lda #$00 ; CPU:$CEAC PRG:0EAC A9 00
|
|
sta ZpE0,x ; CPU:$CEAE PRG:0EAE 95 E0
|
|
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 SprData2 ; CPU:$CEB6 PRG:0EB6 A6 5F
|
|
lda #$01 ; CPU:$CEB8 PRG:0EB8 A9 01
|
|
sta Zp6A,x ; CPU:$CEBA PRG:0EBA 95 6A
|
|
lda Zp68,x ; CPU:$CEBC PRG:0EBC B5 68
|
|
beq Label_CEEE ; CPU:$CEBE PRG:0EBE F0 2E
|
|
lda #$03 ; CPU:$CEC0 PRG:0EC0 A9 03
|
|
sta Zp6A,x ; CPU:$CEC2 PRG:0EC2 95 6A
|
|
lda Zp6E,x ; CPU:$CEC4 PRG:0EC4 B5 6E
|
|
ldy 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CECD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CECD:
|
|
lsr a ; CPU:$CECD PRG:0ECD 4A
|
|
sta Zp32,x ; CPU:$CECE PRG:0ECE 95 32
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CED0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CED0:
|
|
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
|
|
ldy #$07 ; CPU:$CED6 PRG:0ED6 A0 07
|
|
jmp $D17C ; CPU:$CED8 PRG:0ED8 4C 7C D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CEDB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CEDB:
|
|
ldy #$00 ; CPU:$CEDB PRG:0EDB A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CEDD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CEDD:
|
|
cmp $CBDC,y ; CPU:$CEDD PRG:0EDD D9 DC CB
|
|
bcc Label_CEE7 ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CEE7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CEE7:
|
|
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
|
|
sec ; CPU:$CEED PRG:0EED 38
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CEEE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CEEE:
|
|
rts ; CPU:$CEEE PRG:0EEE 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CEEF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CEEF:
|
|
lda Zp86,x ; CPU:$CEEF PRG:0EEF B5 86
|
|
bne Label_CF19 ; CPU:$CEF1 PRG:0EF1 D0 26
|
|
lda Zp66,x ; CPU:$CEF3 PRG:0EF3 B5 66
|
|
clc ; CPU:$CEF5 PRG:0EF5 18
|
|
adc #$FA ; CPU:$CEF6 PRG:0EF6 69 FA
|
|
jsr $CEDB ; CPU:$CEF8 PRG:0EF8 20 DB CE
|
|
bcs Label_CF19 ; CPU:$CEFB PRG:0EFB B0 1C
|
|
jsr $CF5B ; CPU:$CEFD PRG:0EFD 20 5B CF
|
|
sta Zp0B ; CPU:$CF00 PRG:0F00 85 0B
|
|
lda Zp64,x ; CPU:$CF02 PRG:0F02 B5 64
|
|
clc ; CPU:$CF04 PRG:0F04 18
|
|
adc #$08 ; CPU:$CF05 PRG:0F05 69 08
|
|
jsr $DBB0 ; CPU:$CF07 PRG:0F07 20 B0 DB
|
|
bpl Label_CF12 ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CF12
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF12:
|
|
lda #$08 ; CPU:$CF12 PRG:0F12 A9 08
|
|
; ---- data $CF14-$CF14 (1 bytes) ----
|
|
.byte $2C ; CPU:$CF14 PRG:0F14 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CF15
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF15:
|
|
lda #$06 ; CPU:$CF15 PRG:0F15 A9 06
|
|
sta Zp6A,x ; CPU:$CF17 PRG:0F17 95 6A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CF19
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF19:
|
|
rts ; CPU:$CF19 PRG:0F19 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CF1A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF1A:
|
|
lda Zp66,x ; CPU:$CF1A PRG:0F1A B5 66
|
|
clc ; CPU:$CF1C PRG:0F1C 18
|
|
adc #$18 ; CPU:$CF1D PRG:0F1D 69 18
|
|
jsr $CEDB ; CPU:$CF1F PRG:0F1F 20 DB CE
|
|
bcs Label_CF51 ; CPU:$CF22 PRG:0F22 B0 2D
|
|
tya ; CPU:$CF24 PRG:0F24 98
|
|
sty Zp07 ; CPU:$CF25 PRG:0F25 84 07
|
|
cmp Zp88,x ; CPU:$CF27 PRG:0F27 D5 88
|
|
beq Label_CF55 ; CPU:$CF29 PRG:0F29 F0 2A
|
|
lda $CBDC,y ; CPU:$CF2B PRG:0F2B B9 DC CB
|
|
sta Zp0E ; CPU:$CF2E PRG:0F2E 85 0E
|
|
lda ZpE6,x ; CPU:$CF30 PRG:0F30 B5 E6
|
|
cmp #$03 ; CPU:$CF32 PRG:0F32 C9 03
|
|
bcs Label_CF46 ; CPU:$CF34 PRG:0F34 B0 10
|
|
cmp #$02 ; CPU:$CF36 PRG:0F36 C9 02
|
|
bcc Label_CF55 ; CPU:$CF38 PRG:0F38 90 1B
|
|
lda Zp6A,x ; CPU:$CF3A PRG:0F3A B5 6A
|
|
cmp #$08 ; CPU:$CF3C PRG:0F3C C9 08
|
|
beq Label_CF46 ; CPU:$CF3E PRG:0F3E F0 06
|
|
lda ZpE8,x ; CPU:$CF40 PRG:0F40 B5 E8
|
|
cmp #$C0 ; CPU:$CF42 PRG:0F42 C9 C0
|
|
bcc Label_CF55 ; CPU:$CF44 PRG:0F44 90 0F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CF46
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF46:
|
|
ldy Zp07 ; CPU:$CF46 PRG:0F46 A4 07
|
|
sty Zp88,x ; CPU:$CF48 PRG:0F48 94 88
|
|
jsr $CD62 ; CPU:$CF4A PRG:0F4A 20 62 CD
|
|
bcc Label_CF55 ; CPU:$CF4D PRG:0F4D 90 06
|
|
sec ; CPU:$CF4F PRG:0F4F 38
|
|
rts ; CPU:$CF50 PRG:0F50 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CF51
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF51:
|
|
lda #$00 ; CPU:$CF51 PRG:0F51 A9 00
|
|
sta Zp88,x ; CPU:$CF53 PRG:0F53 95 88
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CF55
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF55:
|
|
clc ; CPU:$CF55 PRG:0F55 18
|
|
rts ; CPU:$CF56 PRG:0F56 60
|
|
; ---- data $CF57-$CF5A (4 bytes) ----
|
|
; referenced by `lda $CF59,y` at $CF8F (operand $CF59 falls inside this region)
|
|
; 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF5B:
|
|
lda #$01 ; CPU:$CF5B PRG:0F5B A9 01
|
|
sta Zp82,x ; CPU:$CF5D PRG:0F5D 95 82
|
|
lsr a ; CPU:$CF5F PRG:0F5F 4A
|
|
sta Zp0A ; CPU:$CF60 PRG:0F60 85 0A
|
|
lda #$08 ; CPU:$CF62 PRG:0F62 A9 08
|
|
jsr $CFC0 ; CPU:$CF64 PRG:0F64 20 C0 CF
|
|
bmi Label_CF6D ; CPU:$CF67 PRG:0F67 30 04
|
|
lda #$FF ; CPU:$CF69 PRG:0F69 A9 FF
|
|
bne Label_CFA7 ; CPU:$CF6B PRG:0F6B D0 3A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CF6D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF6D:
|
|
lda Zp68,x ; CPU:$CF6D PRG:0F6D B5 68
|
|
bne Label_CF89 ; CPU:$CF6F PRG:0F6F D0 18
|
|
lda #$06 ; CPU:$CF71 PRG:0F71 A9 06
|
|
jsr $CFC0 ; CPU:$CF73 PRG:0F73 20 C0 CF
|
|
bmi Label_CF7C ; CPU:$CF76 PRG:0F76 30 04
|
|
lda #$E0 ; CPU:$CF78 PRG:0F78 A9 E0
|
|
sta Zp0A ; CPU:$CF7A PRG:0F7A 85 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CF7C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF7C:
|
|
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
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CF89
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF89:
|
|
lda #$01 ; CPU:$CF89 PRG:0F89 A9 01
|
|
sta Zp0C ; CPU:$CF8B PRG:0F8B 85 0C
|
|
ldy Zp62,x ; CPU:$CF8D PRG:0F8D B4 62
|
|
lda $CF59,y ; CPU:$CF8F PRG:0F8F B9 59 CF
|
|
jsr $CFC0 ; CPU:$CF92 PRG:0F92 20 C0 CF
|
|
bpl Label_CF99 ; CPU:$CF95 PRG:0F95 10 02
|
|
dec Zp0C ; CPU:$CF97 PRG:0F97 C6 0C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CF99
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CF99:
|
|
ldy Zp68,x ; CPU:$CF99 PRG:0F99 B4 68
|
|
dey ; CPU:$CF9B PRG:0F9B 88
|
|
lda Zp0C ; CPU:$CF9C PRG:0F9C A5 0C
|
|
bne Label_CFA4 ; CPU:$CF9E PRG:0F9E D0 04
|
|
lda #$00 ; CPU:$CFA0 PRG:0FA0 A9 00
|
|
beq Label_CFA7 ; CPU:$CFA2 PRG:0FA2 F0 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFA4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFA4:
|
|
lda $CF57,y ; CPU:$CFA4 PRG:0FA4 B9 57 CF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFA7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFA7:
|
|
sta Zp0A ; CPU:$CFA7 PRG:0FA7 85 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFA9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFA9:
|
|
lda Zp64,x ; CPU:$CFA9 PRG:0FA9 B5 64
|
|
clc ; CPU:$CFAB PRG:0FAB 18
|
|
adc #$08 ; CPU:$CFAC PRG:0FAC 69 08
|
|
and #$07 ; CPU:$CFAE PRG:0FAE 29 07
|
|
tay ; CPU:$CFB0 PRG:0FB0 A8
|
|
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
|
|
lda #$01 ; CPU:$CFBA PRG:0FBA A9 01
|
|
rts ; CPU:$CFBC PRG:0FBC 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFBD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFBD:
|
|
lda #$00 ; CPU:$CFBD PRG:0FBD A9 00
|
|
rts ; CPU:$CFBF PRG:0FBF 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFC0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFC0:
|
|
clc ; CPU:$CFC0 PRG:0FC0 18
|
|
adc Zp64,x ; CPU:$CFC1 PRG:0FC1 75 64
|
|
jmp $DBB4 ; CPU:$CFC3 PRG:0FC3 4C B4 DB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFC6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFC6:
|
|
lda Zp68,x ; CPU:$CFC6 PRG:0FC6 B5 68
|
|
beq Label_CFD3 ; CPU:$CFC8 PRG:0FC8 F0 09
|
|
cmp #$01 ; CPU:$CFCA PRG:0FCA C9 01
|
|
beq Label_CFD1 ; CPU:$CFCC PRG:0FCC F0 03
|
|
dec Zp64,x ; CPU:$CFCE PRG:0FCE D6 64
|
|
; ---- data $CFD0-$CFD0 (1 bytes) ----
|
|
.byte $2C ; CPU:$CFD0 PRG:0FD0 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFD1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFD1:
|
|
inc Zp64,x ; CPU:$CFD1 PRG:0FD1 F6 64
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFD3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFD3:
|
|
ldy #$05 ; CPU:$CFD3 PRG:0FD3 A0 05
|
|
jsr $D17C ; CPU:$CFD5 PRG:0FD5 20 7C D1
|
|
lda Zp32,x ; CPU:$CFD8 PRG:0FD8 B5 32
|
|
beq Label_CFEB ; CPU:$CFDA PRG:0FDA F0 0F
|
|
lda SprData,x ; CPU:$CFDC PRG:0FDC B5 5A
|
|
cmp #$06 ; CPU:$CFDE PRG:0FDE C9 06
|
|
bcc Label_CFEB ; CPU:$CFE0 PRG:0FE0 90 09
|
|
lda Zp70,x ; CPU:$CFE2 PRG:0FE2 B5 70
|
|
and #$40 ; CPU:$CFE4 PRG:0FE4 29 40
|
|
beq Label_CFFC ; CPU:$CFE6 PRG:0FE6 F0 14
|
|
lda #$05 ; CPU:$CFE8 PRG:0FE8 A9 05
|
|
; ---- data $CFEA-$CFEA (1 bytes) ----
|
|
.byte $2C ; CPU:$CFEA PRG:0FEA 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFEB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFEB:
|
|
lda #$01 ; CPU:$CFEB PRG:0FEB A9 01
|
|
sta Zp6A,x ; CPU:$CFED PRG:0FED 95 6A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFEF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFEF:
|
|
lda #$00 ; CPU:$CFEF PRG:0FEF A9 00
|
|
sta Zp32,x ; CPU:$CFF1 PRG:0FF1 95 32
|
|
sta Zp68,x ; CPU:$CFF3 PRG:0FF3 95 68
|
|
sta Zp60,x ; CPU:$CFF5 PRG:0FF5 95 60
|
|
sta Zp6C,x ; CPU:$CFF7 PRG:0FF7 95 6C
|
|
sta Zp6E,x ; CPU:$CFF9 PRG:0FF9 95 6E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFFB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFFB:
|
|
rts ; CPU:$CFFB PRG:0FFB 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_CFFC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_CFFC:
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D00A:
|
|
cmp #$06 ; CPU:$D00A PRG:100A C9 06
|
|
beq Label_D018 ; CPU:$D00C PRG:100C F0 0A
|
|
cmp #$08 ; CPU:$D00E PRG:100E C9 08
|
|
beq Label_D01E ; CPU:$D010 PRG:1010 F0 0C
|
|
jsr $CE5D ; CPU:$D012 PRG:1012 20 5D CE
|
|
jmp $D021 ; CPU:$D015 PRG:1015 4C 21 D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D018
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D018:
|
|
jsr $CE88 ; CPU:$D018 PRG:1018 20 88 CE
|
|
jmp $D021 ; CPU:$D01B PRG:101B 4C 21 D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D01E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D01E:
|
|
jsr $CE8B ; CPU:$D01E PRG:101E 20 8B CE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D021
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D021:
|
|
lda ZpE0,x ; CPU:$D021 PRG:1021 B5 E0
|
|
beq Label_CFFB ; CPU:$D023 PRG:1023 F0 D6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D025
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D025:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D02D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D02D:
|
|
cmp #$04 ; CPU:$D02D PRG:102D C9 04
|
|
beq Label_D04F ; CPU:$D02F PRG:102F F0 1E
|
|
lda SprData2 ; CPU:$D031 PRG:1031 A5 5F
|
|
asl a ; CPU:$D033 PRG:1033 0A
|
|
asl a ; CPU:$D034 PRG:1034 0A
|
|
tay ; CPU:$D035 PRG:1035 A8
|
|
lda $021C,y ; CPU:$D036 PRG:1036 B9 1C 02
|
|
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
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D04F:
|
|
ldy #$07 ; CPU:$D04F PRG:104F A0 07
|
|
lda Zp60,x ; CPU:$D051 PRG:1051 B5 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D053
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D053:
|
|
cmp #$0B ; CPU:$D053 PRG:1053 C9 0B
|
|
bcs Label_D05A ; CPU:$D055 PRG:1055 B0 03
|
|
inc Zp60,x ; CPU:$D057 PRG:1057 F6 60
|
|
dey ; CPU:$D059 PRG:1059 88
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D05A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D05A:
|
|
jmp $D17C ; CPU:$D05A PRG:105A 4C 7C D1
|
|
; ---- data $D05D-$D06A (14 bytes) ----
|
|
.byte $F6, $60, $B5, $60, $C9, $14, $B0, $17, $C9, $01, $90, $92, $A0, $0A ; CPU:$D05D PRG:105D F6 60 B5 60 C9 14 B0 17 C9 01 90 92 A0 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D06B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D06B:
|
|
cmp #$0B ; CPU:$D06B PRG:106B C9 0B
|
|
bcs Label_D079 ; CPU:$D06D PRG:106D B0 0A
|
|
cmp #$07 ; CPU:$D06F PRG:106F C9 07
|
|
bcs Label_D077 ; CPU:$D071 PRG:1071 B0 04
|
|
ldy #$07 ; CPU:$D073 PRG:1073 A0 07
|
|
bne Label_D079 ; CPU:$D075 PRG:1075 D0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D077
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D077:
|
|
ldy #$09 ; CPU:$D077 PRG:1077 A0 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D079
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D079:
|
|
jmp $D17C ; CPU:$D079 PRG:1079 4C 7C D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D07C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D07C:
|
|
lda #$01 ; CPU:$D07C PRG:107C A9 01
|
|
sta Zp6A,x ; CPU:$D07E PRG:107E 95 6A
|
|
lsr a ; CPU:$D080 PRG:1080 4A
|
|
sta Zp60,x ; CPU:$D081 PRG:1081 95 60
|
|
tay ; CPU:$D083 PRG:1083 A8
|
|
beq Label_D079 ; 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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D0AA:
|
|
lda Zp32,x ; CPU:$D0AA PRG:10AA B5 32
|
|
beq Label_D0CA ; 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
|
|
ldy #$0B ; CPU:$D0B4 PRG:10B4 A0 0B
|
|
bne Label_D0C7 ; CPU:$D0B6 PRG:10B6 D0 0F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D0B8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D0B8:
|
|
txa ; CPU:$D0B8 PRG:10B8 8A
|
|
clc ; CPU:$D0B9 PRG:10B9 18
|
|
adc #$0B ; CPU:$D0BA PRG:10BA 69 0B
|
|
tax ; CPU:$D0BC PRG:10BC AA
|
|
jmp $F691 ; CPU:$D0BD PRG:10BD 4C 91 F6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D0C0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D0C0:
|
|
lda #$00 ; CPU:$D0C0 PRG:10C0 A9 00
|
|
sta ZpE0,x ; CPU:$D0C2 PRG:10C2 95 E0
|
|
rts ; CPU:$D0C4 PRG:10C4 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D0C5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D0C5:
|
|
ldy #$00 ; CPU:$D0C5 PRG:10C5 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D0C7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D0C7:
|
|
jmp $D17C ; CPU:$D0C7 PRG:10C7 4C 7C D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D0CA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D0CA:
|
|
ldx SprData2 ; CPU:$D0CA PRG:10CA A6 5F
|
|
jsr $D127 ; CPU:$D0CC PRG:10CC 20 27 D1
|
|
jsr $D0C5 ; CPU:$D0CF PRG:10CF 20 C5 D0
|
|
ldy #$03 ; CPU:$D0D2 PRG:10D2 A0 03
|
|
jsr $CD95 ; CPU:$D0D4 PRG:10D4 20 95 CD
|
|
lda Zp6C,x ; CPU:$D0D7 PRG:10D7 B5 6C
|
|
asl a ; CPU:$D0D9 PRG:10D9 0A
|
|
tay ; CPU:$D0DA PRG:10DA A8
|
|
lda $D086,y ; CPU:$D0DB PRG:10DB B9 86 D0
|
|
sta PtrLo ; CPU:$D0DE PRG:10DE 85 00
|
|
lda $D087,y ; CPU:$D0E0 PRG:10E0 B9 87 D0
|
|
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 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
|
|
lda #$25 ; CPU:$D0F2 PRG:10F2 A9 25
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D0F4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D0F4:
|
|
tax ; CPU:$D0F4 PRG:10F4 AA
|
|
ldy #$00 ; CPU:$D0F5 PRG:10F5 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D0F7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D0F7:
|
|
lda (PtrLo),y ; CPU:$D0F7 PRG:10F7 B1 00
|
|
sta $0200,x ; CPU:$D0F9 PRG:10F9 9D 00 02
|
|
inx ; CPU:$D0FC PRG:10FC E8
|
|
lda $0200,x ; CPU:$D0FD PRG:10FD BD 00 02
|
|
and #$03 ; CPU:$D100 PRG:1100 29 03
|
|
ora Ptr2Lo ; CPU:$D102 PRG:1102 05 02
|
|
sta $0200,x ; CPU:$D104 PRG:1104 9D 00 02
|
|
inx ; CPU:$D107 PRG:1107 E8
|
|
inx ; CPU:$D108 PRG:1108 E8
|
|
inx ; CPU:$D109 PRG:1109 E8
|
|
iny ; CPU:$D10A PRG:110A C8
|
|
cpy #$06 ; CPU:$D10B PRG:110B C0 06
|
|
bcc Label_D0F7 ; CPU:$D10D PRG:110D 90 E8
|
|
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.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D111:
|
|
lda Zp32,x ; CPU:$D111 PRG:1111 B5 32
|
|
bne Label_D126 ; CPU:$D113 PRG:1113 D0 11
|
|
ldy #$0B ; CPU:$D115 PRG:1115 A0 0B
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
lda #$FF ; CPU:$D11E PRG:111E A9 FF
|
|
sta a:Zp90,y ; CPU:$D120 PRG:1120 99 90 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D123
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D123:
|
|
dey ; CPU:$D123 PRG:1123 88
|
|
bne UpdateSound4_11 ; CPU:$D124 PRG:1124 D0 F1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D126
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D126:
|
|
rts ; CPU:$D126 PRG:1126 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D127
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D127:
|
|
lda #$01 ; CPU:$D127 PRG:1127 A9 01
|
|
sta ZpE4,x ; CPU:$D129 PRG:1129 95 E4
|
|
lda #$80 ; CPU:$D12B PRG:112B A9 80
|
|
sta ZpE2,x ; CPU:$D12D PRG:112D 95 E2
|
|
lda #$01 ; CPU:$D12F PRG:112F A9 01
|
|
sta Zp2F,x ; CPU:$D131 PRG:1131 95 2F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D133
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D133:
|
|
lda Zp66,x ; CPU:$D133 PRG:1133 B5 66
|
|
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 SprData2 ; CPU:$D13C PRG:113C A6 5F
|
|
lda PtrHi ; CPU:$D13E PRG:113E A5 01
|
|
sta Zp66,x ; CPU:$D140 PRG:1140 95 66
|
|
rts ; CPU:$D142 PRG:1142 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D143
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D143:
|
|
ldy Zp6A,x ; CPU:$D143 PRG:1143 B4 6A
|
|
cpy #$01 ; CPU:$D145 PRG:1145 C0 01
|
|
bne UpdateSound6 ; CPU:$D147 PRG:1147 D0 17
|
|
lda Zp6E,x ; CPU:$D149 PRG:1149 B5 6E
|
|
cmp #$18 ; CPU:$D14B PRG:114B C9 18
|
|
bcs Label_D151 ; CPU:$D14D PRG:114D B0 02
|
|
inc Zp6E,x ; CPU:$D14F PRG:114F F6 6E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D151
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D151:
|
|
lda Zp76,x ; CPU:$D151 PRG:1151 B5 76
|
|
clc ; CPU:$D153 PRG:1153 18
|
|
adc #$20 ; CPU:$D154 PRG:1154 69 20
|
|
sta Zp76,x ; CPU:$D156 PRG:1156 95 76
|
|
bcc Label_D171 ; CPU:$D158 PRG:1158 90 17
|
|
jsr $D171 ; CPU:$D15A PRG:115A 20 71 D1
|
|
jmp $D171 ; CPU:$D15D PRG:115D 4C 71 D1
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
lda #$45 ; CPU:$D168 PRG:1168 A9 45
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D16A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D16A:
|
|
clc ; CPU:$D16A PRG:116A 18
|
|
adc Zp72,x ; CPU:$D16B PRG:116B 75 72
|
|
sta Zp72,x ; CPU:$D16D PRG:116D 95 72
|
|
bcc Label_D17B ; CPU:$D16F PRG:116F 90 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D171
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D171:
|
|
ldy Zp62,x ; CPU:$D171 PRG:1171 B4 62
|
|
lda $CBDA,y ; CPU:$D173 PRG:1173 B9 DA CB
|
|
clc ; CPU:$D176 PRG:1176 18
|
|
adc Zp64,x ; CPU:$D177 PRG:1177 75 64
|
|
sta Zp64,x ; CPU:$D179 PRG:1179 95 64
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D17B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D17B:
|
|
rts ; CPU:$D17B PRG:117B 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D17C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D17C:
|
|
lda $CBB3,y ; CPU:$D17C PRG:117C B9 B3 CB
|
|
sta Ptr2Lo ; CPU:$D17F PRG:117F 85 02
|
|
tya ; CPU:$D181 PRG:1181 98
|
|
pha ; CPU:$D182 PRG:1182 48
|
|
ldx SprData2 ; CPU:$D183 PRG:1183 A6 5F
|
|
lda Zp64,x ; CPU:$D185 PRG:1185 B5 64
|
|
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
|
|
sec ; CPU:$D18F PRG:118F 38
|
|
sbc #$08 ; CPU:$D190 PRG:1190 E9 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D192
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D192:
|
|
sta PtrHi ; CPU:$D192 PRG:1192 85 01
|
|
lda Zp62,x ; CPU:$D194 PRG:1194 B5 62
|
|
sta Zp0F ; CPU:$D196 PRG:1196 85 0F
|
|
txa ; CPU:$D198 PRG:1198 8A
|
|
tay ; CPU:$D199 PRG:1199 A8
|
|
iny ; CPU:$D19A PRG:119A C8
|
|
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
|
|
cmp #$06 ; CPU:$D1A3 PRG:11A3 C9 06
|
|
bcs Label_D1AB ; CPU:$D1A5 PRG:11A5 B0 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D1A7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D1A7:
|
|
lda #$F8 ; CPU:$D1A7 PRG:11A7 A9 F8
|
|
bne Label_D1D2 ; CPU:$D1A9 PRG:11A9 D0 27
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D1AB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D1AB:
|
|
sec ; CPU:$D1AB PRG:11AB 38
|
|
sbc #$06 ; CPU:$D1AC PRG:11AC E9 06
|
|
sta Zp07 ; CPU:$D1AE PRG:11AE 85 07
|
|
ldy Zp07 ; CPU:$D1B0 PRG:11B0 A4 07
|
|
lda $CBC1,y ; CPU:$D1B2 PRG:11B2 B9 C1 CB
|
|
sta 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 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
|
|
iny ; CPU:$D1C3 PRG:11C3 C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D1C4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 PtrLo ; CPU:$D1CA PRG:11CA 85 00
|
|
lda $CBC7,y ; CPU:$D1CC PRG:11CC B9 C7 CB
|
|
clc ; CPU:$D1CF PRG:11CF 18
|
|
adc Zp66,x ; CPU:$D1D0 PRG:11D0 75 66
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D1D2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D1D2:
|
|
sta PtrHi ; CPU:$D1D2 PRG:11D2 85 01
|
|
ldy #$0B ; CPU:$D1D4 PRG:11D4 A0 0B
|
|
cpx #$00 ; CPU:$D1D6 PRG:11D6 E0 00
|
|
beq Label_D1DB ; CPU:$D1D8 PRG:11D8 F0 01
|
|
iny ; CPU:$D1DA PRG:11DA C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D1DB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 SprData2 ; CPU:$D1E2 PRG:11E2 A6 5F
|
|
rts ; CPU:$D1E4 PRG:11E4 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D1E5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D1E5:
|
|
ldx #$01 ; CPU:$D1E5 PRG:11E5 A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D1E7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D1E7:
|
|
lda SprData,x ; CPU:$D1E7 PRG:11E7 B5 5A
|
|
beq Label_D1F5 ; CPU:$D1E9 PRG:11E9 F0 0A
|
|
lda Zp66,x ; CPU:$D1EB PRG:11EB B5 66
|
|
clc ; CPU:$D1ED PRG:11ED 18
|
|
adc #$18 ; CPU:$D1EE PRG:11EE 69 18
|
|
jsr $D1F9 ; CPU:$D1F0 PRG:11F0 20 F9 D1
|
|
sta 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.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D1F5:
|
|
dex ; CPU:$D1F5 PRG:11F5 CA
|
|
bpl Label_D1E7 ; CPU:$D1F6 PRG:11F6 10 EF
|
|
rts ; CPU:$D1F8 PRG:11F8 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D1F9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D1F9:
|
|
ldy #$00 ; CPU:$D1F9 PRG:11F9 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D1FB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D1FB:
|
|
cmp $CBE8,y ; CPU:$D1FB PRG:11FB D9 E8 CB
|
|
bcc Label_D206 ; 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
|
|
dey ; CPU:$D205 PRG:1205 88
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D206
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D206:
|
|
sty Zp0A ; CPU:$D206 PRG:1206 84 0A
|
|
lda Zp90 ; CPU:$D208 PRG:1208 A5 90
|
|
sec ; CPU:$D20A PRG:120A 38
|
|
sbc Zp0A ; CPU:$D20B PRG:120B E5 0A
|
|
bne Label_D211 ; CPU:$D20D PRG:120D D0 02
|
|
lda #$01 ; CPU:$D20F PRG:120F A9 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D211
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D211:
|
|
rts ; CPU:$D211 PRG:1211 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D212
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D212:
|
|
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
|
|
ora Zp2E ; CPU:$D21A PRG:121A 05 2E
|
|
bne Label_D211 ; CPU:$D21C PRG:121C D0 F3
|
|
lda #$07 ; CPU:$D21E PRG:121E A9 07
|
|
cmp Zp6A ; CPU:$D220 PRG:1220 C5 6A
|
|
beq Label_D211 ; CPU:$D222 PRG:1222 F0 ED
|
|
cmp Zp6B ; CPU:$D224 PRG:1224 C5 6B
|
|
beq Label_D211 ; CPU:$D226 PRG:1226 F0 E9
|
|
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 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 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
|
|
cmp Zp67 ; CPU:$D23E PRG:123E C5 67
|
|
bcs Label_D249 ; CPU:$D240 PRG:1240 B0 07
|
|
cmp #$C3 ; CPU:$D242 PRG:1242 C9 C3
|
|
bcs Label_D24B ; CPU:$D244 PRG:1244 B0 05
|
|
dec Zp66 ; CPU:$D246 PRG:1246 C6 66
|
|
; ---- data $D248-$D248 (1 bytes) ----
|
|
.byte $2C ; CPU:$D248 PRG:1248 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D249
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D249:
|
|
inc Zp66 ; CPU:$D249 PRG:1249 E6 66
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D24B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D24B:
|
|
lda Zp62 ; CPU:$D24B PRG:124B A5 62
|
|
beq Label_D252 ; CPU:$D24D PRG:124D F0 03
|
|
inc Zp64 ; CPU:$D24F PRG:124F E6 64
|
|
; ---- data $D251-$D251 (1 bytes) ----
|
|
.byte $2C ; CPU:$D251 PRG:1251 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D252
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D252:
|
|
dec Zp64 ; CPU:$D252 PRG:1252 C6 64
|
|
lda #$01 ; CPU:$D254 PRG:1254 A9 01
|
|
sta Ptr2Lo ; CPU:$D256 PRG:1256 85 02
|
|
bne Label_D269 ; CPU:$D258 PRG:1258 D0 0F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D25A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D25A:
|
|
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
|
|
lda #$00 ; CPU:$D260 PRG:1260 A9 00
|
|
beq Label_D266 ; CPU:$D262 PRG:1262 F0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D264
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D264:
|
|
lda #$01 ; CPU:$D264 PRG:1264 A9 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D266
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D266:
|
|
jsr $D2BC ; CPU:$D266 PRG:1266 20 BC D2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D269
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 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
|
|
cmp Zp66 ; CPU:$D277 PRG:1277 C5 66
|
|
bcs Label_D282 ; CPU:$D279 PRG:1279 B0 07
|
|
cmp #$C3 ; CPU:$D27B PRG:127B C9 C3
|
|
bcs Label_D284 ; CPU:$D27D PRG:127D B0 05
|
|
dec Zp67 ; CPU:$D27F PRG:127F C6 67
|
|
; ---- data $D281-$D281 (1 bytes) ----
|
|
.byte $2C ; CPU:$D281 PRG:1281 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D282
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D282:
|
|
inc Zp67 ; CPU:$D282 PRG:1282 E6 67
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D284
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D284:
|
|
lda Ptr2Lo ; CPU:$D284 PRG:1284 A5 02
|
|
beq Label_D2B5 ; CPU:$D286 PRG:1286 F0 2D
|
|
lda ZpE6 ; CPU:$D288 PRG:1288 A5 E6
|
|
pha ; CPU:$D28A PRG:128A 48
|
|
lda ZpE7 ; CPU:$D28B PRG:128B A5 E7
|
|
sta ZpE6 ; CPU:$D28D PRG:128D 85 E6
|
|
pla ; CPU:$D28F PRG:128F 68
|
|
sta ZpE7 ; CPU:$D290 PRG:1290 85 E7
|
|
lda ZpE8 ; CPU:$D292 PRG:1292 A5 E8
|
|
pha ; CPU:$D294 PRG:1294 48
|
|
lda ZpE9 ; CPU:$D295 PRG:1295 A5 E9
|
|
sta ZpE8 ; CPU:$D297 PRG:1297 85 E8
|
|
pla ; CPU:$D299 PRG:1299 68
|
|
sta ZpE9 ; CPU:$D29A PRG:129A 85 E9
|
|
ldx #$01 ; CPU:$D29C PRG:129C A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D29E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D29E:
|
|
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
|
|
lda #$05 ; CPU:$D2A4 PRG:12A4 A9 05
|
|
sta ZpE6,x ; CPU:$D2A6 PRG:12A6 95 E6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D2A8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D2A8:
|
|
dex ; CPU:$D2A8 PRG:12A8 CA
|
|
bpl Label_D29E ; CPU:$D2A9 PRG:12A9 10 F3
|
|
lda #$00 ; CPU:$D2AB PRG:12AB A9 00
|
|
sta Zp86 ; CPU:$D2AD PRG:12AD 85 86
|
|
sta Zp87 ; CPU:$D2AF PRG:12AF 85 87
|
|
sta Zp88 ; CPU:$D2B1 PRG:12B1 85 88
|
|
sta Zp89 ; CPU:$D2B3 PRG:12B3 85 89
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D2B5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D2B5:
|
|
rts ; CPU:$D2B5 PRG:12B5 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D2B6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D2B6:
|
|
ldx #$01 ; CPU:$D2B6 PRG:12B6 A2 01
|
|
lda Zp62 ; CPU:$D2B8 PRG:12B8 A5 62
|
|
eor #$01 ; CPU:$D2BA PRG:12BA 49 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D2BC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D2BC:
|
|
sta Zp62,x ; CPU:$D2BC PRG:12BC 95 62
|
|
beq Label_D2C7 ; CPU:$D2BE PRG:12BE F0 07
|
|
inc Zp64,x ; CPU:$D2C0 PRG:12C0 F6 64
|
|
inc Zp64,x ; CPU:$D2C2 PRG:12C2 F6 64
|
|
jmp $D2CB ; CPU:$D2C4 PRG:12C4 4C CB D2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D2C7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D2C7:
|
|
dec Zp64,x ; CPU:$D2C7 PRG:12C7 D6 64
|
|
dec Zp64,x ; CPU:$D2C9 PRG:12C9 D6 64
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
lda #$02 ; CPU:$D2D0 PRG:12D0 A9 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D2D2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D2D2:
|
|
sta Zp68,x ; CPU:$D2D2 PRG:12D2 95 68
|
|
lda #$18 ; CPU:$D2D4 PRG:12D4 A9 18
|
|
sta Zp6E,x ; CPU:$D2D6 PRG:12D6 95 6E
|
|
rts ; CPU:$D2D8 PRG:12D8 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D2D9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D2D9:
|
|
lda Zp64 ; CPU:$D2D9 PRG:12D9 A5 64
|
|
sec ; CPU:$D2DB PRG:12DB 38
|
|
sbc Zp65 ; CPU:$D2DC PRG:12DC E5 65
|
|
sta Zp03 ; CPU:$D2DE PRG:12DE 85 03
|
|
jsr $D2F9 ; CPU:$D2E0 PRG:12E0 20 F9 D2
|
|
sta 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 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D2F8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D2F8:
|
|
rts ; CPU:$D2F8 PRG:12F8 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D2F9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D2FB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D2FB:
|
|
eor #$FF ; CPU:$D2FB PRG:12FB 49 FF
|
|
clc ; CPU:$D2FD PRG:12FD 18
|
|
adc #$01 ; CPU:$D2FE PRG:12FE 69 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D300
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D300:
|
|
rts ; CPU:$D300 PRG:1300 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D301
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D301:
|
|
ldx #$00 ; CPU:$D301 PRG:1301 A2 00
|
|
jsr $D308 ; CPU:$D303 PRG:1303 20 08 D3
|
|
ldx #$01 ; CPU:$D306 PRG:1306 A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D308
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D308:
|
|
lda SprData,x ; CPU:$D308 PRG:1308 B5 5A
|
|
beq Label_D371 ; CPU:$D30A PRG:130A F0 65
|
|
lda Zp6A,x ; CPU:$D30C PRG:130C B5 6A
|
|
beq Label_D371 ; CPU:$D30E PRG:130E F0 61
|
|
cmp #$07 ; CPU:$D310 PRG:1310 C9 07
|
|
beq Label_D371 ; CPU:$D312 PRG:1312 F0 5D
|
|
cmp #$09 ; CPU:$D314 PRG:1314 C9 09
|
|
beq Label_D371 ; CPU:$D316 PRG:1316 F0 59
|
|
lda Zp2D,x ; CPU:$D318 PRG:1318 B5 2D
|
|
bne Label_D371 ; CPU:$D31A PRG:131A D0 55
|
|
lda Zp64,x ; CPU:$D31C PRG:131C B5 64
|
|
clc ; CPU:$D31E PRG:131E 18
|
|
adc #$08 ; CPU:$D31F PRG:131F 69 08
|
|
sta Zp0A ; CPU:$D321 PRG:1321 85 0A
|
|
lda Zp66,x ; CPU:$D323 PRG:1323 B5 66
|
|
clc ; CPU:$D325 PRG:1325 18
|
|
adc #$0C ; CPU:$D326 PRG:1326 69 0C
|
|
sta Zp0B ; CPU:$D328 PRG:1328 85 0B
|
|
txa ; CPU:$D32A PRG:132A 8A
|
|
pha ; CPU:$D32B PRG:132B 48
|
|
ldy #$00 ; CPU:$D32C PRG:132C A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D32E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D32E:
|
|
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
|
|
iny ; CPU:$D335 PRG:1335 C8
|
|
cpy #$0B ; CPU:$D336 PRG:1336 C0 0B
|
|
bcc Label_D32E ; CPU:$D338 PRG:1338 90 F4
|
|
pla ; CPU:$D33A PRG:133A 68
|
|
rts ; CPU:$D33B PRG:133B 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D33C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D33C:
|
|
pla ; CPU:$D33C PRG:133C 68
|
|
tax ; CPU:$D33D PRG:133D AA
|
|
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
|
|
beq Label_D372 ; CPU:$D346 PRG:1346 F0 2A
|
|
jsr $D446 ; CPU:$D348 PRG:1348 20 46 D4
|
|
lda #$20 ; CPU:$D34B PRG:134B A9 20
|
|
sta a:Zp91,y ; CPU:$D34D PRG:134D 99 91 00
|
|
cpy #$02 ; CPU:$D350 PRG:1350 C0 02
|
|
bcc Label_D371 ; CPU:$D352 PRG:1352 90 1D
|
|
cpy #$08 ; CPU:$D354 PRG:1354 C0 08
|
|
bcs Label_D371 ; CPU:$D356 PRG:1356 B0 19
|
|
cpy #$05 ; CPU:$D358 PRG:1358 C0 05
|
|
bcs Label_D367 ; CPU:$D35A PRG:135A B0 0B
|
|
lda a:Zp94,y ; CPU:$D35C PRG:135C B9 94 00
|
|
bpl Label_D371 ; CPU:$D35F PRG:135F 10 10
|
|
lda #$20 ; CPU:$D361 PRG:1361 A9 20
|
|
sta a:Zp94,y ; CPU:$D363 PRG:1363 99 94 00
|
|
rts ; CPU:$D366 PRG:1366 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D367
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D367:
|
|
lda a:$008E,y ; CPU:$D367 PRG:1367 B9 8E 00
|
|
bpl Label_D371 ; CPU:$D36A PRG:136A 10 05
|
|
lda #$20 ; CPU:$D36C PRG:136C A9 20
|
|
sta a:$008E,y ; CPU:$D36E PRG:136E 99 8E 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D371
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D371:
|
|
rts ; CPU:$D371 PRG:1371 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D372
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D372:
|
|
ldy #$01 ; CPU:$D372 PRG:1372 A0 01
|
|
lda PtrLo ; CPU:$D374 PRG:1374 A5 00
|
|
bmi Label_D37F ; CPU:$D376 PRG:1376 30 07
|
|
dec Zp64,x ; CPU:$D378 PRG:1378 D6 64
|
|
dec Zp64,x ; CPU:$D37A PRG:137A D6 64
|
|
iny ; CPU:$D37C PRG:137C C8
|
|
bne Label_D383 ; CPU:$D37D PRG:137D D0 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D37F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D37F:
|
|
inc Zp64,x ; CPU:$D37F PRG:137F F6 64
|
|
inc Zp64,x ; CPU:$D381 PRG:1381 F6 64
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D383
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D383:
|
|
lda Zp6A,x ; CPU:$D383 PRG:1383 B5 6A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D385
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D385:
|
|
and #$01 ; CPU:$D385 PRG:1385 29 01
|
|
beq Label_D390 ; CPU:$D387 PRG:1387 F0 07
|
|
sty Zp68,x ; CPU:$D389 PRG:1389 94 68
|
|
tya ; CPU:$D38B PRG:138B 98
|
|
and #$01 ; CPU:$D38C PRG:138C 29 01
|
|
sta Zp62,x ; CPU:$D38E PRG:138E 95 62
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D390
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D390:
|
|
rts ; CPU:$D390 PRG:1390 60
|
|
; ---- data $D391-$D392 (2 bytes) ----
|
|
; referenced by `lda $D391,x` at $D3A0 (operand $D391 falls inside this region)
|
|
; referenced by `lda $D391,x` at $D421 (operand $D391 falls inside this region)
|
|
.byte $00, $05 ; CPU:$D391 PRG:1391 00 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D393
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D393:
|
|
cpy #$03 ; CPU:$D393 PRG:1393 C0 03
|
|
bcc Label_D3AB ; CPU:$D395 PRG:1395 90 14
|
|
cpy #$09 ; CPU:$D397 PRG:1397 C0 09
|
|
bcs Label_D3AB ; CPU:$D399 PRG:1399 B0 10
|
|
lda #$01 ; CPU:$D39B PRG:139B A9 01
|
|
sta a: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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D3AB:
|
|
rts ; CPU:$D3AB PRG:13AB 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D3AC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D3AC:
|
|
ldx #$00 ; CPU:$D3AC PRG:13AC A2 00
|
|
jsr $D3B3 ; CPU:$D3AE PRG:13AE 20 B3 D3
|
|
ldx #$01 ; CPU:$D3B1 PRG:13B1 A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D3B3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D3B3:
|
|
lda SprData,x ; CPU:$D3B3 PRG:13B3 B5 5A
|
|
beq Label_D3F5 ; CPU:$D3B5 PRG:13B5 F0 3E
|
|
txa ; CPU:$D3B7 PRG:13B7 8A
|
|
asl a ; CPU:$D3B8 PRG:13B8 0A
|
|
asl a ; CPU:$D3B9 PRG:13B9 0A
|
|
tay ; CPU:$D3BA PRG:13BA A8
|
|
lda $021C,y ; CPU:$D3BB PRG:13BB B9 1C 02
|
|
clc ; CPU:$D3BE PRG:13BE 18
|
|
adc #$0A ; CPU:$D3BF PRG:13BF 69 0A
|
|
sta Zp0B ; CPU:$D3C1 PRG:13C1 85 0B
|
|
lda $021F,y ; CPU:$D3C3 PRG:13C3 B9 1F 02
|
|
clc ; CPU:$D3C6 PRG:13C6 18
|
|
adc #$04 ; CPU:$D3C7 PRG:13C7 69 04
|
|
sta Zp0A ; CPU:$D3C9 PRG:13C9 85 0A
|
|
stx Zp09 ; CPU:$D3CB PRG:13CB 86 09
|
|
ldy #$0A ; CPU:$D3CD PRG:13CD A0 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D3CF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D3CF:
|
|
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
|
|
cpy #$08 ; CPU:$D3D5 PRG:13D5 C0 08
|
|
bcc Label_D3DF ; CPU:$D3D7 PRG:13D7 90 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D3D9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D3D9:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D3DF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D3DF:
|
|
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
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D3EB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D3EB:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D3F2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D3F2:
|
|
dey ; CPU:$D3F2 PRG:13F2 88
|
|
bpl Label_D3CF ; CPU:$D3F3 PRG:13F3 10 DA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D3F5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D3F5:
|
|
rts ; CPU:$D3F5 PRG:13F5 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D3F6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D3F6:
|
|
ldx Zp09 ; CPU:$D3F6 PRG:13F6 A6 09
|
|
lda #$01 ; CPU:$D3F8 PRG:13F8 A9 01
|
|
cpy #$01 ; CPU:$D3FA PRG:13FA C0 01
|
|
bne Label_D400 ; CPU:$D3FC PRG:13FC D0 02
|
|
lda #$05 ; CPU:$D3FE PRG:13FE A9 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D400
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D400:
|
|
sta a:Zp91,y ; CPU:$D400 PRG:1400 99 91 00
|
|
lda #$00 ; CPU:$D403 PRG:1403 A9 00
|
|
sta $03B1,y ; CPU:$D405 PRG:1405 99 B1 03
|
|
lda #$FF ; CPU:$D408 PRG:1408 A9 FF
|
|
sta $03D2,y ; CPU:$D40A PRG:140A 99 D2 03
|
|
txa ; CPU:$D40D PRG:140D 8A
|
|
pha ; CPU:$D40E PRG:140E 48
|
|
jsr $D421 ; CPU:$D40F PRG:140F 20 21 D4
|
|
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
|
|
cpy #$08 ; CPU:$D418 PRG:1418 C0 08
|
|
bcs Label_D3F5 ; CPU:$D41A PRG:141A B0 D9
|
|
stx SprData2 ; CPU:$D41C PRG:141C 86 5F
|
|
jmp $D07C ; CPU:$D41E PRG:141E 4C 7C D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D421
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D421:
|
|
lda $D391,x ; CPU:$D421 PRG:1421 BD 91 D3
|
|
tax ; CPU:$D424 PRG:1424 AA
|
|
cpy #$00 ; CPU:$D425 PRG:1425 C0 00
|
|
bne Label_D431 ; CPU:$D427 PRG:1427 D0 08
|
|
inc $0363,x ; CPU:$D429 PRG:1429 FE 63 03
|
|
lda #$01 ; CPU:$D42C PRG:142C A9 01
|
|
sta ZpFE ; CPU:$D42E PRG:142E 85 FE
|
|
rts ; CPU:$D430 PRG:1430 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D431
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D431:
|
|
cpy #$05 ; CPU:$D431 PRG:1431 C0 05
|
|
bcc Label_D43C ; CPU:$D433 PRG:1433 90 07
|
|
cpy #$08 ; CPU:$D435 PRG:1435 C0 08
|
|
bcs Label_D441 ; CPU:$D437 PRG:1437 B0 08
|
|
inc $0362,x ; CPU:$D439 PRG:1439 FE 62 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D43C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D43C:
|
|
lda #$08 ; CPU:$D43C PRG:143C A9 08
|
|
sta ZpFF ; CPU:$D43E PRG:143E 85 FF
|
|
rts ; CPU:$D440 PRG:1440 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D441
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D441:
|
|
lda #$02 ; CPU:$D441 PRG:1441 A9 02
|
|
sta ZpFC ; CPU:$D443 PRG:1443 85 FC
|
|
rts ; CPU:$D445 PRG:1445 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D446
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D446:
|
|
lda #$07 ; CPU:$D446 PRG:1446 A9 07
|
|
sta Zp6A,x ; CPU:$D448 PRG:1448 95 6A
|
|
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
|
|
clc ; CPU:$D451 PRG:1451 18
|
|
adc #$0D ; CPU:$D452 PRG:1452 69 0D
|
|
tax ; CPU:$D454 PRG:1454 AA
|
|
jsr $F691 ; CPU:$D455 PRG:1455 20 91 F6
|
|
pla ; CPU:$D458 PRG:1458 68
|
|
tax ; CPU:$D459 PRG:1459 AA
|
|
lda #$40 ; CPU:$D45A PRG:145A A9 40
|
|
sta Zp32,x ; CPU:$D45C PRG:145C 95 32
|
|
lda #$01 ; CPU:$D45E PRG:145E A9 01
|
|
sta ZpFF ; CPU:$D460 PRG:1460 85 FF
|
|
rts ; CPU:$D462 PRG:1462 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D463
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D463:
|
|
ldx #$00 ; CPU:$D463 PRG:1463 A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D465
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D465:
|
|
lda SprData,x ; CPU:$D465 PRG:1465 B5 5A
|
|
beq Label_D487 ; CPU:$D467 PRG:1467 F0 1E
|
|
lda Zp66,x ; CPU:$D469 PRG:1469 B5 66
|
|
clc ; CPU:$D46B PRG:146B 18
|
|
adc #$19 ; CPU:$D46C PRG:146C 69 19
|
|
jsr $CEDB ; CPU:$D46E PRG:146E 20 DB CE
|
|
bcs Label_D487 ; CPU:$D471 PRG:1471 B0 14
|
|
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 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
|
|
dec Zp20,x ; CPU:$D481 PRG:1481 D6 20
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D483
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D483:
|
|
lda #$08 ; CPU:$D483 PRG:1483 A9 08
|
|
sta Zp3F,x ; CPU:$D485 PRG:1485 95 3F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D487
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D487:
|
|
inx ; CPU:$D487 PRG:1487 E8
|
|
cpx #$02 ; CPU:$D488 PRG:1488 E0 02
|
|
bne Label_D465 ; CPU:$D48A PRG:148A D0 D9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D48C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D48C:
|
|
rts ; CPU:$D48C PRG:148C 60
|
|
; ---- data $D48D-$D492 (6 bytes) ----
|
|
; referenced by `cmp $D48D,y` at $D49F (operand $D48D falls inside this region)
|
|
; referenced by `cmp $D490,y` at $D4A4 (operand $D490 falls inside this region)
|
|
.byte $2C, $64, $AC, $4C, $94, $CC ; CPU:$D48D PRG:148D 2C 64 AC 4C 94 CC
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D493
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D493:
|
|
ldx #$01 ; CPU:$D493 PRG:1493 A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D495
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D495:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D49D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D49D:
|
|
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
|
|
cmp $D490,y ; CPU:$D4A4 PRG:14A4 D9 90 D4
|
|
bcc Label_D4AE ; CPU:$D4A7 PRG:14A7 90 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D4A9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D4A9:
|
|
dey ; CPU:$D4A9 PRG:14A9 88
|
|
bpl Label_D49D ; CPU:$D4AA PRG:14AA 10 F1
|
|
bmi Label_D4CE ; CPU:$D4AC PRG:14AC 30 20
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D4AE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D4AE:
|
|
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
|
|
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
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D4C0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D4C0:
|
|
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
|
|
cmp #$28 ; CPU:$D4C6 PRG:14C6 C9 28
|
|
bcc Label_D4CE ; CPU:$D4C8 PRG:14C8 90 04
|
|
lda #$03 ; CPU:$D4CA PRG:14CA A9 03
|
|
sta ZpE6,x ; CPU:$D4CC PRG:14CC 95 E6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D4CE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D4CE:
|
|
dex ; CPU:$D4CE PRG:14CE CA
|
|
bpl Label_D495 ; CPU:$D4CF PRG:14CF 10 C4
|
|
rts ; CPU:$D4D1 PRG:14D1 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D4D2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 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
|
|
lda #$01 ; CPU:$D4E0 PRG:14E0 A9 01
|
|
bne Label_D4EE ; CPU:$D4E2 PRG:14E2 D0 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D4E4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D4E4:
|
|
lda #$00 ; CPU:$D4E4 PRG:14E4 A9 00
|
|
ldy Zp5B ; CPU:$D4E6 PRG:14E6 A4 5B
|
|
cpy #$09 ; CPU:$D4E8 PRG:14E8 C0 09
|
|
bne Label_D4EE ; CPU:$D4EA PRG:14EA D0 02
|
|
lda #$02 ; CPU:$D4EC PRG:14EC A9 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D4EE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D4EE:
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D4F5:
|
|
sta ZpCheckZp14 ; CPU:$D4F5 PRG:14F5 85 55
|
|
lda #$80 ; CPU:$D4F7 PRG:14F7 A9 80
|
|
sta ZpFB ; CPU:$D4F9 PRG:14F9 85 FB
|
|
asl a ; CPU:$D4FB PRG:14FB 0A
|
|
sta Zp34 ; CPU:$D4FC PRG:14FC 85 34
|
|
sta Zp51 ; CPU:$D4FE PRG:14FE 85 51
|
|
rts ; CPU:$D500 PRG:1500 60
|
|
; ---- data $D501-$D506 (6 bytes) ----
|
|
; referenced by `lda $D501,y` at $D51B (operand $D501 falls inside this region)
|
|
; 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D507:
|
|
lda Zp13 ; CPU:$D507 PRG:1507 A5 13
|
|
bne Label_D547 ; CPU:$D509 PRG:1509 D0 3C
|
|
lda Zp66,x ; CPU:$D50B PRG:150B B5 66
|
|
cmp #$26 ; CPU:$D50D PRG:150D C9 26
|
|
bcs Label_D547 ; CPU:$D50F PRG:150F B0 36
|
|
lda $0361 ; CPU:$D511 PRG:1511 AD 61 03
|
|
adc $0366 ; CPU:$D514 PRG:1514 6D 66 03
|
|
lsr a ; CPU:$D517 PRG:1517 4A
|
|
and #$03 ; CPU:$D518 PRG:1518 29 03
|
|
tay ; CPU:$D51A PRG:151A A8
|
|
lda $D501,y ; CPU:$D51B PRG:151B B9 01 D5
|
|
sta 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 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 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 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
|
|
dex ; CPU:$D53B PRG:153B CA
|
|
lda #$06 ; CPU:$D53C PRG:153C A9 06
|
|
sta Zp6A,x ; CPU:$D53E PRG:153E 95 6A
|
|
lda #$10 ; CPU:$D540 PRG:1540 A9 10
|
|
sta ZpFB ; CPU:$D542 PRG:1542 85 FB
|
|
asl a ; CPU:$D544 PRG:1544 0A
|
|
sta Zp4D ; CPU:$D545 PRG:1545 85 4D
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D547
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D547:
|
|
lda SprData2 ; CPU:$D547 PRG:1547 A5 5F
|
|
asl a ; CPU:$D549 PRG:1549 0A
|
|
asl a ; CPU:$D54A PRG:154A 0A
|
|
tay ; CPU:$D54B PRG:154B A8
|
|
lda #$F8 ; CPU:$D54C PRG:154C A9 F8
|
|
sta $021C,y ; CPU:$D54E PRG:154E 99 1C 02
|
|
rts ; CPU:$D551 PRG:1551 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D552
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D552:
|
|
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
|
|
cmp #$02 ; CPU:$D558 PRG:1558 C9 02
|
|
beq Label_D567 ; CPU:$D55A PRG:155A F0 0B
|
|
cmp #$03 ; CPU:$D55C PRG:155C C9 03
|
|
beq Label_D564 ; CPU:$D55E PRG:155E F0 04
|
|
rts ; CPU:$D560 PRG:1560 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D561
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D561:
|
|
jmp $CDB0 ; CPU:$D561 PRG:1561 4C B0 CD
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D564
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D564:
|
|
jmp $CFC6 ; CPU:$D564 PRG:1564 4C C6 CF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D567
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D567:
|
|
lda #$A8 ; CPU:$D567 PRG:1567 A9 A8
|
|
sta ZpE2,x ; CPU:$D569 PRG:1569 95 E2
|
|
lda #$03 ; CPU:$D56B PRG:156B A9 03
|
|
sta ZpE4,x ; CPU:$D56D PRG:156D 95 E4
|
|
lda Zp68,x ; CPU:$D56F PRG:156F B5 68
|
|
bne Label_D58D ; CPU:$D571 PRG:1571 D0 1A
|
|
lda ZpE6,x ; CPU:$D573 PRG:1573 B5 E6
|
|
cmp #$03 ; CPU:$D575 PRG:1575 C9 03
|
|
bcc Label_D58D ; CPU:$D577 PRG:1577 90 14
|
|
lda Zp70,x ; CPU:$D579 PRG:1579 B5 70
|
|
and #$03 ; CPU:$D57B PRG:157B 29 03
|
|
beq Label_D58D ; CPU:$D57D PRG:157D F0 0E
|
|
sta Zp68,x ; CPU:$D57F PRG:157F 95 68
|
|
cmp #$01 ; CPU:$D581 PRG:1581 C9 01
|
|
beq Label_D587 ; CPU:$D583 PRG:1583 F0 02
|
|
lda #$00 ; CPU:$D585 PRG:1585 A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D587
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D587:
|
|
sta 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D58D:
|
|
lda Zp68,x ; CPU:$D58D PRG:158D B5 68
|
|
beq Label_D594 ; CPU:$D58F PRG:158F F0 03
|
|
jsr $D160 ; CPU:$D591 PRG:1591 20 60 D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D594
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D594:
|
|
jsr $D133 ; CPU:$D594 PRG:1594 20 33 D1
|
|
ldy #$07 ; CPU:$D597 PRG:1597 A0 07
|
|
jmp $D17C ; CPU:$D599 PRG:1599 4C 7C D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D59C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D59C:
|
|
lda #$00 ; CPU:$D59C PRG:159C A9 00
|
|
sta Zp2A,x ; CPU:$D59E PRG:159E 95 2A
|
|
lda Zp13 ; CPU:$D5A0 PRG:15A0 A5 13
|
|
clc ; CPU:$D5A2 PRG:15A2 18
|
|
adc Zp66,x ; CPU:$D5A3 PRG:15A3 75 66
|
|
bcs Label_D5B0 ; CPU:$D5A5 PRG:15A5 B0 09
|
|
sta Zp28,x ; CPU:$D5A7 PRG:15A7 95 28
|
|
ldy Zp27 ; CPU:$D5A9 PRG:15A9 A4 27
|
|
beq Label_D5B4 ; CPU:$D5AB PRG:15AB F0 07
|
|
sec ; CPU:$D5AD PRG:15AD 38
|
|
sbc #$10 ; CPU:$D5AE PRG:15AE E9 10
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D5B0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D5B0:
|
|
sta Zp28,x ; CPU:$D5B0 PRG:15B0 95 28
|
|
inc Zp2A,x ; CPU:$D5B2 PRG:15B2 F6 2A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D5B4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D5B4:
|
|
lda Zp2A,x ; CPU:$D5B4 PRG:15B4 B5 2A
|
|
sta Zp09 ; CPU:$D5B6 PRG:15B6 85 09
|
|
lda Zp28,x ; CPU:$D5B8 PRG:15B8 B5 28
|
|
sta Zp0B ; CPU:$D5BA PRG:15BA 85 0B
|
|
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
|
|
inc Zp09 ; CPU:$D5C3 PRG:15C3 E6 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D5C5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D5C5:
|
|
lda Zp64,x ; CPU:$D5C5 PRG:15C5 B5 64
|
|
sta Zp0D ; CPU:$D5C7 PRG:15C7 85 0D
|
|
clc ; CPU:$D5C9 PRG:15C9 18
|
|
adc #$10 ; CPU:$D5CA PRG:15CA 69 10
|
|
sta Zp0C ; CPU:$D5CC PRG:15CC 85 0C
|
|
lda $0352,x ; CPU:$D5CE PRG:15CE BD 52 03
|
|
bne Label_D648 ; CPU:$D5D1 PRG:15D1 D0 75
|
|
ldy #$00 ; CPU:$D5D3 PRG:15D3 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D5D5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D5D5:
|
|
lda $06E0,y ; CPU:$D5D5 PRG:15D5 B9 E0 06
|
|
bmi Label_D603 ; CPU:$D5D8 PRG:15D8 30 29
|
|
cmp Zp09 ; CPU:$D5DA PRG:15DA C5 09
|
|
bne Label_D603 ; CPU:$D5DC PRG:15DC D0 25
|
|
lda $0668,y ; CPU:$D5DE PRG:15DE B9 68 06
|
|
sbc #$08 ; CPU:$D5E1 PRG:15E1 E9 08
|
|
cmp Zp64,x ; CPU:$D5E3 PRG:15E3 D5 64
|
|
bcs Label_D603 ; CPU:$D5E5 PRG:15E5 B0 1C
|
|
lda $0686,y ; CPU:$D5E7 PRG:15E7 B9 86 06
|
|
sec ; CPU:$D5EA PRG:15EA 38
|
|
sbc #$08 ; CPU:$D5EB PRG:15EB E9 08
|
|
cmp Zp64,x ; CPU:$D5ED PRG:15ED D5 64
|
|
bcc Label_D603 ; CPU:$D5EF PRG:15EF 90 12
|
|
lda Zp0A ; CPU:$D5F1 PRG:15F1 A5 0A
|
|
sbc #$03 ; CPU:$D5F3 PRG:15F3 E9 03
|
|
cmp $06A4,y ; CPU:$D5F5 PRG:15F5 D9 A4 06
|
|
beq Label_D617 ; CPU:$D5F8 PRG:15F8 F0 1D
|
|
bcs Label_D603 ; CPU:$D5FA PRG:15FA B0 07
|
|
adc #$04 ; CPU:$D5FC PRG:15FC 69 04
|
|
cmp $06A4,y ; CPU:$D5FE PRG:15FE D9 A4 06
|
|
bcs Label_D617 ; CPU:$D601 PRG:1601 B0 14
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D603
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D603:
|
|
iny ; CPU:$D603 PRG:1603 C8
|
|
cpy #$1E ; CPU:$D604 PRG:1604 C0 1E
|
|
bne Label_D5D5 ; CPU:$D606 PRG:1606 D0 CD
|
|
lda #$02 ; CPU:$D608 PRG:1608 A9 02
|
|
cmp Zp6A,x ; CPU:$D60A PRG:160A D5 6A
|
|
beq Label_D63B ; CPU:$D60C PRG:160C F0 2D
|
|
sta Zp6A,x ; CPU:$D60E PRG:160E 95 6A
|
|
lda #$03 ; CPU:$D610 PRG:1610 A9 03
|
|
sta ZpE6,x ; CPU:$D612 PRG:1612 95 E6
|
|
lsr a ; CPU:$D614 PRG:1614 4A
|
|
bne Label_D639 ; CPU:$D615 PRG:1615 D0 22
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D617
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D617:
|
|
tya ; CPU:$D617 PRG:1617 98
|
|
sta $0783,x ; CPU:$D618 PRG:1618 9D 83 07
|
|
lda Zp6A,x ; CPU:$D61B PRG:161B B5 6A
|
|
cmp #$01 ; CPU:$D61D PRG:161D C9 01
|
|
beq Label_D62F ; CPU:$D61F PRG:161F F0 0E
|
|
cmp #$03 ; CPU:$D621 PRG:1621 C9 03
|
|
beq Label_D63B ; CPU:$D623 PRG:1623 F0 16
|
|
lda ZpE6,x ; CPU:$D625 PRG:1625 B5 E6
|
|
cmp #$03 ; CPU:$D627 PRG:1627 C9 03
|
|
bcc Label_D63B ; CPU:$D629 PRG:1629 90 10
|
|
lda #$03 ; CPU:$D62B PRG:162B A9 03
|
|
sta Zp6A,x ; CPU:$D62D PRG:162D 95 6A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D62F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D62F:
|
|
lda $06A4,y ; CPU:$D62F PRG:162F B9 A4 06
|
|
sec ; CPU:$D632 PRG:1632 38
|
|
sbc #$19 ; CPU:$D633 PRG:1633 E9 19
|
|
sta Zp28,x ; CPU:$D635 PRG:1635 95 28
|
|
lda #$00 ; CPU:$D637 PRG:1637 A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D639
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D639:
|
|
sta ZpE0,x ; CPU:$D639 PRG:1639 95 E0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D63B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D63B:
|
|
jsr $D6E0 ; CPU:$D63B PRG:163B 20 E0 D6
|
|
lda Zp28,x ; CPU:$D63E PRG:163E B5 28
|
|
sec ; CPU:$D640 PRG:1640 38
|
|
sbc Zp0B ; CPU:$D641 PRG:1641 E5 0B
|
|
clc ; CPU:$D643 PRG:1643 18
|
|
adc Zp66,x ; CPU:$D644 PRG:1644 75 66
|
|
sta Zp66,x ; CPU:$D646 PRG:1646 95 66
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D648
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D648:
|
|
ldx SprData2 ; CPU:$D648 PRG:1648 A6 5F
|
|
lda #$00 ; CPU:$D64A PRG:164A A9 00
|
|
sta $0352,x ; CPU:$D64C PRG:164C 9D 52 03
|
|
lda Zp6A,x ; CPU:$D64F PRG:164F B5 6A
|
|
beq Label_D6CB ; CPU:$D651 PRG:1651 F0 78
|
|
lda Zp13 ; CPU:$D653 PRG:1653 A5 13
|
|
ora Zp2A,x ; CPU:$D655 PRG:1655 15 2A
|
|
bne Label_D669 ; CPU:$D657 PRG:1657 D0 10
|
|
lda Zp64,x ; CPU:$D659 PRG:1659 B5 64
|
|
cmp #$2B ; CPU:$D65B PRG:165B C9 2B
|
|
bcc Label_D6CC ; CPU:$D65D PRG:165D 90 6D
|
|
cmp #$C6 ; CPU:$D65F PRG:165F C9 C6
|
|
bcs Label_D6CC ; CPU:$D661 PRG:1661 B0 69
|
|
lda Zp28,x ; CPU:$D663 PRG:1663 B5 28
|
|
cmp #$58 ; CPU:$D665 PRG:1665 C9 58
|
|
bcc Label_D6CB ; CPU:$D667 PRG:1667 90 62
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D669
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D669:
|
|
lda #$00 ; CPU:$D669 PRG:1669 A9 00
|
|
sta Zp09 ; CPU:$D66B PRG:166B 85 09
|
|
lda Zp28,x ; CPU:$D66D PRG:166D B5 28
|
|
sec ; CPU:$D66F PRG:166F 38
|
|
sbc #$57 ; CPU:$D670 PRG:1670 E9 57
|
|
bcc Label_D680 ; CPU:$D672 PRG:1672 90 0C
|
|
ldy Zp2A,x ; CPU:$D674 PRG:1674 B4 2A
|
|
sty Zp09 ; CPU:$D676 PRG:1676 84 09
|
|
beq Label_D684 ; CPU:$D678 PRG:1678 F0 0A
|
|
clc ; CPU:$D67A PRG:167A 18
|
|
adc #$20 ; CPU:$D67B PRG:167B 69 20
|
|
jmp $D684 ; CPU:$D67D PRG:167D 4C 84 D6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D680
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D680:
|
|
ldy Zp2A,x ; CPU:$D680 PRG:1680 B4 2A
|
|
beq Label_D697 ; CPU:$D682 PRG:1682 F0 13
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D684
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D684:
|
|
ldy #$00 ; CPU:$D684 PRG:1684 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D686
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D686:
|
|
cmp #$38 ; CPU:$D686 PRG:1686 C9 38
|
|
bcc Label_D68F ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D68F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D68F:
|
|
lda Zp09 ; CPU:$D68F PRG:168F A5 09
|
|
beq Label_D697 ; CPU:$D691 PRG:1691 F0 04
|
|
iny ; CPU:$D693 PRG:1693 C8
|
|
iny ; CPU:$D694 PRG:1694 C8
|
|
iny ; CPU:$D695 PRG:1695 C8
|
|
iny ; CPU:$D696 PRG:1696 C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D697
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D697:
|
|
lda #$A8 ; CPU:$D697 PRG:1697 A9 A8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D699
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D699:
|
|
cpy #$00 ; CPU:$D699 PRG:1699 C0 00
|
|
beq Label_D6A3 ; CPU:$D69B PRG:169B F0 06
|
|
clc ; CPU:$D69D PRG:169D 18
|
|
adc #$08 ; CPU:$D69E PRG:169E 69 08
|
|
dey ; CPU:$D6A0 PRG:16A0 88
|
|
bne Label_D699 ; CPU:$D6A1 PRG:16A1 D0 F6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D6A3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D6A3:
|
|
sta Zp0A ; CPU:$D6A3 PRG:16A3 85 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D6A5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D6A5:
|
|
sec ; CPU:$D6A5 PRG:16A5 38
|
|
sbc #$A8 ; CPU:$D6A6 PRG:16A6 E9 A8
|
|
sta Zp09 ; CPU:$D6A8 PRG:16A8 85 09
|
|
lda #$48 ; CPU:$D6AA PRG:16AA A9 48
|
|
sec ; CPU:$D6AC PRG:16AC 38
|
|
sbc Zp09 ; CPU:$D6AD PRG:16AD E5 09
|
|
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
|
|
lda Zp0A ; CPU:$D6B7 PRG:16B7 A5 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D6B9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D6B9:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D6BF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D6BF:
|
|
cmp Zp0B ; CPU:$D6BF PRG:16BF C5 0B
|
|
bcs Label_D6CB ; CPU:$D6C1 PRG:16C1 B0 08
|
|
lda Zp0B ; CPU:$D6C3 PRG:16C3 A5 0B
|
|
sta Zp64,x ; CPU:$D6C5 PRG:16C5 95 64
|
|
lda #$01 ; CPU:$D6C7 PRG:16C7 A9 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D6C9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D6C9:
|
|
sta Zp62,x ; CPU:$D6C9 PRG:16C9 95 62
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D6CB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D6CB:
|
|
rts ; CPU:$D6CB PRG:16CB 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D6CC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D6CC:
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D6DC:
|
|
inc $0352,x ; CPU:$D6DC PRG:16DC FE 52 03
|
|
rts ; CPU:$D6DF PRG:16DF 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D6E0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D6E0:
|
|
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
|
|
ldy #$00 ; CPU:$D6E6 PRG:16E6 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D6E8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D6E8:
|
|
lda $06E0,y ; CPU:$D6E8 PRG:16E8 B9 E0 06
|
|
bmi Label_D715 ; CPU:$D6EB PRG:16EB 30 28
|
|
cmp Zp2A,x ; CPU:$D6ED PRG:16ED D5 2A
|
|
bne Label_D715 ; CPU:$D6EF PRG:16EF D0 24
|
|
lda Zp0B ; CPU:$D6F1 PRG:16F1 A5 0B
|
|
sec ; CPU:$D6F3 PRG:16F3 38
|
|
sbc #$02 ; CPU:$D6F4 PRG:16F4 E9 02
|
|
cmp $06C2,y ; CPU:$D6F6 PRG:16F6 D9 C2 06
|
|
bcs Label_D715 ; CPU:$D6F9 PRG:16F9 B0 1A
|
|
adc #$04 ; CPU:$D6FB PRG:16FB 69 04
|
|
cmp $06C2,y ; CPU:$D6FD PRG:16FD D9 C2 06
|
|
bcc Label_D715 ; CPU:$D700 PRG:1700 90 13
|
|
lda $0668,y ; CPU:$D702 PRG:1702 B9 68 06
|
|
sbc #$0A ; CPU:$D705 PRG:1705 E9 0A
|
|
cmp Zp64,x ; CPU:$D707 PRG:1707 D5 64
|
|
bcs Label_D715 ; CPU:$D709 PRG:1709 B0 0A
|
|
lda $0686,y ; CPU:$D70B PRG:170B B9 86 06
|
|
sec ; CPU:$D70E PRG:170E 38
|
|
sbc #$06 ; CPU:$D70F PRG:170F E9 06
|
|
cmp Zp64,x ; CPU:$D711 PRG:1711 D5 64
|
|
bcs Label_D71B ; CPU:$D713 PRG:1713 B0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D715
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D715:
|
|
iny ; CPU:$D715 PRG:1715 C8
|
|
cpy #$1E ; CPU:$D716 PRG:1716 C0 1E
|
|
bne Label_D6E8 ; CPU:$D718 PRG:1718 D0 CE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D71A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D71A:
|
|
rts ; CPU:$D71A PRG:171A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D71B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D71B:
|
|
lda #$04 ; CPU:$D71B PRG:171B A9 04
|
|
sta ZpE6,x ; CPU:$D71D PRG:171D 95 E6
|
|
lda #$20 ; CPU:$D71F PRG:171F A9 20
|
|
sta ZpE8,x ; CPU:$D721 PRG:1721 95 E8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D723
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D723:
|
|
rts ; CPU:$D723 PRG:1723 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D724
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D724:
|
|
ldx #$01 ; CPU:$D724 PRG:1724 A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D726
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D726:
|
|
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
|
|
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
|
|
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 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
|
|
pha ; CPU:$D741 PRG:1741 48
|
|
lda $CBBF,x ; CPU:$D742 PRG:1742 BD BF CB
|
|
ldx #$06 ; CPU:$D745 PRG:1745 A2 06
|
|
jsr $C821 ; CPU:$D747 PRG:1747 20 21 C8
|
|
pla ; CPU:$D74A PRG:174A 68
|
|
tax ; CPU:$D74B PRG:174B AA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D74C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D74C:
|
|
dex ; CPU:$D74C PRG:174C CA
|
|
bpl Label_D726 ; CPU:$D74D PRG:174D 10 D7
|
|
lda Zp6A ; CPU:$D74F PRG:174F A5 6A
|
|
bne Label_D723 ; CPU:$D751 PRG:1751 D0 D0
|
|
lda Zp6B ; CPU:$D753 PRG:1753 A5 6B
|
|
bne Label_D723 ; CPU:$D755 PRG:1755 D0 CC
|
|
sta Zp1E ; CPU:$D757 PRG:1757 85 1E
|
|
lda #$03 ; CPU:$D759 PRG:1759 A9 03
|
|
jmp $D4F5 ; CPU:$D75B PRG:175B 4C F5 D4
|
|
; ---- data $D75E-$D7DD (128 bytes) ----
|
|
; referenced by `lda $D75E,y` at $D905 (operand $D75E falls inside this region)
|
|
; referenced by `cmp $D7A3,y` at $DA70 (operand $D7A3 falls inside this region)
|
|
; referenced by `cmp $D7AD,y` at $DA78 (operand $D7AD falls inside this region)
|
|
; referenced by `lda $D7AD,y` at $DA7D (operand $D7AD falls inside this region)
|
|
; 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
|
|
.byte $28, $23, $22, $21, $20, $20, $40, $80, $C0, $00, $00, $40, $80, $C0, $00, $EB ; CPU:$D78E PRG:178E 28 23 22 21 20 20 40 80 C0 00 00 40 80 C0 00 EB
|
|
.byte $90, $92, $EB, $EB, $38, $20, $20, $20, $28, $28, $28, $30, $30, $30, $30, $E0 ; CPU:$D79E PRG:179E 90 92 EB EB 38 20 20 20 28 28 28 30 30 30 30 E0
|
|
.byte $E0, $E0, $D8, $D8, $D8, $D0, $D0, $D0, $D0, $0C, $08, $0C, $0C, $0C, $08, $08 ; CPU:$D7AE PRG:17AE E0 E0 D8 D8 D8 D0 D0 D0 D0 0C 08 0C 0C 0C 08 08
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D7DE:
|
|
lda Zp8C ; CPU:$D7DE PRG:17DE A5 8C
|
|
bne Label_D82E ; CPU:$D7E0 PRG:17E0 D0 4C
|
|
lda Zp3D ; CPU:$D7E2 PRG:17E2 A5 3D
|
|
bne Label_D7FC ; CPU:$D7E4 PRG:17E4 D0 16
|
|
lda Zp2C ; CPU:$D7E6 PRG:17E6 A5 2C
|
|
beq Label_D7F1 ; CPU:$D7E8 PRG:17E8 F0 07
|
|
dec Zp2C ; CPU:$D7EA PRG:17EA C6 2C
|
|
lda #$FF ; CPU:$D7EC PRG:17EC A9 FF
|
|
sta Zp3D ; CPU:$D7EE PRG:17EE 85 3D
|
|
rts ; CPU:$D7F0 PRG:17F0 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D7F1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D7F1:
|
|
lda Zp7C ; CPU:$D7F1 PRG:17F1 A5 7C
|
|
bne Label_D7F8 ; CPU:$D7F3 PRG:17F3 D0 03
|
|
inc Zp7C ; CPU:$D7F5 PRG:17F5 E6 7C
|
|
rts ; CPU:$D7F7 PRG:17F7 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D7F8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D7F8:
|
|
cmp #$80 ; CPU:$D7F8 PRG:17F8 C9 80
|
|
beq Label_D816 ; CPU:$D7FA PRG:17FA F0 1A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D7FC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D7FC:
|
|
ldx #$01 ; CPU:$D7FC PRG:17FC A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D7FE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D7FE:
|
|
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
|
|
lda Zp90 ; CPU:$D804 PRG:1804 A5 90
|
|
cmp SprData,x ; CPU:$D806 PRG:1806 D5 5A
|
|
beq Label_D80F ; CPU:$D808 PRG:1808 F0 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D80A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D80A:
|
|
dex ; CPU:$D80A PRG:180A CA
|
|
bpl Label_D7FE ; CPU:$D80B PRG:180B 10 F1
|
|
bmi Label_D82E ; CPU:$D80D PRG:180D 30 1F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D80F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D80F:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D816
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D816:
|
|
jsr $E215 ; CPU:$D816 PRG:1816 20 15 E2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D819
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D819:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D81F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D81F:
|
|
lda #$0C ; CPU:$D81F PRG:181F A9 0C
|
|
sta Zp8B ; CPU:$D821 PRG:1821 85 8B
|
|
sta Zp8C ; CPU:$D823 PRG:1823 85 8C
|
|
inc Zp90 ; CPU:$D825 PRG:1825 E6 90
|
|
lda Zp8A ; CPU:$D827 PRG:1827 A5 8A
|
|
clc ; CPU:$D829 PRG:1829 18
|
|
adc #$06 ; CPU:$D82A PRG:182A 69 06
|
|
sta Zp8A ; CPU:$D82C PRG:182C 85 8A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D82E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D82E:
|
|
rts ; CPU:$D82E PRG:182E 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D82F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D82F:
|
|
lda Zp8C ; CPU:$D82F PRG:182F A5 8C
|
|
beq Label_D887 ; CPU:$D831 PRG:1831 F0 54
|
|
jsr $E27A ; CPU:$D833 PRG:1833 20 7A E2
|
|
jsr $E002 ; CPU:$D836 PRG:1836 20 02 E0
|
|
jsr $EC51 ; CPU:$D839 PRG:1839 20 51 EC
|
|
jsr $D90F ; CPU:$D83C PRG:183C 20 0F D9
|
|
ldx #$00 ; CPU:$D83F PRG:183F A2 00
|
|
jsr $D111 ; CPU:$D841 PRG:1841 20 11 D1
|
|
ldx #$01 ; CPU:$D844 PRG:1844 A2 01
|
|
jsr $D111 ; CPU:$D846 PRG:1846 20 11 D1
|
|
lda Zp13 ; CPU:$D849 PRG:1849 A5 13
|
|
sec ; CPU:$D84B PRG:184B 38
|
|
sbc #$04 ; CPU:$D84C PRG:184C E9 04
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D863:
|
|
cpx #$00 ; CPU:$D863 PRG:1863 E0 00
|
|
beq Label_D884 ; CPU:$D865 PRG:1865 F0 1D
|
|
lda Zp91,x ; CPU:$D867 PRG:1867 B5 91
|
|
beq Label_D884 ; CPU:$D869 PRG:1869 F0 19
|
|
lda Zp90 ; CPU:$D86B PRG:186B A5 90
|
|
sec ; CPU:$D86D PRG:186D 38
|
|
sbc ZpB2,x ; CPU:$D86E PRG:186E F5 B2
|
|
cmp #$04 ; CPU:$D870 PRG:1870 C9 04
|
|
bcc Label_D884 ; CPU:$D872 PRG:1872 90 10
|
|
jsr $D888 ; CPU:$D874 PRG:1874 20 88 D8
|
|
cpx #$02 ; CPU:$D877 PRG:1877 E0 02
|
|
bcc Label_D884 ; CPU:$D879 PRG:1879 90 09
|
|
cpx #$05 ; CPU:$D87B PRG:187B E0 05
|
|
bcs Label_D884 ; CPU:$D87D PRG:187D B0 05
|
|
lda #$00 ; CPU:$D87F PRG:187F A9 00
|
|
sta $0382,x ; CPU:$D881 PRG:1881 9D 82 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D884
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D884:
|
|
dex ; CPU:$D884 PRG:1884 CA
|
|
bpl Label_D863 ; CPU:$D885 PRG:1885 10 DC
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D887
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D887:
|
|
rts ; CPU:$D887 PRG:1887 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D888
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D888:
|
|
txa ; CPU:$D888 PRG:1888 8A
|
|
clc ; CPU:$D889 PRG:1889 18
|
|
adc #$83 ; CPU:$D88A PRG:188A 69 83
|
|
sta $03E8,x ; CPU:$D88C PRG:188C 9D E8 03
|
|
rts ; CPU:$D88F PRG:188F 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D890
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D890:
|
|
lda Zp8C ; CPU:$D890 PRG:1890 A5 8C
|
|
bne Label_D8A5 ; CPU:$D892 PRG:1892 D0 11
|
|
ldx #$01 ; CPU:$D894 PRG:1894 A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D896
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D896:
|
|
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
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D8A2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D8A2:
|
|
dex ; CPU:$D8A2 PRG:18A2 CA
|
|
bpl Label_D896 ; CPU:$D8A3 PRG:18A3 10 F1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D8A5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D8A5:
|
|
rts ; CPU:$D8A5 PRG:18A5 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D8A6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D8A6:
|
|
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
|
|
jmp $D81F ; CPU:$D8AC PRG:18AC 4C 1F D8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D8AF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D8AF:
|
|
lda Zp8C ; CPU:$D8AF PRG:18AF A5 8C
|
|
beq Label_D8A5 ; CPU:$D8B1 PRG:18B1 F0 F2
|
|
lda Zp13 ; CPU:$D8B3 PRG:18B3 A5 13
|
|
sec ; CPU:$D8B5 PRG:18B5 38
|
|
sbc #$04 ; CPU:$D8B6 PRG:18B6 E9 04
|
|
sta Zp13 ; CPU:$D8B8 PRG:18B8 85 13
|
|
cmp #$F0 ; CPU:$D8BA PRG:18BA C9 F0
|
|
bcc Label_D8C8 ; CPU:$D8BC PRG:18BC 90 0A
|
|
lda Zp27 ; CPU:$D8BE PRG:18BE A5 27
|
|
bne Label_D8C6 ; CPU:$D8C0 PRG:18C0 D0 04
|
|
sta Zp13 ; CPU:$D8C2 PRG:18C2 85 13
|
|
beq Label_D8C8 ; CPU:$D8C4 PRG:18C4 F0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D8C6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D8C6:
|
|
dec Zp27 ; CPU:$D8C6 PRG:18C6 C6 27
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D8C8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D8C8:
|
|
jsr $D8EA ; CPU:$D8C8 PRG:18C8 20 EA D8
|
|
jsr $E277 ; CPU:$D8CB PRG:18CB 20 77 E2
|
|
jsr $EC51 ; CPU:$D8CE PRG:18CE 20 51 EC
|
|
jsr $D90F ; CPU:$D8D1 PRG:18D1 20 0F D9
|
|
lda Zp13 ; CPU:$D8D4 PRG:18D4 A5 13
|
|
beq Label_D8DC ; CPU:$D8D6 PRG:18D6 F0 04
|
|
dec Zp8B ; CPU:$D8D8 PRG:18D8 C6 8B
|
|
bne Label_D8A5 ; CPU:$D8DA PRG:18DA D0 C9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D8DC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D8DC:
|
|
lda #$00 ; CPU:$D8DC PRG:18DC A9 00
|
|
sta Zp8C ; CPU:$D8DE PRG:18DE 85 8C
|
|
lda Zp24 ; CPU:$D8E0 PRG:18E0 A5 24
|
|
clc ; CPU:$D8E2 PRG:18E2 18
|
|
adc #$06 ; CPU:$D8E3 PRG:18E3 69 06
|
|
sta Zp24 ; CPU:$D8E5 PRG:18E5 85 24
|
|
jmp $E573 ; CPU:$D8E7 PRG:18E7 4C 73 E5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D8EA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D8EA:
|
|
lda Zp13 ; CPU:$D8EA PRG:18EA A5 13
|
|
and #$F0 ; CPU:$D8EC PRG:18EC 29 F0
|
|
cmp #$F0 ; CPU:$D8EE PRG:18EE C9 F0
|
|
bne Label_D8FC ; CPU:$D8F0 PRG:18F0 D0 0A
|
|
lda Zp13 ; CPU:$D8F2 PRG:18F2 A5 13
|
|
and #$EF ; CPU:$D8F4 PRG:18F4 29 EF
|
|
sta Zp13 ; CPU:$D8F6 PRG:18F6 85 13
|
|
inc ZpDE ; CPU:$D8F8 PRG:18F8 E6 DE
|
|
dec Zp7A ; CPU:$D8FA PRG:18FA C6 7A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D8FC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D8FC:
|
|
rts ; CPU:$D8FC PRG:18FC 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D8FD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D8FD:
|
|
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
|
|
ldy #$04 ; CPU:$D903 PRG:1903 A0 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D905
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D905:
|
|
lda $D75E,y ; CPU:$D905 PRG:1905 B9 5E D7
|
|
sta Zp3D ; CPU:$D908 PRG:1908 85 3D
|
|
lda #$01 ; CPU:$D90A PRG:190A A9 01
|
|
sta Zp2C ; CPU:$D90C PRG:190C 85 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D90E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D90E:
|
|
rts ; CPU:$D90E PRG:190E 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D90F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D90F:
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D91C:
|
|
txa ; CPU:$D91C PRG:191C 8A
|
|
pha ; CPU:$D91D PRG:191D 48
|
|
tya ; CPU:$D91E PRG:191E 98
|
|
pha ; CPU:$D91F PRG:191F 48
|
|
txa ; CPU:$D920 PRG:1920 8A
|
|
asl a ; CPU:$D921 PRG:1921 0A
|
|
asl a ; CPU:$D922 PRG:1922 0A
|
|
tay ; CPU:$D923 PRG:1923 A8
|
|
lda $021C,y ; CPU:$D924 PRG:1924 B9 1C 02
|
|
sta Zp0B ; CPU:$D927 PRG:1927 85 0B
|
|
lda $021F,y ; CPU:$D929 PRG:1929 B9 1F 02
|
|
sta Zp0A ; CPU:$D92C PRG:192C 85 0A
|
|
lda Zp62,x ; CPU:$D92E PRG:192E B5 62
|
|
sta Zp0C ; CPU:$D930 PRG:1930 85 0C
|
|
txa ; CPU:$D932 PRG:1932 8A
|
|
pha ; CPU:$D933 PRG:1933 48
|
|
lda $D91A,x ; CPU:$D934 PRG:1934 BD 1A D9
|
|
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
|
|
inc $0364,x ; CPU:$D93F PRG:193F FE 64 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D942
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D942:
|
|
pla ; CPU:$D942 PRG:1942 68
|
|
tax ; CPU:$D943 PRG:1943 AA
|
|
ldy #$00 ; CPU:$D944 PRG:1944 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D946
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D946:
|
|
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
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D957
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D957:
|
|
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
|
|
cmp #$03 ; CPU:$D95D PRG:195D C9 03
|
|
bcc Label_D964 ; CPU:$D95F PRG:195F 90 03
|
|
jsr $D9AD ; CPU:$D961 PRG:1961 20 AD D9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D964
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D964:
|
|
lda #$03 ; CPU:$D964 PRG:1964 A9 03
|
|
; ---- data $D966-$D966 (1 bytes) ----
|
|
.byte $2C ; CPU:$D966 PRG:1966 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D967
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D967:
|
|
lda #$02 ; CPU:$D967 PRG:1967 A9 02
|
|
sta $02D2,y ; CPU:$D969 PRG:1969 99 D2 02
|
|
ldx Zp0C ; CPU:$D96C PRG:196C A6 0C
|
|
lda $D918,x ; CPU:$D96E PRG:196E BD 18 D9
|
|
clc ; CPU:$D971 PRG:1971 18
|
|
adc Zp0A ; CPU:$D972 PRG:1972 65 0A
|
|
sta $02D3,y ; CPU:$D974 PRG:1974 99 D3 02
|
|
lda Zp0B ; CPU:$D977 PRG:1977 A5 0B
|
|
sec ; CPU:$D979 PRG:1979 38
|
|
sbc #$08 ; CPU:$D97A PRG:197A E9 08
|
|
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
|
|
lda #$0A ; CPU:$D986 PRG:1986 A9 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D988
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D988:
|
|
sta $02D1,y ; CPU:$D988 PRG:1988 99 D1 02
|
|
tya ; CPU:$D98B PRG:198B 98
|
|
lsr a ; CPU:$D98C PRG:198C 4A
|
|
lsr a ; CPU:$D98D PRG:198D 4A
|
|
tay ; CPU:$D98E PRG:198E A8
|
|
lda #$00 ; CPU:$D98F PRG:198F A9 00
|
|
sta $0650,y ; CPU:$D991 PRG:1991 99 50 06
|
|
sta $0640,y ; CPU:$D994 PRG:1994 99 40 06
|
|
sta $0660,y ; CPU:$D997 PRG:1997 99 60 06
|
|
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
|
|
lda #$FF ; CPU:$D9A3 PRG:19A3 A9 FF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D9A5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D9A5:
|
|
sta $0658,y ; CPU:$D9A5 PRG:19A5 99 58 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D9A8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D9A8:
|
|
pla ; CPU:$D9A8 PRG:19A8 68
|
|
tay ; CPU:$D9A9 PRG:19A9 A8
|
|
pla ; CPU:$D9AA PRG:19AA 68
|
|
tax ; CPU:$D9AB PRG:19AB AA
|
|
rts ; CPU:$D9AC PRG:19AC 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D9AD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D9AD:
|
|
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
|
|
txa ; CPU:$D9B5 PRG:19B5 8A
|
|
pha ; CPU:$D9B6 PRG:19B6 48
|
|
ldx #$0F ; CPU:$D9B7 PRG:19B7 A2 0F
|
|
jsr $F691 ; CPU:$D9B9 PRG:19B9 20 91 F6
|
|
lda #$01 ; CPU:$D9BC PRG:19BC A9 01
|
|
sta $063F ; CPU:$D9BE PRG:19BE 8D 3F 06
|
|
pla ; CPU:$D9C1 PRG:19C1 68
|
|
tax ; CPU:$D9C2 PRG:19C2 AA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D9C3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D9C3:
|
|
rts ; CPU:$D9C3 PRG:19C3 60
|
|
; ---- data $D9C4-$D9CB (8 bytes) ----
|
|
; referenced by `ora $D9C4,x` at $DA17 (operand $D9C4 falls inside this region)
|
|
.byte $00, $40, $C0, $80, $40, $00, $80, $C0 ; CPU:$D9C4 PRG:19C4 00 40 C0 80 40 00 80 C0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D9CC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D9CC:
|
|
ldy #$14 ; CPU:$D9CC PRG:19CC A0 14
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_D9CE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_D9CE:
|
|
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
|
|
tya ; CPU:$D9D5 PRG:19D5 98
|
|
lsr a ; CPU:$D9D6 PRG:19D6 4A
|
|
lsr a ; CPU:$D9D7 PRG:19D7 4A
|
|
tax ; CPU:$D9D8 PRG:19D8 AA
|
|
lda $0650,x ; CPU:$D9D9 PRG:19D9 BD 50 06
|
|
clc ; CPU:$D9DC PRG:19DC 18
|
|
adc $0640,x ; CPU:$D9DD PRG:19DD 7D 40 06
|
|
sta $0640,x ; CPU:$D9E0 PRG:19E0 9D 40 06
|
|
lda $02D0,y ; CPU:$D9E3 PRG:19E3 B9 D0 02
|
|
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
|
|
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
|
|
sta $02D3,y ; CPU:$D9F8 PRG:19F8 99 D3 02
|
|
inc $0660,x ; CPU:$D9FB PRG:19FB FE 60 06
|
|
txa ; CPU:$D9FE PRG:19FE 8A
|
|
pha ; CPU:$D9FF PRG:19FF 48
|
|
lda $0660,x ; CPU:$DA00 PRG:1A00 BD 60 06
|
|
and #$30 ; CPU:$DA03 PRG:1A03 29 30
|
|
lsr a ; CPU:$DA05 PRG:1A05 4A
|
|
lsr a ; CPU:$DA06 PRG:1A06 4A
|
|
lsr a ; CPU:$DA07 PRG:1A07 4A
|
|
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
|
|
clc ; CPU:$DA0E PRG:1A0E 18
|
|
adc #$04 ; CPU:$DA0F PRG:1A0F 69 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DA11
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DA11:
|
|
tax ; CPU:$DA11 PRG:1A11 AA
|
|
lda $02D2,y ; CPU:$DA12 PRG:1A12 B9 D2 02
|
|
and #$03 ; CPU:$DA15 PRG:1A15 29 03
|
|
ora $D9C4,x ; CPU:$DA17 PRG:1A17 1D C4 D9
|
|
sta $02D2,y ; CPU:$DA1A PRG:1A1A 99 D2 02
|
|
pla ; CPU:$DA1D PRG:1A1D 68
|
|
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
|
|
lda $0650,x ; CPU:$DA26 PRG:1A26 BD 50 06
|
|
clc ; CPU:$DA29 PRG:1A29 18
|
|
adc #$40 ; CPU:$DA2A PRG:1A2A 69 40
|
|
sta $0650,x ; CPU:$DA2C PRG:1A2C 9D 50 06
|
|
lda $0648,x ; CPU:$DA2F PRG:1A2F BD 48 06
|
|
adc #$00 ; CPU:$DA32 PRG:1A32 69 00
|
|
sta $0648,x ; CPU:$DA34 PRG:1A34 9D 48 06
|
|
jmp $DA44 ; CPU:$DA37 PRG:1A37 4C 44 DA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DA3A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DA3A:
|
|
lda #$F8 ; CPU:$DA3A PRG:1A3A A9 F8
|
|
sta $02D0,y ; CPU:$DA3C PRG:1A3C 99 D0 02
|
|
lda #$00 ; CPU:$DA3F PRG:1A3F A9 00
|
|
sta $02D3,y ; CPU:$DA41 PRG:1A41 99 D3 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DA44
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DA44:
|
|
dey ; CPU:$DA44 PRG:1A44 88
|
|
dey ; CPU:$DA45 PRG:1A45 88
|
|
dey ; CPU:$DA46 PRG:1A46 88
|
|
dey ; CPU:$DA47 PRG:1A47 88
|
|
bpl Label_D9CE ; CPU:$DA48 PRG:1A48 10 84
|
|
rts ; CPU:$DA4A PRG:1A4A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DA4B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DA4B:
|
|
ldx #$01 ; CPU:$DA4B PRG:1A4B A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DA4D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DA4D:
|
|
lda Zp66,x ; CPU:$DA4D PRG:1A4D B5 66
|
|
clc ; CPU:$DA4F PRG:1A4F 18
|
|
adc #$0C ; CPU:$DA50 PRG:1A50 69 0C
|
|
jsr $D1F9 ; CPU:$DA52 PRG:1A52 20 F9 D1
|
|
tay ; CPU:$DA55 PRG:1A55 A8
|
|
cpy #$09 ; CPU:$DA56 PRG:1A56 C0 09
|
|
beq Label_DA93 ; CPU:$DA58 PRG:1A58 F0 39
|
|
cpy $0786 ; CPU:$DA5A PRG:1A5A CC 86 07
|
|
beq Label_DA64 ; CPU:$DA5D PRG:1A5D F0 05
|
|
cpy $0787 ; CPU:$DA5F PRG:1A5F CC 87 07
|
|
bne Label_DA93 ; CPU:$DA62 PRG:1A62 D0 2F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DA64
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DA64:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DA87
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DA87:
|
|
lda $D7A3,y ; CPU:$DA87 PRG:1A87 B9 A3 D7
|
|
sec ; CPU:$DA8A PRG:1A8A 38
|
|
sbc #$FE ; CPU:$DA8B PRG:1A8B E9 FE
|
|
ldy #$01 ; CPU:$DA8D PRG:1A8D A0 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DA8F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DA8F:
|
|
sta Zp64,x ; CPU:$DA8F PRG:1A8F 95 64
|
|
sty Zp62,x ; CPU:$DA91 PRG:1A91 94 62
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DA93
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DA93:
|
|
dex ; CPU:$DA93 PRG:1A93 CA
|
|
bpl Label_DA4D ; CPU:$DA94 PRG:1A94 10 B7
|
|
rts ; CPU:$DA96 PRG:1A96 60
|
|
; ---- data $DA97-$DA98 (2 bytes) ----
|
|
; referenced by `lda $DA97,y` at $DAAD (operand $DA97 falls inside this region)
|
|
; referenced by `lda $DA97,y` at $DDDC (operand $DA97 falls inside this region)
|
|
.byte $FC, $0C ; CPU:$DA97 PRG:1A97 FC 0C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DA99
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DA99:
|
|
jsr $DDC9 ; CPU:$DA99 PRG:1A99 20 C9 DD
|
|
bcc Label_DAD3 ; CPU:$DA9C PRG:1A9C 90 35
|
|
lda #$00 ; CPU:$DA9E PRG:1A9E A9 00
|
|
sta Zp80,x ; CPU:$DAA0 PRG:1AA0 95 80
|
|
lda #$04 ; CPU:$DAA2 PRG:1AA2 A9 04
|
|
sta 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 PtrLo ; CPU:$DAB0 PRG:1AB0 85 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DAB2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DAB2:
|
|
jsr $DAD5 ; CPU:$DAB2 PRG:1AB2 20 D5 DA
|
|
bcs Label_DABC ; CPU:$DAB5 PRG:1AB5 B0 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DAB7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DAB7:
|
|
lda #$04 ; CPU:$DAB7 PRG:1AB7 A9 04
|
|
sta ZpFC ; CPU:$DAB9 PRG:1AB9 85 FC
|
|
rts ; CPU:$DABB PRG:1ABB 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DABC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DABC:
|
|
jsr $DBB4 ; CPU:$DABC PRG:1ABC 20 B4 DB
|
|
sty Zp5C,x ; CPU:$DABF PRG:1ABF 94 5C
|
|
lda Zp03 ; CPU:$DAC1 PRG:1AC1 A5 03
|
|
sta Zp7D,x ; CPU:$DAC3 PRG:1AC3 95 7D
|
|
jsr $DAF2 ; CPU:$DAC5 PRG:1AC5 20 F2 DA
|
|
bcs Label_DAB7 ; CPU:$DAC8 PRG:1AC8 B0 ED
|
|
jsr $D91C ; CPU:$DACA PRG:1ACA 20 1C D9
|
|
lda Zp84,x ; CPU:$DACD PRG:1ACD B5 84
|
|
ora #$01 ; CPU:$DACF PRG:1ACF 09 01
|
|
sta Zp84,x ; CPU:$DAD1 PRG:1AD1 95 84
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DAD3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DAD3:
|
|
clc ; CPU:$DAD3 PRG:1AD3 18
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DAD4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DAD4:
|
|
rts ; CPU:$DAD4 PRG:1AD4 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DAD5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DAD5:
|
|
txa ; CPU:$DAD5 PRG:1AD5 8A
|
|
asl a ; CPU:$DAD6 PRG:1AD6 0A
|
|
asl a ; CPU:$DAD7 PRG:1AD7 0A
|
|
tay ; CPU:$DAD8 PRG:1AD8 A8
|
|
lda $021F,y ; CPU:$DAD9 PRG:1AD9 B9 1F 02
|
|
clc ; CPU:$DADC PRG:1ADC 18
|
|
adc 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
|
|
cmp $D7A3,y ; CPU:$DAE6 PRG:1AE6 D9 A3 D7
|
|
bcc Label_DAD3 ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DAF0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DAF0:
|
|
sec ; CPU:$DAF0 PRG:1AF0 38
|
|
rts ; CPU:$DAF1 PRG:1AF1 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DAF2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DAF2:
|
|
lda #$00 ; CPU:$DAF2 PRG:1AF2 A9 00
|
|
sta $063E ; CPU:$DAF4 PRG:1AF4 8D 3E 06
|
|
lda (Zp03),y ; CPU:$DAF7 PRG:1AF7 B1 03
|
|
beq Label_DAF0 ; CPU:$DAF9 PRG:1AF9 F0 F5
|
|
cmp #$03 ; CPU:$DAFB PRG:1AFB C9 03
|
|
bpl Label_DAF0 ; CPU:$DAFD PRG:1AFD 10 F1
|
|
cmp #$FF ; CPU:$DAFF PRG:1AFF C9 FF
|
|
beq Label_DAF0 ; CPU:$DB01 PRG:1B01 F0 ED
|
|
cmp #$02 ; CPU:$DB03 PRG:1B03 C9 02
|
|
bne Label_DB0E ; CPU:$DB05 PRG:1B05 D0 07
|
|
pha ; CPU:$DB07 PRG:1B07 48
|
|
lda #$01 ; CPU:$DB08 PRG:1B08 A9 01
|
|
sta $063E ; CPU:$DB0A PRG:1B0A 8D 3E 06
|
|
pla ; CPU:$DB0D PRG:1B0D 68
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB0E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB0E:
|
|
clc ; CPU:$DB0E PRG:1B0E 18
|
|
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
|
|
lda #$FF ; CPU:$DB17 PRG:1B17 A9 FF
|
|
sta (Zp03),y ; CPU:$DB19 PRG:1B19 91 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB1B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB1B:
|
|
clc ; CPU:$DB1B PRG:1B1B 18
|
|
rts ; CPU:$DB1C PRG:1B1C 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB1D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB1D:
|
|
sta Zp08 ; CPU:$DB1D PRG:1B1D 85 08
|
|
bne Label_DB2C ; CPU:$DB1F PRG:1B1F D0 0B
|
|
cpy #$08 ; CPU:$DB21 PRG:1B21 C0 08
|
|
bcc Label_DB2C ; CPU:$DB23 PRG:1B23 90 07
|
|
lda a: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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB2C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB2C:
|
|
lda a:Zp91,y ; CPU:$DB2C PRG:1B2C B9 91 00
|
|
bpl Label_DBA4 ; CPU:$DB2F PRG:1B2F 10 73
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB31
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB31:
|
|
lda ZpCheckZp14 ; CPU:$DB31 PRG:1B31 A5 55
|
|
beq Label_DB65 ; CPU:$DB33 PRG:1B33 F0 30
|
|
cmp #$02 ; CPU:$DB35 PRG:1B35 C9 02
|
|
beq Label_DB65 ; CPU:$DB37 PRG:1B37 F0 2C
|
|
cpy #$08 ; CPU:$DB39 PRG:1B39 C0 08
|
|
bcs Label_DB65 ; CPU:$DB3B PRG:1B3B B0 28
|
|
ldx ZpB2,y ; CPU:$DB3D PRG:1B3D B6 B2
|
|
lda Zp08 ; CPU:$DB3F PRG:1B3F A5 08
|
|
bne Label_DB54 ; CPU:$DB41 PRG:1B41 D0 11
|
|
lda a:Zp9C,y ; CPU:$DB43 PRG:1B43 B9 9C 00
|
|
bmi Label_DB4B ; CPU:$DB46 PRG:1B46 30 03
|
|
lda #$10 ; CPU:$DB48 PRG:1B48 A9 10
|
|
; ---- data $DB4A-$DB4A (1 bytes) ----
|
|
.byte $2C ; CPU:$DB4A PRG:1B4A 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB4B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB4B:
|
|
lda #$F8 ; CPU:$DB4B PRG:1B4B A9 F8
|
|
clc ; CPU:$DB4D PRG:1B4D 18
|
|
adc a:Zp9C,y ; CPU:$DB4E PRG:1B4E 79 9C 00
|
|
jmp $DB57 ; CPU:$DB51 PRG:1B51 4C 57 DB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB54
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB54:
|
|
lda a:Zp9C,y ; CPU:$DB54 PRG:1B54 B9 9C 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB57
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB57:
|
|
clc ; CPU:$DB57 PRG:1B57 18
|
|
adc $D7BD,y ; CPU:$DB58 PRG:1B58 79 BD D7
|
|
cmp $D7A3,x ; CPU:$DB5B PRG:1B5B DD A3 D7
|
|
bcc Label_DBA4 ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB65
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB65:
|
|
lda a:Zp9C,y ; CPU:$DB65 PRG:1B65 B9 9C 00
|
|
clc ; CPU:$DB68 PRG:1B68 18
|
|
adc $D7BD,y ; CPU:$DB69 PRG:1B69 79 BD D7
|
|
sec ; CPU:$DB6C PRG:1B6C 38
|
|
sbc Zp0A ; CPU:$DB6D PRG:1B6D E5 0A
|
|
sta PtrLo ; CPU:$DB6F PRG:1B6F 85 00
|
|
jsr $D2F9 ; CPU:$DB71 PRG:1B71 20 F9 D2
|
|
pha ; CPU:$DB74 PRG:1B74 48
|
|
lda Zp08 ; CPU:$DB75 PRG:1B75 A5 08
|
|
beq Label_DB81 ; CPU:$DB77 PRG:1B77 F0 08
|
|
pla ; CPU:$DB79 PRG:1B79 68
|
|
cmp $D7D3,y ; CPU:$DB7A PRG:1B7A D9 D3 D7
|
|
bcs Label_DBA4 ; CPU:$DB7D PRG:1B7D B0 25
|
|
bcc Label_DB86 ; CPU:$DB7F PRG:1B7F 90 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB81
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB81:
|
|
pla ; CPU:$DB81 PRG:1B81 68
|
|
cmp #$0C ; CPU:$DB82 PRG:1B82 C9 0C
|
|
bcs Label_DBA4 ; CPU:$DB84 PRG:1B84 B0 1E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB86
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB86:
|
|
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
|
|
sbc Zp0B ; CPU:$DB8E PRG:1B8E E5 0B
|
|
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
|
|
lda Zp08 ; CPU:$DB98 PRG:1B98 A5 08
|
|
beq Label_DBA6 ; CPU:$DB9A PRG:1B9A F0 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DB9C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DB9C:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DBA2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DBA2:
|
|
sec ; CPU:$DBA2 PRG:1BA2 38
|
|
rts ; CPU:$DBA3 PRG:1BA3 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DBA4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DBA4:
|
|
clc ; CPU:$DBA4 PRG:1BA4 18
|
|
rts ; CPU:$DBA5 PRG:1BA5 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DBA6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DBA6:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DBAD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DBAD:
|
|
lda #$FF ; CPU:$DBAD PRG:1BAD A9 FF
|
|
rts ; CPU:$DBAF PRG:1BAF 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DBB0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DBB0:
|
|
ldy #$05 ; CPU:$DBB0 PRG:1BB0 A0 05
|
|
bne UpdateSound24_1 ; CPU:$DBB2 PRG:1BB2 D0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DBB4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DBB4:
|
|
ldy #$04 ; CPU:$DBB4 PRG:1BB4 A0 04
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSound24_1:
|
|
sty Zp04 ; CPU:$DBB6 PRG:1BB6 84 04
|
|
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 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DBCB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 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 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
|
|
lda $D762,y ; CPU:$DBEA PRG:1BEA B9 62 D7
|
|
sta Zp03 ; CPU:$DBED PRG:1BED 85 03
|
|
lda ZpD4,x ; CPU:$DBEF PRG:1BEF B5 D4
|
|
sec ; CPU:$DBF1 PRG:1BF1 38
|
|
sbc #$04 ; CPU:$DBF2 PRG:1BF2 E9 04
|
|
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
|
|
inc $0343,x ; CPU:$DBFA PRG:1BFA FE 43 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DBFD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DBFD:
|
|
lda ZpD7,x ; CPU:$DBFD PRG:1BFD B5 D7
|
|
ldy #$00 ; CPU:$DBFF PRG:1BFF A0 00
|
|
cmp $0786 ; CPU:$DC01 PRG:1C01 CD 86 07
|
|
beq Label_DC0C ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC0C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC0C:
|
|
sty PtrLo ; CPU:$DC0C PRG:1C0C 84 00
|
|
lda Zp6A,x ; CPU:$DC0E PRG:1C0E B5 6A
|
|
cmp #$04 ; CPU:$DC10 PRG:1C10 C9 04
|
|
beq Label_DC18 ; CPU:$DC12 PRG:1C12 F0 04
|
|
cmp #$02 ; CPU:$DC14 PRG:1C14 C9 02
|
|
bne Label_DC34 ; CPU:$DC16 PRG:1C16 D0 1C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC18
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC18:
|
|
lda Zp68,x ; CPU:$DC18 PRG:1C18 B5 68
|
|
beq Label_DC34 ; 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
|
|
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
|
|
lda #$14 ; CPU:$DC27 PRG:1C27 A9 14
|
|
bne Label_DC36 ; CPU:$DC29 PRG:1C29 D0 0B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC2B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC2B:
|
|
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
|
|
lda #$04 ; CPU:$DC31 PRG:1C31 A9 04
|
|
; ---- data $DC33-$DC33 (1 bytes) ----
|
|
.byte $2C ; CPU:$DC33 PRG:1C33 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC34
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC34:
|
|
lda #$09 ; CPU:$DC34 PRG:1C34 A9 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC36
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC36:
|
|
clc ; CPU:$DC36 PRG:1C36 18
|
|
adc Zp64,x ; CPU:$DC37 PRG:1C37 75 64
|
|
cmp $0788,y ; CPU:$DC39 PRG:1C39 D9 88 07
|
|
bcc Label_DC43 ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC43
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC43:
|
|
cmp $078C,y ; CPU:$DC43 PRG:1C43 D9 8C 07
|
|
bcc Label_DC4D ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC4D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC4D:
|
|
lda Zp2D,x ; CPU:$DC4D PRG:1C4D B5 2D
|
|
bne Label_DC5E ; CPU:$DC4F PRG:1C4F D0 0D
|
|
pla ; CPU:$DC51 PRG:1C51 68
|
|
tay ; CPU:$DC52 PRG:1C52 A8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC53
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC53:
|
|
lda (Zp03),y ; CPU:$DC53 PRG:1C53 B1 03
|
|
rts ; CPU:$DC55 PRG:1C55 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC56
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC56:
|
|
lda #$00 ; CPU:$DC56 PRG:1C56 A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC58
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC58:
|
|
rts ; CPU:$DC58 PRG:1C58 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC59
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC59:
|
|
lda PtrLo ; CPU:$DC59 PRG:1C59 A5 00
|
|
sta $0783,x ; CPU:$DC5B PRG:1C5B 9D 83 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC5E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC5E:
|
|
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
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC6A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC6A:
|
|
lda $0301 ; CPU:$DC6A PRG:1C6A AD 01 03
|
|
bne Label_DC58 ; CPU:$DC6D PRG:1C6D D0 E9
|
|
sta $0300 ; CPU:$DC6F PRG:1C6F 8D 00 03
|
|
lda Zp84 ; CPU:$DC72 PRG:1C72 A5 84
|
|
beq Label_DC80 ; CPU:$DC74 PRG:1C74 F0 0A
|
|
ldx #$00 ; CPU:$DC76 PRG:1C76 A2 00
|
|
ldy #$00 ; CPU:$DC78 PRG:1C78 A0 00
|
|
jsr $DC97 ; CPU:$DC7A PRG:1C7A 20 97 DC
|
|
jsr $DDA9 ; CPU:$DC7D PRG:1C7D 20 A9 DD
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DC80
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC80:
|
|
lda Zp85 ; CPU:$DC80 PRG:1C80 A5 85
|
|
beq Label_DC58 ; CPU:$DC82 PRG:1C82 F0 D4
|
|
ldx #$01 ; CPU:$DC84 PRG:1C84 A2 01
|
|
ldy $0300 ; CPU:$DC86 PRG:1C86 AC 00 03
|
|
jsr $DC97 ; CPU:$DC89 PRG:1C89 20 97 DC
|
|
jmp $DDA9 ; CPU:$DC8C PRG:1C8C 4C A9 DD
|
|
; ---- data $DC8F-$DC96 (8 bytes) ----
|
|
; 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DC97:
|
|
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
|
|
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
|
|
rts ; CPU:$DCA3 PRG:1CA3 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DCA4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DCA4:
|
|
jsr $DDB6 ; CPU:$DCA4 PRG:1CA4 20 B6 DD
|
|
jsr $DCF0 ; CPU:$DCA7 PRG:1CA7 20 F0 DC
|
|
jmp $DCB3 ; CPU:$DCAA PRG:1CAA 4C B3 DC
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DCAD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DCAD:
|
|
jsr $DDB6 ; CPU:$DCAD PRG:1CAD 20 B6 DD
|
|
jsr $DCF6 ; CPU:$DCB0 PRG:1CB0 20 F6 DC
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DCB3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DCB3:
|
|
lda ZpD7,x ; CPU:$DCB3 PRG:1CB3 B5 D7
|
|
pha ; CPU:$DCB5 PRG:1CB5 48
|
|
tay ; CPU:$DCB6 PRG:1CB6 A8
|
|
lda (Zp05),y ; CPU:$DCB7 PRG:1CB7 B1 05
|
|
jsr $DCEA ; CPU:$DCB9 PRG:1CB9 20 EA DC
|
|
iny ; CPU:$DCBC PRG:1CBC C8
|
|
sty 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
|
|
clc ; CPU:$DCC3 PRG:1CC3 18
|
|
adc (Zp07),y ; CPU:$DCC4 PRG:1CC4 71 07
|
|
jsr $DCEA ; CPU:$DCC6 PRG:1CC6 20 EA DC
|
|
iny ; CPU:$DCC9 PRG:1CC9 C8
|
|
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 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
|
|
jsr $DE12 ; CPU:$DCD8 PRG:1CD8 20 12 DE
|
|
jsr $DCEA ; CPU:$DCDB PRG:1CDB 20 EA DC
|
|
lda #$00 ; CPU:$DCDE PRG:1CDE A9 00
|
|
sta $0302,y ; CPU:$DCE0 PRG:1CE0 99 02 03
|
|
iny ; CPU:$DCE3 PRG:1CE3 C8
|
|
sty $0300 ; CPU:$DCE4 PRG:1CE4 8C 00 03
|
|
ldx Zp0F ; CPU:$DCE7 PRG:1CE7 A6 0F
|
|
rts ; CPU:$DCE9 PRG:1CE9 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DCEA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DCEA:
|
|
ldy PtrLo ; CPU:$DCEA PRG:1CEA A4 00
|
|
sta $0301,y ; CPU:$DCEC PRG:1CEC 99 01 03
|
|
rts ; CPU:$DCEF PRG:1CEF 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DCF0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DCF0:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DCF6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DCF6:
|
|
lda #$05 ; CPU:$DCF6 PRG:1CF6 A9 05
|
|
ldy #$07 ; CPU:$DCF8 PRG:1CF8 A0 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DCFA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DCFA:
|
|
sta Zp04 ; CPU:$DCFA PRG:1CFA 85 04
|
|
ldx #$03 ; CPU:$DCFC PRG:1CFC A2 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DCFE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DCFE:
|
|
lda $DC8F,y ; CPU:$DCFE PRG:1CFE B9 8F DC
|
|
sta Zp05,x ; CPU:$DD01 PRG:1D01 95 05
|
|
dey ; CPU:$DD03 PRG:1D03 88
|
|
dex ; CPU:$DD04 PRG:1D04 CA
|
|
bpl Label_DCFE ; CPU:$DD05 PRG:1D05 10 F7
|
|
ldy PtrLo ; CPU:$DD07 PRG:1D07 A4 00
|
|
ldx Zp0F ; CPU:$DD09 PRG:1D09 A6 0F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DD0B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DD0B:
|
|
rts ; CPU:$DD0B PRG:1D0B 60
|
|
; ---- data $DD0C-$DD15 (10 bytes) ----
|
|
; referenced by `lda $DD0C,x` at $DD41 (operand $DD0C falls inside this region)
|
|
; referenced by `cmp $DD0C,x` at $DD5C (operand $DD0C falls inside this region)
|
|
; 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DD16:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DD1D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DD1D:
|
|
jsr $DCF0 ; CPU:$DD1D PRG:1D1D 20 F0 DC
|
|
ldx #$00 ; CPU:$DD20 PRG:1D20 A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DD22
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DD22:
|
|
stx Zp0B ; CPU:$DD22 PRG:1D22 86 0B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DD24
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DD24:
|
|
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
|
|
tay ; CPU:$DD2A PRG:1D2A A8
|
|
tax ; CPU:$DD2B PRG:1D2B AA
|
|
jsr $DDA1 ; CPU:$DD2C PRG:1D2C 20 A1 DD
|
|
clc ; CPU:$DD2F PRG:1D2F 18
|
|
adc $D762,x ; CPU:$DD30 PRG:1D30 7D 62 D7
|
|
sta Zp03 ; CPU:$DD33 PRG:1D33 85 03
|
|
jsr $DDA1 ; CPU:$DD35 PRG:1D35 20 A1 DD
|
|
clc ; CPU:$DD38 PRG:1D38 18
|
|
adc #$04 ; CPU:$DD39 PRG:1D39 69 04
|
|
clc ; CPU:$DD3B PRG:1D3B 18
|
|
adc (Zp07),y ; CPU:$DD3C PRG:1D3C 71 07
|
|
sta $0302 ; CPU:$DD3E PRG:1D3E 8D 02 03
|
|
lda $DD0C,x ; CPU:$DD41 PRG:1D41 BD 0C DD
|
|
sta $0303 ; CPU:$DD44 PRG:1D44 8D 03 03
|
|
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 Ptr2Lo ; CPU:$DD4E PRG:1D4E 84 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DD50
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DD50:
|
|
jsr $DE12 ; CPU:$DD50 PRG:1D50 20 12 DE
|
|
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 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
|
|
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
|
|
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 PtrLo ; CPU:$DD71 PRG:1D71 85 00
|
|
ldy #$03 ; CPU:$DD73 PRG:1D73 A0 03
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSound26_11:
|
|
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
|
|
beq Label_DD94 ; CPU:$DD7E PRG:1D7E F0 14
|
|
cpx #$EB ; CPU:$DD80 PRG:1D80 E0 EB
|
|
bne Label_DD91 ; CPU:$DD82 PRG:1D82 D0 0D
|
|
cmp #$90 ; CPU:$DD84 PRG:1D84 C9 90
|
|
bcc Label_DD91 ; CPU:$DD86 PRG:1D86 90 09
|
|
cmp #$D3 ; CPU:$DD88 PRG:1D88 C9 D3
|
|
beq UpdateSound26_13 ; CPU:$DD8A PRG:1D8A F0 03
|
|
lda #$8F ; CPU:$DD8C PRG:1D8C A9 8F
|
|
; ---- data $DD8E-$DD8E (1 bytes) ----
|
|
.byte $2C ; CPU:$DD8E PRG:1D8E 2C
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateSound26_13:
|
|
lda #$8C ; CPU:$DD8F PRG:1D8F A9 8C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DD91
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DD91:
|
|
sta $0301,y ; CPU:$DD91 PRG:1D91 99 01 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DD94
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DD94:
|
|
iny ; CPU:$DD94 PRG:1D94 C8
|
|
bne UpdateSound26_11 ; CPU:$DD95 PRG:1D95 D0 DE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DD97
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DD97:
|
|
jsr $C14E ; CPU:$DD97 PRG:1D97 20 4E C1
|
|
ldx Zp0B ; CPU:$DD9A PRG:1D9A A6 0B
|
|
inc ZpDA,x ; CPU:$DD9C PRG:1D9C F6 DA
|
|
jmp $DD24 ; CPU:$DD9E PRG:1D9E 4C 24 DD
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DDA1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DDA1:
|
|
lda #$18 ; CPU:$DDA1 PRG:1DA1 A9 18
|
|
sec ; CPU:$DDA3 PRG:1DA3 38
|
|
sbc $DD0C,x ; CPU:$DDA4 PRG:1DA4 FD 0C DD
|
|
lsr a ; CPU:$DDA7 PRG:1DA7 4A
|
|
rts ; CPU:$DDA8 PRG:1DA8 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DDA9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DDA9:
|
|
lda #$02 ; CPU:$DDA9 PRG:1DA9 A9 02
|
|
sta ZpFC ; CPU:$DDAB PRG:1DAB 85 FC
|
|
lda Zp0E ; CPU:$DDAD PRG:1DAD A5 0E
|
|
eor #$FF ; CPU:$DDAF PRG:1DAF 49 FF
|
|
and Zp84,x ; CPU:$DDB1 PRG:1DB1 35 84
|
|
sta Zp84,x ; CPU:$DDB3 PRG:1DB3 95 84
|
|
rts ; CPU:$DDB5 PRG:1DB5 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DDB6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DDB6:
|
|
sta Zp0E ; CPU:$DDB6 PRG:1DB6 85 0E
|
|
stx Zp0F ; CPU:$DDB8 PRG:1DB8 86 0F
|
|
sty PtrLo ; CPU:$DDBA PRG:1DBA 84 00
|
|
rts ; CPU:$DDBC PRG:1DBC 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DDBD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DDBD:
|
|
ldy #$06 ; CPU:$DDBD PRG:1DBD A0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DDBF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DDBF:
|
|
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
|
|
lda $D785,y ; CPU:$DDC5 PRG:1DC5 B9 85 D7
|
|
rts ; CPU:$DDC8 PRG:1DC8 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DDC9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DDC9:
|
|
lda Zp80,x ; CPU:$DDC9 PRG:1DC9 B5 80
|
|
beq Label_DE10 ; CPU:$DDCB PRG:1DCB F0 43
|
|
lda #$00 ; CPU:$DDCD PRG:1DCD A9 00
|
|
sta Zp80,x ; CPU:$DDCF PRG:1DCF 95 80
|
|
lda #$04 ; CPU:$DDD1 PRG:1DD1 A9 04
|
|
sta 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 PtrLo ; CPU:$DDDF PRG:1DDF 85 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DDE1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DDE1:
|
|
jsr $DAD5 ; CPU:$DDE1 PRG:1DE1 20 D5 DA
|
|
bcs Label_DDEC ; CPU:$DDE4 PRG:1DE4 B0 06
|
|
lda #$04 ; CPU:$DDE6 PRG:1DE6 A9 04
|
|
sta ZpFC ; CPU:$DDE8 PRG:1DE8 85 FC
|
|
clc ; CPU:$DDEA PRG:1DEA 18
|
|
rts ; CPU:$DDEB PRG:1DEB 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DDEC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DDEC:
|
|
jsr $DBB0 ; CPU:$DDEC PRG:1DEC 20 B0 DB
|
|
lda Zp90 ; CPU:$DDEF PRG:1DEF A5 90
|
|
sec ; CPU:$DDF1 PRG:1DF1 38
|
|
sbc ZpD7,x ; CPU:$DDF2 PRG:1DF2 F5 D7
|
|
cmp #$03 ; CPU:$DDF4 PRG:1DF4 C9 03
|
|
bcs Label_DE10 ; CPU:$DDF6 PRG:1DF6 B0 18
|
|
sty Zp5C,x ; CPU:$DDF8 PRG:1DF8 94 5C
|
|
lda Zp03 ; CPU:$DDFA PRG:1DFA A5 03
|
|
sta Zp7D,x ; CPU:$DDFC PRG:1DFC 95 7D
|
|
jsr $DAF2 ; CPU:$DDFE PRG:1DFE 20 F2 DA
|
|
bcc Label_DE07 ; CPU:$DE01 PRG:1E01 90 04
|
|
lda Zp82,x ; CPU:$DE03 PRG:1E03 B5 82
|
|
bne Label_DE11 ; CPU:$DE05 PRG:1E05 D0 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE07
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE07:
|
|
jsr $D91C ; CPU:$DE07 PRG:1E07 20 1C D9
|
|
lda Zp84,x ; CPU:$DE0A PRG:1E0A B5 84
|
|
ora #$02 ; CPU:$DE0C PRG:1E0C 09 02
|
|
sta Zp84,x ; CPU:$DE0E PRG:1E0E 95 84
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE10:
|
|
clc ; CPU:$DE10 PRG:1E10 18
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE11
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE11:
|
|
rts ; CPU:$DE11 PRG:1E11 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE12
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE12:
|
|
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
|
|
lda (Zp03),y ; CPU:$DE18 PRG:1E18 B1 03
|
|
jmp $DDBD ; CPU:$DE1A PRG:1E1A 4C BD DD
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE1D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE1D:
|
|
lda (Zp03),y ; CPU:$DE1D PRG:1E1D B1 03
|
|
jmp $DEEA ; CPU:$DE1F PRG:1E1F 4C EA DE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE22
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE22:
|
|
lda $0301 ; CPU:$DE22 PRG:1E22 AD 01 03
|
|
bne Label_DE11 ; CPU:$DE25 PRG:1E25 D0 EA
|
|
sta $0300 ; CPU:$DE27 PRG:1E27 8D 00 03
|
|
lda #$05 ; CPU:$DE2A PRG:1E2A A9 05
|
|
sta Zp0F ; CPU:$DE2C PRG:1E2C 85 0F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE2E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE2E:
|
|
tax ; CPU:$DE2E PRG:1E2E AA
|
|
lda Zp91,x ; CPU:$DE2F PRG:1E2F B5 91
|
|
bpl Label_DE9C ; CPU:$DE31 PRG:1E31 10 69
|
|
lda ZpB2,x ; CPU:$DE33 PRG:1E33 B5 B2
|
|
beq Label_DE9C ; CPU:$DE35 PRG:1E35 F0 65
|
|
sta ZpD9 ; CPU:$DE37 PRG:1E37 85 D9
|
|
lda Zp9C,x ; CPU:$DE39 PRG:1E39 B5 9C
|
|
clc ; CPU:$DE3B PRG:1E3B 18
|
|
adc #$08 ; CPU:$DE3C PRG:1E3C 69 08
|
|
sta Zp0E ; CPU:$DE3E PRG:1E3E 85 0E
|
|
lda #$00 ; CPU:$DE40 PRG:1E40 A9 00
|
|
sta Zp0D ; CPU:$DE42 PRG:1E42 85 0D
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE44
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE44:
|
|
jsr $DEB2 ; CPU:$DE44 PRG:1E44 20 B2 DE
|
|
bpl Label_DEA5 ; CPU:$DE47 PRG:1E47 10 5C
|
|
lda #$01 ; CPU:$DE49 PRG:1E49 A9 01
|
|
sta (Zp03),y ; CPU:$DE4B PRG:1E4B 91 03
|
|
ldx #$02 ; CPU:$DE4D PRG:1E4D A2 02
|
|
sty Zp5C,x ; CPU:$DE4F PRG:1E4F 94 5C
|
|
lda Zp03 ; CPU:$DE51 PRG:1E51 A5 03
|
|
sta Zp7D,x ; CPU:$DE53 PRG:1E53 95 7D
|
|
lda Zp0E ; CPU:$DE55 PRG:1E55 A5 0E
|
|
jsr $EDBF ; CPU:$DE57 PRG:1E57 20 BF ED
|
|
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 PtrLo ; CPU:$DE62 PRG:1E62 84 00
|
|
ldx #$02 ; CPU:$DE64 PRG:1E64 A2 02
|
|
jsr $DCB3 ; CPU:$DE66 PRG:1E66 20 B3 DC
|
|
ldy ZpD9 ; CPU:$DE69 PRG:1E69 A4 D9
|
|
lda $062F,y ; CPU:$DE6B PRG:1E6B B9 2F 06
|
|
bpl Label_DE83 ; CPU:$DE6E PRG:1E6E 10 13
|
|
cmp #$90 ; CPU:$DE70 PRG:1E70 C9 90
|
|
bcs Label_DE7D ; CPU:$DE72 PRG:1E72 B0 09
|
|
cmp #$8C ; CPU:$DE74 PRG:1E74 C9 8C
|
|
beq Label_DE7B ; CPU:$DE76 PRG:1E76 F0 03
|
|
lda #$CD ; CPU:$DE78 PRG:1E78 A9 CD
|
|
; ---- data $DE7A-$DE7A (1 bytes) ----
|
|
.byte $2C ; CPU:$DE7A PRG:1E7A 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE7B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE7B:
|
|
lda #$D3 ; CPU:$DE7B PRG:1E7B A9 D3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE7D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE7D:
|
|
ldy $0300 ; CPU:$DE7D PRG:1E7D AC 00 03
|
|
sta $0300,y ; CPU:$DE80 PRG:1E80 99 00 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE83
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE83:
|
|
lda Zp0D ; CPU:$DE83 PRG:1E83 A5 0D
|
|
bne Label_DEA9 ; CPU:$DE85 PRG:1E85 D0 22
|
|
ldx Zp0F ; CPU:$DE87 PRG:1E87 A6 0F
|
|
lda ZpBD,x ; CPU:$DE89 PRG:1E89 B5 BD
|
|
bmi Label_DE90 ; CPU:$DE8B PRG:1E8B 30 03
|
|
lda #$08 ; CPU:$DE8D PRG:1E8D A9 08
|
|
; ---- data $DE8F-$DE8F (1 bytes) ----
|
|
.byte $2C ; CPU:$DE8F PRG:1E8F 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE90
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE90:
|
|
lda #$F8 ; CPU:$DE90 PRG:1E90 A9 F8
|
|
sta Zp0D ; CPU:$DE92 PRG:1E92 85 0D
|
|
clc ; CPU:$DE94 PRG:1E94 18
|
|
adc Zp0E ; CPU:$DE95 PRG:1E95 65 0E
|
|
sta Zp0E ; CPU:$DE97 PRG:1E97 85 0E
|
|
jmp $DE44 ; CPU:$DE99 PRG:1E99 4C 44 DE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DE9C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DE9C:
|
|
inc Zp0F ; CPU:$DE9C PRG:1E9C E6 0F
|
|
lda Zp0F ; CPU:$DE9E PRG:1E9E A5 0F
|
|
cmp #$08 ; CPU:$DEA0 PRG:1EA0 C9 08
|
|
bcc Label_DE2E ; CPU:$DEA2 PRG:1EA2 90 8A
|
|
rts ; CPU:$DEA4 PRG:1EA4 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DEA5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DEA5:
|
|
lda Zp0D ; CPU:$DEA5 PRG:1EA5 A5 0D
|
|
beq Label_DE9C ; CPU:$DEA7 PRG:1EA7 F0 F3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DEA9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DEA9:
|
|
lda #$02 ; CPU:$DEA9 PRG:1EA9 A9 02
|
|
sta ZpFC ; CPU:$DEAB PRG:1EAB 85 FC
|
|
ldx Zp0F ; CPU:$DEAD PRG:1EAD A6 0F
|
|
jmp $D888 ; CPU:$DEAF PRG:1EAF 4C 88 D8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DEB2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DEB2:
|
|
ldx Zp0F ; CPU:$DEB2 PRG:1EB2 A6 0F
|
|
lda ZpB2,x ; CPU:$DEB4 PRG:1EB4 B5 B2
|
|
and #$0F ; CPU:$DEB6 PRG:1EB6 29 0F
|
|
; ---- data $DEB8-$DEB8 (1 bytes) ----
|
|
.byte $2C ; CPU:$DEB8 PRG:1EB8 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DEB9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DEB9:
|
|
lda Zp0F ; CPU:$DEB9 PRG:1EB9 A5 0F
|
|
pha ; CPU:$DEBB PRG:1EBB 48
|
|
lda Zp0E ; CPU:$DEBC PRG:1EBC A5 0E
|
|
cmp #$20 ; CPU:$DEBE PRG:1EBE C9 20
|
|
bcc Label_DEE4 ; CPU:$DEC0 PRG:1EC0 90 22
|
|
cmp #$E0 ; CPU:$DEC2 PRG:1EC2 C9 E0
|
|
bcs Label_DEE4 ; CPU:$DEC4 PRG:1EC4 B0 1E
|
|
jsr $EDBF ; CPU:$DEC6 PRG:1EC6 20 BF ED
|
|
sec ; CPU:$DEC9 PRG:1EC9 38
|
|
sbc #$04 ; CPU:$DECA PRG:1ECA E9 04
|
|
sta 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 Ptr2Lo ; CPU:$DED9 PRG:1ED9 A4 02
|
|
lda (Zp03),y ; CPU:$DEDB PRG:1EDB B1 03
|
|
sta Ptr2Lo ; CPU:$DEDD PRG:1EDD 85 02
|
|
dec Zp04 ; CPU:$DEDF PRG:1EDF C6 04
|
|
lda (Zp03),y ; CPU:$DEE1 PRG:1EE1 B1 03
|
|
rts ; CPU:$DEE3 PRG:1EE3 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DEE4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DEE4:
|
|
pla ; CPU:$DEE4 PRG:1EE4 68
|
|
lda #$01 ; CPU:$DEE5 PRG:1EE5 A9 01
|
|
sta Ptr2Lo ; CPU:$DEE7 PRG:1EE7 85 02
|
|
rts ; CPU:$DEE9 PRG:1EE9 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DEEA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DEEA:
|
|
ldy #$06 ; CPU:$DEEA PRG:1EEA A0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DEEC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DEEC:
|
|
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
|
|
lda $D79D,y ; CPU:$DEF2 PRG:1EF2 B9 9D D7
|
|
rts ; CPU:$DEF5 PRG:1EF5 60
|
|
; ---- data $DEF6-$DFA4 (175 bytes) ----
|
|
; referenced by `lda $DF1B,x` at $DFBA (operand $DF1B falls inside this region)
|
|
; referenced by `lda $DEFA,y` at $DFED (operand $DEFA falls inside this region)
|
|
; referenced by `lda $DEFB,y` at $DFF2 (operand $DEFB falls inside this region)
|
|
; referenced by `lda $DF1B,x` at $DFF8 (operand $DF1B falls inside this region)
|
|
; 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
|
|
.byte $81, $8D, $CB, $F2, $22, $A2, $AE, $C8, $27, $C7, $D0, $C4, $D2, $81, $4A, $84 ; CPU:$DF26 PRG:1F26 81 8D CB F2 22 A2 AE C8 27 C7 D0 C4 D2 81 4A 84
|
|
.byte $8C, $94, $A8, $C2, $44, $4A, $50, $CA, $D1, $48, $70, $84, $26, $2E, $64, $70 ; CPU:$DF36 PRG:1F36 8C 94 A8 C2 44 4A 50 CA D1 48 70 84 26 2E 64 70
|
|
.byte $C7, $CD, $D3, $A2, $AB, $B1, $2C, $85, $8B, $91, $96, $A7, $AE, $CF, $D4, $27 ; CPU:$DF46 PRG:1F46 C7 CD D3 A2 AB B1 2C 85 8B 91 96 A7 AE CF D4 27
|
|
.byte $44, $50, $63, $6D, $86, $90, $A3, $A9, $AF, $E3, $E5, $ED, $F4, $48, $4F, $A3 ; CPU:$DF56 PRG:1F56 44 50 63 6D 86 90 A3 A9 AF E3 E5 ED F4 48 4F A3
|
|
.byte $AB, $B3, $C3, $CB, $6D, $92, $A5, $AF, $EB, $64, $88, $8E, $94, $AC, $EC, $F2 ; CPU:$DF66 PRG:1F66 AB B3 C3 CB 6D 92 A5 AF EB 64 88 8E 94 AC EC F2
|
|
.byte $A7, $AE, $C4, $C7, $D3, $CE, $23, $64, $8E, $A9, $D0, $E4, $E9, $C8, $D0, $D4 ; CPU:$DF76 PRG:1F76 A7 AE C4 C7 D3 CE 23 64 8E A9 D0 E4 E9 C8 D0 D4
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DFA5:
|
|
lda Zp59 ; CPU:$DFA5 PRG:1FA5 A5 59
|
|
and #$1F ; CPU:$DFA7 PRG:1FA7 29 1F
|
|
tay ; CPU:$DFA9 PRG:1FA9 A8
|
|
rts ; CPU:$DFAA PRG:1FAA 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DFAB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DFAB:
|
|
jsr $DFEA ; CPU:$DFAB PRG:1FAB 20 EA DF
|
|
beq Label_DFE9 ; CPU:$DFAE PRG:1FAE F0 39
|
|
tax ; CPU:$DFB0 PRG:1FB0 AA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DFB1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DFB1:
|
|
lda #$04 ; CPU:$DFB1 PRG:1FB1 A9 04
|
|
sta Zp04 ; CPU:$DFB3 PRG:1FB3 85 04
|
|
sta Zp06 ; CPU:$DFB5 PRG:1FB5 85 06
|
|
jsr $DFF8 ; CPU:$DFB7 PRG:1FB7 20 F8 DF
|
|
lda $DF1B,x ; CPU:$DFBA PRG:1FBA BD 1B DF
|
|
and #$1F ; CPU:$DFBD PRG:1FBD 29 1F
|
|
clc ; CPU:$DFBF PRG:1FBF 18
|
|
adc $D762,y ; CPU:$DFC0 PRG:1FC0 79 62 D7
|
|
sec ; CPU:$DFC3 PRG:1FC3 38
|
|
sbc #$01 ; CPU:$DFC4 PRG:1FC4 E9 01
|
|
sta Zp03 ; CPU:$DFC6 PRG:1FC6 85 03
|
|
clc ; CPU:$DFC8 PRG:1FC8 18
|
|
adc #$18 ; CPU:$DFC9 PRG:1FC9 69 18
|
|
sta Zp05 ; CPU:$DFCB PRG:1FCB 85 05
|
|
ldy #$02 ; CPU:$DFCD PRG:1FCD A0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DFCF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DFCF:
|
|
lda #$03 ; CPU:$DFCF PRG:1FCF A9 03
|
|
sta (Zp03),y ; CPU:$DFD1 PRG:1FD1 91 03
|
|
cpy #$01 ; CPU:$DFD3 PRG:1FD3 C0 01
|
|
bne Label_DFE1 ; CPU:$DFD5 PRG:1FD5 D0 0A
|
|
lda #$04 ; CPU:$DFD7 PRG:1FD7 A9 04
|
|
sta (Zp05),y ; CPU:$DFD9 PRG:1FD9 91 05
|
|
inc Zp06 ; CPU:$DFDB PRG:1FDB E6 06
|
|
sta (Zp05),y ; CPU:$DFDD PRG:1FDD 91 05
|
|
dec Zp06 ; CPU:$DFDF PRG:1FDF C6 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DFE1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DFE1:
|
|
dey ; CPU:$DFE1 PRG:1FE1 88
|
|
bpl Label_DFCF ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DFE9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DFE9:
|
|
rts ; CPU:$DFE9 PRG:1FE9 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DFEA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DFEA:
|
|
jsr $DFA5 ; CPU:$DFEA PRG:1FEA 20 A5 DF
|
|
lda $DEFA,y ; CPU:$DFED PRG:1FED B9 FA DE
|
|
sta Zp0A ; CPU:$DFF0 PRG:1FF0 85 0A
|
|
lda $DEFB,y ; CPU:$DFF2 PRG:1FF2 B9 FB DE
|
|
cmp Zp0A ; CPU:$DFF5 PRG:1FF5 C5 0A
|
|
rts ; CPU:$DFF7 PRG:1FF7 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_DFF8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_DFF8:
|
|
lda $DF1B,x ; CPU:$DFF8 PRG:1FF8 BD 1B DF
|
|
lsr a ; CPU:$DFFB PRG:1FFB 4A
|
|
lsr a ; CPU:$DFFC PRG:1FFC 4A
|
|
lsr a ; CPU:$DFFD PRG:1FFD 4A
|
|
lsr a ; CPU:$DFFE PRG:1FFE 4A
|
|
lsr a ; CPU:$DFFF PRG:1FFF 4A
|
|
tay ; CPU:$E000 PRG:2000 A8
|
|
rts ; CPU:$E001 PRG:2001 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E002
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E002:
|
|
ldx #$0B ; CPU:$E002 PRG:2002 A2 0B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E004
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E004:
|
|
lda #$00 ; CPU:$E004 PRG:2004 A9 00
|
|
sta $0600,x ; CPU:$E006 PRG:2006 9D 00 06
|
|
sta $0610,x ; CPU:$E009 PRG:2009 9D 10 06
|
|
sta $0620,x ; CPU:$E00C PRG:200C 9D 20 06
|
|
dex ; CPU:$E00F PRG:200F CA
|
|
bpl Label_E004 ; CPU:$E010 PRG:2010 10 F2
|
|
jsr $DFEA ; CPU:$E012 PRG:2012 20 EA DF
|
|
beq Label_E05D ; CPU:$E015 PRG:2015 F0 46
|
|
sta Zp0B ; CPU:$E017 PRG:2017 85 0B
|
|
ldx #$00 ; CPU:$E019 PRG:2019 A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E01B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E01B:
|
|
ldy Zp0B ; CPU:$E01B PRG:201B A4 0B
|
|
lda $DF1B,y ; CPU:$E01D PRG:201D B9 1B DF
|
|
lsr a ; CPU:$E020 PRG:2020 4A
|
|
lsr a ; CPU:$E021 PRG:2021 4A
|
|
lsr a ; CPU:$E022 PRG:2022 4A
|
|
lsr a ; CPU:$E023 PRG:2023 4A
|
|
lsr a ; CPU:$E024 PRG:2024 4A
|
|
sta PtrLo ; CPU:$E025 PRG:2025 85 00
|
|
lda Zp90 ; CPU:$E027 PRG:2027 A5 90
|
|
sec ; CPU:$E029 PRG:2029 38
|
|
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
|
|
lda $DEF6,y ; CPU:$E031 PRG:2031 B9 F6 DE
|
|
sta $0610,x ; CPU:$E034 PRG:2034 9D 10 06
|
|
ldy Zp0B ; CPU:$E037 PRG:2037 A4 0B
|
|
lda $DF1B,y ; CPU:$E039 PRG:2039 B9 1B DF
|
|
and #$1F ; CPU:$E03C PRG:203C 29 1F
|
|
adc #$04 ; CPU:$E03E PRG:203E 69 04
|
|
asl a ; CPU:$E040 PRG:2040 0A
|
|
asl a ; CPU:$E041 PRG:2041 0A
|
|
asl a ; CPU:$E042 PRG:2042 0A
|
|
sta $0600,x ; CPU:$E043 PRG:2043 9D 00 06
|
|
lda $DF1B,y ; CPU:$E046 PRG:2046 B9 1B DF
|
|
and #$1F ; CPU:$E049 PRG:2049 29 1F
|
|
clc ; CPU:$E04B PRG:204B 18
|
|
adc #$05 ; CPU:$E04C PRG:204C 69 05
|
|
asl a ; CPU:$E04E PRG:204E 0A
|
|
asl a ; CPU:$E04F PRG:204F 0A
|
|
asl a ; CPU:$E050 PRG:2050 0A
|
|
sta $0620,x ; CPU:$E051 PRG:2051 9D 20 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E054
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E054:
|
|
inx ; CPU:$E054 PRG:2054 E8
|
|
dec Zp0B ; CPU:$E055 PRG:2055 C6 0B
|
|
lda Zp0B ; CPU:$E057 PRG:2057 A5 0B
|
|
cmp Zp0A ; CPU:$E059 PRG:2059 C5 0A
|
|
bne Label_E01B ; CPU:$E05B PRG:205B D0 BE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E05D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E05D:
|
|
rts ; CPU:$E05D PRG:205D 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E05E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E05E:
|
|
jsr $DFEA ; CPU:$E05E PRG:205E 20 EA DF
|
|
beq Label_E05D ; CPU:$E061 PRG:2061 F0 FA
|
|
sta PtrHi ; CPU:$E063 PRG:2063 85 01
|
|
lda #$00 ; CPU:$E065 PRG:2065 A9 00
|
|
sta PtrLo ; CPU:$E067 PRG:2067 85 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E069
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E069:
|
|
ldx PtrHi ; CPU:$E069 PRG:2069 A6 01
|
|
jsr $DFF8 ; CPU:$E06B PRG:206B 20 F8 DF
|
|
lda $D794,y ; CPU:$E06E PRG:206E B9 94 D7
|
|
sta 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 PtrLo ; CPU:$E07C PRG:207C A5 00
|
|
clc ; CPU:$E07E PRG:207E 18
|
|
adc #$04 ; CPU:$E07F PRG:207F 69 04
|
|
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 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E08F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E08F:
|
|
ldy PtrLo ; CPU:$E08F PRG:208F A4 00
|
|
sty $0300 ; CPU:$E091 PRG:2091 8C 00 03
|
|
jmp $C14E ; CPU:$E094 PRG:2094 4C 4E C1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E097
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E097:
|
|
lda #$C5 ; CPU:$E097 PRG:2097 A9 C5
|
|
sta $0303,y ; CPU:$E099 PRG:2099 99 03 03
|
|
lda #$EB ; CPU:$E09C PRG:209C A9 EB
|
|
sta $0304,y ; CPU:$E09E PRG:209E 99 04 03
|
|
lda #$00 ; CPU:$E0A1 PRG:20A1 A9 00
|
|
sta $0305,y ; CPU:$E0A3 PRG:20A3 99 05 03
|
|
rts ; CPU:$E0A6 PRG:20A6 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E0A7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E0A7:
|
|
jsr $DCEA ; CPU:$E0A7 PRG:20A7 20 EA DC
|
|
lda $DF1B,x ; CPU:$E0AA PRG:20AA BD 1B DF
|
|
and #$1F ; CPU:$E0AD PRG:20AD 29 1F
|
|
clc ; CPU:$E0AF PRG:20AF 18
|
|
adc #$04 ; CPU:$E0B0 PRG:20B0 69 04
|
|
clc ; CPU:$E0B2 PRG:20B2 18
|
|
adc Ptr2Lo ; CPU:$E0B3 PRG:20B3 65 02
|
|
sta $0302,y ; CPU:$E0B5 PRG:20B5 99 02 03
|
|
rts ; CPU:$E0B8 PRG:20B8 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E0B9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E0B9:
|
|
ldx #$00 ; CPU:$E0B9 PRG:20B9 A2 00
|
|
jsr $E0C0 ; CPU:$E0BB PRG:20BB 20 C0 E0
|
|
ldx #$01 ; CPU:$E0BE PRG:20BE A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E0C0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E0C0:
|
|
lda Zp3A,x ; CPU:$E0C0 PRG:20C0 B5 3A
|
|
bne Label_E11B ; CPU:$E0C2 PRG:20C2 D0 57
|
|
lda SprData,x ; CPU:$E0C4 PRG:20C4 B5 5A
|
|
beq Label_E11A ; CPU:$E0C6 PRG:20C6 F0 52
|
|
lda Zp6A,x ; CPU:$E0C8 PRG:20C8 B5 6A
|
|
cmp #$07 ; CPU:$E0CA PRG:20CA C9 07
|
|
beq Label_E11A ; CPU:$E0CC PRG:20CC F0 4C
|
|
lda Zp2D,x ; CPU:$E0CE PRG:20CE B5 2D
|
|
bne Label_E11A ; CPU:$E0D0 PRG:20D0 D0 48
|
|
lda Zp64,x ; CPU:$E0D2 PRG:20D2 B5 64
|
|
clc ; CPU:$E0D4 PRG:20D4 18
|
|
adc #$08 ; CPU:$E0D5 PRG:20D5 69 08
|
|
sta Zp0A ; CPU:$E0D7 PRG:20D7 85 0A
|
|
lda Zp66,x ; CPU:$E0D9 PRG:20D9 B5 66
|
|
clc ; CPU:$E0DB PRG:20DB 18
|
|
adc #$0C ; CPU:$E0DC PRG:20DC 69 0C
|
|
sta Zp0B ; CPU:$E0DE PRG:20DE 85 0B
|
|
ldy #$00 ; CPU:$E0E0 PRG:20E0 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E0E2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E0E2:
|
|
lda $0600,y ; CPU:$E0E2 PRG:20E2 B9 00 06
|
|
beq Label_E115 ; CPU:$E0E5 PRG:20E5 F0 2E
|
|
clc ; CPU:$E0E7 PRG:20E7 18
|
|
adc #$04 ; CPU:$E0E8 PRG:20E8 69 04
|
|
sec ; CPU:$E0EA PRG:20EA 38
|
|
sbc Zp0A ; CPU:$E0EB PRG:20EB E5 0A
|
|
sta 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
|
|
lda $0610,y ; CPU:$E0F6 PRG:20F6 B9 10 06
|
|
sec ; CPU:$E0F9 PRG:20F9 38
|
|
sbc #$1C ; CPU:$E0FA PRG:20FA E9 1C
|
|
sec ; CPU:$E0FC PRG:20FC 38
|
|
sbc Zp0B ; CPU:$E0FD PRG:20FD E5 0B
|
|
jsr $D2F9 ; CPU:$E0FF PRG:20FF 20 F9 D2
|
|
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
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E110
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E110:
|
|
pla ; CPU:$E110 PRG:2110 68
|
|
cmp #$24 ; CPU:$E111 PRG:2111 C9 24
|
|
bcc Label_E12F ; CPU:$E113 PRG:2113 90 1A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E115
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E115:
|
|
iny ; CPU:$E115 PRG:2115 C8
|
|
cpy #$0B ; CPU:$E116 PRG:2116 C0 0B
|
|
bcc Label_E0E2 ; CPU:$E118 PRG:2118 90 C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E11A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E11A:
|
|
rts ; CPU:$E11A PRG:211A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E11B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E11B:
|
|
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
|
|
lda Zp68,x ; CPU:$E121 PRG:2121 B5 68
|
|
beq Label_E12E ; CPU:$E123 PRG:2123 F0 09
|
|
cmp #$02 ; CPU:$E125 PRG:2125 C9 02
|
|
beq Label_E12C ; CPU:$E127 PRG:2127 F0 03
|
|
inc Zp64,x ; CPU:$E129 PRG:2129 F6 64
|
|
; ---- data $E12B-$E12B (1 bytes) ----
|
|
.byte $2C ; CPU:$E12B PRG:212B 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E12C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E12C:
|
|
dec Zp64,x ; CPU:$E12C PRG:212C D6 64
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E12E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E12E:
|
|
rts ; CPU:$E12E PRG:212E 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E12F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E12F:
|
|
pha ; CPU:$E12F PRG:212F 48
|
|
lda ZpE6,x ; CPU:$E130 PRG:2130 B5 E6
|
|
cmp #$02 ; CPU:$E132 PRG:2132 C9 02
|
|
bcs Label_E13D ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E13D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E13D:
|
|
pla ; CPU:$E13D PRG:213D 68
|
|
cmp #$23 ; CPU:$E13E PRG:213E C9 23
|
|
bcc Label_E158 ; CPU:$E140 PRG:2140 90 16
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E142
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E142:
|
|
lda Zp68,x ; CPU:$E142 PRG:2142 B5 68
|
|
beq Label_E158 ; CPU:$E144 PRG:2144 F0 12
|
|
lda PtrLo ; CPU:$E146 PRG:2146 A5 00
|
|
cmp #$03 ; CPU:$E148 PRG:2148 C9 03
|
|
bcc Label_E153 ; CPU:$E14A PRG:214A 90 07
|
|
cmp #$FD ; CPU:$E14C PRG:214C C9 FD
|
|
bcs Label_E153 ; CPU:$E14E PRG:214E B0 03
|
|
jsr $E176 ; CPU:$E150 PRG:2150 20 76 E1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E153
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E153:
|
|
lda #$08 ; CPU:$E153 PRG:2153 A9 08
|
|
sta Zp3A,x ; CPU:$E155 PRG:2155 95 3A
|
|
rts ; CPU:$E157 PRG:2157 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E158
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E158:
|
|
lda PtrLo ; CPU:$E158 PRG:2158 A5 00
|
|
bmi Label_E165 ; CPU:$E15A PRG:215A 30 09
|
|
lda $0600,y ; CPU:$E15C PRG:215C B9 00 06
|
|
sec ; CPU:$E15F PRG:215F 38
|
|
sbc #$10 ; CPU:$E160 PRG:2160 E9 10
|
|
jmp $E16B ; CPU:$E162 PRG:2162 4C 6B E1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E165
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E165:
|
|
lda $0600,y ; CPU:$E165 PRG:2165 B9 00 06
|
|
clc ; CPU:$E168 PRG:2168 18
|
|
adc #$07 ; CPU:$E169 PRG:2169 69 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E16B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E16B:
|
|
sta Zp64,x ; CPU:$E16B PRG:216B 95 64
|
|
lda Zp6A,x ; CPU:$E16D PRG:216D B5 6A
|
|
and #$01 ; CPU:$E16F PRG:216F 29 01
|
|
bne Label_E184 ; CPU:$E171 PRG:2171 D0 11
|
|
jmp $E176 ; CPU:$E173 PRG:2173 4C 76 E1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E176
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E176:
|
|
lda PtrLo ; CPU:$E176 PRG:2176 A5 00
|
|
asl a ; CPU:$E178 PRG:2178 0A
|
|
lda #$01 ; CPU:$E179 PRG:2179 A9 01
|
|
bcs Label_E17E ; CPU:$E17B PRG:217B B0 01
|
|
asl a ; CPU:$E17D PRG:217D 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E17E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E17E:
|
|
sta Zp68,x ; CPU:$E17E PRG:217E 95 68
|
|
and #$01 ; CPU:$E180 PRG:2180 29 01
|
|
sta Zp62,x ; CPU:$E182 PRG:2182 95 62
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E184
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E184:
|
|
rts ; CPU:$E184 PRG:2184 60
|
|
; ---- data $E185-$E188 (4 bytes) ----
|
|
; referenced by `lda $E185,x` at $E1D9 (operand $E185 falls inside this region)
|
|
.byte $28, $58, $88, $B8 ; CPU:$E185 PRG:2185 28 58 88 B8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E189
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E189:
|
|
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
|
|
ldx Zp7C ; CPU:$E18F PRG:218F A6 7C
|
|
dex ; CPU:$E191 PRG:2191 CA
|
|
bne Label_E1E1 ; CPU:$E192 PRG:2192 D0 4D
|
|
ldx #$02 ; CPU:$E194 PRG:2194 A2 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E196
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E196:
|
|
lda Zp99,x ; CPU:$E196 PRG:2196 B5 99
|
|
bne Label_E1E0 ; CPU:$E198 PRG:2198 D0 46
|
|
dex ; CPU:$E19A PRG:219A CA
|
|
bpl Label_E196 ; CPU:$E19B PRG:219B 10 F9
|
|
ldy Zp92 ; CPU:$E19D PRG:219D A4 92
|
|
bne Label_E1E0 ; CPU:$E19F PRG:219F D0 3F
|
|
txa ; CPU:$E1A1 PRG:21A1 8A
|
|
jsr $E23E ; CPU:$E1A2 PRG:21A2 20 3E E2
|
|
sta Zp92 ; CPU:$E1A5 PRG:21A5 85 92
|
|
sta $03D3 ; CPU:$E1A7 PRG:21A7 8D D3 03
|
|
sty $0376 ; CPU:$E1AA PRG:21AA 8C 76 03
|
|
sty $03B2 ; CPU:$E1AD PRG:21AD 8C B2 03
|
|
sty $03C8 ; CPU:$E1B0 PRG:21B0 8C C8 03
|
|
lda #$40 ; CPU:$E1B3 PRG:21B3 A9 40
|
|
sta $03BD ; CPU:$E1B5 PRG:21B5 8D BD 03
|
|
asl a ; CPU:$E1B8 PRG:21B8 0A
|
|
sta $03A7 ; CPU:$E1B9 PRG:21B9 8D A7 03
|
|
iny ; CPU:$E1BC PRG:21BC C8
|
|
sty ZpBE ; CPU:$E1BD PRG:21BD 84 BE
|
|
lda #$04 ; CPU:$E1BF PRG:21BF A9 04
|
|
sta Zp9D ; CPU:$E1C1 PRG:21C1 85 9D
|
|
ldx Zp90 ; CPU:$E1C3 PRG:21C3 A6 90
|
|
inx ; CPU:$E1C5 PRG:21C5 E8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E1C6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E1C6:
|
|
dex ; CPU:$E1C6 PRG:21C6 CA
|
|
cpx $0786 ; CPU:$E1C7 PRG:21C7 EC 86 07
|
|
beq Label_E1C6 ; CPU:$E1CA PRG:21CA F0 FA
|
|
cpx $0787 ; CPU:$E1CC PRG:21CC EC 87 07
|
|
beq Label_E1C6 ; CPU:$E1CF PRG:21CF F0 F5
|
|
stx ZpB3 ; CPU:$E1D1 PRG:21D1 86 B3
|
|
lda Zp90 ; CPU:$E1D3 PRG:21D3 A5 90
|
|
sec ; CPU:$E1D5 PRG:21D5 38
|
|
sbc ZpB3 ; CPU:$E1D6 PRG:21D6 E5 B3
|
|
tax ; CPU:$E1D8 PRG:21D8 AA
|
|
lda $E185,x ; CPU:$E1D9 PRG:21D9 BD 85 E1
|
|
sta ZpA8 ; CPU:$E1DC PRG:21DC 85 A8
|
|
inc Zp7C ; CPU:$E1DE PRG:21DE E6 7C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E1E0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E1E0:
|
|
rts ; CPU:$E1E0 PRG:21E0 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E1E1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E1E1:
|
|
dex ; CPU:$E1E1 PRG:21E1 CA
|
|
bne Label_E1EE ; CPU:$E1E2 PRG:21E2 D0 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E1E4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E1E4:
|
|
lda $0376 ; CPU:$E1E4 PRG:21E4 AD 76 03
|
|
bne Label_E215 ; CPU:$E1E7 PRG:21E7 D0 2C
|
|
dec ZpDF ; CPU:$E1E9 PRG:21E9 C6 DF
|
|
beq Label_E202 ; CPU:$E1EB PRG:21EB F0 15
|
|
rts ; CPU:$E1ED PRG:21ED 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E1EE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E1EE:
|
|
dex ; CPU:$E1EE PRG:21EE CA
|
|
bne Label_E21A ; CPU:$E1EF PRG:21EF D0 29
|
|
lda $0376 ; CPU:$E1F1 PRG:21F1 AD 76 03
|
|
bne Label_E215 ; CPU:$E1F4 PRG:21F4 D0 1F
|
|
lda ZpA8 ; CPU:$E1F6 PRG:21F6 A5 A8
|
|
cmp #$17 ; CPU:$E1F8 PRG:21F8 C9 17
|
|
bne Label_E1E4 ; CPU:$E1FA PRG:21FA D0 E8
|
|
lda Zp9D ; CPU:$E1FC PRG:21FC A5 9D
|
|
cmp #$78 ; CPU:$E1FE PRG:21FE C9 78
|
|
bne Label_E1E4 ; CPU:$E200 PRG:2200 D0 E2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E202
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E202:
|
|
lda #$04 ; CPU:$E202 PRG:2202 A9 04
|
|
sta Zp7C ; CPU:$E204 PRG:2204 85 7C
|
|
lda #$0C ; CPU:$E206 PRG:2206 A9 0C
|
|
sta ZpDF ; CPU:$E208 PRG:2208 85 DF
|
|
lda Zp92 ; CPU:$E20A PRG:220A A5 92
|
|
cmp #$FF ; CPU:$E20C PRG:220C C9 FF
|
|
bne Label_E214 ; CPU:$E20E PRG:220E D0 04
|
|
lda #$04 ; CPU:$E210 PRG:2210 A9 04
|
|
sta Zp92 ; CPU:$E212 PRG:2212 85 92
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E214
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E214:
|
|
rts ; CPU:$E214 PRG:2214 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E215
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E215:
|
|
lda #$00 ; CPU:$E215 PRG:2215 A9 00
|
|
sta Zp7C ; CPU:$E217 PRG:2217 85 7C
|
|
rts ; CPU:$E219 PRG:2219 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E21A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E21A:
|
|
dex ; CPU:$E21A PRG:221A CA
|
|
bne Label_E235 ; CPU:$E21B PRG:221B D0 18
|
|
dec ZpDF ; CPU:$E21D PRG:221D C6 DF
|
|
bpl Label_E225 ; CPU:$E21F PRG:221F 10 04
|
|
lda #$03 ; CPU:$E221 PRG:2221 A9 03
|
|
bne Label_E23E ; CPU:$E223 PRG:2223 D0 19
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E225
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; 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
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E234:
|
|
rts ; CPU:$E234 PRG:2234 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E235
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E235:
|
|
dex ; CPU:$E235 PRG:2235 CA
|
|
bne Label_E251 ; CPU:$E236 PRG:2236 D0 19
|
|
dec ZpDF ; CPU:$E238 PRG:2238 C6 DF
|
|
bne Label_E243 ; CPU:$E23A PRG:223A D0 07
|
|
lda #$10 ; CPU:$E23C PRG:223C A9 10
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E23E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E23E:
|
|
sta ZpDF ; CPU:$E23E PRG:223E 85 DF
|
|
inc Zp7C ; CPU:$E240 PRG:2240 E6 7C
|
|
rts ; CPU:$E242 PRG:2242 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E243
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E243:
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E250:
|
|
rts ; CPU:$E250 PRG:2250 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E251
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E251:
|
|
dex ; CPU:$E251 PRG:2251 CA
|
|
bne Label_E250 ; CPU:$E252 PRG:2252 D0 FC
|
|
dec ZpDF ; CPU:$E254 PRG:2254 C6 DF
|
|
bne Label_E250 ; CPU:$E256 PRG:2256 D0 F8
|
|
lda Zp92 ; CPU:$E258 PRG:2258 A5 92
|
|
cmp #$04 ; CPU:$E25A PRG:225A C9 04
|
|
bne Label_E265 ; CPU:$E25C PRG:225C D0 07
|
|
lda #$FF ; CPU:$E25E PRG:225E A9 FF
|
|
sta Zp92 ; CPU:$E260 PRG:2260 85 92
|
|
sta $03D3 ; CPU:$E262 PRG:2262 8D D3 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E265
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E265:
|
|
lda $0376 ; CPU:$E265 PRG:2265 AD 76 03
|
|
bne Label_E215 ; CPU:$E268 PRG:2268 D0 AB
|
|
lda #$80 ; CPU:$E26A PRG:226A A9 80
|
|
sta Zp7C ; CPU:$E26C PRG:226C 85 7C
|
|
lda #$02 ; CPU:$E26E PRG:226E A9 02
|
|
sta ZpFF ; CPU:$E270 PRG:2270 85 FF
|
|
rts ; CPU:$E272 PRG:2272 60
|
|
; ---- data $E273-$E276 (4 bytes) ----
|
|
; referenced by `lda $E273,x` at $E27C (operand $E273 falls inside this region)
|
|
; 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E277:
|
|
ldx #$03 ; CPU:$E277 PRG:2277 A2 03
|
|
; ---- data $E279-$E279 (1 bytes) ----
|
|
.byte $2C ; CPU:$E279 PRG:2279 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E27A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E27A:
|
|
ldx #$01 ; CPU:$E27A PRG:227A A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E27C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E27C:
|
|
lda $E273,x ; CPU:$E27C PRG:227C BD 73 E2
|
|
tay ; CPU:$E27F PRG:227F A8
|
|
lda $0786,x ; CPU:$E280 PRG:2280 BD 86 07
|
|
beq Label_E296 ; CPU:$E283 PRG:2283 F0 11
|
|
lda $02A0,y ; CPU:$E285 PRG:2285 B9 A0 02
|
|
cmp #$EC ; CPU:$E288 PRG:2288 C9 EC
|
|
bcc Label_E296 ; CPU:$E28A PRG:228A 90 0A
|
|
lda #$00 ; CPU:$E28C PRG:228C A9 00
|
|
sta $0786,x ; CPU:$E28E PRG:228E 9D 86 07
|
|
lda #$FF ; CPU:$E291 PRG:2291 A9 FF
|
|
sta $06F5,x ; CPU:$E293 PRG:2293 9D F5 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E296
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E296:
|
|
dex ; CPU:$E296 PRG:2296 CA
|
|
bpl Label_E27C ; CPU:$E297 PRG:2297 10 E3
|
|
rts ; CPU:$E299 PRG:2299 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E29A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E29A:
|
|
ldx #$08 ; CPU:$E29A PRG:229A A2 08
|
|
jsr $E303 ; CPU:$E29C PRG:229C 20 03 E3
|
|
ldy #$2C ; CPU:$E29F PRG:229F A0 2C
|
|
ldx #$01 ; CPU:$E2A1 PRG:22A1 A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E2A3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E2A3:
|
|
lda $0786,x ; CPU:$E2A3 PRG:22A3 BD 86 07
|
|
beq Label_E2BE ; CPU:$E2A6 PRG:22A6 F0 16
|
|
jsr $E321 ; CPU:$E2A8 PRG:22A8 20 21 E3
|
|
txa ; CPU:$E2AB PRG:22AB 8A
|
|
clc ; CPU:$E2AC PRG:22AC 18
|
|
adc #$06 ; CPU:$E2AD PRG:22AD 69 06
|
|
tay ; CPU:$E2AF PRG:22AF A8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E2B0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E2B0:
|
|
lda $07B7,x ; CPU:$E2B0 PRG:22B0 BD B7 07
|
|
clc ; CPU:$E2B3 PRG:22B3 18
|
|
adc $0788,y ; CPU:$E2B4 PRG:22B4 79 88 07
|
|
sta $0788,y ; CPU:$E2B7 PRG:22B7 99 88 07
|
|
dey ; CPU:$E2BA PRG:22BA 88
|
|
dey ; CPU:$E2BB PRG:22BB 88
|
|
bpl Label_E2B0 ; CPU:$E2BC PRG:22BC 10 F2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E2BE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E2BE:
|
|
ldy #$14 ; CPU:$E2BE PRG:22BE A0 14
|
|
dex ; CPU:$E2C0 PRG:22C0 CA
|
|
bpl Label_E2A3 ; CPU:$E2C1 PRG:22C1 10 E0
|
|
ldy #$01 ; CPU:$E2C3 PRG:22C3 A0 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E2C5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E2C5:
|
|
lda a:Zp6A,y ; CPU:$E2C5 PRG:22C5 B9 6A 00
|
|
cmp #$01 ; CPU:$E2C8 PRG:22C8 C9 01
|
|
beq Label_E2D0 ; CPU:$E2CA PRG:22CA F0 04
|
|
cmp #$03 ; CPU:$E2CC PRG:22CC C9 03
|
|
bne Label_E2F4 ; CPU:$E2CE PRG:22CE D0 24
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E2D0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E2D0:
|
|
ldx SprData,y ; CPU:$E2D0 PRG:22D0 B6 5A
|
|
beq Label_E2F4 ; CPU:$E2D2 PRG:22D2 F0 20
|
|
cpx #$02 ; CPU:$E2D4 PRG:22D4 E0 02
|
|
bmi Label_E2F4 ; CPU:$E2D6 PRG:22D6 30 1C
|
|
cpx #$09 ; CPU:$E2D8 PRG:22D8 E0 09
|
|
beq Label_E2F4 ; CPU:$E2DA PRG:22DA F0 18
|
|
lda a:Zp2D,y ; CPU:$E2DC PRG:22DC B9 2D 00
|
|
bne Label_E2E6 ; CPU:$E2DF PRG:22DF D0 05
|
|
lda $0343,y ; CPU:$E2E1 PRG:22E1 B9 43 03
|
|
bne Label_E2EC ; CPU:$E2E4 PRG:22E4 D0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E2E6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E2E6:
|
|
lda $07AE,x ; CPU:$E2E6 PRG:22E6 BD AE 07
|
|
jsr $E2FB ; CPU:$E2E9 PRG:22E9 20 FB E2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E2EC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E2EC:
|
|
ldx $0783,y ; CPU:$E2EC PRG:22EC BE 83 07
|
|
bmi Label_E2F4 ; CPU:$E2EF PRG:22EF 30 03
|
|
jsr $E2F8 ; CPU:$E2F1 PRG:22F1 20 F8 E2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E2F4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E2F4:
|
|
dey ; CPU:$E2F4 PRG:22F4 88
|
|
bpl Label_E2C5 ; CPU:$E2F5 PRG:22F5 10 CE
|
|
rts ; CPU:$E2F7 PRG:22F7 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E2F8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E2F8:
|
|
lda $07B7,x ; CPU:$E2F8 PRG:22F8 BD B7 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E2FB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E2FB:
|
|
clc ; CPU:$E2FB PRG:22FB 18
|
|
adc a:Zp64,y ; CPU:$E2FC PRG:22FC 79 64 00
|
|
sta a:Zp64,y ; CPU:$E2FF PRG:22FF 99 64 00
|
|
rts ; CPU:$E302 PRG:2302 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E303
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E303:
|
|
lda $07C0,x ; CPU:$E303 PRG:2303 BD C0 07
|
|
clc ; CPU:$E306 PRG:2306 18
|
|
adc $07A0,x ; CPU:$E307 PRG:2307 7D A0 07
|
|
sta $07C0,x ; CPU:$E30A PRG:230A 9D C0 07
|
|
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
|
|
jsr $D2FB ; CPU:$E317 PRG:2317 20 FB D2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E31A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E31A:
|
|
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
|
|
rts ; CPU:$E320 PRG:2320 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E321
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E321:
|
|
lda #$05 ; CPU:$E321 PRG:2321 A9 05
|
|
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.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E325:
|
|
lda $07B7,x ; CPU:$E325 PRG:2325 BD B7 07
|
|
clc ; CPU:$E328 PRG:2328 18
|
|
adc $02A3,y ; CPU:$E329 PRG:2329 79 A3 02
|
|
sta $02A3,y ; CPU:$E32C PRG:232C 99 A3 02
|
|
dey ; CPU:$E32F PRG:232F 88
|
|
dey ; CPU:$E330 PRG:2330 88
|
|
dey ; CPU:$E331 PRG:2331 88
|
|
dey ; CPU:$E332 PRG:2332 88
|
|
dec PtrHi ; CPU:$E333 PRG:2333 C6 01
|
|
bpl Label_E325 ; CPU:$E335 PRG:2335 10 EE
|
|
rts ; CPU:$E337 PRG:2337 60
|
|
; ---- data $E338-$E33B (4 bytes) ----
|
|
; referenced by `lda $E338,x` at $E348 (operand $E338 falls inside this region)
|
|
.byte $14, $2C, $44, $5C ; CPU:$E338 PRG:2338 14 2C 44 5C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E33C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E33C:
|
|
ldx #$0A ; CPU:$E33C PRG:233C A2 0A
|
|
jsr $E303 ; CPU:$E33E PRG:233E 20 03 E3
|
|
ldx #$03 ; CPU:$E341 PRG:2341 A2 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E343
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E343:
|
|
lda $0786,x ; CPU:$E343 PRG:2343 BD 86 07
|
|
beq Label_E362 ; CPU:$E346 PRG:2346 F0 1A
|
|
lda $E338,x ; CPU:$E348 PRG:2348 BD 38 E3
|
|
tay ; CPU:$E34B PRG:234B A8
|
|
jsr $E321 ; CPU:$E34C PRG:234C 20 21 E3
|
|
lda $07B7,x ; CPU:$E34F PRG:234F BD B7 07
|
|
pha ; CPU:$E352 PRG:2352 48
|
|
clc ; CPU:$E353 PRG:2353 18
|
|
adc $0682,x ; CPU:$E354 PRG:2354 7D 82 06
|
|
sta $0682,x ; CPU:$E357 PRG:2357 9D 82 06
|
|
pla ; CPU:$E35A PRG:235A 68
|
|
clc ; CPU:$E35B PRG:235B 18
|
|
adc $06A0,x ; CPU:$E35C PRG:235C 7D A0 06
|
|
sta $06A0,x ; CPU:$E35F PRG:235F 9D A0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E362
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E362:
|
|
dex ; CPU:$E362 PRG:2362 CA
|
|
bpl Label_E343 ; CPU:$E363 PRG:2363 10 DE
|
|
ldy #$01 ; CPU:$E365 PRG:2365 A0 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E367
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E367:
|
|
lda a:Zp6A,y ; CPU:$E367 PRG:2367 B9 6A 00
|
|
cmp #$01 ; CPU:$E36A PRG:236A C9 01
|
|
beq Label_E372 ; CPU:$E36C PRG:236C F0 04
|
|
cmp #$03 ; CPU:$E36E PRG:236E C9 03
|
|
bne Label_E37E ; CPU:$E370 PRG:2370 D0 0C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E372
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E372:
|
|
lda $0783,y ; CPU:$E372 PRG:2372 B9 83 07
|
|
sec ; CPU:$E375 PRG:2375 38
|
|
sbc #$1A ; CPU:$E376 PRG:2376 E9 1A
|
|
bmi Label_E37E ; CPU:$E378 PRG:2378 30 04
|
|
tax ; CPU:$E37A PRG:237A AA
|
|
jsr $E2F8 ; CPU:$E37B PRG:237B 20 F8 E2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E37E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E37E:
|
|
dey ; CPU:$E37E PRG:237E 88
|
|
bpl Label_E367 ; CPU:$E37F PRG:237F 10 E6
|
|
rts ; CPU:$E381 PRG:2381 60
|
|
; ---- data $E382-$E4C1 (320 bytes) ----
|
|
; referenced by `lda $E382,x` at $E4CE (operand $E382 falls inside this region)
|
|
; referenced by `lda $E4A2,x` at $E4EF (operand $E4A2 falls inside this region)
|
|
; referenced by `lda $E4A3,x` at $E4F5 (operand $E4A3 falls inside this region)
|
|
; referenced by `lda $E4B2,x` at $E668 (operand $E4B2 falls inside this region)
|
|
; 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
|
|
.byte $23, $00, $E6, $24, $A5, $00, $32, $D5, $00, $C4, $B7, $30, $23, $3C, $F3, $D7 ; CPU:$E3B2 PRG:23B2 23 00 E6 24 A5 00 32 D5 00 C4 B7 30 23 3C F3 D7
|
|
.byte $00, $86, $00, $2B, $33, $D7, $34, $00, $B6, $08, $00, $08, $76, $2A, $23, $00 ; CPU:$E3C2 PRG:23C2 00 86 00 2B 33 D7 34 00 B6 08 00 08 76 2A 23 00
|
|
.byte $B2, $33, $A6, $34, $E6, $33, $75, $00, $20, $A6, $00, $C6, $D5, $00, $3A, $00 ; CPU:$E3D2 PRG:23D2 B2 33 A6 34 E6 33 75 00 20 A6 00 C6 D5 00 3A 00
|
|
.byte $E4, $F7, $00, $D6, $00, $22, $00, $A6, $D7, $D7, $00, $C6, $00, $00, $33, $F6 ; CPU:$E3E2 PRG:23E2 E4 F7 00 D6 00 22 00 A6 D7 D7 00 C6 00 00 33 F6
|
|
.byte $20, $31, $22, $33, $A4, $B6, $24, $75, $A4, $00, $38, $34, $A5, $34, $38, $F4 ; CPU:$E3F2 PRG:23F2 20 31 22 33 A4 B6 24 75 A4 00 38 34 A5 34 38 F4
|
|
.byte $A4, $00, $00, $D6, $2B, $C4, $00, $32, $24, $00, $B5, $D3, $29, $22, $34, $24 ; CPU:$E402 PRG:2402 A4 00 00 D6 2B C4 00 32 24 00 B5 D3 29 22 34 24
|
|
.byte $F2, $B6, $00, $94, $08, $A5, $00, $00, $D6, $00, $00, $00, $00, $24, $00, $C5 ; CPU:$E412 PRG:2412 F2 B6 00 94 08 A5 00 00 D6 00 00 00 00 24 00 C5
|
|
.byte $00, $00, $76, $65, $23, $34, $34, $D6, $00, $C6, $B5, $22, $32, $34, $E7, $00 ; CPU:$E422 PRG:2422 00 00 76 65 23 34 34 D6 00 C6 B5 22 32 34 E7 00
|
|
.byte $66, $76, $A6, $00, $24, $C7, $E5, $00, $F5, $2B, $00, $20, $C7, $F6, $00, $33 ; CPU:$E432 PRG:2432 66 76 A6 00 24 C7 E5 00 F5 2B 00 20 C7 F6 00 33
|
|
.byte $E5, $00, $F6, $34, $33, $D6, $20, $00, $33, $A6, $00, $67, $D6, $23, $3B, $00 ; CPU:$E442 PRG:2442 E5 00 F6 34 33 D6 20 00 33 A6 00 67 D6 23 3B 00
|
|
.byte $7D, $E6, $00, $FD, $23, $76, $24, $33, $C7, $23, $E7, $9E, $00, $3B, $2E, $D7 ; CPU:$E452 PRG:2452 7D E6 00 FD 23 76 24 33 C7 23 E7 9E 00 3B 2E D7
|
|
.byte $00, $40, $40, $00, $40, $6D, $74, $20, $00, $10, $2A, $01, $41, $0A, $48, $00 ; CPU:$E462 PRG:2462 00 40 40 00 40 6D 74 20 00 10 2A 01 41 0A 48 00
|
|
.byte $00, $48, $00, $00, $69, $24, $24, $00, $00, $44, $21, $61, $04, $08, $12, $10 ; CPU:$E472 PRG:2472 00 48 00 00 69 24 24 00 00 44 21 61 04 08 12 10
|
|
.byte $00, $40, $09, $40, $68, $04, $48, $00, $02, $6C, $08, $04, $10, $48, $00, $66 ; CPU:$E482 PRG:2482 00 40 09 40 68 04 48 00 02 6C 08 04 10 48 00 66
|
|
.byte $FF, $F7, $B7, $FF, $9E, $D6, $FB, $DF, $FF, $AF, $D6, $FE, $BB, $F5, $E5, $EF ; CPU:$E492 PRG:2492 FF F7 B7 FF 9E D6 FB DF FF AF D6 FE BB F5 E5 EF
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E4C2:
|
|
jsr $E523 ; CPU:$E4C2 PRG:24C2 20 23 E5
|
|
jsr $E719 ; CPU:$E4C5 PRG:24C5 20 19 E7
|
|
sta PtrLo ; CPU:$E4C8 PRG:24C8 85 00
|
|
ldy #$00 ; CPU:$E4CA PRG:24CA A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E4CC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E4CC:
|
|
ldx PtrLo ; CPU:$E4CC PRG:24CC A6 00
|
|
lda $E382,x ; CPU:$E4CE PRG:24CE BD 82 E3
|
|
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 PtrHi ; CPU:$E4DC PRG:24DC A5 01
|
|
and #$07 ; CPU:$E4DE PRG:24DE 29 07
|
|
tax ; CPU:$E4E0 PRG:24E0 AA
|
|
pla ; CPU:$E4E1 PRG:24E1 68
|
|
cmp #$60 ; CPU:$E4E2 PRG:24E2 C9 60
|
|
bne Label_E4EC ; 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
|
|
ldx #$06 ; CPU:$E4EA PRG:24EA A2 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E4EC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E4EC:
|
|
txa ; CPU:$E4EC PRG:24EC 8A
|
|
asl a ; CPU:$E4ED PRG:24ED 0A
|
|
tax ; CPU:$E4EE PRG:24EE AA
|
|
lda $E4A2,x ; CPU:$E4EF PRG:24EF BD A2 E4
|
|
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 PtrHi ; CPU:$E4FB PRG:24FB A5 01
|
|
and #$10 ; CPU:$E4FD PRG:24FD 29 10
|
|
sta $07D0,y ; CPU:$E4FF PRG:24FF 99 D0 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E502
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E502:
|
|
lda PtrHi ; CPU:$E502 PRG:2502 A5 01
|
|
lsr a ; CPU:$E504 PRG:2504 4A
|
|
lsr a ; CPU:$E505 PRG:2505 4A
|
|
lsr a ; CPU:$E506 PRG:2506 4A
|
|
lsr a ; CPU:$E507 PRG:2507 4A
|
|
ror $0785 ; CPU:$E508 PRG:2508 6E 85 07
|
|
inc 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
|
|
ldy #$05 ; CPU:$E512 PRG:2512 A0 05
|
|
sty $0782 ; CPU:$E514 PRG:2514 8C 82 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E517
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E517:
|
|
ldy $0782 ; CPU:$E517 PRG:2517 AC 82 07
|
|
jsr $E640 ; CPU:$E51A PRG:251A 20 40 E6
|
|
dec $0782 ; CPU:$E51D PRG:251D CE 82 07
|
|
bne Label_E517 ; CPU:$E520 PRG:2520 D0 F5
|
|
rts ; CPU:$E522 PRG:2522 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E523
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E523:
|
|
lda #$00 ; CPU:$E523 PRG:2523 A9 00
|
|
ldx #$2D ; CPU:$E525 PRG:2525 A2 2D
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E527
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E527:
|
|
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
|
|
ldx #$03 ; CPU:$E52D PRG:252D A2 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E52F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E52F:
|
|
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
|
|
sta $0785 ; CPU:$E535 PRG:2535 8D 85 07
|
|
rts ; CPU:$E538 PRG:2538 60
|
|
; ---- data $E539-$E572 (58 bytes) ----
|
|
; referenced by `lda $E539,x` at $E575 (operand $E539 falls inside this region)
|
|
.byte $CB, $1B, $FF, $4A, $92, $1B, $A4, $FF, $0B, $50, $95, $DA, $E9, $FF, $CB, $A1 ; CPU:$E539 PRG:2539 CB 1B FF 4A 92 1B A4 FF 0B 50 95 DA E9 FF CB A1
|
|
.byte $65, $FF, $9B, $DE, $FF, $8B, $55, $A0, $64, $FF, $D5, $FF, $52, $96, $5A, $E8 ; CPU:$E549 PRG:2549 65 FF 9B DE FF 8B 55 A0 64 FF D5 FF 52 96 5A E8
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E573:
|
|
ldx Zp25 ; CPU:$E573 PRG:2573 A6 25
|
|
lda $E539,x ; CPU:$E575 PRG:2575 BD 39 E5
|
|
pha ; CPU:$E578 PRG:2578 48
|
|
and #$3F ; CPU:$E579 PRG:2579 29 3F
|
|
cmp Zp24 ; CPU:$E57B PRG:257B C5 24
|
|
beq Label_E583 ; CPU:$E57D PRG:257D F0 04
|
|
bcc Label_E583 ; CPU:$E57F PRG:257F 90 02
|
|
pla ; CPU:$E581 PRG:2581 68
|
|
rts ; CPU:$E582 PRG:2582 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E583
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E583:
|
|
inc Zp25 ; CPU:$E583 PRG:2583 E6 25
|
|
ldy #$03 ; CPU:$E585 PRG:2585 A0 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E587
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E587:
|
|
lda $0786,y ; CPU:$E587 PRG:2587 B9 86 07
|
|
beq Label_E58F ; CPU:$E58A PRG:258A F0 03
|
|
dey ; CPU:$E58C PRG:258C 88
|
|
bpl Label_E587 ; CPU:$E58D PRG:258D 10 F8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E58F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E58F:
|
|
pla ; CPU:$E58F PRG:258F 68
|
|
sta $0786,y ; CPU:$E590 PRG:2590 99 86 07
|
|
pha ; CPU:$E593 PRG:2593 48
|
|
ldx #$00 ; CPU:$E594 PRG:2594 A2 00
|
|
and #$40 ; CPU:$E596 PRG:2596 29 40
|
|
bne Label_E59B ; CPU:$E598 PRG:2598 D0 01
|
|
dex ; CPU:$E59A PRG:259A CA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E59B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E59B:
|
|
txa ; CPU:$E59B PRG:259B 8A
|
|
sta $07D7,y ; CPU:$E59C PRG:259C 99 D7 07
|
|
pla ; CPU:$E59F PRG:259F 68
|
|
pha ; CPU:$E5A0 PRG:25A0 48
|
|
ldx #$C0 ; CPU:$E5A1 PRG:25A1 A2 C0
|
|
and #$80 ; CPU:$E5A3 PRG:25A3 29 80
|
|
bne Label_E5A9 ; CPU:$E5A5 PRG:25A5 D0 02
|
|
ldx #$80 ; CPU:$E5A7 PRG:25A7 A2 80
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E5A9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E5A9:
|
|
txa ; CPU:$E5A9 PRG:25A9 8A
|
|
sta $07A7,y ; CPU:$E5AA PRG:25AA 99 A7 07
|
|
lda #$00 ; CPU:$E5AD PRG:25AD A9 00
|
|
sta $0797,y ; CPU:$E5AF PRG:25AF 99 97 07
|
|
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
|
|
tax ; CPU:$E5BA PRG:25BA AA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E5BB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E5BB:
|
|
stx Zp03 ; CPU:$E5BB PRG:25BB 86 03
|
|
pla ; CPU:$E5BD PRG:25BD 68
|
|
and #$3F ; CPU:$E5BE PRG:25BE 29 3F
|
|
pha ; CPU:$E5C0 PRG:25C0 48
|
|
cmp #$1E ; CPU:$E5C1 PRG:25C1 C9 1E
|
|
bmi Label_E5C8 ; CPU:$E5C3 PRG:25C3 30 03
|
|
ldx #$00 ; CPU:$E5C5 PRG:25C5 A2 00
|
|
; ---- data $E5C7-$E5C7 (1 bytes) ----
|
|
.byte $2C ; CPU:$E5C7 PRG:25C7 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E5C8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E5C8:
|
|
ldx #$01 ; CPU:$E5C8 PRG:25C8 A2 01
|
|
txa ; CPU:$E5CA PRG:25CA 8A
|
|
sta $06FA,y ; CPU:$E5CB PRG:25CB 99 FA 06
|
|
pla ; CPU:$E5CE PRG:25CE 68
|
|
tax ; CPU:$E5CF PRG:25CF AA
|
|
lda #$DE ; CPU:$E5D0 PRG:25D0 A9 DE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E5D2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E5D2:
|
|
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
|
|
sta Zp08 ; CPU:$E5D8 PRG:25D8 85 08
|
|
sta $06BE,y ; CPU:$E5DA PRG:25DA 99 BE 06
|
|
clc ; CPU:$E5DD PRG:25DD 18
|
|
adc #$05 ; CPU:$E5DE PRG:25DE 69 05
|
|
sta $06DC,y ; CPU:$E5E0 PRG:25E0 99 DC 06
|
|
lda #$E8 ; CPU:$E5E3 PRG:25E3 A9 E8
|
|
sta $0682,y ; CPU:$E5E5 PRG:25E5 99 82 06
|
|
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
|
|
lda #$08 ; CPU:$E5F0 PRG:25F0 A9 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E5F2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E5F2:
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E5FF:
|
|
lda Zp08 ; CPU:$E5FF PRG:25FF A5 08
|
|
sec ; CPU:$E601 PRG:2601 38
|
|
sbc Zp13 ; CPU:$E602 PRG:2602 E5 13
|
|
sta Zp05 ; CPU:$E604 PRG:2604 85 05
|
|
dec Zp05 ; CPU:$E606 PRG:2606 C6 05
|
|
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 PtrHi ; CPU:$E60E PRG:260E 85 01
|
|
lda $E273,y ; CPU:$E610 PRG:2610 B9 73 E2
|
|
tay ; CPU:$E613 PRG:2613 A8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E614
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E614:
|
|
lda #$00 ; CPU:$E614 PRG:2614 A9 00
|
|
sta $02A2,y ; CPU:$E616 PRG:2616 99 A2 02
|
|
lda Zp05 ; CPU:$E619 PRG:2619 A5 05
|
|
sta $02A0,y ; CPU:$E61B PRG:261B 99 A0 02
|
|
jsr $E881 ; CPU:$E61E PRG:261E 20 81 E8
|
|
lda Zp07 ; CPU:$E621 PRG:2621 A5 07
|
|
sta $02A1,y ; CPU:$E623 PRG:2623 99 A1 02
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E635:
|
|
lda #$FE ; CPU:$E635 PRG:2635 A9 FE
|
|
sta $02A1,y ; CPU:$E637 PRG:2637 99 A1 02
|
|
jmp $E573 ; CPU:$E63A PRG:263A 4C 73 E5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E63D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E63D:
|
|
ldy Zp90 ; CPU:$E63D PRG:263D A4 90
|
|
iny ; CPU:$E63F PRG:263F C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E640
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E640:
|
|
cpy #$09 ; CPU:$E640 PRG:2640 C0 09
|
|
bpl Label_E64D ; CPU:$E642 PRG:2642 10 09
|
|
cpy #$01 ; CPU:$E644 PRG:2644 C0 01
|
|
beq Label_E64D ; CPU:$E646 PRG:2646 F0 05
|
|
jsr $E64E ; CPU:$E648 PRG:2648 20 4E E6
|
|
bcs Label_E662 ; CPU:$E64B PRG:264B B0 15
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E64D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E64D:
|
|
rts ; CPU:$E64D PRG:264D 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E64E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E64E:
|
|
jsr $E719 ; CPU:$E64E PRG:264E 20 19 E7
|
|
sta Zp0C ; CPU:$E651 PRG:2651 85 0C
|
|
tya ; CPU:$E653 PRG:2653 98
|
|
clc ; CPU:$E654 PRG:2654 18
|
|
adc Zp0C ; CPU:$E655 PRG:2655 65 0C
|
|
tax ; CPU:$E657 PRG:2657 AA
|
|
lda $E380,x ; CPU:$E658 PRG:2658 BD 80 E3
|
|
sta Zp0C ; CPU:$E65B PRG:265B 85 0C
|
|
and #$E0 ; CPU:$E65D PRG:265D 29 E0
|
|
cmp #$60 ; CPU:$E65F PRG:265F C9 60
|
|
rts ; CPU:$E661 PRG:2661 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E662
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E662:
|
|
sta Zp0E ; CPU:$E662 PRG:2662 85 0E
|
|
sty PtrLo ; CPU:$E664 PRG:2664 84 00
|
|
ldx #$05 ; CPU:$E666 PRG:2666 A2 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E668
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E668:
|
|
lda $E4B2,x ; CPU:$E668 PRG:2668 BD B2 E4
|
|
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
|
|
and #$10 ; CPU:$E672 PRG:2672 29 10
|
|
bne Label_E678 ; CPU:$E674 PRG:2674 D0 02
|
|
inc Zp05 ; CPU:$E676 PRG:2676 E6 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E678
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E678:
|
|
lda Zp0C ; CPU:$E678 PRG:2678 A5 0C
|
|
and #$07 ; CPU:$E67A PRG:267A 29 07
|
|
asl a ; CPU:$E67C PRG:267C 0A
|
|
tax ; CPU:$E67D PRG:267D AA
|
|
lda $E4A2,x ; CPU:$E67E PRG:267E BD A2 E4
|
|
sta Zp06 ; CPU:$E681 PRG:2681 85 06
|
|
lda $E4A3,x ; CPU:$E683 PRG:2683 BD A3 E4
|
|
sta Zp07 ; CPU:$E686 PRG:2686 85 07
|
|
lda Zp19 ; CPU:$E688 PRG:2688 A5 19
|
|
and #$1F ; CPU:$E68A PRG:268A 29 1F
|
|
clc ; CPU:$E68C PRG:268C 18
|
|
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
|
|
cpx #$C0 ; CPU:$E695 PRG:2695 E0 C0
|
|
bne Label_E6A5 ; CPU:$E697 PRG:2697 D0 0C
|
|
lda #$F0 ; CPU:$E699 PRG:2699 A9 F0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E69B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E69B:
|
|
clc ; CPU:$E69B PRG:269B 18
|
|
adc Zp03 ; CPU:$E69C PRG:269C 65 03
|
|
sta Zp03 ; CPU:$E69E PRG:269E 85 03
|
|
clc ; CPU:$E6A0 PRG:26A0 18
|
|
adc #$1B ; CPU:$E6A1 PRG:26A1 69 1B
|
|
sta Zp04 ; CPU:$E6A3 PRG:26A3 85 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E6A5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E6A5:
|
|
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
|
|
inx ; CPU:$E6AC PRG:26AC E8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E6AD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E6AD:
|
|
lda Zp05 ; CPU:$E6AD PRG:26AD A5 05
|
|
sta $07D7,x ; CPU:$E6AF PRG:26AF 9D D7 07
|
|
lda Zp06 ; CPU:$E6B2 PRG:26B2 A5 06
|
|
sta $0797,x ; CPU:$E6B4 PRG:26B4 9D 97 07
|
|
lda Zp07 ; CPU:$E6B7 PRG:26B7 A5 07
|
|
sta $07A7,x ; CPU:$E6B9 PRG:26B9 9D A7 07
|
|
ldy #$00 ; CPU:$E6BC PRG:26BC A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E6BE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E6BE:
|
|
lda a:PtrLo,y ; CPU:$E6BE PRG:26BE B9 00 00
|
|
sta $0786,x ; CPU:$E6C1 PRG:26C1 9D 86 07
|
|
inx ; CPU:$E6C4 PRG:26C4 E8
|
|
inx ; CPU:$E6C5 PRG:26C5 E8
|
|
iny ; CPU:$E6C6 PRG:26C6 C8
|
|
cpy #$05 ; CPU:$E6C7 PRG:26C7 C0 05
|
|
bne Label_E6BE ; CPU:$E6C9 PRG:26C9 D0 F3
|
|
ldy #$00 ; CPU:$E6CB PRG:26CB A0 00
|
|
cpx #$0A ; CPU:$E6CD PRG:26CD E0 0A
|
|
beq Label_E6D3 ; CPU:$E6CF PRG:26CF F0 02
|
|
ldy #$18 ; CPU:$E6D1 PRG:26D1 A0 18
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E6D3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E6D3:
|
|
ldx #$06 ; CPU:$E6D3 PRG:26D3 A2 06
|
|
stx Zp0A ; CPU:$E6D5 PRG:26D5 86 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E6D7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E6D7:
|
|
lda #$22 ; CPU:$E6D7 PRG:26D7 A9 22
|
|
sta $02A2,y ; CPU:$E6D9 PRG:26D9 99 A2 02
|
|
ldx Zp0A ; CPU:$E6DC PRG:26DC A6 0A
|
|
lda $E4BB,x ; CPU:$E6DE PRG:26DE BD BB E4
|
|
cpx #$03 ; CPU:$E6E1 PRG:26E1 E0 03
|
|
beq Label_E6E9 ; CPU:$E6E3 PRG:26E3 F0 04
|
|
cpx #$04 ; CPU:$E6E5 PRG:26E5 E0 04
|
|
bne Label_E6F1 ; CPU:$E6E7 PRG:26E7 D0 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E6E9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E6E9:
|
|
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
|
|
lda #$FF ; CPU:$E6EF PRG:26EF A9 FF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E6F1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E6F1:
|
|
sta $02A1,y ; CPU:$E6F1 PRG:26F1 99 A1 02
|
|
jsr $E881 ; CPU:$E6F4 PRG:26F4 20 81 E8
|
|
lda Zp90 ; CPU:$E6F7 PRG:26F7 A5 90
|
|
sec ; CPU:$E6F9 PRG:26F9 38
|
|
sbc 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
|
|
sta $02A0,y ; CPU:$E701 PRG:2701 99 A0 02
|
|
iny ; CPU:$E704 PRG:2704 C8
|
|
iny ; CPU:$E705 PRG:2705 C8
|
|
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
|
|
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
|
|
lda Zp03 ; CPU:$E712 PRG:2712 A5 03
|
|
sta PtrHi ; CPU:$E714 PRG:2714 85 01
|
|
jmp $E6D7 ; CPU:$E716 PRG:2716 4C D7 E6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E719
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E719:
|
|
lda Zp59 ; CPU:$E719 PRG:2719 A5 59
|
|
and #$1F ; CPU:$E71B PRG:271B 29 1F
|
|
tax ; CPU:$E71D PRG:271D AA
|
|
lda #$F9 ; CPU:$E71E PRG:271E A9 F9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E720
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E720:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E726
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E726:
|
|
rts ; CPU:$E726 PRG:2726 60
|
|
; ---- data $E727-$E72A (4 bytes) ----
|
|
; referenced by `lda $E727,x` at $E775 (operand $E727 falls inside this region)
|
|
.byte $D3, $8C, $CD, $8F ; CPU:$E727 PRG:2727 D3 8C CD 8F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E72B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E72B:
|
|
lda Zp59 ; CPU:$E72B PRG:272B A5 59
|
|
tax ; CPU:$E72D PRG:272D AA
|
|
and #$0F ; CPU:$E72E PRG:272E 29 0F
|
|
tay ; CPU:$E730 PRG:2730 A8
|
|
lda $E492,y ; CPU:$E731 PRG:2731 B9 92 E4
|
|
sta PtrLo ; CPU:$E734 PRG:2734 85 00
|
|
lda $E482,y ; CPU:$E736 PRG:2736 B9 82 E4
|
|
sta PtrHi ; CPU:$E739 PRG:2739 85 01
|
|
lda $E472,y ; CPU:$E73B PRG:273B B9 72 E4
|
|
sta Ptr2Lo ; CPU:$E73E PRG:273E 85 02
|
|
lda $E462,y ; CPU:$E740 PRG:2740 B9 62 E4
|
|
sta Zp03 ; CPU:$E743 PRG:2743 85 03
|
|
ldy #$07 ; CPU:$E745 PRG:2745 A0 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E747
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E747:
|
|
lda #$00 ; CPU:$E747 PRG:2747 A9 00
|
|
ldx #$03 ; CPU:$E749 PRG:2749 A2 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E74B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E74B:
|
|
lsr PtrLo,x ; CPU:$E74B PRG:274B 56 00
|
|
rol a ; CPU:$E74D PRG:274D 2A
|
|
dex ; CPU:$E74E PRG:274E CA
|
|
bpl Label_E74B ; CPU:$E74F PRG:274F 10 FA
|
|
pha ; CPU:$E751 PRG:2751 48
|
|
iny ; CPU:$E752 PRG:2752 C8
|
|
jsr $E64E ; CPU:$E753 PRG:2753 20 4E E6
|
|
dey ; CPU:$E756 PRG:2756 88
|
|
cmp #$A0 ; CPU:$E757 PRG:2757 C9 A0
|
|
pla ; CPU:$E759 PRG:2759 68
|
|
bcc Label_E75E ; CPU:$E75A PRG:275A 90 02
|
|
lda #$00 ; CPU:$E75C PRG:275C A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E75E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E75E:
|
|
sta a:Zp04,y ; CPU:$E75E PRG:275E 99 04 00
|
|
lda Zp0C ; CPU:$E761 PRG:2761 A5 0C
|
|
tax ; CPU:$E763 PRG:2763 AA
|
|
and #$E0 ; CPU:$E764 PRG:2764 29 E0
|
|
cmp #$A0 ; CPU:$E766 PRG:2766 C9 A0
|
|
bcs Label_E77C ; CPU:$E768 PRG:2768 B0 12
|
|
and #$70 ; CPU:$E76A PRG:276A 29 70
|
|
beq Label_E779 ; CPU:$E76C PRG:276C F0 0B
|
|
txa ; CPU:$E76E PRG:276E 8A
|
|
lsr a ; CPU:$E76F PRG:276F 4A
|
|
lsr a ; CPU:$E770 PRG:2770 4A
|
|
lsr a ; CPU:$E771 PRG:2771 4A
|
|
and #$03 ; CPU:$E772 PRG:2772 29 03
|
|
tax ; CPU:$E774 PRG:2774 AA
|
|
lda $E727,x ; CPU:$E775 PRG:2775 BD 27 E7
|
|
; ---- data $E778-$E778 (1 bytes) ----
|
|
.byte $2C ; CPU:$E778 PRG:2778 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E779
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E779:
|
|
lda #$00 ; CPU:$E779 PRG:2779 A9 00
|
|
; ---- data $E77B-$E77B (1 bytes) ----
|
|
.byte $2C ; CPU:$E77B PRG:277B 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E77C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E77C:
|
|
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
|
|
lda #$01 ; CPU:$E784 PRG:2784 A9 01
|
|
sta Zp04 ; CPU:$E786 PRG:2786 85 04
|
|
lsr a ; CPU:$E788 PRG:2788 4A
|
|
sta $0630,y ; CPU:$E789 PRG:2789 99 30 06
|
|
rts ; CPU:$E78C PRG:278C 60
|
|
; ---- data $E78D-$E79C (16 bytes) ----
|
|
; referenced by `lda $E790,x` at $E7E0 (operand $E790 falls inside this region)
|
|
; 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E79D:
|
|
lda #$08 ; CPU:$E79D PRG:279D A9 08
|
|
sta Zp0F ; CPU:$E79F PRG:279F 85 0F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E7A1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E7A1:
|
|
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
|
|
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
|
|
lda #$01 ; CPU:$E7AE PRG:27AE A9 01
|
|
bne Label_E7B8 ; CPU:$E7B0 PRG:27B0 D0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E7B2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E7B2:
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E7B8:
|
|
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 PtrHi ; CPU:$E7BF PRG:27BF 85 01
|
|
lda $D794,x ; CPU:$E7C1 PRG:27C1 BD 94 D7
|
|
sta PtrLo ; CPU:$E7C4 PRG:27C4 85 00
|
|
ldy #$00 ; CPU:$E7C6 PRG:27C6 A0 00
|
|
sty $066C ; CPU:$E7C8 PRG:27C8 8C 6C 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E7CB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E7CB:
|
|
lda #$86 ; CPU:$E7CB PRG:27CB A9 86
|
|
sta $0602,y ; CPU:$E7CD PRG:27CD 99 02 06
|
|
lda PtrLo ; CPU:$E7D0 PRG:27D0 A5 00
|
|
sta $0601,y ; CPU:$E7D2 PRG:27D2 99 01 06
|
|
lda PtrHi ; CPU:$E7D5 PRG:27D5 A5 01
|
|
sta $0600,y ; CPU:$E7D7 PRG:27D7 99 00 06
|
|
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
|
|
sta Zp04 ; CPU:$E7E3 PRG:27E3 85 04
|
|
inc Zp0D ; CPU:$E7E5 PRG:27E5 E6 0D
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E7E7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E7E7:
|
|
ldx #$06 ; CPU:$E7E7 PRG:27E7 A2 06
|
|
iny ; CPU:$E7E9 PRG:27E9 C8
|
|
iny ; CPU:$E7EA PRG:27EA C8
|
|
iny ; CPU:$E7EB PRG:27EB C8
|
|
cpy #$30 ; CPU:$E7EC PRG:27EC C0 30
|
|
bne Label_E7F7 ; CPU:$E7EE PRG:27EE D0 07
|
|
lda PtrLo ; CPU:$E7F0 PRG:27F0 A5 00
|
|
clc ; CPU:$E7F2 PRG:27F2 18
|
|
adc #$14 ; CPU:$E7F3 PRG:27F3 69 14
|
|
sta PtrLo ; CPU:$E7F5 PRG:27F5 85 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E7F7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E7F7:
|
|
lda Zp04 ; CPU:$E7F7 PRG:27F7 A5 04
|
|
sta $0600,y ; CPU:$E7F9 PRG:27F9 99 00 06
|
|
inc Zp04 ; CPU:$E7FC PRG:27FC E6 04
|
|
iny ; CPU:$E7FE PRG:27FE C8
|
|
cpy #$6C ; CPU:$E7FF PRG:27FF C0 6C
|
|
beq Label_E80D ; CPU:$E801 PRG:2801 F0 0A
|
|
dex ; CPU:$E803 PRG:2803 CA
|
|
bne Label_E7F7 ; CPU:$E804 PRG:2804 D0 F1
|
|
lda #$EB ; CPU:$E806 PRG:2806 A9 EB
|
|
sta $05FF,y ; CPU:$E808 PRG:2808 99 FF 05
|
|
bne Label_E7CB ; CPU:$E80B PRG:280B D0 BE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E80D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E80D:
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E815:
|
|
cpy #$01 ; CPU:$E815 PRG:2815 C0 01
|
|
bne Label_E81C ; CPU:$E817 PRG:2817 D0 03
|
|
clc ; CPU:$E819 PRG:2819 18
|
|
adc #$01 ; CPU:$E81A PRG:281A 69 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E81C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E81C:
|
|
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
|
|
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
|
|
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
|
|
ldy #$10 ; CPU:$E831 PRG:2831 A0 10
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E833
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E833:
|
|
sty Zp0A ; CPU:$E833 PRG:2833 84 0A
|
|
ldx #$05 ; CPU:$E835 PRG:2835 A2 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E837
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E837:
|
|
ldy Zp0A ; CPU:$E837 PRG:2837 A4 0A
|
|
lda #$38 ; CPU:$E839 PRG:2839 A9 38
|
|
sta Zp06 ; CPU:$E83B PRG:283B 85 06
|
|
sta Zp07 ; CPU:$E83D PRG:283D 85 07
|
|
sta Zp08 ; CPU:$E83F PRG:283F 85 08
|
|
sta Zp09 ; CPU:$E841 PRG:2841 85 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E843
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E843:
|
|
ror Zp06 ; CPU:$E843 PRG:2843 66 06
|
|
ror Zp07 ; CPU:$E845 PRG:2845 66 07
|
|
ror $0639,x ; CPU:$E847 PRG:2847 7E 39 06
|
|
ror $0642,x ; CPU:$E84A PRG:284A 7E 42 06
|
|
ror $064B,x ; CPU:$E84D PRG:284D 7E 4B 06
|
|
ror $0654,x ; CPU:$E850 PRG:2850 7E 54 06
|
|
ror $065D,x ; CPU:$E853 PRG:2853 7E 5D 06
|
|
ror $0666,x ; CPU:$E856 PRG:2856 7E 66 06
|
|
rol Zp08 ; CPU:$E859 PRG:2859 26 08
|
|
rol Zp09 ; CPU:$E85B PRG:285B 26 09
|
|
rol $0630,x ; CPU:$E85D PRG:285D 3E 30 06
|
|
rol $0627,x ; CPU:$E860 PRG:2860 3E 27 06
|
|
rol $061E,x ; CPU:$E863 PRG:2863 3E 1E 06
|
|
rol $0615,x ; CPU:$E866 PRG:2866 3E 15 06
|
|
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
|
|
dex ; CPU:$E872 PRG:2872 CA
|
|
bpl Label_E837 ; CPU:$E873 PRG:2873 10 C2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E875
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E875:
|
|
ldx #$09 ; CPU:$E875 PRG:2875 A2 09
|
|
jsr $C150 ; CPU:$E877 PRG:2877 20 50 C1
|
|
dec Zp0F ; CPU:$E87A PRG:287A C6 0F
|
|
beq Label_E88B ; CPU:$E87C PRG:287C F0 0D
|
|
jmp $E7A1 ; CPU:$E87E PRG:287E 4C A1 E7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E881
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E881:
|
|
lda PtrHi ; CPU:$E881 PRG:2881 A5 01
|
|
sta $02A3,y ; CPU:$E883 PRG:2883 99 A3 02
|
|
clc ; CPU:$E886 PRG:2886 18
|
|
adc #$08 ; CPU:$E887 PRG:2887 69 08
|
|
sta PtrHi ; CPU:$E889 PRG:2889 85 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E88B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E88B:
|
|
rts ; CPU:$E88B PRG:288B 60
|
|
; ---- data $E88C-$E998 (269 bytes) ----
|
|
; referenced by `lda $E8CB,x` at $E9A0 (operand $E8CB falls inside this region)
|
|
; referenced by `lda $E8C7,x` at $E9AC (operand $E8C7 falls inside this region)
|
|
; 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
|
|
.byte $38, $38, $00, $00, $5C, $38, $00, $00, $24, $27, $24, $27, $60, $6E, $81, $97 ; CPU:$E8BC PRG:28BC 38 38 00 00 5C 38 00 00 24 27 24 27 60 6E 81 97
|
|
.byte $52, $AC, $E0, $0A, $13, $08, $15, $1B, $01, $00, $28, $50, $04, $08, $00, $00 ; CPU:$E8CC PRG:28CC 52 AC E0 0A 13 08 15 1B 01 00 28 50 04 08 00 00
|
|
.byte $00, $00, $03, $05, $06, $07, $08, $0A, $14, $1E, $28, $32, $1E, $32, $3C, $46 ; CPU:$E8DC PRG:28DC 00 00 03 05 06 07 08 0A 14 1E 28 32 1E 32 3C 46
|
|
.byte $50, $01, $02, $03, $04, $05, $A5, $34, $D0, $0D, $AC, $A3, $03, $F0, $05, $A5 ; CPU:$E8EC PRG:28EC 50 01 02 03 04 05 A5 34 D0 0D AC A3 03 F0 05 A5
|
|
.byte $50, $4A, $90, $1A, $4C, $CE, $E9, $AC, $A3, $03, $F0, $04, $C9, $31, $F0, $03 ; CPU:$E8FC PRG:28FC 50 4A 90 1A 4C CE E9 AC A3 03 F0 04 C9 31 F0 03
|
|
.byte $4C, $35, $EA, $A2, $09, $BD, $60, $03, $9D, $8F, $03, $CA, $10, $F7, $A2, $15 ; CPU:$E90C PRG:290C 4C 35 EA A2 09 BD 60 03 9D 8F 03 CA 10 F7 A2 15
|
|
.byte $BD, $AE, $E8, $9D, $00, $03, $CA, $D0, $F7, $AC, $A3, $03, $F0, $1D, $BD, $02 ; CPU:$E91C PRG:291C BD AE E8 9D 00 03 CA D0 F7 AC A3 03 F0 1D BD 02
|
|
.byte $03, $18, $69, $40, $9D, $02, $03, $BD, $01, $03, $69, $00, $9D, $01, $03, $88 ; CPU:$E92C PRG:292C 03 18 69 40 9D 02 03 BD 01 03 69 00 9D 01 03 88
|
|
.byte $D0, $EA, $8A, $18, $69, $0A, $AA, $E0, $0B, $90, $DE, $AC, $A3, $03, $A2, $00 ; CPU:$E93C PRG:293C D0 EA 8A 18 69 0A AA E0 0B 90 DE AC A3 03 A2 00
|
|
.byte $98, $48, $B9, $99, $03, $20, $4A, $EA, $9D, $0A, $03, $98, $9D, $09, $03, $20 ; CPU:$E94C PRG:294C 98 48 B9 99 03 20 4A EA 9D 0A 03 98 9D 09 03 20
|
|
.byte $5C, $EA, $68, $A8, $B9, $99, $03, $D9, $8F, $03, $F0, $0C, $C9, $63, $B0, $08 ; CPU:$E95C PRG:295C 5C EA 68 A8 B9 99 03 D9 8F 03 F0 0C C9 63 B0 08
|
|
.byte $B9, $99, $03, $69, $01, $99, $99, $03, $C8, $C8, $C8, $C8, $C8, $8A, $18, $69 ; CPU:$E96C PRG:296C B9 99 03 69 01 99 99 03 C8 C8 C8 C8 C8 8A 18 69
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E999:
|
|
txa ; CPU:$E999 PRG:2999 8A
|
|
stx Zp06 ; CPU:$E99A PRG:299A 86 06
|
|
pha ; CPU:$E99C PRG:299C 48
|
|
ldx $03A3 ; CPU:$E99D PRG:299D AE A3 03
|
|
lda $E8CB,x ; CPU:$E9A0 PRG:29A0 BD CB E8
|
|
cpx #$01 ; CPU:$E9A3 PRG:29A3 E0 01
|
|
bne Label_E9AA ; CPU:$E9A5 PRG:29A5 D0 03
|
|
lda $05FE ; CPU:$E9A7 PRG:29A7 AD FE 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E9AA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E9AA:
|
|
sta Ptr2Lo ; CPU:$E9AA PRG:29AA 85 02
|
|
lda $E8C7,x ; CPU:$E9AC PRG:29AC BD C7 E8
|
|
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
|
|
adc Zp06 ; CPU:$E9B7 PRG:29B7 65 06
|
|
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
|
|
adc #$70 ; CPU:$E9C1 PRG:29C1 69 70
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_E9C3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E9C3:
|
|
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.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_E9C5:
|
|
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
|
|
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
|
|
.byte $B9, $D4, $E8, $AE, $A3, $03, $E0, $04, $F0, $0C, $E0, $01, $D0, $0B, $20, $8E ; CPU:$E9FE PRG:29FE B9 D4 E8 AE A3 03 E0 04 F0 0C E0 01 D0 0B 20 8E
|
|
.byte $EA, $B9, $E8, $E8, $D0, $03, $20, $97, $EA, $20, $4A, $EA, $85, $00, $98, $0A ; CPU:$EA0E PRG:2A0E EA B9 E8 E8 D0 03 20 97 EA 20 4A EA 85 00 98 0A
|
|
.byte $0A, $0A, $0A, $65, $00, $20, $4E, $C9, $AC, $A3, $03, $68, $18, $69, $05, $C6 ; CPU:$EA1E PRG:2A1E 0A 0A 0A 65 00 20 4E C9 AC A3 03 68 18 69 05 C6
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EA49:
|
|
rts ; CPU:$EA49 PRG:2A49 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EA4A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EA4A:
|
|
ldy #$00 ; CPU:$EA4A PRG:2A4A A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EA4C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EA4C:
|
|
cmp #$0A ; CPU:$EA4C PRG:2A4C C9 0A
|
|
bcc Label_EA49 ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EA55
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EA55:
|
|
jsr $EA8E ; CPU:$EA55 PRG:2A55 20 8E EA
|
|
lda $E8DE,y ; CPU:$EA58 PRG:2A58 B9 DE E8
|
|
rts ; CPU:$EA5B PRG:2A5B 60
|
|
; ---- data $EA5C-$EA8D (50 bytes) ----
|
|
EnemyAnimData2: ; Enemy animation data 2 (SubCEA55)
|
|
.byte $AC, $A3, $03, $C0, $01, $F0, $0B, $C0, $04, $F0, $17, $B9, $D6, $E8, $9D, $05 ; CPU:$EA5C PRG:2A5C AC A3 03 C0 01 F0 0B C0 04 F0 17 B9 D6 E8 9D 05
|
|
.byte $03, $60, $20, $55, $EA, $20, $4A, $EA, $9D, $05, $03, $98, $F0, $03, $9D, $04 ; CPU:$EA6C PRG:2A6C 03 60 20 55 EA 20 4A EA 9D 05 03 98 F0 03 9D 04
|
|
.byte $03, $60, $20, $97, $EA, $20, $4A, $EA, $9D, $06, $03, $98, $F0, $03, $9D, $05 ; CPU:$EA7C PRG:2A7C 03 60 20 97 EA 20 4A EA 9D 06 03 98 F0 03 9D 05
|
|
.byte $03, $60 ; CPU:$EA8C PRG:2A8C 03 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EA8E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EA8E:
|
|
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
|
|
ldy #$09 ; CPU:$EA94 PRG:2A94 A0 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EA96
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EA96:
|
|
rts ; CPU:$EA96 PRG:2A96 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EA97
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EA97:
|
|
ldy Zp59 ; CPU:$EA97 PRG:2A97 A4 59
|
|
iny ; CPU:$EA99 PRG:2A99 C8
|
|
tya ; CPU:$EA9A PRG:2A9A 98
|
|
cmp #$21 ; CPU:$EA9B PRG:2A9B C9 21
|
|
bcc Label_EAA1 ; CPU:$EA9D PRG:2A9D 90 02
|
|
sbc #$20 ; CPU:$EA9F PRG:2A9F E9 20
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EAA1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EAA1:
|
|
rts ; CPU:$EAA1 PRG:2AA1 60
|
|
; ---- data $EAA2-$EAFB (90 bytes) ----
|
|
; referenced by `lda $EABF,y` at $EB03 (operand $EABF falls inside this region)
|
|
; referenced by `lda $EADD,y` at $EB0E (operand $EADD falls inside this region)
|
|
; referenced by `lda $EAA2,x` at $EB9C (operand $EAA2 falls inside this region)
|
|
; referenced by `lda $EAA2,x` at $EC48 (operand $EAA2 falls inside this region)
|
|
EnemyAnimData3: ; Enemy animation data 3 (SubCEA8E/SubCEAFC)
|
|
.byte $00, $24, $60, $40, $70, $88, $A0, $80, $98, $B0, $1C, $20, $E0, $40, $60, $70 ; CPU:$EAA2 PRG:2AA2 00 24 60 40 70 88 A0 80 98 B0 1C 20 E0 40 60 70
|
|
.byte $80, $90, $A0, $B0, $5C, $6C, $7C, $40, $48, $50, $1C, $20, $00, $20, $00, $55 ; CPU:$EAB2 PRG:2AB2 80 90 A0 B0 5C 6C 7C 40 48 50 1C 20 00 20 00 55
|
|
.byte $55, $55, $00, $00, $00, $AA, $AA, $AA, $00, $55, $FF, $AA, $FF, $FF, $FF, $FF ; CPU:$EAC2 PRG:2AC2 55 55 00 00 00 AA AA AA 00 55 FF AA FF FF FF FF
|
|
.byte $FF, $FF, $55, $55, $55, $AA, $AA, $AA, $AA, $AA, $00, $55, $32, $32, $22, $42 ; CPU:$EAD2 PRG:2AD2 FF FF 55 55 55 AA AA AA AA AA 00 55 32 32 22 42
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EAFC:
|
|
sty Zp09 ; CPU:$EAFC PRG:2AFC 84 09
|
|
lda $EAA1,y ; CPU:$EAFE PRG:2AFE B9 A1 EA
|
|
sta Zp04 ; CPU:$EB01 PRG:2B01 85 04
|
|
lda $EABF,y ; CPU:$EB03 PRG:2B03 B9 BF EA
|
|
sta Zp0A ; CPU:$EB06 PRG:2B06 85 0A
|
|
sta Zp0B ; CPU:$EB08 PRG:2B08 85 0B
|
|
sta Zp0C ; CPU:$EB0A PRG:2B0A 85 0C
|
|
sta Zp0D ; CPU:$EB0C PRG:2B0C 85 0D
|
|
lda $EADD,y ; CPU:$EB0E PRG:2B0E B9 DD EA
|
|
jmp $C73D ; CPU:$EB11 PRG:2B11 4C 3D C7
|
|
; ---- data $EB14-$EB2D (26 bytes) ----
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EB2E:
|
|
ldx #$0A ; CPU:$EB2E PRG:2B2E A2 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EB30
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EB30:
|
|
lda $03E8,x ; CPU:$EB30 PRG:2B30 BD E8 03
|
|
beq Label_EB68 ; 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
|
|
tay ; CPU:$EB3A PRG:2B3A A8
|
|
pla ; CPU:$EB3B PRG:2B3B 68
|
|
bmi Label_EB6C ; CPU:$EB3C PRG:2B3C 30 2E
|
|
and #$40 ; CPU:$EB3E PRG:2B3E 29 40
|
|
sta Zp0E ; CPU:$EB40 PRG:2B40 85 0E
|
|
lda Zp9C,x ; CPU:$EB42 PRG:2B42 B5 9C
|
|
sta PtrLo ; CPU:$EB44 PRG:2B44 85 00
|
|
lda ZpA7,x ; CPU:$EB46 PRG:2B46 B5 A7
|
|
sta PtrHi ; CPU:$EB48 PRG:2B48 85 01
|
|
lda $03DD,x ; CPU:$EB4A PRG:2B4A BD DD 03
|
|
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
|
|
; ---- data $EB55-$EB55 (1 bytes) ----
|
|
.byte $2C ; CPU:$EB55 PRG:2B55 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EB56
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EB56:
|
|
lda #$01 ; CPU:$EB56 PRG:2B56 A9 01
|
|
sta Zp0F ; CPU:$EB58 PRG:2B58 85 0F
|
|
txa ; CPU:$EB5A PRG:2B5A 8A
|
|
pha ; CPU:$EB5B PRG:2B5B 48
|
|
jsr $EAFC ; CPU:$EB5C PRG:2B5C 20 FC EA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EB5F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EB5F:
|
|
pla ; CPU:$EB5F PRG:2B5F 68
|
|
tax ; CPU:$EB60 PRG:2B60 AA
|
|
; ---- data $EB61-$EB61 (1 bytes) ----
|
|
.byte $24 ; CPU:$EB61 PRG:2B61 24
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EB62
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EB62:
|
|
pla ; CPU:$EB62 PRG:2B62 68
|
|
lda #$00 ; CPU:$EB63 PRG:2B63 A9 00
|
|
sta $03E8,x ; CPU:$EB65 PRG:2B65 9D E8 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EB68
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EB68:
|
|
dex ; CPU:$EB68 PRG:2B68 CA
|
|
bpl Label_EB30 ; CPU:$EB69 PRG:2B69 10 C5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EB6B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EB6B:
|
|
rts ; CPU:$EB6B PRG:2B6B 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EB6C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EB6C:
|
|
lda #$00 ; CPU:$EB6C PRG:2B6C A9 00
|
|
sta Zp91,x ; CPU:$EB6E PRG:2B6E 95 91
|
|
txa ; CPU:$EB70 PRG:2B70 8A
|
|
pha ; CPU:$EB71 PRG:2B71 48
|
|
lda $EB13,y ; CPU:$EB72 PRG:2B72 B9 13 EB
|
|
tax ; CPU:$EB75 PRG:2B75 AA
|
|
lda $EAA1,y ; CPU:$EB76 PRG:2B76 B9 A1 EA
|
|
jsr $C821 ; CPU:$EB79 PRG:2B79 20 21 C8
|
|
jmp $EB5F ; CPU:$EB7C PRG:2B7C 4C 5F EB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EB7F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EB7F:
|
|
ldx #$00 ; CPU:$EB7F PRG:2B7F A2 00
|
|
jsr $EB8A ; CPU:$EB81 PRG:2B81 20 8A EB
|
|
lda Zp58 ; CPU:$EB84 PRG:2B84 A5 58
|
|
beq Label_EB6B ; CPU:$EB86 PRG:2B86 F0 E3
|
|
ldx #$01 ; CPU:$EB88 PRG:2B88 A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EB8A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EB8A:
|
|
lda SprData,x ; CPU:$EB8A PRG:2B8A B5 5A
|
|
bne Label_EB6B ; CPU:$EB8C PRG:2B8C D0 DD
|
|
lda Zp20,x ; CPU:$EB8E PRG:2B8E B5 20
|
|
bmi Label_EB6B ; CPU:$EB90 PRG:2B90 30 D9
|
|
txa ; CPU:$EB92 PRG:2B92 8A
|
|
pha ; CPU:$EB93 PRG:2B93 48
|
|
asl a ; CPU:$EB94 PRG:2B94 0A
|
|
asl a ; CPU:$EB95 PRG:2B95 0A
|
|
tay ; CPU:$EB96 PRG:2B96 A8
|
|
lda #$F8 ; CPU:$EB97 PRG:2B97 A9 F8
|
|
sta $021C,y ; CPU:$EB99 PRG:2B99 99 1C 02
|
|
lda $EAA2,x ; CPU:$EB9C PRG:2B9C BD A2 EA
|
|
ldx #$06 ; CPU:$EB9F PRG:2B9F A2 06
|
|
jsr $C821 ; CPU:$EBA1 PRG:2BA1 20 21 C8
|
|
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
|
|
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
|
|
sta Zp86,x ; CPU:$EBB1 PRG:2BB1 95 86
|
|
lda #$00 ; CPU:$EBB3 PRG:2BB3 A9 00
|
|
sta Zp2F,x ; CPU:$EBB5 PRG:2BB5 95 2F
|
|
lda Zp90 ; CPU:$EBB7 PRG:2BB7 A5 90
|
|
sec ; CPU:$EBB9 PRG:2BB9 38
|
|
sbc #$03 ; CPU:$EBBA PRG:2BBA E9 03
|
|
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 PtrLo ; CPU:$EBC5 PRG:2BC5 C5 00
|
|
bcs Label_EBD3 ; CPU:$EBC7 PRG:2BC7 B0 0A
|
|
lda PtrLo ; CPU:$EBC9 PRG:2BC9 A5 00
|
|
jmp $EBD3 ; CPU:$EBCB PRG:2BCB 4C D3 EB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EBCE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EBCE:
|
|
lda PtrLo ; CPU:$EBCE PRG:2BCE A5 00
|
|
clc ; CPU:$EBD0 PRG:2BD0 18
|
|
adc #$02 ; CPU:$EBD1 PRG:2BD1 69 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EBD3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EBD3:
|
|
cmp $0786 ; CPU:$EBD3 PRG:2BD3 CD 86 07
|
|
beq Label_EBDD ; CPU:$EBD6 PRG:2BD6 F0 05
|
|
cmp $0787 ; CPU:$EBD8 PRG:2BD8 CD 87 07
|
|
bne Label_EBE9 ; CPU:$EBDB PRG:2BDB D0 0C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EBDD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EBDD:
|
|
sec ; CPU:$EBDD PRG:2BDD 38
|
|
sbc #$01 ; CPU:$EBDE PRG:2BDE E9 01
|
|
cmp PtrLo ; CPU:$EBE0 PRG:2BE0 C5 00
|
|
bcs Label_EBD3 ; CPU:$EBE2 PRG:2BE2 B0 EF
|
|
adc #$03 ; CPU:$EBE4 PRG:2BE4 69 03
|
|
jmp $EBD3 ; CPU:$EBE6 PRG:2BE6 4C D3 EB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EBE9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EBE9:
|
|
sta SprData,x ; CPU:$EBE9 PRG:2BE9 95 5A
|
|
jsr $EDD5 ; CPU:$EBEB PRG:2BEB 20 D5 ED
|
|
sec ; CPU:$EBEE PRG:2BEE 38
|
|
sbc #$08 ; CPU:$EBEF PRG:2BEF E9 08
|
|
sta Zp66,x ; CPU:$EBF1 PRG:2BF1 95 66
|
|
lda SprData,x ; CPU:$EBF3 PRG:2BF3 B5 5A
|
|
sta Zp0F ; CPU:$EBF5 PRG:2BF5 85 0F
|
|
lda Zp64,x ; CPU:$EBF7 PRG:2BF7 B5 64
|
|
clc ; CPU:$EBF9 PRG:2BF9 18
|
|
adc #$08 ; CPU:$EBFA PRG:2BFA 69 08
|
|
sta Zp0E ; CPU:$EBFC PRG:2BFC 85 0E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EBFE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EBFE:
|
|
jsr $DEB9 ; CPU:$EBFE PRG:2BFE 20 B9 DE
|
|
bmi Label_EC07 ; CPU:$EC01 PRG:2C01 30 04
|
|
cmp #$03 ; CPU:$EC03 PRG:2C03 C9 03
|
|
bne Label_EC12 ; CPU:$EC05 PRG:2C05 D0 0B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC07
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC07:
|
|
lda Zp0E ; CPU:$EC07 PRG:2C07 A5 0E
|
|
clc ; CPU:$EC09 PRG:2C09 18
|
|
adc #$08 ; CPU:$EC0A PRG:2C0A 69 08
|
|
sta Zp0E ; CPU:$EC0C PRG:2C0C 85 0E
|
|
cmp #$E0 ; CPU:$EC0E PRG:2C0E C9 E0
|
|
bcc Label_EBFE ; CPU:$EC10 PRG:2C10 90 EC
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC12
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC12:
|
|
lda Zp0E ; CPU:$EC12 PRG:2C12 A5 0E
|
|
sec ; CPU:$EC14 PRG:2C14 38
|
|
sbc #$08 ; CPU:$EC15 PRG:2C15 E9 08
|
|
sta Zp64,x ; CPU:$EC17 PRG:2C17 95 64
|
|
lda #$01 ; CPU:$EC19 PRG:2C19 A9 01
|
|
sta Zp2D,x ; CPU:$EC1B PRG:2C1B 95 2D
|
|
jsr $D0B8 ; CPU:$EC1D PRG:2C1D 20 B8 D0
|
|
jmp $D8FD ; CPU:$EC20 PRG:2C20 4C FD D8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC23
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC23:
|
|
ldx #$00 ; CPU:$EC23 PRG:2C23 A2 00
|
|
jsr $EC2A ; CPU:$EC25 PRG:2C25 20 2A EC
|
|
ldx #$01 ; CPU:$EC28 PRG:2C28 A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC2A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC2A:
|
|
lda Zp2D,x ; CPU:$EC2A PRG:2C2A B5 2D
|
|
beq Label_EC50 ; CPU:$EC2C PRG:2C2C F0 22
|
|
lda Zp20,x ; CPU:$EC2E PRG:2C2E B5 20
|
|
bmi Label_EC50 ; CPU:$EC30 PRG:2C30 30 1E
|
|
txa ; CPU:$EC32 PRG:2C32 8A
|
|
asl a ; CPU:$EC33 PRG:2C33 0A
|
|
tay ; CPU:$EC34 PRG:2C34 A8
|
|
lda a:Zp14,y ; CPU:$EC35 PRG:2C35 B9 14 00
|
|
ora Zp70,x ; CPU:$EC38 PRG:2C38 15 70
|
|
and #$CF ; CPU:$EC3A PRG:2C3A 29 CF
|
|
beq Label_EC42 ; CPU:$EC3C PRG:2C3C F0 04
|
|
lda #$00 ; CPU:$EC3E PRG:2C3E A9 00
|
|
sta Zp2D,x ; CPU:$EC40 PRG:2C40 95 2D
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC42
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC42:
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC50:
|
|
rts ; CPU:$EC50 PRG:2C50 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC51
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC51:
|
|
ldx #$07 ; CPU:$EC51 PRG:2C51 A2 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC53
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC53:
|
|
lda Zp91,x ; CPU:$EC53 PRG:2C53 B5 91
|
|
beq Label_EC74 ; CPU:$EC55 PRG:2C55 F0 1D
|
|
lda ZpA7,x ; CPU:$EC57 PRG:2C57 B5 A7
|
|
cpx #$00 ; CPU:$EC59 PRG:2C59 E0 00
|
|
bne Label_EC63 ; CPU:$EC5B PRG:2C5B D0 06
|
|
cmp #$F0 ; CPU:$EC5D PRG:2C5D C9 F0
|
|
bcc Label_EC63 ; CPU:$EC5F PRG:2C5F 90 02
|
|
lda #$EC ; CPU:$EC61 PRG:2C61 A9 EC
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC63
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC63:
|
|
clc ; CPU:$EC63 PRG:2C63 18
|
|
adc #$04 ; CPU:$EC64 PRG:2C64 69 04
|
|
sta ZpA7,x ; CPU:$EC66 PRG:2C66 95 A7
|
|
cpx #$00 ; CPU:$EC68 PRG:2C68 E0 00
|
|
beq Label_EC74 ; CPU:$EC6A PRG:2C6A F0 08
|
|
cmp #$F8 ; CPU:$EC6C PRG:2C6C C9 F8
|
|
bcc Label_EC74 ; CPU:$EC6E PRG:2C6E 90 04
|
|
lda #$00 ; CPU:$EC70 PRG:2C70 A9 00
|
|
sta Zp91,x ; CPU:$EC72 PRG:2C72 95 91
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC74
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC74:
|
|
cpx #$02 ; CPU:$EC74 PRG:2C74 E0 02
|
|
bcs Label_EC82 ; CPU:$EC76 PRG:2C76 B0 0A
|
|
lda SprData,x ; CPU:$EC78 PRG:2C78 B5 5A
|
|
beq Label_EC82 ; CPU:$EC7A PRG:2C7A F0 06
|
|
lda Zp66,x ; CPU:$EC7C PRG:2C7C B5 66
|
|
adc #$04 ; CPU:$EC7E PRG:2C7E 69 04
|
|
sta Zp66,x ; CPU:$EC80 PRG:2C80 95 66
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC82
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC82:
|
|
cpx #$03 ; CPU:$EC82 PRG:2C82 E0 03
|
|
bcs Label_EC92 ; CPU:$EC84 PRG:2C84 B0 0C
|
|
lda ZpAF,x ; CPU:$EC86 PRG:2C86 B5 AF
|
|
beq Label_EC92 ; CPU:$EC88 PRG:2C88 F0 08
|
|
cmp #$F0 ; CPU:$EC8A PRG:2C8A C9 F0
|
|
bcs Label_EC92 ; CPU:$EC8C PRG:2C8C B0 04
|
|
adc #$04 ; CPU:$EC8E PRG:2C8E 69 04
|
|
sta ZpAF,x ; CPU:$EC90 PRG:2C90 95 AF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC92
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EC9F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EC9F:
|
|
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
|
|
lda #$F4 ; CPU:$ECA6 PRG:2CA6 A9 F4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ECA8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ECA8:
|
|
clc ; CPU:$ECA8 PRG:2CA8 18
|
|
adc #$04 ; CPU:$ECA9 PRG:2CA9 69 04
|
|
sta $0200,x ; CPU:$ECAB PRG:2CAB 9D 00 02
|
|
dex ; CPU:$ECAE PRG:2CAE CA
|
|
dex ; CPU:$ECAF PRG:2CAF CA
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ECBF:
|
|
ldx Zp58 ; CPU:$ECBF PRG:2CBF A6 58
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ECC1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ECC1:
|
|
lda Zp20,x ; CPU:$ECC1 PRG:2CC1 B5 20
|
|
bmi Label_ECC7 ; CPU:$ECC3 PRG:2CC3 30 02
|
|
lda #$FB ; CPU:$ECC5 PRG:2CC5 A9 FB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ECC7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ECC7:
|
|
eor #$FF ; CPU:$ECC7 PRG:2CC7 49 FF
|
|
jsr $ECF0 ; CPU:$ECC9 PRG:2CC9 20 F0 EC
|
|
dex ; CPU:$ECCC PRG:2CCC CA
|
|
bpl Label_ECC1 ; CPU:$ECCD PRG:2CCD 10 F2
|
|
lda #$FC ; CPU:$ECCF PRG:2CCF A9 FC
|
|
cmp Zp20 ; CPU:$ECD1 PRG:2CD1 C5 20
|
|
bne Label_ED08 ; CPU:$ECD3 PRG:2CD3 D0 33
|
|
ldy Zp58 ; CPU:$ECD5 PRG:2CD5 A4 58
|
|
beq Label_ECDD ; CPU:$ECD7 PRG:2CD7 F0 04
|
|
cmp Zp21 ; CPU:$ECD9 PRG:2CD9 C5 21
|
|
bne Label_ED08 ; CPU:$ECDB PRG:2CDB D0 2B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ECDD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ECDD:
|
|
ldy Zp43 ; CPU:$ECDD PRG:2CDD A4 43
|
|
beq Label_ED08 ; CPU:$ECDF PRG:2CDF F0 27
|
|
dey ; CPU:$ECE1 PRG:2CE1 88
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ECE2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; 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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ECEA:
|
|
asl $04A9,x ; CPU:$ECEA PRG:2CEA 1E A9 04
|
|
jmp $D4F5 ; CPU:$ECED PRG:2CED 4C F5 D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ECF0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ECF0:
|
|
jsr $C728 ; CPU:$ECF0 PRG:2CF0 20 28 C7
|
|
bpl Label_ECE2 ; CPU:$ECF3 PRG:2CF3 10 ED
|
|
sbc $09EC,x ; CPU:$ECF5 PRG:2CF5 FD EC 09
|
|
sbc $ED08 ; CPU:$ECF8 PRG:2CF8 ED 08 ED
|
|
bvs Label_ECEA ; CPU:$ECFB PRG:2CFB 70 ED
|
|
jsr $ED51 ; CPU:$ECFD PRG:2CFD 20 51 ED
|
|
bcs Label_ED08 ; CPU:$ED00 PRG:2D00 B0 06
|
|
lda #$10 ; CPU:$ED02 PRG:2D02 A9 10
|
|
sta Zp43 ; CPU:$ED04 PRG:2D04 85 43
|
|
dec Zp20,x ; CPU:$ED06 PRG:2D06 D6 20
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ED08
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ED08:
|
|
rts ; CPU:$ED08 PRG:2D08 60
|
|
; ---- data $ED09-$ED24 (28 bytes) ----
|
|
.byte $A4, $43, $88, $D0, $FA, $F0, $04, $A9, $01, $85, $FC, $D6, $20, $20, $63, $ED ; CPU:$ED09 PRG:2D09 A4 43 88 D0 FA F0 04 A9 01 85 FC D6 20 20 63 ED
|
|
.byte $B9, $B7, $EC, $99, $58, $03, $C8, $98, $29, $03, $D0, $F4 ; CPU:$ED19 PRG:2D19 B9 B7 EC 99 58 03 C8 98 29 03 D0 F4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ED25
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ED25:
|
|
txa ; CPU:$ED25 PRG:2D25 8A
|
|
pha ; CPU:$ED26 PRG:2D26 48
|
|
jsr $ED63 ; CPU:$ED27 PRG:2D27 20 63 ED
|
|
ldx #$00 ; CPU:$ED2A PRG:2D2A A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ED2C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ED2C:
|
|
lda $0358,y ; CPU:$ED2C PRG:2D2C B9 58 03
|
|
sta PtrLo,x ; CPU:$ED2F PRG:2D2F 95 00
|
|
iny ; CPU:$ED31 PRG:2D31 C8
|
|
inx ; CPU:$ED32 PRG:2D32 E8
|
|
cpx #$04 ; CPU:$ED33 PRG:2D33 E0 04
|
|
bne Label_ED2C ; CPU:$ED35 PRG:2D35 D0 F5
|
|
ldy #$01 ; CPU:$ED37 PRG:2D37 A0 01
|
|
sty Zp0E ; CPU:$ED39 PRG:2D39 84 0E
|
|
dey ; CPU:$ED3B PRG:2D3B 88
|
|
sty Zp0F ; CPU:$ED3C PRG:2D3C 84 0F
|
|
ldy Zp03 ; CPU:$ED3E PRG:2D3E A4 03
|
|
jsr $EAFC ; CPU:$ED40 PRG:2D40 20 FC EA
|
|
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
|
|
ldy #$20 ; CPU:$ED49 PRG:2D49 A0 20
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ED4B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ED4B:
|
|
lda #$35 ; CPU:$ED4B PRG:2D4B A9 35
|
|
sta $0219,y ; CPU:$ED4D PRG:2D4D 99 19 02
|
|
rts ; CPU:$ED50 PRG:2D50 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ED51
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ED51:
|
|
jsr $ED25 ; CPU:$ED51 PRG:2D51 20 25 ED
|
|
jsr $ED63 ; CPU:$ED54 PRG:2D54 20 63 ED
|
|
lda $0359,y ; CPU:$ED57 PRG:2D57 B9 59 03
|
|
sec ; CPU:$ED5A PRG:2D5A 38
|
|
sbc #$02 ; CPU:$ED5B PRG:2D5B E9 02
|
|
sta $0359,y ; CPU:$ED5D PRG:2D5D 99 59 03
|
|
cmp #$30 ; CPU:$ED60 PRG:2D60 C9 30
|
|
rts ; CPU:$ED62 PRG:2D62 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_ED63
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_ED63:
|
|
txa ; CPU:$ED63 PRG:2D63 8A
|
|
asl a ; CPU:$ED64 PRG:2D64 0A
|
|
asl a ; CPU:$ED65 PRG:2D65 0A
|
|
tay ; CPU:$ED66 PRG:2D66 A8
|
|
rts ; CPU:$ED67 PRG:2D67 60
|
|
; ---- data $ED68-$EDBE (87 bytes) ----
|
|
.byte $E8, $F4, $00, $01, $38, $B0, $00, $0C, $A5, $55, $C9, $02, $F0, $48, $8A, $48 ; CPU:$ED68 PRG:2D68 E8 F4 00 01 38 B0 00 0C A5 55 C9 02 F0 48 8A 48
|
|
.byte $BD, $68, $ED, $A2, $03, $20, $21, $C8, $68, $48, $AA, $B4, $20, $88, $30, $34 ; CPU:$ED78 PRG:2D78 BD 68 ED A2 03 20 21 C8 68 48 AA B4 20 88 30 34
|
|
.byte $C0, $03, $90, $02, $A0, $02, $BD, $6A, $ED, $85, $02, $BD, $6C, $ED, $85, $03 ; CPU:$ED88 PRG:2D88 C0 03 90 02 A0 02 BD 6A ED 85 02 BD 6C ED 85 03
|
|
.byte $BD, $6E, $ED, $AA, $A9, $21, $9D, $E8, $02, $A9, $36, $9D, $E9, $02, $A5, $02 ; CPU:$ED98 PRG:2D98 BD 6E ED AA A9 21 9D E8 02 A9 36 9D E9 02 A5 02
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EDBF:
|
|
pha ; CPU:$EDBF PRG:2DBF 48
|
|
and #$80 ; CPU:$EDC0 PRG:2DC0 29 80
|
|
lsr a ; CPU:$EDC2 PRG:2DC2 4A
|
|
lsr a ; CPU:$EDC3 PRG:2DC3 4A
|
|
lsr a ; CPU:$EDC4 PRG:2DC4 4A
|
|
sta 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 PtrLo ; CPU:$EDCD PRG:2DCD 65 00
|
|
rts ; CPU:$EDCF PRG:2DCF 60
|
|
; ---- data $EDD0-$EDD4 (5 bytes) ----
|
|
.byte $A5, $5A, $2C, $A5, $5B ; CPU:$EDD0 PRG:2DD0 A5 5A 2C A5 5B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EDD5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EDD5:
|
|
sta PtrLo ; CPU:$EDD5 PRG:2DD5 85 00
|
|
lda Zp90 ; CPU:$EDD7 PRG:2DD7 A5 90
|
|
sec ; CPU:$EDD9 PRG:2DD9 38
|
|
sbc PtrLo ; CPU:$EDDA PRG:2DDA E5 00
|
|
tay ; CPU:$EDDC PRG:2DDC A8
|
|
lda #$08 ; CPU:$EDDD PRG:2DDD A9 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EDDF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EDDF:
|
|
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
|
|
rts ; CPU:$EDE5 PRG:2DE5 60
|
|
; ---- data $EDE6-$EE0C (39 bytes) ----
|
|
; referenced by `lda $EDFD,y` at $EEB5 (operand $EDFD falls inside this region)
|
|
; referenced by `lda $EDED,y` at $EEDD (operand $EDED falls inside this region)
|
|
; referenced by `lda $EE00,y` at $EF26 (operand $EE00 falls inside this region)
|
|
; referenced by `lda $EDF1,y` at $EF96 (operand $EDF1 falls inside this region)
|
|
.byte $00, $05, $05, $05, $0A, $0A, $0A, $68, $98, $C8, $F0, $18, $20, $28, $20, $FF ; CPU:$EDE6 PRG:2DE6 00 05 05 05 0A 0A 0A 68 98 C8 F0 18 20 28 20 FF
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE0D:
|
|
ldx #$07 ; CPU:$EE0D PRG:2E0D A2 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EE0F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE0F:
|
|
cpx #$00 ; CPU:$EE0F PRG:2E0F E0 00
|
|
beq Label_EE54 ; 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
|
|
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
|
|
jsr $EF70 ; CPU:$EE1E PRG:2E1E 20 70 EF
|
|
bcc Label_EE26 ; CPU:$EE21 PRG:2E21 90 03
|
|
jsr $EF7B ; CPU:$EE23 PRG:2E23 20 7B EF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EE26
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE26:
|
|
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
|
|
lda Zp3D ; CPU:$EE2D PRG:2E2D A5 3D
|
|
beq Label_EE38 ; CPU:$EE2F PRG:2E2F F0 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EE31
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE31:
|
|
lda Zp9C,x ; CPU:$EE31 PRG:2E31 B5 9C
|
|
bne Label_EE38 ; CPU:$EE33 PRG:2E33 D0 03
|
|
jmp $EEBD ; CPU:$EE35 PRG:2E35 4C BD EE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EE38
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE38:
|
|
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
|
|
lda #$00 ; CPU:$EE3F PRG:2E3F A9 00
|
|
sta $03B1,x ; CPU:$EE41 PRG:2E41 9D B1 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EE44
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE44:
|
|
jsr $EF8E ; CPU:$EE44 PRG:2E44 20 8E EF
|
|
sta $03DD,x ; CPU:$EE47 PRG:2E47 9D DD 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EE4A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE4A:
|
|
txa ; CPU:$EE4A PRG:2E4A 8A
|
|
clc ; CPU:$EE4B PRG:2E4B 18
|
|
adc #$03 ; CPU:$EE4C PRG:2E4C 69 03
|
|
ora $03E8,x ; CPU:$EE4E PRG:2E4E 1D E8 03
|
|
sta $03E8,x ; CPU:$EE51 PRG:2E51 9D E8 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EE54
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE54:
|
|
dex ; CPU:$EE54 PRG:2E54 CA
|
|
bpl Label_EE0F ; CPU:$EE55 PRG:2E55 10 B8
|
|
rts ; CPU:$EE57 PRG:2E57 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EE58
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE58:
|
|
cpx #$01 ; CPU:$EE58 PRG:2E58 E0 01
|
|
beq Label_EEA7 ; CPU:$EE5A PRG:2E5A F0 4B
|
|
cmp #$01 ; CPU:$EE5C PRG:2E5C C9 01
|
|
bne Label_EEC5 ; CPU:$EE5E PRG:2E5E D0 65
|
|
cpx #$05 ; CPU:$EE60 PRG:2E60 E0 05
|
|
bcs Label_EEAA ; CPU:$EE62 PRG:2E62 B0 46
|
|
lda #$00 ; CPU:$EE64 PRG:2E64 A9 00
|
|
sta $0382,x ; CPU:$EE66 PRG:2E66 9D 82 03
|
|
inc $03D2,x ; CPU:$EE69 PRG:2E69 FE D2 03
|
|
lda $03D2,x ; CPU:$EE6C PRG:2E6C BD D2 03
|
|
and #$07 ; CPU:$EE6F PRG:2E6F 29 07
|
|
bne Label_EE82 ; CPU:$EE71 PRG:2E71 D0 0F
|
|
jsr $EF4E ; CPU:$EE73 PRG:2E73 20 4E EF
|
|
tay ; CPU:$EE76 PRG:2E76 A8
|
|
lda $03D2,x ; CPU:$EE77 PRG:2E77 BD D2 03
|
|
and #$0F ; CPU:$EE7A PRG:2E7A 29 0F
|
|
bne Label_EE82 ; CPU:$EE7C PRG:2E7C D0 04
|
|
tya ; CPU:$EE7E PRG:2E7E 98
|
|
sta $03B1,x ; CPU:$EE7F PRG:2E7F 9D B1 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EE82
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE82:
|
|
jsr $EF70 ; CPU:$EE82 PRG:2E82 20 70 EF
|
|
bcc Label_EE8D ; CPU:$EE85 PRG:2E85 90 06
|
|
lda $03B1,x ; CPU:$EE87 PRG:2E87 BD B1 03
|
|
jsr $EF7D ; CPU:$EE8A PRG:2E8A 20 7D EF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EE8D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE8D:
|
|
lda Zp9C,x ; CPU:$EE8D PRG:2E8D B5 9C
|
|
beq Label_EEBD ; CPU:$EE8F PRG:2E8F F0 2C
|
|
jsr $EF42 ; CPU:$EE91 PRG:2E91 20 42 EF
|
|
bpl Label_EE9D ; CPU:$EE94 PRG:2E94 10 07
|
|
inc Zp91,x ; CPU:$EE96 PRG:2E96 F6 91
|
|
lda #$00 ; CPU:$EE98 PRG:2E98 A9 00
|
|
sta $03B1,x ; CPU:$EE9A PRG:2E9A 9D B1 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EE9D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EE9D:
|
|
lda #$06 ; CPU:$EE9D PRG:2E9D A9 06
|
|
sta $03DD,x ; CPU:$EE9F PRG:2E9F 9D DD 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EEA2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EEA2:
|
|
jsr $EF6A ; CPU:$EEA2 PRG:2EA2 20 6A EF
|
|
bne Label_EE4A ; CPU:$EEA5 PRG:2EA5 D0 A3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EEA7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EEA7:
|
|
jmp $EF06 ; CPU:$EEA7 PRG:2EA7 4C 06 EF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EEAA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EEAA:
|
|
lda #$10 ; CPU:$EEAA PRG:2EAA A9 10
|
|
sta $03BC,x ; CPU:$EEAC PRG:2EAC 9D BC 03
|
|
jsr $EF56 ; CPU:$EEAF PRG:2EAF 20 56 EF
|
|
ldy $03B1,x ; CPU:$EEB2 PRG:2EB2 BC B1 03
|
|
lda $EDFD,y ; CPU:$EEB5 PRG:2EB5 B9 FD ED
|
|
sta $03DD,x ; CPU:$EEB8 PRG:2EB8 9D DD 03
|
|
bpl Label_EEC2 ; CPU:$EEBB PRG:2EBB 10 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EEBD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EEBD:
|
|
lda #$80 ; CPU:$EEBD PRG:2EBD A9 80
|
|
sta $03E8,x ; CPU:$EEBF PRG:2EBF 9D E8 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EEC2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EEC2:
|
|
jmp $EE4A ; CPU:$EEC2 PRG:2EC2 4C 4A EE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EEC5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EEC5:
|
|
cmp #$02 ; CPU:$EEC5 PRG:2EC5 C9 02
|
|
bne Label_EEC2 ; CPU:$EEC7 PRG:2EC7 D0 F9
|
|
inc ZpA7,x ; CPU:$EEC9 PRG:2EC9 F6 A7
|
|
jsr $EF70 ; CPU:$EECB PRG:2ECB 20 70 EF
|
|
bcc Label_EF03 ; CPU:$EECE PRG:2ECE 90 33
|
|
jsr $EF6A ; CPU:$EED0 PRG:2ED0 20 6A EF
|
|
inc ZpA7,x ; CPU:$EED3 PRG:2ED3 F6 A7
|
|
lda Zp90 ; CPU:$EED5 PRG:2ED5 A5 90
|
|
sec ; CPU:$EED7 PRG:2ED7 38
|
|
sbc ZpB2,x ; CPU:$EED8 PRG:2ED8 F5 B2
|
|
sta Zp05 ; CPU:$EEDA PRG:2EDA 85 05
|
|
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
|
|
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
|
|
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
|
|
lda #$01 ; CPU:$EEF3 PRG:2EF3 A9 01
|
|
sta Zp91,x ; CPU:$EEF5 PRG:2EF5 95 91
|
|
lsr a ; CPU:$EEF7 PRG:2EF7 4A
|
|
sta $03B1,x ; CPU:$EEF8 PRG:2EF8 9D B1 03
|
|
lda #$FF ; CPU:$EEFB PRG:2EFB A9 FF
|
|
sta $03D2,x ; CPU:$EEFD PRG:2EFD 9D D2 03
|
|
jsr $EF6A ; CPU:$EF00 PRG:2F00 20 6A EF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF03
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF03:
|
|
jmp $EE9D ; CPU:$EF03 PRG:2F03 4C 9D EE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF06
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF06:
|
|
cmp #$04 ; CPU:$EF06 PRG:2F06 C9 04
|
|
beq Label_EEC2 ; CPU:$EF08 PRG:2F08 F0 B8
|
|
cmp #$05 ; CPU:$EF0A PRG:2F0A C9 05
|
|
bne Label_EEC2 ; CPU:$EF0C PRG:2F0C D0 B4
|
|
jsr $EF70 ; CPU:$EF0E PRG:2F0E 20 70 EF
|
|
bcc Label_EF19 ; CPU:$EF11 PRG:2F11 90 06
|
|
jsr $EF6A ; CPU:$EF13 PRG:2F13 20 6A EF
|
|
jsr $EF7B ; CPU:$EF16 PRG:2F16 20 7B EF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF19
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF19:
|
|
lda Zp9C,x ; CPU:$EF19 PRG:2F19 B5 9C
|
|
beq Label_EEBD ; CPU:$EF1B PRG:2F1B F0 A0
|
|
jsr $EF83 ; CPU:$EF1D PRG:2F1D 20 83 EF
|
|
bcc Label_EF3A ; CPU:$EF20 PRG:2F20 90 18
|
|
lda $03B1,x ; CPU:$EF22 PRG:2F22 BD B1 03
|
|
tay ; CPU:$EF25 PRG:2F25 A8
|
|
lda $EE00,y ; CPU:$EF26 PRG:2F26 B9 00 EE
|
|
clc ; CPU:$EF29 PRG:2F29 18
|
|
adc ZpA7,x ; CPU:$EF2A PRG:2F2A 75 A7
|
|
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
|
|
lda #$00 ; CPU:$EF35 PRG:2F35 A9 00
|
|
sta $03B1,x ; CPU:$EF37 PRG:2F37 9D B1 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF3A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF3A:
|
|
lda #$98 ; CPU:$EF3A PRG:2F3A A9 98
|
|
sta $03DD,x ; CPU:$EF3C PRG:2F3C 9D DD 03
|
|
jmp $EEA2 ; CPU:$EF3F PRG:2F3F 4C A2 EE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF42
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF42:
|
|
lda Zp9C,x ; CPU:$EF42 PRG:2F42 B5 9C
|
|
clc ; CPU:$EF44 PRG:2F44 18
|
|
adc #$08 ; CPU:$EF45 PRG:2F45 69 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF47
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF47:
|
|
sta Zp0E ; CPU:$EF47 PRG:2F47 85 0E
|
|
stx Zp0F ; CPU:$EF49 PRG:2F49 86 0F
|
|
jmp $DEB2 ; CPU:$EF4B PRG:2F4B 4C B2 DE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF4E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF4E:
|
|
lda ZpBD,x ; CPU:$EF4E PRG:2F4E B5 BD
|
|
jsr $D2FB ; CPU:$EF50 PRG:2F50 20 FB D2
|
|
sta ZpBD,x ; CPU:$EF53 PRG:2F53 95 BD
|
|
rts ; CPU:$EF55 PRG:2F55 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF56
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF56:
|
|
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
|
|
inc $03D2,x ; CPU:$EF5D PRG:2F5D FE D2 03
|
|
beq Label_EF6A ; CPU:$EF60 PRG:2F60 F0 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF62
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF62:
|
|
jsr $EF83 ; CPU:$EF62 PRG:2F62 20 83 EF
|
|
bcc Label_EF6F ; CPU:$EF65 PRG:2F65 90 08
|
|
inc $03B1,x ; CPU:$EF67 PRG:2F67 FE B1 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF6A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF6A:
|
|
lda #$40 ; CPU:$EF6A PRG:2F6A A9 40
|
|
sta $03E8,x ; CPU:$EF6C PRG:2F6C 9D E8 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF6F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF6F:
|
|
rts ; CPU:$EF6F PRG:2F6F 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF70
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF70:
|
|
lda $03A6,x ; CPU:$EF70 PRG:2F70 BD A6 03
|
|
clc ; CPU:$EF73 PRG:2F73 18
|
|
adc $03C7,x ; CPU:$EF74 PRG:2F74 7D C7 03
|
|
sta $03C7,x ; CPU:$EF77 PRG:2F77 9D C7 03
|
|
rts ; CPU:$EF7A PRG:2F7A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF7B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF7B:
|
|
lda ZpBD,x ; CPU:$EF7B PRG:2F7B B5 BD
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF7D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF7D:
|
|
clc ; CPU:$EF7D PRG:2F7D 18
|
|
adc Zp9C,x ; CPU:$EF7E PRG:2F7E 75 9C
|
|
sta Zp9C,x ; CPU:$EF80 PRG:2F80 95 9C
|
|
rts ; CPU:$EF82 PRG:2F82 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF83
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF83:
|
|
lda $03BC,x ; CPU:$EF83 PRG:2F83 BD BC 03
|
|
clc ; CPU:$EF86 PRG:2F86 18
|
|
adc $03D2,x ; CPU:$EF87 PRG:2F87 7D D2 03
|
|
sta $03D2,x ; CPU:$EF8A PRG:2F8A 9D D2 03
|
|
rts ; CPU:$EF8D PRG:2F8D 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF8E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF8E:
|
|
lda $03B1,x ; CPU:$EF8E PRG:2F8E BD B1 03
|
|
clc ; CPU:$EF91 PRG:2F91 18
|
|
adc $EDE5,x ; CPU:$EF92 PRG:2F92 7D E5 ED
|
|
tay ; CPU:$EF95 PRG:2F95 A8
|
|
lda $EDF1,y ; CPU:$EF96 PRG:2F96 B9 F1 ED
|
|
rts ; CPU:$EF99 PRG:2F99 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EF9A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EF9A:
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EFA8:
|
|
inc ZpA8 ; CPU:$EFA8 PRG:2FA8 E6 A8
|
|
inc ZpA8 ; CPU:$EFAA PRG:2FAA E6 A8
|
|
dec ZpDD ; CPU:$EFAC PRG:2FAC C6 DD
|
|
bne Label_EFB6 ; CPU:$EFAE PRG:2FAE D0 06
|
|
lda #$00 ; CPU:$EFB0 PRG:2FB0 A9 00
|
|
sta ZpDC ; CPU:$EFB2 PRG:2FB2 85 DC
|
|
dec ZpB3 ; CPU:$EFB4 PRG:2FB4 C6 B3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EFB6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EFB6:
|
|
rts ; CPU:$EFB6 PRG:2FB6 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EFB7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EFB7:
|
|
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
|
|
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
|
|
lda #$84 ; CPU:$EFC6 PRG:2FC6 A9 84
|
|
sta $03E8,x ; CPU:$EFC8 PRG:2FC8 9D E8 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EFCB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EFCB:
|
|
lda Zp9C,x ; CPU:$EFCB PRG:2FCB B5 9C
|
|
ldy ZpBD,x ; CPU:$EFCD PRG:2FCD B4 BD
|
|
bmi UpdateMusicChannel19 ; CPU:$EFCF PRG:2FCF 30 02
|
|
adc #$08 ; CPU:$EFD1 PRG:2FD1 69 08
|
|
; -----------------------------------------------------------------------------
|
|
; 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.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateMusicChannel19:
|
|
jsr $EF47 ; CPU:$EFD3 PRG:2FD3 20 47 EF
|
|
bpl Label_EFE1 ; CPU:$EFD6 PRG:2FD6 10 09
|
|
lda ZpDC ; CPU:$EFD8 PRG:2FD8 A5 DC
|
|
bne Label_EFDF ; CPU:$EFDA PRG:2FDA D0 03
|
|
jsr $EF4E ; CPU:$EFDC PRG:2FDC 20 4E EF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EFDF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EFDF:
|
|
inc ZpDC ; CPU:$EFDF PRG:2FDF E6 DC
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EFE1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EFE1:
|
|
rts ; CPU:$EFE1 PRG:2FE1 60
|
|
; ---- data $EFE2-$EFEB (10 bytes) ----
|
|
; referenced by `lda $EFE4,y` at $F0B1 (operand $EFE4 falls inside this region)
|
|
.byte $18, $30, $40, $40, $50, $60, $70, $80, $90, $98 ; CPU:$EFE2 PRG:2FE2 18 30 40 40 50 60 70 80 90 98
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EFEC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EFEC:
|
|
ldx #$02 ; CPU:$EFEC PRG:2FEC A2 02
|
|
jsr $EFF3 ; CPU:$EFEE PRG:2FEE 20 F3 EF
|
|
ldx #$03 ; CPU:$EFF1 PRG:2FF1 A2 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_EFF3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_EFF3:
|
|
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
|
|
jsr $EF42 ; CPU:$EFF9 PRG:2FF9 20 42 EF
|
|
bpl Label_F014 ; CPU:$EFFC PRG:2FFC 10 16
|
|
lda $03A6,x ; CPU:$EFFE PRG:2FFE BD A6 03
|
|
cmp #$C0 ; CPU:$F001 PRG:3001 C9 C0
|
|
bne Label_F015 ; CPU:$F003 PRG:3003 D0 10
|
|
lda #$04 ; CPU:$F005 PRG:3005 A9 04
|
|
sta ZpFE ; CPU:$F007 PRG:3007 85 FE
|
|
lsr a ; CPU:$F009 PRG:3009 4A
|
|
sta Zp91,x ; CPU:$F00A PRG:300A 95 91
|
|
lda #$00 ; CPU:$F00C PRG:300C A9 00
|
|
sta $03D2,x ; CPU:$F00E PRG:300E 9D D2 03
|
|
sta $0382,x ; CPU:$F011 PRG:3011 9D 82 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F014
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F014:
|
|
rts ; CPU:$F014 PRG:3014 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F015
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F015:
|
|
lda ZpB2,x ; CPU:$F015 PRG:3015 B5 B2
|
|
sta $0386,x ; CPU:$F017 PRG:3017 9D 86 03
|
|
lda ZpBD,x ; CPU:$F01A PRG:301A B5 BD
|
|
sta $0382,x ; CPU:$F01C PRG:301C 9D 82 03
|
|
lda #$C0 ; CPU:$F01F PRG:301F A9 C0
|
|
sta $03A6,x ; CPU:$F021 PRG:3021 9D A6 03
|
|
lda $EFE0,x ; CPU:$F024 PRG:3024 BD E0 EF
|
|
sta Zp48,x ; CPU:$F027 PRG:3027 95 48
|
|
jsr $EF4E ; CPU:$F029 PRG:3029 20 4E EF
|
|
jmp $EF7D ; CPU:$F02C PRG:302C 4C 7D EF
|
|
; ---- data $F02F-$F03A (12 bytes) ----
|
|
; 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F03B:
|
|
lda $0382,x ; CPU:$F03B PRG:303B BD 82 03
|
|
beq Label_F043 ; CPU:$F03E PRG:303E F0 03
|
|
jmp $F0C9 ; CPU:$F040 PRG:3040 4C C9 F0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F043
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F043:
|
|
lda Zp48,x ; CPU:$F043 PRG:3043 B5 48
|
|
bne Label_F014 ; CPU:$F045 PRG:3045 D0 CD
|
|
lda Zp16,x ; CPU:$F047 PRG:3047 B5 16
|
|
and #$01 ; CPU:$F049 PRG:3049 29 01
|
|
bne Label_F04F ; CPU:$F04B PRG:304B D0 02
|
|
lda #$FF ; CPU:$F04D PRG:304D A9 FF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F04F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F04F:
|
|
sta ZpBD,x ; CPU:$F04F PRG:304F 95 BD
|
|
sta Zp9C,x ; CPU:$F051 PRG:3051 95 9C
|
|
txa ; CPU:$F053 PRG:3053 8A
|
|
sec ; CPU:$F054 PRG:3054 38
|
|
sbc #$02 ; CPU:$F055 PRG:3055 E9 02
|
|
sta 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 PtrLo ; CPU:$F060 PRG:3060 65 00
|
|
tay ; CPU:$F062 PRG:3062 A8
|
|
lda $F02F,y ; CPU:$F063 PRG:3063 B9 2F F0
|
|
cpy #$0B ; CPU:$F066 PRG:3066 C0 0B
|
|
bne Label_F075 ; CPU:$F068 PRG:3068 D0 0B
|
|
cmp #$07 ; CPU:$F06A PRG:306A C9 07
|
|
bne Label_F075 ; CPU:$F06C PRG:306C D0 07
|
|
lda Zp19 ; CPU:$F06E PRG:306E A5 19
|
|
and #$01 ; CPU:$F070 PRG:3070 29 01
|
|
clc ; CPU:$F072 PRG:3072 18
|
|
adc #$07 ; CPU:$F073 PRG:3073 69 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F075
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F075:
|
|
cmp $0786 ; CPU:$F075 PRG:3075 CD 86 07
|
|
beq Label_F07F ; CPU:$F078 PRG:3078 F0 05
|
|
cmp $0787 ; CPU:$F07A PRG:307A CD 87 07
|
|
bne Label_F092 ; CPU:$F07D PRG:307D D0 13
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F07F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F07F:
|
|
clc ; CPU:$F07F PRG:307F 18
|
|
adc #$01 ; CPU:$F080 PRG:3080 69 01
|
|
cmp $0786 ; CPU:$F082 PRG:3082 CD 86 07
|
|
beq Label_F0C8 ; CPU:$F085 PRG:3085 F0 41
|
|
cmp $0787 ; CPU:$F087 PRG:3087 CD 87 07
|
|
beq Label_F0C8 ; 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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F092
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F092:
|
|
cmp #$09 ; CPU:$F092 PRG:3092 C9 09
|
|
bcs Label_F0C8 ; CPU:$F094 PRG:3094 B0 32
|
|
sta PtrLo ; CPU:$F096 PRG:3096 85 00
|
|
lda Zp90 ; CPU:$F098 PRG:3098 A5 90
|
|
sec ; CPU:$F09A PRG:309A 38
|
|
sbc #$04 ; CPU:$F09B PRG:309B E9 04
|
|
cmp PtrLo ; CPU:$F09D PRG:309D C5 00
|
|
bcs Label_F0C8 ; CPU:$F09F PRG:309F B0 27
|
|
lda PtrLo ; CPU:$F0A1 PRG:30A1 A5 00
|
|
sta ZpB2,x ; CPU:$F0A3 PRG:30A3 95 B2
|
|
lda #$FF ; CPU:$F0A5 PRG:30A5 A9 FF
|
|
sta Zp91,x ; CPU:$F0A7 PRG:30A7 95 91
|
|
sta $03D2,x ; CPU:$F0A9 PRG:30A9 9D D2 03
|
|
lda Zp56 ; CPU:$F0AC PRG:30AC A5 56
|
|
and #$07 ; CPU:$F0AE PRG:30AE 29 07
|
|
tay ; CPU:$F0B0 PRG:30B0 A8
|
|
lda $EFE4,y ; CPU:$F0B1 PRG:30B1 B9 E4 EF
|
|
sta $03A6,x ; CPU:$F0B4 PRG:30B4 9D A6 03
|
|
lda #$40 ; CPU:$F0B7 PRG:30B7 A9 40
|
|
sta $03BC,x ; CPU:$F0B9 PRG:30B9 9D BC 03
|
|
lda ZpB2,x ; CPU:$F0BC PRG:30BC B5 B2
|
|
jsr $EDD5 ; CPU:$F0BE PRG:30BE 20 D5 ED
|
|
sta ZpA7,x ; CPU:$F0C1 PRG:30C1 95 A7
|
|
lda $EFE0,x ; CPU:$F0C3 PRG:30C3 BD E0 EF
|
|
sta Zp48,x ; CPU:$F0C6 PRG:30C6 95 48
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F0C8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F0C8:
|
|
rts ; CPU:$F0C8 PRG:30C8 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F0C9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F0C9:
|
|
sta ZpBD,x ; CPU:$F0C9 PRG:30C9 95 BD
|
|
sta Zp9C,x ; CPU:$F0CB PRG:30CB 95 9C
|
|
lda #$00 ; CPU:$F0CD PRG:30CD A9 00
|
|
sta $0382,x ; CPU:$F0CF PRG:30CF 9D 82 03
|
|
sta PtrLo ; CPU:$F0D2 PRG:30D2 85 00
|
|
lda $0386,x ; CPU:$F0D4 PRG:30D4 BD 86 03
|
|
jsr $F075 ; CPU:$F0D7 PRG:30D7 20 75 F0
|
|
txa ; CPU:$F0DA PRG:30DA 8A
|
|
pha ; CPU:$F0DB PRG:30DB 48
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F0DC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F0DC:
|
|
lda Zp91,x ; CPU:$F0DC PRG:30DC B5 91
|
|
sta Zp94,x ; CPU:$F0DE PRG:30DE 95 94
|
|
lda $03A6,x ; CPU:$F0E0 PRG:30E0 BD A6 03
|
|
sta $03A9,x ; CPU:$F0E3 PRG:30E3 9D A9 03
|
|
txa ; CPU:$F0E6 PRG:30E6 8A
|
|
clc ; CPU:$F0E7 PRG:30E7 18
|
|
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
|
|
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
|
|
lda #$FA ; CPU:$F0F7 PRG:30F7 A9 FA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F0F9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F0F9:
|
|
clc ; CPU:$F0F9 PRG:30F9 18
|
|
adc Zp9C,x ; CPU:$F0FA PRG:30FA 75 9C
|
|
sta Zp9F,x ; CPU:$F0FC PRG:30FC 95 9F
|
|
lda #$00 ; CPU:$F0FE PRG:30FE A9 00
|
|
sta $03B4,x ; CPU:$F100 PRG:3100 9D B4 03
|
|
sta $03BF,x ; CPU:$F103 PRG:3103 9D BF 03
|
|
rts ; CPU:$F106 PRG:3106 60
|
|
; ---- data $F107-$F10A (4 bytes) ----
|
|
.byte $10, $0E, $0C, $0C ; CPU:$F107 PRG:3107 10 0E 0C 0C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F10B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F10B:
|
|
ldx #$02 ; CPU:$F10B PRG:310B A2 02
|
|
lda Zp59 ; CPU:$F10D PRG:310D A5 59
|
|
cmp #$20 ; CPU:$F10F PRG:310F C9 20
|
|
bcs Label_F11C ; CPU:$F111 PRG:3111 B0 09
|
|
ldx Zp56 ; CPU:$F113 PRG:3113 A6 56
|
|
beq Label_F13A ; CPU:$F115 PRG:3115 F0 23
|
|
dex ; CPU:$F117 PRG:3117 CA
|
|
beq Label_F11C ; CPU:$F118 PRG:3118 F0 02
|
|
ldx #$01 ; CPU:$F11A PRG:311A A2 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F11C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F11C:
|
|
txa ; CPU:$F11C PRG:311C 8A
|
|
clc ; CPU:$F11D PRG:311D 18
|
|
adc #$18 ; CPU:$F11E PRG:311E 69 18
|
|
ora #$40 ; CPU:$F120 PRG:3120 09 40
|
|
sta $03F0,x ; CPU:$F122 PRG:3122 9D F0 03
|
|
lda ZpC5,x ; CPU:$F125 PRG:3125 B5 C5
|
|
adc #$60 ; CPU:$F127 PRG:3127 69 60
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F137:
|
|
dex ; CPU:$F137 PRG:3137 CA
|
|
bpl Label_F11C ; CPU:$F138 PRG:3138 10 E2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F13A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F13A:
|
|
rts ; CPU:$F13A PRG:313A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F13B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F13B:
|
|
jsr $C728 ; CPU:$F13B PRG:313B 20 28 C7
|
|
sta $48F1 ; CPU:$F13E PRG:313E 8D F1 48
|
|
sbc (Zp96),y ; CPU:$F141 PRG:3141 F1 96
|
|
sbc (Zp56),y ; CPU:$F143 PRG:3143 F1 56
|
|
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
|
|
.byte $2A, $29, $03, $A8, $B9, $07, $F1, $9D, $E5, $03, $B5, $AF, $29, $F8, $95, $AF ; CPU:$F179 PRG:3179 2A 29 03 A8 B9 07 F1 9D E5 03 B5 AF 29 F8 95 AF
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F19E:
|
|
jsr $F7AB ; CPU:$F19E PRG:319E 20 AB F7
|
|
asl a ; CPU:$F1A1 PRG:31A1 0A
|
|
asl a ; CPU:$F1A2 PRG:31A2 0A
|
|
sta $03CF,x ; CPU:$F1A3 PRG:31A3 9D CF 03
|
|
lda #$00 ; CPU:$F1A6 PRG:31A6 A9 00
|
|
sta $03DA,x ; CPU:$F1A8 PRG:31A8 9D DA 03
|
|
rts ; CPU:$F1AB PRG:31AB 60
|
|
; ---- data $F1AC-$F2EB (320 bytes) ----
|
|
; referenced by `cmp $F22F,x` at $F33A (operand $F22F falls inside this region)
|
|
; referenced by `lda $F25E,x` at $F34A (operand $F25E falls inside this region)
|
|
; referenced by `lda $F238,x` at $F34E (operand $F238 falls inside this region)
|
|
; referenced by `lda $F2E4,x` at $F3AB (operand $F2E4 falls inside this region)
|
|
; 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
|
|
.byte $06, $10, $08, $A9, $20, $C8, $2C, $A9, $50, $C8, $2C, $A9, $80, $95, $AF, $C8 ; CPU:$F1DC PRG:31DC 06 10 08 A9 20 C8 2C A9 50 C8 2C A9 80 95 AF C8
|
|
.byte $98, $95, $BA, $A9, $02, $95, $99, $20, $22, $F2, $10, $29, $8A, $48, $B5, $A4 ; CPU:$F1EC PRG:31EC 98 95 BA A9 02 95 99 20 22 F2 10 29 8A 48 B5 A4
|
|
.byte $85, $0E, $B5, $BA, $85, $0F, $20, $B9, $DE, $A8, $30, $13, $68, $AA, $A4, $02 ; CPU:$F1FC PRG:31FC 85 0E B5 BA 85 0F 20 B9 DE A8 30 13 68 AA A4 02
|
|
.byte $30, $13, $C0, $04, $F0, $0B, $B9, $AB, $F1, $18, $75, $AF, $95, $AF, $60, $68 ; CPU:$F20C PRG:320C 30 13 C0 04 F0 0B B9 AB F1 18 75 AF 95 AF 60 68
|
|
.byte $AA, $A9, $01, $95, $99, $60, $A0, $01, $B5, $BA, $D9, $86, $07, $F0, $03, $88 ; CPU:$F21C PRG:321C AA A9 01 95 99 60 A0 01 B5 BA D9 86 07 F0 03 88
|
|
.byte $10, $F8, $60, $0E, $39, $38, $37, $36, $1B, $1A, $19, $18, $38, $34, $5B, $5A ; CPU:$F22C PRG:322C 10 F8 60 0E 39 38 37 36 1B 1A 19 18 38 34 5B 5A
|
|
.byte $93, $91, $38, $38, $91, $3A, $33, $36, $3D, $38, $4D, $53, $53, $53, $53, $A9 ; CPU:$F23C PRG:323C 93 91 38 38 91 3A 33 36 3D 38 4D 53 53 53 53 A9
|
|
.byte $AF, $3A, $3B, $3C, $3D, $B5, $AF, $04, $00, $5D, $00, $B5, $BB, $C1, $C1, $C1 ; CPU:$F24C PRG:324C AF 3A 3B 3C 3D B5 AF 04 00 5D 00 B5 BB C1 C1 C1
|
|
.byte $C1, $C7, $0D, $13, $19, $1F, $25, $13, $19, $1F, $25, $01, $01, $01, $01, $05 ; CPU:$F25C PRG:325C C1 C7 0D 13 19 1F 25 13 19 1F 25 01 01 01 01 05
|
|
.byte $05, $05, $09, $0B, $0C, $0F, $10, $11, $13, $15, $16, $1A, $1A, $1A, $1A, $1A ; CPU:$F26C PRG:326C 05 05 09 0B 0C 0F 10 11 13 15 16 1A 1A 1A 1A 1A
|
|
.byte $1A, $1B, $1B, $1E, $1F, $1F, $20, $21, $21, $24, $24, $24, $24, $26, $29, $2A ; CPU:$F27C PRG:327C 1A 1B 1B 1E 1F 1F 20 21 21 24 24 24 24 26 29 2A
|
|
.byte $2E, $2E, $2E, $2E, $00, $A1, $A9, $B1, $D9, $66, $AD, $76, $74, $6A, $6A, $72 ; CPU:$F28C PRG:328C 2E 2E 2E 2E 00 A1 A9 B1 D9 66 AD 76 74 6A 6A 72
|
|
.byte $72, $C5, $74, $55, $AC, $AA, $B0, $67, $4D, $52, $77, $66, $F2, $8C, $69, $6F ; CPU:$F29C PRG:329C 72 C5 74 55 AC AA B0 67 4D 52 77 66 F2 8C 69 6F
|
|
.byte $70, $6E, $48, $48, $4A, $71, $53, $4C, $6E, $AD, $0C, $51, $A6, $B4, $FF, $FF ; CPU:$F2AC PRG:32AC 70 6E 48 48 4A 71 53 4C 6E AD 0C 51 A6 B4 FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $1B, $0A, $41, $0B, $D4, $9E, $02, $88, $D8, $02, $02 ; CPU:$F2BC PRG:32BC FF FF FF FF FF 1B 0A 41 0B D4 9E 02 88 D8 02 02
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F2EC:
|
|
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
|
|
lda Zp8D ; CPU:$F2F3 PRG:32F3 A5 8D
|
|
tay ; CPU:$F2F5 PRG:32F5 A8
|
|
beq Label_F35A ; CPU:$F2F6 PRG:32F6 F0 62
|
|
cmp #$01 ; CPU:$F2F8 PRG:32F8 C9 01
|
|
beq Label_F305 ; CPU:$F2FA PRG:32FA F0 09
|
|
cmp #$3E ; CPU:$F2FC PRG:32FC C9 3E
|
|
bcc Label_F32E ; CPU:$F2FE PRG:32FE 90 2E
|
|
lda #$00 ; CPU:$F300 PRG:3300 A9 00
|
|
sta Zp8D ; CPU:$F302 PRG:3302 85 8D
|
|
rts ; CPU:$F304 PRG:3304 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F305
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F305:
|
|
lda #$FF ; CPU:$F305 PRG:3305 A9 FF
|
|
ldx #$77 ; CPU:$F307 PRG:3307 A2 77
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F309
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F309:
|
|
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
|
|
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
|
|
lda #$D8 ; CPU:$F317 PRG:3317 A9 D8
|
|
sta $034A ; CPU:$F319 PRG:3319 8D 4A 03
|
|
jsr $F45B ; CPU:$F31C PRG:331C 20 5B F4
|
|
lda Zp59 ; CPU:$F31F PRG:331F A5 59
|
|
and #$07 ; CPU:$F321 PRG:3321 29 07
|
|
tax ; CPU:$F323 PRG:3323 AA
|
|
lda #$00 ; CPU:$F324 PRG:3324 A9 00
|
|
sec ; CPU:$F326 PRG:3326 38
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F327
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F327:
|
|
ror a ; CPU:$F327 PRG:3327 6A
|
|
dex ; CPU:$F328 PRG:3328 CA
|
|
bpl Label_F327 ; CPU:$F329 PRG:3329 10 FC
|
|
sta $0345 ; CPU:$F32B PRG:332B 8D 45 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F32E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F32E:
|
|
jsr $F35B ; CPU:$F32E PRG:332E 20 5B F3
|
|
jsr $F3D2 ; CPU:$F331 PRG:3331 20 D2 F3
|
|
inc Zp8D ; CPU:$F334 PRG:3334 E6 8D
|
|
lda Zp8D ; CPU:$F336 PRG:3336 A5 8D
|
|
ldx #$08 ; CPU:$F338 PRG:3338 A2 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F33A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F33A:
|
|
cmp $F22F,x ; CPU:$F33A PRG:333A DD 2F F2
|
|
beq Label_F343 ; CPU:$F33D PRG:333D F0 04
|
|
dex ; CPU:$F33F PRG:333F CA
|
|
bpl Label_F33A ; CPU:$F340 PRG:3340 10 F8
|
|
rts ; CPU:$F342 PRG:3342 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F343
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F343:
|
|
ldy #$15 ; CPU:$F343 PRG:3343 A0 15
|
|
txa ; CPU:$F345 PRG:3345 8A
|
|
beq Label_F34A ; CPU:$F346 PRG:3346 F0 02
|
|
ldy #$06 ; CPU:$F348 PRG:3348 A0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F34A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F34A:
|
|
lda $F25E,x ; CPU:$F34A PRG:334A BD 5E F2
|
|
tax ; CPU:$F34D PRG:334D AA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F34E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F34E:
|
|
lda $F238,x ; CPU:$F34E PRG:334E BD 38 F2
|
|
sta $0305,y ; CPU:$F351 PRG:3351 99 05 03
|
|
dex ; CPU:$F354 PRG:3354 CA
|
|
bmi Label_F35A ; CPU:$F355 PRG:3355 30 03
|
|
dey ; CPU:$F357 PRG:3357 88
|
|
bne Label_F34E ; CPU:$F358 PRG:3358 D0 F4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F35A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F35A:
|
|
rts ; CPU:$F35A PRG:335A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F35B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F35B:
|
|
lda #$38 ; CPU:$F35B PRG:335B A9 38
|
|
bit $90A9 ; CPU:$F35D PRG:335D 2C A9 90
|
|
ldy #$1F ; CPU:$F360 PRG:3360 A0 1F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F362
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F362:
|
|
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
|
|
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
|
|
sta $0301 ; CPU:$F370 PRG:3370 8D 01 03
|
|
lda $0348 ; CPU:$F373 PRG:3373 AD 48 03
|
|
sta $0302 ; CPU:$F376 PRG:3376 8D 02 03
|
|
lda #$20 ; CPU:$F379 PRG:3379 A9 20
|
|
sta $0303 ; CPU:$F37B PRG:337B 8D 03 03
|
|
lda #$00 ; CPU:$F37E PRG:337E A9 00
|
|
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
|
|
dey ; CPU:$F389 PRG:3389 88
|
|
tya ; CPU:$F38A PRG:338A 98
|
|
ldy #$00 ; CPU:$F38B PRG:338B A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F38D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F38D:
|
|
sec ; CPU:$F38D PRG:338D 38
|
|
sbc #$07 ; CPU:$F38E PRG:338E E9 07
|
|
bcc Label_F395 ; CPU:$F390 PRG:3390 90 03
|
|
iny ; CPU:$F392 PRG:3392 C8
|
|
bcs Label_F38D ; CPU:$F393 PRG:3393 B0 F8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F395
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F395:
|
|
tya ; CPU:$F395 PRG:3395 98
|
|
sta PtrLo ; CPU:$F396 PRG:3396 85 00
|
|
eor #$FF ; CPU:$F398 PRG:3398 49 FF
|
|
sec ; CPU:$F39A PRG:339A 38
|
|
adc #$1D ; CPU:$F39B PRG:339B 69 1D
|
|
pha ; CPU:$F39D PRG:339D 48
|
|
tay ; CPU:$F39E PRG:339E A8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F39F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F39F:
|
|
ldx #$04 ; CPU:$F39F PRG:339F A2 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F3A1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F3A1:
|
|
rol Zp19,x ; CPU:$F3A1 PRG:33A1 36 19
|
|
dex ; CPU:$F3A3 PRG:33A3 CA
|
|
bpl Label_F3A1 ; CPU:$F3A4 PRG:33A4 10 FB
|
|
lda Zp19 ; CPU:$F3A6 PRG:33A6 A5 19
|
|
and #$07 ; CPU:$F3A8 PRG:33A8 29 07
|
|
tax ; CPU:$F3AA PRG:33AA AA
|
|
lda $F2E4,x ; CPU:$F3AB PRG:33AB BD E4 F2
|
|
sta $0304,y ; CPU:$F3AE PRG:33AE 99 04 03
|
|
dey ; CPU:$F3B1 PRG:33B1 88
|
|
cpy 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 PtrLo ; CPU:$F3BB PRG:33BB A4 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F3BD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F3BD:
|
|
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
|
|
lda #$55 ; CPU:$F3C3 PRG:33C3 A9 55
|
|
; ---- data $F3C5-$F3C5 (1 bytes) ----
|
|
.byte $2C ; CPU:$F3C5 PRG:33C5 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F3C6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F3C6:
|
|
lda #$58 ; CPU:$F3C6 PRG:33C6 A9 58
|
|
sta $0304,y ; CPU:$F3C8 PRG:33C8 99 04 03
|
|
sta $0305,y ; CPU:$F3CB PRG:33CB 99 05 03
|
|
sta $0306,y ; CPU:$F3CE PRG:33CE 99 06 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F3D1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F3D1:
|
|
rts ; CPU:$F3D1 PRG:33D1 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F3D2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F3D2:
|
|
ldy $0346 ; CPU:$F3D2 PRG:33D2 AC 46 03
|
|
lda $F2BA,y ; CPU:$F3D5 PRG:33D5 B9 BA F2
|
|
and $0345 ; CPU:$F3D8 PRG:33D8 2D 45 03
|
|
beq Label_F430 ; CPU:$F3DB PRG:33DB F0 53
|
|
lda $F267,y ; CPU:$F3DD PRG:33DD B9 67 F2
|
|
cmp Zp8D ; CPU:$F3E0 PRG:33E0 C5 8D
|
|
bne Label_F436 ; CPU:$F3E2 PRG:33E2 D0 52
|
|
lda $F291,y ; CPU:$F3E4 PRG:33E4 B9 91 F2
|
|
pha ; CPU:$F3E7 PRG:33E7 48
|
|
and #$1F ; CPU:$F3E8 PRG:33E8 29 1F
|
|
tay ; CPU:$F3EA PRG:33EA A8
|
|
pla ; CPU:$F3EB PRG:33EB 68
|
|
lsr a ; CPU:$F3EC PRG:33EC 4A
|
|
lsr a ; CPU:$F3ED PRG:33ED 4A
|
|
lsr a ; CPU:$F3EE PRG:33EE 4A
|
|
lsr a ; CPU:$F3EF PRG:33EF 4A
|
|
lsr a ; CPU:$F3F0 PRG:33F0 4A
|
|
tax ; CPU:$F3F1 PRG:33F1 AA
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F3F8:
|
|
sta $0304,y ; CPU:$F3F8 PRG:33F8 99 04 03
|
|
iny ; CPU:$F3FB PRG:33FB C8
|
|
dex ; CPU:$F3FC PRG:33FC CA
|
|
bpl Label_F3F8 ; CPU:$F3FD PRG:33FD 10 F9
|
|
ldy $0347 ; CPU:$F3FF PRG:33FF AC 47 03
|
|
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
|
|
asl a ; CPU:$F407 PRG:3407 0A
|
|
sta $0668,y ; CPU:$F408 PRG:3408 99 68 06
|
|
pla ; CPU:$F40B PRG:340B 68
|
|
sec ; CPU:$F40C PRG:340C 38
|
|
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
|
|
sta $0686,y ; CPU:$F412 PRG:3412 99 86 06
|
|
lda $034A ; CPU:$F415 PRG:3415 AD 4A 03
|
|
sta $06A4,y ; CPU:$F418 PRG:3418 99 A4 06
|
|
clc ; CPU:$F41B PRG:341B 18
|
|
adc #$03 ; CPU:$F41C PRG:341C 69 03
|
|
sta $06C2,y ; CPU:$F41E PRG:341E 99 C2 06
|
|
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
|
|
rol a ; CPU:$F429 PRG:3429 2A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F42A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F42A:
|
|
sta $06E0,y ; CPU:$F42A PRG:342A 99 E0 06
|
|
inc $0347 ; CPU:$F42D PRG:342D EE 47 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F430
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F430:
|
|
inc $0346 ; CPU:$F430 PRG:3430 EE 46 03
|
|
jmp $F3D2 ; CPU:$F433 PRG:3433 4C D2 F3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F436
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F436:
|
|
lda $034A ; CPU:$F436 PRG:3436 AD 4A 03
|
|
sec ; CPU:$F439 PRG:3439 38
|
|
sbc #$08 ; CPU:$F43A PRG:343A E9 08
|
|
sta $034A ; CPU:$F43C PRG:343C 8D 4A 03
|
|
lda $0348 ; CPU:$F43F PRG:343F AD 48 03
|
|
sec ; CPU:$F442 PRG:3442 38
|
|
sbc #$20 ; CPU:$F443 PRG:3443 E9 20
|
|
sta $0348 ; CPU:$F445 PRG:3445 8D 48 03
|
|
lda $0349 ; CPU:$F448 PRG:3448 AD 49 03
|
|
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
|
|
cmp #$27 ; CPU:$F454 PRG:3454 C9 27
|
|
bne Label_F465 ; CPU:$F456 PRG:3456 D0 0D
|
|
lda #$23 ; CPU:$F458 PRG:3458 A9 23
|
|
; ---- data $F45A-$F45A (1 bytes) ----
|
|
.byte $2C ; CPU:$F45A PRG:345A 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F45B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F45B:
|
|
lda #$2B ; CPU:$F45B PRG:345B A9 2B
|
|
sta $0349 ; CPU:$F45D PRG:345D 8D 49 03
|
|
lda #$A0 ; CPU:$F460 PRG:3460 A9 A0
|
|
sta $0348 ; CPU:$F462 PRG:3462 8D 48 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F465
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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
|
|
.byte $4C, $3B, $F6, $B5, $37, $D0, $03, $20, $04, $F5, $B5, $66, $85, $01, $B5, $6A ; CPU:$F496 PRG:3496 4C 3B F6 B5 37 D0 03 20 04 F5 B5 66 85 01 B5 6A
|
|
.byte $15, $6C, $48, $C9, $01, $D0, $1C, $A5, $01, $C9, $3F, $D0, $04, $A9, $04, $85 ; CPU:$F4A6 PRG:34A6 15 6C 48 C9 01 D0 1C A5 01 C9 3F D0 04 A9 04 85
|
|
.byte $FF, $A9, $00, $95, $2F, $8A, $20, $3D, $C8, $A5, $01, $C9, $3F, $90, $02, $A9 ; CPU:$F4B6 PRG:34B6 FF A9 00 95 2F 8A 20 3D C8 A5 01 C9 3F 90 02 A9
|
|
.byte $3F, $95, $66, $68, $48, $A8, $B9, $66, $F4, $85, $02, $BD, $6A, $F4, $85, $00 ; CPU:$F4C6 PRG:34C6 3F 95 66 68 48 A8 B9 66 F4 85 02 BD 6A F4 85 00
|
|
.byte $85, $0E, $A9, $00, $85, $0F, $8A, $48, $A8, $C8, $20, $FC, $EA, $68, $AA, $68 ; CPU:$F4D6 PRG:34D6 85 0E A9 00 85 0F 8A 48 A8 C8 20 FC EA 68 AA 68
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F504:
|
|
ldy Zp6A,x ; CPU:$F504 PRG:3504 B4 6A
|
|
lda $F46C,y ; CPU:$F506 PRG:3506 B9 6C F4
|
|
sta Zp37,x ; CPU:$F509 PRG:3509 95 37
|
|
lda Zp6C,x ; CPU:$F50B PRG:350B B5 6C
|
|
eor #$01 ; CPU:$F50D PRG:350D 49 01
|
|
sta Zp6C,x ; CPU:$F50F PRG:350F 95 6C
|
|
bne Label_F517 ; CPU:$F511 PRG:3511 D0 04
|
|
lda #$08 ; CPU:$F513 PRG:3513 A9 08
|
|
sta ZpFF ; CPU:$F515 PRG:3515 85 FF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F517
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F517:
|
|
lda #$00 ; CPU:$F517 PRG:3517 A9 00
|
|
sta ZpE0,x ; CPU:$F519 PRG:3519 95 E0
|
|
rts ; CPU:$F51B PRG:351B 60
|
|
; ---- data $F51C-$F523 (8 bytes) ----
|
|
; 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F524:
|
|
ldx Zp1E ; CPU:$F524 PRG:3524 A6 1E
|
|
beq Label_F537 ; CPU:$F526 PRG:3526 F0 0F
|
|
ldy $F51B,x ; CPU:$F528 PRG:3528 BC 1B F5
|
|
ldx #$05 ; CPU:$F52B PRG:352B A2 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F52D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F52D:
|
|
lda $F51E,x ; CPU:$F52D PRG:352D BD 1E F5
|
|
sta $0400,y ; CPU:$F530 PRG:3530 99 00 04
|
|
dey ; CPU:$F533 PRG:3533 88
|
|
dex ; CPU:$F534 PRG:3534 CA
|
|
bpl Label_F52D ; CPU:$F535 PRG:3535 10 F6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F537
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F537:
|
|
rts ; CPU:$F537 PRG:3537 60
|
|
; ---- data $F538-$F563 (44 bytes) ----
|
|
; referenced by `lda $F538,y` at $F566 (operand $F538 falls inside this region)
|
|
.byte $22, $93, $02, $20, $73, $02, $A4, $59, $88, $A5, $14, $29, $0F, $F0, $19, $29 ; CPU:$F538 PRG:3538 22 93 02 20 73 02 A4 59 88 A5 14 29 0F F0 19 29
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F564:
|
|
ldx #$02 ; CPU:$F564 PRG:3564 A2 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F566
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F566:
|
|
lda $F538,y ; CPU:$F566 PRG:3566 B9 38 F5
|
|
sta $0301,x ; CPU:$F569 PRG:3569 9D 01 03
|
|
dey ; CPU:$F56C PRG:356C 88
|
|
dex ; CPU:$F56D PRG:356D CA
|
|
bpl Label_F566 ; CPU:$F56E PRG:356E 10 F6
|
|
inx ; CPU:$F570 PRG:3570 E8
|
|
stx $0306 ; CPU:$F571 PRG:3571 8E 06 03
|
|
ldy Zp59 ; CPU:$F574 PRG:3574 A4 59
|
|
iny ; CPU:$F576 PRG:3576 C8
|
|
tya ; CPU:$F577 PRG:3577 98
|
|
jsr $EA4A ; CPU:$F578 PRG:3578 20 4A EA
|
|
sty $0304 ; CPU:$F57B PRG:357B 8C 04 03
|
|
sta $0305 ; CPU:$F57E PRG:357E 8D 05 03
|
|
rts ; CPU:$F581 PRG:3581 60
|
|
; ---- data $F582-$F585 (4 bytes) ----
|
|
; 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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F586:
|
|
ldx Zp1E ; CPU:$F586 PRG:3586 A6 1E
|
|
beq Label_F5C4 ; CPU:$F588 PRG:3588 F0 3A
|
|
lda #$21 ; CPU:$F58A PRG:358A A9 21
|
|
sta $0301 ; CPU:$F58C PRG:358C 8D 01 03
|
|
lda #$48 ; CPU:$F58F PRG:358F A9 48
|
|
clc ; CPU:$F591 PRG:3591 18
|
|
adc $F583,x ; CPU:$F592 PRG:3592 7D 83 F5
|
|
sta $0302 ; CPU:$F595 PRG:3595 8D 02 03
|
|
lda #$05 ; CPU:$F598 PRG:3598 A9 05
|
|
sta $0303 ; CPU:$F59A PRG:359A 8D 03 03
|
|
jsr $EA55 ; CPU:$F59D PRG:359D 20 55 EA
|
|
ldx Zp1E ; CPU:$F5A0 PRG:35A0 A6 1E
|
|
ldy $F581,x ; CPU:$F5A2 PRG:35A2 BC 81 F5
|
|
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
|
|
ldy #$38 ; CPU:$F5AF PRG:35AF A0 38
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F5B1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F5B1:
|
|
sty $0304 ; CPU:$F5B1 PRG:35B1 8C 04 03
|
|
sta $0305 ; CPU:$F5B4 PRG:35B4 8D 05 03
|
|
ldx #$03 ; CPU:$F5B7 PRG:35B7 A2 03
|
|
lda #$00 ; CPU:$F5B9 PRG:35B9 A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F5BB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F5BB:
|
|
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
|
|
jsr $C14E ; CPU:$F5C1 PRG:35C1 20 4E C1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F5C4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F5C4:
|
|
ldy #$05 ; CPU:$F5C4 PRG:35C4 A0 05
|
|
jmp $F564 ; CPU:$F5C6 PRG:35C6 4C 64 F5
|
|
; ---- data $F5C9-$F62F (103 bytes) ----
|
|
; referenced by `lda $F5D3,y` at $F660 (operand $F5D3 falls inside this region)
|
|
; referenced by `lda $F609,y` at $F671 (operand $F609 falls inside this region)
|
|
; referenced by `lda $F5F9,x` at $F693 (operand $F5F9 falls inside this region)
|
|
MusicChannelData2: ; Music channel data 2 (SubCF586/SubCF64C)
|
|
.byte $52, $70, $AE, $B6, $BA, $C2, $C6, $CA, $BE, $FA, $30, $13, $01, $30, $16, $19 ; CPU:$F5C9 PRG:35C9 52 70 AE B6 BA C2 C6 CA BE FA 30 13 01 30 16 19
|
|
.byte $30, $39, $29, $30, $3A, $1A, $29, $26, $07, $30, $16, $19, $30, $16, $26, $30 ; CPU:$F5D9 PRG:35D9 30 39 29 30 3A 1A 29 26 07 30 16 19 30 16 26 30
|
|
.byte $17, $29, $30, $17, $06, $30, $17, $06, $30, $16, $27, $30, $11, $26, $30, $15 ; CPU:$F5E9 PRG:35E9 17 29 30 17 06 30 17 06 30 16 27 30 11 26 30 15
|
|
.byte $26, $30, $21, $26, $30, $25, $26, $27, $17, $07, $18, $10, $14, $10, $14, $1C ; CPU:$F5F9 PRG:35F9 26 30 21 26 30 25 26 27 17 07 18 10 14 10 14 1C
|
|
.byte $3F, $1C, $04, $0F, $F0, $F0, $20, $3B, $F6, $A5, $55, $29, $01, $45, $51, $AA ; CPU:$F609 PRG:3609 3F 1C 04 0F F0 F0 20 3B F6 A5 55 29 01 45 51 AA
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F630:
|
|
lda ZpD5 ; CPU:$F630 PRG:3630 A5 D5
|
|
sta Zp0F ; CPU:$F632 PRG:3632 85 0F
|
|
lda #$01 ; CPU:$F634 PRG:3634 A9 01
|
|
sta Zp0E ; CPU:$F636 PRG:3636 85 0E
|
|
jmp $EAFC ; CPU:$F638 PRG:3638 4C FC EA
|
|
; ---- data $F63B-$F64B (17 bytes) ----
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F64C:
|
|
stx Zp0F ; CPU:$F64C PRG:364C 86 0F
|
|
txa ; CPU:$F64E PRG:364E 8A
|
|
asl a ; CPU:$F64F PRG:364F 0A
|
|
clc ; CPU:$F650 PRG:3650 18
|
|
adc Zp0F ; CPU:$F651 PRG:3651 65 0F
|
|
tay ; CPU:$F653 PRG:3653 A8
|
|
ldx $0300 ; CPU:$F654 PRG:3654 AE 00 03
|
|
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 PtrLo ; CPU:$F65E PRG:365E 85 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F660
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F660:
|
|
lda $F5D3,y ; CPU:$F660 PRG:3660 B9 D3 F5
|
|
sta $0305,x ; CPU:$F663 PRG:3663 9D 05 03
|
|
iny ; CPU:$F666 PRG:3666 C8
|
|
inx ; CPU:$F667 PRG:3667 E8
|
|
dec PtrLo ; CPU:$F668 PRG:3668 C6 00
|
|
bne Label_F660 ; CPU:$F66A PRG:366A D0 F4
|
|
ldx $0300 ; CPU:$F66C PRG:366C AE 00 03
|
|
ldy #$00 ; CPU:$F66F PRG:366F A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F671
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F671:
|
|
lda $F609,y ; CPU:$F671 PRG:3671 B9 09 F6
|
|
sta $0301,x ; CPU:$F674 PRG:3674 9D 01 03
|
|
inx ; CPU:$F677 PRG:3677 E8
|
|
iny ; CPU:$F678 PRG:3678 C8
|
|
cpy #$04 ; CPU:$F679 PRG:3679 C0 04
|
|
bne Label_F671 ; CPU:$F67B PRG:367B D0 F4
|
|
rts ; CPU:$F67D PRG:367D 60
|
|
; ---- data $F67E-$F690 (19 bytes) ----
|
|
MusicChannelData3: ; Music channel data 3 (SubCF64C)
|
|
.byte $A5, $D6, $18, $69, $0A, $8D, $FC, $05, $A5, $D7, $18, $69, $0E, $8D, $FD, $05 ; CPU:$F67E PRG:367E A5 D6 18 69 0A 8D FC 05 A5 D7 18 69 0E 8D FD 05
|
|
.byte $4C, $24, $F6 ; CPU:$F68E PRG:368E 4C 24 F6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F691
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F691:
|
|
tya ; CPU:$F691 PRG:3691 98
|
|
pha ; CPU:$F692 PRG:3692 48
|
|
lda $F5F9,x ; CPU:$F693 PRG:3693 BD F9 F5
|
|
pha ; CPU:$F696 PRG:3696 48
|
|
jsr $F64C ; CPU:$F697 PRG:3697 20 4C F6
|
|
pla ; CPU:$F69A PRG:369A 68
|
|
ldy $0300 ; CPU:$F69B PRG:369B AC 00 03
|
|
sta $0302,y ; CPU:$F69E PRG:369E 99 02 03
|
|
pla ; CPU:$F6A1 PRG:36A1 68
|
|
tay ; CPU:$F6A2 PRG:36A2 A8
|
|
rts ; CPU:$F6A3 PRG:36A3 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F6A4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F6A4:
|
|
lda Zp3B ; CPU:$F6A4 PRG:36A4 A5 3B
|
|
bne Label_F6DA ; CPU:$F6A6 PRG:36A6 D0 32
|
|
lda $07FA ; CPU:$F6A8 PRG:36A8 AD FA 07
|
|
ora $07FB ; CPU:$F6AB PRG:36AB 0D FB 07
|
|
beq Label_F6DB ; CPU:$F6AE PRG:36AE F0 2B
|
|
lda #$02 ; CPU:$F6B0 PRG:36B0 A9 02
|
|
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
|
|
lda #$11 ; CPU:$F6BB PRG:36BB A9 11
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F6BD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
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 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
|
|
jsr $C8E0 ; CPU:$F6CB PRG:36CB 20 E0 C8
|
|
lda #$5D ; CPU:$F6CE PRG:36CE A9 5D
|
|
sta $0306 ; CPU:$F6D0 PRG:36D0 8D 06 03
|
|
sta $030D ; CPU:$F6D3 PRG:36D3 8D 0D 03
|
|
lda #$06 ; CPU:$F6D6 PRG:36D6 A9 06
|
|
sta Zp3B ; CPU:$F6D8 PRG:36D8 85 3B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F6DA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F6DA:
|
|
rts ; CPU:$F6DA PRG:36DA 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F6DB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F6DB:
|
|
sta Zp1E ; CPU:$F6DB PRG:36DB 85 1E
|
|
lda #$06 ; CPU:$F6DD PRG:36DD A9 06
|
|
sta Zp6A ; CPU:$F6DF PRG:36DF 85 6A
|
|
lda #$0A ; CPU:$F6E1 PRG:36E1 A9 0A
|
|
sta Zp4D ; CPU:$F6E3 PRG:36E3 85 4D
|
|
lda #$80 ; CPU:$F6E5 PRG:36E5 A9 80
|
|
sta ZpFB ; CPU:$F6E7 PRG:36E7 85 FB
|
|
rts ; CPU:$F6E9 PRG:36E9 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F6EA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; 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
|
|
tya ; CPU:$F6EC PRG:36EC 98
|
|
tya ; CPU:$F6ED PRG:36ED 98
|
|
rts ; CPU:$F6EE PRG:36EE 60
|
|
; ---- data $F6EF-$F71C (46 bytes) ----
|
|
MusicChannelData4: ; Music channel data 4 (SubCF6EA)
|
|
.byte $A0, $30, $C0, $A2, $0A, $A9, $00, $95, $91, $E0, $04, $B0, $1D, $BD, $EE, $F6 ; CPU:$F6EF PRG:36EF A0 30 C0 A2 0A A9 00 95 91 E0 04 B0 1D BD EE F6
|
|
.byte $95, $9F, $BD, $EA, $F6, $95, $AA, $A9, $FF, $95, $94, $95, $C0, $AD, $FE, $05 ; CPU:$F6FF PRG:36FF 95 9F BD EA F6 95 AA A9 FF 95 94 95 C0 AD FE 05
|
|
.byte $9D, $E0, $03, $8A, $18, $69, $4F, $9D, $EB, $03, $CA, $10, $D8, $60 ; CPU:$F70F PRG:370F 9D E0 03 8A 18 69 4F 9D EB 03 CA 10 D8 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F71D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F71D:
|
|
ldx #$03 ; CPU:$F71D PRG:371D A2 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F71F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F71F:
|
|
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
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F72C:
|
|
dex ; CPU:$F72C PRG:372C CA
|
|
bpl Label_F71F ; CPU:$F72D PRG:372D 10 F0
|
|
rts ; CPU:$F72F PRG:372F 60
|
|
; ---- data $F730-$F736 (7 bytes) ----
|
|
; referenced by `lda $F730,y` at $F751 (operand $F730 falls inside this region)
|
|
; referenced by `lda $F733,x` at $F77D (operand $F733 falls inside this region)
|
|
.byte $3E, $46, $46, $50, $51, $4E, $4F ; CPU:$F730 PRG:3730 3E 46 46 50 51 4E 4F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F737
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F737:
|
|
inc ZpD3 ; CPU:$F737 PRG:3737 E6 D3
|
|
lda ZpD3 ; CPU:$F739 PRG:3739 A5 D3
|
|
cmp #$08 ; CPU:$F73B PRG:373B C9 08
|
|
bcc Label_F74F ; CPU:$F73D PRG:373D 90 10
|
|
lda #$00 ; CPU:$F73F PRG:373F A9 00
|
|
sta ZpD3 ; CPU:$F741 PRG:3741 85 D3
|
|
inc ZpD4 ; CPU:$F743 PRG:3743 E6 D4
|
|
lda ZpD4 ; CPU:$F745 PRG:3745 A5 D4
|
|
cmp #$03 ; CPU:$F747 PRG:3747 C9 03
|
|
bcc Label_F74F ; CPU:$F749 PRG:3749 90 04
|
|
lda #$00 ; CPU:$F74B PRG:374B A9 00
|
|
sta ZpD4 ; CPU:$F74D PRG:374D 85 D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F74F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F74F:
|
|
ldy ZpD4 ; CPU:$F74F PRG:374F A4 D4
|
|
lda $F730,y ; CPU:$F751 PRG:3751 B9 30 F7
|
|
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 PtrLo ; CPU:$F75A PRG:375A 85 00
|
|
lda ZpD7 ; CPU:$F75C PRG:375C A5 D7
|
|
sta PtrHi ; CPU:$F75E PRG:375E 85 01
|
|
jsr $F630 ; CPU:$F760 PRG:3760 20 30 F6
|
|
lda ZpD4 ; CPU:$F763 PRG:3763 A5 D4
|
|
cmp #$02 ; CPU:$F765 PRG:3765 C9 02
|
|
bne Label_F78A ; CPU:$F767 PRG:3767 D0 21
|
|
ldy #$0C ; CPU:$F769 PRG:3769 A0 0C
|
|
ldx #$03 ; CPU:$F76B PRG:376B A2 03
|
|
lda ZpD5 ; CPU:$F76D PRG:376D A5 D5
|
|
bne Label_F773 ; CPU:$F76F PRG:376F D0 02
|
|
ldx #$51 ; CPU:$F771 PRG:3771 A2 51
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F773
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F773:
|
|
lda ZpD5 ; CPU:$F773 PRG:3773 A5 D5
|
|
bne Label_F77D ; CPU:$F775 PRG:3775 D0 06
|
|
txa ; CPU:$F777 PRG:3777 8A
|
|
sta $0251,y ; CPU:$F778 PRG:3778 99 51 02
|
|
bne Label_F783 ; CPU:$F77B PRG:377B D0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F77D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F77D:
|
|
lda $F733,x ; CPU:$F77D PRG:377D BD 33 F7
|
|
sta $0241,y ; CPU:$F780 PRG:3780 99 41 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F783
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F783:
|
|
dex ; CPU:$F783 PRG:3783 CA
|
|
dey ; CPU:$F784 PRG:3784 88
|
|
dey ; CPU:$F785 PRG:3785 88
|
|
dey ; CPU:$F786 PRG:3786 88
|
|
dey ; CPU:$F787 PRG:3787 88
|
|
bpl Label_F773 ; CPU:$F788 PRG:3788 10 E9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F78A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F78A:
|
|
rts ; CPU:$F78A PRG:378A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F78B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F78B:
|
|
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
|
|
lda #$01 ; CPU:$F791 PRG:3791 A9 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F793
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F793:
|
|
clc ; CPU:$F793 PRG:3793 18
|
|
adc ZpD6 ; CPU:$F794 PRG:3794 65 D6
|
|
sta ZpD6 ; CPU:$F796 PRG:3796 85 D6
|
|
cmp #$60 ; CPU:$F798 PRG:3798 C9 60
|
|
bne Label_F7A2 ; CPU:$F79A PRG:379A D0 06
|
|
lda Zp19 ; CPU:$F79C PRG:379C A5 19
|
|
and #$01 ; CPU:$F79E PRG:379E 29 01
|
|
sta ZpD5 ; CPU:$F7A0 PRG:37A0 85 D5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F7A2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F7A2:
|
|
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
|
|
jmp $F737 ; CPU:$F7A8 PRG:37A8 4C 37 F7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F7AB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F7AB:
|
|
lda Zp56 ; CPU:$F7AB PRG:37AB A5 56
|
|
and #$3C ; CPU:$F7AD PRG:37AD 29 3C
|
|
eor #$3C ; CPU:$F7AF PRG:37AF 49 3C
|
|
asl a ; CPU:$F7B1 PRG:37B1 0A
|
|
asl a ; CPU:$F7B2 PRG:37B2 0A
|
|
ora #$0F ; CPU:$F7B3 PRG:37B3 09 0F
|
|
and Zp18,x ; CPU:$F7B5 PRG:37B5 35 18
|
|
rts ; CPU:$F7B7 PRG:37B7 60
|
|
; ---- data $F7B8-$F80B (84 bytes) ----
|
|
; referenced by `lda $F7E8,y` at $F815 (operand $F7E8 falls inside this region)
|
|
; referenced by `lda $F7B8,y` at $F81A (operand $F7B8 falls inside this region)
|
|
; 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
|
|
.byte $10, $F0, $10, $F0, $00, $00, $00, $00, $01, $00, $01, $01, $01, $01, $01, $02 ; CPU:$F7E8 PRG:37E8 10 F0 10 F0 00 00 00 00 01 00 01 01 01 01 01 02
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F80C:
|
|
lda Zp18 ; CPU:$F80C PRG:380C A5 18
|
|
and #$03 ; CPU:$F80E PRG:380E 29 03
|
|
tay ; CPU:$F810 PRG:3810 A8
|
|
lda #$20 ; CPU:$F811 PRG:3811 A9 20
|
|
sta ZpA7 ; CPU:$F813 PRG:3813 85 A7
|
|
lda $F7E8,y ; CPU:$F815 PRG:3815 B9 E8 F7
|
|
sta Zp9C ; CPU:$F818 PRG:3818 85 9C
|
|
lda $F7B8,y ; CPU:$F81A PRG:381A B9 B8 F7
|
|
sta $03BC ; CPU:$F81D PRG:381D 8D BC 03
|
|
lda #$00 ; CPU:$F820 PRG:3820 A9 00
|
|
sta $03B1 ; CPU:$F822 PRG:3822 8D B1 03
|
|
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
|
|
lda #$3D ; CPU:$F82D PRG:382D A9 3D
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F82F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F82F:
|
|
asl a ; CPU:$F82F PRG:382F 0A
|
|
asl a ; CPU:$F830 PRG:3830 0A
|
|
clc ; CPU:$F831 PRG:3831 18
|
|
adc #$2F ; CPU:$F832 PRG:3832 69 2F
|
|
sta $03A6 ; CPU:$F834 PRG:3834 8D A6 03
|
|
rts ; CPU:$F837 PRG:3837 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F838
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F838:
|
|
lda #$03 ; CPU:$F838 PRG:3838 A9 03
|
|
sta $03E8 ; CPU:$F83A PRG:383A 8D E8 03
|
|
lda Zp91 ; CPU:$F83D PRG:383D A5 91
|
|
beq Label_F877 ; CPU:$F83F PRG:383F F0 36
|
|
cmp #$20 ; CPU:$F841 PRG:3841 C9 20
|
|
beq Label_F898 ; CPU:$F843 PRG:3843 F0 53
|
|
cmp #$01 ; CPU:$F845 PRG:3845 C9 01
|
|
beq Label_F899 ; CPU:$F847 PRG:3847 F0 50
|
|
cmp #$02 ; CPU:$F849 PRG:3849 C9 02
|
|
beq Label_F87C ; CPU:$F84B PRG:384B F0 2F
|
|
ldx #$00 ; CPU:$F84D PRG:384D A2 00
|
|
jsr $EF70 ; CPU:$F84F PRG:384F 20 70 EF
|
|
bcc Label_F85C ; CPU:$F852 PRG:3852 90 08
|
|
jsr $F8DB ; CPU:$F854 PRG:3854 20 DB F8
|
|
bmi Label_F85C ; CPU:$F857 PRG:3857 30 03
|
|
jsr $F8AC ; CPU:$F859 PRG:3859 20 AC F8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F85C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F85C:
|
|
lda ZpB2 ; CPU:$F85C PRG:385C A5 B2
|
|
lsr a ; CPU:$F85E PRG:385E 4A
|
|
ror a ; CPU:$F85F PRG:385F 6A
|
|
eor #$80 ; CPU:$F860 PRG:3860 49 80
|
|
sta ZpBD ; CPU:$F862 PRG:3862 85 BD
|
|
lda Zp50 ; CPU:$F864 PRG:3864 A5 50
|
|
and #$08 ; CPU:$F866 PRG:3866 29 08
|
|
lsr a ; CPU:$F868 PRG:3868 4A
|
|
ora #$E0 ; CPU:$F869 PRG:3869 09 E0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F86B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F86B:
|
|
sta $03DD ; CPU:$F86B PRG:386B 8D DD 03
|
|
lda $03E8 ; CPU:$F86E PRG:386E AD E8 03
|
|
ora #$40 ; CPU:$F871 PRG:3871 09 40
|
|
sta $03E8 ; CPU:$F873 PRG:3873 8D E8 03
|
|
rts ; CPU:$F876 PRG:3876 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F877
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F877:
|
|
sta $03E8 ; CPU:$F877 PRG:3877 8D E8 03
|
|
beq Label_F889 ; CPU:$F87A PRG:387A F0 0D
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F87C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F87C:
|
|
jsr $F7AB ; CPU:$F87C PRG:387C 20 AB F7
|
|
sta Zp4E ; CPU:$F87F PRG:387F 85 4E
|
|
lda $03E8 ; CPU:$F881 PRG:3881 AD E8 03
|
|
ora #$80 ; CPU:$F884 PRG:3884 09 80
|
|
sta $03E8 ; CPU:$F886 PRG:3886 8D E8 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F889
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F889:
|
|
lda Zp4E ; CPU:$F889 PRG:3889 A5 4E
|
|
bne Label_F898 ; CPU:$F88B PRG:388B D0 0B
|
|
lda Zp91 ; CPU:$F88D PRG:388D A5 91
|
|
bmi Label_F898 ; CPU:$F88F PRG:388F 30 07
|
|
jsr $F80C ; CPU:$F891 PRG:3891 20 0C F8
|
|
lda #$FF ; CPU:$F894 PRG:3894 A9 FF
|
|
sta Zp91 ; CPU:$F896 PRG:3896 85 91
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F898
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F898:
|
|
rts ; CPU:$F898 PRG:3898 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F899
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F899:
|
|
lda ZpA7 ; CPU:$F899 PRG:3899 A5 A7
|
|
clc ; CPU:$F89B PRG:389B 18
|
|
adc #$02 ; CPU:$F89C PRG:389C 69 02
|
|
sta ZpA7 ; CPU:$F89E PRG:389E 85 A7
|
|
cmp #$F0 ; CPU:$F8A0 PRG:38A0 C9 F0
|
|
bcc Label_F8A8 ; CPU:$F8A2 PRG:38A2 90 04
|
|
lda #$02 ; CPU:$F8A4 PRG:38A4 A9 02
|
|
sta Zp91 ; CPU:$F8A6 PRG:38A6 85 91
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F8A8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F8A8:
|
|
lda #$B2 ; CPU:$F8A8 PRG:38A8 A9 B2
|
|
bne Label_F86B ; CPU:$F8AA PRG:38AA D0 BF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F8AC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F8AC:
|
|
ldy $03B1 ; CPU:$F8AC PRG:38AC AC B1 03
|
|
lda $F7EC,y ; CPU:$F8AF PRG:38AF B9 EC F7
|
|
pha ; CPU:$F8B2 PRG:38B2 48
|
|
lda ZpB2 ; CPU:$F8B3 PRG:38B3 A5 B2
|
|
and #$01 ; CPU:$F8B5 PRG:38B5 29 01
|
|
beq Label_F8BE ; CPU:$F8B7 PRG:38B7 F0 05
|
|
pla ; CPU:$F8B9 PRG:38B9 68
|
|
jsr $D2FB ; CPU:$F8BA PRG:38BA 20 FB D2
|
|
pha ; CPU:$F8BD PRG:38BD 48
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F8BE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F8BE:
|
|
pla ; CPU:$F8BE PRG:38BE 68
|
|
jsr $EF7D ; CPU:$F8BF PRG:38BF 20 7D EF
|
|
lda ZpB2 ; CPU:$F8C2 PRG:38C2 A5 B2
|
|
and #$02 ; CPU:$F8C4 PRG:38C4 29 02
|
|
beq Label_F8CB ; CPU:$F8C6 PRG:38C6 F0 03
|
|
dec ZpA7 ; CPU:$F8C8 PRG:38C8 C6 A7
|
|
; ---- data $F8CA-$F8CA (1 bytes) ----
|
|
.byte $2C ; CPU:$F8CA PRG:38CA 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F8CB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F8CB:
|
|
inc ZpA7 ; CPU:$F8CB PRG:38CB E6 A7
|
|
lda ZpB2 ; CPU:$F8CD PRG:38CD A5 B2
|
|
and #$04 ; CPU:$F8CF PRG:38CF 29 04
|
|
bne Label_F8D7 ; CPU:$F8D1 PRG:38D1 D0 04
|
|
inc $03B1 ; CPU:$F8D3 PRG:38D3 EE B1 03
|
|
rts ; CPU:$F8D6 PRG:38D6 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F8D7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F8D7:
|
|
dec $03B1 ; CPU:$F8D7 PRG:38D7 CE B1 03
|
|
rts ; CPU:$F8DA PRG:38DA 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F8DB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F8DB:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F8E2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F8E2:
|
|
inc $03BC ; CPU:$F8E2 PRG:38E2 EE BC 03
|
|
ldy $03BC ; CPU:$F8E5 PRG:38E5 AC BC 03
|
|
lda $F7BC,y ; CPU:$F8E8 PRG:38E8 B9 BC F7
|
|
and #$04 ; CPU:$F8EB PRG:38EB 29 04
|
|
beq Label_F8F1 ; CPU:$F8ED PRG:38ED F0 02
|
|
lda #$1F ; CPU:$F8EF PRG:38EF A9 1F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F8F1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F8F1:
|
|
sta $03B1 ; CPU:$F8F1 PRG:38F1 8D B1 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F8F4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F8F4:
|
|
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
|
|
cmp #$F1 ; CPU:$F8FA PRG:38FA C9 F1
|
|
bcs Label_F911 ; CPU:$F8FC PRG:38FC B0 13
|
|
lda ZpA7 ; CPU:$F8FE PRG:38FE A5 A7
|
|
cmp #$F0 ; CPU:$F900 PRG:3900 C9 F0
|
|
bcs Label_F911 ; CPU:$F902 PRG:3902 B0 0D
|
|
ldy $03BC ; CPU:$F904 PRG:3904 AC BC 03
|
|
bmi Label_F8E2 ; CPU:$F907 PRG:3907 30 D9
|
|
lda $F7BC,y ; CPU:$F909 PRG:3909 B9 BC F7
|
|
cmp #$FF ; CPU:$F90C PRG:390C C9 FF
|
|
bne Label_F919 ; CPU:$F90E PRG:390E D0 09
|
|
; ---- data $F910-$F910 (1 bytes) ----
|
|
.byte $2C ; CPU:$F910 PRG:3910 2C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F911
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F911:
|
|
lda #$FF ; CPU:$F911 PRG:3911 A9 FF
|
|
pha ; CPU:$F913 PRG:3913 48
|
|
lda #$02 ; CPU:$F914 PRG:3914 A9 02
|
|
sta Zp91 ; CPU:$F916 PRG:3916 85 91
|
|
pla ; CPU:$F918 PRG:3918 68
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F919
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F919:
|
|
sta ZpB2 ; CPU:$F919 PRG:3919 85 B2
|
|
rts ; CPU:$F91B PRG:391B 60
|
|
; ---- data $F91C-$F91D (2 bytes) ----
|
|
.byte $FF, $FF ; CPU:$F91C PRG:391C FF FF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F91E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F91E:
|
|
lda #$FF ; CPU:$F91E PRG:391E A9 FF
|
|
sta JOY2 ; CPU:$F920 PRG:3920 8D 17 40
|
|
jsr $F9EB ; CPU:$F923 PRG:3923 20 EB F9
|
|
jsr $FAC4 ; CPU:$F926 PRG:3926 20 C4 FA
|
|
jsr $FBA1 ; CPU:$F929 PRG:3929 20 A1 FB
|
|
jsr $FBFC ; CPU:$F92C PRG:392C 20 FC FB
|
|
lda #$00 ; CPU:$F92F PRG:392F A9 00
|
|
sta ZpFF ; CPU:$F931 PRG:3931 85 FF
|
|
sta ZpFE ; CPU:$F933 PRG:3933 85 FE
|
|
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 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
|
|
cpy #$30 ; CPU:$F945 PRG:3945 C0 30
|
|
bcc Label_F94F ; CPU:$F947 PRG:3947 90 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F949
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F949:
|
|
tya ; CPU:$F949 PRG:3949 98
|
|
beq Label_F94F ; CPU:$F94A PRG:394A F0 03
|
|
dec $0711 ; CPU:$F94C PRG:394C CE 11 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F94F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F94F:
|
|
sty APUDMCDIRECT ; CPU:$F94F PRG:394F 8C 11 40
|
|
rts ; CPU:$F952 PRG:3952 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F953
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F953:
|
|
stx APUPULSE1CTRL ; CPU:$F953 PRG:3953 8E 00 40
|
|
sty APUPULSE1SWEEP ; CPU:$F956 PRG:3956 8C 01 40
|
|
rts ; CPU:$F959 PRG:3959 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F95A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F95A:
|
|
stx APUPULSE2CTRL ; CPU:$F95A PRG:395A 8E 04 40
|
|
sty APUPULSE2SWEEP ; CPU:$F95D PRG:395D 8C 05 40
|
|
rts ; CPU:$F960 PRG:3960 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F961
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F961:
|
|
jsr $F953 ; CPU:$F961 PRG:3961 20 53 F9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F964
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F964:
|
|
ldx #$00 ; CPU:$F964 PRG:3964 A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F966
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F966:
|
|
tay ; CPU:$F966 PRG:3966 A8
|
|
lda $FF01,y ; CPU:$F967 PRG:3967 B9 01 FF
|
|
beq Label_F977 ; CPU:$F96A PRG:396A F0 0B
|
|
sta APUPULSE1TIMERLO,x ; CPU:$F96C PRG:396C 9D 02 40
|
|
lda $FF00,y ; CPU:$F96F PRG:396F B9 00 FF
|
|
ora #$08 ; CPU:$F972 PRG:3972 09 08
|
|
sta APUPULSE1TIMERHI,x ; CPU:$F974 PRG:3974 9D 03 40
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F977
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F977:
|
|
rts ; CPU:$F977 PRG:3977 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F978
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F978:
|
|
jsr $F95A ; CPU:$F978 PRG:3978 20 5A F9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F97B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F97B:
|
|
ldx #$04 ; CPU:$F97B PRG:397B A2 04
|
|
bne Label_F966 ; CPU:$F97D PRG:397D D0 E7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F97F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F97F:
|
|
ldx #$08 ; CPU:$F97F PRG:397F A2 08
|
|
bne Label_F966 ; CPU:$F981 PRG:3981 D0 E3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F983
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F983:
|
|
tax ; CPU:$F983 PRG:3983 AA
|
|
ror a ; CPU:$F984 PRG:3984 6A
|
|
txa ; CPU:$F985 PRG:3985 8A
|
|
rol a ; CPU:$F986 PRG:3986 2A
|
|
rol a ; CPU:$F987 PRG:3987 2A
|
|
rol a ; CPU:$F988 PRG:3988 2A
|
|
and #$07 ; CPU:$F989 PRG:3989 29 07
|
|
clc ; CPU:$F98B PRG:398B 18
|
|
adc ZpF5 ; CPU:$F98C PRG:398C 65 F5
|
|
tay ; CPU:$F98E PRG:398E A8
|
|
lda $FF40,y ; CPU:$F98F PRG:398F B9 40 FF
|
|
rts ; CPU:$F992 PRG:3992 60
|
|
; ---- data $F993-$F9AA (24 bytes) ----
|
|
; referenced by `lda $F99F,y` at $F9B6 (operand $F99F falls inside this region)
|
|
; referenced by `ldx $F993,y` at $F9C1 (operand $F993 falls inside this region)
|
|
.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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F9AB:
|
|
sty ZpF0 ; CPU:$F9AB PRG:39AB 84 F0
|
|
lda #$2F ; CPU:$F9AD PRG:39AD A9 2F
|
|
sta ZpF4 ; CPU:$F9AF PRG:39AF 85 F4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F9B1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F9B1:
|
|
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 APUPULSE1TIMERLO ; CPU:$F9B9 PRG:39B9 8D 02 40
|
|
lda #$08 ; CPU:$F9BC PRG:39BC A9 08
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F9C8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F9C8:
|
|
sty ZpF0 ; CPU:$F9C8 PRG:39C8 84 F0
|
|
lda #$20 ; CPU:$F9CA PRG:39CA A9 20
|
|
sta ZpF4 ; CPU:$F9CC PRG:39CC 85 F4
|
|
bne Label_F9D6 ; CPU:$F9CE PRG:39CE D0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F9D0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F9D0:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F9D6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F9D6:
|
|
ldx #$88 ; CPU:$F9D6 PRG:39D6 A2 88
|
|
ldy #$D3 ; CPU:$F9D8 PRG:39D8 A0 D3
|
|
lda #$00 ; CPU:$F9DA PRG:39DA A9 00
|
|
jsr $F961 ; CPU:$F9DC PRG:39DC 20 61 F9
|
|
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 APUTRIANGLECTRL ; CPU:$F9E6 PRG:39E6 8D 08 40
|
|
bne Label_FA32 ; CPU:$F9E9 PRG:39E9 D0 47
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_F9EB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_F9EB:
|
|
ldy ZpFF ; CPU:$F9EB PRG:39EB A4 FF
|
|
lda ZpF0 ; CPU:$F9ED PRG:39ED A5 F0
|
|
lsr ZpFF ; CPU:$F9EF PRG:39EF 46 FF
|
|
bcs Label_F9AB ; CPU:$F9F1 PRG:39F1 B0 B8
|
|
lsr a ; CPU:$F9F3 PRG:39F3 4A
|
|
bcs Label_F9B1 ; CPU:$F9F4 PRG:39F4 B0 BB
|
|
lsr ZpFF ; CPU:$F9F6 PRG:39F6 46 FF
|
|
bcs Label_F9C8 ; CPU:$F9F8 PRG:39F8 B0 CE
|
|
lsr a ; CPU:$F9FA PRG:39FA 4A
|
|
bcs Label_F9D0 ; CPU:$F9FB PRG:39FB B0 D3
|
|
lsr ZpFF ; CPU:$F9FD PRG:39FD 46 FF
|
|
bcs Label_FA0C ; CPU:$F9FF PRG:39FF B0 0B
|
|
lsr a ; CPU:$FA01 PRG:3A01 4A
|
|
bcs Label_FA1B ; CPU:$FA02 PRG:3A02 B0 17
|
|
lsr ZpFF ; CPU:$FA04 PRG:3A04 46 FF
|
|
bcs Label_FA40 ; CPU:$FA06 PRG:3A06 B0 38
|
|
lsr a ; CPU:$FA08 PRG:3A08 4A
|
|
bcs Label_FA4A ; CPU:$FA09 PRG:3A09 B0 3F
|
|
rts ; CPU:$FA0B PRG:3A0B 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA0C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA0C:
|
|
sty ZpF0 ; CPU:$FA0C PRG:3A0C 84 F0
|
|
lda #$28 ; CPU:$FA0E PRG:3A0E A9 28
|
|
sta ZpF4 ; CPU:$FA10 PRG:3A10 85 F4
|
|
ldx #$9A ; CPU:$FA12 PRG:3A12 A2 9A
|
|
ldy #$A7 ; CPU:$FA14 PRG:3A14 A0 A7
|
|
lda #$36 ; CPU:$FA16 PRG:3A16 A9 36
|
|
jsr $F961 ; CPU:$FA18 PRG:3A18 20 61 F9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA1B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA1B:
|
|
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
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA27
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA27:
|
|
cmp #$20 ; CPU:$FA27 PRG:3A27 C9 20
|
|
bne Label_FA32 ; CPU:$FA29 PRG:3A29 D0 07
|
|
ldy #$BC ; CPU:$FA2B PRG:3A2B A0 BC
|
|
ldx #$4C ; CPU:$FA2D PRG:3A2D A2 4C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA2F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA2F:
|
|
jsr $F953 ; CPU:$FA2F PRG:3A2F 20 53 F9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA32
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA32:
|
|
dec ZpF4 ; CPU:$FA32 PRG:3A32 C6 F4
|
|
bne Label_FA3F ; CPU:$FA34 PRG:3A34 D0 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA36
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA36:
|
|
lda #$00 ; CPU:$FA36 PRG:3A36 A9 00
|
|
sta ZpF0 ; CPU:$FA38 PRG:3A38 85 F0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA3A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA3A:
|
|
lda #$90 ; CPU:$FA3A PRG:3A3A A9 90
|
|
sta APUPULSE1CTRL ; CPU:$FA3C PRG:3A3C 8D 00 40
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA3F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA3F:
|
|
rts ; CPU:$FA3F PRG:3A3F 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA40
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA40:
|
|
sty ZpF0 ; CPU:$FA40 PRG:3A40 84 F0
|
|
lda #$0B ; CPU:$FA42 PRG:3A42 A9 0B
|
|
sta ZpF4 ; CPU:$FA44 PRG:3A44 85 F4
|
|
lda #$57 ; CPU:$FA46 PRG:3A46 A9 57
|
|
bne Label_FA52 ; CPU:$FA48 PRG:3A48 D0 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA4A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA4A:
|
|
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
|
|
lda #$02 ; CPU:$FA50 PRG:3A50 A9 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA52
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA52:
|
|
sta APUPULSE1TIMERLO ; CPU:$FA52 PRG:3A52 8D 02 40
|
|
lda #$3B ; CPU:$FA55 PRG:3A55 A9 3B
|
|
sta APUPULSE1TIMERHI ; CPU:$FA57 PRG:3A57 8D 03 40
|
|
ldx #$BD ; CPU:$FA5A PRG:3A5A A2 BD
|
|
ldy #$8A ; CPU:$FA5C PRG:3A5C A0 8A
|
|
bne Label_FA2F ; CPU:$FA5E PRG:3A5E D0 CF
|
|
jsr $1C1E ; CPU:$FA60 PRG:3A60 20 1E 1C
|
|
; ---- data $FA63-$FA63 (1 bytes) ----
|
|
.byte $1A ; CPU:$FA63 PRG:3A63 1A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA64
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA64:
|
|
sty ZpF1 ; CPU:$FA64 PRG:3A64 84 F1
|
|
lda #$30 ; CPU:$FA66 PRG:3A66 A9 30
|
|
sta $0712 ; CPU:$FA68 PRG:3A68 8D 12 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA6B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA6B:
|
|
lda $0712 ; CPU:$FA6B PRG:3A6B AD 12 07
|
|
ldx #$03 ; CPU:$FA6E PRG:3A6E A2 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA70
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA70:
|
|
lsr a ; CPU:$FA70 PRG:3A70 4A
|
|
bcs Label_FAB5 ; CPU:$FA71 PRG:3A71 B0 42
|
|
dex ; CPU:$FA73 PRG:3A73 CA
|
|
bne Label_FA70 ; CPU:$FA74 PRG:3A74 D0 FA
|
|
tay ; CPU:$FA76 PRG:3A76 A8
|
|
lda $FA5F,y ; CPU:$FA77 PRG:3A77 B9 5F FA
|
|
ldy #$8B ; CPU:$FA7A PRG:3A7A A0 8B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA7C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA7C:
|
|
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
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA83
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA83:
|
|
sty ZpF1 ; CPU:$FA83 PRG:3A83 84 F1
|
|
lda #$5E ; CPU:$FA85 PRG:3A85 A9 5E
|
|
sta $0712 ; CPU:$FA87 PRG:3A87 8D 12 07
|
|
lda #$91 ; CPU:$FA8A PRG:3A8A A9 91
|
|
sta $0709 ; CPU:$FA8C PRG:3A8C 8D 09 07
|
|
lda #$3C ; CPU:$FA8F PRG:3A8F A9 3C
|
|
jsr $F97B ; CPU:$FA91 PRG:3A91 20 7B F9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FA94
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FA94:
|
|
lda $0709 ; CPU:$FA94 PRG:3A94 AD 09 07
|
|
sta APUPULSE2CTRL ; CPU:$FA97 PRG:3A97 8D 04 40
|
|
cmp #$95 ; CPU:$FA9A PRG:3A9A C9 95
|
|
beq Label_FAA1 ; CPU:$FA9C PRG:3A9C F0 03
|
|
inc $0709 ; CPU:$FA9E PRG:3A9E EE 09 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FAA1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FAA1:
|
|
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
|
|
lda #$9F ; CPU:$FAA8 PRG:3AA8 A9 9F
|
|
bne Label_FAB2 ; CPU:$FAAA PRG:3AAA D0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FAAC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FAAC:
|
|
cmp #$06 ; CPU:$FAAC PRG:3AAC C9 06
|
|
bne Label_FAB5 ; CPU:$FAAE PRG:3AAE D0 05
|
|
lda #$A3 ; CPU:$FAB0 PRG:3AB0 A9 A3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FAB2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FAB2:
|
|
sta APUPULSE2SWEEP ; CPU:$FAB2 PRG:3AB2 8D 05 40
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FAB5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FAB5:
|
|
dec $0712 ; CPU:$FAB5 PRG:3AB5 CE 12 07
|
|
bne Label_FAC3 ; CPU:$FAB8 PRG:3AB8 D0 09
|
|
lda #$00 ; CPU:$FABA PRG:3ABA A9 00
|
|
sta ZpF1 ; CPU:$FABC PRG:3ABC 85 F1
|
|
lda #$90 ; CPU:$FABE PRG:3ABE A9 90
|
|
sta APUPULSE2CTRL ; CPU:$FAC0 PRG:3AC0 8D 04 40
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FAC3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FAC3:
|
|
rts ; CPU:$FAC3 PRG:3AC3 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FAC4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FAC4:
|
|
ldy ZpFE ; CPU:$FAC4 PRG:3AC4 A4 FE
|
|
lda ZpF1 ; CPU:$FAC6 PRG:3AC6 A5 F1
|
|
lsr ZpFE ; CPU:$FAC8 PRG:3AC8 46 FE
|
|
bcs Label_FA64 ; CPU:$FACA PRG:3ACA B0 98
|
|
lsr a ; CPU:$FACC PRG:3ACC 4A
|
|
bcs Label_FA6B ; CPU:$FACD PRG:3ACD B0 9C
|
|
lsr ZpFE ; CPU:$FACF PRG:3ACF 46 FE
|
|
bcs Label_FA83 ; CPU:$FAD1 PRG:3AD1 B0 B0
|
|
lsr a ; CPU:$FAD3 PRG:3AD3 4A
|
|
bcs Label_FA94 ; CPU:$FAD4 PRG:3AD4 B0 BE
|
|
lsr ZpFE ; CPU:$FAD6 PRG:3AD6 46 FE
|
|
bcs Label_FAEC ; CPU:$FAD8 PRG:3AD8 B0 12
|
|
lsr a ; CPU:$FADA PRG:3ADA 4A
|
|
bcs Label_FAB5 ; CPU:$FADB PRG:3ADB B0 D8
|
|
lsr a ; CPU:$FADD PRG:3ADD 4A
|
|
bcs Label_FB09 ; CPU:$FADE PRG:3ADE B0 29
|
|
lsr ZpFE ; CPU:$FAE0 PRG:3AE0 46 FE
|
|
bcs Label_FAF9 ; CPU:$FAE2 PRG:3AE2 B0 15
|
|
lsr ZpFE ; CPU:$FAE4 PRG:3AE4 46 FE
|
|
bcs Label_FB17 ; CPU:$FAE6 PRG:3AE6 B0 2F
|
|
lsr a ; CPU:$FAE8 PRG:3AE8 4A
|
|
bcs Label_FAB5 ; CPU:$FAE9 PRG:3AE9 B0 CA
|
|
rts ; CPU:$FAEB PRG:3AEB 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FAEC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FAEC:
|
|
sty ZpF1 ; CPU:$FAEC PRG:3AEC 84 F1
|
|
lda #$20 ; CPU:$FAEE PRG:3AEE A9 20
|
|
sta $0712 ; CPU:$FAF0 PRG:3AF0 8D 12 07
|
|
lda #$18 ; CPU:$FAF3 PRG:3AF3 A9 18
|
|
ldy #$B3 ; CPU:$FAF5 PRG:3AF5 A0 B3
|
|
bne Label_FA7C ; CPU:$FAF7 PRG:3AF7 D0 83
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FAF9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FAF9:
|
|
sty ZpF1 ; CPU:$FAF9 PRG:3AF9 84 F1
|
|
lda #$08 ; CPU:$FAFB PRG:3AFB A9 08
|
|
sta $0712 ; CPU:$FAFD PRG:3AFD 8D 12 07
|
|
ldx #$1F ; CPU:$FB00 PRG:3B00 A2 1F
|
|
ldy #$7F ; CPU:$FB02 PRG:3B02 A0 7F
|
|
lda #$04 ; CPU:$FB04 PRG:3B04 A9 04
|
|
jsr $F978 ; CPU:$FB06 PRG:3B06 20 78 F9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FB09
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FB09:
|
|
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
|
|
lda #$A9 ; CPU:$FB10 PRG:3B10 A9 A9
|
|
sta APUPULSE2TIMERLO ; CPU:$FB12 PRG:3B12 8D 06 40
|
|
bne Label_FAB5 ; CPU:$FB15 PRG:3B15 D0 9E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FB17
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FB17:
|
|
sty ZpF1 ; CPU:$FB17 PRG:3B17 84 F1
|
|
lda #$18 ; CPU:$FB19 PRG:3B19 A9 18
|
|
sta $0712 ; CPU:$FB1B PRG:3B1B 8D 12 07
|
|
ldx #$1F ; CPU:$FB1E PRG:3B1E A2 1F
|
|
ldy #$92 ; CPU:$FB20 PRG:3B20 A0 92
|
|
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 APUPULSE2TIMERHI ; CPU:$FB29 PRG:3B29 8D 07 40
|
|
lda $0712 ; CPU:$FB2C PRG:3B2C AD 12 07
|
|
cmp #$10 ; CPU:$FB2F PRG:3B2F C9 10
|
|
bne Label_FB38 ; CPU:$FB31 PRG:3B31 D0 05
|
|
lda #$32 ; CPU:$FB33 PRG:3B33 A9 32
|
|
sta APUPULSE2TIMERLO ; CPU:$FB35 PRG:3B35 8D 06 40
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FB38
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FB38:
|
|
jmp $FAB5 ; CPU:$FB38 PRG:3B38 4C B5 FA
|
|
; ---- data $FB3B-$FB70 (54 bytes) ----
|
|
; referenced by `ldx $FB4B,y` at $FB80 (operand $FB4B falls inside this region)
|
|
; referenced by `lda $FB3B,y` at $FB89 (operand $FB3B falls inside this region)
|
|
; referenced by `ldx $FB62,y` at $FBD0 (operand $FB62 falls inside this region)
|
|
; referenced by `lda $FB52,y` at $FBD6 (operand $FB52 falls inside this region)
|
|
; referenced by `ldx $FB6E,y` at $FBF0 (operand $FB6E falls inside this region)
|
|
; referenced by `lda $FB6A,y` at $FBF6 (operand $FB6A falls inside this region)
|
|
SoundEngineData: ; Sound engine data (SubCFAC4/SubCFBA1)
|
|
.byte $16, $10, $17, $18, $19, $1A, $1B, $1F, $1F, $1F, $1F, $1C, $1A, $17, $15, $14 ; CPU:$FB3B PRG:3B3B 16 10 17 18 19 1A 1B 1F 1F 1F 1F 1C 1A 17 15 14
|
|
.byte $02, $04, $06, $08, $0A, $0B, $0C, $0D, $10, $14, $19, $1B, $1D, $1F, $1F, $13 ; CPU:$FB4B PRG:3B4B 02 04 06 08 0A 0B 0C 0D 10 14 19 1B 1D 1F 1F 13
|
|
.byte $15, $1A, $1C, $1E, $1F, $1F, $1F, $1F, $06, $0A, $0B, $09, $0C, $0F, $0E, $0F ; CPU:$FB5B PRG:3B5B 15 1A 1C 1E 1F 1F 1F 1F 06 0A 0B 09 0C 0F 0E 0F
|
|
.byte $10, $1F, $1F, $1F, $09, $0B ; CPU:$FB6B PRG:3B6B 10 1F 1F 1F 09 0B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FB71
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FB71:
|
|
sty ZpF2 ; CPU:$FB71 PRG:3B71 84 F2
|
|
lda #$7F ; CPU:$FB73 PRG:3B73 A9 7F
|
|
sta $070E ; CPU:$FB75 PRG:3B75 8D 0E 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FB78
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FB78:
|
|
lda $070E ; CPU:$FB78 PRG:3B78 AD 0E 07
|
|
lsr a ; CPU:$FB7B PRG:3B7B 4A
|
|
lsr a ; CPU:$FB7C PRG:3B7C 4A
|
|
lsr a ; CPU:$FB7D PRG:3B7D 4A
|
|
lsr a ; CPU:$FB7E PRG:3B7E 4A
|
|
tay ; CPU:$FB7F PRG:3B7F A8
|
|
ldx $FB4B,y ; CPU:$FB80 PRG:3B80 BE 4B FB
|
|
lda $070E ; CPU:$FB83 PRG:3B83 AD 0E 07
|
|
and #$0F ; CPU:$FB86 PRG:3B86 29 0F
|
|
tay ; CPU:$FB88 PRG:3B88 A8
|
|
lda $FB3B,y ; CPU:$FB89 PRG:3B89 B9 3B FB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FB8C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FB8C:
|
|
sta APUNOISECTRL ; CPU:$FB8C PRG:3B8C 8D 0C 40
|
|
stx APUNOISEPERIOD ; CPU:$FB8F PRG:3B8F 8E 0E 40
|
|
lda #$08 ; CPU:$FB92 PRG:3B92 A9 08
|
|
sta APUNOISELENGTH ; CPU:$FB94 PRG:3B94 8D 0F 40
|
|
dec $070E ; CPU:$FB97 PRG:3B97 CE 0E 07
|
|
bne Label_FBA0 ; CPU:$FB9A PRG:3B9A D0 04
|
|
lda #$00 ; CPU:$FB9C PRG:3B9C A9 00
|
|
sta ZpF2 ; CPU:$FB9E PRG:3B9E 85 F2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FBA0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FBA0:
|
|
rts ; CPU:$FBA0 PRG:3BA0 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FBA1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FBA1:
|
|
ldy ZpFC ; CPU:$FBA1 PRG:3BA1 A4 FC
|
|
lda ZpF2 ; CPU:$FBA3 PRG:3BA3 A5 F2
|
|
lsr ZpFC ; CPU:$FBA5 PRG:3BA5 46 FC
|
|
bcs Label_FB71 ; CPU:$FBA7 PRG:3BA7 B0 C8
|
|
lsr a ; CPU:$FBA9 PRG:3BA9 4A
|
|
bcs Label_FB78 ; CPU:$FBAA PRG:3BAA B0 CC
|
|
lsr ZpFC ; CPU:$FBAC PRG:3BAC 46 FC
|
|
bcs Label_FBBB ; CPU:$FBAE PRG:3BAE B0 0B
|
|
lsr a ; CPU:$FBB0 PRG:3BB0 4A
|
|
bcs Label_FBCB ; CPU:$FBB1 PRG:3BB1 B0 18
|
|
lsr ZpFC ; CPU:$FBB3 PRG:3BB3 46 FC
|
|
bcs Label_FBDB ; CPU:$FBB5 PRG:3BB5 B0 24
|
|
lsr a ; CPU:$FBB7 PRG:3BB7 4A
|
|
bcs Label_FBEB ; CPU:$FBB8 PRG:3BB8 B0 31
|
|
rts ; CPU:$FBBA PRG:3BBA 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FBBB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FBBB:
|
|
sty ZpF2 ; CPU:$FBBB PRG:3BBB 84 F2
|
|
lda #$10 ; CPU:$FBBD PRG:3BBD A9 10
|
|
sta $070E ; CPU:$FBBF PRG:3BBF 8D 0E 07
|
|
lda ZpF0 ; CPU:$FBC2 PRG:3BC2 A5 F0
|
|
cmp #$04 ; CPU:$FBC4 PRG:3BC4 C9 04
|
|
bne Label_FBCB ; CPU:$FBC6 PRG:3BC6 D0 03
|
|
jsr $FA36 ; CPU:$FBC8 PRG:3BC8 20 36 FA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FBCB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FBCB:
|
|
lda $070E ; CPU:$FBCB PRG:3BCB AD 0E 07
|
|
lsr a ; CPU:$FBCE PRG:3BCE 4A
|
|
tay ; CPU:$FBCF PRG:3BCF A8
|
|
ldx $FB62,y ; CPU:$FBD0 PRG:3BD0 BE 62 FB
|
|
ldy $070E ; CPU:$FBD3 PRG:3BD3 AC 0E 07
|
|
lda $FB52,y ; CPU:$FBD6 PRG:3BD6 B9 52 FB
|
|
bne Label_FB8C ; CPU:$FBD9 PRG:3BD9 D0 B1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FBDB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FBDB:
|
|
sty ZpF2 ; CPU:$FBDB PRG:3BDB 84 F2
|
|
lda #$04 ; CPU:$FBDD PRG:3BDD A9 04
|
|
sta $070E ; CPU:$FBDF PRG:3BDF 8D 0E 07
|
|
lda ZpF0 ; CPU:$FBE2 PRG:3BE2 A5 F0
|
|
cmp #$04 ; CPU:$FBE4 PRG:3BE4 C9 04
|
|
bne Label_FBEB ; CPU:$FBE6 PRG:3BE6 D0 03
|
|
jsr $FA36 ; CPU:$FBE8 PRG:3BE8 20 36 FA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FBEB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FBEB:
|
|
lda $070E ; CPU:$FBEB PRG:3BEB AD 0E 07
|
|
lsr a ; CPU:$FBEE PRG:3BEE 4A
|
|
tay ; CPU:$FBEF PRG:3BEF A8
|
|
ldx $FB6E,y ; CPU:$FBF0 PRG:3BF0 BE 6E FB
|
|
ldy $070E ; CPU:$FBF3 PRG:3BF3 AC 0E 07
|
|
lda $FB6A,y ; CPU:$FBF6 PRG:3BF6 B9 6A FB
|
|
jmp $FB8C ; CPU:$FBF9 PRG:3BF9 4C 8C FB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FBFC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FBFC:
|
|
lda ZpFB ; CPU:$FBFC PRG:3BFC A5 FB
|
|
bne Label_FC05 ; CPU:$FBFE PRG:3BFE D0 05
|
|
lda FrameCounter ; CPU:$FC00 PRG:3C00 A5 F3
|
|
bne Label_FC51 ; CPU:$FC02 PRG:3C02 D0 4D
|
|
rts ; CPU:$FC04 PRG:3C04 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FC05
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FC05:
|
|
cmp #$20 ; CPU:$FC05 PRG:3C05 C9 20
|
|
bne Label_FC11 ; CPU:$FC07 PRG:3C07 D0 08
|
|
lda FrameCounter ; CPU:$FC09 PRG:3C09 A5 F3
|
|
and #$0E ; CPU:$FC0B PRG:3C0B 29 0E
|
|
sta ZpFD ; CPU:$FC0D PRG:3C0D 85 FD
|
|
lda ZpFB ; CPU:$FC0F PRG:3C0F A5 FB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FC11
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FC11:
|
|
sta FrameCounter ; CPU:$FC11 PRG:3C11 85 F3
|
|
ldy #$00 ; CPU:$FC13 PRG:3C13 A0 00
|
|
sty ZpF8 ; CPU:$FC15 PRG:3C15 84 F8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FC17
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FC17:
|
|
iny ; CPU:$FC17 PRG:3C17 C8
|
|
lsr a ; CPU:$FC18 PRG:3C18 4A
|
|
bcc Label_FC17 ; CPU:$FC19 PRG:3C19 90 FC
|
|
lda $FD21,y ; CPU:$FC1B PRG:3C1B B9 21 FD
|
|
tay ; CPU:$FC1E PRG:3C1E A8
|
|
lda $FD22,y ; CPU:$FC1F PRG:3C1F B9 22 FD
|
|
sta ZpF5 ; CPU:$FC22 PRG:3C22 85 F5
|
|
lda $FD23,y ; CPU:$FC24 PRG:3C24 B9 23 FD
|
|
sta ZpF6 ; CPU:$FC27 PRG:3C27 85 F6
|
|
lda $FD24,y ; CPU:$FC29 PRG:3C29 B9 24 FD
|
|
sta ZpF7 ; CPU:$FC2C PRG:3C2C 85 F7
|
|
lda $FD25,y ; CPU:$FC2E PRG:3C2E B9 25 FD
|
|
sta ZpFA ; CPU:$FC31 PRG:3C31 85 FA
|
|
lda $FD26,y ; CPU:$FC33 PRG:3C33 B9 26 FD
|
|
sta ZpF9 ; CPU:$FC36 PRG:3C36 85 F9
|
|
lda $FD27,y ; CPU:$FC38 PRG:3C38 B9 27 FD
|
|
sta $0705 ; CPU:$FC3B PRG:3C3B 8D 05 07
|
|
lda #$01 ; CPU:$FC3E PRG:3C3E A9 01
|
|
sta $0701 ; CPU:$FC40 PRG:3C40 8D 01 07
|
|
sta $0703 ; CPU:$FC43 PRG:3C43 8D 03 07
|
|
sta $0704 ; CPU:$FC46 PRG:3C46 8D 04 07
|
|
sta $0706 ; CPU:$FC49 PRG:3C49 8D 06 07
|
|
lda #$7F ; CPU:$FC4C PRG:3C4C A9 7F
|
|
sta $0700 ; CPU:$FC4E PRG:3C4E 8D 00 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FC51
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FC51:
|
|
dec $0701 ; CPU:$FC51 PRG:3C51 CE 01 07
|
|
bne Label_FCAC ; CPU:$FC54 PRG:3C54 D0 56
|
|
ldy ZpF8 ; CPU:$FC56 PRG:3C56 A4 F8
|
|
inc ZpF8 ; CPU:$FC58 PRG:3C58 E6 F8
|
|
lda (ZpF6),y ; CPU:$FC5A PRG:3C5A B1 F6
|
|
bne Label_FC84 ; CPU:$FC5C PRG:3C5C D0 26
|
|
lda FrameCounter ; CPU:$FC5E PRG:3C5E A5 F3
|
|
cmp #$40 ; CPU:$FC60 PRG:3C60 C9 40
|
|
bne Label_FC68 ; CPU:$FC62 PRG:3C62 D0 04
|
|
lda ZpFD ; CPU:$FC64 PRG:3C64 A5 FD
|
|
bne Label_FC11 ; CPU:$FC66 PRG:3C66 D0 A9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FC68
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FC68:
|
|
cmp #$02 ; CPU:$FC68 PRG:3C68 C9 02
|
|
beq Label_FC11 ; CPU:$FC6A PRG:3C6A F0 A5
|
|
and #$0C ; CPU:$FC6C PRG:3C6C 29 0C
|
|
beq Label_FC79 ; CPU:$FC6E PRG:3C6E F0 09
|
|
lsr a ; CPU:$FC70 PRG:3C70 4A
|
|
cmp #$04 ; CPU:$FC71 PRG:3C71 C9 04
|
|
beq Label_FC11 ; CPU:$FC73 PRG:3C73 F0 9C
|
|
lda #$08 ; CPU:$FC75 PRG:3C75 A9 08
|
|
bne Label_FC11 ; CPU:$FC77 PRG:3C77 D0 98
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FC79
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FC79:
|
|
lda #$00 ; CPU:$FC79 PRG:3C79 A9 00
|
|
sta FrameCounter ; CPU:$FC7B PRG:3C7B 85 F3
|
|
jsr $FA3A ; CPU:$FC7D PRG:3C7D 20 3A FA
|
|
sta APUPULSE2CTRL ; CPU:$FC80 PRG:3C80 8D 04 40
|
|
rts ; CPU:$FC83 PRG:3C83 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FC84
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FC84:
|
|
jsr $F983 ; CPU:$FC84 PRG:3C84 20 83 F9
|
|
sta $0701 ; CPU:$FC87 PRG:3C87 8D 01 07
|
|
lda ZpF1 ; CPU:$FC8A PRG:3C8A A5 F1
|
|
bne Label_FCC4 ; CPU:$FC8C PRG:3C8C D0 36
|
|
txa ; CPU:$FC8E PRG:3C8E 8A
|
|
and #$3E ; CPU:$FC8F PRG:3C8F 29 3E
|
|
jsr $F97B ; CPU:$FC91 PRG:3C91 20 7B F9
|
|
tay ; CPU:$FC94 PRG:3C94 A8
|
|
beq Label_FC99 ; CPU:$FC95 PRG:3C95 F0 02
|
|
ldy #$1F ; CPU:$FC97 PRG:3C97 A0 1F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FC99
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FC99:
|
|
sty $0702 ; CPU:$FC99 PRG:3C99 8C 02 07
|
|
ldx #$84 ; CPU:$FC9C PRG:3C9C A2 84
|
|
lda $0701 ; CPU:$FC9E PRG:3C9E AD 01 07
|
|
cmp #$10 ; CPU:$FCA1 PRG:3CA1 C9 10
|
|
bcs Label_FCA7 ; CPU:$FCA3 PRG:3CA3 B0 02
|
|
ldx #$82 ; CPU:$FCA5 PRG:3CA5 A2 82
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FCA7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FCA7:
|
|
ldy #$7F ; CPU:$FCA7 PRG:3CA7 A0 7F
|
|
jsr $F95A ; CPU:$FCA9 PRG:3CA9 20 5A F9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FCAC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FCAC:
|
|
lda ZpF1 ; CPU:$FCAC PRG:3CAC A5 F1
|
|
bne Label_FCC4 ; CPU:$FCAE PRG:3CAE D0 14
|
|
lda FrameCounter ; CPU:$FCB0 PRG:3CB0 A5 F3
|
|
and #$0C ; CPU:$FCB2 PRG:3CB2 29 0C
|
|
beq Label_FCC4 ; CPU:$FCB4 PRG:3CB4 F0 0E
|
|
ldy $0702 ; CPU:$FCB6 PRG:3CB6 AC 02 07
|
|
beq Label_FCBE ; CPU:$FCB9 PRG:3CB9 F0 03
|
|
dec $0702 ; CPU:$FCBB PRG:3CBB CE 02 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FCBE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FCBE:
|
|
lda $FFD9,y ; CPU:$FCBE PRG:3CBE B9 D9 FF
|
|
sta APUPULSE2CTRL ; CPU:$FCC1 PRG:3CC1 8D 04 40
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FCC4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FCC4:
|
|
ldy ZpF9 ; CPU:$FCC4 PRG:3CC4 A4 F9
|
|
beq Label_FCFA ; CPU:$FCC6 PRG:3CC6 F0 32
|
|
dec $0703 ; CPU:$FCC8 PRG:3CC8 CE 03 07
|
|
bne Label_FCFA ; CPU:$FCCB PRG:3CCB D0 2D
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FCCD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FCCD:
|
|
ldy ZpF9 ; CPU:$FCCD PRG:3CCD A4 F9
|
|
inc ZpF9 ; CPU:$FCCF PRG:3CCF E6 F9
|
|
lda (ZpF6),y ; CPU:$FCD1 PRG:3CD1 B1 F6
|
|
bne Label_FCE0 ; CPU:$FCD3 PRG:3CD3 D0 0B
|
|
ldy ZpF9 ; CPU:$FCD5 PRG:3CD5 A4 F9
|
|
inc ZpF9 ; CPU:$FCD7 PRG:3CD7 E6 F9
|
|
lda (ZpF6),y ; CPU:$FCD9 PRG:3CD9 B1 F6
|
|
sta $0700 ; CPU:$FCDB PRG:3CDB 8D 00 07
|
|
bne Label_FCCD ; CPU:$FCDE PRG:3CDE D0 ED
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FCE0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FCE0:
|
|
jsr $F983 ; CPU:$FCE0 PRG:3CE0 20 83 F9
|
|
sta $0703 ; CPU:$FCE3 PRG:3CE3 8D 03 07
|
|
txa ; CPU:$FCE6 PRG:3CE6 8A
|
|
and #$3E ; CPU:$FCE7 PRG:3CE7 29 3E
|
|
jsr $F964 ; CPU:$FCE9 PRG:3CE9 20 64 F9
|
|
bne Label_FCF2 ; CPU:$FCEC PRG:3CEC D0 04
|
|
ldx #$10 ; CPU:$FCEE PRG:3CEE A2 10
|
|
bne Label_FCF4 ; CPU:$FCF0 PRG:3CF0 D0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FCF2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FCF2:
|
|
ldx #$06 ; CPU:$FCF2 PRG:3CF2 A2 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FCF4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FCF4:
|
|
ldy $0700 ; CPU:$FCF4 PRG:3CF4 AC 00 07
|
|
jsr $F953 ; CPU:$FCF7 PRG:3CF7 20 53 F9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FCFA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FCFA:
|
|
ldy ZpFA ; CPU:$FCFA PRG:3CFA A4 FA
|
|
beq Label_FD21 ; CPU:$FCFC PRG:3CFC F0 23
|
|
dec $0704 ; CPU:$FCFE PRG:3CFE CE 04 07
|
|
bne Label_FD21 ; CPU:$FD01 PRG:3D01 D0 1E
|
|
inc ZpFA ; CPU:$FD03 PRG:3D03 E6 FA
|
|
lda (ZpF6),y ; CPU:$FD05 PRG:3D05 B1 F6
|
|
jsr $F983 ; CPU:$FD07 PRG:3D07 20 83 F9
|
|
sta $0704 ; CPU:$FD0A PRG:3D0A 8D 04 07
|
|
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
|
|
lda #$0E ; CPU:$FD14 PRG:3D14 A9 0E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Label_FD16
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FD16:
|
|
asl a ; CPU:$FD16 PRG:3D16 0A
|
|
asl a ; CPU:$FD17 PRG:3D17 0A
|
|
sta APUTRIANGLECTRL ; CPU:$FD18 PRG:3D18 8D 08 40
|
|
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
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Label_FD21:
|
|
rts ; CPU:$FD21 PRG:3D21 60
|
|
; ---- data $FD22-$FFFF (734 bytes) ----
|
|
; referenced by `bit $FFA9` at $C5FB (operand $FFA9 falls inside this region)
|
|
; referenced by `bit $FFA9` at $F910 (operand $FFA9 falls inside this region)
|
|
; referenced by `lda $FF01,y` at $F967 (operand $FF01 falls inside this region)
|
|
; referenced by `lda $FF00,y` at $F96F (operand $FF00 falls inside this region)
|
|
; 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
|
|
.byte $30, $04, $30, $44, $02, $04, $4B, $84, $02, $28, $AF, $E9, $EF, $42, $02, $04 ; CPU:$FD52 PRG:3D52 30 04 30 44 02 04 4B 84 02 28 AF E9 EF 42 02 04
|
|
.byte $82, $84, $44, $02, $04, $4B, $84, $02, $28, $AF, $E9, $EF, $82, $45, $6D, $8A ; CPU:$FD62 PRG:3D62 82 84 44 02 04 4B 84 02 28 AF E9 EF 82 45 6D 8A
|
|
.byte $48, $02, $04, $6E, $02, $28, $66, $02, $24, $60, $02, $E2, $28, $AB, $ED, $C5 ; CPU:$FD72 PRG:3D72 48 02 04 6E 02 28 66 02 24 60 02 E2 28 AB ED C5
|
|
.byte $91, $CF, $CB, $85, $EF, $E9, $A7, $E5, $E1, $9B, $E1, $E5, $00, $42, $02, $22 ; CPU:$FD82 PRG:3D82 91 CF CB 85 EF E9 A7 E5 E1 9B E1 E5 00 42 02 22
|
|
.byte $82, $A2, $62, $02, $22, $63, $A2, $02, $1E, $A5, $DF, $E5, $42, $02, $22, $82 ; CPU:$FD92 PRG:3D92 82 A2 62 02 22 63 A2 02 1E A5 DF E5 42 02 22 82
|
|
.byte $A2, $62, $02, $22, $63, $A2, $02, $1E, $A5, $DF, $E5, $82, $61, $61, $AC, $6C ; CPU:$FDA2 PRG:3DA2 A2 62 02 22 63 A2 02 1E A5 DF E5 82 61 61 AC 6C
|
|
.byte $02, $2C, $68, $02, $24, $60, $02, $1E, $5A, $02, $1A, $43, $02, $24, $A5, $E7 ; CPU:$FDB2 PRG:3DB2 02 2C 68 02 24 60 02 1E 5A 02 1A 43 02 24 A5 E7
|
|
.byte $ED, $8B, $C9, $C5, $AD, $E9, $E1, $A1, $DF, $DB, $B3, $DB, $DF, $9A, $A2, $A8 ; CPU:$FDC2 PRG:3DC2 ED 8B C9 C5 AD E9 E1 A1 DF DB B3 DB DF 9A A2 A8
|
|
.byte $AC, $AE, $AC, $A8, $A2, $9A, $A2, $A8, $AC, $AE, $AC, $A8, $A2, $A4, $AC, $84 ; CPU:$FDD2 PRG:3DD2 AC AE AC A8 A2 9A A2 A8 AC AE AC A8 A2 A4 AC 84
|
|
.byte $88, $8A, $88, $84, $AC, $9A, $A2, $A8, $AC, $AE, $AC, $A8, $A2, $A7, $E9, $E9 ; CPU:$FDE2 PRG:3DE2 88 8A 88 84 AC 9A A2 A8 AC AE AC A8 A2 A7 E9 E9
|
|
.byte $A7, $E9, $E9, $87, $C9, $C9, $87, $C9, $C9, $92, $8E, $4A, $02, $84, $04, $44 ; CPU:$FDF2 PRG:3DF2 A7 E9 E9 87 C9 C9 87 C9 C9 92 8E 4A 02 84 04 44
|
|
.byte $02, $A2, $02, $A4, $A6, $A9, $E7, $E9, $AB, $E9, $EB, $AD, $EB, $ED, $B1, $ED ; CPU:$FE02 PRG:3E02 02 A2 02 A4 A6 A9 E7 E9 AB E9 EB AD EB ED B1 ED
|
|
.byte $F1, $00, $9F, $DF, $DF, $9F, $DF, $DF, $A7, $E7, $E7, $AD, $ED, $ED, $88, $88 ; CPU:$FE12 PRG:3E12 F1 00 9F DF DF 9F DF DF A7 E7 E7 AD ED ED 88 88
|
|
.byte $44, $02, $AC, $2C, $68, $02, $9A, $02, $9E, $A0, $BB, $F9, $FB, $9B, $FB, $DB ; CPU:$FE22 PRG:3E22 44 02 AC 2C 68 02 9A 02 9E A0 BB F9 FB 9B FB DB
|
|
.byte $9D, $DB, $DD, $A9, $E5, $E9, $A8, $B0, $88, $90, $98, $98, $54, $02, $8E, $0E ; CPU:$FE32 PRG:3E32 9D DB DD A9 E5 E9 A8 B0 88 90 98 98 54 02 8E 0E
|
|
.byte $9A, $A2, $A4, $A6, $A8, $AA, $AC, $B0, $03, $03, $03, $03, $03, $03, $03, $03 ; CPU:$FE42 PRG:3E42 9A A2 A4 A6 A8 AA AC B0 03 03 03 03 03 03 03 03
|
|
.byte $00, $68, $02, $22, $64, $02, $28, $42, $02, $04, $30, $04, $30, $04, $68, $02 ; CPU:$FE52 PRG:3E52 00 68 02 22 64 02 28 42 02 04 30 04 30 04 68 02
|
|
.byte $22, $64, $02, $28, $42, $02, $04, $30, $04, $30, $04, $6C, $02, $24, $68, $02 ; CPU:$FE62 PRG:3E62 22 64 02 28 42 02 04 30 04 30 04 6C 02 24 68 02
|
|
.byte $2C, $42, $02, $08, $06, $08, $06, $08, $6C, $02, $24, $68, $02, $2C, $42, $02 ; CPU:$FE72 PRG:3E72 2C 42 02 08 06 08 06 08 6C 02 24 68 02 2C 42 02
|
|
.byte $08, $06, $08, $06, $08, $70, $02, $28, $6C, $02, $30, $42, $02, $0E, $0C, $0E ; CPU:$FE82 PRG:3E82 08 06 08 06 08 70 02 28 6C 02 30 42 02 0E 0C 0E
|
|
.byte $0C, $0E, $70, $02, $28, $6C, $02, $30, $42, $02, $0E, $0C, $0E, $0C, $0E, $8D ; CPU:$FE92 PRG:3E92 0C 0E 70 02 28 6C 02 30 42 02 0E 0C 0E 0C 0E 8D
|
|
.byte $C5, $E9, $8D, $C5, $E9, $8F, $C9, $ED, $8F, $C9, $ED, $91, $C9, $C5, $91, $C9 ; CPU:$FEA2 PRG:3EA2 C5 E9 8D C5 E9 8F C9 ED 8F C9 ED 91 C9 C5 91 C9
|
|
.byte $C5, $93, $CF, $C9, $B1, $EF, $ED, $5A, $5C, $5E, $60, $A2, $69, $67, $6B, $A8 ; CPU:$FEB2 PRG:3EB2 C5 93 CF C9 B1 EF ED 5A 5C 5E 60 A2 69 67 6B A8
|
|
.byte $84, $68, $66, $02, $24, $60, $02, $9A, $1A, $9D, $DF, $E1, $A3, $E5, $E7, $A9 ; CPU:$FEC2 PRG:3EC2 84 68 66 02 24 60 02 9A 1A 9D DF E1 A3 E5 E7 A9
|
|
.byte $EB, $ED, $F0, $42, $02, $04, $4A, $02, $CC, $02, $00, $72, $74, $76, $78, $BA ; CPU:$FED2 PRG:3ED2 EB ED F0 42 02 04 4A 02 CC 02 00 72 74 76 78 BA
|
|
.byte $5F, $5D, $61, $9E, $A8, $5E, $5C, $02, $1A, $78, $02, $B2, $38, $B1, $DB, $DD ; CPU:$FEE2 PRG:3EE2 5F 5D 61 9E A8 5E 5C 02 1A 78 02 B2 38 B1 DB DD
|
|
.byte $9F, $E1, $E3, $A5, $E7, $E9, $EC, $42, $02, $28, $6E, $02, $F0, $02, $03, $57 ; CPU:$FEF2 PRG:3EF2 9F E1 E3 A5 E7 E9 EC 42 02 28 6E 02 F0 02 03 57
|
|
.byte $00, $00, $00, $D4, $00, $C8, $00, $BD, $00, $B2, $00, $A8, $00, $9F, $00, $96 ; CPU:$FF02 PRG:3F02 00 00 00 D4 00 C8 00 BD 00 B2 00 A8 00 9F 00 96
|
|
.byte $00, $8D, $00, $7E, $00, $76, $00, $70, $01, $AB, $01, $93, $01, $7C, $01, $67 ; CPU:$FF12 PRG:3F12 00 8D 00 7E 00 76 00 70 01 AB 01 93 01 7C 01 67
|
|
.byte $01, $52, $01, $3F, $01, $2D, $01, $1C, $01, $0C, $00, $FD, $00, $EE, $00, $E1 ; CPU:$FF22 PRG:3F22 01 52 01 3F 01 2D 01 1C 01 0C 00 FD 00 EE 00 E1
|
|
.byte $02, $3A, $02, $1A, $01, $FC, $01, $DF, $01, $C4, $00, $0E, $04, $75, $05, $0A ; CPU:$FF32 PRG:3F32 02 3A 02 1A 01 FC 01 DF 01 C4 00 0E 04 75 05 0A
|
|
.byte $14, $28, $50, $1E, $05, $0A, $14, $28, $50, $1E, $06, $07, $5A, $5C, $5E, $60 ; CPU:$FF42 PRG:3F42 14 28 50 1E 05 0A 14 28 50 1E 06 07 5A 5C 5E 60
|
|
.byte $A2, $69, $67, $6B, $A8, $84, $68, $66, $02, $24, $60, $02, $9A, $28, $AB, $ED ; CPU:$FF52 PRG:3F52 A2 69 67 6B A8 84 68 66 02 24 60 02 9A 28 AB ED
|
|
.byte $EF, $B1, $C5, $C7, $89, $CB, $CD, $D0, $42, $02, $04, $4A, $02, $CC, $02, $A3 ; CPU:$FF62 PRG:3F62 EF B1 C5 C7 89 CB CD D0 42 02 04 4A 02 CC 02 A3
|
|
.byte $E3, $E3, $64, $02, $A6, $28, $2A, $28, $2A, $28, $A7, $E9, $C5, $4A, $02, $84 ; CPU:$FF72 PRG:3F72 E3 E3 64 02 A6 28 2A 28 2A 28 A7 E9 C5 4A 02 84
|
|
.byte $2E, $A9, $E7, $E5, $A3, $E3, $E3, $64, $02, $A6, $28, $2A, $28, $2A, $28, $52 ; CPU:$FF82 PRG:3F82 2E A9 E7 E5 A3 E3 E3 64 02 A6 28 2A 28 2A 28 52
|
|
.byte $02, $0E, $4A, $02, $C4, $02, $00, $9B, $DB, $DB, $5E, $02, $9A, $9E, $02, $03 ; CPU:$FF92 PRG:3F92 02 0E 4A 02 C4 02 00 9B DB DB 5E 02 9A 9E 02 03
|
|
.byte $9B, $DB, $DB, $5E, $02, $9A, $9E, $02, $48, $02, $08, $44, $02, $E8, $02, $A9 ; CPU:$FFA2 PRG:3FA2 9B DB DB 5E 02 9A 9E 02 48 02 08 44 02 E8 02 A9
|
|
.byte $E9, $E9, $6C, $02, $AA, $B0, $02, $A7, $E9, $C5, $4A, $02, $84, $2E, $A9, $E7 ; CPU:$FFB2 PRG:3FB2 E9 E9 6C 02 AA B0 02 A7 E9 C5 4A 02 84 2E A9 E7
|
|
.byte $E5, $A9, $E9, $E9, $6C, $02, $AA, $B0, $02, $58, $02, $18, $54, $02, $CC, $02 ; CPU:$FFC2 PRG:3FC2 E5 A9 E9 E9 6C 02 AA B0 02 58 02 18 54 02 CC 02
|
|
.byte $28, $26, $28, $26, $E8, $00, $00, $50, $51, $51, $51, $51, $51, $51, $51, $51 ; CPU:$FFD2 PRG:3FD2 28 26 28 26 E8 00 00 50 51 51 51 51 51 51 51 51
|
|
.byte $52, $52, $52, $52, $52, $52, $53, $53, $53, $53, $53, $54, $54, $54, $54, $55 ; CPU:$FFE2 PRG:3FE2 52 52 52 52 52 52 53 53 53 53 53 54 54 54 54 55
|
|
.byte $55, $55, $56, $56, $56, $56, $57, $FF, $76, $C0, $14, $C0, $F0, $FF ; CPU:$FFF2 PRG:3FF2 55 55 56 56 56 56 57 FF 76 C0 14 C0 F0 FF
|