- 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>
8546 lines
610 KiB
ArmAsm
8546 lines
610 KiB
ArmAsm
; Duck Hunt (JUE) 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=$C086 RESET=$C000 IRQ=$C000
|
|
; PRG mapped at $C000-$FFFF (NROM, mirrored to the upper half)
|
|
;
|
|
; Pass 1 trace provenance (the audit trail behind every classification below):
|
|
; 41 further routine entries recovered from table references elsewhere in the image:
|
|
; $C437, $C4BF, $C4E0, $C502, $C625, $C62E, $C641, $C64B, $C7FB, $C839, $C86E, $C932, $C996, $CA0A, $CA19, $CC3D, $CC8B, $CCFD, $CD3C, $CE18, $CE20, $CE2E, $CF16, $CF56, $CFF9, $D050, $D12B, $D528, $D53C, $D54B, $D5D2, $D678, $D6D5, $D78F, $D7C5, $D81B, $D8AE, $D8DB, $D907, $D93A, $DAB5
|
|
; entries seeded by hand after inspecting code-shaped but unreferenced blocks:
|
|
; $C000, $C086
|
|
; indirect dispatch through zero page (not followed statically):
|
|
; jmp ($0014) at $C379
|
|
; jmp ($0610) at $F527
|
|
; jmp ($0612) at $F541
|
|
;
|
|
.setcpu "6502"
|
|
|
|
.include "symbols.inc"
|
|
.include "locals.inc"
|
|
|
|
.segment "PRG"
|
|
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: Reset
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
Reset:
|
|
cld ; CPU:$C000 PRG:0000 D8
|
|
sei ; CPU:$C001 PRG:0001 78
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: WaitVBlank
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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:
|
|
lda PPUSTATUS ; CPU:$C002 PRG:0002 AD 02 20
|
|
bpl WaitVBlank ; CPU:$C005 PRG:0005 10 FB
|
|
ldx #$00 ; CPU:$C007 PRG:0007 A2 00
|
|
stx PPUCTRL ; CPU:$C009 PRG:0009 8E 00 20
|
|
stx PPUMASK ; CPU:$C00C PRG:000C 8E 01 20
|
|
dex ; CPU:$C00F PRG:000F CA
|
|
txs ; CPU:$C010 PRG:0010 9A
|
|
ldx $05EC ; CPU:$C011 PRG:0011 AE EC 05
|
|
ldy #$06 ; CPU:$C014 PRG:0014 A0 06
|
|
sty PtrHi ; CPU:$C016 PRG:0016 84 01
|
|
ldy #$00 ; CPU:$C018 PRG:0018 A0 00
|
|
sty PtrLo ; CPU:$C01A PRG:001A 84 00
|
|
lda #$00 ; CPU:$C01C PRG:001C A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; 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:$C01E PRG:001E 91 00
|
|
dey ; CPU:$C020 PRG:0020 88
|
|
bne ClearZeropage ; CPU:$C021 PRG:0021 D0 FB
|
|
dec PtrHi ; CPU:$C023 PRG:0023 C6 01
|
|
bpl ClearZeropage ; CPU:$C025 PRG:0025 10 F7
|
|
txa ; CPU:$C027 PRG:0027 8A
|
|
bne InitGameState ; CPU:$C028 PRG:0028 D0 02
|
|
ldx #$5F ; CPU:$C02A PRG:002A A2 5F
|
|
; -----------------------------------------------------------------------------
|
|
; 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:
|
|
stx $05EC ; CPU:$C02C PRG:002C 8E EC 05
|
|
jsr $C22B ; CPU:$C02F PRG:002F 20 2B C2
|
|
jsr $C23B ; CPU:$C032 PRG:0032 20 3B C2
|
|
ldy #$00 ; CPU:$C035 PRG:0035 A0 00
|
|
sta PPUSCROLL ; CPU:$C037 PRG:0037 8D 05 20
|
|
sta PPUSCROLL ; CPU:$C03A PRG:003A 8D 05 20
|
|
ldy #$01 ; CPU:$C03D PRG:003D A0 01
|
|
sty Zp24 ; CPU:$C03F PRG:003F 84 24
|
|
lda #$0F ; CPU:$C041 PRG:0041 A9 0F
|
|
sta APUSTATUS ; CPU:$C043 PRG:0043 8D 15 40
|
|
jsr $F581 ; CPU:$C046 PRG:0046 20 81 F5
|
|
lda #$90 ; CPU:$C049 PRG:0049 A9 90
|
|
sta PPUCTRL ; CPU:$C04B PRG:004B 8D 00 20
|
|
sta Zp08 ; CPU:$C04E PRG:004E 85 08
|
|
lda #$02 ; CPU:$C050 PRG:0050 A9 02
|
|
sta GameState ; CPU:$C052 PRG:0052 85 09
|
|
ldx #$0B ; CPU:$C054 PRG:0054 A2 0B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: InitVariables
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
InitVariables:
|
|
lda $E5DF,x ; CPU:$C056 PRG:0056 BD DF E5
|
|
sta $05F0,x ; CPU:$C059 PRG:0059 9D F0 05
|
|
dex ; CPU:$C05C PRG:005C CA
|
|
bpl InitVariables ; CPU:$C05D PRG:005D 10 F7
|
|
bmi MainGameLoop_3 ; CPU:$C05F PRG:005F 30 1B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: MainGameLoop_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.
|
|
; -----------------------------------------------------------------------------
|
|
MainGameLoop_1:
|
|
lda Zp24 ; CPU:$C061 PRG:0061 A5 24
|
|
beq GameModeCheck_3 ; CPU:$C063 PRG:0063 F0 06
|
|
lda Zp26 ; CPU:$C065 PRG:0065 A5 26
|
|
cmp #$01 ; CPU:$C067 PRG:0067 C9 01
|
|
bne GameplayFrame ; CPU:$C069 PRG:0069 D0 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: GameModeCheck_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.
|
|
; -----------------------------------------------------------------------------
|
|
GameModeCheck_3:
|
|
jsr $F56C ; CPU:$C06B PRG:006B 20 6C F5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: GameplayFrame
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
GameplayFrame:
|
|
jsr $C348 ; CPU:$C06E PRG:006E 20 48 C3
|
|
jsr $C284 ; CPU:$C071 PRG:0071 20 84 C2
|
|
jsr $C0B3 ; CPU:$C074 PRG:0074 20 B3 C0
|
|
inc Zp2F ; CPU:$C077 PRG:0077 E6 2F
|
|
jsr $C61E ; CPU:$C079 PRG:0079 20 1E C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: MainGameLoop_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.
|
|
; -----------------------------------------------------------------------------
|
|
MainGameLoop_3:
|
|
lda Zp20 ; CPU:$C07C PRG:007C A5 20
|
|
bne MainGameLoop_1 ; CPU:$C07E PRG:007E D0 E1
|
|
jsr $C588 ; CPU:$C080 PRG:0080 20 88 C5
|
|
jmp $C07C ; CPU:$C083 PRG:0083 4C 7C C0
|
|
; -----------------------------------------------------------------------------
|
|
; 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:
|
|
php ; CPU:$C086 PRG:0086 08
|
|
pha ; CPU:$C087 PRG:0087 48
|
|
txa ; CPU:$C088 PRG:0088 8A
|
|
pha ; CPU:$C089 PRG:0089 48
|
|
tya ; CPU:$C08A PRG:008A 98
|
|
pha ; CPU:$C08B PRG:008B 48
|
|
lda #$00 ; CPU:$C08C PRG:008C A9 00
|
|
sta OAMADDR ; CPU:$C08E PRG:008E 8D 03 20
|
|
lda #$02 ; CPU:$C091 PRG:0091 A9 02
|
|
sta OAMDMA ; CPU:$C093 PRG:0093 8D 14 40
|
|
lda Zp22 ; CPU:$C096 PRG:0096 A5 22
|
|
bne NmiFrameEnd ; CPU:$C098 PRG:0098 D0 0C
|
|
jsr $C2BF ; CPU:$C09A PRG:009A 20 BF C2
|
|
jsr $C249 ; CPU:$C09D PRG:009D 20 49 C2
|
|
jsr $C263 ; CPU:$C0A0 PRG:00A0 20 63 C2
|
|
jsr $C3C1 ; CPU:$C0A3 PRG:00A3 20 C1 C3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: NmiFrameEnd
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
NmiFrameEnd:
|
|
ldy #$01 ; CPU:$C0A6 PRG:00A6 A0 01
|
|
sty Zp22 ; CPU:$C0A8 PRG:00A8 84 22
|
|
sty Zp20 ; CPU:$C0AA PRG:00AA 84 20
|
|
pla ; CPU:$C0AC PRG:00AC 68
|
|
tay ; CPU:$C0AD PRG:00AD A8
|
|
pla ; CPU:$C0AE PRG:00AE 68
|
|
tax ; CPU:$C0AF PRG:00AF AA
|
|
pla ; CPU:$C0B0 PRG:00B0 68
|
|
plp ; CPU:$C0B1 PRG:00B1 28
|
|
rti ; CPU:$C0B2 PRG:00B2 40
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: GameModeDispatcher
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
GameModeDispatcher:
|
|
lda Zp24 ; CPU:$C0B3 PRG:00B3 A5 24
|
|
beq TitleScreenLoop ; CPU:$C0B5 PRG:00B5 F0 03
|
|
jmp $C14E ; CPU:$C0B7 PRG:00B7 4C 4E C1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: TitleScreenLoop
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
TitleScreenLoop:
|
|
lda Zp16 ; CPU:$C0BA PRG:00BA A5 16
|
|
and #$10 ; CPU:$C0BC PRG:00BC 29 10
|
|
beq UpdateGameState2 ; CPU:$C0BE PRG:00BE F0 5E
|
|
ldy $05FC ; CPU:$C0C0 PRG:00C0 AC FC 05
|
|
bne UpdateGameState3_1 ; CPU:$C0C3 PRG:00C3 D0 5E
|
|
iny ; CPU:$C0C5 PRG:00C5 C8
|
|
sty $05FC ; CPU:$C0C6 PRG:00C6 8C FC 05
|
|
ldy Temp ; CPU:$C0C9 PRG:00C9 A4 25
|
|
cpy #$10 ; CPU:$C0CB PRG:00CB C0 10
|
|
beq UpdateZp09_2 ; CPU:$C0CD PRG:00CD F0 30
|
|
cpy #$03 ; CPU:$C0CF PRG:00CF C0 03
|
|
beq InitializeRoundData ; CPU:$C0D1 PRG:00D1 F0 0C
|
|
cpy #$04 ; CPU:$C0D3 PRG:00D3 C0 04
|
|
beq InitializeRoundData ; CPU:$C0D5 PRG:00D5 F0 08
|
|
cpy #$0B ; CPU:$C0D7 PRG:00D7 C0 0B
|
|
beq InitializeRoundData ; CPU:$C0D9 PRG:00D9 F0 04
|
|
cpy #$0C ; CPU:$C0DB PRG:00DB C0 0C
|
|
bne UpdateGameState3_1 ; CPU:$C0DD PRG:00DD D0 44
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: InitializeRoundData
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
InitializeRoundData:
|
|
ldx #$05 ; CPU:$C0DF PRG:00DF A2 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: InitializeDuckDataLoop
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
InitializeDuckDataLoop:
|
|
lda Zp2A,x ; CPU:$C0E1 PRG:00E1 B5 2A
|
|
sta $0430,x ; CPU:$C0E3 PRG:00E3 9D 30 04
|
|
dex ; CPU:$C0E6 PRG:00E6 CA
|
|
bpl InitializeDuckDataLoop ; CPU:$C0E7 PRG:00E7 10 F8
|
|
lda GameState ; CPU:$C0E9 PRG:00E9 A5 09
|
|
and #$0E ; CPU:$C0EB PRG:00EB 29 0E
|
|
sta PPUMASK ; CPU:$C0ED PRG:00ED 8D 01 20
|
|
sta GameState ; CPU:$C0F0 PRG:00F0 85 09
|
|
lda Temp ; CPU:$C0F2 PRG:00F2 A5 25
|
|
sta Zp1D ; CPU:$C0F4 PRG:00F4 85 1D
|
|
lda #$10 ; CPU:$C0F6 PRG:00F6 A9 10
|
|
sta Temp ; CPU:$C0F8 PRG:00F8 85 25
|
|
lda #$07 ; CPU:$C0FA PRG:00FA A9 07
|
|
jmp $C112 ; CPU:$C0FC PRG:00FC 4C 12 C1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateZp09_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateZp09_2:
|
|
lda GameState ; CPU:$C0FF PRG:00FF A5 09
|
|
ora #$10 ; CPU:$C101 PRG:0101 09 10
|
|
sta PPUMASK ; CPU:$C103 PRG:0103 8D 01 20
|
|
sta GameState ; CPU:$C106 PRG:0106 85 09
|
|
lda #$11 ; CPU:$C108 PRG:0108 A9 11
|
|
sta Temp ; CPU:$C10A PRG:010A 85 25
|
|
lda #$30 ; CPU:$C10C PRG:010C A9 30
|
|
sta Zp1C ; CPU:$C10E PRG:010E 85 1C
|
|
lda #$00 ; CPU:$C110 PRG:0110 A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC112
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC112:
|
|
jsr $D464 ; CPU:$C112 PRG:0112 20 64 D4
|
|
jsr $D4E2 ; CPU:$C115 PRG:0115 20 E2 D4
|
|
jsr $C5D9 ; CPU:$C118 PRG:0118 20 D9 C5
|
|
jmp $D521 ; CPU:$C11B PRG:011B 4C 21 D5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateGameState2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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:
|
|
lda #$00 ; CPU:$C11E PRG:011E A9 00
|
|
sta $05FC ; CPU:$C120 PRG:0120 8D FC 05
|
|
; -----------------------------------------------------------------------------
|
|
; 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:
|
|
lda Temp ; CPU:$C123 PRG:0123 A5 25
|
|
jsr $C35E ; CPU:$C125 PRG:0125 20 5E C3
|
|
ora $39C8,x ; CPU:$C128 PRG:0128 1D C8 39
|
|
iny ; CPU:$C12B PRG:012B C8
|
|
; ---- data $C12C-$C14D (34 bytes) ----
|
|
GameState3_1_Data: ; UpdateGameState3_1 data
|
|
.byte $54, $C8, $6E, $C8, $C9, $D2, $E0, $C5, $79, $C7, $2C, $C7, $4B, $D5, $6A, $D5 ; CPU:$C12C PRG:012C 54 C8 6E C8 C9 D2 E0 C5 79 C7 2C C7 4B D5 6A D5
|
|
.byte $93, $D5, $D2, $D5, $C9, $D2, $EF, $C7, $E0, $C5, $E0, $C5, $E0, $C5, $71, $C2 ; CPU:$C13C PRG:013C 93 D5 D2 D5 C9 D2 EF C7 E0 C5 E0 C5 E0 C5 71 C2
|
|
.byte $25, $C6 ; CPU:$C14C PRG:014C 25 C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC14E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC14E:
|
|
lda #$00 ; CPU:$C14E PRG:014E A9 00
|
|
sta $05FF ; CPU:$C150 PRG:0150 8D FF 05
|
|
lda #$01 ; CPU:$C153 PRG:0153 A9 01
|
|
sta ZpB9 ; CPU:$C155 PRG:0155 85 B9
|
|
sta ZpBA ; CPU:$C157 PRG:0157 85 BA
|
|
lda Zp26 ; CPU:$C159 PRG:0159 A5 26
|
|
beq UpdateGameState5 ; CPU:$C15B PRG:015B F0 30
|
|
jsr $D131 ; CPU:$C15D PRG:015D 20 31 D1
|
|
jsr $D160 ; CPU:$C160 PRG:0160 20 60 D1
|
|
lda $05FF ; CPU:$C163 PRG:0163 AD FF 05
|
|
cmp #$01 ; CPU:$C166 PRG:0166 C9 01
|
|
beq SubCC14E_Block ; CPU:$C168 PRG:0168 F0 0C
|
|
cmp #$02 ; CPU:$C16A PRG:016A C9 02
|
|
beq SubCC14E_Block_2 ; CPU:$C16C PRG:016C F0 2B
|
|
lda Zp16 ; CPU:$C16E PRG:016E A5 16
|
|
and #$30 ; CPU:$C170 PRG:0170 29 30
|
|
cmp #$10 ; CPU:$C172 PRG:0172 C9 10
|
|
bne SubCC14E_Block_3 ; CPU:$C174 PRG:0174 D0 13
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC14E_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC14E_Block:
|
|
lda #$00 ; CPU:$C176 PRG:0176 A9 00
|
|
sta Zp24 ; CPU:$C178 PRG:0178 85 24
|
|
sta Temp ; CPU:$C17A PRG:017A 85 25
|
|
jsr $D4E2 ; CPU:$C17C PRG:017C 20 E2 D4
|
|
jsr $C5E1 ; CPU:$C17F PRG:017F 20 E1 C5
|
|
lda #$02 ; CPU:$C182 PRG:0182 A9 02
|
|
sta Zp2A ; CPU:$C184 PRG:0184 85 2A
|
|
sta Zp2D ; CPU:$C186 PRG:0186 85 2D
|
|
rts ; CPU:$C188 PRG:0188 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC14E_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC14E_Block_3:
|
|
ldx Zp26 ; CPU:$C189 PRG:0189 A6 26
|
|
bne SubCC14E_Block_4 ; CPU:$C18B PRG:018B D0 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateGameState5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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:
|
|
jmp $C217 ; CPU:$C18D PRG:018D 4C 17 C2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC14E_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC14E_Block_4:
|
|
cmp #$20 ; CPU:$C190 PRG:0190 C9 20
|
|
bne SubCC14E_Block_5 ; CPU:$C192 PRG:0192 D0 15
|
|
lda $05FD ; CPU:$C194 PRG:0194 AD FD 05
|
|
bne SubCC14E_Block_6 ; CPU:$C197 PRG:0197 D0 1E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC14E_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC14E_Block_2:
|
|
ldy $05FE ; CPU:$C199 PRG:0199 AC FE 05
|
|
iny ; CPU:$C19C PRG:019C C8
|
|
cpy #$03 ; CPU:$C19D PRG:019D C0 03
|
|
bne SubCC14E_Block_7 ; CPU:$C19F PRG:019F D0 02
|
|
ldy #$00 ; CPU:$C1A1 PRG:01A1 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC14E_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC14E_Block_7:
|
|
sty $05FE ; CPU:$C1A3 PRG:01A3 8C FE 05
|
|
jmp $C1B2 ; CPU:$C1A6 PRG:01A6 4C B2 C1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC14E_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC14E_Block_5:
|
|
cmp #$00 ; CPU:$C1A9 PRG:01A9 C9 00
|
|
bne UpdateGameState ; CPU:$C1AB PRG:01AB D0 05
|
|
sta $05FD ; CPU:$C1AD PRG:01AD 8D FD 05
|
|
beq SubCC14E_Block_8 ; CPU:$C1B0 PRG:01B0 F0 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateGameState
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateGameState:
|
|
lda #$01 ; CPU:$C1B2 PRG:01B2 A9 01
|
|
sta $05FD ; CPU:$C1B4 PRG:01B4 8D FD 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC14E_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC14E_Block_6:
|
|
lda #$FF ; CPU:$C1B7 PRG:01B7 A9 FF
|
|
sta Zp2D ; CPU:$C1B9 PRG:01B9 85 2D
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC14E_Block_8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC14E_Block_8:
|
|
cpx #$01 ; CPU:$C1BB PRG:01BB E0 01
|
|
bne UpdateGameState6_3 ; CPU:$C1BD PRG:01BD D0 58
|
|
lda #$51 ; CPU:$C1BF PRG:01BF A9 51
|
|
sta $0500 ; CPU:$C1C1 PRG:01C1 8D 00 05
|
|
lda #$24 ; CPU:$C1C4 PRG:01C4 A9 24
|
|
ldx #$04 ; CPU:$C1C6 PRG:01C6 A2 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateGameState_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateGameState_Block:
|
|
sta $0501,x ; CPU:$C1C8 PRG:01C8 9D 01 05
|
|
dex ; CPU:$C1CB PRG:01CB CA
|
|
bpl UpdateGameState_Block ; CPU:$C1CC PRG:01CC 10 FA
|
|
lda $05FE ; CPU:$C1CE PRG:01CE AD FE 05
|
|
asl a ; CPU:$C1D1 PRG:01D1 0A
|
|
tax ; CPU:$C1D2 PRG:01D2 AA
|
|
lda #$26 ; CPU:$C1D3 PRG:01D3 A9 26
|
|
sta $0501,x ; CPU:$C1D5 PRG:01D5 9D 01 05
|
|
ldx #$26 ; CPU:$C1D8 PRG:01D8 A2 26
|
|
ldy #$22 ; CPU:$C1DA PRG:01DA A0 22
|
|
jsr $C71D ; CPU:$C1DC PRG:01DC 20 1D C7
|
|
lda $05FE ; CPU:$C1DF PRG:01DF AD FE 05
|
|
asl a ; CPU:$C1E2 PRG:01E2 0A
|
|
asl a ; CPU:$C1E3 PRG:01E3 0A
|
|
clc ; CPU:$C1E4 PRG:01E4 18
|
|
adc #$03 ; CPU:$C1E5 PRG:01E5 69 03
|
|
tax ; CPU:$C1E7 PRG:01E7 AA
|
|
ldy #$05 ; CPU:$C1E8 PRG:01E8 A0 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateGameState6_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.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateGameState6_1:
|
|
lda $05F0,x ; CPU:$C1EA PRG:01EA BD F0 05
|
|
and #$0F ; CPU:$C1ED PRG:01ED 29 0F
|
|
sta $0501,y ; CPU:$C1EF PRG:01EF 99 01 05
|
|
dey ; CPU:$C1F2 PRG:01F2 88
|
|
lda $05F0,x ; CPU:$C1F3 PRG:01F3 BD F0 05
|
|
lsr a ; CPU:$C1F6 PRG:01F6 4A
|
|
lsr a ; CPU:$C1F7 PRG:01F7 4A
|
|
lsr a ; CPU:$C1F8 PRG:01F8 4A
|
|
lsr a ; CPU:$C1F9 PRG:01F9 4A
|
|
sta $0501,y ; CPU:$C1FA PRG:01FA 99 01 05
|
|
dex ; CPU:$C1FD PRG:01FD CA
|
|
dey ; CPU:$C1FE PRG:01FE 88
|
|
bpl UpdateGameState6_1 ; CPU:$C1FF PRG:01FF 10 E9
|
|
lda $0501 ; CPU:$C201 PRG:0201 AD 01 05
|
|
bne UpdateGameState_Block_2 ; CPU:$C204 PRG:0204 D0 05
|
|
lda #$24 ; CPU:$C206 PRG:0206 A9 24
|
|
sta $0501 ; CPU:$C208 PRG:0208 8D 01 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateGameState_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateGameState_Block_2:
|
|
lda #$16 ; CPU:$C20B PRG:020B A9 16
|
|
sta $0500 ; CPU:$C20D PRG:020D 8D 00 05
|
|
ldx #$12 ; CPU:$C210 PRG:0210 A2 12
|
|
ldy #$23 ; CPU:$C212 PRG:0212 A0 23
|
|
jsr $C71D ; CPU:$C214 PRG:0214 20 1D C7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateGameState6_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.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateGameState6_3:
|
|
lda Zp2D ; CPU:$C217 PRG:0217 A5 2D
|
|
bne UpdateGameState6_3_Block ; CPU:$C219 PRG:0219 D0 07
|
|
jsr $D509 ; CPU:$C21B PRG:021B 20 09 D5
|
|
lda #$FF ; CPU:$C21E PRG:021E A9 FF
|
|
sta Zp2D ; CPU:$C220 PRG:0220 85 2D
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateGameState6_3_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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_3_Block:
|
|
lda Zp26 ; CPU:$C222 PRG:0222 A5 26
|
|
jsr $C35E ; CPU:$C224 PRG:0224 20 5E C3
|
|
tax ; CPU:$C227 PRG:0227 AA
|
|
cmp ZpE0 ; CPU:$C228 PRG:0228 C5 E0
|
|
; ---- data $C22A-$C22A (1 bytes) ----
|
|
.byte $C5 ; CPU:$C22A PRG:022A C5
|
|
; -----------------------------------------------------------------------------
|
|
; 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:
|
|
lda #$02 ; CPU:$C22B PRG:022B A9 02
|
|
jsr $C232 ; CPU:$C22D PRG:022D 20 32 C2
|
|
lda #$01 ; CPU:$C230 PRG:0230 A9 01
|
|
; -----------------------------------------------------------------------------
|
|
; 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:
|
|
sta PtrHi ; CPU:$C232 PRG:0232 85 01
|
|
lda #$24 ; CPU:$C234 PRG:0234 A9 24
|
|
sta PtrLo ; CPU:$C236 PRG:0236 85 00
|
|
jmp $C303 ; CPU:$C238 PRG:0238 4C 03 C3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC23B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC23B:
|
|
ldy #$00 ; CPU:$C23B PRG:023B A0 00
|
|
lda #$F4 ; CPU:$C23D PRG:023D A9 F4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC23B_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC23B_Block:
|
|
sta $0200,y ; CPU:$C23F PRG:023F 99 00 02
|
|
iny ; CPU:$C242 PRG:0242 C8
|
|
iny ; CPU:$C243 PRG:0243 C8
|
|
iny ; CPU:$C244 PRG:0244 C8
|
|
iny ; CPU:$C245 PRG:0245 C8
|
|
bne SubCC23B_Block ; CPU:$C246 PRG:0246 D0 F7
|
|
rts ; CPU:$C248 PRG:0248 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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:
|
|
ldy SprData ; CPU:$C249 PRG:0249 A4 23
|
|
beq UpdateSprites3_Block ; CPU:$C24B PRG:024B F0 15
|
|
dey ; CPU:$C24D PRG:024D 88
|
|
tya ; CPU:$C24E PRG:024E 98
|
|
asl a ; CPU:$C24F PRG:024F 0A
|
|
tay ; CPU:$C250 PRG:0250 A8
|
|
lda $E532,y ; CPU:$C251 PRG:0251 B9 32 E5
|
|
ldx $E533,y ; CPU:$C254 PRG:0254 BE 33 E5
|
|
ldy #$00 ; CPU:$C257 PRG:0257 A0 00
|
|
sty SprData ; CPU:$C259 PRG:0259 84 23
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateSprites3_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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_Block_2:
|
|
sta PtrLo ; CPU:$C25B PRG:025B 85 00
|
|
stx PtrHi ; CPU:$C25D PRG:025D 86 01
|
|
jsr $C3B8 ; CPU:$C25F PRG:025F 20 B8 C3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateSprites3_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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_Block:
|
|
rts ; CPU:$C262 PRG:0262 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateSprites3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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:
|
|
ldy Zp27 ; CPU:$C263 PRG:0263 A4 27
|
|
beq UpdateSprites3_Block ; CPU:$C265 PRG:0265 F0 FB
|
|
ldy #$00 ; CPU:$C267 PRG:0267 A0 00
|
|
sty Zp27 ; CPU:$C269 PRG:0269 84 27
|
|
lda #$00 ; CPU:$C26B PRG:026B A9 00
|
|
ldx #$04 ; CPU:$C26D PRG:026D A2 04
|
|
bne UpdateSprites3_Block_2 ; CPU:$C26F PRG:026F D0 EA
|
|
dec Zp1C ; CPU:$C271 PRG:0271 C6 1C
|
|
bne UpdateSprites3_Block_3 ; CPU:$C273 PRG:0273 D0 0E
|
|
ldx #$05 ; CPU:$C275 PRG:0275 A2 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateSprites3_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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_Block_4:
|
|
lda $0430,x ; CPU:$C277 PRG:0277 BD 30 04
|
|
sta Zp2A,x ; CPU:$C27A PRG:027A 95 2A
|
|
dex ; CPU:$C27C PRG:027C CA
|
|
bpl UpdateSprites3_Block_4 ; CPU:$C27D PRG:027D 10 F8
|
|
lda Zp1D ; CPU:$C27F PRG:027F A5 1D
|
|
sta Temp ; CPU:$C281 PRG:0281 85 25
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateSprites3_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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_Block_3:
|
|
rts ; CPU:$C283 PRG:0283 60
|
|
; -----------------------------------------------------------------------------
|
|
; 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:
|
|
ldx #$01 ; CPU:$C284 PRG:0284 A2 01
|
|
stx JOY1 ; CPU:$C286 PRG:0286 8E 16 40
|
|
dex ; CPU:$C289 PRG:0289 CA
|
|
stx JOY1 ; CPU:$C28A PRG:028A 8E 16 40
|
|
jsr $C291 ; CPU:$C28D PRG:028D 20 91 C2
|
|
inx ; CPU:$C290 PRG:0290 E8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateController2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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:
|
|
ldy #$08 ; CPU:$C291 PRG:0291 A0 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateController2_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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_Block:
|
|
pha ; CPU:$C293 PRG:0293 48
|
|
lda JOY1,x ; CPU:$C294 PRG:0294 BD 16 40
|
|
sta PtrLo ; CPU:$C297 PRG:0297 85 00
|
|
lsr a ; CPU:$C299 PRG:0299 4A
|
|
ora PtrLo ; CPU:$C29A PRG:029A 05 00
|
|
lsr a ; CPU:$C29C PRG:029C 4A
|
|
pla ; CPU:$C29D PRG:029D 68
|
|
rol a ; CPU:$C29E PRG:029E 2A
|
|
dey ; CPU:$C29F PRG:029F 88
|
|
bne UpdateController2_Block ; CPU:$C2A0 PRG:02A0 D0 F1
|
|
cmp $0440,x ; CPU:$C2A2 PRG:02A2 DD 40 04
|
|
bne UpdateController2_Block_2 ; CPU:$C2A5 PRG:02A5 D0 0F
|
|
inc $0442,x ; CPU:$C2A7 PRG:02A7 FE 42 04
|
|
ldy $0442,x ; CPU:$C2AA PRG:02AA BC 42 04
|
|
cpy #$05 ; CPU:$C2AD PRG:02AD C0 05
|
|
bcc UpdateController2_Block_3 ; CPU:$C2AF PRG:02AF 90 0D
|
|
sta Zp16,x ; CPU:$C2B1 PRG:02B1 95 16
|
|
jmp $C2B9 ; CPU:$C2B3 PRG:02B3 4C B9 C2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateController2_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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_Block_2:
|
|
sta $0440,x ; CPU:$C2B6 PRG:02B6 9D 40 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateController3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateController3:
|
|
lda #$00 ; CPU:$C2B9 PRG:02B9 A9 00
|
|
sta $0442,x ; CPU:$C2BB PRG:02BB 9D 42 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateController2_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in 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_Block_3:
|
|
rts ; CPU:$C2BE PRG:02BE 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateController4_206
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateController4_206:
|
|
lda Zp21 ; CPU:$C2BF PRG:02BF A5 21
|
|
beq UpdateController4_206_Block ; CPU:$C2C1 PRG:02C1 F0 3F
|
|
lda #$61 ; CPU:$C2C3 PRG:02C3 A9 61
|
|
sta PtrLo ; CPU:$C2C5 PRG:02C5 85 00
|
|
lda #$05 ; CPU:$C2C7 PRG:02C7 A9 05
|
|
sta PtrHi ; CPU:$C2C9 PRG:02C9 85 01
|
|
lda Zp08 ; CPU:$C2CB PRG:02CB A5 08
|
|
and #$FB ; CPU:$C2CD PRG:02CD 29 FB
|
|
sta PPUCTRL ; CPU:$C2CF PRG:02CF 8D 00 20
|
|
sta Zp08 ; CPU:$C2D2 PRG:02D2 85 08
|
|
ldx PPUSTATUS ; CPU:$C2D4 PRG:02D4 AE 02 20
|
|
ldy #$00 ; CPU:$C2D7 PRG:02D7 A0 00
|
|
beq UpdateController4_206_Block_2 ; CPU:$C2D9 PRG:02D9 F0 19
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateController4_206_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateController4_206_Block_4:
|
|
sta PPUADDR ; CPU:$C2DB PRG:02DB 8D 06 20
|
|
iny ; CPU:$C2DE PRG:02DE C8
|
|
lda (PtrLo),y ; CPU:$C2DF PRG:02DF B1 00
|
|
sta PPUADDR ; CPU:$C2E1 PRG:02E1 8D 06 20
|
|
iny ; CPU:$C2E4 PRG:02E4 C8
|
|
lda (PtrLo),y ; CPU:$C2E5 PRG:02E5 B1 00
|
|
and #$3F ; CPU:$C2E7 PRG:02E7 29 3F
|
|
tax ; CPU:$C2E9 PRG:02E9 AA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateController4_206_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateController4_206_Block_3:
|
|
iny ; CPU:$C2EA PRG:02EA C8
|
|
lda (PtrLo),y ; CPU:$C2EB PRG:02EB B1 00
|
|
sta PPUDATA ; CPU:$C2ED PRG:02ED 8D 07 20
|
|
dex ; CPU:$C2F0 PRG:02F0 CA
|
|
bne UpdateController4_206_Block_3 ; CPU:$C2F1 PRG:02F1 D0 F7
|
|
iny ; CPU:$C2F3 PRG:02F3 C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateController4_206_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateController4_206_Block_2:
|
|
lda (PtrLo),y ; CPU:$C2F4 PRG:02F4 B1 00
|
|
bne UpdateController4_206_Block_4 ; CPU:$C2F6 PRG:02F6 D0 E3
|
|
lda #$00 ; CPU:$C2F8 PRG:02F8 A9 00
|
|
sta $0560 ; CPU:$C2FA PRG:02FA 8D 60 05
|
|
sta $0561 ; CPU:$C2FD PRG:02FD 8D 61 05
|
|
sta Zp21 ; CPU:$C300 PRG:0300 85 21
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: UpdateController4_206_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
UpdateController4_206_Block:
|
|
rts ; CPU:$C302 PRG:0302 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC303
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC303:
|
|
lda PPUSTATUS ; CPU:$C303 PRG:0303 AD 02 20
|
|
lda Zp08 ; CPU:$C306 PRG:0306 A5 08
|
|
and #$FB ; CPU:$C308 PRG:0308 29 FB
|
|
sta PPUCTRL ; CPU:$C30A PRG:030A 8D 00 20
|
|
sta Zp08 ; CPU:$C30D PRG:030D 85 08
|
|
lda #$1C ; CPU:$C30F PRG:030F A9 1C
|
|
clc ; CPU:$C311 PRG:0311 18
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC303_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC303_Block:
|
|
adc #$04 ; CPU:$C312 PRG:0312 69 04
|
|
dec PtrHi ; CPU:$C314 PRG:0314 C6 01
|
|
bne SubCC303_Block ; CPU:$C316 PRG:0316 D0 FA
|
|
sta Zp02 ; CPU:$C318 PRG:0318 85 02
|
|
sta PPUADDR ; CPU:$C31A PRG:031A 8D 06 20
|
|
lda #$00 ; CPU:$C31D PRG:031D A9 00
|
|
sta PPUADDR ; CPU:$C31F PRG:031F 8D 06 20
|
|
ldx #$04 ; CPU:$C322 PRG:0322 A2 04
|
|
ldy #$00 ; CPU:$C324 PRG:0324 A0 00
|
|
lda PtrLo ; CPU:$C326 PRG:0326 A5 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC303_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC303_Block_3:
|
|
sta PPUDATA ; CPU:$C328 PRG:0328 8D 07 20
|
|
dey ; CPU:$C32B PRG:032B 88
|
|
bne SubCC303_Block_3 ; CPU:$C32C PRG:032C D0 FA
|
|
dex ; CPU:$C32E PRG:032E CA
|
|
bne SubCC303_Block_3 ; CPU:$C32F PRG:032F D0 F7
|
|
lda Zp02 ; CPU:$C331 PRG:0331 A5 02
|
|
adc #$03 ; CPU:$C333 PRG:0333 69 03
|
|
sta PPUADDR ; CPU:$C335 PRG:0335 8D 06 20
|
|
lda #$C0 ; CPU:$C338 PRG:0338 A9 C0
|
|
sta PPUADDR ; CPU:$C33A PRG:033A 8D 06 20
|
|
ldy #$40 ; CPU:$C33D PRG:033D A0 40
|
|
lda #$00 ; CPU:$C33F PRG:033F A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC303_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC303_Block_4:
|
|
sta PPUDATA ; CPU:$C341 PRG:0341 8D 07 20
|
|
dey ; CPU:$C344 PRG:0344 88
|
|
bne SubCC303_Block_4 ; CPU:$C345 PRG:0345 D0 FA
|
|
rts ; CPU:$C347 PRG:0347 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC348
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC348:
|
|
ldx #$01 ; CPU:$C348 PRG:0348 A2 01
|
|
dec Zp2A ; CPU:$C34A PRG:034A C6 2A
|
|
bpl SubCC348_Block_3 ; CPU:$C34C PRG:034C 10 06
|
|
lda #$0A ; CPU:$C34E PRG:034E A9 0A
|
|
sta Zp2A ; CPU:$C350 PRG:0350 85 2A
|
|
ldx #$03 ; CPU:$C352 PRG:0352 A2 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC348_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC348_Block_3:
|
|
lda Zp2B,x ; CPU:$C354 PRG:0354 B5 2B
|
|
beq SubCC348_Block_2 ; CPU:$C356 PRG:0356 F0 02
|
|
dec Zp2B,x ; CPU:$C358 PRG:0358 D6 2B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC348_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC348_Block_2:
|
|
dex ; CPU:$C35A PRG:035A CA
|
|
bpl SubCC348_Block_3 ; CPU:$C35B PRG:035B 10 F7
|
|
rts ; CPU:$C35D PRG:035D 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC35E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC35E:
|
|
stx Zp28 ; CPU:$C35E PRG:035E 86 28
|
|
sty Zp29 ; CPU:$C360 PRG:0360 84 29
|
|
asl a ; CPU:$C362 PRG:0362 0A
|
|
tay ; CPU:$C363 PRG:0363 A8
|
|
iny ; CPU:$C364 PRG:0364 C8
|
|
pla ; CPU:$C365 PRG:0365 68
|
|
sta SndChannel ; CPU:$C366 PRG:0366 85 14
|
|
pla ; CPU:$C368 PRG:0368 68
|
|
sta SndNote ; CPU:$C369 PRG:0369 85 15
|
|
lda (SndChannel),y ; CPU:$C36B PRG:036B B1 14
|
|
tax ; CPU:$C36D PRG:036D AA
|
|
iny ; CPU:$C36E PRG:036E C8
|
|
lda (SndChannel),y ; CPU:$C36F PRG:036F B1 14
|
|
sta SndNote ; CPU:$C371 PRG:0371 85 15
|
|
stx SndChannel ; CPU:$C373 PRG:0373 86 14
|
|
ldx Zp28 ; CPU:$C375 PRG:0375 A6 28
|
|
ldy Zp29 ; CPU:$C377 PRG:0377 A4 29
|
|
jmp (SndChannel) ; CPU:$C379 PRG:0379 6C 14 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC3B8_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC3B8_Block:
|
|
sta PPUADDR ; CPU:$C37C PRG:037C 8D 06 20
|
|
iny ; CPU:$C37F PRG:037F C8
|
|
lda (PtrLo),y ; CPU:$C380 PRG:0380 B1 00
|
|
sta PPUADDR ; CPU:$C382 PRG:0382 8D 06 20
|
|
iny ; CPU:$C385 PRG:0385 C8
|
|
lda (PtrLo),y ; CPU:$C386 PRG:0386 B1 00
|
|
asl a ; CPU:$C388 PRG:0388 0A
|
|
pha ; CPU:$C389 PRG:0389 48
|
|
lda Zp08 ; CPU:$C38A PRG:038A A5 08
|
|
ora #$04 ; CPU:$C38C PRG:038C 09 04
|
|
bcs SubCC35E_Block ; CPU:$C38E PRG:038E B0 02
|
|
and #$FB ; CPU:$C390 PRG:0390 29 FB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC35E_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC35E_Block:
|
|
sta PPUCTRL ; CPU:$C392 PRG:0392 8D 00 20
|
|
sta Zp08 ; CPU:$C395 PRG:0395 85 08
|
|
pla ; CPU:$C397 PRG:0397 68
|
|
asl a ; CPU:$C398 PRG:0398 0A
|
|
bcc SubCC35E_Block_2 ; CPU:$C399 PRG:0399 90 03
|
|
ora #$02 ; CPU:$C39B PRG:039B 09 02
|
|
iny ; CPU:$C39D PRG:039D C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC35E_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC35E_Block_2:
|
|
lsr a ; CPU:$C39E PRG:039E 4A
|
|
lsr a ; CPU:$C39F PRG:039F 4A
|
|
tax ; CPU:$C3A0 PRG:03A0 AA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC35E_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC35E_Block_4:
|
|
bcs SubCC35E_Block_3 ; CPU:$C3A1 PRG:03A1 B0 01
|
|
iny ; CPU:$C3A3 PRG:03A3 C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC35E_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC35E_Block_3:
|
|
lda (PtrLo),y ; CPU:$C3A4 PRG:03A4 B1 00
|
|
sta PPUDATA ; CPU:$C3A6 PRG:03A6 8D 07 20
|
|
dex ; CPU:$C3A9 PRG:03A9 CA
|
|
bne SubCC35E_Block_4 ; CPU:$C3AA PRG:03AA D0 F5
|
|
sec ; CPU:$C3AC PRG:03AC 38
|
|
tya ; CPU:$C3AD PRG:03AD 98
|
|
adc PtrLo ; CPU:$C3AE PRG:03AE 65 00
|
|
sta PtrLo ; CPU:$C3B0 PRG:03B0 85 00
|
|
lda #$00 ; CPU:$C3B2 PRG:03B2 A9 00
|
|
adc PtrHi ; CPU:$C3B4 PRG:03B4 65 01
|
|
sta PtrHi ; CPU:$C3B6 PRG:03B6 85 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC3B8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC3B8:
|
|
ldx PPUSTATUS ; CPU:$C3B8 PRG:03B8 AE 02 20
|
|
ldy #$00 ; CPU:$C3BB PRG:03BB A0 00
|
|
lda (PtrLo),y ; CPU:$C3BD PRG:03BD B1 00
|
|
bne SubCC3B8_Block ; CPU:$C3BF PRG:03BF D0 BB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC3C1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC3C1:
|
|
pha ; CPU:$C3C1 PRG:03C1 48
|
|
lda Zp0A ; CPU:$C3C2 PRG:03C2 A5 0A
|
|
sta PPUSCROLL ; CPU:$C3C4 PRG:03C4 8D 05 20
|
|
lda Zp0B ; CPU:$C3C7 PRG:03C7 A5 0B
|
|
sta PPUSCROLL ; CPU:$C3C9 PRG:03C9 8D 05 20
|
|
pla ; CPU:$C3CC PRG:03CC 68
|
|
rts ; CPU:$C3CD PRG:03CD 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC3CE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC3CE:
|
|
lda #$01 ; CPU:$C3CE PRG:03CE A9 01
|
|
sta Zp21 ; CPU:$C3D0 PRG:03D0 85 21
|
|
ldy #$00 ; CPU:$C3D2 PRG:03D2 A0 00
|
|
lda (Zp02),y ; CPU:$C3D4 PRG:03D4 B1 02
|
|
and #$0F ; CPU:$C3D6 PRG:03D6 29 0F
|
|
sta Zp05 ; CPU:$C3D8 PRG:03D8 85 05
|
|
lda (Zp02),y ; CPU:$C3DA PRG:03DA B1 02
|
|
lsr a ; CPU:$C3DC PRG:03DC 4A
|
|
lsr a ; CPU:$C3DD PRG:03DD 4A
|
|
lsr a ; CPU:$C3DE PRG:03DE 4A
|
|
lsr a ; CPU:$C3DF PRG:03DF 4A
|
|
sta Zp04 ; CPU:$C3E0 PRG:03E0 85 04
|
|
ldx $0560 ; CPU:$C3E2 PRG:03E2 AE 60 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC3CE_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC3CE_Block_2:
|
|
lda PtrHi ; CPU:$C3E5 PRG:03E5 A5 01
|
|
sta $0561,x ; CPU:$C3E7 PRG:03E7 9D 61 05
|
|
jsr $C426 ; CPU:$C3EA PRG:03EA 20 26 C4
|
|
lda PtrLo ; CPU:$C3ED PRG:03ED A5 00
|
|
sta $0561,x ; CPU:$C3EF PRG:03EF 9D 61 05
|
|
jsr $C426 ; CPU:$C3F2 PRG:03F2 20 26 C4
|
|
lda Zp05 ; CPU:$C3F5 PRG:03F5 A5 05
|
|
sta Zp06 ; CPU:$C3F7 PRG:03F7 85 06
|
|
sta $0561,x ; CPU:$C3F9 PRG:03F9 9D 61 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC3CE_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC3CE_Block:
|
|
jsr $C426 ; CPU:$C3FC PRG:03FC 20 26 C4
|
|
iny ; CPU:$C3FF PRG:03FF C8
|
|
lda (Zp02),y ; CPU:$C400 PRG:0400 B1 02
|
|
sta $0561,x ; CPU:$C402 PRG:0402 9D 61 05
|
|
dec Zp06 ; CPU:$C405 PRG:0405 C6 06
|
|
bne SubCC3CE_Block ; CPU:$C407 PRG:0407 D0 F3
|
|
jsr $C426 ; CPU:$C409 PRG:0409 20 26 C4
|
|
stx $0560 ; CPU:$C40C PRG:040C 8E 60 05
|
|
clc ; CPU:$C40F PRG:040F 18
|
|
lda #$20 ; CPU:$C410 PRG:0410 A9 20
|
|
adc PtrLo ; CPU:$C412 PRG:0412 65 00
|
|
sta PtrLo ; CPU:$C414 PRG:0414 85 00
|
|
lda #$00 ; CPU:$C416 PRG:0416 A9 00
|
|
adc PtrHi ; CPU:$C418 PRG:0418 65 01
|
|
sta PtrHi ; CPU:$C41A PRG:041A 85 01
|
|
dec Zp04 ; CPU:$C41C PRG:041C C6 04
|
|
bne SubCC3CE_Block_2 ; CPU:$C41E PRG:041E D0 C5
|
|
lda #$00 ; CPU:$C420 PRG:0420 A9 00
|
|
sta $0561,x ; CPU:$C422 PRG:0422 9D 61 05
|
|
rts ; CPU:$C425 PRG:0425 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC426
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC426:
|
|
inx ; CPU:$C426 PRG:0426 E8
|
|
txa ; CPU:$C427 PRG:0427 8A
|
|
cmp #$4F ; CPU:$C428 PRG:0428 C9 4F
|
|
bcc SubCC426_Block ; CPU:$C42A PRG:042A 90 0A
|
|
ldx $0560 ; CPU:$C42C PRG:042C AE 60 05
|
|
lda #$00 ; CPU:$C42F PRG:042F A9 00
|
|
sta $0561,x ; CPU:$C431 PRG:0431 9D 61 05
|
|
pla ; CPU:$C434 PRG:0434 68
|
|
pla ; CPU:$C435 PRG:0435 68
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC426_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC426_Block:
|
|
rts ; CPU:$C436 PRG:0436 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC437
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC437:
|
|
clc ; CPU:$C437 PRG:0437 18
|
|
adc #$01 ; CPU:$C438 PRG:0438 69 01
|
|
and #$0F ; CPU:$C43A PRG:043A 29 0F
|
|
asl a ; CPU:$C43C PRG:043C 0A
|
|
asl a ; CPU:$C43D PRG:043D 0A
|
|
tax ; CPU:$C43E PRG:043E AA
|
|
lda Zp04 ; CPU:$C43F PRG:043F A5 04
|
|
beq SubCC437_Block ; CPU:$C441 PRG:0441 F0 27
|
|
lda ZpC3,x ; CPU:$C443 PRG:0443 B5 C3
|
|
beq SubCC437_Block_2 ; CPU:$C445 PRG:0445 F0 27
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC437_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC437_Block_3:
|
|
clc ; CPU:$C447 PRG:0447 18
|
|
lda ZpC6,x ; CPU:$C448 PRG:0448 B5 C6
|
|
sta Zp03 ; CPU:$C44A PRG:044A 85 03
|
|
lda Zp07 ; CPU:$C44C PRG:044C A5 07
|
|
jsr $C4BF ; CPU:$C44E PRG:044E 20 BF C4
|
|
sta ZpC6,x ; CPU:$C451 PRG:0451 95 C6
|
|
lda ZpC5,x ; CPU:$C453 PRG:0453 B5 C5
|
|
sta Zp03 ; CPU:$C455 PRG:0455 85 03
|
|
lda Zp06 ; CPU:$C457 PRG:0457 A5 06
|
|
jsr $C4BF ; CPU:$C459 PRG:0459 20 BF C4
|
|
sta ZpC5,x ; CPU:$C45C PRG:045C 95 C5
|
|
lda ZpC4,x ; CPU:$C45E PRG:045E B5 C4
|
|
sta Zp03 ; CPU:$C460 PRG:0460 85 03
|
|
lda Zp05 ; CPU:$C462 PRG:0462 A5 05
|
|
jsr $C4BF ; CPU:$C464 PRG:0464 20 BF C4
|
|
sta ZpC4,x ; CPU:$C467 PRG:0467 95 C4
|
|
rts ; CPU:$C469 PRG:0469 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC437_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC437_Block:
|
|
lda ZpC3,x ; CPU:$C46A PRG:046A B5 C3
|
|
beq SubCC437_Block_3 ; CPU:$C46C PRG:046C F0 D9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC437_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC437_Block_2:
|
|
sec ; CPU:$C46E PRG:046E 38
|
|
lda ZpC6,x ; CPU:$C46F PRG:046F B5 C6
|
|
sta Zp03 ; CPU:$C471 PRG:0471 85 03
|
|
lda Zp07 ; CPU:$C473 PRG:0473 A5 07
|
|
jsr $C4E0 ; CPU:$C475 PRG:0475 20 E0 C4
|
|
sta ZpC6,x ; CPU:$C478 PRG:0478 95 C6
|
|
lda ZpC5,x ; CPU:$C47A PRG:047A B5 C5
|
|
sta Zp03 ; CPU:$C47C PRG:047C 85 03
|
|
lda Zp06 ; CPU:$C47E PRG:047E A5 06
|
|
jsr $C4E0 ; CPU:$C480 PRG:0480 20 E0 C4
|
|
sta ZpC5,x ; CPU:$C483 PRG:0483 95 C5
|
|
lda ZpC4,x ; CPU:$C485 PRG:0485 B5 C4
|
|
sta Zp03 ; CPU:$C487 PRG:0487 85 03
|
|
lda Zp05 ; CPU:$C489 PRG:0489 A5 05
|
|
jsr $C4E0 ; CPU:$C48B PRG:048B 20 E0 C4
|
|
sta ZpC4,x ; CPU:$C48E PRG:048E 95 C4
|
|
lda ZpC4,x ; CPU:$C490 PRG:0490 B5 C4
|
|
bne SubCC437_Block_5 ; CPU:$C492 PRG:0492 D0 08
|
|
lda ZpC5,x ; CPU:$C494 PRG:0494 B5 C5
|
|
bne SubCC437_Block_5 ; CPU:$C496 PRG:0496 D0 04
|
|
lda ZpC6,x ; CPU:$C498 PRG:0498 B5 C6
|
|
beq SubCC437_Block_6 ; CPU:$C49A PRG:049A F0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC437_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC437_Block_5:
|
|
bcs SubCC437_Block_7 ; CPU:$C49C PRG:049C B0 20
|
|
lda ZpC3,x ; CPU:$C49E PRG:049E B5 C3
|
|
eor #$FF ; CPU:$C4A0 PRG:04A0 49 FF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC437_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC437_Block_6:
|
|
sta ZpC3,x ; CPU:$C4A2 PRG:04A2 95 C3
|
|
sec ; CPU:$C4A4 PRG:04A4 38
|
|
lda #$00 ; CPU:$C4A5 PRG:04A5 A9 00
|
|
sta Zp03 ; CPU:$C4A7 PRG:04A7 85 03
|
|
lda ZpC6,x ; CPU:$C4A9 PRG:04A9 B5 C6
|
|
jsr $C4E0 ; CPU:$C4AB PRG:04AB 20 E0 C4
|
|
sta ZpC6,x ; CPU:$C4AE PRG:04AE 95 C6
|
|
lda ZpC5,x ; CPU:$C4B0 PRG:04B0 B5 C5
|
|
jsr $C4E0 ; CPU:$C4B2 PRG:04B2 20 E0 C4
|
|
sta ZpC5,x ; CPU:$C4B5 PRG:04B5 95 C5
|
|
lda ZpC4,x ; CPU:$C4B7 PRG:04B7 B5 C4
|
|
jsr $C4E0 ; CPU:$C4B9 PRG:04B9 20 E0 C4
|
|
sta ZpC4,x ; CPU:$C4BC PRG:04BC 95 C4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC437_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC437_Block_7:
|
|
rts ; CPU:$C4BE PRG:04BE 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC4BF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC4BF:
|
|
jsr $C502 ; CPU:$C4BF PRG:04BF 20 02 C5
|
|
adc PtrHi ; CPU:$C4C2 PRG:04C2 65 01
|
|
cmp #$0A ; CPU:$C4C4 PRG:04C4 C9 0A
|
|
bcc SubCC4BF_Block ; CPU:$C4C6 PRG:04C6 90 02
|
|
adc #$05 ; CPU:$C4C8 PRG:04C8 69 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC4BF_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC4BF_Block:
|
|
clc ; CPU:$C4CA PRG:04CA 18
|
|
adc Zp02 ; CPU:$C4CB PRG:04CB 65 02
|
|
sta Zp02 ; CPU:$C4CD PRG:04CD 85 02
|
|
lda Zp03 ; CPU:$C4CF PRG:04CF A5 03
|
|
and #$F0 ; CPU:$C4D1 PRG:04D1 29 F0
|
|
adc Zp02 ; CPU:$C4D3 PRG:04D3 65 02
|
|
bcc SubCC4BF_Block_2 ; CPU:$C4D5 PRG:04D5 90 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC4BF_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC4BF_Block_3:
|
|
adc #$5F ; CPU:$C4D7 PRG:04D7 69 5F
|
|
sec ; CPU:$C4D9 PRG:04D9 38
|
|
rts ; CPU:$C4DA PRG:04DA 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC4BF_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC4BF_Block_2:
|
|
cmp #$A0 ; CPU:$C4DB PRG:04DB C9 A0
|
|
bcs SubCC4BF_Block_3 ; CPU:$C4DD PRG:04DD B0 F8
|
|
rts ; CPU:$C4DF PRG:04DF 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC4E0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC4E0:
|
|
jsr $C502 ; CPU:$C4E0 PRG:04E0 20 02 C5
|
|
sbc PtrHi ; CPU:$C4E3 PRG:04E3 E5 01
|
|
sta PtrHi ; CPU:$C4E5 PRG:04E5 85 01
|
|
bcs SubCC4E0_Block ; CPU:$C4E7 PRG:04E7 B0 0A
|
|
adc #$0A ; CPU:$C4E9 PRG:04E9 69 0A
|
|
sta PtrHi ; CPU:$C4EB PRG:04EB 85 01
|
|
lda Zp02 ; CPU:$C4ED PRG:04ED A5 02
|
|
adc #$0F ; CPU:$C4EF PRG:04EF 69 0F
|
|
sta Zp02 ; CPU:$C4F1 PRG:04F1 85 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC4E0_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC4E0_Block:
|
|
lda Zp03 ; CPU:$C4F3 PRG:04F3 A5 03
|
|
and #$F0 ; CPU:$C4F5 PRG:04F5 29 F0
|
|
sec ; CPU:$C4F7 PRG:04F7 38
|
|
sbc Zp02 ; CPU:$C4F8 PRG:04F8 E5 02
|
|
bcs SubCC4E0_Block_2 ; CPU:$C4FA PRG:04FA B0 03
|
|
adc #$A0 ; CPU:$C4FC PRG:04FC 69 A0
|
|
clc ; CPU:$C4FE PRG:04FE 18
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC4E0_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC4E0_Block_2:
|
|
ora PtrHi ; CPU:$C4FF PRG:04FF 05 01
|
|
rts ; CPU:$C501 PRG:0501 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC502
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC502:
|
|
pha ; CPU:$C502 PRG:0502 48
|
|
and #$0F ; CPU:$C503 PRG:0503 29 0F
|
|
sta PtrHi ; CPU:$C505 PRG:0505 85 01
|
|
pla ; CPU:$C507 PRG:0507 68
|
|
and #$F0 ; CPU:$C508 PRG:0508 29 F0
|
|
sta Zp02 ; CPU:$C50A PRG:050A 85 02
|
|
lda Zp03 ; CPU:$C50C PRG:050C A5 03
|
|
and #$0F ; CPU:$C50E PRG:050E 29 0F
|
|
rts ; CPU:$C510 PRG:0510 60
|
|
; ---- data $C511-$C587 (119 bytes) ----
|
|
SpriteAnimTable: ; Sprite animation table (7 entries)
|
|
.byte $A9, $00, $85, $04, $18, $A5, $00, $69, $10, $29, $F0, $4A, $4A, $A8, $A5, $00 ; CPU:$C511 PRG:0511 A9 00 85 04 18 A5 00 69 10 29 F0 4A 4A A8 A5 00
|
|
.byte $29, $07, $0A, $0A, $AA, $B9, $C3, $00, $F0, $51, $B5, $C7, $F0, $26, $38, $B9 ; CPU:$C521 PRG:0521 29 07 0A 0A AA B9 C3 00 F0 51 B5 C7 F0 26 38 B9
|
|
.byte $C6, $00, $85, $03, $B5, $CA, $20, $E0, $C4, $B9, $C5, $00, $85, $03, $B5, $C9 ; CPU:$C531 PRG:0531 C6 00 85 03 B5 CA 20 E0 C4 B9 C5 00 85 03 B5 C9
|
|
.byte $20, $E0, $C4, $B9, $C4, $00, $85, $03, $B5, $C8, $20, $E0, $C4, $B0, $30, $B9 ; CPU:$C541 PRG:0541 20 E0 C4 B9 C4 00 85 03 B5 C8 20 E0 C4 B0 30 B9
|
|
.byte $C3, $00, $D0, $30, $A9, $FF, $85, $04, $38, $98, $D0, $1E, $90, $10, $B5, $C7 ; CPU:$C551 PRG:0551 C3 00 D0 30 A9 FF 85 04 38 98 D0 1E 90 10 B5 C7
|
|
.byte $85, $C3, $B5, $C8, $85, $C4, $B5, $C9, $85, $C5, $B5, $CA, $85, $C6, $A5, $00 ; CPU:$C561 PRG:0561 85 C3 B5 C8 85 C4 B5 C9 85 C5 B5 CA 85 C6 A5 00
|
|
.byte $29, $08, $F0, $06, $CA, $CA, $CA, $CA, $10, $AB, $60, $B5, $C7, $F0, $AF, $B9 ; CPU:$C571 PRG:0571 29 08 F0 06 CA CA CA CA 10 AB 60 B5 C7 F0 AF B9
|
|
.byte $C3, $00, $D0, $D0, $18, $90, $D2 ; CPU:$C581 PRG:0581 C3 00 D0 D0 18 90 D2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC588
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC588:
|
|
lda $05EC ; CPU:$C588 PRG:0588 AD EC 05
|
|
and #$02 ; CPU:$C58B PRG:058B 29 02
|
|
sta Zp07 ; CPU:$C58D PRG:058D 85 07
|
|
lda $05ED ; CPU:$C58F PRG:058F AD ED 05
|
|
and #$02 ; CPU:$C592 PRG:0592 29 02
|
|
eor Zp07 ; CPU:$C594 PRG:0594 45 07
|
|
clc ; CPU:$C596 PRG:0596 18
|
|
beq SubCC588_Block ; CPU:$C597 PRG:0597 F0 01
|
|
sec ; CPU:$C599 PRG:0599 38
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC588_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC588_Block:
|
|
ror $05EC ; CPU:$C59A PRG:059A 6E EC 05
|
|
ror $05ED ; CPU:$C59D PRG:059D 6E ED 05
|
|
ror $05EE ; CPU:$C5A0 PRG:05A0 6E EE 05
|
|
ror $05EF ; CPU:$C5A3 PRG:05A3 6E EF 05
|
|
lda $05EC ; CPU:$C5A6 PRG:05A6 AD EC 05
|
|
rts ; CPU:$C5A9 PRG:05A9 60
|
|
; ---- data $C5AA-$C5D8 (47 bytes) ----
|
|
SpriteAnimTable2: ; Sprite animation table 2 (3 entries)
|
|
.byte $20, $E1, $C5, $20, $30, $C2, $20, $D9, $C5, $A9, $02, $85, $01, $A9, $50, $85 ; CPU:$C5AA PRG:05AA 20 E1 C5 20 30 C2 20 D9 C5 A9 02 85 01 A9 50 85
|
|
.byte $00, $20, $03, $C3, $20, $3B, $C2, $20, $D9, $C5, $A2, $04, $A0, $E4, $20, $17 ; CPU:$C5BA PRG:05BA 00 20 03 C3 20 3B C2 20 D9 C5 A2 04 A0 E4 20 17
|
|
.byte $C6, $A9, $01, $85, $23, $A9, $01, $8D, $FD, $05, $E6, $26, $4C, $EE, $C5 ; CPU:$C5CA PRG:05CA C6 A9 01 85 23 A9 01 8D FD 05 E6 26 4C EE C5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC5D9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC5D9:
|
|
jsr $C61E ; CPU:$C5D9 PRG:05D9 20 1E C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC5D9_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC5D9_Block:
|
|
lda Zp20 ; CPU:$C5DC PRG:05DC A5 20
|
|
beq SubCC5D9_Block ; CPU:$C5DE PRG:05DE F0 FC
|
|
rts ; CPU:$C5E0 PRG:05E0 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC5E1
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC5E1:
|
|
jsr $C5D9 ; CPU:$C5E1 PRG:05E1 20 D9 C5
|
|
lda GameState ; CPU:$C5E4 PRG:05E4 A5 09
|
|
and #$E7 ; CPU:$C5E6 PRG:05E6 29 E7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC5EE_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC5EE_Block:
|
|
sta GameState ; CPU:$C5E8 PRG:05E8 85 09
|
|
sta PPUMASK ; CPU:$C5EA PRG:05EA 8D 01 20
|
|
rts ; CPU:$C5ED PRG:05ED 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC5EE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC5EE:
|
|
jsr $C5D9 ; CPU:$C5EE PRG:05EE 20 D9 C5
|
|
lda GameState ; CPU:$C5F1 PRG:05F1 A5 09
|
|
ora #$18 ; CPU:$C5F3 PRG:05F3 09 18
|
|
bne SubCC5EE_Block ; CPU:$C5F5 PRG:05F5 D0 F1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC5F7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC5F7:
|
|
sty ZpA2 ; CPU:$C5F7 PRG:05F7 84 A2
|
|
ldx #$00 ; CPU:$C5F9 PRG:05F9 A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC5F7_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC5F7_Block:
|
|
lda $0300,y ; CPU:$C5FB PRG:05FB B9 00 03
|
|
sta Zp30,x ; CPU:$C5FE PRG:05FE 95 30
|
|
iny ; CPU:$C600 PRG:0600 C8
|
|
inx ; CPU:$C601 PRG:0601 E8
|
|
cpx #$50 ; CPU:$C602 PRG:0602 E0 50
|
|
bne SubCC5F7_Block ; CPU:$C604 PRG:0604 D0 F5
|
|
rts ; CPU:$C606 PRG:0606 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC607
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC607:
|
|
ldy ZpA2 ; CPU:$C607 PRG:0607 A4 A2
|
|
ldx #$00 ; CPU:$C609 PRG:0609 A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC607_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC607_Block:
|
|
lda Zp30,x ; CPU:$C60B PRG:060B B5 30
|
|
sta $0300,y ; CPU:$C60D PRG:060D 99 00 03
|
|
iny ; CPU:$C610 PRG:0610 C8
|
|
inx ; CPU:$C611 PRG:0611 E8
|
|
cpx #$50 ; CPU:$C612 PRG:0612 E0 50
|
|
bne SubCC607_Block ; CPU:$C614 PRG:0614 D0 F5
|
|
rts ; CPU:$C616 PRG:0616 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC617
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC617:
|
|
stx PtrLo ; CPU:$C617 PRG:0617 86 00
|
|
sty PtrHi ; CPU:$C619 PRG:0619 84 01
|
|
jmp $C3B8 ; CPU:$C61B PRG:061B 4C B8 C3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC61E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC61E:
|
|
lda #$00 ; CPU:$C61E PRG:061E A9 00
|
|
sta Zp20 ; CPU:$C620 PRG:0620 85 20
|
|
sta Zp22 ; CPU:$C622 PRG:0622 85 22
|
|
rts ; CPU:$C624 PRG:0624 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC625
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC625:
|
|
lda Zp2D ; CPU:$C625 PRG:0625 A5 2D
|
|
bne SubCC61E_Block ; CPU:$C627 PRG:0627 D0 04
|
|
lda Zp1E ; CPU:$C629 PRG:0629 A5 1E
|
|
sta Temp ; CPU:$C62B PRG:062B 85 25
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC61E_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC61E_Block:
|
|
rts ; CPU:$C62D PRG:062D 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC62E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC62E:
|
|
stx Zp1E ; CPU:$C62E PRG:062E 86 1E
|
|
sta Zp2D ; CPU:$C630 PRG:0630 85 2D
|
|
lda #$12 ; CPU:$C632 PRG:0632 A9 12
|
|
sta Temp ; CPU:$C634 PRG:0634 85 25
|
|
rts ; CPU:$C636 PRG:0636 60
|
|
; ---- data $C637-$C640 (10 bytes) ----
|
|
.byte $A0, $00, $98, $99, $00, $03, $C8, $D0, $FA, $60 ; CPU:$C637 PRG:0637 A0 00 98 99 00 03 C8 D0 FA 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC641
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC641:
|
|
lda #$00 ; CPU:$C641 PRG:0641 A9 00
|
|
ldx #$30 ; CPU:$C643 PRG:0643 A2 30
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC61E_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC61E_Block_2:
|
|
sta PtrLo,x ; CPU:$C645 PRG:0645 95 00
|
|
inx ; CPU:$C647 PRG:0647 E8
|
|
bne SubCC61E_Block_2 ; CPU:$C648 PRG:0648 D0 FB
|
|
rts ; CPU:$C64A PRG:064A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC64B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC64B:
|
|
lda #$00 ; CPU:$C64B PRG:064B A9 00
|
|
ldx #$7F ; CPU:$C64D PRG:064D A2 7F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC61E_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC61E_Block_3:
|
|
sta Zp40,x ; CPU:$C64F PRG:064F 95 40
|
|
dex ; CPU:$C651 PRG:0651 CA
|
|
bpl SubCC61E_Block_3 ; CPU:$C652 PRG:0652 10 FB
|
|
rts ; CPU:$C654 PRG:0654 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC655
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC655:
|
|
ldx #$03 ; CPU:$C655 PRG:0655 A2 03
|
|
ldy #$05 ; CPU:$C657 PRG:0657 A0 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC655_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC655_Block:
|
|
lda ZpC3,x ; CPU:$C659 PRG:0659 B5 C3
|
|
and #$0F ; CPU:$C65B PRG:065B 29 0F
|
|
sta $0501,y ; CPU:$C65D PRG:065D 99 01 05
|
|
dey ; CPU:$C660 PRG:0660 88
|
|
lda ZpC3,x ; CPU:$C661 PRG:0661 B5 C3
|
|
lsr a ; CPU:$C663 PRG:0663 4A
|
|
lsr a ; CPU:$C664 PRG:0664 4A
|
|
lsr a ; CPU:$C665 PRG:0665 4A
|
|
lsr a ; CPU:$C666 PRG:0666 4A
|
|
sta $0501,y ; CPU:$C667 PRG:0667 99 01 05
|
|
dex ; CPU:$C66A PRG:066A CA
|
|
dey ; CPU:$C66B PRG:066B 88
|
|
bpl SubCC655_Block ; CPU:$C66C PRG:066C 10 EB
|
|
lda #$16 ; CPU:$C66E PRG:066E A9 16
|
|
sta $0500 ; CPU:$C670 PRG:0670 8D 00 05
|
|
ldx $E5DC ; CPU:$C673 PRG:0673 AE DC E5
|
|
ldy $E5DB ; CPU:$C676 PRG:0676 AC DB E5
|
|
jmp $C71D ; CPU:$C679 PRG:0679 4C 1D C7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC67C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC67C:
|
|
lda Ptr2Lo ; CPU:$C67C PRG:067C A5 0C
|
|
asl a ; CPU:$C67E PRG:067E 0A
|
|
tay ; CPU:$C67F PRG:067F A8
|
|
lda $EB30,y ; CPU:$C680 PRG:0680 B9 30 EB
|
|
sta Zp10 ; CPU:$C683 PRG:0683 85 10
|
|
lda $EB31,y ; CPU:$C685 PRG:0685 B9 31 EB
|
|
sta Zp11 ; CPU:$C688 PRG:0688 85 11
|
|
ldy #$00 ; CPU:$C68A PRG:068A A0 00
|
|
ldx #$00 ; CPU:$C68C PRG:068C A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC68E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC68E:
|
|
lda (Zp10),y ; CPU:$C68E PRG:068E B1 10
|
|
cmp #$AA ; CPU:$C690 PRG:0690 C9 AA
|
|
bne SubCC68E_Block ; CPU:$C692 PRG:0692 D0 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC6F5_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC6F5_Block:
|
|
rts ; CPU:$C694 PRG:0694 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC68E_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC68E_Block:
|
|
clc ; CPU:$C695 PRG:0695 18
|
|
adc ZpB1 ; CPU:$C696 PRG:0696 65 B1
|
|
cmp #$A8 ; CPU:$C698 PRG:0698 C9 A8
|
|
bcc SubCC68E_Block_2 ; CPU:$C69A PRG:069A 90 02
|
|
lda #$F4 ; CPU:$C69C PRG:069C A9 F4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC68E_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC68E_Block_2:
|
|
sta Zp0D ; CPU:$C69E PRG:069E 85 0D
|
|
iny ; CPU:$C6A0 PRG:06A0 C8
|
|
lda (Zp10),y ; CPU:$C6A1 PRG:06A1 B1 10
|
|
clc ; CPU:$C6A3 PRG:06A3 18
|
|
adc ZpB2 ; CPU:$C6A4 PRG:06A4 65 B2
|
|
sta Zp0E ; CPU:$C6A6 PRG:06A6 85 0E
|
|
iny ; CPU:$C6A8 PRG:06A8 C8
|
|
lda Zp0D ; CPU:$C6A9 PRG:06A9 A5 0D
|
|
sta $0200,x ; CPU:$C6AB PRG:06AB 9D 00 02
|
|
inx ; CPU:$C6AE PRG:06AE E8
|
|
lda #$56 ; CPU:$C6AF PRG:06AF A9 56
|
|
sta $0200,x ; CPU:$C6B1 PRG:06B1 9D 00 02
|
|
inx ; CPU:$C6B4 PRG:06B4 E8
|
|
lda #$00 ; CPU:$C6B5 PRG:06B5 A9 00
|
|
sta $0200,x ; CPU:$C6B7 PRG:06B7 9D 00 02
|
|
inx ; CPU:$C6BA PRG:06BA E8
|
|
lda Zp0E ; CPU:$C6BB PRG:06BB A5 0E
|
|
sta $0200,x ; CPU:$C6BD PRG:06BD 9D 00 02
|
|
inx ; CPU:$C6C0 PRG:06C0 E8
|
|
jmp $C68E ; CPU:$C6C1 PRG:06C1 4C 8E C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC6C4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC6C4:
|
|
lda ZpAD ; CPU:$C6C4 PRG:06C4 A5 AD
|
|
beq SubCC6F5_Block ; CPU:$C6C6 PRG:06C6 F0 CC
|
|
lda #$00 ; CPU:$C6C8 PRG:06C8 A9 00
|
|
sta ZpAD ; CPU:$C6CA PRG:06CA 85 AD
|
|
lda #$D6 ; CPU:$C6CC PRG:06CC A9 D6
|
|
ldy Zp1F ; CPU:$C6CE PRG:06CE A4 1F
|
|
cpy #$02 ; CPU:$C6D0 PRG:06D0 C0 02
|
|
bne SubCC6C4_Block_2 ; CPU:$C6D2 PRG:06D2 D0 02
|
|
lda #$D4 ; CPU:$C6D4 PRG:06D4 A9 D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC6C4_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC6C4_Block_2:
|
|
sta Ptr2Lo ; CPU:$C6D6 PRG:06D6 85 0C
|
|
ldx #$09 ; CPU:$C6D8 PRG:06D8 A2 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC6C4_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC6C4_Block_4:
|
|
ldy Ptr2Lo ; CPU:$C6DA PRG:06DA A4 0C
|
|
lda $03F0,x ; CPU:$C6DC PRG:06DC BD F0 03
|
|
beq SubCC6C4_Block_3 ; CPU:$C6DF PRG:06DF F0 01
|
|
dey ; CPU:$C6E1 PRG:06E1 88
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC6C4_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC6C4_Block_3:
|
|
tya ; CPU:$C6E2 PRG:06E2 98
|
|
sta $0501,x ; CPU:$C6E3 PRG:06E3 9D 01 05
|
|
dex ; CPU:$C6E6 PRG:06E6 CA
|
|
bpl SubCC6C4_Block_4 ; CPU:$C6E7 PRG:06E7 10 F1
|
|
lda #$1A ; CPU:$C6E9 PRG:06E9 A9 1A
|
|
sta $0500 ; CPU:$C6EB PRG:06EB 8D 00 05
|
|
ldx #$4C ; CPU:$C6EE PRG:06EE A2 4C
|
|
ldy #$23 ; CPU:$C6F0 PRG:06F0 A0 23
|
|
jmp $C71D ; CPU:$C6F2 PRG:06F2 4C 1D C7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC6F5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC6F5:
|
|
lda ZpBE ; CPU:$C6F5 PRG:06F5 A5 BE
|
|
beq SubCC6F5_Block ; CPU:$C6F7 PRG:06F7 F0 9B
|
|
lda #$00 ; CPU:$C6F9 PRG:06F9 A9 00
|
|
sta ZpBE ; CPU:$C6FB PRG:06FB 85 BE
|
|
ldx ZpBA ; CPU:$C6FD PRG:06FD A6 BA
|
|
ldy #$00 ; CPU:$C6FF PRG:06FF A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC6F5_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC6F5_Block_4:
|
|
cpx #$00 ; CPU:$C701 PRG:0701 E0 00
|
|
beq SubCC6F5_Block_2 ; CPU:$C703 PRG:0703 F0 05
|
|
dex ; CPU:$C705 PRG:0705 CA
|
|
lda #$D9 ; CPU:$C706 PRG:0706 A9 D9
|
|
bne SubCC6F5_Block_3 ; CPU:$C708 PRG:0708 D0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC6F5_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC6F5_Block_2:
|
|
lda #$B7 ; CPU:$C70A PRG:070A A9 B7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC6F5_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC6F5_Block_3:
|
|
sta $0501,y ; CPU:$C70C PRG:070C 99 01 05
|
|
iny ; CPU:$C70F PRG:070F C8
|
|
cpy #$03 ; CPU:$C710 PRG:0710 C0 03
|
|
bne SubCC6F5_Block_4 ; CPU:$C712 PRG:0712 D0 ED
|
|
lda #$13 ; CPU:$C714 PRG:0714 A9 13
|
|
sta $0500 ; CPU:$C716 PRG:0716 8D 00 05
|
|
ldx #$43 ; CPU:$C719 PRG:0719 A2 43
|
|
ldy #$23 ; CPU:$C71B PRG:071B A0 23
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC71D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC71D:
|
|
stx PtrLo ; CPU:$C71D PRG:071D 86 00
|
|
sty PtrHi ; CPU:$C71F PRG:071F 84 01
|
|
ldx #$00 ; CPU:$C721 PRG:0721 A2 00
|
|
ldy #$05 ; CPU:$C723 PRG:0723 A0 05
|
|
stx Zp02 ; CPU:$C725 PRG:0725 86 02
|
|
sty Zp03 ; CPU:$C727 PRG:0727 84 03
|
|
jmp $C3CE ; CPU:$C729 PRG:0729 4C CE C3
|
|
; ---- data $C72C-$C7FA (207 bytes) ----
|
|
SpriteDataTable: ; Sprite data table (13 entries)
|
|
.byte $A5, $2D, $F0, $0A, $A5, $1F, $C9, $02, $F0, $03, $4C, $94, $CC, $60, $A2, $03 ; CPU:$C72C PRG:072C A5 2D F0 0A A5 1F C9 02 F0 03 4C 94 CC 60 A2 03
|
|
.byte $B5, $C3, $95, $C7, $CA, $10, $F9, $A5, $1F, $0A, $0A, $A8, $84, $0F, $A2, $00 ; CPU:$C73C PRG:073C B5 C3 95 C7 CA 10 F9 A5 1F 0A 0A A8 84 0F A2 00
|
|
.byte $B9, $F0, $05, $95, $C3, $C8, $E8, $E0, $04, $D0, $F5, $A9, $F0, $85, $00, $20 ; CPU:$C74C PRG:074C B9 F0 05 95 C3 C8 E8 E0 04 D0 F5 A9 F0 85 00 20
|
|
.byte $11, $C5, $A4, $0F, $A2, $00, $B5, $C3, $99, $F0, $05, $C8, $E8, $E0, $04, $D0 ; CPU:$C75C PRG:075C 11 C5 A4 0F A2 00 B5 C3 99 F0 05 C8 E8 E0 04 D0
|
|
.byte $F5, $A0, $00, $84, $B5, $84, $26, $C8, $84, $24, $4C, $E1, $C5, $20, $0D, $D5 ; CPU:$C76C PRG:076C F5 A0 00 84 B5 84 26 C8 84 24 4C E1 C5 20 0D D5
|
|
.byte $20, $D9, $C5, $20, $FA, $D4, $A9, $01, $8D, $A0, $03, $8D, $A1, $03, $A9, $07 ; CPU:$C77C PRG:077C 20 D9 C5 20 FA D4 A9 01 8D A0 03 8D A1 03 A9 07
|
|
.byte $85, $25, $A9, $15, $85, $2D, $60, $A2, $0A, $E4, $AB, $90, $06, $F0, $04, $A9 ; CPU:$C78C PRG:078C 85 25 A9 15 85 2D 60 A2 0A E4 AB 90 06 F0 04 A9
|
|
.byte $B7, $D0, $02, $A9, $D7, $9D, $00, $05, $CA, $D0, $EE, $A9, $1A, $8D, $00, $05 ; CPU:$C79C PRG:079C B7 D0 02 A9 D7 9D 00 05 CA D0 EE A9 1A 8D 00 05
|
|
.byte $A2, $6C, $A0, $23, $4C, $1D, $C7, $A5, $C1, $85, $03, $A9, $01, $18, $20, $BF ; CPU:$C7AC PRG:07AC A2 6C A0 23 4C 1D C7 A5 C1 85 03 A9 01 18 20 BF
|
|
.byte $C4, $85, $C1, $A9, $12, $8D, $00, $05, $A2, $DD, $A5, $1F, $C9, $02, $F0, $02 ; CPU:$C7BC PRG:07BC C4 85 C1 A9 12 8D 00 05 A2 DD A5 1F C9 02 F0 02
|
|
.byte $A2, $50, $8E, $02, $05, $A2, $00, $A5, $C1, $29, $F0, $F0, $08, $4A, $4A, $4A ; CPU:$C7CC PRG:07CC A2 50 8E 02 05 A2 00 A5 C1 29 F0 F0 08 4A 4A 4A
|
|
.byte $4A, $9D, $01, $05, $E8, $A5, $C1, $29, $0F, $9D, $01, $05, $A2, $05, $A0, $23 ; CPU:$C7DC PRG:07DC 4A 9D 01 05 E8 A5 C1 29 0F 9D 01 05 A2 05 A0 23
|
|
.byte $4C, $1D, $C7, $A5, $9D, $F0, $03, $4C, $FB, $C7, $A9, $0A, $85, $25, $60 ; CPU:$C7EC PRG:07EC 4C 1D C7 A5 9D F0 03 4C FB C7 A9 0A 85 25 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC7FB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC7FB:
|
|
lda Zp2B ; CPU:$C7FB PRG:07FB A5 2B
|
|
bne SubCC7FB_Block_2 ; CPU:$C7FD PRG:07FD D0 1D
|
|
ldy Zp9D ; CPU:$C7FF PRG:07FF A4 9D
|
|
beq SubCC7FB_Block_2 ; CPU:$C801 PRG:0801 F0 19
|
|
lda $EC1F,y ; CPU:$C803 PRG:0803 B9 1F EC
|
|
cmp #$AA ; CPU:$C806 PRG:0806 C9 AA
|
|
beq SubCC7FB_Block_3 ; CPU:$C808 PRG:0808 F0 0E
|
|
pha ; CPU:$C80A PRG:080A 48
|
|
iny ; CPU:$C80B PRG:080B C8
|
|
lda $EC1F,y ; CPU:$C80C PRG:080C B9 1F EC
|
|
sta Zp2B ; CPU:$C80F PRG:080F 85 2B
|
|
iny ; CPU:$C811 PRG:0811 C8
|
|
sty Zp9D ; CPU:$C812 PRG:0812 84 9D
|
|
pla ; CPU:$C814 PRG:0814 68
|
|
jmp $D46C ; CPU:$C815 PRG:0815 4C 6C D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC7FB_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC7FB_Block_3:
|
|
lda #$00 ; CPU:$C818 PRG:0818 A9 00
|
|
sta Zp9D ; CPU:$C81A PRG:081A 85 9D
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC7FB_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC7FB_Block_2:
|
|
rts ; CPU:$C81C PRG:081C 60
|
|
; ---- data $C81D-$C838 (28 bytes) ----
|
|
.byte $20, $41, $C6, $20, $D9, $C5, $20, $2B, $C2, $20, $D9, $D4, $A2, $01, $AD, $FE ; CPU:$C81D PRG:081D 20 41 C6 20 D9 C5 20 2B C2 20 D9 D4 A2 01 AD FE
|
|
.byte $05, $85, $1F, $C9, $02, $90, $02, $A2, $08, $86, $25, $60 ; CPU:$C82D PRG:082D 05 85 1F C9 02 90 02 A2 08 86 25 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC839
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC839:
|
|
jsr $C5D9 ; CPU:$C839 PRG:0839 20 D9 C5
|
|
ldx #$42 ; CPU:$C83C PRG:083C A2 42
|
|
ldy #$E0 ; CPU:$C83E PRG:083E A0 E0
|
|
jsr $C617 ; CPU:$C840 PRG:0840 20 17 C6
|
|
lda #$02 ; CPU:$C843 PRG:0843 A9 02
|
|
sta SprData ; CPU:$C845 PRG:0845 85 23
|
|
lda #$02 ; CPU:$C847 PRG:0847 A9 02
|
|
sta Temp ; CPU:$C849 PRG:0849 85 25
|
|
jsr $C3C1 ; CPU:$C84B PRG:084B 20 C1 C3
|
|
jsr $C5EE ; CPU:$C84E PRG:084E 20 EE C5
|
|
jmp $D515 ; CPU:$C851 PRG:0851 4C 15 D5
|
|
; ---- data $C854-$C86D (26 bytes) ----
|
|
.byte $20, $D9, $D4, $20, $A4, $D2, $20, $93, $C7, $20, $B3, $C7, $EA, $EA, $EA, $A9 ; CPU:$C854 PRG:0854 20 D9 D4 20 A4 D2 20 93 C7 20 B3 C7 EA EA EA A9
|
|
.byte $00, $85, $B5, $85, $9D, $A9, $03, $85, $25, $60 ; CPU:$C864 PRG:0864 00 85 B5 85 9D A9 03 85 25 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC86E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC86E:
|
|
jsr $D131 ; CPU:$C86E PRG:086E 20 31 D1
|
|
jsr $D160 ; CPU:$C871 PRG:0871 20 60 D1
|
|
jsr $CC94 ; CPU:$C874 PRG:0874 20 94 CC
|
|
jsr $C890 ; CPU:$C877 PRG:0877 20 90 C8
|
|
jsr $C6F5 ; CPU:$C87A PRG:087A 20 F5 C6
|
|
jsr $D3D2 ; CPU:$C87D PRG:087D 20 D2 D3
|
|
jsr $C6C4 ; CPU:$C880 PRG:0880 20 C4 C6
|
|
jsr $CFBA ; CPU:$C883 PRG:0883 20 BA CF
|
|
jsr $D428 ; CPU:$C886 PRG:0886 20 28 D4
|
|
jsr $C7FB ; CPU:$C889 PRG:0889 20 FB C7
|
|
nop ; CPU:$C88C PRG:088C EA
|
|
nop ; CPU:$C88D PRG:088D EA
|
|
nop ; CPU:$C88E PRG:088E EA
|
|
rts ; CPU:$C88F PRG:088F 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC890
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC890:
|
|
lda $0300 ; CPU:$C890 PRG:0890 AD 00 03
|
|
beq SubCC890_Block ; CPU:$C893 PRG:0893 F0 0D
|
|
ldy #$00 ; CPU:$C895 PRG:0895 A0 00
|
|
sty ZpA1 ; CPU:$C897 PRG:0897 84 A1
|
|
jsr $C5F7 ; CPU:$C899 PRG:0899 20 F7 C5
|
|
jsr $C902 ; CPU:$C89C PRG:089C 20 02 C9
|
|
jsr $C607 ; CPU:$C89F PRG:089F 20 07 C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC890_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC890_Block:
|
|
lda $0350 ; CPU:$C8A2 PRG:08A2 AD 50 03
|
|
beq SubCC890_Block_2 ; CPU:$C8A5 PRG:08A5 F0 0D
|
|
ldy #$50 ; CPU:$C8A7 PRG:08A7 A0 50
|
|
inc ZpA1 ; CPU:$C8A9 PRG:08A9 E6 A1
|
|
jsr $C5F7 ; CPU:$C8AB PRG:08AB 20 F7 C5
|
|
jsr $C902 ; CPU:$C8AE PRG:08AE 20 02 C9
|
|
jsr $C607 ; CPU:$C8B1 PRG:08B1 20 07 C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC890_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC890_Block_2:
|
|
lda ZpB9 ; CPU:$C8B4 PRG:08B4 A5 B9
|
|
beq SubCC890_Block_11 ; CPU:$C8B6 PRG:08B6 F0 49
|
|
ldy Zp9F ; CPU:$C8B8 PRG:08B8 A4 9F
|
|
bne SubCC890_Block_5 ; CPU:$C8BA PRG:08BA D0 08
|
|
ldy #$41 ; CPU:$C8BC PRG:08BC A0 41
|
|
lda ZpBA ; CPU:$C8BE PRG:08BE A5 BA
|
|
bne SubCC890_Block_5 ; CPU:$C8C0 PRG:08C0 D0 02
|
|
ldy #$15 ; CPU:$C8C2 PRG:08C2 A0 15
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC890_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC890_Block_5:
|
|
dey ; CPU:$C8C4 PRG:08C4 88
|
|
sty Zp9F ; CPU:$C8C5 PRG:08C5 84 9F
|
|
lda ZpBC ; CPU:$C8C7 PRG:08C7 A5 BC
|
|
bne SubCC890_Block_6 ; CPU:$C8C9 PRG:08C9 D0 30
|
|
lda $0301 ; CPU:$C8CB PRG:08CB AD 01 03
|
|
bne SubCC890_Block_11 ; CPU:$C8CE PRG:08CE D0 31
|
|
lda $0351 ; CPU:$C8D0 PRG:08D0 AD 51 03
|
|
bne SubCC890_Block_11 ; CPU:$C8D3 PRG:08D3 D0 2C
|
|
lda Zp2B ; CPU:$C8D5 PRG:08D5 A5 2B
|
|
bne SubCC890_Block_11 ; CPU:$C8D7 PRG:08D7 D0 28
|
|
lda #$0A ; CPU:$C8D9 PRG:08D9 A9 0A
|
|
ldy #$07 ; CPU:$C8DB PRG:08DB A0 07
|
|
ldx ZpBD ; CPU:$C8DD PRG:08DD A6 BD
|
|
beq SubCC890_Block_10 ; CPU:$C8DF PRG:08DF F0 04
|
|
lda #$0C ; CPU:$C8E1 PRG:08E1 A9 0C
|
|
ldy #$02 ; CPU:$C8E3 PRG:08E3 A0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC890_Block_10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC890_Block_10:
|
|
sta $03A1 ; CPU:$C8E5 PRG:08E5 8D A1 03
|
|
sty SprData ; CPU:$C8E8 PRG:08E8 84 23
|
|
jsr $C5D9 ; CPU:$C8EA PRG:08EA 20 D9 C5
|
|
jsr $D446 ; CPU:$C8ED PRG:08ED 20 46 D4
|
|
lda #$40 ; CPU:$C8F0 PRG:08F0 A9 40
|
|
sta Zp2B ; CPU:$C8F2 PRG:08F2 85 2B
|
|
lda #$00 ; CPU:$C8F4 PRG:08F4 A9 00
|
|
sta ZpB9 ; CPU:$C8F6 PRG:08F6 85 B9
|
|
jmp $D464 ; CPU:$C8F8 PRG:08F8 4C 64 D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC890_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC890_Block_6:
|
|
lda ZpA6 ; CPU:$C8FB PRG:08FB A5 A6
|
|
beq SubCC890_Block_11 ; CPU:$C8FD PRG:08FD F0 02
|
|
dec ZpA6 ; CPU:$C8FF PRG:08FF C6 A6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC890_Block_11
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC890_Block_11:
|
|
rts ; CPU:$C901 PRG:0901 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC902
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC902:
|
|
lda CtrlState ; CPU:$C902 PRG:0902 A5 31
|
|
jsr $C35E ; CPU:$C904 PRG:0904 20 5E C3
|
|
cpx #$C5 ; CPU:$C907 PRG:0907 E0 C5
|
|
ora $32C9,y ; CPU:$C909 PRG:0909 19 C9 32
|
|
cmp #$19 ; CPU:$C90C PRG:090C C9 19
|
|
dex ; CPU:$C90E PRG:090E CA
|
|
; ---- data $C90F-$C930 (34 bytes) ----
|
|
.byte $1F, $CC, $3D, $CC, $4F, $CC, $7C, $CC, $8B, $CC, $A2, $1F, $BD, $EB, $E5, $95 ; CPU:$C90F PRG:090F 1F CC 3D CC 4F CC 7C CC 8B CC A2 1F BD EB E5 95
|
|
.byte $30, $CA, $10, $F8, $A5, $A1, $F0, $08, $A9, $40, $85, $36, $A9, $7F, $85, $37 ; CPU:$C91F PRG:091F 30 CA 10 F8 A5 A1 F0 08 A9 40 85 36 A9 7F 85 37
|
|
.byte $E6, $31 ; CPU:$C92F PRG:092F E6 31
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC902_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC902_Block_2:
|
|
rts ; CPU:$C931 PRG:0931 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC932
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC932:
|
|
lda ZpB9 ; CPU:$C932 PRG:0932 A5 B9
|
|
beq SubCC902_Block_2 ; CPU:$C934 PRG:0934 F0 FB
|
|
lda ZpA6 ; CPU:$C936 PRG:0936 A5 A6
|
|
bne SubCC902_Block_2 ; CPU:$C938 PRG:0938 D0 F7
|
|
jsr $C588 ; CPU:$C93A PRG:093A 20 88 C5
|
|
and #$0F ; CPU:$C93D PRG:093D 29 0F
|
|
ldy Zp1F ; CPU:$C93F PRG:093F A4 1F
|
|
bne SubCC902_Block_3 ; CPU:$C941 PRG:0941 D0 03
|
|
clc ; CPU:$C943 PRG:0943 18
|
|
adc #$10 ; CPU:$C944 PRG:0944 69 10
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC902_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC902_Block_3:
|
|
cmp Zp9C ; CPU:$C946 PRG:0946 C5 9C
|
|
bne SubCC902_Block_6 ; CPU:$C948 PRG:0948 D0 0E
|
|
clc ; CPU:$C94A PRG:094A 18
|
|
adc #$01 ; CPU:$C94B PRG:094B 69 01
|
|
cmp #$10 ; CPU:$C94D PRG:094D C9 10
|
|
beq SubCC902_Block_5 ; CPU:$C94F PRG:094F F0 04
|
|
cmp #$20 ; CPU:$C951 PRG:0951 C9 20
|
|
bne SubCC902_Block_6 ; CPU:$C953 PRG:0953 D0 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC902_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC902_Block_5:
|
|
sec ; CPU:$C955 PRG:0955 38
|
|
sbc #$10 ; CPU:$C956 PRG:0956 E9 10
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC902_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC902_Block_6:
|
|
sta Zp9C ; CPU:$C958 PRG:0958 85 9C
|
|
asl a ; CPU:$C95A PRG:095A 0A
|
|
tax ; CPU:$C95B PRG:095B AA
|
|
lda $E60B,x ; CPU:$C95C PRG:095C BD 0B E6
|
|
sta Zp44 ; CPU:$C95F PRG:095F 85 44
|
|
lda $E60C,x ; CPU:$C961 PRG:0961 BD 0C E6
|
|
sta Zp45 ; CPU:$C964 PRG:0964 85 45
|
|
jsr $C588 ; CPU:$C966 PRG:0966 20 88 C5
|
|
and #$3F ; CPU:$C969 PRG:0969 29 3F
|
|
tay ; CPU:$C96B PRG:096B A8
|
|
iny ; CPU:$C96C PRG:096C C8
|
|
sty ZpA6 ; CPU:$C96D PRG:096D 84 A6
|
|
ldy #$00 ; CPU:$C96F PRG:096F A0 00
|
|
lda (Zp44),y ; CPU:$C971 PRG:0971 B1 44
|
|
iny ; CPU:$C973 PRG:0973 C8
|
|
sty Zp47 ; CPU:$C974 PRG:0974 84 47
|
|
sta Zp33 ; CPU:$C976 PRG:0976 85 33
|
|
ldy #$00 ; CPU:$C978 PRG:0978 A0 00
|
|
ldx Zp99 ; CPU:$C97A PRG:097A A6 99
|
|
beq SubCC902_Block_7 ; CPU:$C97C PRG:097C F0 02
|
|
ldy #$02 ; CPU:$C97E PRG:097E A0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC902_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC902_Block_7:
|
|
sty Zp3C ; CPU:$C980 PRG:0980 84 3C
|
|
inc Zp99 ; CPU:$C982 PRG:0982 E6 99
|
|
ldx Zp98 ; CPU:$C984 PRG:0984 A6 98
|
|
lda $E766,x ; CPU:$C986 PRG:0986 BD 66 E7
|
|
cpy #$00 ; CPU:$C989 PRG:0989 C0 00
|
|
beq SubCC902_Block_8 ; CPU:$C98B PRG:098B F0 05
|
|
and #$0F ; CPU:$C98D PRG:098D 29 0F
|
|
jmp $C996 ; CPU:$C98F PRG:098F 4C 96 C9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC902_Block_8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC902_Block_8:
|
|
lsr a ; CPU:$C992 PRG:0992 4A
|
|
lsr a ; CPU:$C993 PRG:0993 4A
|
|
lsr a ; CPU:$C994 PRG:0994 4A
|
|
lsr a ; CPU:$C995 PRG:0995 4A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC996
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC996:
|
|
sta Zp3F ; CPU:$C996 PRG:0996 85 3F
|
|
ldx ZpC1 ; CPU:$C998 PRG:0998 A6 C1
|
|
lda Zp1F ; CPU:$C99A PRG:099A A5 1F
|
|
bne SubCC996_Block ; CPU:$C99C PRG:099C D0 1B
|
|
lda #$0B ; CPU:$C99E PRG:099E A9 0B
|
|
cpx #$12 ; CPU:$C9A0 PRG:09A0 E0 12
|
|
bcs SubCC996_Block_4 ; CPU:$C9A2 PRG:09A2 B0 0E
|
|
lda #$0A ; CPU:$C9A4 PRG:09A4 A9 0A
|
|
cpx #$11 ; CPU:$C9A6 PRG:09A6 E0 11
|
|
bcs SubCC996_Block_4 ; CPU:$C9A8 PRG:09A8 B0 08
|
|
lda #$09 ; CPU:$C9AA PRG:09AA A9 09
|
|
cpx #$10 ; CPU:$C9AC PRG:09AC E0 10
|
|
bcs SubCC996_Block_4 ; CPU:$C9AE PRG:09AE B0 02
|
|
dex ; CPU:$C9B0 PRG:09B0 CA
|
|
txa ; CPU:$C9B1 PRG:09B1 8A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC996_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC996_Block_4:
|
|
tax ; CPU:$C9B2 PRG:09B2 AA
|
|
lda $E75A,x ; CPU:$C9B3 PRG:09B3 BD 5A E7
|
|
jmp $C9D0 ; CPU:$C9B6 PRG:09B6 4C D0 C9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC996_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC996_Block:
|
|
lda #$1B ; CPU:$C9B9 PRG:09B9 A9 1B
|
|
ldx ZpC1 ; CPU:$C9BB PRG:09BB A6 C1
|
|
cpx #$10 ; CPU:$C9BD PRG:09BD E0 10
|
|
bcs SubCC996_Block_5 ; CPU:$C9BF PRG:09BF B0 08
|
|
dex ; CPU:$C9C1 PRG:09C1 CA
|
|
txa ; CPU:$C9C2 PRG:09C2 8A
|
|
sta Ptr2Lo ; CPU:$C9C3 PRG:09C3 85 0C
|
|
asl a ; CPU:$C9C5 PRG:09C5 0A
|
|
clc ; CPU:$C9C6 PRG:09C6 18
|
|
adc Ptr2Lo ; CPU:$C9C7 PRG:09C7 65 0C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC996_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC996_Block_5:
|
|
clc ; CPU:$C9C9 PRG:09C9 18
|
|
adc Zp3F ; CPU:$C9CA PRG:09CA 65 3F
|
|
tax ; CPU:$C9CC PRG:09CC AA
|
|
lda $E73C,x ; CPU:$C9CD PRG:09CD BD 3C E7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0:
|
|
sta Zp5E ; CPU:$C9D0 PRG:09D0 85 5E
|
|
ldx ZpC1 ; CPU:$C9D2 PRG:09D2 A6 C1
|
|
lda #$0B ; CPU:$C9D4 PRG:09D4 A9 0B
|
|
cpx #$27 ; CPU:$C9D6 PRG:09D6 E0 27
|
|
bcs SubCC9D0_Block_2 ; CPU:$C9D8 PRG:09D8 B0 08
|
|
lda #$0A ; CPU:$C9DA PRG:09DA A9 0A
|
|
cpx #$24 ; CPU:$C9DC PRG:09DC E0 24
|
|
bcs SubCC9D0_Block_2 ; CPU:$C9DE PRG:09DE B0 02
|
|
lda #$09 ; CPU:$C9E0 PRG:09E0 A9 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_2:
|
|
sta Zp3A ; CPU:$C9E2 PRG:09E2 85 3A
|
|
lda #$00 ; CPU:$C9E4 PRG:09E4 A9 00
|
|
sta Zp46 ; CPU:$C9E6 PRG:09E6 85 46
|
|
sta Zp42 ; CPU:$C9E8 PRG:09E8 85 42
|
|
sta Zp4E ; CPU:$C9EA PRG:09EA 85 4E
|
|
sta Zp4F ; CPU:$C9EC PRG:09EC 85 4F
|
|
lda #$01 ; CPU:$C9EE PRG:09EE A9 01
|
|
sta Zp4B ; CPU:$C9F0 PRG:09F0 85 4B
|
|
sta ZpAE ; CPU:$C9F2 PRG:09F2 85 AE
|
|
lda Zp1F ; CPU:$C9F4 PRG:09F4 A5 1F
|
|
bne SubCC9D0_Block_3 ; CPU:$C9F6 PRG:09F6 D0 16
|
|
ldx ZpC1 ; CPU:$C9F8 PRG:09F8 A6 C1
|
|
lda #$7D ; CPU:$C9FA PRG:09FA A9 7D
|
|
cpx #$11 ; CPU:$C9FC PRG:09FC E0 11
|
|
bcc SubCC9D0_Block_5 ; CPU:$C9FE PRG:09FE 90 08
|
|
lda #$5D ; CPU:$CA00 PRG:0A00 A9 5D
|
|
cpx #$20 ; CPU:$CA02 PRG:0A02 E0 20
|
|
bcc SubCC9D0_Block_5 ; CPU:$CA04 PRG:0A04 90 02
|
|
lda #$3E ; CPU:$CA06 PRG:0A06 A9 3E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_5:
|
|
sta Zp4C ; CPU:$CA08 PRG:0A08 85 4C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCA0A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCA0A:
|
|
lda #$00 ; CPU:$CA0A PRG:0A0A A9 00
|
|
sta ZpAF ; CPU:$CA0C PRG:0A0C 85 AF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_3:
|
|
inc ZpBB ; CPU:$CA0E PRG:0A0E E6 BB
|
|
lda ZpBB ; CPU:$CA10 PRG:0A10 A5 BB
|
|
sta Zp3B ; CPU:$CA12 PRG:0A12 85 3B
|
|
dec ZpBC ; CPU:$CA14 PRG:0A14 C6 BC
|
|
inc CtrlState ; CPU:$CA16 PRG:0A16 E6 31
|
|
rts ; CPU:$CA18 PRG:0A18 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCA19
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCA19:
|
|
lda Zp2F ; CPU:$CA19 PRG:0A19 A5 2F
|
|
and #$07 ; CPU:$CA1B PRG:0A1B 29 07
|
|
bne SubCC9D0_Block_6 ; CPU:$CA1D PRG:0A1D D0 03
|
|
jsr $D4EE ; CPU:$CA1F PRG:0A1F 20 EE D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_6:
|
|
lda Zp9F ; CPU:$CA22 PRG:0A22 A5 9F
|
|
bne SubCC9D0_Block_7 ; CPU:$CA24 PRG:0A24 D0 03
|
|
jsr $D52C ; CPU:$CA26 PRG:0A26 20 2C D5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_7:
|
|
lda ZpBA ; CPU:$CA29 PRG:0A29 A5 BA
|
|
bne SubCC9D0_Block_9 ; CPU:$CA2B PRG:0A2B D0 11
|
|
lda Zp4E ; CPU:$CA2D PRG:0A2D A5 4E
|
|
bne SubCC9D0_Block_9 ; CPU:$CA2F PRG:0A2F D0 0D
|
|
lda #$01 ; CPU:$CA31 PRG:0A31 A9 01
|
|
sta Zp4E ; CPU:$CA33 PRG:0A33 85 4E
|
|
lda #$F0 ; CPU:$CA35 PRG:0A35 A9 F0
|
|
sta Zp46 ; CPU:$CA37 PRG:0A37 85 46
|
|
lda #$00 ; CPU:$CA39 PRG:0A39 A9 00
|
|
jmp $CB77 ; CPU:$CA3B PRG:0A3B 4C 77 CB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_9:
|
|
lda Zp1F ; CPU:$CA3E PRG:0A3E A5 1F
|
|
beq SubCC9D0_Block_10 ; CPU:$CA40 PRG:0A40 F0 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_12
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_12:
|
|
jmp $CB59 ; CPU:$CA42 PRG:0A42 4C 59 CB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_10:
|
|
lda Zp4B ; CPU:$CA45 PRG:0A45 A5 4B
|
|
beq SubCC9D0_Block_11 ; CPU:$CA47 PRG:0A47 F0 0A
|
|
lda CtrlTimer ; CPU:$CA49 PRG:0A49 A5 32
|
|
cmp #$88 ; CPU:$CA4B PRG:0A4B C9 88
|
|
bcs SubCC9D0_Block_12 ; CPU:$CA4D PRG:0A4D B0 F3
|
|
lda #$00 ; CPU:$CA4F PRG:0A4F A9 00
|
|
sta Zp4B ; CPU:$CA51 PRG:0A51 85 4B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_11
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_11:
|
|
ldx #$01 ; CPU:$CA53 PRG:0A53 A2 01
|
|
lda Zp4C ; CPU:$CA55 PRG:0A55 A5 4C
|
|
beq SubCC9D0_Block_16 ; CPU:$CA57 PRG:0A57 F0 17
|
|
lda ZpBA ; CPU:$CA59 PRG:0A59 A5 BA
|
|
bne SubCC9D0_Block_14 ; CPU:$CA5B PRG:0A5B D0 09
|
|
sta Zp4C ; CPU:$CA5D PRG:0A5D 85 4C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_17
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_17:
|
|
jsr $CF96 ; CPU:$CA5F PRG:0A5F 20 96 CF
|
|
ldx #$01 ; CPU:$CA62 PRG:0A62 A2 01
|
|
bne SubCC9D0_Block_16 ; CPU:$CA64 PRG:0A64 D0 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_14
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_14:
|
|
dex ; CPU:$CA66 PRG:0A66 CA
|
|
lda Zp2F ; CPU:$CA67 PRG:0A67 A5 2F
|
|
lsr a ; CPU:$CA69 PRG:0A69 4A
|
|
bcc SubCC9D0_Block_16 ; CPU:$CA6A PRG:0A6A 90 04
|
|
dec Zp4C ; CPU:$CA6C PRG:0A6C C6 4C
|
|
beq SubCC9D0_Block_17 ; CPU:$CA6E PRG:0A6E F0 EF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_16
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_16:
|
|
stx ZpAE ; CPU:$CA70 PRG:0A70 86 AE
|
|
cpx #$01 ; CPU:$CA72 PRG:0A72 E0 01
|
|
beq SubCCAA5_Block ; CPU:$CA74 PRG:0A74 F0 14
|
|
lda Zp16 ; CPU:$CA76 PRG:0A76 A5 16
|
|
and #$0F ; CPU:$CA78 PRG:0A78 29 0F
|
|
bne SubCC9D0_Block_20 ; CPU:$CA7A PRG:0A7A D0 2C
|
|
lda Zp17 ; CPU:$CA7C PRG:0A7C A5 17
|
|
and #$0F ; CPU:$CA7E PRG:0A7E 29 0F
|
|
bne SubCC9D0_Block_20 ; CPU:$CA80 PRG:0A80 D0 26
|
|
lda #$00 ; CPU:$CA82 PRG:0A82 A9 00
|
|
sta ZpAF ; CPU:$CA84 PRG:0A84 85 AF
|
|
lda ZpAE ; CPU:$CA86 PRG:0A86 A5 AE
|
|
beq SubCC9D0_Block_21 ; CPU:$CA88 PRG:0A88 F0 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAA5_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAA5_Block:
|
|
jmp $CF16 ; CPU:$CA8A PRG:0A8A 4C 16 CF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_21
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_21:
|
|
lda CtrlTimer ; CPU:$CA8D PRG:0A8D A5 32
|
|
cmp #$20 ; CPU:$CA8F PRG:0A8F C9 20
|
|
bcc SubCC9D0_Block_22 ; CPU:$CA91 PRG:0A91 90 3E
|
|
cmp #$90 ; CPU:$CA93 PRG:0A93 C9 90
|
|
bcs SubCCAD7 ; CPU:$CA95 PRG:0A95 B0 40
|
|
ldx #$00 ; CPU:$CA97 PRG:0A97 A2 00
|
|
lda Zp33 ; CPU:$CA99 PRG:0A99 A5 33
|
|
cmp #$10 ; CPU:$CA9B PRG:0A9B C9 10
|
|
bcc SubCC9D0_Block_23 ; CPU:$CA9D PRG:0A9D 90 44
|
|
ldx #$08 ; CPU:$CA9F PRG:0A9F A2 08
|
|
cmp #$F0 ; CPU:$CAA1 PRG:0AA1 C9 F0
|
|
bcs SubCC9D0_Block_24 ; CPU:$CAA3 PRG:0AA3 B0 44
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAA5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAA5:
|
|
jmp $CBC3 ; CPU:$CAA5 PRG:0AA5 4C C3 CB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_20
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_20:
|
|
cmp ZpAF ; CPU:$CAA8 PRG:0AA8 C5 AF
|
|
beq SubCCAA5_Block ; CPU:$CAAA PRG:0AAA F0 DE
|
|
sta ZpAF ; CPU:$CAAC PRG:0AAC 85 AF
|
|
ldx #$35 ; CPU:$CAAE PRG:0AAE A2 35
|
|
lsr a ; CPU:$CAB0 PRG:0AB0 4A
|
|
bcs SubCCAA5_Block_4 ; CPU:$CAB1 PRG:0AB1 B0 0C
|
|
ldx #$DB ; CPU:$CAB3 PRG:0AB3 A2 DB
|
|
lsr a ; CPU:$CAB5 PRG:0AB5 4A
|
|
bcs SubCCAA5_Block_4 ; CPU:$CAB6 PRG:0AB6 B0 07
|
|
ldx #$79 ; CPU:$CAB8 PRG:0AB8 A2 79
|
|
lsr a ; CPU:$CABA PRG:0ABA 4A
|
|
bcs SubCCAA5_Block_4 ; CPU:$CABB PRG:0ABB B0 02
|
|
ldx #$1F ; CPU:$CABD PRG:0ABD A2 1F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAA5_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAA5_Block_4:
|
|
lda Zp2F ; CPU:$CABF PRG:0ABF A5 2F
|
|
lsr a ; CPU:$CAC1 PRG:0AC1 4A
|
|
txa ; CPU:$CAC2 PRG:0AC2 8A
|
|
bcc SubCCAA5_Block_5 ; CPU:$CAC3 PRG:0AC3 90 05
|
|
and #$0F ; CPU:$CAC5 PRG:0AC5 29 0F
|
|
jmp $CB56 ; CPU:$CAC7 PRG:0AC7 4C 56 CB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAA5_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAA5_Block_5:
|
|
lsr a ; CPU:$CACA PRG:0ACA 4A
|
|
lsr a ; CPU:$CACB PRG:0ACB 4A
|
|
lsr a ; CPU:$CACC PRG:0ACC 4A
|
|
lsr a ; CPU:$CACD PRG:0ACD 4A
|
|
jmp $CB56 ; CPU:$CACE PRG:0ACE 4C 56 CB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_22
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_22:
|
|
inc CtrlTimer ; CPU:$CAD1 PRG:0AD1 E6 32
|
|
ldy #$00 ; CPU:$CAD3 PRG:0AD3 A0 00
|
|
beq SubCCAA5_Block_6 ; CPU:$CAD5 PRG:0AD5 F0 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAD7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAD7:
|
|
dec CtrlTimer ; CPU:$CAD7 PRG:0AD7 C6 32
|
|
ldy #$02 ; CPU:$CAD9 PRG:0AD9 A0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAA5_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAA5_Block_6:
|
|
lda Zp48 ; CPU:$CADB PRG:0ADB A5 48
|
|
and #$08 ; CPU:$CADD PRG:0ADD 29 08
|
|
tax ; CPU:$CADF PRG:0ADF AA
|
|
jmp $CAED ; CPU:$CAE0 PRG:0AE0 4C ED CA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_23
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_23:
|
|
inc Zp33 ; CPU:$CAE3 PRG:0AE3 E6 33
|
|
ldy #$04 ; CPU:$CAE5 PRG:0AE5 A0 04
|
|
bne SubCCAED ; CPU:$CAE7 PRG:0AE7 D0 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCC9D0_Block_24
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCC9D0_Block_24:
|
|
dec Zp33 ; CPU:$CAE9 PRG:0AE9 C6 33
|
|
ldy #$02 ; CPU:$CAEB PRG:0AEB A0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAED
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAED:
|
|
stx Ptr2Lo ; CPU:$CAED PRG:0AED 86 0C
|
|
sty SndTemp ; CPU:$CAEF PRG:0AEF 84 0F
|
|
lda Zp48 ; CPU:$CAF1 PRG:0AF1 A5 48
|
|
and #$07 ; CPU:$CAF3 PRG:0AF3 29 07
|
|
eor #$07 ; CPU:$CAF5 PRG:0AF5 49 07
|
|
ora Ptr2Lo ; CPU:$CAF7 PRG:0AF7 05 0C
|
|
sta Ptr2Lo ; CPU:$CAF9 PRG:0AF9 85 0C
|
|
jsr $C588 ; CPU:$CAFB PRG:0AFB 20 88 C5
|
|
and #$03 ; CPU:$CAFE PRG:0AFE 29 03
|
|
cmp #$03 ; CPU:$CB00 PRG:0B00 C9 03
|
|
bne SubCCAED_Block ; CPU:$CB02 PRG:0B02 D0 02
|
|
lda #$02 ; CPU:$CB04 PRG:0B04 A9 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAED_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAED_Block:
|
|
clc ; CPU:$CB06 PRG:0B06 18
|
|
adc Ptr2Lo ; CPU:$CB07 PRG:0B07 65 0C
|
|
sta Zp0E ; CPU:$CB09 PRG:0B09 85 0E
|
|
ldy SndTemp ; CPU:$CB0B PRG:0B0B A4 0F
|
|
cmp #$00 ; CPU:$CB0D PRG:0B0D C9 00
|
|
bne SubCCAED_Block_2 ; CPU:$CB0F PRG:0B0F D0 0A
|
|
cpy #$01 ; CPU:$CB11 PRG:0B11 C0 01
|
|
beq SubCCAED_Block_14 ; CPU:$CB13 PRG:0B13 F0 36
|
|
cpy #$02 ; CPU:$CB15 PRG:0B15 C0 02
|
|
beq SubCCAED_Block_15 ; CPU:$CB17 PRG:0B17 F0 2C
|
|
bne SubCCAED_Block_17 ; CPU:$CB19 PRG:0B19 D0 35
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAED_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAED_Block_2:
|
|
cmp #$04 ; CPU:$CB1B PRG:0B1B C9 04
|
|
bne SubCCAED_Block_6 ; CPU:$CB1D PRG:0B1D D0 0A
|
|
cpy #$00 ; CPU:$CB1F PRG:0B1F C0 00
|
|
beq SubCCAED_Block_17 ; CPU:$CB21 PRG:0B21 F0 2D
|
|
cpy #$02 ; CPU:$CB23 PRG:0B23 C0 02
|
|
beq SubCCAED_Block_14 ; CPU:$CB25 PRG:0B25 F0 24
|
|
bne SubCCAED_Block_15 ; CPU:$CB27 PRG:0B27 D0 1C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAED_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAED_Block_6:
|
|
cmp #$08 ; CPU:$CB29 PRG:0B29 C9 08
|
|
bne SubCCAED_Block_10 ; CPU:$CB2B PRG:0B2B D0 0A
|
|
cpy #$00 ; CPU:$CB2D PRG:0B2D C0 00
|
|
beq SubCCAED_Block_15 ; CPU:$CB2F PRG:0B2F F0 14
|
|
cpy #$01 ; CPU:$CB31 PRG:0B31 C0 01
|
|
beq SubCCAED_Block_17 ; CPU:$CB33 PRG:0B33 F0 1B
|
|
bne SubCCAED_Block_14 ; CPU:$CB35 PRG:0B35 D0 14
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAED_Block_10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAED_Block_10:
|
|
cmp #$0C ; CPU:$CB37 PRG:0B37 C9 0C
|
|
bne SubCCB52 ; CPU:$CB39 PRG:0B39 D0 17
|
|
cpy #$00 ; CPU:$CB3B PRG:0B3B C0 00
|
|
beq SubCCAED_Block_14 ; CPU:$CB3D PRG:0B3D F0 0C
|
|
cpy #$01 ; CPU:$CB3F PRG:0B3F C0 01
|
|
beq SubCCAED_Block_15 ; CPU:$CB41 PRG:0B41 F0 02
|
|
bne SubCCAED_Block_17 ; CPU:$CB43 PRG:0B43 D0 0B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAED_Block_15
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAED_Block_15:
|
|
jsr $C588 ; CPU:$CB45 PRG:0B45 20 88 C5
|
|
asl a ; CPU:$CB48 PRG:0B48 0A
|
|
bcs SubCCAED_Block_17 ; CPU:$CB49 PRG:0B49 B0 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAED_Block_14
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAED_Block_14:
|
|
dec Zp0E ; CPU:$CB4B PRG:0B4B C6 0E
|
|
jmp $CB52 ; CPU:$CB4D PRG:0B4D 4C 52 CB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCAED_Block_17
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCAED_Block_17:
|
|
inc Zp0E ; CPU:$CB50 PRG:0B50 E6 0E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCB52
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCB52:
|
|
lda Zp0E ; CPU:$CB52 PRG:0B52 A5 0E
|
|
and #$0F ; CPU:$CB54 PRG:0B54 29 0F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCB56
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCB56:
|
|
jmp $CB77 ; CPU:$CB56 PRG:0B56 4C 77 CB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCB59
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCB59:
|
|
lda Zp46 ; CPU:$CB59 PRG:0B59 A5 46
|
|
bne SubCCBC3 ; CPU:$CB5B PRG:0B5B D0 66
|
|
ldy Zp47 ; CPU:$CB5D PRG:0B5D A4 47
|
|
lda (Zp44),y ; CPU:$CB5F PRG:0B5F B1 44
|
|
iny ; CPU:$CB61 PRG:0B61 C8
|
|
cmp #$FF ; CPU:$CB62 PRG:0B62 C9 FF
|
|
bne SubCCB59_Block ; CPU:$CB64 PRG:0B64 D0 0A
|
|
lda (Zp44),y ; CPU:$CB66 PRG:0B66 B1 44
|
|
iny ; CPU:$CB68 PRG:0B68 C8
|
|
sta CtrlState ; CPU:$CB69 PRG:0B69 85 31
|
|
lda (Zp44),y ; CPU:$CB6B PRG:0B6B B1 44
|
|
sta Zp42 ; CPU:$CB6D PRG:0B6D 85 42
|
|
rts ; CPU:$CB6F PRG:0B6F 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCB59_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCB59_Block:
|
|
sta Zp46 ; CPU:$CB70 PRG:0B70 85 46
|
|
lda (Zp44),y ; CPU:$CB72 PRG:0B72 B1 44
|
|
iny ; CPU:$CB74 PRG:0B74 C8
|
|
sty Zp47 ; CPU:$CB75 PRG:0B75 84 47
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCB77
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCB77:
|
|
sta Zp48 ; CPU:$CB77 PRG:0B77 85 48
|
|
tax ; CPU:$CB79 PRG:0B79 AA
|
|
lda $E64B,x ; CPU:$CB7A PRG:0B7A BD 4B E6
|
|
sta Zp49 ; CPU:$CB7D PRG:0B7D 85 49
|
|
sta Zp4A ; CPU:$CB7F PRG:0B7F 85 4A
|
|
lda #$00 ; CPU:$CB81 PRG:0B81 A9 00
|
|
sta Zp34 ; CPU:$CB83 PRG:0B83 85 34
|
|
lda Zp48 ; CPU:$CB85 PRG:0B85 A5 48
|
|
cmp #$11 ; CPU:$CB87 PRG:0B87 C9 11
|
|
bcc SubCCB77_Block ; CPU:$CB89 PRG:0B89 90 17
|
|
tax ; CPU:$CB8B PRG:0B8B AA
|
|
lda #$00 ; CPU:$CB8C PRG:0B8C A9 00
|
|
cpx #$15 ; CPU:$CB8E PRG:0B8E E0 15
|
|
beq SubCCB77_Block_6 ; CPU:$CB90 PRG:0B90 F0 2A
|
|
cpx #$14 ; CPU:$CB92 PRG:0B92 E0 14
|
|
beq SubCCB77_Block_5 ; CPU:$CB94 PRG:0B94 F0 1A
|
|
cpx #$13 ; CPU:$CB96 PRG:0B96 E0 13
|
|
beq SubCCB77_Block_7 ; CPU:$CB98 PRG:0B98 F0 0E
|
|
inc Zp34 ; CPU:$CB9A PRG:0B9A E6 34
|
|
cpx #$12 ; CPU:$CB9C PRG:0B9C E0 12
|
|
beq SubCCB77_Block_5 ; CPU:$CB9E PRG:0B9E F0 10
|
|
bne SubCCB77_Block_6 ; CPU:$CBA0 PRG:0BA0 D0 1A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCB77_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCB77_Block:
|
|
cmp #$08 ; CPU:$CBA2 PRG:0BA2 C9 08
|
|
bcc SubCCB77_Block_7 ; CPU:$CBA4 PRG:0BA4 90 02
|
|
inc Zp34 ; CPU:$CBA6 PRG:0BA6 E6 34
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCB77_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCB77_Block_7:
|
|
ldx #$0C ; CPU:$CBA8 PRG:0BA8 A2 0C
|
|
ldy #$E7 ; CPU:$CBAA PRG:0BAA A0 E7
|
|
and #$07 ; CPU:$CBAC PRG:0BAC 29 07
|
|
beq SubCCB77_Block_10 ; CPU:$CBAE PRG:0BAE F0 10
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCB77_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCB77_Block_5:
|
|
ldx #$05 ; CPU:$CBB0 PRG:0BB0 A2 05
|
|
ldy #$E7 ; CPU:$CBB2 PRG:0BB2 A0 E7
|
|
cmp #$03 ; CPU:$CBB4 PRG:0BB4 C9 03
|
|
bcc SubCCB77_Block_10 ; CPU:$CBB6 PRG:0BB6 90 08
|
|
cmp #$06 ; CPU:$CBB8 PRG:0BB8 C9 06
|
|
bcs SubCCB77_Block_10 ; CPU:$CBBA PRG:0BBA B0 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCB77_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCB77_Block_6:
|
|
ldx #$1D ; CPU:$CBBC PRG:0BBC A2 1D
|
|
ldy #$E7 ; CPU:$CBBE PRG:0BBE A0 E7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCB77_Block_10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCB77_Block_10:
|
|
jsr $CF0B ; CPU:$CBC0 PRG:0BC0 20 0B CF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCBC3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCBC3:
|
|
jsr $D81B ; CPU:$CBC3 PRG:0BC3 20 1B D8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCBD9_Block_10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCBD9_Block_10:
|
|
pha ; CPU:$CBC6 PRG:0BC6 48
|
|
lda CtrlTimer ; CPU:$CBC7 PRG:0BC7 A5 32
|
|
cmp #$F0 ; CPU:$CBC9 PRG:0BC9 C9 F0
|
|
bcc SubCCBC3_Block ; CPU:$CBCB PRG:0BCB 90 04
|
|
pla ; CPU:$CBCD PRG:0BCD 68
|
|
jmp $CF2A ; CPU:$CBCE PRG:0BCE 4C 2A CF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCBC3_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCBC3_Block:
|
|
lda Zp46 ; CPU:$CBD1 PRG:0BD1 A5 46
|
|
beq SubCCBC3_Block_2 ; CPU:$CBD3 PRG:0BD3 F0 02
|
|
dec Zp46 ; CPU:$CBD5 PRG:0BD5 C6 46
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCBC3_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCBC3_Block_2:
|
|
ldy Zp49 ; CPU:$CBD7 PRG:0BD7 A4 49
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCBD9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCBD9:
|
|
lda $E661,y ; CPU:$CBD9 PRG:0BD9 B9 61 E6
|
|
iny ; CPU:$CBDC PRG:0BDC C8
|
|
cmp #$AA ; CPU:$CBDD PRG:0BDD C9 AA
|
|
bne SubCCBD9_Block ; CPU:$CBDF PRG:0BDF D0 05
|
|
ldy Zp4A ; CPU:$CBE1 PRG:0BE1 A4 4A
|
|
jmp $CBD9 ; CPU:$CBE3 PRG:0BE3 4C D9 CB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCBD9_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCBD9_Block:
|
|
clc ; CPU:$CBE6 PRG:0BE6 18
|
|
adc CtrlTimer ; CPU:$CBE7 PRG:0BE7 65 32
|
|
ldx Zp4B ; CPU:$CBE9 PRG:0BE9 A6 4B
|
|
bne SubCCBD9_Block_3 ; CPU:$CBEB PRG:0BEB D0 0C
|
|
ldx ZpAE ; CPU:$CBED PRG:0BED A6 AE
|
|
bne SubCCBD9_Block_3 ; CPU:$CBEF PRG:0BEF D0 08
|
|
cmp #$1E ; CPU:$CBF1 PRG:0BF1 C9 1E
|
|
bcc SubCCBD9_Block_5 ; CPU:$CBF3 PRG:0BF3 90 06
|
|
cmp #$92 ; CPU:$CBF5 PRG:0BF5 C9 92
|
|
bcs SubCCBD9_Block_5 ; CPU:$CBF7 PRG:0BF7 B0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCBD9_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCBD9_Block_3:
|
|
sta CtrlTimer ; CPU:$CBF9 PRG:0BF9 85 32
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCBD9_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCBD9_Block_5:
|
|
lda $E661,y ; CPU:$CBFB PRG:0BFB B9 61 E6
|
|
iny ; CPU:$CBFE PRG:0BFE C8
|
|
sty Zp49 ; CPU:$CBFF PRG:0BFF 84 49
|
|
clc ; CPU:$CC01 PRG:0C01 18
|
|
adc Zp33 ; CPU:$CC02 PRG:0C02 65 33
|
|
ldx Zp4B ; CPU:$CC04 PRG:0C04 A6 4B
|
|
bne SubCCBD9_Block_7 ; CPU:$CC06 PRG:0C06 D0 0C
|
|
ldx ZpAE ; CPU:$CC08 PRG:0C08 A6 AE
|
|
bne SubCCBD9_Block_7 ; CPU:$CC0A PRG:0C0A D0 08
|
|
cmp #$0E ; CPU:$CC0C PRG:0C0C C9 0E
|
|
bcc SubCCBD9_Block_9 ; CPU:$CC0E PRG:0C0E 90 06
|
|
cmp #$F2 ; CPU:$CC10 PRG:0C10 C9 F2
|
|
bcs SubCCBD9_Block_9 ; CPU:$CC12 PRG:0C12 B0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCBD9_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCBD9_Block_7:
|
|
sta Zp33 ; CPU:$CC14 PRG:0C14 85 33
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCBD9_Block_9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCBD9_Block_9:
|
|
pla ; CPU:$CC16 PRG:0C16 68
|
|
sec ; CPU:$CC17 PRG:0C17 38
|
|
sbc #$01 ; CPU:$CC18 PRG:0C18 E9 01
|
|
bne SubCCBD9_Block_10 ; CPU:$CC1A PRG:0C1A D0 AA
|
|
jmp $CE4D ; CPU:$CC1C PRG:0C1C 4C 4D CE
|
|
; ---- data $CC1F-$CC3C (30 bytes) ----
|
|
.byte $A6, $3B, $A9, $01, $9D, $EF, $03, $A9, $01, $85, $AD, $85, $5E, $A9, $12, $85 ; CPU:$CC1F PRG:0C1F A6 3B A9 01 9D EF 03 A9 01 85 AD 85 5E A9 12 85
|
|
.byte $4D, $20, $68, $CF, $A2, $13, $A0, $E7, $20, $0B, $CF, $E6, $31, $60 ; CPU:$CC2F PRG:0C2F 4D 20 68 CF A2 13 A0 E7 20 0B CF E6 31 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCC3D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCC3D:
|
|
lda Zp4D ; CPU:$CC3D PRG:0C3D A5 4D
|
|
beq SubCCBD9_Block_12 ; CPU:$CC3F PRG:0C3F F0 0B
|
|
dec Zp4D ; CPU:$CC41 PRG:0C41 C6 4D
|
|
and #$0F ; CPU:$CC43 PRG:0C43 29 0F
|
|
cmp #$0A ; CPU:$CC45 PRG:0C45 C9 0A
|
|
bne SubCCBD9_Block_12 ; CPU:$CC47 PRG:0C47 D0 03
|
|
jsr $D52C ; CPU:$CC49 PRG:0C49 20 2C D5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCBD9_Block_12
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCBD9_Block_12:
|
|
jmp $CE4D ; CPU:$CC4C PRG:0C4C 4C 4D CE
|
|
; ---- data $CC4F-$CC8A (60 bytes) ----
|
|
.byte $20, $F9, $CF, $20, $F2, $D4, $A5, $33, $A2, $48, $C9, $48, $90, $07, $A2, $A0 ; CPU:$CC4F PRG:0C4F 20 F9 CF 20 F2 D4 A5 33 A2 48 C9 48 90 07 A2 A0
|
|
.byte $C9, $A0, $B0, $01, $AA, $8E, $A3, $03, $A9, $01, $85, $4B, $A2, $10, $86, $48 ; CPU:$CC5F PRG:0C5F C9 A0 B0 01 AA 8E A3 03 A9 01 85 4B A2 10 86 48
|
|
.byte $BD, $4B, $E6, $85, $49, $85, $4A, $A2, $18, $A0, $E7, $D0, $BB, $A5, $32, $C9 ; CPU:$CC6F PRG:0C6F BD 4B E6 85 49 85 4A A2 18 A0 E7 D0 BB A5 32 C9
|
|
.byte $B0, $B0, $03, $4C, $C3, $CB, $20, $34, $D5, $E6, $31, $60 ; CPU:$CC7F PRG:0C7F B0 B0 03 4C C3 CB 20 34 D5 E6 31 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCC8B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCC8B:
|
|
lda #$00 ; CPU:$CC8B PRG:0C8B A9 00
|
|
sta CtrlState ; CPU:$CC8D PRG:0C8D 85 31
|
|
ldx Zp36 ; CPU:$CC8F PRG:0C8F A6 36
|
|
jmp $D042 ; CPU:$CC91 PRG:0C91 4C 42 D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCC94
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCC94:
|
|
lda $03A0 ; CPU:$CC94 PRG:0C94 AD A0 03
|
|
beq SubCCC94_Block ; CPU:$CC97 PRG:0C97 F0 0F
|
|
lda #$02 ; CPU:$CC99 PRG:0C99 A9 02
|
|
sta ZpA1 ; CPU:$CC9B PRG:0C9B 85 A1
|
|
ldy #$A0 ; CPU:$CC9D PRG:0C9D A0 A0
|
|
jsr $C5F7 ; CPU:$CC9F PRG:0C9F 20 F7 C5
|
|
jsr $CCA9 ; CPU:$CCA2 PRG:0CA2 20 A9 CC
|
|
jsr $C607 ; CPU:$CCA5 PRG:0CA5 20 07 C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCC94_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCC94_Block:
|
|
rts ; CPU:$CCA8 PRG:0CA8 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCCA9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCCA9:
|
|
lda CtrlState ; CPU:$CCA9 PRG:0CA9 A5 31
|
|
jsr $C35E ; CPU:$CCAB PRG:0CAB 20 5E C3
|
|
cpx #$C5 ; CPU:$CCAE PRG:0CAE E0 C5
|
|
; ---- data $CCB0-$CCFC (77 bytes) ----
|
|
.byte $D4, $CC, $16, $CD, $1D, $CD, $3C, $CD, $4D, $CE, $4C, $CD, $4D, $CE, $52, $CD ; CPU:$CCB0 PRG:0CB0 D4 CC 16 CD 1D CD 3C CD 4D CE 4C CD 4D CE 52 CD
|
|
.byte $5C, $CD, $6C, $CD, $4D, $CE, $80, $CD, $4D, $CE, $9A, $CD, $18, $CE, $2E, $CE ; CPU:$CCC0 PRG:0CC0 5C CD 6C CD 4D CE 80 CD 4D CE 9A CD 18 CE 2E CE
|
|
.byte $4D, $CE, $40, $CE, $A2, $1F, $BD, $6E, $E7, $95, $30, $CA, $10, $F8, $A9, $03 ; CPU:$CCD0 PRG:0CD0 4D CE 40 CE A2 1F BD 6E E7 95 30 CA 10 F8 A9 03
|
|
.byte $85, $BA, $A9, $01, $85, $BE, $85, $AD, $A9, $02, $85, $23, $A5, $25, $C9, $07 ; CPU:$CCE0 PRG:0CE0 85 BA A9 01 85 BE 85 AD A9 02 85 23 A5 25 C9 07
|
|
.byte $D0, $05, $A9, $10, $85, $31, $60, $A5, $C1, $A0, $18, $A2, $00 ; CPU:$CCF0 PRG:0CF0 D0 05 A9 10 85 31 60 A5 C1 A0 18 A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCCFD
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCCFD:
|
|
cmp #$01 ; CPU:$CCFD PRG:0CFD C9 01
|
|
beq SubCCCA9_Block ; CPU:$CCFF PRG:0CFF F0 04
|
|
ldy #$50 ; CPU:$CD01 PRG:0D01 A0 50
|
|
ldx #$18 ; CPU:$CD03 PRG:0D03 A2 18
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCCA9_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCCA9_Block:
|
|
sty Zp33 ; CPU:$CD05 PRG:0D05 84 33
|
|
stx Zp44 ; CPU:$CD07 PRG:0D07 86 44
|
|
lda #$01 ; CPU:$CD09 PRG:0D09 A9 01
|
|
sta Zp9D ; CPU:$CD0B PRG:0D0B 85 9D
|
|
jsr $C5D9 ; CPU:$CD0D PRG:0D0D 20 D9 C5
|
|
jsr $F56C ; CPU:$CD10 PRG:0D10 20 6C F5
|
|
inc CtrlState ; CPU:$CD13 PRG:0D13 E6 31
|
|
rts ; CPU:$CD15 PRG:0D15 60
|
|
; ---- data $CD16-$CD3B (38 bytes) ----
|
|
.byte $A2, $8E, $A0, $E7, $4C, $44, $CD, $A5, $35, $C9, $0C, $D0, $0B, $E6, $44, $A5 ; CPU:$CD16 PRG:0D16 A2 8E A0 E7 4C 44 CD A5 35 C9 0C D0 0B E6 44 A5
|
|
.byte $44, $C9, $20, $90, $03, $E6, $31, $60, $20, $4D, $CE, $A5, $33, $C5, $45, $D0 ; CPU:$CD26 PRG:0D26 44 C9 20 90 03 E6 31 60 20 4D CE A5 33 C5 45 D0
|
|
.byte $F6, $A9, $06, $85, $31, $60 ; CPU:$CD36 PRG:0D36 F6 A9 06 85 31 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCD3C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCD3C:
|
|
lda #$00 ; CPU:$CD3C PRG:0D3C A9 00
|
|
sta Zp44 ; CPU:$CD3E PRG:0D3E 85 44
|
|
ldx #$98 ; CPU:$CD40 PRG:0D40 A2 98
|
|
ldy #$E7 ; CPU:$CD42 PRG:0D42 A0 E7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCD44
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCD44:
|
|
jsr $CF0B ; CPU:$CD44 PRG:0D44 20 0B CF
|
|
inc CtrlState ; CPU:$CD47 PRG:0D47 E6 31
|
|
jmp $CE4D ; CPU:$CD49 PRG:0D49 4C 4D CE
|
|
; ---- data $CD4C-$CE17 (204 bytes) ----
|
|
.byte $A2, $A7, $A0, $E7, $D0, $F2, $A9, $04, $85, $9E, $A2, $AC, $A0, $E7, $D0, $E8 ; CPU:$CD4C PRG:0D4C A2 A7 A0 E7 D0 F2 A9 04 85 9E A2 AC A0 E7 D0 E8
|
|
.byte $C6, $9E, $A5, $9E, $D0, $07, $A9, $10, $85, $9E, $20, $28, $D5, $4C, $4D, $CE ; CPU:$CD5C PRG:0D5C C6 9E A5 9E D0 07 A9 10 85 9E 20 28 D5 4C 4D CE
|
|
.byte $A5, $2B, $D0, $BD, $20, $FA, $D4, $A9, $80, $85, $33, $20, $39, $CF, $A2, $46 ; CPU:$CD6C PRG:0D6C A5 2B D0 BD 20 FA D4 A9 80 85 33 20 39 CF A2 46
|
|
.byte $A0, $E8, $D0, $C4, $A5, $2B, $D0, $A9, $20, $11, $D5, $20, $39, $CF, $A2, $94 ; CPU:$CD7C PRG:0D7C A0 E8 D0 C4 A5 2B D0 A9 20 11 D5 20 39 CF A2 94
|
|
.byte $A0, $E8, $A5, $BD, $C9, $01, $F0, $B0, $A2, $A3, $A0, $E8, $D0, $AA, $A9, $30 ; CPU:$CD8C PRG:0D8C A0 E8 A5 BD C9 01 F0 B0 A2 A3 A0 E8 D0 AA A9 30
|
|
.byte $85, $A6, $A9, $01, $85, $B9, $A9, $03, $85, $BA, $A9, $01, $85, $BE, $A9, $00 ; CPU:$CD9C PRG:0D9C 85 A6 A9 01 85 B9 A9 03 85 BA A9 01 85 BE A9 00
|
|
.byte $85, $BD, $A9, $02, $A0, $01, $A6, $1F, $D0, $04, $A9, $01, $A0, $00, $85, $BC ; CPU:$CDAC PRG:0DAC 85 BD A9 02 A0 01 A6 1F D0 04 A9 01 A0 00 85 BC
|
|
.byte $8C, $50, $03, $8C, $51, $03, $A9, $01, $8D, $00, $03, $8D, $01, $03, $20, $88 ; CPU:$CDBC PRG:0DBC 8C 50 03 8C 51 03 A9 01 8D 00 03 8D 01 03 20 88
|
|
.byte $C5, $85, $0C, $A9, $03, $A4, $C1, $C0, $01, $F0, $02, $A9, $07, $25, $0C, $85 ; CPU:$CDCC PRG:0DCC C5 85 0C A9 03 A4 C1 C0 01 F0 02 A9 07 25 0C 85
|
|
.byte $98, $A0, $00, $84, $99, $AA, $BD, $66, $E7, $85, $0C, $29, $F0, $4A, $A0, $00 ; CPU:$CDDC PRG:0DDC 98 A0 00 84 99 AA BD 66 E7 85 0C 29 F0 4A A0 00
|
|
.byte $20, $44, $CF, $A5, $0C, $29, $0F, $0A, $0A, $0A, $20, $44, $CF, $A9, $3F, $8D ; CPU:$CDEC PRG:0DEC 20 44 CF A5 0C 29 0F 0A 0A 0A 20 44 CF A9 3F 8D
|
|
.byte $00, $04, $A9, $10, $8D, $01, $04, $8D, $02, $04, $A9, $00, $8D, $13, $04, $A9 ; CPU:$CDFC PRG:0DFC 00 04 A9 10 8D 01 04 8D 02 04 A9 00 8D 13 04 A9
|
|
.byte $01, $85, $27, $A9, $12, $85, $31, $A9, $00, $85, $42, $60 ; CPU:$CE0C PRG:0E0C 01 85 27 A9 12 85 31 A9 00 85 42 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE18
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE18:
|
|
lda ZpBB ; CPU:$CE18 PRG:0E18 A5 BB
|
|
cmp #$0A ; CPU:$CE1A PRG:0E1A C9 0A
|
|
bne SubCCD44_Block ; CPU:$CE1C PRG:0E1C D0 0B
|
|
lda #$00 ; CPU:$CE1E PRG:0E1E A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE20
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE20:
|
|
sta ZpA9 ; CPU:$CE20 PRG:0E20 85 A9
|
|
lda #$04 ; CPU:$CE22 PRG:0E22 A9 04
|
|
sta Temp ; CPU:$CE24 PRG:0E24 85 25
|
|
jmp $C23B ; CPU:$CE26 PRG:0E26 4C 3B C2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCD44_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCD44_Block:
|
|
lda #$0E ; CPU:$CE29 PRG:0E29 A9 0E
|
|
sta CtrlState ; CPU:$CE2B PRG:0E2B 85 31
|
|
rts ; CPU:$CE2D PRG:0E2D 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE2E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE2E:
|
|
lda #$80 ; CPU:$CE2E PRG:0E2E A9 80
|
|
sta Zp33 ; CPU:$CE30 PRG:0E30 85 33
|
|
lda #$01 ; CPU:$CE32 PRG:0E32 A9 01
|
|
sta Zp38 ; CPU:$CE34 PRG:0E34 85 38
|
|
jsr $CF39 ; CPU:$CE36 PRG:0E36 20 39 CF
|
|
ldx #$B2 ; CPU:$CE39 PRG:0E39 A2 B2
|
|
ldy #$E8 ; CPU:$CE3B PRG:0E3B A0 E8
|
|
jmp $CD44 ; CPU:$CE3D PRG:0E3D 4C 44 CD
|
|
; ---- data $CE40-$CE4C (13 bytes) ----
|
|
.byte $A5, $42, $D0, $09, $A9, $00, $85, $31, $A6, $36, $4C, $42, $D0 ; CPU:$CE40 PRG:0E40 A5 42 D0 09 A9 00 85 31 A6 36 4C 42 D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE4D
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE4D:
|
|
lda Zp42 ; CPU:$CE4D PRG:0E4D A5 42
|
|
beq SubCCE4D_Block ; CPU:$CE4F PRG:0E4F F0 05
|
|
dec Zp42 ; CPU:$CE51 PRG:0E51 C6 42
|
|
jmp $D01B ; CPU:$CE53 PRG:0E53 4C 1B D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE4D_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE4D_Block:
|
|
ldy Zp43 ; CPU:$CE56 PRG:0E56 A4 43
|
|
lda (Zp40),y ; CPU:$CE58 PRG:0E58 B1 40
|
|
cmp #$FA ; CPU:$CE5A PRG:0E5A C9 FA
|
|
bcc SubCCE4D_Block_2 ; CPU:$CE5C PRG:0E5C 90 14
|
|
inc Zp43 ; CPU:$CE5E PRG:0E5E E6 43
|
|
sec ; CPU:$CE60 PRG:0E60 38
|
|
sbc #$FA ; CPU:$CE61 PRG:0E61 E9 FA
|
|
jsr $C35E ; CPU:$CE63 PRG:0E63 20 5E C3
|
|
cpx #$C5 ; CPU:$CE66 PRG:0E66 E0 C5
|
|
cpx #$C5 ; CPU:$CE68 PRG:0E68 E0 C5
|
|
; ---- data $CE6A-$CE71 (8 bytes) ----
|
|
.byte $07, $CF, $00, $CF, $F9, $CE, $ED, $CE ; CPU:$CE6A PRG:0E6A 07 CF 00 CF F9 CE ED CE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE4D_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE4D_Block_2:
|
|
ldy Zp43 ; CPU:$CE72 PRG:0E72 A4 43
|
|
ldx ZpA1 ; CPU:$CE74 PRG:0E74 A6 A1
|
|
cpx #$02 ; CPU:$CE76 PRG:0E76 E0 02
|
|
bne SubCCEC9_Block ; CPU:$CE78 PRG:0E78 D0 6C
|
|
ldx CtrlState ; CPU:$CE7A PRG:0E7A A6 31
|
|
cpx #$09 ; CPU:$CE7C PRG:0E7C E0 09
|
|
beq SubCCE4D_Block_4 ; CPU:$CE7E PRG:0E7E F0 2D
|
|
cpx #$0B ; CPU:$CE80 PRG:0E80 E0 0B
|
|
beq SubCCE4D_Block_6 ; CPU:$CE82 PRG:0E82 F0 08
|
|
cpx #$0D ; CPU:$CE84 PRG:0E84 E0 0D
|
|
beq SubCCE4D_Block_6 ; CPU:$CE86 PRG:0E86 F0 04
|
|
cpx #$11 ; CPU:$CE88 PRG:0E88 E0 11
|
|
bne SubCCE4D_Block_7 ; CPU:$CE8A PRG:0E8A D0 48
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE4D_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE4D_Block_6:
|
|
ldx Zp46 ; CPU:$CE8C PRG:0E8C A6 46
|
|
beq SubCCE4D_Block_8 ; CPU:$CE8E PRG:0E8E F0 0C
|
|
dec Zp46 ; CPU:$CE90 PRG:0E90 C6 46
|
|
lda Zp47 ; CPU:$CE92 PRG:0E92 A5 47
|
|
clc ; CPU:$CE94 PRG:0E94 18
|
|
adc CtrlTimer ; CPU:$CE95 PRG:0E95 65 32
|
|
sta CtrlTimer ; CPU:$CE97 PRG:0E97 85 32
|
|
jmp $D01B ; CPU:$CE99 PRG:0E99 4C 1B D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE4D_Block_8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE4D_Block_8:
|
|
sta Zp46 ; CPU:$CE9C PRG:0E9C 85 46
|
|
iny ; CPU:$CE9E PRG:0E9E C8
|
|
lda (Zp40),y ; CPU:$CE9F PRG:0E9F B1 40
|
|
bpl SubCCE4D_Block_9 ; CPU:$CEA1 PRG:0EA1 10 05
|
|
and #$7F ; CPU:$CEA3 PRG:0EA3 29 7F
|
|
jsr $D12B ; CPU:$CEA5 PRG:0EA5 20 2B D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE4D_Block_9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE4D_Block_9:
|
|
sta Zp47 ; CPU:$CEA8 PRG:0EA8 85 47
|
|
jmp $CEC9 ; CPU:$CEAA PRG:0EAA 4C C9 CE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE4D_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE4D_Block_4:
|
|
tax ; CPU:$CEAD PRG:0EAD AA
|
|
bpl SubCCE4D_Block_10 ; CPU:$CEAE PRG:0EAE 10 05
|
|
and #$7F ; CPU:$CEB0 PRG:0EB0 29 7F
|
|
jsr $D12B ; CPU:$CEB2 PRG:0EB2 20 2B D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE4D_Block_10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE4D_Block_10:
|
|
clc ; CPU:$CEB5 PRG:0EB5 18
|
|
adc CtrlTimer ; CPU:$CEB6 PRG:0EB6 65 32
|
|
sta CtrlTimer ; CPU:$CEB8 PRG:0EB8 85 32
|
|
iny ; CPU:$CEBA PRG:0EBA C8
|
|
lda (Zp40),y ; CPU:$CEBB PRG:0EBB B1 40
|
|
ldx Zp34 ; CPU:$CEBD PRG:0EBD A6 34
|
|
beq SubCCE4D_Block_11 ; CPU:$CEBF PRG:0EBF F0 03
|
|
jsr $D12B ; CPU:$CEC1 PRG:0EC1 20 2B D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE4D_Block_11
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE4D_Block_11:
|
|
clc ; CPU:$CEC4 PRG:0EC4 18
|
|
adc Zp33 ; CPU:$CEC5 PRG:0EC5 65 33
|
|
sta Zp33 ; CPU:$CEC7 PRG:0EC7 85 33
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCEC9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCEC9:
|
|
iny ; CPU:$CEC9 PRG:0EC9 C8
|
|
lda (Zp40),y ; CPU:$CECA PRG:0ECA B1 40
|
|
sta Zp35 ; CPU:$CECC PRG:0ECC 85 35
|
|
iny ; CPU:$CECE PRG:0ECE C8
|
|
sty Zp43 ; CPU:$CECF PRG:0ECF 84 43
|
|
jmp $D01B ; CPU:$CED1 PRG:0ED1 4C 1B D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCE4D_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCE4D_Block_7:
|
|
cpx #$03 ; CPU:$CED4 PRG:0ED4 E0 03
|
|
bne SubCCEC9_Block ; CPU:$CED6 PRG:0ED6 D0 0E
|
|
lda #$02 ; CPU:$CED8 PRG:0ED8 A9 02
|
|
ldx Zp34 ; CPU:$CEDA PRG:0EDA A6 34
|
|
beq SubCCEC9_Block_2 ; CPU:$CEDC PRG:0EDC F0 03
|
|
jsr $D12B ; CPU:$CEDE PRG:0EDE 20 2B D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCEC9_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCEC9_Block_2:
|
|
clc ; CPU:$CEE1 PRG:0EE1 18
|
|
adc Zp33 ; CPU:$CEE2 PRG:0EE2 65 33
|
|
sta Zp33 ; CPU:$CEE4 PRG:0EE4 85 33
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCEC9_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCEC9_Block:
|
|
lda (Zp40),y ; CPU:$CEE6 PRG:0EE6 B1 40
|
|
sta Zp42 ; CPU:$CEE8 PRG:0EE8 85 42
|
|
jmp $CEC9 ; CPU:$CEEA PRG:0EEA 4C C9 CE
|
|
; ---- data $CEED-$CF0A (30 bytes) ----
|
|
.byte $A4, $43, $B1, $40, $85, $31, $C8, $B1, $40, $85, $42, $60, $A9, $00, $85, $43 ; CPU:$CEED PRG:0EED A4 43 B1 40 85 31 C8 B1 40 85 42 60 A9 00 85 43
|
|
.byte $4C, $56, $CE, $A9, $01, $85, $38, $4C, $56, $CE, $A9, $1E, $D0, $F0 ; CPU:$CEFD PRG:0EFD 4C 56 CE A9 01 85 38 4C 56 CE A9 1E D0 F0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCF0B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCF0B:
|
|
stx Zp40 ; CPU:$CF0B PRG:0F0B 86 40
|
|
sty Zp41 ; CPU:$CF0D PRG:0F0D 84 41
|
|
lda #$00 ; CPU:$CF0F PRG:0F0F A9 00
|
|
sta Zp43 ; CPU:$CF11 PRG:0F11 85 43
|
|
sta Zp42 ; CPU:$CF13 PRG:0F13 85 42
|
|
rts ; CPU:$CF15 PRG:0F15 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCF16
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCF16:
|
|
lda CtrlTimer ; CPU:$CF16 PRG:0F16 A5 32
|
|
cmp #$08 ; CPU:$CF18 PRG:0F18 C9 08
|
|
bcc SubCCF2A ; CPU:$CF1A PRG:0F1A 90 0E
|
|
cmp #$90 ; CPU:$CF1C PRG:0F1C C9 90
|
|
bcs SubCCF16_Block ; CPU:$CF1E PRG:0F1E B0 13
|
|
lda Zp33 ; CPU:$CF20 PRG:0F20 A5 33
|
|
cmp #$0C ; CPU:$CF22 PRG:0F22 C9 0C
|
|
bcc SubCCF2A ; CPU:$CF24 PRG:0F24 90 04
|
|
cmp #$F4 ; CPU:$CF26 PRG:0F26 C9 F4
|
|
bcc SubCCF16_Block_2 ; CPU:$CF28 PRG:0F28 90 0C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCF2A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCF2A:
|
|
lda #$08 ; CPU:$CF2A PRG:0F2A A9 08
|
|
sta CtrlState ; CPU:$CF2C PRG:0F2C 85 31
|
|
lda #$00 ; CPU:$CF2E PRG:0F2E A9 00
|
|
sta Zp42 ; CPU:$CF30 PRG:0F30 85 42
|
|
rts ; CPU:$CF32 PRG:0F32 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCF16_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCF16_Block:
|
|
jmp $CAD7 ; CPU:$CF33 PRG:0F33 4C D7 CA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCF16_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCF16_Block_2:
|
|
jmp $CAA5 ; CPU:$CF36 PRG:0F36 4C A5 CA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCF39
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCF39:
|
|
lda #$00 ; CPU:$CF39 PRG:0F39 A9 00
|
|
sta Zp46 ; CPU:$CF3B PRG:0F3B 85 46
|
|
sta Zp47 ; CPU:$CF3D PRG:0F3D 85 47
|
|
lda #$AC ; CPU:$CF3F PRG:0F3F A9 AC
|
|
sta CtrlTimer ; CPU:$CF41 PRG:0F41 85 32
|
|
rts ; CPU:$CF43 PRG:0F43 60
|
|
; ---- data $CF44-$CF55 (18 bytes) ----
|
|
.byte $AA, $A9, $08, $85, $0D, $BD, $24, $E7, $99, $03, $04, $E8, $C8, $C6, $0D, $D0 ; CPU:$CF44 PRG:0F44 AA A9 08 85 0D BD 24 E7 99 03 04 E8 C8 C6 0D D0
|
|
.byte $F4, $60 ; CPU:$CF54 PRG:0F54 F4 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCF56
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCF56:
|
|
lda ZpC1 ; CPU:$CF56 PRG:0F56 A5 C1
|
|
ldy #$02 ; CPU:$CF58 PRG:0F58 A0 02
|
|
cmp #$06 ; CPU:$CF5A PRG:0F5A C9 06
|
|
bcc SubCCF39_Block_3 ; CPU:$CF5C PRG:0F5C 90 21
|
|
ldy #$03 ; CPU:$CF5E PRG:0F5E A0 03
|
|
cmp #$11 ; CPU:$CF60 PRG:0F60 C9 11
|
|
bcc SubCCF39_Block_3 ; CPU:$CF62 PRG:0F62 90 1B
|
|
ldy #$05 ; CPU:$CF64 PRG:0F64 A0 05
|
|
bne SubCCF39_Block_3 ; CPU:$CF66 PRG:0F66 D0 17
|
|
ldx ZpC1 ; CPU:$CF68 PRG:0F68 A6 C1
|
|
lda #$00 ; CPU:$CF6A PRG:0F6A A9 00
|
|
cpx #$06 ; CPU:$CF6C PRG:0F6C E0 06
|
|
bcc SubCCF39_Block_5 ; CPU:$CF6E PRG:0F6E 90 08
|
|
lda #$03 ; CPU:$CF70 PRG:0F70 A9 03
|
|
cpx #$11 ; CPU:$CF72 PRG:0F72 E0 11
|
|
bcc SubCCF39_Block_5 ; CPU:$CF74 PRG:0F74 90 02
|
|
lda #$06 ; CPU:$CF76 PRG:0F76 A9 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCF39_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCF39_Block_5:
|
|
clc ; CPU:$CF78 PRG:0F78 18
|
|
adc Zp3F ; CPU:$CF79 PRG:0F79 65 3F
|
|
tax ; CPU:$CF7B PRG:0F7B AA
|
|
ldy $EBF1,x ; CPU:$CF7C PRG:0F7C BC F1 EB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCF39_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCF39_Block_3:
|
|
sty Zp39 ; CPU:$CF7F PRG:0F7F 84 39
|
|
lda $EBFA,y ; CPU:$CF81 PRG:0F81 B9 FA EB
|
|
sta Zp06 ; CPU:$CF84 PRG:0F84 85 06
|
|
lda #$00 ; CPU:$CF86 PRG:0F86 A9 00
|
|
sta Zp04 ; CPU:$CF88 PRG:0F88 85 04
|
|
sta Zp05 ; CPU:$CF8A PRG:0F8A 85 05
|
|
sta Zp07 ; CPU:$CF8C PRG:0F8C 85 07
|
|
lda #$0F ; CPU:$CF8E PRG:0F8E A9 0F
|
|
jsr $C437 ; CPU:$CF90 PRG:0F90 20 37 C4
|
|
jmp $C655 ; CPU:$CF93 PRG:0F93 4C 55 C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCF96
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCF96:
|
|
lda ZpBD ; CPU:$CF96 PRG:0F96 A5 BD
|
|
bne SubCCF96_Block ; CPU:$CF98 PRG:0F98 D0 1F
|
|
lda #$06 ; CPU:$CF9A PRG:0F9A A9 06
|
|
jsr $D464 ; CPU:$CF9C PRG:0F9C 20 64 D4
|
|
lda #$30 ; CPU:$CF9F PRG:0F9F A9 30
|
|
sta Zp2B ; CPU:$CFA1 PRG:0FA1 85 2B
|
|
lda #$06 ; CPU:$CFA3 PRG:0FA3 A9 06
|
|
sta SprData ; CPU:$CFA5 PRG:0FA5 85 23
|
|
lda #$01 ; CPU:$CFA7 PRG:0FA7 A9 01
|
|
sta Zp27 ; CPU:$CFA9 PRG:0FA9 85 27
|
|
lda #$36 ; CPU:$CFAB PRG:0FAB A9 36
|
|
sta $0403 ; CPU:$CFAD PRG:0FAD 8D 03 04
|
|
sta $0407 ; CPU:$CFB0 PRG:0FB0 8D 07 04
|
|
sta $040B ; CPU:$CFB3 PRG:0FB3 8D 0B 04
|
|
sta $040F ; CPU:$CFB6 PRG:0FB6 8D 0F 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCF96_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCF96_Block:
|
|
rts ; CPU:$CFB9 PRG:0FB9 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCFBA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCFBA:
|
|
ldx #$00 ; CPU:$CFBA PRG:0FBA A2 00
|
|
ldy #$00 ; CPU:$CFBC PRG:0FBC A0 00
|
|
jsr $CFC5 ; CPU:$CFBE PRG:0FBE 20 C5 CF
|
|
ldx #$04 ; CPU:$CFC1 PRG:0FC1 A2 04
|
|
ldy #$08 ; CPU:$CFC3 PRG:0FC3 A0 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCFC5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCFC5:
|
|
lda Zp80,x ; CPU:$CFC5 PRG:0FC5 B5 80
|
|
beq SubCCFC5_Block ; CPU:$CFC7 PRG:0FC7 F0 2F
|
|
dec Zp80,x ; CPU:$CFC9 PRG:0FC9 D6 80
|
|
bne SubCCFC5_Block_2 ; CPU:$CFCB PRG:0FCB D0 06
|
|
lda #$F4 ; CPU:$CFCD PRG:0FCD A9 F4
|
|
sta Zp81,x ; CPU:$CFCF PRG:0FCF 95 81
|
|
sta Zp82,x ; CPU:$CFD1 PRG:0FD1 95 82
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCFC5_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCFC5_Block_2:
|
|
lda Zp81,x ; CPU:$CFD3 PRG:0FD3 B5 81
|
|
sta $02F0,y ; CPU:$CFD5 PRG:0FD5 99 F0 02
|
|
sta $02F4,y ; CPU:$CFD8 PRG:0FD8 99 F4 02
|
|
lda Zp83,x ; CPU:$CFDB PRG:0FDB B5 83
|
|
sta $02F1,y ; CPU:$CFDD PRG:0FDD 99 F1 02
|
|
lda #$FF ; CPU:$CFE0 PRG:0FE0 A9 FF
|
|
sta $02F5,y ; CPU:$CFE2 PRG:0FE2 99 F5 02
|
|
lda #$00 ; CPU:$CFE5 PRG:0FE5 A9 00
|
|
sta $02F2,y ; CPU:$CFE7 PRG:0FE7 99 F2 02
|
|
sta $02F6,y ; CPU:$CFEA PRG:0FEA 99 F6 02
|
|
lda Zp82,x ; CPU:$CFED PRG:0FED B5 82
|
|
sta $02F3,y ; CPU:$CFEF PRG:0FEF 99 F3 02
|
|
clc ; CPU:$CFF2 PRG:0FF2 18
|
|
adc #$08 ; CPU:$CFF3 PRG:0FF3 69 08
|
|
sta $02F7,y ; CPU:$CFF5 PRG:0FF5 99 F7 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCFC5_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCFC5_Block:
|
|
rts ; CPU:$CFF8 PRG:0FF8 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCFF9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCFF9:
|
|
ldx #$00 ; CPU:$CFF9 PRG:0FF9 A2 00
|
|
lda Zp80,x ; CPU:$CFFB PRG:0FFB B5 80
|
|
beq SubCCFF9_Block ; CPU:$CFFD PRG:0FFD F0 02
|
|
ldx #$04 ; CPU:$CFFF PRG:0FFF A2 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCCFF9_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCCFF9_Block:
|
|
lda CtrlTimer ; CPU:$D001 PRG:1001 A5 32
|
|
sec ; CPU:$D003 PRG:1003 38
|
|
sbc #$04 ; CPU:$D004 PRG:1004 E9 04
|
|
sta Zp81,x ; CPU:$D006 PRG:1006 95 81
|
|
lda Zp33 ; CPU:$D008 PRG:1008 A5 33
|
|
sec ; CPU:$D00A PRG:100A 38
|
|
sbc #$08 ; CPU:$D00B PRG:100B E9 08
|
|
sta Zp82,x ; CPU:$D00D PRG:100D 95 82
|
|
lda Zp39 ; CPU:$D00F PRG:100F A5 39
|
|
clc ; CPU:$D011 PRG:1011 18
|
|
adc #$F7 ; CPU:$D012 PRG:1012 69 F7
|
|
sta Zp83,x ; CPU:$D014 PRG:1014 95 83
|
|
lda #$30 ; CPU:$D016 PRG:1016 A9 30
|
|
sta Zp80,x ; CPU:$D018 PRG:1018 95 80
|
|
rts ; CPU:$D01A PRG:101A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD01B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD01B:
|
|
lda Zp36 ; CPU:$D01B PRG:101B A5 36
|
|
sta DataPtrLo ; CPU:$D01D PRG:101D 85 B4
|
|
lda Zp35 ; CPU:$D01F PRG:101F A5 35
|
|
asl a ; CPU:$D021 PRG:1021 0A
|
|
tay ; CPU:$D022 PRG:1022 A8
|
|
lda #$C5 ; CPU:$D023 PRG:1023 A9 C5
|
|
sta Zp12 ; CPU:$D025 PRG:1025 85 12
|
|
lda #$DA ; CPU:$D027 PRG:1027 A9 DA
|
|
sta Zp13 ; CPU:$D029 PRG:1029 85 13
|
|
lda (Zp12),y ; CPU:$D02B PRG:102B B1 12
|
|
sta Zp10 ; CPU:$D02D PRG:102D 85 10
|
|
iny ; CPU:$D02F PRG:102F C8
|
|
lda (Zp12),y ; CPU:$D030 PRG:1030 B1 12
|
|
sta Zp11 ; CPU:$D032 PRG:1032 85 11
|
|
ldy #$00 ; CPU:$D034 PRG:1034 A0 00
|
|
sty Zp1A ; CPU:$D036 PRG:1036 84 1A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD08F_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD08F_Block:
|
|
ldy Zp1A ; CPU:$D038 PRG:1038 A4 1A
|
|
lda (Zp10),y ; CPU:$D03A PRG:103A B1 10
|
|
cmp #$00 ; CPU:$D03C PRG:103C C9 00
|
|
bne SubCD01B_Block ; CPU:$D03E PRG:103E D0 10
|
|
ldx DataPtrLo ; CPU:$D040 PRG:1040 A6 B4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD042
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD042:
|
|
lda #$F4 ; CPU:$D042 PRG:1042 A9 F4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD044
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD044:
|
|
cpx Zp37 ; CPU:$D044 PRG:1044 E4 37
|
|
beq SubCD044_Block ; CPU:$D046 PRG:1046 F0 07
|
|
sta $0200,x ; CPU:$D048 PRG:1048 9D 00 02
|
|
inx ; CPU:$D04B PRG:104B E8
|
|
jmp $D044 ; CPU:$D04C PRG:104C 4C 44 D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD044_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD044_Block:
|
|
rts ; CPU:$D04F PRG:104F 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD01B_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD01B_Block:
|
|
sta Zp13 ; CPU:$D050 PRG:1050 85 13
|
|
iny ; CPU:$D052 PRG:1052 C8
|
|
lda (Zp10),y ; CPU:$D053 PRG:1053 B1 10
|
|
iny ; CPU:$D055 PRG:1055 C8
|
|
sta Zp12 ; CPU:$D056 PRG:1056 85 12
|
|
lda (Zp10),y ; CPU:$D058 PRG:1058 B1 10
|
|
iny ; CPU:$D05A PRG:105A C8
|
|
clc ; CPU:$D05B PRG:105B 18
|
|
adc CtrlTimer ; CPU:$D05C PRG:105C 65 32
|
|
sta ZpB1 ; CPU:$D05E PRG:105E 85 B1
|
|
lda (Zp10),y ; CPU:$D060 PRG:1060 B1 10
|
|
iny ; CPU:$D062 PRG:1062 C8
|
|
ldx Zp34 ; CPU:$D063 PRG:1063 A6 34
|
|
beq SubCD044_Block_2 ; CPU:$D065 PRG:1065 F0 06
|
|
jsr $D12B ; CPU:$D067 PRG:1067 20 2B D1
|
|
sec ; CPU:$D06A PRG:106A 38
|
|
sbc #$08 ; CPU:$D06B PRG:106B E9 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD044_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD044_Block_2:
|
|
clc ; CPU:$D06D PRG:106D 18
|
|
adc Zp33 ; CPU:$D06E PRG:106E 65 33
|
|
sta ZpB2 ; CPU:$D070 PRG:1070 85 B2
|
|
sty Zp1A ; CPU:$D072 PRG:1072 84 1A
|
|
ldy #$00 ; CPU:$D074 PRG:1074 A0 00
|
|
lda (Zp12),y ; CPU:$D076 PRG:1076 B1 12
|
|
ldx #$00 ; CPU:$D078 PRG:1078 A2 00
|
|
cmp #$00 ; CPU:$D07A PRG:107A C9 00
|
|
beq SubCD044_Block_5 ; CPU:$D07C PRG:107C F0 0E
|
|
ldx #$10 ; CPU:$D07E PRG:107E A2 10
|
|
cmp #$01 ; CPU:$D080 PRG:1080 C9 01
|
|
beq SubCD044_Block_5 ; CPU:$D082 PRG:1082 F0 08
|
|
ldx #$38 ; CPU:$D084 PRG:1084 A2 38
|
|
cmp #$02 ; CPU:$D086 PRG:1086 C9 02
|
|
beq SubCD044_Block_5 ; CPU:$D088 PRG:1088 F0 02
|
|
ldx #$44 ; CPU:$D08A PRG:108A A2 44
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD044_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD044_Block_5:
|
|
stx Zp1B ; CPU:$D08C PRG:108C 86 1B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD08E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD08E:
|
|
iny ; CPU:$D08E PRG:108E C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD08F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD08F:
|
|
lda (Zp12),y ; CPU:$D08F PRG:108F B1 12
|
|
cmp #$FF ; CPU:$D091 PRG:1091 C9 FF
|
|
beq SubCD08F_Block ; CPU:$D093 PRG:1093 F0 A3
|
|
cmp #$FE ; CPU:$D095 PRG:1095 C9 FE
|
|
bne SubCD08F_Block_2 ; CPU:$D097 PRG:1097 D0 07
|
|
inc Zp1B ; CPU:$D099 PRG:1099 E6 1B
|
|
inc Zp1B ; CPU:$D09B PRG:109B E6 1B
|
|
jmp $D08E ; CPU:$D09D PRG:109D 4C 8E D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD08F_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD08F_Block_2:
|
|
cmp #$FD ; CPU:$D0A0 PRG:10A0 C9 FD
|
|
bne SubCD08F_Block_3 ; CPU:$D0A2 PRG:10A2 D0 15
|
|
iny ; CPU:$D0A4 PRG:10A4 C8
|
|
lda (Zp12),y ; CPU:$D0A5 PRG:10A5 B1 12
|
|
clc ; CPU:$D0A7 PRG:10A7 18
|
|
adc Zp3C ; CPU:$D0A8 PRG:10A8 65 3C
|
|
sta ZpB3 ; CPU:$D0AA PRG:10AA 85 B3
|
|
lda Zp38 ; CPU:$D0AC PRG:10AC A5 38
|
|
beq SubCD08E ; CPU:$D0AE PRG:10AE F0 DE
|
|
lda ZpB3 ; CPU:$D0B0 PRG:10B0 A5 B3
|
|
ora #$20 ; CPU:$D0B2 PRG:10B2 09 20
|
|
sta ZpB3 ; CPU:$D0B4 PRG:10B4 85 B3
|
|
jmp $D08E ; CPU:$D0B6 PRG:10B6 4C 8E D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD08F_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD08F_Block_3:
|
|
ldx Zp1B ; CPU:$D0B9 PRG:10B9 A6 1B
|
|
lda $DCC0,x ; CPU:$D0BB PRG:10BB BD C0 DC
|
|
inc Zp1B ; CPU:$D0BE PRG:10BE E6 1B
|
|
clc ; CPU:$D0C0 PRG:10C0 18
|
|
adc ZpB1 ; CPU:$D0C1 PRG:10C1 65 B1
|
|
jsr $D10E ; CPU:$D0C3 PRG:10C3 20 0E D1
|
|
ldx DataPtrLo ; CPU:$D0C6 PRG:10C6 A6 B4
|
|
sta $0200,x ; CPU:$D0C8 PRG:10C8 9D 00 02
|
|
inc DataPtrLo ; CPU:$D0CB PRG:10CB E6 B4
|
|
lda (Zp12),y ; CPU:$D0CD PRG:10CD B1 12
|
|
iny ; CPU:$D0CF PRG:10CF C8
|
|
ldx DataPtrLo ; CPU:$D0D0 PRG:10D0 A6 B4
|
|
sta $0200,x ; CPU:$D0D2 PRG:10D2 9D 00 02
|
|
inc DataPtrLo ; CPU:$D0D5 PRG:10D5 E6 B4
|
|
lda ZpB3 ; CPU:$D0D7 PRG:10D7 A5 B3
|
|
ldx Zp34 ; CPU:$D0D9 PRG:10D9 A6 34
|
|
beq SubCD08F_Block_4 ; CPU:$D0DB PRG:10DB F0 0C
|
|
and #$BF ; CPU:$D0DD PRG:10DD 29 BF
|
|
sta Ptr2Lo ; CPU:$D0DF PRG:10DF 85 0C
|
|
lda ZpB3 ; CPU:$D0E1 PRG:10E1 A5 B3
|
|
and #$40 ; CPU:$D0E3 PRG:10E3 29 40
|
|
eor #$40 ; CPU:$D0E5 PRG:10E5 49 40
|
|
ora Ptr2Lo ; CPU:$D0E7 PRG:10E7 05 0C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD08F_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD08F_Block_4:
|
|
ldx DataPtrLo ; CPU:$D0E9 PRG:10E9 A6 B4
|
|
sta $0200,x ; CPU:$D0EB PRG:10EB 9D 00 02
|
|
inc DataPtrLo ; CPU:$D0EE PRG:10EE E6 B4
|
|
ldx Zp1B ; CPU:$D0F0 PRG:10F0 A6 1B
|
|
lda $DCC0,x ; CPU:$D0F2 PRG:10F2 BD C0 DC
|
|
inc Zp1B ; CPU:$D0F5 PRG:10F5 E6 1B
|
|
ldx Zp34 ; CPU:$D0F7 PRG:10F7 A6 34
|
|
beq SubCD08F_Block_5 ; CPU:$D0F9 PRG:10F9 F0 03
|
|
jsr $D12B ; CPU:$D0FB PRG:10FB 20 2B D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD08F_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD08F_Block_5:
|
|
clc ; CPU:$D0FE PRG:10FE 18
|
|
adc ZpB2 ; CPU:$D0FF PRG:10FF 65 B2
|
|
jsr $D114 ; CPU:$D101 PRG:1101 20 14 D1
|
|
ldx DataPtrLo ; CPU:$D104 PRG:1104 A6 B4
|
|
sta $0200,x ; CPU:$D106 PRG:1106 9D 00 02
|
|
inc DataPtrLo ; CPU:$D109 PRG:1109 E6 B4
|
|
jmp $D08F ; CPU:$D10B PRG:110B 4C 8F D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD10E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD10E:
|
|
pha ; CPU:$D10E PRG:110E 48
|
|
lda CtrlTimer ; CPU:$D10F PRG:110F A5 32
|
|
jmp $D117 ; CPU:$D111 PRG:1111 4C 17 D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD114
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD114:
|
|
pha ; CPU:$D114 PRG:1114 48
|
|
lda Zp33 ; CPU:$D115 PRG:1115 A5 33
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD117
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD117:
|
|
sta SndTemp ; CPU:$D117 PRG:1117 85 0F
|
|
pla ; CPU:$D119 PRG:1119 68
|
|
pha ; CPU:$D11A PRG:111A 48
|
|
sec ; CPU:$D11B PRG:111B 38
|
|
sbc SndTemp ; CPU:$D11C PRG:111C E5 0F
|
|
bcs SubCD117_Block ; CPU:$D11E PRG:111E B0 03
|
|
jsr $D12B ; CPU:$D120 PRG:1120 20 2B D1
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD117_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD117_Block:
|
|
cmp #$30 ; CPU:$D123 PRG:1123 C9 30
|
|
pla ; CPU:$D125 PRG:1125 68
|
|
bcc SubCD117_Block_2 ; CPU:$D126 PRG:1126 90 02
|
|
lda #$FF ; CPU:$D128 PRG:1128 A9 FF
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD117_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD117_Block_2:
|
|
rts ; CPU:$D12A PRG:112A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD12B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD12B:
|
|
eor #$FF ; CPU:$D12B PRG:112B 49 FF
|
|
clc ; CPU:$D12D PRG:112D 18
|
|
adc #$01 ; CPU:$D12E PRG:112E 69 01
|
|
rts ; CPU:$D130 PRG:1130 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD131
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD131:
|
|
lda JOY2 ; CPU:$D131 PRG:1131 AD 17 40
|
|
and #$10 ; CPU:$D134 PRG:1134 29 10
|
|
cmp ZpB7 ; CPU:$D136 PRG:1136 C5 B7
|
|
beq SubCD131_Block ; CPU:$D138 PRG:1138 F0 07
|
|
sta ZpB7 ; CPU:$D13A PRG:113A 85 B7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD131_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD131_Block_6:
|
|
lda #$00 ; CPU:$D13C PRG:113C A9 00
|
|
sta ZpB8 ; CPU:$D13E PRG:113E 85 B8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD131_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD131_Block_2:
|
|
rts ; CPU:$D140 PRG:1140 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD131_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD131_Block:
|
|
inc ZpB8 ; CPU:$D141 PRG:1141 E6 B8
|
|
ldy ZpB8 ; CPU:$D143 PRG:1143 A4 B8
|
|
cpy #$01 ; CPU:$D145 PRG:1145 C0 01
|
|
bne SubCD131_Block_2 ; CPU:$D147 PRG:1147 D0 F7
|
|
and #$10 ; CPU:$D149 PRG:1149 29 10
|
|
beq SubCD131_Block_3 ; CPU:$D14B PRG:114B F0 06
|
|
lda #$01 ; CPU:$D14D PRG:114D A9 01
|
|
sta ZpB6 ; CPU:$D14F PRG:114F 85 B6
|
|
bne SubCD131_Block_6 ; CPU:$D151 PRG:1151 D0 E9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD131_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD131_Block_3:
|
|
lda ZpB6 ; CPU:$D153 PRG:1153 A5 B6
|
|
beq SubCD131_Block_6 ; CPU:$D155 PRG:1155 F0 E5
|
|
ldy #$00 ; CPU:$D157 PRG:1157 A0 00
|
|
sty ZpB6 ; CPU:$D159 PRG:1159 84 B6
|
|
iny ; CPU:$D15B PRG:115B C8
|
|
sty ZpB5 ; CPU:$D15C PRG:115C 84 B5
|
|
bne SubCD131_Block_6 ; CPU:$D15E PRG:115E D0 DC
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160:
|
|
lda ZpB9 ; CPU:$D160 PRG:1160 A5 B9
|
|
bne SubCD160_Block ; CPU:$D162 PRG:1162 D0 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block_3:
|
|
lda #$00 ; CPU:$D164 PRG:1164 A9 00
|
|
sta ZpB5 ; CPU:$D166 PRG:1166 85 B5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block_2:
|
|
rts ; CPU:$D168 PRG:1168 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block:
|
|
lda ZpB5 ; CPU:$D169 PRG:1169 A5 B5
|
|
beq SubCD160_Block_2 ; CPU:$D16B PRG:116B F0 FB
|
|
lda ZpBA ; CPU:$D16D PRG:116D A5 BA
|
|
beq SubCD160_Block_3 ; CPU:$D16F PRG:116F F0 F3
|
|
dec ZpBA ; CPU:$D171 PRG:1171 C6 BA
|
|
lda #$01 ; CPU:$D173 PRG:1173 A9 01
|
|
sta ZpBE ; CPU:$D175 PRG:1175 85 BE
|
|
lda #$00 ; CPU:$D177 PRG:1177 A9 00
|
|
sta ZpB5 ; CPU:$D179 PRG:1179 85 B5
|
|
jsr $D4E6 ; CPU:$D17B PRG:117B 20 E6 D4
|
|
lda #$04 ; CPU:$D17E PRG:117E A9 04
|
|
sta SprData ; CPU:$D180 PRG:1180 85 23
|
|
jsr $C23B ; CPU:$D182 PRG:1182 20 3B C2
|
|
jsr $C5E1 ; CPU:$D185 PRG:1185 20 E1 C5
|
|
lda Zp24 ; CPU:$D188 PRG:1188 A5 24
|
|
beq SubCD160_Block_4 ; CPU:$D18A PRG:118A F0 13
|
|
jsr $D4E2 ; CPU:$D18C PRG:118C 20 E2 D4
|
|
jsr $F56C ; CPU:$D18F PRG:118F 20 6C F5
|
|
jsr $D4E6 ; CPU:$D192 PRG:1192 20 E6 D4
|
|
lda #$02 ; CPU:$D195 PRG:1195 A9 02
|
|
sta ZpB0 ; CPU:$D197 PRG:1197 85 B0
|
|
lda #$FF ; CPU:$D199 PRG:1199 A9 FF
|
|
sta Zp0A ; CPU:$D19B PRG:119B 85 0A
|
|
bne SubCD160_Block_5 ; CPU:$D19D PRG:119D D0 2B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block_4:
|
|
lda #$05 ; CPU:$D19F PRG:119F A9 05
|
|
sta SprData ; CPU:$D1A1 PRG:11A1 85 23
|
|
lda #$00 ; CPU:$D1A3 PRG:11A3 A9 00
|
|
sta ZpB0 ; CPU:$D1A5 PRG:11A5 85 B0
|
|
ldy #$00 ; CPU:$D1A7 PRG:11A7 A0 00
|
|
lda $0300 ; CPU:$D1A9 PRG:11A9 AD 00 03
|
|
beq SubCD160_Block_6 ; CPU:$D1AC PRG:11AC F0 07
|
|
lda $0301 ; CPU:$D1AE PRG:11AE AD 01 03
|
|
cmp #$03 ; CPU:$D1B1 PRG:11B1 C9 03
|
|
beq SubCD160_Block_7 ; CPU:$D1B3 PRG:11B3 F0 12
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block_6:
|
|
lda #$01 ; CPU:$D1B5 PRG:11B5 A9 01
|
|
sta ZpB0 ; CPU:$D1B7 PRG:11B7 85 B0
|
|
ldy #$50 ; CPU:$D1B9 PRG:11B9 A0 50
|
|
lda $0350 ; CPU:$D1BB PRG:11BB AD 50 03
|
|
beq SubCD160_Block_9 ; CPU:$D1BE PRG:11BE F0 1D
|
|
lda $0351 ; CPU:$D1C0 PRG:11C0 AD 51 03
|
|
cmp #$03 ; CPU:$D1C3 PRG:11C3 C9 03
|
|
bne SubCD160_Block_9 ; CPU:$D1C5 PRG:11C5 D0 16
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block_7:
|
|
jsr $D292 ; CPU:$D1C7 PRG:11C7 20 92 D2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block_5:
|
|
jsr $C61E ; CPU:$D1CA PRG:11CA 20 1E C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block_11
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block_11:
|
|
lda Zp20 ; CPU:$D1CD PRG:11CD A5 20
|
|
bne SubCD160_Block_10 ; CPU:$D1CF PRG:11CF D0 23
|
|
lda JOY2 ; CPU:$D1D1 PRG:11D1 AD 17 40
|
|
and #$08 ; CPU:$D1D4 PRG:11D4 29 08
|
|
bne SubCD160_Block_11 ; CPU:$D1D6 PRG:11D6 D0 F5
|
|
lda ZpB0 ; CPU:$D1D8 PRG:11D8 A5 B0
|
|
jmp $D28A ; CPU:$D1DA PRG:11DA 4C 8A D2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block_9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block_9:
|
|
lda Zp1F ; CPU:$D1DD PRG:11DD A5 1F
|
|
cmp #$02 ; CPU:$D1DF PRG:11DF C9 02
|
|
bne SubCD160_Block_12 ; CPU:$D1E1 PRG:11E1 D0 03
|
|
jmp $D266 ; CPU:$D1E3 PRG:11E3 4C 66 D2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block_12
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block_12:
|
|
ldy #$02 ; CPU:$D1E6 PRG:11E6 A0 02
|
|
sty SprData ; CPU:$D1E8 PRG:11E8 84 23
|
|
jsr $C5D9 ; CPU:$D1EA PRG:11EA 20 D9 C5
|
|
ldy #$01 ; CPU:$D1ED PRG:11ED A0 01
|
|
sty Zp27 ; CPU:$D1EF PRG:11EF 84 27
|
|
jmp $D26A ; CPU:$D1F1 PRG:11F1 4C 6A D2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block_10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block_10:
|
|
jsr $C61E ; CPU:$D1F4 PRG:11F4 20 1E C6
|
|
lda GameState ; CPU:$D1F7 PRG:11F7 A5 09
|
|
and #$E7 ; CPU:$D1F9 PRG:11F9 29 E7
|
|
sta GameState ; CPU:$D1FB PRG:11FB 85 09
|
|
lda #$08 ; CPU:$D1FD PRG:11FD A9 08
|
|
ldy ZpB0 ; CPU:$D1FF PRG:11FF A4 B0
|
|
cpy #$02 ; CPU:$D201 PRG:1201 C0 02
|
|
beq SubCD160_Block_13 ; CPU:$D203 PRG:1203 F0 02
|
|
lda #$10 ; CPU:$D205 PRG:1205 A9 10
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD160_Block_13
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD160_Block_13:
|
|
ora GameState ; CPU:$D207 PRG:1207 05 09
|
|
sta GameState ; CPU:$D209 PRG:1209 85 09
|
|
sta PPUMASK ; CPU:$D20B PRG:120B 8D 01 20
|
|
jsr $C23B ; CPU:$D20E PRG:120E 20 3B C2
|
|
lda $0350 ; CPU:$D211 PRG:1211 AD 50 03
|
|
beq SubCD222 ; CPU:$D214 PRG:1214 F0 0C
|
|
lda $0351 ; CPU:$D216 PRG:1216 AD 51 03
|
|
cmp #$03 ; CPU:$D219 PRG:1219 C9 03
|
|
bne SubCD222 ; CPU:$D21B PRG:121B D0 05
|
|
ldy #$50 ; CPU:$D21D PRG:121D A0 50
|
|
jsr $D292 ; CPU:$D21F PRG:121F 20 92 D2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD222
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD222:
|
|
lda Zp20 ; CPU:$D222 PRG:1222 A5 20
|
|
bne SubCD222_Block ; CPU:$D224 PRG:1224 D0 4A
|
|
lda JOY2 ; CPU:$D226 PRG:1226 AD 17 40
|
|
and #$08 ; CPU:$D229 PRG:1229 29 08
|
|
bne SubCD222 ; CPU:$D22B PRG:122B D0 F5
|
|
lda ZpB0 ; CPU:$D22D PRG:122D A5 B0
|
|
cmp #$02 ; CPU:$D22F PRG:122F C9 02
|
|
bne SubCD222_Block_2 ; CPU:$D231 PRG:1231 D0 13
|
|
lda #$01 ; CPU:$D233 PRG:1233 A9 01
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD28A_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD28A_Block:
|
|
sta $05FF ; CPU:$D235 PRG:1235 8D FF 05
|
|
lda #$01 ; CPU:$D238 PRG:1238 A9 01
|
|
sta SprData ; CPU:$D23A PRG:123A 85 23
|
|
lda #$00 ; CPU:$D23C PRG:123C A9 00
|
|
sta Zp0A ; CPU:$D23E PRG:123E 85 0A
|
|
jsr $C5D9 ; CPU:$D240 PRG:1240 20 D9 C5
|
|
jmp $C5EE ; CPU:$D243 PRG:1243 4C EE C5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD222_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD222_Block_2:
|
|
inc ZpAA ; CPU:$D246 PRG:1246 E6 AA
|
|
inc ZpBD ; CPU:$D248 PRG:1248 E6 BD
|
|
ldx #$04 ; CPU:$D24A PRG:124A A2 04
|
|
lda ZpB0 ; CPU:$D24C PRG:124C A5 B0
|
|
bne SubCD222_Block_3 ; CPU:$D24E PRG:124E D0 06
|
|
stx $0301 ; CPU:$D250 PRG:1250 8E 01 03
|
|
jmp $D259 ; CPU:$D253 PRG:1253 4C 59 D2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD222_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD222_Block_3:
|
|
stx $0351 ; CPU:$D256 PRG:1256 8E 51 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD259
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD259:
|
|
lda Zp1F ; CPU:$D259 PRG:1259 A5 1F
|
|
cmp #$02 ; CPU:$D25B PRG:125B C9 02
|
|
beq SubCD266 ; CPU:$D25D PRG:125D F0 07
|
|
ldy #$01 ; CPU:$D25F PRG:125F A0 01
|
|
sty Zp27 ; CPU:$D261 PRG:1261 84 27
|
|
iny ; CPU:$D263 PRG:1263 C8
|
|
bne SubCD259_Block ; CPU:$D264 PRG:1264 D0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD266
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD266:
|
|
ldy #$03 ; CPU:$D266 PRG:1266 A0 03
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD259_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD259_Block:
|
|
sty SprData ; CPU:$D268 PRG:1268 84 23
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD26A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD26A:
|
|
jsr $C23B ; CPU:$D26A PRG:126A 20 3B C2
|
|
jmp $C5EE ; CPU:$D26D PRG:126D 4C EE C5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD222_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD222_Block:
|
|
lda ZpB0 ; CPU:$D270 PRG:1270 A5 B0
|
|
bne SubCD28A ; CPU:$D272 PRG:1272 D0 16
|
|
lda $0350 ; CPU:$D274 PRG:1274 AD 50 03
|
|
beq SubCD259 ; CPU:$D277 PRG:1277 F0 E0
|
|
lda $0351 ; CPU:$D279 PRG:1279 AD 51 03
|
|
cmp #$03 ; CPU:$D27C PRG:127C C9 03
|
|
bne SubCD259 ; CPU:$D27E PRG:127E D0 D9
|
|
lda #$01 ; CPU:$D280 PRG:1280 A9 01
|
|
sta ZpB0 ; CPU:$D282 PRG:1282 85 B0
|
|
jsr $C61E ; CPU:$D284 PRG:1284 20 1E C6
|
|
jmp $D222 ; CPU:$D287 PRG:1287 4C 22 D2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD28A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD28A:
|
|
cmp #$02 ; CPU:$D28A PRG:128A C9 02
|
|
bne SubCD259 ; CPU:$D28C PRG:128C D0 CB
|
|
lda #$02 ; CPU:$D28E PRG:128E A9 02
|
|
bne SubCD28A_Block ; CPU:$D290 PRG:1290 D0 A3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD292
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD292:
|
|
lda $0302,y ; CPU:$D292 PRG:1292 B9 02 03
|
|
sta ZpB1 ; CPU:$D295 PRG:1295 85 B1
|
|
lda $0303,y ; CPU:$D297 PRG:1297 B9 03 03
|
|
sta ZpB2 ; CPU:$D29A PRG:129A 85 B2
|
|
lda $030A,y ; CPU:$D29C PRG:129C B9 0A 03
|
|
sta Ptr2Lo ; CPU:$D29F PRG:129F 85 0C
|
|
jmp $C67C ; CPU:$D2A1 PRG:12A1 4C 7C C6
|
|
; ---- data $D2A4-$D3D1 (302 bytes) ----
|
|
DuckDataTable: ; Duck data table (19 entries)
|
|
.byte $A4, $C2, $B9, $02, $EC, $C9, $FF, $D0, $04, $A0, $13, $D0, $F5, $C8, $84, $C2 ; CPU:$D2A4 PRG:12A4 A4 C2 B9 02 EC C9 FF D0 04 A0 13 D0 F5 C8 84 C2
|
|
.byte $85, $AB, $A9, $00, $85, $BB, $85, $AA, $A9, $01, $8D, $A0, $03, $8D, $A1, $03 ; CPU:$D2B4 PRG:12B4 85 AB A9 00 85 BB 85 AA A9 01 8D A0 03 8D A1 03
|
|
.byte $A9, $FF, $85, $9C, $60, $A5, $A9, $20, $5E, $C3, $D6, $D2, $DD, $D2, $3D, $D3 ; CPU:$D2C4 PRG:12C4 A9 FF 85 9C 60 A5 A9 20 5E C3 D6 D2 DD D2 3D D3
|
|
.byte $C9, $D3, $A9, $10, $85, $2B, $E6, $A9, $60, $A5, $2B, $D0, $49, $A0, $00, $A2 ; CPU:$D2D4 PRG:12D4 C9 D3 A9 10 85 2B E6 A9 60 A5 2B D0 49 A0 00 A2
|
|
.byte $01, $BD, $F0, $03, $F0, $0D, $BD, $EF, $03, $D0, $08, $FE, $EF, $03, $DE, $F0 ; CPU:$D2E4 PRG:12E4 01 BD F0 03 F0 0D BD EF 03 D0 08 FE EF 03 DE F0
|
|
.byte $03, $A0, $01, $E8, $E0, $0A, $D0, $E9, $88, $D0, $0A, $A9, $00, $85, $A9, $20 ; CPU:$D2F4 PRG:12F4 03 A0 01 E8 E0 0A D0 E9 88 D0 0A A9 00 85 A9 20
|
|
.byte $19, $D5, $4C, $CC, $C6, $A5, $AA, $C5, $AB, $90, $1C, $20, $1D, $D5, $A9, $00 ; CPU:$D304 PRG:1304 19 D5 4C CC C6 A5 AA C5 AB 90 1C 20 1D D5 A9 00
|
|
.byte $85, $BE, $A9, $10, $85, $2B, $E6, $A9, $A5, $C1, $29, $0F, $D0, $08, $20, $3B ; CPU:$D314 PRG:1314 85 BE A9 10 85 2B E6 A9 A5 C1 29 0F D0 08 20 3B
|
|
.byte $C2, $A9, $04, $4C, $64, $D4, $60, $20, $3B, $C2, $A9, $08, $20, $64, $D4, $20 ; CPU:$D324 PRG:1324 C2 A9 04 4C 64 D4 60 20 3B C2 A9 08 20 64 D4 20
|
|
.byte $44, $D5, $A2, $06, $A9, $0C, $4C, $2E, $C6, $A5, $2B, $D0, $E9, $A9, $10, $85 ; CPU:$D334 PRG:1334 44 D5 A2 06 A9 0C 4C 2E C6 A5 2B D0 E9 A9 10 85
|
|
.byte $2B, $E6, $BE, $A5, $BE, $C9, $0F, $D0, $60, $A5, $AA, $C9, $0A, $D0, $46, $20 ; CPU:$D344 PRG:1344 2B E6 BE A5 BE C9 0F D0 60 A5 AA C9 0A D0 46 20
|
|
.byte $38, $D5, $A5, $C1, $A2, $00, $C9, $11, $90, $0B, $E8, $C9, $16, $90, $06, $E8 ; CPU:$D354 PRG:1354 38 D5 A5 C1 A2 00 C9 11 90 0B E8 C9 16 90 06 E8
|
|
.byte $C9, $21, $90, $01, $E8, $BD, $E9, $EB, $85, $05, $85, $0C, $BD, $ED, $EB, $85 ; CPU:$D364 PRG:1364 C9 21 90 01 E8 BD E9 EB 85 05 85 0C BD ED EB 85
|
|
.byte $06, $4A, $4A, $4A, $4A, $85, $0D, $A9, $00, $85, $04, $85, $07, $A9, $0F, $20 ; CPU:$D374 PRG:1374 06 4A 4A 4A 4A 85 0D A9 00 85 04 85 07 A9 0F 20
|
|
.byte $37, $C4, $20, $55, $C6, $A9, $03, $85, $A9, $A9, $A0, $85, $2B, $20, $3B, $C2 ; CPU:$D384 PRG:1384 37 C4 20 55 C6 A9 03 85 A9 A9 A0 85 2B 20 3B C2
|
|
.byte $A9, $05, $4C, $64, $D4, $A9, $00, $A2, $02, $A4, $1F, $C0, $02, $D0, $02, $A2 ; CPU:$D394 PRG:1394 A9 05 4C 64 D4 A9 00 A2 02 A4 1F C0 02 D0 02 A2
|
|
.byte $09, $20, $2E, $C6, $A9, $00, $4C, $64, $D4, $29, $01, $D0, $03, $4C, $CC, $C6 ; CPU:$D3A4 PRG:13A4 09 20 2E C6 A9 00 4C 64 D4 29 01 D0 03 4C CC C6
|
|
.byte $A2, $09, $A9, $D6, $A4, $1F, $C0, $02, $D0, $02, $A9, $D4, $9D, $01, $05, $CA ; CPU:$D3B4 PRG:13B4 A2 09 A9 D6 A4 1F C0 02 D0 02 A9 D4 9D 01 05 CA
|
|
.byte $10, $FA, $4C, $E9, $C6, $A5, $2B, $D0, $04, $A9, $04, $D0, $CA, $60 ; CPU:$D3C4 PRG:13C4 10 FA 4C E9 C6 A5 2B D0 04 A9 04 D0 CA 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD3D2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD3D2:
|
|
lda Zp27 ; CPU:$D3D2 PRG:13D2 A5 27
|
|
bne SubCD428_Block_4 ; CPU:$D3D4 PRG:13D4 D0 51
|
|
inc Zp9B ; CPU:$D3D6 PRG:13D6 E6 9B
|
|
ldy #$00 ; CPU:$D3D8 PRG:13D8 A0 00
|
|
jsr $D3DF ; CPU:$D3DA PRG:13DA 20 DF D3
|
|
ldy #$50 ; CPU:$D3DD PRG:13DD A0 50
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD3DF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD3DF:
|
|
lda $0300,y ; CPU:$D3DF PRG:13DF B9 00 03
|
|
beq SubCD428_Block_4 ; CPU:$D3E2 PRG:13E2 F0 43
|
|
lda $0301,y ; CPU:$D3E4 PRG:13E4 B9 01 03
|
|
cmp #$03 ; CPU:$D3E7 PRG:13E7 C9 03
|
|
beq SubCD3DF_Block_2 ; CPU:$D3E9 PRG:13E9 F0 10
|
|
cmp #$08 ; CPU:$D3EB PRG:13EB C9 08
|
|
bne SubCD428_Block_4 ; CPU:$D3ED PRG:13ED D0 38
|
|
ldx $030B,y ; CPU:$D3EF PRG:13EF BE 0B 03
|
|
lda $03EF,x ; CPU:$D3F2 PRG:13F2 BD EF 03
|
|
beq SubCD3DF_Block_4 ; CPU:$D3F5 PRG:13F5 F0 12
|
|
ldx #$D3 ; CPU:$D3F7 PRG:13F7 A2 D3
|
|
bne SubCD3DF_Block_5 ; CPU:$D3F9 PRG:13F9 D0 10
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD3DF_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD3DF_Block_2:
|
|
lda Zp9B ; CPU:$D3FB PRG:13FB A5 9B
|
|
and #$0F ; CPU:$D3FD PRG:13FD 29 0F
|
|
bne SubCD428_Block_4 ; CPU:$D3FF PRG:13FF D0 26
|
|
ldx #$B7 ; CPU:$D401 PRG:1401 A2 B7
|
|
lda Zp9B ; CPU:$D403 PRG:1403 A5 9B
|
|
and #$10 ; CPU:$D405 PRG:1405 29 10
|
|
beq SubCD3DF_Block_8 ; CPU:$D407 PRG:1407 F0 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD3DF_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD3DF_Block_4:
|
|
ldx #$D4 ; CPU:$D409 PRG:1409 A2 D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD3DF_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD3DF_Block_5:
|
|
lda Zp1F ; CPU:$D40B PRG:140B A5 1F
|
|
cmp #$02 ; CPU:$D40D PRG:140D C9 02
|
|
beq SubCD3DF_Block_8 ; CPU:$D40F PRG:140F F0 02
|
|
inx ; CPU:$D411 PRG:1411 E8
|
|
inx ; CPU:$D412 PRG:1412 E8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD3DF_Block_8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD3DF_Block_8:
|
|
stx $0501 ; CPU:$D413 PRG:1413 8E 01 05
|
|
ldx #$11 ; CPU:$D416 PRG:1416 A2 11
|
|
stx $0500 ; CPU:$D418 PRG:1418 8E 00 05
|
|
lda $030B,y ; CPU:$D41B PRG:141B B9 0B 03
|
|
clc ; CPU:$D41E PRG:141E 18
|
|
adc #$4B ; CPU:$D41F PRG:141F 69 4B
|
|
tax ; CPU:$D421 PRG:1421 AA
|
|
ldy #$23 ; CPU:$D422 PRG:1422 A0 23
|
|
jmp $C71D ; CPU:$D424 PRG:1424 4C 1D C7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD428_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD428_Block_4:
|
|
rts ; CPU:$D427 PRG:1427 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD428
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD428:
|
|
lda ZpB9 ; CPU:$D428 PRG:1428 A5 B9
|
|
beq SubCD428_Block_4 ; CPU:$D42A PRG:142A F0 FB
|
|
lda ZpBA ; CPU:$D42C PRG:142C A5 BA
|
|
bne SubCD428_Block_4 ; CPU:$D42E PRG:142E D0 F7
|
|
lda Zp9A ; CPU:$D430 PRG:1430 A5 9A
|
|
and #$07 ; CPU:$D432 PRG:1432 29 07
|
|
bne SubCD428_Block_3 ; CPU:$D434 PRG:1434 D0 2B
|
|
lda Zp27 ; CPU:$D436 PRG:1436 A5 27
|
|
bne SubCD428_Block_4 ; CPU:$D438 PRG:1438 D0 ED
|
|
lda Zp9A ; CPU:$D43A PRG:143A A5 9A
|
|
and #$08 ; CPU:$D43C PRG:143C 29 08
|
|
beq SubCD446 ; CPU:$D43E PRG:143E F0 06
|
|
lda #$B7 ; CPU:$D440 PRG:1440 A9 B7
|
|
tax ; CPU:$D442 PRG:1442 AA
|
|
tay ; CPU:$D443 PRG:1443 A8
|
|
bne SubCD428_Block_5 ; CPU:$D444 PRG:1444 D0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD446
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD446:
|
|
lda #$DA ; CPU:$D446 PRG:1446 A9 DA
|
|
ldx #$DB ; CPU:$D448 PRG:1448 A2 DB
|
|
ldy #$DC ; CPU:$D44A PRG:144A A0 DC
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD428_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD428_Block_5:
|
|
sta $0501 ; CPU:$D44C PRG:144C 8D 01 05
|
|
stx $0502 ; CPU:$D44F PRG:144F 8E 02 05
|
|
sty $0503 ; CPU:$D452 PRG:1452 8C 03 05
|
|
lda #$13 ; CPU:$D455 PRG:1455 A9 13
|
|
sta $0500 ; CPU:$D457 PRG:1457 8D 00 05
|
|
ldx #$63 ; CPU:$D45A PRG:145A A2 63
|
|
ldy #$23 ; CPU:$D45C PRG:145C A0 23
|
|
jsr $C71D ; CPU:$D45E PRG:145E 20 1D C7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD428_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD428_Block_3:
|
|
inc Zp9A ; CPU:$D461 PRG:1461 E6 9A
|
|
rts ; CPU:$D463 PRG:1463 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD464
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD464:
|
|
pha ; CPU:$D464 PRG:1464 48
|
|
jsr $C5D9 ; CPU:$D465 PRG:1465 20 D9 C5
|
|
jsr $F56C ; CPU:$D468 PRG:1468 20 6C F5
|
|
pla ; CPU:$D46B PRG:146B 68
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD46C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD46C:
|
|
sta Zp1B ; CPU:$D46C PRG:146C 85 1B
|
|
beq SubCD46C_Block ; CPU:$D46E PRG:146E F0 4C
|
|
asl a ; CPU:$D470 PRG:1470 0A
|
|
tax ; CPU:$D471 PRG:1471 AA
|
|
lda $EC38,x ; CPU:$D472 PRG:1472 BD 38 EC
|
|
sta SndChannel ; CPU:$D475 PRG:1475 85 14
|
|
lda $EC39,x ; CPU:$D477 PRG:1477 BD 39 EC
|
|
sta SndNote ; CPU:$D47A PRG:147A 85 15
|
|
ldy #$01 ; CPU:$D47C PRG:147C A0 01
|
|
lda (SndChannel),y ; CPU:$D47E PRG:147E B1 14
|
|
sta SndTemp ; CPU:$D480 PRG:1480 85 0F
|
|
ldx #$00 ; CPU:$D482 PRG:1482 A2 00
|
|
iny ; CPU:$D484 PRG:1484 C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD46C_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD46C_Block_2:
|
|
lda (SndChannel),y ; CPU:$D485 PRG:1485 B1 14
|
|
sta $0500,x ; CPU:$D487 PRG:1487 9D 00 05
|
|
iny ; CPU:$D48A PRG:148A C8
|
|
inx ; CPU:$D48B PRG:148B E8
|
|
dec SndTemp ; CPU:$D48C PRG:148C C6 0F
|
|
bne SubCD46C_Block_2 ; CPU:$D48E PRG:148E D0 F5
|
|
lda Zp1B ; CPU:$D490 PRG:1490 A5 1B
|
|
cmp #$01 ; CPU:$D492 PRG:1492 C9 01
|
|
bne SubCD46C_Block_3 ; CPU:$D494 PRG:1494 D0 15
|
|
lda ZpC1 ; CPU:$D496 PRG:1496 A5 C1
|
|
lsr a ; CPU:$D498 PRG:1498 4A
|
|
lsr a ; CPU:$D499 PRG:1499 4A
|
|
lsr a ; CPU:$D49A PRG:149A 4A
|
|
lsr a ; CPU:$D49B PRG:149B 4A
|
|
beq SubCD46C_Block_4 ; CPU:$D49C PRG:149C F0 03
|
|
sta $0518 ; CPU:$D49E PRG:149E 8D 18 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD46C_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD46C_Block_4:
|
|
lda ZpC1 ; CPU:$D4A1 PRG:14A1 A5 C1
|
|
and #$0F ; CPU:$D4A3 PRG:14A3 29 0F
|
|
sta $0519 ; CPU:$D4A5 PRG:14A5 8D 19 05
|
|
jmp $D4CF ; CPU:$D4A8 PRG:14A8 4C CF D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD46C_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD46C_Block_3:
|
|
cmp #$05 ; CPU:$D4AB PRG:14AB C9 05
|
|
bne SubCD4CF ; CPU:$D4AD PRG:14AD D0 20
|
|
lda Ptr2Lo ; CPU:$D4AF PRG:14AF A5 0C
|
|
sta $0521 ; CPU:$D4B1 PRG:14B1 8D 21 05
|
|
lda Zp0D ; CPU:$D4B4 PRG:14B4 A5 0D
|
|
sta $0522 ; CPU:$D4B6 PRG:14B6 8D 22 05
|
|
jmp $D4CF ; CPU:$D4B9 PRG:14B9 4C CF D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD46C_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD46C_Block:
|
|
ldx #$44 ; CPU:$D4BC PRG:14BC A2 44
|
|
lda #$24 ; CPU:$D4BE PRG:14BE A9 24
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD46C_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD46C_Block_5:
|
|
sta $0501,x ; CPU:$D4C0 PRG:14C0 9D 01 05
|
|
dex ; CPU:$D4C3 PRG:14C3 CA
|
|
bpl SubCD46C_Block_5 ; CPU:$D4C4 PRG:14C4 10 FA
|
|
lda #$6B ; CPU:$D4C6 PRG:14C6 A9 6B
|
|
sta $0500 ; CPU:$D4C8 PRG:14C8 8D 00 05
|
|
ldx #$CB ; CPU:$D4CB PRG:14CB A2 CB
|
|
bne SubCD46C_Block_6 ; CPU:$D4CD PRG:14CD D0 05
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD4CF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD4CF:
|
|
ldy #$00 ; CPU:$D4CF PRG:14CF A0 00
|
|
lda (SndChannel),y ; CPU:$D4D1 PRG:14D1 B1 14
|
|
tax ; CPU:$D4D3 PRG:14D3 AA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD46C_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD46C_Block_6:
|
|
ldy #$20 ; CPU:$D4D4 PRG:14D4 A0 20
|
|
jmp $C71D ; CPU:$D4D6 PRG:14D6 4C 1D C7
|
|
; ---- data $D4D9-$D4E1 (9 bytes) ----
|
|
.byte $20, $3B, $C2, $20, $4B, $C6, $4C, $37, $C6 ; CPU:$D4D9 PRG:14D9 20 3B C2 20 4B C6 4C 37 C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD4E2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD4E2:
|
|
lda #$01 ; CPU:$D4E2 PRG:14E2 A9 01
|
|
bne SubCD4F6_Block_2 ; CPU:$D4E4 PRG:14E4 D0 1A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD4E6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD4E6:
|
|
lda #$02 ; CPU:$D4E6 PRG:14E6 A9 02
|
|
bne SubCD4F6_Block_2 ; CPU:$D4E8 PRG:14E8 D0 16
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD4EA
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD4EA:
|
|
lda #$04 ; CPU:$D4EA PRG:14EA A9 04
|
|
bne SubCD4F6_Block_2 ; CPU:$D4EC PRG:14EC D0 12
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD4EE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD4EE:
|
|
lda #$08 ; CPU:$D4EE PRG:14EE A9 08
|
|
bne SubCD4F6_Block_2 ; CPU:$D4F0 PRG:14F0 D0 0E
|
|
lda #$10 ; CPU:$D4F2 PRG:14F2 A9 10
|
|
bne SubCD4F6_Block_2 ; CPU:$D4F4 PRG:14F4 D0 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD4F6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD4F6:
|
|
lda #$20 ; CPU:$D4F6 PRG:14F6 A9 20
|
|
bne SubCD4F6_Block_2 ; CPU:$D4F8 PRG:14F8 D0 06
|
|
lda #$40 ; CPU:$D4FA PRG:14FA A9 40
|
|
bne SubCD4F6_Block_2 ; CPU:$D4FC PRG:14FC D0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD4FE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD4FE:
|
|
lda #$80 ; CPU:$D4FE PRG:14FE A9 80
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD4F6_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD4F6_Block_2:
|
|
ora ZpF0 ; CPU:$D500 PRG:1500 05 F0
|
|
sta ZpF0 ; CPU:$D502 PRG:1502 85 F0
|
|
rts ; CPU:$D504 PRG:1504 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD505
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD505:
|
|
lda #$01 ; CPU:$D505 PRG:1505 A9 01
|
|
bne SubCD515_Block_3 ; CPU:$D507 PRG:1507 D0 1A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD509
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD509:
|
|
lda #$02 ; CPU:$D509 PRG:1509 A9 02
|
|
bne SubCD515_Block_3 ; CPU:$D50B PRG:150B D0 16
|
|
lda #$04 ; CPU:$D50D PRG:150D A9 04
|
|
bne SubCD515_Block_3 ; CPU:$D50F PRG:150F D0 12
|
|
lda #$08 ; CPU:$D511 PRG:1511 A9 08
|
|
bne SubCD515_Block_3 ; CPU:$D513 PRG:1513 D0 0E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD515
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD515:
|
|
lda #$10 ; CPU:$D515 PRG:1515 A9 10
|
|
bne SubCD515_Block_3 ; CPU:$D517 PRG:1517 D0 0A
|
|
lda #$20 ; CPU:$D519 PRG:1519 A9 20
|
|
bne SubCD515_Block_3 ; CPU:$D51B PRG:151B D0 06
|
|
lda #$40 ; CPU:$D51D PRG:151D A9 40
|
|
bne SubCD515_Block_3 ; CPU:$D51F PRG:151F D0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD521
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD521:
|
|
lda #$80 ; CPU:$D521 PRG:1521 A9 80
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD515_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD515_Block_3:
|
|
ora ZpF1 ; CPU:$D523 PRG:1523 05 F1
|
|
sta ZpF1 ; CPU:$D525 PRG:1525 85 F1
|
|
rts ; CPU:$D527 PRG:1527 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD528
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD528:
|
|
lda #$01 ; CPU:$D528 PRG:1528 A9 01
|
|
bne SubCD53C_Block_2 ; CPU:$D52A PRG:152A D0 1A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD52C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD52C:
|
|
lda #$02 ; CPU:$D52C PRG:152C A9 02
|
|
bne SubCD53C_Block_2 ; CPU:$D52E PRG:152E D0 16
|
|
lda #$04 ; CPU:$D530 PRG:1530 A9 04
|
|
bne SubCD53C_Block_2 ; CPU:$D532 PRG:1532 D0 12
|
|
lda #$08 ; CPU:$D534 PRG:1534 A9 08
|
|
bne SubCD53C_Block_2 ; CPU:$D536 PRG:1536 D0 0E
|
|
lda #$10 ; CPU:$D538 PRG:1538 A9 10
|
|
bne SubCD53C_Block_2 ; CPU:$D53A PRG:153A D0 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD53C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD53C:
|
|
lda #$20 ; CPU:$D53C PRG:153C A9 20
|
|
bne SubCD53C_Block_2 ; CPU:$D53E PRG:153E D0 06
|
|
lda #$40 ; CPU:$D540 PRG:1540 A9 40
|
|
bne SubCD53C_Block_2 ; CPU:$D542 PRG:1542 D0 02
|
|
lda #$80 ; CPU:$D544 PRG:1544 A9 80
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD53C_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD53C_Block_2:
|
|
ora ZpF2 ; CPU:$D546 PRG:1546 05 F2
|
|
sta ZpF2 ; CPU:$D548 PRG:1548 85 F2
|
|
rts ; CPU:$D54A PRG:154A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD54B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD54B:
|
|
jsr $C5D9 ; CPU:$D54B PRG:154B 20 D9 C5
|
|
ldx #$6C ; CPU:$D54E PRG:154E A2 6C
|
|
ldy #$E2 ; CPU:$D550 PRG:1550 A0 E2
|
|
jsr $C617 ; CPU:$D552 PRG:1552 20 17 C6
|
|
lda #$03 ; CPU:$D555 PRG:1555 A9 03
|
|
sta SprData ; CPU:$D557 PRG:1557 85 23
|
|
lda #$00 ; CPU:$D559 PRG:1559 A9 00
|
|
sta Zp9D ; CPU:$D55B PRG:155B 85 9D
|
|
lda #$09 ; CPU:$D55D PRG:155D A9 09
|
|
sta Temp ; CPU:$D55F PRG:155F 85 25
|
|
jsr $C3C1 ; CPU:$D561 PRG:1561 20 C1 C3
|
|
jsr $C5EE ; CPU:$D564 PRG:1564 20 EE C5
|
|
jmp $D505 ; CPU:$D567 PRG:1567 4C 05 D5
|
|
; ---- data $D56A-$D5D1 (104 bytes) ----
|
|
SpriteDataTable2: ; Sprite data table 2 (7 entries)
|
|
.byte $20, $D9, $D4, $20, $A4, $D2, $20, $93, $C7, $20, $B3, $C7, $20, $D9, $C5, $20 ; CPU:$D56A PRG:156A 20 D9 D4 20 A4 D2 20 93 C7 20 B3 C7 20 D9 C5 20
|
|
.byte $6C, $F5, $A9, $01, $85, $BE, $A9, $03, $85, $BA, $20, $F5, $C6, $20, $CC, $C6 ; CPU:$D57A PRG:157A 6C F5 A9 01 85 BE A9 03 85 BA 20 F5 C6 20 CC C6
|
|
.byte $A9, $06, $85, $9D, $A9, $0D, $85, $25, $60, $A9, $01, $8D, $00, $03, $8D, $50 ; CPU:$D58A PRG:158A A9 06 85 9D A9 0D 85 25 60 A9 01 8D 00 03 8D 50
|
|
.byte $03, $8D, $01, $03, $8D, $51, $03, $A9, $30, $A6, $C1, $E0, $10, $B0, $04, $CA ; CPU:$D59A PRG:159A 03 8D 01 03 8D 51 03 A9 30 A6 C1 E0 10 B0 04 CA
|
|
.byte $BD, $17, $EC, $85, $A8, $A9, $80, $85, $A6, $A9, $01, $85, $BE, $A9, $03, $85 ; CPU:$D5AA PRG:15AA BD 17 EC 85 A8 A9 80 85 A6 A9 01 85 BE A9 03 85
|
|
.byte $BA, $A9, $02, $85, $BC, $A9, $00, $85, $B5, $85, $B9, $85, $BD, $20, $F5, $C6 ; CPU:$D5BA PRG:15BA BA A9 02 85 BC A9 00 85 B5 85 B9 85 BD 20 F5 C6
|
|
.byte $20, $CC, $C6, $A9, $0B, $85, $25, $60 ; CPU:$D5CA PRG:15CA 20 CC C6 A9 0B 85 25 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD5D2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD5D2:
|
|
jsr $D131 ; CPU:$D5D2 PRG:15D2 20 31 D1
|
|
jsr $D160 ; CPU:$D5D5 PRG:15D5 20 60 D1
|
|
jsr $D5EE ; CPU:$D5D8 PRG:15D8 20 EE D5
|
|
jsr $C6F5 ; CPU:$D5DB PRG:15DB 20 F5 C6
|
|
jsr $D3D2 ; CPU:$D5DE PRG:15DE 20 D2 D3
|
|
jsr $C6C4 ; CPU:$D5E1 PRG:15E1 20 C4 C6
|
|
jsr $CFBA ; CPU:$D5E4 PRG:15E4 20 BA CF
|
|
jsr $D428 ; CPU:$D5E7 PRG:15E7 20 28 D4
|
|
nop ; CPU:$D5EA PRG:15EA EA
|
|
nop ; CPU:$D5EB PRG:15EB EA
|
|
nop ; CPU:$D5EC PRG:15EC EA
|
|
rts ; CPU:$D5ED PRG:15ED 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD5EE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD5EE:
|
|
lda $0300 ; CPU:$D5EE PRG:15EE AD 00 03
|
|
beq SubCD5EE_Block ; CPU:$D5F1 PRG:15F1 F0 0D
|
|
ldy #$00 ; CPU:$D5F3 PRG:15F3 A0 00
|
|
sty ZpA1 ; CPU:$D5F5 PRG:15F5 84 A1
|
|
jsr $C5F7 ; CPU:$D5F7 PRG:15F7 20 F7 C5
|
|
jsr $D652 ; CPU:$D5FA PRG:15FA 20 52 D6
|
|
jsr $C607 ; CPU:$D5FD PRG:15FD 20 07 C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD5EE_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD5EE_Block:
|
|
lda $0350 ; CPU:$D600 PRG:1600 AD 50 03
|
|
beq SubCD5EE_Block_2 ; CPU:$D603 PRG:1603 F0 0D
|
|
ldy #$50 ; CPU:$D605 PRG:1605 A0 50
|
|
inc ZpA1 ; CPU:$D607 PRG:1607 E6 A1
|
|
jsr $C5F7 ; CPU:$D609 PRG:1609 20 F7 C5
|
|
jsr $D652 ; CPU:$D60C PRG:160C 20 52 D6
|
|
jsr $C607 ; CPU:$D60F PRG:160F 20 07 C6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD5EE_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD5EE_Block_2:
|
|
lda ZpBC ; CPU:$D612 PRG:1612 A5 BC
|
|
bne SubCD5EE_Block_3 ; CPU:$D614 PRG:1614 D0 35
|
|
ldx $0301 ; CPU:$D616 PRG:1616 AE 01 03
|
|
ldy $0351 ; CPU:$D619 PRG:1619 AC 51 03
|
|
cpx #$03 ; CPU:$D61C PRG:161C E0 03
|
|
beq SubCD5EE_Block_5 ; CPU:$D61E PRG:161E F0 07
|
|
cpy #$03 ; CPU:$D620 PRG:1620 C0 03
|
|
beq SubCD5EE_Block_5 ; CPU:$D622 PRG:1622 F0 03
|
|
jsr $D4FE ; CPU:$D624 PRG:1624 20 FE D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD5EE_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD5EE_Block_5:
|
|
cpx #$00 ; CPU:$D627 PRG:1627 E0 00
|
|
bne SubCD5EE_Block_10 ; CPU:$D629 PRG:1629 D0 26
|
|
cpy #$00 ; CPU:$D62B PRG:162B C0 00
|
|
bne SubCD5EE_Block_10 ; CPU:$D62D PRG:162D D0 22
|
|
jsr $D446 ; CPU:$D62F PRG:162F 20 46 D4
|
|
lda #$00 ; CPU:$D632 PRG:1632 A9 00
|
|
sta ZpB9 ; CPU:$D634 PRG:1634 85 B9
|
|
lda ZpBB ; CPU:$D636 PRG:1636 A5 BB
|
|
cmp #$0A ; CPU:$D638 PRG:1638 C9 0A
|
|
beq SubCD5EE_Block_8 ; CPU:$D63A PRG:163A F0 04
|
|
lda #$0A ; CPU:$D63C PRG:163C A9 0A
|
|
bne SubCD5EE_Block_9 ; CPU:$D63E PRG:163E D0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD5EE_Block_8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD5EE_Block_8:
|
|
lda #$00 ; CPU:$D640 PRG:1640 A9 00
|
|
sta ZpA9 ; CPU:$D642 PRG:1642 85 A9
|
|
lda #$0C ; CPU:$D644 PRG:1644 A9 0C
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD5EE_Block_9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD5EE_Block_9:
|
|
sta Temp ; CPU:$D646 PRG:1646 85 25
|
|
jmp $C23B ; CPU:$D648 PRG:1648 4C 3B C2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD5EE_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD5EE_Block_3:
|
|
lda ZpA6 ; CPU:$D64B PRG:164B A5 A6
|
|
beq SubCD5EE_Block_10 ; CPU:$D64D PRG:164D F0 02
|
|
dec ZpA6 ; CPU:$D64F PRG:164F C6 A6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD5EE_Block_10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD5EE_Block_10:
|
|
rts ; CPU:$D651 PRG:1651 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652:
|
|
lda CtrlState ; CPU:$D652 PRG:1652 A5 31
|
|
jsr $C35E ; CPU:$D654 PRG:1654 20 5E C3
|
|
cpx #$C5 ; CPU:$D657 PRG:1657 E0 C5
|
|
adc #$D6 ; CPU:$D659 PRG:1659 69 D6
|
|
sei ; CPU:$D65B PRG:165B 78
|
|
dec ZpD5,x ; CPU:$D65C PRG:165C D6 D5
|
|
dec Zp52,x ; CPU:$D65E PRG:165E D6 52
|
|
; ---- data $D660-$D677 (24 bytes) ----
|
|
.byte $D7, $8F, $D7, $E0, $C5, $E0, $C5, $C5, $D7, $A2, $4F, $BD, $DA, $E8, $95, $30 ; CPU:$D660 PRG:1660 D7 8F D7 E0 C5 E0 C5 C5 D7 A2 4F BD DA E8 95 30
|
|
.byte $CA, $10, $F8, $A9, $01, $85, $A7, $60 ; CPU:$D670 PRG:1670 CA 10 F8 A9 01 85 A7 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD678
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD678:
|
|
lda ZpA6 ; CPU:$D678 PRG:1678 A5 A6
|
|
bne SubCD652_Block ; CPU:$D67A PRG:167A D0 58
|
|
lda #$01 ; CPU:$D67C PRG:167C A9 01
|
|
sta ZpB9 ; CPU:$D67E PRG:167E 85 B9
|
|
jsr $C588 ; CPU:$D680 PRG:1680 20 88 C5
|
|
and #$3F ; CPU:$D683 PRG:1683 29 3F
|
|
tay ; CPU:$D685 PRG:1685 A8
|
|
iny ; CPU:$D686 PRG:1686 C8
|
|
sty ZpA6 ; CPU:$D687 PRG:1687 84 A6
|
|
jsr $C588 ; CPU:$D689 PRG:1689 20 88 C5
|
|
and #$0F ; CPU:$D68C PRG:168C 29 0F
|
|
cmp Zp9C ; CPU:$D68E PRG:168E C5 9C
|
|
bne SubCD652_Block_2 ; CPU:$D690 PRG:1690 D0 05
|
|
clc ; CPU:$D692 PRG:1692 18
|
|
adc #$01 ; CPU:$D693 PRG:1693 69 01
|
|
and #$0F ; CPU:$D695 PRG:1695 29 0F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block_2:
|
|
sta Zp9C ; CPU:$D697 PRG:1697 85 9C
|
|
asl a ; CPU:$D699 PRG:1699 0A
|
|
sta Ptr2Lo ; CPU:$D69A PRG:169A 85 0C
|
|
asl a ; CPU:$D69C PRG:169C 0A
|
|
clc ; CPU:$D69D PRG:169D 18
|
|
adc Ptr2Lo ; CPU:$D69E PRG:169E 65 0C
|
|
tax ; CPU:$D6A0 PRG:16A0 AA
|
|
lda $E968,x ; CPU:$D6A1 PRG:16A1 BD 68 E9
|
|
sta Zp44 ; CPU:$D6A4 PRG:16A4 85 44
|
|
lda $E969,x ; CPU:$D6A6 PRG:16A6 BD 69 E9
|
|
sta Zp43 ; CPU:$D6A9 PRG:16A9 85 43
|
|
lda $E96A,x ; CPU:$D6AB PRG:16AB BD 6A E9
|
|
sta Zp4A ; CPU:$D6AE PRG:16AE 85 4A
|
|
lda $E96B,x ; CPU:$D6B0 PRG:16B0 BD 6B E9
|
|
sta Zp42 ; CPU:$D6B3 PRG:16B3 85 42
|
|
lda $E96C,x ; CPU:$D6B5 PRG:16B5 BD 6C E9
|
|
sta Zp47 ; CPU:$D6B8 PRG:16B8 85 47
|
|
lda $E96D,x ; CPU:$D6BA PRG:16BA BD 6D E9
|
|
sta Zp4C ; CPU:$D6BD PRG:16BD 85 4C
|
|
inc ZpBB ; CPU:$D6BF PRG:16BF E6 BB
|
|
lda ZpBB ; CPU:$D6C1 PRG:16C1 A5 BB
|
|
sta Zp3B ; CPU:$D6C3 PRG:16C3 85 3B
|
|
dec ZpBC ; CPU:$D6C5 PRG:16C5 C6 BC
|
|
lda #$FF ; CPU:$D6C7 PRG:16C7 A9 FF
|
|
sta Zp5F ; CPU:$D6C9 PRG:16C9 85 5F
|
|
jsr $D53C ; CPU:$D6CB PRG:16CB 20 3C D5
|
|
lda #$05 ; CPU:$D6CE PRG:16CE A9 05
|
|
sta Zp58 ; CPU:$D6D0 PRG:16D0 85 58
|
|
inc CtrlState ; CPU:$D6D2 PRG:16D2 E6 31
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block:
|
|
rts ; CPU:$D6D4 PRG:16D4 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD6D5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD6D5:
|
|
lda Zp58 ; CPU:$D6D5 PRG:16D5 A5 58
|
|
beq SubCD652_Block_4 ; CPU:$D6D7 PRG:16D7 F0 07
|
|
dec Zp58 ; CPU:$D6D9 PRG:16D9 C6 58
|
|
bne SubCD652_Block_4 ; CPU:$D6DB PRG:16DB D0 03
|
|
jsr $D4F6 ; CPU:$D6DD PRG:16DD 20 F6 D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block_4:
|
|
lda Zp4C ; CPU:$D6E0 PRG:16E0 A5 4C
|
|
bmi SubCD652_Block_5 ; CPU:$D6E2 PRG:16E2 30 08
|
|
lda Zp49 ; CPU:$D6E4 PRG:16E4 A5 49
|
|
lsr a ; CPU:$D6E6 PRG:16E6 4A
|
|
lsr a ; CPU:$D6E7 PRG:16E7 4A
|
|
cmp #$07 ; CPU:$D6E8 PRG:16E8 C9 07
|
|
bcc SubCD652_Block_6 ; CPU:$D6EA PRG:16EA 90 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block_5:
|
|
lda #$07 ; CPU:$D6EC PRG:16EC A9 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block_6:
|
|
cmp Zp5F ; CPU:$D6EE PRG:16EE C5 5F
|
|
beq SubCD652_Block_7 ; CPU:$D6F0 PRG:16F0 F0 0B
|
|
sta Zp5F ; CPU:$D6F2 PRG:16F2 85 5F
|
|
clc ; CPU:$D6F4 PRG:16F4 18
|
|
adc ZpA8 ; CPU:$D6F5 PRG:16F5 65 A8
|
|
tax ; CPU:$D6F7 PRG:16F7 AA
|
|
lda $E9C8,x ; CPU:$D6F8 PRG:16F8 BD C8 E9
|
|
sta Zp5E ; CPU:$D6FB PRG:16FB 85 5E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block_7:
|
|
jsr $D81B ; CPU:$D6FD PRG:16FD 20 1B D8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block_8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block_8:
|
|
pha ; CPU:$D700 PRG:1700 48
|
|
jsr $D8AE ; CPU:$D701 PRG:1701 20 AE D8
|
|
pla ; CPU:$D704 PRG:1704 68
|
|
sec ; CPU:$D705 PRG:1705 38
|
|
sbc #$01 ; CPU:$D706 PRG:1706 E9 01
|
|
bne SubCD652_Block_8 ; CPU:$D708 PRG:1708 D0 F6
|
|
lda Zp4E ; CPU:$D70A PRG:170A A5 4E
|
|
bmi SubCD652_Block_10 ; CPU:$D70C PRG:170C 30 3F
|
|
lda Zp49 ; CPU:$D70E PRG:170E A5 49
|
|
cmp #$30 ; CPU:$D710 PRG:1710 C9 30
|
|
bcs SubCD652_Block_10 ; CPU:$D712 PRG:1712 B0 39
|
|
jsr $D82F ; CPU:$D714 PRG:1714 20 2F D8
|
|
lda CtrlTimer ; CPU:$D717 PRG:1717 A5 32
|
|
sec ; CPU:$D719 PRG:1719 38
|
|
sbc #$40 ; CPU:$D71A PRG:171A E9 40
|
|
sta CtrlTimer ; CPU:$D71C PRG:171C 85 32
|
|
lda Zp49 ; CPU:$D71E PRG:171E A5 49
|
|
lsr a ; CPU:$D720 PRG:1720 4A
|
|
tax ; CPU:$D721 PRG:1721 AA
|
|
lda $E92A,x ; CPU:$D722 PRG:1722 BD 2A E9
|
|
sta Zp35 ; CPU:$D725 PRG:1725 85 35
|
|
stx Ptr2Lo ; CPU:$D727 PRG:1727 86 0C
|
|
sec ; CPU:$D729 PRG:1729 38
|
|
sbc #$18 ; CPU:$D72A PRG:172A E9 18
|
|
sta Zp56 ; CPU:$D72C PRG:172C 85 56
|
|
ldx ZpC1 ; CPU:$D72E PRG:172E A6 C1
|
|
lda #$00 ; CPU:$D730 PRG:1730 A9 00
|
|
cpx #$12 ; CPU:$D732 PRG:1732 E0 12
|
|
bcc SubCD652_Block_12 ; CPU:$D734 PRG:1734 90 08
|
|
lda #$03 ; CPU:$D736 PRG:1736 A9 03
|
|
cpx #$23 ; CPU:$D738 PRG:1738 E0 23
|
|
bcc SubCD652_Block_12 ; CPU:$D73A PRG:173A 90 02
|
|
lda #$06 ; CPU:$D73C PRG:173C A9 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block_12
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block_12:
|
|
clc ; CPU:$D73E PRG:173E 18
|
|
adc Ptr2Lo ; CPU:$D73F PRG:173F 65 0C
|
|
tax ; CPU:$D741 PRG:1741 AA
|
|
lda $E944,x ; CPU:$D742 PRG:1742 BD 44 E9
|
|
sta Zp3A ; CPU:$D745 PRG:1745 85 3A
|
|
jsr $D805 ; CPU:$D747 PRG:1747 20 05 D8
|
|
jmp $D01B ; CPU:$D74A PRG:174A 4C 1B D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block_10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block_10:
|
|
lda #$08 ; CPU:$D74D PRG:174D A9 08
|
|
sta CtrlState ; CPU:$D74F PRG:174F 85 31
|
|
rts ; CPU:$D751 PRG:1751 60
|
|
; ---- data $D752-$D78E (61 bytes) ----
|
|
.byte $A6, $3B, $A9, $01, $9D, $EF, $03, $85, $AD, $A5, $56, $0A, $0A, $AA, $A0, $00 ; CPU:$D752 PRG:1752 A6 3B A9 01 9D EF 03 85 AD A5 56 0A 0A AA A0 00
|
|
.byte $BD, $F2, $EA, $99, $50, $00, $E8, $C8, $C0, $04, $D0, $F4, $A9, $00, $85, $57 ; CPU:$D762 PRG:1762 BD F2 EA 99 50 00 E8 C8 C0 04 D0 F4 A9 00 85 57
|
|
.byte $A2, $00, $A5, $32, $20, $A5, $DA, $A5, $33, $20, $B5, $DA, $E8, $E8, $E0, $20 ; CPU:$D772 PRG:1772 A2 00 A5 32 20 A5 DA A5 33 20 B5 DA E8 E8 E0 20
|
|
.byte $D0, $F0, $20, $56, $CF, $A6, $36, $20, $42, $D0, $E6, $31, $60 ; CPU:$D782 PRG:1782 D0 F0 20 56 CF A6 36 20 42 D0 E6 31 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD78F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD78F:
|
|
jsr $D805 ; CPU:$D78F PRG:178F 20 05 D8
|
|
jsr $D93A ; CPU:$D792 PRG:1792 20 3A D9
|
|
lda Zp36 ; CPU:$D795 PRG:1795 A5 36
|
|
sta DataPtrLo ; CPU:$D797 PRG:1797 85 B4
|
|
ldy Zp50 ; CPU:$D799 PRG:1799 A4 50
|
|
iny ; CPU:$D79B PRG:179B C8
|
|
beq SubCD652_Block_13 ; CPU:$D79C PRG:179C F0 09
|
|
ldx #$00 ; CPU:$D79E PRG:179E A2 00
|
|
ldy #$0C ; CPU:$D7A0 PRG:17A0 A0 0C
|
|
lda Zp54 ; CPU:$D7A2 PRG:17A2 A5 54
|
|
jsr $D7CE ; CPU:$D7A4 PRG:17A4 20 CE D7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block_13
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block_13:
|
|
ldy Zp53 ; CPU:$D7A7 PRG:17A7 A4 53
|
|
iny ; CPU:$D7A9 PRG:17A9 C8
|
|
beq SubCD652_Block_14 ; CPU:$D7AA PRG:17AA F0 09
|
|
ldx #$10 ; CPU:$D7AC PRG:17AC A2 10
|
|
ldy #$20 ; CPU:$D7AE PRG:17AE A0 20
|
|
lda Zp55 ; CPU:$D7B0 PRG:17B0 A5 55
|
|
jsr $D7CE ; CPU:$D7B2 PRG:17B2 20 CE D7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block_14
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block_14:
|
|
lda Zp57 ; CPU:$D7B5 PRG:17B5 A5 57
|
|
cmp #$02 ; CPU:$D7B7 PRG:17B7 C9 02
|
|
bne SubCD652_Block_15 ; CPU:$D7B9 PRG:17B9 D0 03
|
|
jsr $D4EA ; CPU:$D7BB PRG:17BB 20 EA D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD652_Block_15
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD652_Block_15:
|
|
lda #$00 ; CPU:$D7BE PRG:17BE A9 00
|
|
sta Zp54 ; CPU:$D7C0 PRG:17C0 85 54
|
|
sta Zp55 ; CPU:$D7C2 PRG:17C2 85 55
|
|
rts ; CPU:$D7C4 PRG:17C4 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD7C5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD7C5:
|
|
lda #$00 ; CPU:$D7C5 PRG:17C5 A9 00
|
|
sta CtrlState ; CPU:$D7C7 PRG:17C7 85 31
|
|
ldx Zp36 ; CPU:$D7C9 PRG:17C9 A6 36
|
|
jmp $D042 ; CPU:$D7CB PRG:17CB 4C 42 D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD7CE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD7CE:
|
|
sta Zp0D ; CPU:$D7CE PRG:17CE 85 0D
|
|
sty Ptr2Lo ; CPU:$D7D0 PRG:17D0 84 0C
|
|
ldy DataPtrLo ; CPU:$D7D2 PRG:17D2 A4 B4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD7F9_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD7F9_Block:
|
|
lda Zp0D ; CPU:$D7D4 PRG:17D4 A5 0D
|
|
bne SubCD7CE_Block ; CPU:$D7D6 PRG:17D6 D0 04
|
|
lda Zp60,x ; CPU:$D7D8 PRG:17D8 B5 60
|
|
bne SubCD7CE_Block_2 ; CPU:$D7DA PRG:17DA D0 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD7CE_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD7CE_Block:
|
|
inx ; CPU:$D7DC PRG:17DC E8
|
|
jmp $D7F9 ; CPU:$D7DD PRG:17DD 4C F9 D7
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD7CE_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD7CE_Block_2:
|
|
sta $0200,y ; CPU:$D7E0 PRG:17E0 99 00 02
|
|
iny ; CPU:$D7E3 PRG:17E3 C8
|
|
lda $EA30,x ; CPU:$D7E4 PRG:17E4 BD 30 EA
|
|
sta $0200,y ; CPU:$D7E7 PRG:17E7 99 00 02
|
|
iny ; CPU:$D7EA PRG:17EA C8
|
|
inx ; CPU:$D7EB PRG:17EB E8
|
|
lda $EA30,x ; CPU:$D7EC PRG:17EC BD 30 EA
|
|
sta $0200,y ; CPU:$D7EF PRG:17EF 99 00 02
|
|
iny ; CPU:$D7F2 PRG:17F2 C8
|
|
lda Zp60,x ; CPU:$D7F3 PRG:17F3 B5 60
|
|
sta $0200,y ; CPU:$D7F5 PRG:17F5 99 00 02
|
|
iny ; CPU:$D7F8 PRG:17F8 C8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD7F9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD7F9:
|
|
inx ; CPU:$D7F9 PRG:17F9 E8
|
|
cpx Ptr2Lo ; CPU:$D7FA PRG:17FA E4 0C
|
|
bne SubCD7F9_Block ; CPU:$D7FC PRG:17FC D0 D6
|
|
sty DataPtrLo ; CPU:$D7FE PRG:17FE 84 B4
|
|
tya ; CPU:$D800 PRG:1800 98
|
|
tax ; CPU:$D801 PRG:1801 AA
|
|
jmp $D042 ; CPU:$D802 PRG:1802 4C 42 D0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD805
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD805:
|
|
lda ZpA7 ; CPU:$D805 PRG:1805 A5 A7
|
|
beq SubCD805_Block ; CPU:$D807 PRG:1807 F0 11
|
|
lda #$00 ; CPU:$D809 PRG:1809 A9 00
|
|
sta ZpA7 ; CPU:$D80B PRG:180B 85 A7
|
|
ldx Zp36 ; CPU:$D80D PRG:180D A6 36
|
|
jsr $D042 ; CPU:$D80F PRG:180F 20 42 D0
|
|
lda #$50 ; CPU:$D812 PRG:1812 A9 50
|
|
sta Zp36 ; CPU:$D814 PRG:1814 85 36
|
|
lda #$9F ; CPU:$D816 PRG:1816 A9 9F
|
|
sta Zp37 ; CPU:$D818 PRG:1818 85 37
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD805_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD805_Block:
|
|
rts ; CPU:$D81A PRG:181A 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD81B
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD81B:
|
|
ldx Zp5E ; CPU:$D81B PRG:181B A6 5E
|
|
lda $EA00,x ; CPU:$D81D PRG:181D BD 00 EA
|
|
pha ; CPU:$D820 PRG:1820 48
|
|
inx ; CPU:$D821 PRG:1821 E8
|
|
txa ; CPU:$D822 PRG:1822 8A
|
|
and #$03 ; CPU:$D823 PRG:1823 29 03
|
|
bne SubCD81B_Block ; CPU:$D825 PRG:1825 D0 04
|
|
dex ; CPU:$D827 PRG:1827 CA
|
|
dex ; CPU:$D828 PRG:1828 CA
|
|
dex ; CPU:$D829 PRG:1829 CA
|
|
dex ; CPU:$D82A PRG:182A CA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD81B_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD81B_Block:
|
|
stx Zp5E ; CPU:$D82B PRG:182B 86 5E
|
|
pla ; CPU:$D82D PRG:182D 68
|
|
rts ; CPU:$D82E PRG:182E 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD82F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD82F:
|
|
lda Zp4D ; CPU:$D82F PRG:182F A5 4D
|
|
sec ; CPU:$D831 PRG:1831 38
|
|
sbc #$00 ; CPU:$D832 PRG:1832 E9 00
|
|
tay ; CPU:$D834 PRG:1834 A8
|
|
lda Zp4E ; CPU:$D835 PRG:1835 A5 4E
|
|
sbc #$10 ; CPU:$D837 PRG:1837 E9 10
|
|
tax ; CPU:$D839 PRG:1839 AA
|
|
lda #$3B ; CPU:$D83A PRG:183A A9 3B
|
|
jsr $D8DB ; CPU:$D83C PRG:183C 20 DB D8
|
|
sty SndChannel ; CPU:$D83F PRG:183F 84 14
|
|
stx SndNote ; CPU:$D841 PRG:1841 86 15
|
|
lda Zp4D ; CPU:$D843 PRG:1843 A5 4D
|
|
sec ; CPU:$D845 PRG:1845 38
|
|
sbc #$00 ; CPU:$D846 PRG:1846 E9 00
|
|
tay ; CPU:$D848 PRG:1848 A8
|
|
lda Zp4E ; CPU:$D849 PRG:1849 A5 4E
|
|
sbc #$10 ; CPU:$D84B PRG:184B E9 10
|
|
tax ; CPU:$D84D PRG:184D AA
|
|
lda #$E7 ; CPU:$D84E PRG:184E A9 E7
|
|
jsr $D8DB ; CPU:$D850 PRG:1850 20 DB D8
|
|
sty Zp12 ; CPU:$D853 PRG:1853 84 12
|
|
stx Zp13 ; CPU:$D855 PRG:1855 86 13
|
|
lda Zp48 ; CPU:$D857 PRG:1857 A5 48
|
|
sec ; CPU:$D859 PRG:1859 38
|
|
sbc #$00 ; CPU:$D85A PRG:185A E9 00
|
|
tay ; CPU:$D85C PRG:185C A8
|
|
lda Zp49 ; CPU:$D85D PRG:185D A5 49
|
|
sbc #$18 ; CPU:$D85F PRG:185F E9 18
|
|
tax ; CPU:$D861 PRG:1861 AA
|
|
lda #$7F ; CPU:$D862 PRG:1862 A9 7F
|
|
jsr $D8DB ; CPU:$D864 PRG:1864 20 DB D8
|
|
clc ; CPU:$D867 PRG:1867 18
|
|
tya ; CPU:$D868 PRG:1868 98
|
|
adc #$4F ; CPU:$D869 PRG:1869 69 4F
|
|
tay ; CPU:$D86B PRG:186B A8
|
|
txa ; CPU:$D86C PRG:186C 8A
|
|
adc #$23 ; CPU:$D86D PRG:186D 69 23
|
|
tax ; CPU:$D86F PRG:186F AA
|
|
tya ; CPU:$D870 PRG:1870 98
|
|
sec ; CPU:$D871 PRG:1871 38
|
|
sbc SndChannel ; CPU:$D872 PRG:1872 E5 14
|
|
sta Zp93 ; CPU:$D874 PRG:1874 85 93
|
|
txa ; CPU:$D876 PRG:1876 8A
|
|
sbc SndNote ; CPU:$D877 PRG:1877 E5 15
|
|
cmp #$50 ; CPU:$D879 PRG:1879 C9 50
|
|
ror a ; CPU:$D87B PRG:187B 6A
|
|
sta Zp94 ; CPU:$D87C PRG:187C 85 94
|
|
ror Zp93 ; CPU:$D87E PRG:187E 66 93
|
|
ldy Zp91 ; CPU:$D880 PRG:1880 A4 91
|
|
ldx Zp92 ; CPU:$D882 PRG:1882 A6 92
|
|
lda #$6C ; CPU:$D884 PRG:1884 A9 6C
|
|
jsr $D8DB ; CPU:$D886 PRG:1886 20 DB D8
|
|
clc ; CPU:$D889 PRG:1889 18
|
|
tya ; CPU:$D88A PRG:188A 98
|
|
adc Zp12 ; CPU:$D88B PRG:188B 65 12
|
|
tay ; CPU:$D88D PRG:188D A8
|
|
txa ; CPU:$D88E PRG:188E 8A
|
|
adc Zp13 ; CPU:$D88F PRG:188F 65 13
|
|
tax ; CPU:$D891 PRG:1891 AA
|
|
jsr $D907 ; CPU:$D892 PRG:1892 20 07 D9
|
|
sbc #$00 ; CPU:$D895 PRG:1895 E9 00
|
|
eor #$7F ; CPU:$D897 PRG:1897 49 7F
|
|
sta CtrlTimer ; CPU:$D899 PRG:1899 85 32
|
|
lda Zp43 ; CPU:$D89B PRG:189B A5 43
|
|
sec ; CPU:$D89D PRG:189D 38
|
|
sbc #$00 ; CPU:$D89E PRG:189E E9 00
|
|
tay ; CPU:$D8A0 PRG:18A0 A8
|
|
lda Zp44 ; CPU:$D8A1 PRG:18A1 A5 44
|
|
sbc #$09 ; CPU:$D8A3 PRG:18A3 E9 09
|
|
tax ; CPU:$D8A5 PRG:18A5 AA
|
|
jsr $D907 ; CPU:$D8A6 PRG:18A6 20 07 D9
|
|
eor #$80 ; CPU:$D8A9 PRG:18A9 49 80
|
|
sta Zp33 ; CPU:$D8AB PRG:18AB 85 33
|
|
rts ; CPU:$D8AD PRG:18AD 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD8AE
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD8AE:
|
|
lda #$0F ; CPU:$D8AE PRG:18AE A9 0F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD8AE_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD8AE_Block_3:
|
|
sec ; CPU:$D8B0 PRG:18B0 38
|
|
sbc #$05 ; CPU:$D8B1 PRG:18B1 E9 05
|
|
tax ; CPU:$D8B3 PRG:18B3 AA
|
|
ldy #$00 ; CPU:$D8B4 PRG:18B4 A0 00
|
|
lda Zp40,x ; CPU:$D8B6 PRG:18B6 B5 40
|
|
bpl SubCD8AE_Block ; CPU:$D8B8 PRG:18B8 10 01
|
|
dey ; CPU:$D8BA PRG:18BA 88
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD8AE_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD8AE_Block:
|
|
clc ; CPU:$D8BB PRG:18BB 18
|
|
adc Zp41,x ; CPU:$D8BC PRG:18BC 75 41
|
|
sta Zp41,x ; CPU:$D8BE PRG:18BE 95 41
|
|
sta SndNote ; CPU:$D8C0 PRG:18C0 85 15
|
|
tya ; CPU:$D8C2 PRG:18C2 98
|
|
ldy #$00 ; CPU:$D8C3 PRG:18C3 A0 00
|
|
adc Zp42,x ; CPU:$D8C5 PRG:18C5 75 42
|
|
sta Zp42,x ; CPU:$D8C7 PRG:18C7 95 42
|
|
bpl SubCD8AE_Block_2 ; CPU:$D8C9 PRG:18C9 10 01
|
|
dey ; CPU:$D8CB PRG:18CB 88
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD8AE_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD8AE_Block_2:
|
|
asl SndNote ; CPU:$D8CC PRG:18CC 06 15
|
|
adc Zp43,x ; CPU:$D8CE PRG:18CE 75 43
|
|
sta Zp43,x ; CPU:$D8D0 PRG:18D0 95 43
|
|
tya ; CPU:$D8D2 PRG:18D2 98
|
|
adc Zp44,x ; CPU:$D8D3 PRG:18D3 75 44
|
|
sta Zp44,x ; CPU:$D8D5 PRG:18D5 95 44
|
|
txa ; CPU:$D8D7 PRG:18D7 8A
|
|
bne SubCD8AE_Block_3 ; CPU:$D8D8 PRG:18D8 D0 D6
|
|
rts ; CPU:$D8DA PRG:18DA 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD8DB
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD8DB:
|
|
sty Zp10 ; CPU:$D8DB PRG:18DB 84 10
|
|
stx Zp11 ; CPU:$D8DD PRG:18DD 86 11
|
|
sta Zp95 ; CPU:$D8DF PRG:18DF 85 95
|
|
lda #$00 ; CPU:$D8E1 PRG:18E1 A9 00
|
|
sta VramPtrLo ; CPU:$D8E3 PRG:18E3 85 96
|
|
sta VramPtrHi ; CPU:$D8E5 PRG:18E5 85 97
|
|
ldx #$08 ; CPU:$D8E7 PRG:18E7 A2 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD8DB_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD8DB_Block_2:
|
|
ror Zp95 ; CPU:$D8E9 PRG:18E9 66 95
|
|
bcc SubCD8DB_Block ; CPU:$D8EB PRG:18EB 90 0D
|
|
clc ; CPU:$D8ED PRG:18ED 18
|
|
lda VramPtrLo ; CPU:$D8EE PRG:18EE A5 96
|
|
adc Zp10 ; CPU:$D8F0 PRG:18F0 65 10
|
|
sta VramPtrLo ; CPU:$D8F2 PRG:18F2 85 96
|
|
lda VramPtrHi ; CPU:$D8F4 PRG:18F4 A5 97
|
|
adc Zp11 ; CPU:$D8F6 PRG:18F6 65 11
|
|
sta VramPtrHi ; CPU:$D8F8 PRG:18F8 85 97
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD8DB_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD8DB_Block:
|
|
asl a ; CPU:$D8FA PRG:18FA 0A
|
|
ror VramPtrHi ; CPU:$D8FB PRG:18FB 66 97
|
|
ror VramPtrLo ; CPU:$D8FD PRG:18FD 66 96
|
|
dex ; CPU:$D8FF PRG:18FF CA
|
|
bne SubCD8DB_Block_2 ; CPU:$D900 PRG:1900 D0 E7
|
|
ldy VramPtrLo ; CPU:$D902 PRG:1902 A4 96
|
|
ldx VramPtrHi ; CPU:$D904 PRG:1904 A6 97
|
|
rts ; CPU:$D906 PRG:1906 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD907
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD907:
|
|
sty VramPtrLo ; CPU:$D907 PRG:1907 84 96
|
|
stx VramPtrHi ; CPU:$D909 PRG:1909 86 97
|
|
lda #$00 ; CPU:$D90B PRG:190B A9 00
|
|
sta Zp95 ; CPU:$D90D PRG:190D 85 95
|
|
ldx #$07 ; CPU:$D90F PRG:190F A2 07
|
|
clc ; CPU:$D911 PRG:1911 18
|
|
lda VramPtrLo ; CPU:$D912 PRG:1912 A5 96
|
|
adc Zp93 ; CPU:$D914 PRG:1914 65 93
|
|
tay ; CPU:$D916 PRG:1916 A8
|
|
lda VramPtrHi ; CPU:$D917 PRG:1917 A5 97
|
|
adc Zp94 ; CPU:$D919 PRG:1919 65 94
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD907_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD907_Block_2:
|
|
bcc SubCD907_Block ; CPU:$D91B PRG:191B 90 04
|
|
sty VramPtrLo ; CPU:$D91D PRG:191D 84 96
|
|
sta VramPtrHi ; CPU:$D91F PRG:191F 85 97
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD907_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD907_Block:
|
|
rol Zp95 ; CPU:$D921 PRG:1921 26 95
|
|
rol VramPtrLo ; CPU:$D923 PRG:1923 26 96
|
|
rol VramPtrHi ; CPU:$D925 PRG:1925 26 97
|
|
sec ; CPU:$D927 PRG:1927 38
|
|
lda VramPtrLo ; CPU:$D928 PRG:1928 A5 96
|
|
sbc Zp93 ; CPU:$D92A PRG:192A E5 93
|
|
tay ; CPU:$D92C PRG:192C A8
|
|
lda VramPtrHi ; CPU:$D92D PRG:192D A5 97
|
|
sbc Zp94 ; CPU:$D92F PRG:192F E5 94
|
|
dex ; CPU:$D931 PRG:1931 CA
|
|
bpl SubCD907_Block_2 ; CPU:$D932 PRG:1932 10 E7
|
|
bcs SubCD907_Block_3 ; CPU:$D934 PRG:1934 B0 01
|
|
dex ; CPU:$D936 PRG:1936 CA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD907_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD907_Block_3:
|
|
lda Zp95 ; CPU:$D937 PRG:1937 A5 95
|
|
rts ; CPU:$D939 PRG:1939 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD93A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD93A:
|
|
inc Zp57 ; CPU:$D93A PRG:193A E6 57
|
|
ldy Zp50 ; CPU:$D93C PRG:193C A4 50
|
|
cpy #$FF ; CPU:$D93E PRG:193E C0 FF
|
|
beq SubCD977 ; CPU:$D940 PRG:1940 F0 35
|
|
inc Zp50 ; CPU:$D942 PRG:1942 E6 50
|
|
lda $EA50,y ; CPU:$D944 PRG:1944 B9 50 EA
|
|
sta Ptr2Lo ; CPU:$D947 PRG:1947 85 0C
|
|
sta SndTemp ; CPU:$D949 PRG:1949 85 0F
|
|
cmp #$AA ; CPU:$D94B PRG:194B C9 AA
|
|
beq SubCD93A_Block ; CPU:$D94D PRG:194D F0 64
|
|
cmp #$BB ; CPU:$D94F PRG:194F C9 BB
|
|
beq SubCD93A_Block_2 ; CPU:$D951 PRG:1951 F0 67
|
|
lda Zp57 ; CPU:$D953 PRG:1953 A5 57
|
|
cmp Zp51 ; CPU:$D955 PRG:1955 C5 51
|
|
beq SubCD93A_Block_3 ; CPU:$D957 PRG:1957 F0 6E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD959
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD959:
|
|
ldx #$00 ; CPU:$D959 PRG:1959 A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD959_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD959_Block_3:
|
|
stx Zp0D ; CPU:$D95B PRG:195B 86 0D
|
|
lda $EB22,x ; CPU:$D95D PRG:195D BD 22 EB
|
|
sta Zp0E ; CPU:$D960 PRG:1960 85 0E
|
|
txa ; CPU:$D962 PRG:1962 8A
|
|
asl a ; CPU:$D963 PRG:1963 0A
|
|
tax ; CPU:$D964 PRG:1964 AA
|
|
lda Zp60,x ; CPU:$D965 PRG:1965 B5 60
|
|
beq SubCD959_Block_2 ; CPU:$D967 PRG:1967 F0 07
|
|
lda Zp61,x ; CPU:$D969 PRG:1969 B5 61
|
|
beq SubCD959_Block_2 ; CPU:$D96B PRG:196B F0 03
|
|
jsr $D9F6 ; CPU:$D96D PRG:196D 20 F6 D9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD959_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD959_Block_2:
|
|
ldx Zp0D ; CPU:$D970 PRG:1970 A6 0D
|
|
inx ; CPU:$D972 PRG:1972 E8
|
|
cpx #$06 ; CPU:$D973 PRG:1973 E0 06
|
|
bne SubCD959_Block_3 ; CPU:$D975 PRG:1975 D0 E4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD977
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD977:
|
|
ldy Zp53 ; CPU:$D977 PRG:1977 A4 53
|
|
cpy #$FF ; CPU:$D979 PRG:1979 C0 FF
|
|
beq SubCD9E2 ; CPU:$D97B PRG:197B F0 65
|
|
inc Zp53 ; CPU:$D97D PRG:197D E6 53
|
|
lda $EA8F,y ; CPU:$D97F PRG:197F B9 8F EA
|
|
sta Ptr2Lo ; CPU:$D982 PRG:1982 85 0C
|
|
cmp #$AA ; CPU:$D984 PRG:1984 C9 AA
|
|
beq SubCD977_Block ; CPU:$D986 PRG:1986 F0 46
|
|
cmp #$BB ; CPU:$D988 PRG:1988 C9 BB
|
|
beq SubCD977_Block_2 ; CPU:$D98A PRG:198A F0 49
|
|
lda $EAC2,y ; CPU:$D98C PRG:198C B9 C2 EA
|
|
sta SndTemp ; CPU:$D98F PRG:198F 85 0F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD991
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD991:
|
|
ldx #$00 ; CPU:$D991 PRG:1991 A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD991_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD991_Block_3:
|
|
stx Zp0D ; CPU:$D993 PRG:1993 86 0D
|
|
lda $EB28,x ; CPU:$D995 PRG:1995 BD 28 EB
|
|
sta Zp0E ; CPU:$D998 PRG:1998 85 0E
|
|
txa ; CPU:$D99A PRG:199A 8A
|
|
asl a ; CPU:$D99B PRG:199B 0A
|
|
clc ; CPU:$D99C PRG:199C 18
|
|
adc #$10 ; CPU:$D99D PRG:199D 69 10
|
|
tax ; CPU:$D99F PRG:199F AA
|
|
lda Zp60,x ; CPU:$D9A0 PRG:19A0 B5 60
|
|
beq SubCD991_Block_2 ; CPU:$D9A2 PRG:19A2 F0 07
|
|
lda Zp61,x ; CPU:$D9A4 PRG:19A4 B5 61
|
|
beq SubCD991_Block_2 ; CPU:$D9A6 PRG:19A6 F0 03
|
|
jsr $D9F6 ; CPU:$D9A8 PRG:19A8 20 F6 D9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD991_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD991_Block_2:
|
|
ldx Zp0D ; CPU:$D9AB PRG:19AB A6 0D
|
|
inx ; CPU:$D9AD PRG:19AD E8
|
|
cpx #$08 ; CPU:$D9AE PRG:19AE E0 08
|
|
bne SubCD991_Block_3 ; CPU:$D9B0 PRG:19B0 D0 E1
|
|
rts ; CPU:$D9B2 PRG:19B2 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD93A_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD93A_Block:
|
|
lda #$FF ; CPU:$D9B3 PRG:19B3 A9 FF
|
|
sta Zp50 ; CPU:$D9B5 PRG:19B5 85 50
|
|
jmp $D977 ; CPU:$D9B7 PRG:19B7 4C 77 D9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD93A_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD93A_Block_2:
|
|
lda #$01 ; CPU:$D9BA PRG:19BA A9 01
|
|
sta Zp54 ; CPU:$D9BC PRG:19BC 85 54
|
|
lda #$00 ; CPU:$D9BE PRG:19BE A9 00
|
|
sta Ptr2Lo ; CPU:$D9C0 PRG:19C0 85 0C
|
|
sta SndTemp ; CPU:$D9C2 PRG:19C2 85 0F
|
|
jmp $D959 ; CPU:$D9C4 PRG:19C4 4C 59 D9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD93A_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD93A_Block_3:
|
|
lda Zp52 ; CPU:$D9C7 PRG:19C7 A5 52
|
|
sta Zp53 ; CPU:$D9C9 PRG:19C9 85 53
|
|
jmp $D959 ; CPU:$D9CB PRG:19CB 4C 59 D9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD977_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD977_Block:
|
|
lda #$FF ; CPU:$D9CE PRG:19CE A9 FF
|
|
sta Zp53 ; CPU:$D9D0 PRG:19D0 85 53
|
|
jmp $D9E2 ; CPU:$D9D2 PRG:19D2 4C E2 D9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD977_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD977_Block_2:
|
|
lda #$01 ; CPU:$D9D5 PRG:19D5 A9 01
|
|
sta Zp55 ; CPU:$D9D7 PRG:19D7 85 55
|
|
lda #$00 ; CPU:$D9D9 PRG:19D9 A9 00
|
|
sta Ptr2Lo ; CPU:$D9DB PRG:19DB 85 0C
|
|
sta SndTemp ; CPU:$D9DD PRG:19DD 85 0F
|
|
jmp $D991 ; CPU:$D9DF PRG:19DF 4C 91 D9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD9E2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD9E2:
|
|
lda Zp50 ; CPU:$D9E2 PRG:19E2 A5 50
|
|
cmp #$FF ; CPU:$D9E4 PRG:19E4 C9 FF
|
|
bne SubCD9E2_Block_2 ; CPU:$D9E6 PRG:19E6 D0 0D
|
|
lda Zp53 ; CPU:$D9E8 PRG:19E8 A5 53
|
|
cmp #$FF ; CPU:$D9EA PRG:19EA C9 FF
|
|
bne SubCD9E2_Block_2 ; CPU:$D9EC PRG:19EC D0 07
|
|
jsr $CFF9 ; CPU:$D9EE PRG:19EE 20 F9 CF
|
|
lda #$08 ; CPU:$D9F1 PRG:19F1 A9 08
|
|
sta CtrlState ; CPU:$D9F3 PRG:19F3 85 31
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD9E2_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD9E2_Block_2:
|
|
rts ; CPU:$D9F5 PRG:19F5 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD9F6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD9F6:
|
|
lda Zp57 ; CPU:$D9F6 PRG:19F6 A5 57
|
|
and #$03 ; CPU:$D9F8 PRG:19F8 29 03
|
|
sta Zp1B ; CPU:$D9FA PRG:19FA 85 1B
|
|
lda Zp0E ; CPU:$D9FC PRG:19FC A5 0E
|
|
jsr $C35E ; CPU:$D9FE PRG:19FE 20 5E C3
|
|
cpx #$C5 ; CPU:$DA01 PRG:1A01 E0 C5
|
|
and (ZpDA,x) ; CPU:$DA03 PRG:1A03 21 DA
|
|
rol $38DA ; CPU:$DA05 PRG:1A05 2E DA 38
|
|
; ---- data $DA08-$DAB4 (173 bytes) ----
|
|
.byte $DA, $40, $DA, $45, $DA, $4D, $DA, $57, $DA, $E0, $C5, $61, $DA, $6C, $DA, $7D ; CPU:$DA08 PRG:1A08 DA 40 DA 45 DA 4D DA 57 DA E0 C5 61 DA 6C DA 7D
|
|
.byte $DA, $75, $DA, $85, $DA, $90, $DA, $9A, $DA, $A5, $0F, $20, $B5, $DA, $A5, $0C ; CPU:$DA18 PRG:1A18 DA 75 DA 85 DA 90 DA 9A DA A5 0F 20 B5 DA A5 0C
|
|
.byte $20, $2B, $D1, $4C, $A5, $DA, $A5, $1B, $F0, $F4, $20, $26, $DA, $4C, $40, $DA ; CPU:$DA28 PRG:1A28 20 2B D1 4C A5 DA A5 1B F0 F4 20 26 DA 4C 40 DA
|
|
.byte $A5, $0F, $20, $2B, $D1, $20, $A5, $DA, $A5, $0C, $4C, $B5, $DA, $20, $40, $DA ; CPU:$DA38 PRG:1A38 A5 0F 20 2B D1 20 A5 DA A5 0C 4C B5 DA 20 40 DA
|
|
.byte $A5, $0F, $4C, $A5, $DA, $A5, $1B, $F0, $F7, $20, $5C, $DA, $4C, $40, $DA, $A5 ; CPU:$DA48 PRG:1A48 A5 0F 4C A5 DA A5 1B F0 F7 20 5C DA 4C 40 DA A5
|
|
.byte $0F, $20, $B5, $DA, $A5, $0C, $4C, $A5, $DA, $A5, $0F, $20, $2B, $D1, $20, $B5 ; CPU:$DA58 PRG:1A58 0F 20 B5 DA A5 0C 4C A5 DA A5 0F 20 2B D1 20 B5
|
|
.byte $DA, $4C, $5C, $DA, $A5, $1B, $F0, $D8, $A5, $0C, $20, $A5, $DA, $A5, $0C, $20 ; CPU:$DA68 PRG:1A68 DA 4C 5C DA A5 1B F0 D8 A5 0C 20 A5 DA A5 0C 20
|
|
.byte $2B, $D1, $4C, $B5, $DA, $A5, $0F, $20, $A5, $DA, $4C, $75, $DA, $20, $75, $DA ; CPU:$DA78 PRG:1A78 2B D1 4C B5 DA A5 0F 20 A5 DA 4C 75 DA 20 75 DA
|
|
.byte $A5, $0F, $20, $2B, $D1, $4C, $A5, $DA, $A5, $1B, $F0, $F4, $20, $75, $DA, $4C ; CPU:$DA88 PRG:1A88 A5 0F 20 2B D1 4C A5 DA A5 1B F0 F4 20 75 DA 4C
|
|
.byte $26, $DA, $A5, $0F, $20, $2B, $D1, $20, $B5, $DA, $4C, $26, $DA, $18, $75, $60 ; CPU:$DA98 PRG:1A98 26 DA A5 0F 20 2B D1 20 B5 DA 4C 26 DA 18 75 60
|
|
.byte $C9, $07, $90, $04, $C9, $C7, $90, $02, $A9, $00, $95, $60, $60 ; CPU:$DAA8 PRG:1AA8 C9 07 90 04 C9 C7 90 02 A9 00 95 60 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCDAB5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCDAB5:
|
|
clc ; CPU:$DAB5 PRG:1AB5 18
|
|
adc Zp61,x ; CPU:$DAB6 PRG:1AB6 75 61
|
|
cmp #$07 ; CPU:$DAB8 PRG:1AB8 C9 07
|
|
bcc SubCD9F6_Block ; CPU:$DABA PRG:1ABA 90 04
|
|
cmp #$F8 ; CPU:$DABC PRG:1ABC C9 F8
|
|
bcc SubCD9F6_Block_2 ; CPU:$DABE PRG:1ABE 90 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD9F6_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD9F6_Block:
|
|
lda #$00 ; CPU:$DAC0 PRG:1AC0 A9 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCD9F6_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCD9F6_Block_2:
|
|
sta Zp61,x ; CPU:$DAC2 PRG:1AC2 95 61
|
|
rts ; CPU:$DAC4 PRG:1AC4 60
|
|
; ---- data $DAC5-$F35D (6297 bytes) ----
|
|
; referenced by `lda $E5DF,x` at $C056 (operand $E5DF falls inside this region)
|
|
; referenced by `lda $E532,y` at $C251 (operand $E532 falls inside this region)
|
|
; referenced by `ldx $E533,y` at $C254 (operand $E533 falls inside this region)
|
|
; referenced by `ldx $E5DC` at $C673 (operand $E5DC falls inside this region)
|
|
; referenced by `ldy $E5DB` at $C676 (operand $E5DB falls inside this region)
|
|
; referenced by `lda $EB30,y` at $C680 (operand $EB30 falls inside this region)
|
|
; ... and 37 further references from decoded code
|
|
LevelData: ; Level/background data
|
|
.byte $0F, $DB, $14, $DB, $1D, $DB, $26, $DB, $2F, $DB, $38, $DB, $41, $DB, $4A, $DB ; CPU:$DAC5 PRG:1AC5 0F DB 14 DB 1D DB 26 DB 2F DB 38 DB 41 DB 4A DB
|
|
.byte $5B, $DB, $86, $DB, $6C, $DB, $79, $DB, $8F, $DB, $9C, $DB, $A9, $DB, $B6, $DB ; CPU:$DAD5 PRG:1AD5 5B DB 86 DB 6C DB 79 DB 8F DB 9C DB A9 DB B6 DB
|
|
.byte $C3, $DB, $3A, $DC, $FA, $DB, $07, $DC, $0C, $DC, $25, $DC, $D0, $DB, $E5, $DB ; CPU:$DAE5 PRG:1AE5 C3 DB 3A DC FA DB 07 DC 0C DC 25 DC D0 DB E5 DB
|
|
.byte $4B, $DC, $50, $DC, $61, $DC, $72, $DC, $7B, $DC, $88, $DC, $91, $DC, $9A, $DC ; CPU:$DAF5 PRG:1AF5 4B DC 50 DC 61 DC 72 DC 7B DC 88 DC 91 DC 9A DC
|
|
.byte $9F, $DC, $A8, $DC, $AD, $DC, $B6, $DC, $BB, $DC, $DD, $0C, $F0, $F0, $00, $DD ; CPU:$DB05 PRG:1B05 9F DC A8 DC AD DC B6 DC BB DC DD 0C F0 F0 00 DD
|
|
.byte $24, $F0, $F0, $DD, $E1, $EF, $08, $00, $DD, $3A, $F0, $F0, $DD, $E1, $EE, $08 ; CPU:$DB15 PRG:1B15 24 F0 F0 DD E1 EF 08 00 DD 3A F0 F0 DD E1 EE 08
|
|
.byte $00, $DD, $53, $F0, $F8, $DD, $65, $F4, $F0, $00, $DD, $6F, $F0, $F8, $DD, $81 ; CPU:$DB25 PRG:1B25 00 DD 53 F0 F8 DD 65 F4 F0 00 DD 6F F0 F8 DD 81
|
|
.byte $FC, $F0, $00, $DD, $8A, $F0, $F8, $DD, $9C, $04, $F0, $00, $DD, $C3, $F0, $F0 ; CPU:$DB35 PRG:1B35 FC F0 00 DD 8A F0 F8 DD 9C 04 F0 00 DD C3 F0 F0
|
|
.byte $DD, $D7, $FC, $10, $00, $DD, $E6, $F8, $F8, $DD, $EF, $FF, $F0, $DD, $F4, $F7 ; CPU:$DB45 PRG:1B45 DD D7 FC 10 00 DD E6 F8 F8 DD EF FF F0 DD F4 F7
|
|
.byte $08, $DD, $DC, $FB, $10, $00, $DD, $FA, $F8, $F8, $DD, $EF, $FE, $F0, $DD, $F4 ; CPU:$DB55 PRG:1B55 08 DD DC FB 10 00 DD FA F8 F8 DD EF FE F0 DD F4
|
|
.byte $F6, $08, $DD, $D7, $FA, $10, $00, $DE, $04, $F0, $F4, $DE, $12, $F4, $04, $DE ; CPU:$DB65 PRG:1B65 F6 08 DD D7 FA 10 00 DE 04 F0 F4 DE 12 F4 04 DE
|
|
.byte $17, $08, $04, $00, $DE, $1C, $F0, $FC, $DE, $2A, $F4, $F4, $DE, $2F, $08, $F4 ; CPU:$DB75 PRG:1B75 17 08 04 00 DE 1C F0 FC DE 2A F4 F4 DE 2F 08 F4
|
|
.byte $00, $DD, $A5, $F0, $F0, $DD, $BD, $08, $FA, $00, $DE, $90, $F8, $10, $DE, $34 ; CPU:$DB85 PRG:1B85 00 DD A5 F0 F0 DD BD 08 FA 00 DE 90 F8 10 DE 34
|
|
.byte $F0, $E8, $DF, $ED, $E8, $EA, $00, $DE, $90, $F8, $10, $DE, $4B, $F0, $E8, $DF ; CPU:$DB95 PRG:1B95 F0 E8 DF ED E8 EA 00 DE 90 F8 10 DE 4B F0 E8 DF
|
|
.byte $F2, $E0, $F0, $00, $DE, $90, $F8, $10, $DE, $62, $F0, $E8, $DF, $ED, $E8, $EA ; CPU:$DBA5 PRG:1BA5 F2 E0 F0 00 DE 90 F8 10 DE 62 F0 E8 DF ED E8 EA
|
|
.byte $00, $DE, $90, $F8, $10, $DE, $79, $F0, $E8, $DF, $F2, $E0, $F0, $00, $DE, $9A ; CPU:$DBB5 PRG:1BB5 00 DE 90 F8 10 DE 79 F0 E8 DF F2 E0 F0 00 DE 9A
|
|
.byte $F8, $10, $DE, $34, $F0, $E8, $DF, $ED, $E8, $EA, $00, $DE, $A4, $F0, $F8, $DE ; CPU:$DBC5 PRG:1BC5 F8 10 DE 34 F0 E8 DF ED E8 EA 00 DE A4 F0 F8 DE
|
|
.byte $B8, $10, $F8, $DE, $C0, $ED, $F0, $DE, $C6, $F0, $08, $DE, $CB, $FE, $F0, $00 ; CPU:$DBD5 PRG:1BD5 B8 10 F8 DE C0 ED F0 DE C6 F0 08 DE CB FE F0 00
|
|
.byte $DE, $D3, $F0, $F8, $DE, $E7, $10, $F8, $DE, $EF, $ED, $F0, $DE, $F5, $F0, $08 ; CPU:$DBE5 PRG:1BE5 DE D3 F0 F8 DE E7 10 F8 DE EF ED F0 DE F5 F0 08
|
|
.byte $DE, $FA, $FE, $F0, $00, $DF, $02, $E0, $00, $DF, $0B, $F0, $10, $DF, $10, $F0 ; CPU:$DBF5 PRG:1BF5 DE FA FE F0 00 DF 02 E0 00 DF 0B F0 10 DF 10 F0
|
|
.byte $F0, $00, $DF, $29, $F0, $F0, $00, $DF, $3F, $ED, $F0, $DF, $45, $03, $F0, $DF ; CPU:$DC05 PRG:1C05 F0 00 DF 29 F0 F0 00 DF 3F ED F0 DF 45 03 F0 DF
|
|
.byte $4B, $F0, $F8, $DF, $55, $10, $F8, $DF, $5D, $F0, $00, $DF, $80, $04, $18, $00 ; CPU:$DC15 PRG:1C15 4B F0 F8 DF 55 10 F8 DF 5D F0 00 DF 80 04 18 00
|
|
.byte $DF, $85, $F0, $E0, $DF, $5D, $F0, $00, $DF, $AB, $04, $E0, $DF, $B0, $04, $18 ; CPU:$DC25 PRG:1C25 DF 85 F0 E0 DF 5D F0 00 DF AB 04 E0 DF B0 04 18
|
|
.byte $DF, $55, $10, $F8, $00, $DF, $B5, $E0, $00, $DF, $CB, $00, $00, $DF, $DA, $F0 ; CPU:$DC35 PRG:1C35 DF 55 10 F8 00 DF B5 E0 00 DF CB 00 00 DF DA F0
|
|
.byte $E8, $DF, $F8, $E0, $F0, $00, $DF, $FE, $F8, $F4, $00, $E0, $0F, $FC, $F5, $E0 ; CPU:$DC45 PRG:1C45 E8 DF F8 E0 F0 00 DF FE F8 F4 00 E0 0F FC F5 E0
|
|
.byte $14, $FC, $03, $E0, $19, $F9, $FC, $E0, $1E, $FE, $FC, $00, $E0, $0F, $FC, $F7 ; CPU:$DC55 PRG:1C55 14 FC 03 E0 19 F9 FC E0 1E FE FC 00 E0 0F FC F7
|
|
.byte $E0, $14, $FC, $01, $E0, $19, $FA, $FC, $E0, $1E, $FD, $FC, $00, $E0, $0F, $FC ; CPU:$DC65 PRG:1C65 E0 14 FC 01 E0 19 FA FC E0 1E FD FC 00 E0 0F FC
|
|
.byte $F8, $E0, $14, $FC, $00, $00, $E0, $23, $FC, $F7, $E0, $23, $FC, $F9, $E0, $28 ; CPU:$DC75 PRG:1C75 F8 E0 14 FC 00 00 E0 23 FC F7 E0 23 FC F9 E0 28
|
|
.byte $FC, $01, $00, $E0, $23, $FC, $F8, $E0, $28, $FC, $00, $00, $E0, $23, $FC, $F9 ; CPU:$DC85 PRG:1C85 FC 01 00 E0 23 FC F8 E0 28 FC 00 00 E0 23 FC F9
|
|
.byte $E0, $28, $FC, $FF, $00, $E0, $2D, $FC, $FC, $00, $E0, $32, $FC, $FC, $E0, $32 ; CPU:$DC95 PRG:1C95 E0 28 FC FF 00 E0 2D FC FC 00 E0 32 FC FC E0 32
|
|
.byte $FC, $FB, $00, $E0, $32, $FC, $FC, $00, $E0, $37, $FC, $FC, $E0, $37, $FC, $FD ; CPU:$DCA5 PRG:1CA5 FC FB 00 E0 32 FC FC 00 E0 37 FC FC E0 37 FC FD
|
|
SpritePtrTable: ; SpritePtrTable at $DCC0
|
|
.byte $00, $E0, $37, $FC, $FC, $00, $E0, $3C, $FC, $F8, $00, $00, $00, $08, $00, $10 ; CPU:$DCB5 PRG:1CB5 00 E0 37 FC FC 00 E0 3C FC F8 00 00 00 08 00 10
|
|
.byte $00, $18, $00, $00, $08, $08, $08, $10, $08, $18, $08, $00, $00, $00, $08, $00 ; CPU:$DCC5 PRG:1CC5 00 18 00 00 08 08 08 10 08 18 08 00 00 00 08 00
|
|
.byte $10, $00, $18, $08, $00, $08, $08, $08, $10, $08, $18, $10, $00, $10, $08, $10 ; CPU:$DCD5 PRG:1CD5 10 00 18 08 00 08 08 08 10 08 18 10 00 10 08 10
|
|
.byte $10, $10, $18, $18, $00, $18, $08, $18, $10, $18, $18, $08, $20, $10, $20, $18 ; CPU:$DCE5 PRG:1CE5 10 10 18 18 00 18 08 18 10 18 18 08 20 10 20 18
|
|
.byte $20, $18, $20, $00, $00, $08, $00, $10, $00, $00, $08, $08, $08, $10, $08, $00 ; CPU:$DCF5 PRG:1CF5 20 18 20 00 00 08 00 10 00 00 08 08 08 10 08 00
|
|
.byte $00, $08, $00, $00, $18, $08, $18, $01, $FD, $00, $00, $01, $02, $FD, $01, $03 ; CPU:$DD05 PRG:1D05 00 08 00 00 18 08 18 01 FD 00 00 01 02 FD 01 03
|
|
.byte $FD, $00, $04, $05, $06, $07, $08, $09, $0A, $FE, $FD, $01, $0B, $0C, $FF, $01 ; CPU:$DD15 PRG:1D15 FD 00 04 05 06 07 08 09 0A FE FD 01 0B 0C FF 01
|
|
.byte $FD, $00, $FE, $FE, $0D, $FE, $FD, $00, $0F, $10, $11, $FE, $12, $13, $14, $15 ; CPU:$DD25 PRG:1D25 FD 00 FE FE 0D FE FD 00 0F 10 11 FE 12 13 14 15
|
|
.byte $FD, $01, $16, $17, $FF, $01, $FD, $00, $FE, $FE, $18, $FE, $FD, $00, $1A, $1B ; CPU:$DD35 PRG:1D35 FD 01 16 17 FF 01 FD 00 FE FE 18 FE FD 00 1A 1B
|
|
.byte $1C, $FE, $1D, $1E, $1F, $FE, $FD, $01, $20, $21, $FD, $00, $22, $FF, $00, $FD ; CPU:$DD45 PRG:1D45 1C FE 1D 1E 1F FE FD 01 20 21 FD 00 22 FF 00 FD
|
|
.byte $00, $25, $26, $27, $FD, $01, $28, $FD, $40, $25, $26, $27, $FD, $41, $28, $FF ; CPU:$DD55 PRG:1D55 00 25 26 27 FD 01 28 FD 40 25 26 27 FD 41 28 FF
|
|
.byte $03, $FD, $00, $23, $24, $FD, $40, $23, $24, $FF, $00, $FD, $00, $2A, $2B, $2C ; CPU:$DD65 PRG:1D65 03 FD 00 23 24 FD 40 23 24 FF 00 FD 00 2A 2B 2C
|
|
.byte $FD, $01, $2D, $FD, $40, $2A, $2B, $2C, $FD, $41, $2D, $FF, $03, $FD, $00, $29 ; CPU:$DD75 PRG:1D75 FD 01 2D FD 40 2A 2B 2C FD 41 2D FF 03 FD 00 29
|
|
.byte $FE, $FD, $40, $29, $FF, $00, $FD, $00, $2F, $30, $31, $FD, $01, $32, $FD, $40 ; CPU:$DD85 PRG:1D85 FE FD 40 29 FF 00 FD 00 2F 30 31 FD 01 32 FD 40
|
|
.byte $2F, $30, $31, $FD, $41, $32, $FF, $03, $FD, $00, $2E, $FE, $FD, $40, $2E, $FF ; CPU:$DD95 PRG:1D95 2F 30 31 FD 41 32 FF 03 FD 00 2E FE FD 40 2E FF
|
|
.byte $01, $FD, $00, $33, $34, $35, $FD, $01, $36, $FD, $00, $37, $38, $39, $FD, $01 ; CPU:$DDA5 PRG:1DA5 01 FD 00 33 34 35 FD 01 36 FD 00 37 38 39 FD 01
|
|
.byte $3A, $FD, $00, $FE, $3B, $3C, $3D, $FF, $01, $FD, $01, $3E, $3F, $FF, $01, $FD ; CPU:$DDB5 PRG:1DB5 3A FD 00 FE 3B 3C 3D FF 01 FD 01 3E 3F FF 01 FD
|
|
.byte $00, $FE, $40, $41, $FE, $FE, $42, $43, $44, $45, $46, $47, $48, $FE, $FD, $01 ; CPU:$DDC5 PRG:1DC5 00 FE 40 41 FE FE 42 43 44 45 46 47 48 FE FD 01
|
|
.byte $49, $FF, $00, $FD, $01, $4A, $FF, $00, $FD, $01, $F6, $FF, $00, $FD, $01, $03 ; CPU:$DDD5 PRG:1DD5 49 FF 00 FD 01 4A FF 00 FD 01 F6 FF 00 FD 01 03
|
|
.byte $FF, $02, $FD, $01, $9F, $A0, $A1, $A2, $A3, $FF, $00, $FD, $01, $45, $FF, $00 ; CPU:$DDE5 PRG:1DE5 FF 02 FD 01 9F A0 A1 A2 A3 FF 00 FD 01 45 FF 00
|
|
.byte $FD, $00, $44, $48, $FF, $02, $FD, $01, $A4, $A5, $A6, $A7, $A8, $A9, $FF, $00 ; CPU:$DDF5 PRG:1DF5 FD 00 44 48 FF 02 FD 01 A4 A5 A6 A7 A8 A9 FF 00
|
|
.byte $FD, $01, $AB, $AC, $FE, $FE, $0E, $19, $AA, $FD, $80, $E5, $FF, $00, $FD, $81 ; CPU:$DE05 PRG:1E05 FD 01 AB AC FE FE 0E 19 AA FD 80 E5 FF 00 FD 81
|
|
.byte $EA, $FF, $00, $FD, $81, $E9, $FF, $00, $FD, $41, $0E, $19, $AA, $FD, $C0, $E5 ; CPU:$DE15 PRG:1E15 EA FF 00 FD 81 E9 FF 00 FD 41 0E 19 AA FD C0 E5
|
|
.byte $FD, $41, $AB, $AC, $FF, $00, $FD, $C1, $EA, $FF, $00, $FD, $C1, $E9, $FF, $01 ; CPU:$DE25 PRG:1E25 FD 41 AB AC FF 00 FD C1 EA FF 00 FD C1 E9 FF 01
|
|
.byte $FD, $03, $52, $53, $54, $FE, $55, $56, $56, $57, $5A, $5B, $5C, $5D, $61, $62 ; CPU:$DE35 PRG:1E35 FD 03 52 53 54 FE 55 56 56 57 5A 5B 5C 5D 61 62
|
|
.byte $63, $64, $58, $5E, $65, $FF, $01, $FD, $03, $52, $6A, $54, $FE, $55, $6B, $56 ; CPU:$DE45 PRG:1E45 63 64 58 5E 65 FF 01 FD 03 52 6A 54 FE 55 6B 56
|
|
.byte $57, $6C, $6D, $6E, $6F, $70, $71, $72, $73, $58, $5E, $74, $FF, $01, $FD, $03 ; CPU:$DE55 PRG:1E55 57 6C 6D 6E 6F 70 71 72 73 58 5E 74 FF 01 FD 03
|
|
.byte $75, $53, $54, $FE, $76, $56, $56, $57, $77, $78, $79, $7A, $7B, $7C, $7D, $7E ; CPU:$DE65 PRG:1E65 75 53 54 FE 76 56 56 57 77 78 79 7A 7B 7C 7D 7E
|
|
.byte $58, $5E, $7F, $FF, $01, $FD, $03, $52, $6A, $54, $FE, $76, $6B, $56, $57, $80 ; CPU:$DE75 PRG:1E75 58 5E 7F FF 01 FD 03 52 6A 54 FE 76 6B 56 57 80
|
|
.byte $81, $82, $83, $85, $86, $87, $88, $58, $84, $89, $FF, $02, $FD, $02, $59, $5F ; CPU:$DE85 PRG:1E85 81 82 83 85 86 87 88 58 84 89 FF 02 FD 02 59 5F
|
|
.byte $66, $FE, $60, $67, $FF, $02, $FD, $02, $4B, $4C, $4D, $4E, $4F, $50, $FF, $00 ; CPU:$DE95 PRG:1E95 66 FE 60 67 FF 02 FD 02 4B 4C 4D 4E 4F 50 FF 00
|
|
.byte $FD, $02, $CD, $CE, $CF, $FD, $03, $D0, $FD, $42, $CD, $CE, $FD, $02, $D2, $FD ; CPU:$DEA5 PRG:1EA5 FD 02 CD CE CF FD 03 D0 FD 42 CD CE FD 02 D2 FD
|
|
.byte $03, $D3, $FF, $01, $FD, $03, $D1, $FD, $43, $D1, $FF, $03, $FD, $02, $C9, $CA ; CPU:$DEB5 PRG:1EB5 03 D3 FF 01 FD 03 D1 FD 43 D1 FF 03 FD 02 C9 CA
|
|
.byte $FF, $00, $FD, $02, $D4, $FF, $03, $FD, $03, $CB, $CC, $D5, $D6, $FF, $00, $FD ; CPU:$DEC5 PRG:1EC5 FF 00 FD 02 D4 FF 03 FD 03 CB CC D5 D6 FF 00 FD
|
|
.byte $02, $D7, $D8, $D9, $FD, $03, $D0, $FD, $42, $D7, $D8, $FD, $02, $DA, $FD, $03 ; CPU:$DED5 PRG:1ED5 02 D7 D8 D9 FD 03 D0 FD 42 D7 D8 FD 02 DA FD 03
|
|
.byte $D3, $FF, $01, $FD, $03, $D1, $FD, $43, $D1, $FF, $03, $FD, $02, $C9, $CA, $FF ; CPU:$DEE5 PRG:1EE5 D3 FF 01 FD 03 D1 FD 43 D1 FF 03 FD 02 C9 CA FF
|
|
.byte $00, $FD, $02, $D4, $FF, $03, $FD, $03, $CB, $CC, $D5, $D6, $FF, $02, $FD, $03 ; CPU:$DEF5 PRG:1EF5 00 FD 02 D4 FF 03 FD 03 CB CC D5 D6 FF 02 FD 03
|
|
.byte $B3, $B4, $FE, $B9, $BA, $FF, $00, $FD, $02, $BF, $FF, $01, $FD, $03, $FE, $AF ; CPU:$DF05 PRG:1F05 B3 B4 FE B9 BA FF 00 FD 02 BF FF 01 FD 03 FE AF
|
|
.byte $B5, $FD, $02, $BB, $FD, $03, $FE, $B0, $B6, $BC, $AD, $B1, $B7, $BD, $AE, $B2 ; CPU:$DF15 PRG:1F15 B5 FD 02 BB FD 03 FE B0 B6 BC AD B1 B7 BD AE B2
|
|
.byte $B8, $BE, $C0, $FF, $01, $FD, $03, $FE, $FE, $C1, $C2, $C3, $C4, $C5, $C6, $AD ; CPU:$DF25 PRG:1F25 B8 BE C0 FF 01 FD 03 FE FE C1 C2 C3 C4 C5 C6 AD
|
|
.byte $B1, $B7, $C7, $AE, $B2, $B8, $BE, $FE, $C8, $FF, $00, $FD, $02, $C9, $CA, $FF ; CPU:$DF35 PRG:1F35 B1 B7 C7 AE B2 B8 BE FE C8 FF 00 FD 02 C9 CA FF
|
|
.byte $00, $FD, $03, $DB, $DC, $FF, $00, $FD, $02, $DD, $DE, $FD, $03, $DF, $E0, $FF ; CPU:$DF45 PRG:1F45 00 FD 03 DB DC FF 00 FD 02 DD DE FD 03 DF E0 FF
|
|
.byte $01, $FD, $03, $D1, $FD, $43, $D1, $FF, $01, $FD, $42, $DD, $FD, $02, $D4, $FD ; CPU:$DF55 PRG:1F55 01 FD 03 D1 FD 43 D1 FF 01 FD 42 DD FD 02 D4 FD
|
|
.byte $00, $E5, $FD, $01, $E9, $FD, $42, $DE, $FD, $03, $E2, $E6, $FE, $E1, $E3, $FD ; CPU:$DF65 PRG:1F65 00 E5 FD 01 E9 FD 42 DE FD 03 E2 E6 FE E1 E3 FD
|
|
.byte $01, $E7, $FE, $FD, $43, $E0, $FD, $01, $E4, $E8, $FF, $00, $FD, $01, $EA, $FF ; CPU:$DF75 PRG:1F75 01 E7 FE FD 43 E0 FD 01 E4 E8 FF 00 FD 01 EA FF
|
|
.byte $01, $FD, $41, $E9, $FD, $40, $E5, $FD, $42, $D4, $FD, $02, $DD, $FE, $FD, $43 ; CPU:$DF85 PRG:1F85 01 FD 41 E9 FD 40 E5 FD 42 D4 FD 02 DD FE FD 43
|
|
.byte $E6, $E2, $FD, $02, $DE, $FE, $FD, $41, $E7, $FD, $43, $E3, $E1, $FE, $FD, $41 ; CPU:$DF95 PRG:1F95 E6 E2 FD 02 DE FE FD 41 E7 FD 43 E3 E1 FE FD 41
|
|
.byte $E8, $E4, $FD, $03, $E0, $FF, $00, $FD, $41, $EA, $FF, $00, $FD, $01, $EA, $FF ; CPU:$DFA5 PRG:1FA5 E8 E4 FD 03 E0 FF 00 FD 41 EA FF 00 FD 01 EA FF
|
|
.byte $01, $FD, $03, $8A, $8B, $FE, $FE, $8C, $FD, $02, $8D, $8E, $FE, $8F, $90, $91 ; CPU:$DFB5 PRG:1FB5 01 FD 03 8A 8B FE FE 8C FD 02 8D 8E FE 8F 90 91
|
|
.byte $92, $93, $94, $95, $96, $FF, $01, $FD, $03, $97, $FD, $02, $98, $FD, $03, $99 ; CPU:$DFC5 PRG:1FC5 92 93 94 95 96 FF 01 FD 03 97 FD 02 98 FD 03 99
|
|
.byte $FE, $9A, $9B, $9C, $FF, $01, $FD, $03, $52, $53, $54, $FE, $55, $56, $56, $FE ; CPU:$DFD5 PRG:1FD5 FE 9A 9B 9C FF 01 FD 03 52 53 54 FE 55 56 56 FE
|
|
.byte $5A, $5B, $5C, $FE, $61, $62, $63, $FF, $01, $FD, $03, $51, $FF, $02, $FD, $03 ; CPU:$DFE5 PRG:1FE5 5A 5B 5C FE 61 62 63 FF 01 FD 03 51 FF 02 FD 03
|
|
.byte $68, $69, $FF, $00, $FD, $03, $9D, $9E, $FF, $01, $FD, $00, $F2, $F3, $FD, $40 ; CPU:$DFF5 PRG:1FF5 68 69 FF 00 FD 03 9D 9E FF 01 FD 00 F2 F3 FD 40
|
|
.byte $F2, $FE, $FD, $00, $F4, $F5, $FD, $40, $F4, $FF, $00, $FD, $00, $EB, $FF, $00 ; CPU:$E005 PRG:2005 F2 FE FD 00 F4 F5 FD 40 F4 FF 00 FD 00 EB FF 00
|
|
.byte $FD, $40, $EB, $FF, $00, $FD, $00, $F3, $FF, $00, $FD, $00, $F5, $FF, $01, $FD ; CPU:$E015 PRG:2015 FD 40 EB FF 00 FD 00 F3 FF 00 FD 00 F5 FF 01 FD
|
|
.byte $00, $EC, $FF, $01, $FD, $40, $EC, $FF, $01, $FD, $00, $EF, $FF, $00, $FD, $00 ; CPU:$E025 PRG:2025 00 EC FF 01 FD 40 EC FF 01 FD 00 EF FF 00 FD 00
|
|
.byte $F0, $FF, $00, $FD, $00, $F1, $FF, $01, $FD, $00, $ED, $EE, $FF, $23, $00, $60 ; CPU:$E035 PRG:2035 F0 FF 00 FD 00 F1 FF 01 FD 00 ED EE FF 23 00 60
|
|
.byte $50, $23, $20, $60, $50, $23, $40, $60, $50, $23, $60, $60, $50, $23, $80, $60 ; CPU:$E045 PRG:2045 50 23 20 60 50 23 40 60 50 23 60 60 50 23 80 60
|
|
.byte $50, $23, $A0, $60, $50, $22, $40, $20, $3D, $3E, $3F, $40, $56, $57, $D1, $D2 ; CPU:$E055 PRG:2055 50 23 A0 60 50 22 40 20 3D 3E 3F 40 56 57 D1 D2
|
|
.byte $3A, $3B, $3C, $3D, $3E, $3F, $40, $39, $3A, $3B, $3C, $3D, $3E, $3F, $40, $D2 ; CPU:$E065 PRG:2065 3A 3B 3C 3D 3E 3F 40 39 3A 3B 3C 3D 3E 3F 40 D2
|
|
.byte $30, $31, $32, $33, $39, $3A, $3B, $3C, $22, $60, $20, $95, $96, $97, $98, $58 ; CPU:$E075 PRG:2075 30 31 32 33 39 3A 3B 3C 22 60 20 95 96 97 98 58
|
|
.byte $59, $5A, $5B, $92, $93, $94, $95, $96, $97, $98, $91, $92, $93, $94, $95, $96 ; CPU:$E085 PRG:2085 59 5A 5B 92 93 94 95 96 97 98 91 92 93 94 95 96
|
|
.byte $97, $98, $5B, $34, $35, $36, $37, $91, $92, $93, $94, $22, $80, $20, $46, $45 ; CPU:$E095 PRG:2095 97 98 5B 34 35 36 37 91 92 93 94 22 80 20 46 45
|
|
.byte $48, $46, $46, $45, $46, $48, $42, $43, $44, $46, $45, $48, $46, $41, $42, $43 ; CPU:$E0A5 PRG:20A5 48 46 46 45 46 48 42 43 44 46 45 48 46 41 42 43
|
|
.byte $44, $46, $45, $48, $46, $48, $38, $45, $46, $46, $41, $42, $43, $44, $22, $A0 ; CPU:$E0B5 PRG:20B5 44 46 45 48 46 48 38 45 46 46 41 42 43 44 22 A0
|
|
.byte $60, $46, $22, $A4, $01, $48, $22, $A8, $01, $47, $22, $AA, $01, $48, $22, $B0 ; CPU:$E0C5 PRG:20C5 60 46 22 A4 01 48 22 A8 01 47 22 AA 01 48 22 B0
|
|
.byte $01, $47, $22, $B2, $01, $48, $22, $BA, $01, $48, $22, $C0, $20, $4C, $4D, $4E ; CPU:$E0D5 PRG:20D5 01 47 22 B2 01 48 22 BA 01 48 22 C0 20 4C 4D 4E
|
|
.byte $4F, $49, $4A, $4B, $49, $4C, $4D, $4E, $4F, $4D, $4E, $4F, $49, $4A, $4B, $49 ; CPU:$E0E5 PRG:20E5 4F 49 4A 4B 49 4C 4D 4E 4F 4D 4E 4F 49 4A 4B 49
|
|
.byte $4C, $4D, $4E, $4F, $49, $49, $4A, $4B, $49, $4C, $4D, $4E, $4F, $22, $E0, $20 ; CPU:$E0F5 PRG:20F5 4C 4D 4E 4F 49 49 4A 4B 49 4C 4D 4E 4F 22 E0 20
|
|
.byte $52, $50, $53, $50, $50, $51, $50, $50, $52, $50, $53, $50, $50, $53, $50, $50 ; CPU:$E105 PRG:2105 52 50 53 50 50 51 50 50 52 50 53 50 50 53 50 50
|
|
.byte $51, $50, $50, $52, $50, $53, $50, $50, $50, $51, $50, $50, $52, $50, $53, $50 ; CPU:$E115 PRG:2115 51 50 50 52 50 53 50 50 50 51 50 50 52 50 53 50
|
|
.byte $23, $00, $01, $52, $23, $02, $02, $54, $52, $23, $0A, $02, $54, $52, $23, $0D ; CPU:$E125 PRG:2125 23 00 01 52 23 02 02 54 52 23 0A 02 54 52 23 0D
|
|
.byte $02, $54, $52, $23, $0F, $02, $54, $52, $23, $15, $02, $54, $52, $23, $1E, $02 ; CPU:$E135 PRG:2135 02 54 52 23 0F 02 54 52 23 15 02 54 52 23 1E 02
|
|
.byte $54, $52, $21, $F9, $03, $28, $29, $2A, $22, $19, $03, $2B, $46, $2C, $22, $38 ; CPU:$E145 PRG:2145 54 52 21 F9 03 28 29 2A 22 19 03 2B 46 2C 22 38
|
|
.byte $04, $2D, $2E, $46, $2F, $20, $81, $04, $5C, $5D, $5E, $5F, $20, $A1, $05, $60 ; CPU:$E155 PRG:2155 04 2D 2E 46 2F 20 81 04 5C 5D 5E 5F 20 A1 05 60
|
|
.byte $61, $46, $62, $63, $20, $C1, $05, $64, $65, $66, $67, $68, $20, $E3, $05, $69 ; CPU:$E165 PRG:2165 61 46 62 63 20 C1 05 64 65 66 67 68 20 E3 05 69
|
|
.byte $74, $75, $76, $6A, $21, $03, $05, $6B, $6C, $7C, $6D, $6E, $21, $23, $05, $6F ; CPU:$E175 PRG:2175 74 75 76 6A 21 03 05 6B 6C 7C 6D 6E 21 23 05 6F
|
|
.byte $70, $71, $72, $73, $21, $40, $07, $74, $75, $76, $77, $78, $79, $7A, $21, $60 ; CPU:$E185 PRG:2185 70 71 72 73 21 40 07 74 75 76 77 78 79 7A 21 60
|
|
.byte $09, $7B, $7C, $7D, $7E, $7F, $80, $5D, $5E, $5F, $21, $81, $09, $81, $82, $83 ; CPU:$E195 PRG:2195 09 7B 7C 7D 7E 7F 80 5D 5E 5F 21 81 09 81 82 83
|
|
.byte $84, $60, $61, $46, $62, $63, $21, $A3, $07, $85, $86, $64, $87, $88, $67, $68 ; CPU:$E1A5 PRG:21A5 84 60 61 46 62 63 21 A3 07 85 86 64 87 88 67 68
|
|
.byte $21, $C3, $04, $89, $8A, $8B, $8C, $21, $E4, $02, $8D, $8E, $22, $04, $02, $8F ; CPU:$E1B5 PRG:21B5 21 C3 04 89 8A 8B 8C 21 E4 02 8D 8E 22 04 02 8F
|
|
.byte $90, $22, $24, $02, $8F, $55, $23, $03, $02, $1B, $27, $23, $23, $5B, $E3, $23 ; CPU:$E1C5 PRG:21C5 90 22 24 02 8F 55 23 03 02 1B 27 23 23 5B E3 23
|
|
.byte $22, $06, $E2, $E3, $E3, $E3, $E4, $E2, $23, $36, $02, $E4, $E2, $23, $3E, $01 ; CPU:$E1D5 PRG:21D5 22 06 E2 E3 E3 E3 E4 E2 23 36 02 E4 E2 23 3E 01
|
|
.byte $E4, $23, $48, $56, $B7, $23, $42, $06, $E5, $D9, $D9, $D9, $E7, $E5, $23, $4C ; CPU:$E1E5 PRG:21E5 E4 23 48 56 B7 23 42 06 E5 D9 D9 D9 E7 E5 23 4C
|
|
.byte $4A, $D6, $23, $56, $02, $E7, $E5, $23, $5E, $01, $E7, $23, $58, $46, $00, $23 ; CPU:$E1F5 PRG:21F5 4A D6 23 56 02 E7 E5 23 5E 01 E7 23 58 46 00 23
|
|
.byte $68, $56, $B7, $23, $62, $06, $E5, $DA, $DB, $DC, $E7, $E5, $23, $76, $02, $E7 ; CPU:$E205 PRG:2205 68 56 B7 23 62 06 E5 DA DB DC E7 E5 23 76 02 E7
|
|
.byte $E5, $23, $7E, $01, $E7, $23, $79, $05, $1C, $0C, $18, $1B, $0E, $23, $83, $5B ; CPU:$E215 PRG:2215 E5 23 7E 01 E7 23 79 05 1C 0C 18 1B 0E 23 83 5B
|
|
.byte $E9, $23, $82, $01, $E8, $23, $86, $02, $EA, $E8, $23, $96, $02, $EA, $E8, $23 ; CPU:$E225 PRG:2225 E9 23 82 01 E8 23 86 02 EA E8 23 96 02 EA E8 23
|
|
.byte $9E, $01, $EA, $23, $C0, $60, $00, $23, $CA, $04, $CC, $FF, $FF, $FF, $23, $D2 ; CPU:$E235 PRG:2235 9E 01 EA 23 C0 60 00 23 CA 04 CC FF FF FF 23 D2
|
|
.byte $04, $CC, $FF, $FF, $FF, $23, $E0, $48, $50, $23, $E1, $01, $40, $23, $E8, $48 ; CPU:$E245 PRG:2245 04 CC FF FF FF 23 E0 48 50 23 E1 01 40 23 E8 48
|
|
.byte $A5, $23, $F0, $08, $AA, $AA, $AA, $FA, $FA, $BA, $FA, $BA, $23, $F8, $48, $0A ; CPU:$E255 PRG:2255 A5 23 F0 08 AA AA AA FA FA BA FA BA 23 F8 48 0A
|
|
.byte $23, $48, $03, $11, $12, $1D, $00, $22, $20, $60, $B6, $22, $40, $60, $B5, $22 ; CPU:$E265 PRG:2265 23 48 03 11 12 1D 00 22 20 60 B6 22 40 60 B5 22
|
|
.byte $60, $60, $B5, $22, $80, $60, $B5, $22, $A0, $60, $B5, $22, $C0, $60, $B5, $22 ; CPU:$E275 PRG:2275 60 60 B5 22 80 60 B5 22 A0 60 B5 22 C0 60 B5 22
|
|
.byte $E0, $60, $B5, $23, $00, $60, $B5, $21, $85, $05, $AC, $AD, $AE, $C1, $C2, $21 ; CPU:$E285 PRG:2285 E0 60 B5 23 00 60 B5 21 85 05 AC AD AE C1 C2 21
|
|
.byte $A4, $07, $AF, $B0, $B5, $B5, $C3, $C4, $C5, $21, $B0, $04, $EC, $B4, $B8, $B9 ; CPU:$E295 PRG:2295 A4 07 AF B0 B5 B5 C3 C4 C5 21 B0 04 EC B4 B8 B9
|
|
.byte $21, $C2, $0B, $B1, $B2, $B5, $B5, $B5, $B5, $B5, $C6, $C7, $C8, $C9, $21, $CE ; CPU:$E2A5 PRG:22A5 21 C2 0B B1 B2 B5 B5 B5 B5 B5 C6 C7 C8 C9 21 CE
|
|
.byte $0F, $CA, $B4, $B5, $B5, $B5, $ED, $BA, $BB, $BC, $B3, $EB, $B0, $BE, $BB, $BF ; CPU:$E2B5 PRG:22B5 0F CA B4 B5 B5 B5 ED BA BB BC B3 EB B0 BE BB BF
|
|
.byte $21, $E2, $59, $B5, $21, $E0, $02, $B3, $B4, $21, $EB, $04, $CB, $C4, $CC, $CD ; CPU:$E2C5 PRG:22C5 21 E2 59 B5 21 E0 02 B3 B4 21 EB 04 CB C4 CC CD
|
|
.byte $21, $F5, $01, $BD, $21, $FB, $05, $BD, $CB, $C4, $C8, $BB, $22, $00, $5D, $B5 ; CPU:$E2D5 PRG:22D5 21 F5 01 BD 21 FB 05 BD CB C4 C8 BB 22 00 5D B5
|
|
.byte $22, $0D, $03, $CE, $CF, $D0, $22, $1D, $03, $C3, $C0, $C0, $22, $60, $06, $99 ; CPU:$E2E5 PRG:22E5 22 0D 03 CE CF D0 22 1D 03 C3 C0 C0 22 60 06 99
|
|
.byte $9A, $9B, $9C, $99, $9A, $22, $80, $06, $9D, $9E, $9F, $A0, $9D, $9E, $22, $A0 ; CPU:$E2F5 PRG:22F5 9A 9B 9C 99 9A 22 80 06 9D 9E 9F A0 9D 9E 22 A0
|
|
.byte $06, $A1, $A2, $A3, $A4, $A1, $A2, $22, $C0, $06, $A5, $A6, $A5, $A7, $A5, $A6 ; CPU:$E305 PRG:2305 06 A1 A2 A3 A4 A1 A2 22 C0 06 A5 A6 A5 A7 A5 A6
|
|
.byte $22, $47, $84, $9B, $9F, $A3, $A5, $22, $48, $84, $9C, $A0, $A4, $A6, $22, $4A ; CPU:$E315 PRG:2315 22 47 84 9B 9F A3 A5 22 48 84 9C A0 A4 A6 22 4A
|
|
.byte $02, $A8, $A9, $22, $6A, $02, $AA, $AB, $22, $58, $05, $A8, $A9, $A8, $A8, $A8 ; CPU:$E325 PRG:2325 02 A8 A9 22 6A 02 AA AB 22 58 05 A8 A9 A8 A8 A8
|
|
.byte $22, $77, $06, $A8, $AA, $AB, $AA, $AA, $AA, $22, $74, $82, $A9, $AB, $22, $97 ; CPU:$E335 PRG:2335 22 77 06 A8 AA AB AA AA AA 22 74 82 A9 AB 22 97
|
|
.byte $01, $AA, $22, $BA, $04, $99, $9A, $9B, $9C, $22, $DA, $04, $9D, $9E, $9F, $A0 ; CPU:$E345 PRG:2345 01 AA 22 BA 04 99 9A 9B 9C 22 DA 04 9D 9E 9F A0
|
|
.byte $22, $FA, $04, $A1, $A2, $A3, $A4, $23, $20, $60, $C0, $23, $40, $60, $C0, $23 ; CPU:$E355 PRG:2355 22 FA 04 A1 A2 A3 A4 23 20 60 C0 23 40 60 C0 23
|
|
.byte $60, $60, $C0, $23, $80, $60, $C0, $23, $A0, $60, $C0, $23, $00, $60, $DD, $23 ; CPU:$E365 PRG:2365 60 60 C0 23 80 60 C0 23 A0 60 C0 23 00 60 DD 23
|
|
.byte $08, $50, $DF, $23, $07, $01, $DE, $23, $18, $01, $E0, $23, $28, $56, $E3, $23 ; CPU:$E375 PRG:2375 08 50 DF 23 07 01 DE 23 18 01 E0 23 28 56 E3 23
|
|
.byte $48, $56, $B7, $23, $68, $56, $B7, $23, $88, $56, $E9, $23, $58, $46, $00, $23 ; CPU:$E385 PRG:2385 48 56 B7 23 68 56 B7 23 88 56 E9 23 58 46 00 23
|
|
.byte $22, $06, $E2, $E3, $E3, $E3, $E4, $E2, $23, $42, $06, $E5, $D9, $D9, $D9, $E7 ; CPU:$E395 PRG:2395 22 06 E2 E3 E3 E3 E4 E2 23 42 06 E5 D9 D9 D9 E7
|
|
.byte $E5, $23, $62, $06, $E5, $DA, $DB, $DC, $E7, $E5, $23, $82, $06, $E8, $E9, $E9 ; CPU:$E3A5 PRG:23A5 E5 23 62 06 E5 DA DB DC E7 E5 23 82 06 E8 E9 E9
|
|
.byte $E9, $EA, $E8, $23, $4C, $4A, $D4, $23, $03, $02, $1B, $27, $23, $36, $84, $E4 ; CPU:$E3B5 PRG:23B5 E9 EA E8 23 4C 4A D4 23 03 02 1B 27 23 36 84 E4
|
|
.byte $E7, $E7, $EA, $23, $37, $84, $E2, $E5, $E5, $E8, $23, $3E, $84, $E4, $E7, $E7 ; CPU:$E3C5 PRG:23C5 E7 E7 EA 23 37 84 E2 E5 E5 E8 23 3E 84 E4 E7 E7
|
|
.byte $EA, $23, $79, $05, $1C, $0C, $18, $1B, $0E, $23, $C0, $60, $00, $23, $C8, $50 ; CPU:$E3D5 PRG:23D5 EA 23 79 05 1C 0C 18 1B 0E 23 C0 60 00 23 C8 50
|
|
.byte $FF, $23, $E0, $48, $50, $23, $E8, $48, $55, $23, $F0, $08, $AA, $AA, $AA, $FA ; CPU:$E3E5 PRG:23E5 FF 23 E0 48 50 23 E8 48 55 23 F0 08 AA AA AA FA
|
|
.byte $FA, $BA, $FA, $BA, $23, $F8, $48, $0A, $23, $48, $03, $11, $12, $1D, $00, $20 ; CPU:$E3F5 PRG:23F5 FA BA FA BA 23 F8 48 0A 23 48 03 11 12 1D 00 20
|
|
.byte $64, $53, $B7, $20, $84, $53, $B7, $20, $A4, $53, $B7, $20, $C4, $53, $B7, $20 ; CPU:$E405 PRG:2405 64 53 B7 20 84 53 B7 20 A4 53 B7 20 C4 53 B7 20
|
|
.byte $E4, $53, $B7, $20, $86, $82, $F5, $F4, $20, $67, $85, $F0, $B7, $B7, $B7, $F1 ; CPU:$E415 PRG:2415 E4 53 B7 20 86 82 F5 F4 20 67 85 F0 B7 B7 B7 F1
|
|
.byte $20, $68, $C5, $24, $20, $6B, $83, $24, $24, $F4, $20, $E9, $04, $F3, $B7, $B7 ; CPU:$E425 PRG:2425 20 68 C5 24 20 6B 83 24 24 F4 20 E9 04 F3 B7 B7
|
|
.byte $F1, $20, $6D, $C5, $24, $20, $6E, $04, $F2, $B7, $B7, $F0, $20, $EE, $04, $F3 ; CPU:$E435 PRG:2435 F1 20 6D C5 24 20 6E 04 F2 B7 B7 F0 20 EE 04 F3
|
|
.byte $B7, $B7, $F1, $20, $90, $02, $F5, $F6, $20, $B0, $02, $F4, $F7, $20, $72, $C5 ; CPU:$E445 PRG:2445 B7 B7 F1 20 90 02 F5 F6 20 B0 02 F4 F7 20 72 C5
|
|
.byte $24, $20, $75, $85, $24, $F8, $B7, $F9, $24, $20, $96, $82, $F1, $F0, $21, $24 ; CPU:$E455 PRG:2455 24 20 75 85 24 F8 B7 F9 24 20 96 82 F1 F0 21 24
|
|
.byte $58, $FB, $21, $49, $53, $B7, $21, $69, $52, $B7, $21, $89, $52, $B7, $21, $A9 ; CPU:$E465 PRG:2465 58 FB 21 49 53 B7 21 69 52 B7 21 89 52 B7 21 A9
|
|
.byte $52, $B7, $21, $C9, $52, $B7, $21, $4B, $85, $24, $FA, $B7, $24, $24, $21, $4D ; CPU:$E475 PRG:2475 52 B7 21 C9 52 B7 21 4B 85 24 FA B7 24 24 21 4D
|
|
.byte $C5, $24, $21, $CE, $04, $F3, $B7, $B7, $F1, $21, $50, $83, $24, $24, $F4, $21 ; CPU:$E485 PRG:2485 C5 24 21 CE 04 F3 B7 B7 F1 21 50 83 24 24 F4 21
|
|
.byte $52, $C5, $24, $21, $55, $85, $24, $F0, $B7, $F9, $24, $21, $57, $C5, $24, $21 ; CPU:$E495 PRG:2495 52 C5 24 21 55 85 24 F0 B7 F9 24 21 57 C5 24 21
|
|
.byte $78, $C4, $24, $21, $7B, $C4, $24, $22, $28, $0F, $10, $0A, $16, $0E, $24, $0A ; CPU:$E4A5 PRG:24A5 78 C4 24 21 7B C4 24 22 28 0F 10 0A 16 0E 24 0A
|
|
.byte $24, $24, $24, $01, $24, $0D, $1E, $0C, $14, $22, $68, $10, $10, $0A, $16, $0E ; CPU:$E4B5 PRG:24B5 24 24 24 01 24 0D 1E 0C 14 22 68 10 10 0A 16 0E
|
|
.byte $24, $0B, $24, $24, $24, $02, $24, $0D, $1E, $0C, $14, $1C, $22, $A8, $16, $10 ; CPU:$E4C5 PRG:24C5 24 0B 24 24 24 02 24 0D 1E 0C 14 1C 22 A8 16 10
|
|
.byte $0A, $16, $0E, $24, $0C, $24, $24, $24, $0C, $15, $0A, $22, $24, $1C, $11, $18 ; CPU:$E4D5 PRG:24D5 0A 16 0E 24 0C 24 24 24 0C 15 0A 22 24 1C 11 18
|
|
.byte $18, $1D, $12, $17, $10, $23, $07, $0B, $1D, $18, $19, $24, $1C, $0C, $18, $1B ; CPU:$E4E5 PRG:24E5 18 1D 12 17 10 23 07 0B 1D 18 19 24 1C 0C 18 1B
|
|
.byte $0E, $24, $27, $23, $45, $16, $25, $01, $09, $08, $04, $24, $17, $12, $17, $1D ; CPU:$E4F5 PRG:24F5 0E 24 27 23 45 16 25 01 09 08 04 24 17 12 17 1D
|
|
.byte $0E, $17, $0D, $18, $24, $0C, $18, $EE, $15, $1D, $0D, $EF, $23, $C0, $60, $00 ; CPU:$E505 PRG:2505 0E 17 0D 18 24 0C 18 EE 15 1D 0D EF 23 C0 60 00
|
|
.byte $23, $E0, $42, $55, $23, $E2, $46, $FF, $23, $EA, $46, $FF, $23, $F0, $48, $5A ; CPU:$E515 PRG:2515 23 E0 42 55 23 E2 46 FF 23 EA 46 FF 23 F0 48 5A
|
|
SpriteOffsetTable: ; SpriteOffsetTable at $E532
|
|
.byte $23, $F8, $48, $00, $23, $E1, $01, $55, $23, $E9, $01, $55, $00, $40, $E5, $58 ; CPU:$E525 PRG:2525 23 F8 48 00 23 E1 01 55 23 E9 01 55 00 40 E5 58
|
|
.byte $E5, $7C, $E5, $A0, $E5, $A9, $E5, $C7, $E5, $B4, $E5, $3F, $00, $10, $0F, $2C ; CPU:$E535 PRG:2535 E5 7C E5 A0 E5 A9 E5 C7 E5 B4 E5 3F 00 10 0F 2C
|
|
.byte $27, $0F, $0F, $0F, $30, $30, $0F, $0F, $2A, $2A, $0F, $0F, $27, $27, $3F, $10 ; CPU:$E545 PRG:2545 27 0F 0F 0F 30 30 0F 0F 2A 2A 0F 0F 27 27 3F 10
|
|
.byte $50, $0F, $00, $3F, $00, $20, $21, $07, $29, $0A, $21, $30, $29, $0A, $21, $0F ; CPU:$E555 PRG:2555 50 0F 00 3F 00 20 21 07 29 0A 21 30 29 0A 21 0F
|
|
.byte $29, $18, $21, $0F, $30, $16, $21, $30, $0A, $0F, $21, $30, $26, $0F, $21, $30 ; CPU:$E565 PRG:2565 29 18 21 0F 30 16 21 30 0A 0F 21 30 26 0F 21 30
|
|
.byte $17, $0F, $21, $07, $17, $0F, $00, $3F, $00, $20, $2C, $29, $19, $09, $2C, $07 ; CPU:$E575 PRG:2575 17 0F 21 07 17 0F 00 3F 00 20 2C 29 19 09 2C 07
|
|
.byte $29, $1A, $2C, $0F, $29, $10, $2C, $0F, $30, $16, $2C, $30, $0F, $0F, $2C, $30 ; CPU:$E585 PRG:2585 29 1A 2C 0F 29 10 2C 0F 30 16 2C 30 0F 0F 2C 30
|
|
.byte $16, $07, $2C, $30, $17, $0F, $2C, $07, $17, $0F, $00, $3F, $00, $60, $0F, $3F ; CPU:$E595 PRG:2595 16 07 2C 30 17 0F 2C 07 17 0F 00 3F 00 60 0F 3F
|
|
.byte $03, $01, $30, $00, $3F, $00, $60, $0F, $3F, $11, $03, $30, $30, $30, $00, $3F ; CPU:$E5A5 PRG:25A5 03 01 30 00 3F 00 60 0F 3F 11 03 30 30 30 00 3F
|
|
.byte $10, $10, $21, $30, $0A, $0F, $21, $30, $26, $0F, $21, $30, $17, $0F, $21, $07 ; CPU:$E5B5 PRG:25B5 10 10 21 30 0A 0F 21 30 26 0F 21 30 17 0F 21 07
|
|
SpritePosTable: ; SpritePosTable at $E5DB
|
|
GameInitData: ; GameInitData at $E5DF
|
|
.byte $17, $0F, $3F, $00, $10, $21, $07, $29, $0A, $21, $30, $29, $0A, $21, $0F, $29 ; CPU:$E5C5 PRG:25C5 17 0F 3F 00 10 21 07 29 0A 21 30 29 0A 21 0F 29
|
|
ControllerTable: ; ControllerTable at $E60B
|
|
.byte $18, $21, $0F, $30, $16, $00, $23, $58, $06, $00, $00, $01, $20, $00, $00, $01 ; CPU:$E5D5 PRG:25D5 18 21 0F 30 16 00 23 58 06 00 00 01 20 00 00 01
|
|
.byte $20, $00, $00, $01, $20, $00, $01, $01, $A8, $80, $00, $00, $00, $3F, $01, $00 ; CPU:$E5E5 PRG:25E5 20 00 00 01 20 00 01 01 A8 80 00 00 00 3F 01 00
|
|
.byte $03, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 ; CPU:$E5F5 PRG:25F5 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
.byte $00, $03, $00, $00, $00, $00, $76, $ED, $98, $ED, $B0, $ED, $BC, $ED, $D4, $ED ; CPU:$E605 PRG:2605 00 03 00 00 00 00 76 ED 98 ED B0 ED BC ED D4 ED
|
|
SpritesTable: ; SpritesTable at $E661
|
|
.byte $FA, $ED, $1A, $EE, $34, $EE, $4C, $EE, $68, $EE, $82, $EE, $96, $EE, $B8, $EE ; CPU:$E615 PRG:2615 FA ED 1A EE 34 EE 4C EE 68 EE 82 EE 96 EE B8 EE
|
|
.byte $D0, $EE, $F4, $EE, $0E, $EF, $2A, $EF, $2D, $EF, $30, $EF, $33, $EF, $36, $EF ; CPU:$E625 PRG:2625 D0 EE F4 EE 0E EF 2A EF 2D EF 30 EF 33 EF 36 EF
|
|
.byte $39, $EF, $3C, $EF, $3F, $EF, $42, $EF, $45, $EF, $48, $EF, $4B, $EF, $4E, $EF ; CPU:$E635 PRG:2635 39 EF 3C EF 3F EF 42 EF 45 EF 48 EF 4B EF 4E EF
|
|
.byte $51, $EF, $54, $EF, $57, $EF, $00, $03, $10, $17, $24, $27, $34, $3B, $48, $4B ; CPU:$E645 PRG:2645 51 EF 54 EF 57 EF 00 03 10 17 24 27 34 3B 48 4B
|
|
.byte $58, $5F, $6C, $6F, $7C, $83, $90, $95, $98, $9B, $9E, $A1, $FF, $00, $AA, $FF ; CPU:$E655 PRG:2655 58 5F 6C 6F 7C 83 90 95 98 9B 9E A1 FF 00 AA FF
|
|
.byte $01, $FF, $00, $FF, $00, $FF, $01, $FF, $00, $00, $00, $AA, $FF, $01, $FF, $01 ; CPU:$E665 PRG:2665 01 FF 00 FF 00 FF 01 FF 00 00 00 AA FF 01 FF 01
|
|
.byte $00, $00, $AA, $00, $01, $FF, $01, $00, $01, $FF, $01, $00, $01, $00, $00, $AA ; CPU:$E675 PRG:2675 00 00 AA 00 01 FF 01 00 01 FF 01 00 01 00 00 AA
|
|
.byte $00, $01, $AA, $00, $01, $01, $01, $00, $01, $01, $01, $00, $01, $00, $00, $AA ; CPU:$E685 PRG:2685 00 01 AA 00 01 01 01 00 01 01 01 00 01 00 00 AA
|
|
.byte $01, $01, $01, $01, $00, $00, $AA, $01, $01, $01, $00, $01, $00, $01, $01, $01 ; CPU:$E695 PRG:2695 01 01 01 01 00 00 AA 01 01 01 00 01 00 01 01 01
|
|
.byte $00, $00, $00, $AA, $01, $00, $AA, $01, $FF, $01, $00, $01, $00, $01, $FF, $01 ; CPU:$E6A5 PRG:26A5 00 00 00 AA 01 00 AA 01 FF 01 00 01 00 01 FF 01
|
|
.byte $00, $00, $00, $AA, $01, $FF, $01, $FF, $00, $00, $AA, $00, $FF, $01, $FF, $00 ; CPU:$E6B5 PRG:26B5 00 00 00 AA 01 FF 01 FF 00 00 AA 00 FF 01 FF 00
|
|
.byte $FF, $01, $FF, $00, $FF, $00, $00, $AA, $00, $FF, $AA, $00, $FF, $FF, $FF, $00 ; CPU:$E6C5 PRG:26C5 FF 01 FF 00 FF 00 00 AA 00 FF AA 00 FF FF FF 00
|
|
.byte $FF, $FF, $FF, $00, $FF, $00, $00, $AA, $FF, $FF, $FF, $FF, $00, $00, $AA, $FF ; CPU:$E6D5 PRG:26D5 FF FF FF 00 FF 00 00 AA FF FF FF FF 00 00 AA FF
|
|
.byte $FF, $FF, $00, $FF, $00, $FF, $FF, $FF, $00, $00, $00, $AA, $02, $01, $02, $FF ; CPU:$E6E5 PRG:26E5 FF FF 00 FF 00 FF FF FF 00 00 00 AA 02 01 02 FF
|
|
SpriteDataTable5: ; SpriteDataTable5 at $E73C
|
|
.byte $AA, $FF, $FE, $AA, $FE, $FF, $AA, $FE, $00, $AA, $FE, $01, $AA, $FF, $02, $AA ; CPU:$E6F5 PRG:26F5 AA FF FE AA FE FF AA FE 00 AA FE 01 AA FF 02 AA
|
|
.byte $02, $00, $02, $01, $04, $02, $FE, $02, $03, $02, $04, $04, $05, $FE, $14, $09 ; CPU:$E705 PRG:2705 02 00 02 01 04 02 FE 02 03 02 04 04 05 FE 14 09
|
|
SpriteDataTable4: ; SpriteDataTable4 at $E75A
|
|
.byte $FF, $06, $01, $04, $0A, $04, $0B, $FE, $02, $06, $02, $07, $04, $08, $FE, $21 ; CPU:$E715 PRG:2715 FF 06 01 04 0A 04 0B FE 02 06 02 07 04 08 FE 21
|
|
SpriteDataTable3: ; SpriteDataTable3 at $E766
|
|
.byte $30, $0A, $0F, $21, $30, $26, $0F, $21, $30, $14, $02, $21, $30, $26, $02, $21 ; CPU:$E725 PRG:2725 30 0A 0F 21 30 26 0F 21 30 14 02 21 30 26 02 21
|
|
.byte $30, $0F, $05, $21, $30, $26, $05, $04, $08, $0C, $08, $0C, $10, $08, $0C, $10 ; CPU:$E735 PRG:2735 30 0F 05 21 30 26 05 04 08 0C 08 0C 10 08 0C 10
|
|
.byte $0C, $10, $14, $10, $14, $18, $10, $14, $18, $14, $18, $1C, $14, $1C, $1C, $18 ; CPU:$E745 PRG:2745 0C 10 14 10 14 18 10 14 18 14 18 1C 14 1C 1C 18
|
|
.byte $1C, $1C, $1C, $1C, $20, $10, $14, $14, $18, $18, $1C, $1C, $20, $20, $24, $24 ; CPU:$E755 PRG:2755 1C 1C 1C 1C 20 10 14 14 18 18 1C 1C 20 20 24 24
|
|
.byte $28, $00, $01, $10, $11, $12, $20, $21, $22, $01, $01, $AC, $18, $00, $00, $00 ; CPU:$E765 PRG:2765 28 00 01 10 11 12 20 21 22 01 01 AC 18 00 00 00
|
|
.byte $BF, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $60, $00 ; CPU:$E775 PRG:2775 BF 00 00 00 00 00 00 00 00 00 00 00 00 00 60 00
|
|
.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $06, $0C, $06, $0D, $06, $0E, $06 ; CPU:$E785 PRG:2785 00 00 00 00 00 00 00 00 00 06 0C 06 0D 06 0E 06
|
|
.byte $0F, $FE, $00, $08, $0C, $08, $10, $08, $0C, $08, $10, $08, $0C, $08, $10, $FF ; CPU:$E795 PRG:2795 0F FE 00 08 0C 08 10 08 0C 08 10 08 0C 08 10 FF
|
|
.byte $02, $01, $10, $11, $FF, $08, $01, $90, $03, $12, $83, $01, $12, $83, $01, $12 ; CPU:$E7A5 PRG:27A5 02 01 10 11 FF 08 01 90 03 12 83 01 12 83 01 12
|
|
.byte $83, $01, $12, $83, $01, $12, $82, $01, $12, $82, $01, $12, $82, $01, $12, $82 ; CPU:$E7B5 PRG:27B5 83 01 12 83 01 12 82 01 12 82 01 12 82 01 12 82
|
|
.byte $01, $12, $81, $01, $12, $82, $01, $12, $81, $01, $12, $81, $01, $12, $81, $01 ; CPU:$E7C5 PRG:27C5 01 12 81 01 12 82 01 12 81 01 12 81 01 12 81 01
|
|
.byte $12, $81, $01, $12, $81, $01, $12, $81, $01, $12, $84, $01, $13, $00, $01, $13 ; CPU:$E7D5 PRG:27D5 12 81 01 12 81 01 12 81 01 12 84 01 13 00 01 13
|
|
.byte $81, $01, $13, $00, $01, $13, $81, $01, $13, $00, $01, $13, $00, $01, $13, $00 ; CPU:$E7E5 PRG:27E5 81 01 13 00 01 13 81 01 13 00 01 13 00 01 13 00
|
|
.byte $01, $13, $81, $01, $13, $FD, $00, $01, $13, $00, $01, $13, $00, $01, $13, $00 ; CPU:$E7F5 PRG:27F5 01 13 81 01 13 FD 00 01 13 00 01 13 00 01 13 00
|
|
.byte $01, $13, $01, $01, $13, $00, $01, $13, $01, $01, $13, $00, $01, $13, $01, $01 ; CPU:$E805 PRG:2805 01 13 01 01 13 00 01 13 01 01 13 00 01 13 01 01
|
|
.byte $13, $01, $01, $13, $01, $01, $13, $02, $01, $13, $02, $01, $13, $02, $01, $13 ; CPU:$E815 PRG:2815 13 01 01 13 01 01 13 02 01 13 02 01 13 02 01 13
|
|
.byte $03, $01, $13, $03, $01, $13, $04, $00, $13, $04, $00, $13, $05, $00, $13, $05 ; CPU:$E825 PRG:2825 03 01 13 03 01 13 04 00 13 04 00 13 05 00 13 05
|
|
.byte $00, $13, $05, $00, $13, $05, $00, $13, $05, $00, $13, $05, $00, $13, $FF, $0E ; CPU:$E835 PRG:2835 00 13 05 00 13 05 00 13 05 00 13 05 00 13 FF 0E
|
|
.byte $00, $04, $81, $16, $04, $81, $17, $04, $81, $16, $04, $81, $17, $04, $81, $16 ; CPU:$E845 PRG:2845 00 04 81 16 04 81 17 04 81 16 04 81 17 04 81 16
|
|
.byte $04, $81, $17, $04, $81, $16, $04, $81, $17, $04, $81, $16, $04, $81, $17, $04 ; CPU:$E855 PRG:2855 04 81 17 04 81 16 04 81 17 04 81 16 04 81 17 04
|
|
.byte $80, $16, $04, $80, $17, $04, $80, $16, $04, $80, $17, $04, $80, $16, $04, $80 ; CPU:$E865 PRG:2865 80 16 04 80 17 04 80 16 04 80 17 04 80 16 04 80
|
|
.byte $17, $04, $80, $16, $04, $80, $17, $04, $02, $16, $04, $02, $17, $04, $02, $16 ; CPU:$E875 PRG:2875 17 04 80 16 04 80 17 04 02 16 04 02 17 04 02 16
|
|
.byte $04, $02, $17, $04, $02, $16, $04, $02, $17, $04, $02, $16, $FF, $0F, $20, $14 ; CPU:$E885 PRG:2885 04 02 17 04 02 16 04 02 17 04 02 16 FF 0F 20 14
|
|
SpriteDataTable8: ; SpriteDataTable8 at $E92A
|
|
SpriteDataTable9: ; SpriteDataTable9 at $E944
|
|
.byte $82, $14, $10, $00, $14, $14, $02, $14, $14, $02, $14, $FF, $0F, $20, $14, $82 ; CPU:$E895 PRG:2895 82 14 10 00 14 14 02 14 14 02 14 FF 0F 20 14 82
|
|
.byte $15, $10, $00, $15, $14, $02, $15, $14, $02, $15, $FF, $0F, $20, $04, $81, $16 ; CPU:$E8A5 PRG:28A5 15 10 00 15 14 02 15 14 02 15 FF 0F 20 04 81 16
|
|
.byte $04, $81, $17, $04, $81, $16, $04, $81, $17, $04, $81, $16, $04, $81, $17, $04 ; CPU:$E8B5 PRG:28B5 04 81 17 04 81 16 04 81 17 04 81 16 04 81 17 04
|
|
.byte $81, $16, $04, $81, $17, $04, $81, $16, $04, $81, $17, $04, $80, $16, $04, $80 ; CPU:$E8C5 PRG:28C5 81 16 04 81 17 04 81 16 04 81 17 04 80 16 04 80
|
|
SpriteDataTable6: ; SpriteDataTable6 at $E968
|
|
.byte $17, $04, $80, $16, $FC, $01, $02, $00, $00, $00, $00, $00, $4F, $00, $00, $00 ; CPU:$E8D5 PRG:28D5 17 04 80 16 FC 01 02 00 00 00 00 00 4F 00 00 00
|
|
.byte $00, $00, $00, $00, $01, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 ; CPU:$E8E5 PRG:28E5 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00
|
|
.byte $00, $00, $00, $02, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 ; CPU:$E8F5 PRG:28F5 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00
|
|
.byte $00, $00, $00, $00, $00, $F9, $FE, $FB, $FE, $FF, $FE, $FF, $FA, $FB, $FA, $F9 ; CPU:$E905 PRG:2905 00 00 00 00 00 F9 FE FB FE FF FE FF FA FB FA F9
|
|
.byte $FA, $00, $00, $00, $00, $FA, $FD, $FB, $FD, $FB, $FD, $FC, $FD, $FC, $FB, $FB ; CPU:$E915 PRG:2915 FA 00 00 00 00 FA FD FB FD FB FD FC FD FC FB FB
|
|
SpriteDataTable7: ; SpriteDataTable7 at $E9C8
|
|
.byte $FB, $FB, $FB, $FA, $FB, $18, $18, $19, $1A, $1A, $1B, $1C, $1D, $1E, $1E, $1F ; CPU:$E925 PRG:2925 FB FB FB FA FB 18 18 19 1A 1A 1B 1C 1D 1E 1E 1F
|
|
.byte $1F, $20, $20, $21, $21, $22, $22, $22, $22, $23, $23, $23, $23, $23, $23, $00 ; CPU:$E935 PRG:2935 1F 20 20 21 21 22 22 22 22 23 23 23 23 23 23 00
|
|
.byte $00, $00, $01, $01, $01, $02, $02, $02, $02, $03, $03, $03, $03, $04, $04, $04 ; CPU:$E945 PRG:2945 00 00 01 01 01 02 02 02 02 03 03 03 03 04 04 04
|
|
SpriteDataTable10: ; SpriteDataTable10 at $EA30
|
|
.byte $04, $04, $05, $05, $05, $05, $05, $05, $05, $05, $05, $05, $05, $05, $05, $05 ; CPU:$E955 PRG:2955 04 04 05 05 05 05 05 05 05 05 05 05 05 05 05 05
|
|
.byte $05, $05, $05, $00, $00, $C0, $15, $1E, $2C, $01, $00, $C0, $0A, $1E, $30, $03 ; CPU:$E965 PRG:2965 05 05 05 00 00 C0 15 1E 2C 01 00 C0 0A 1E 30 03
|
|
.byte $00, $D0, $10, $1E, $25, $04, $00, $C0, $00, $1C, $30, $06, $00, $C0, $0F, $1C ; CPU:$E975 PRG:2975 00 D0 10 1E 25 04 00 C0 00 1C 30 06 00 C0 0F 1C
|
|
.byte $30, $08, $00, $C0, $F6, $1C, $30, $09, $00, $C0, $0C, $1C, $30, $0A, $00, $C0 ; CPU:$E985 PRG:2985 30 08 00 C0 F6 1C 30 09 00 C0 0C 1C 30 0A 00 C0
|
|
.byte $F4, $1C, $30, $0C, $00, $C0, $F4, $1E, $2D, $0E, $00, $C0, $08, $1C, $30, $0A ; CPU:$E995 PRG:2995 F4 1C 30 0C 00 C0 F4 1E 2D 0E 00 C0 08 1C 30 0A
|
|
.byte $00, $C0, $00, $1D, $30, $11, $00, $B8, $EE, $20, $33, $13, $00, $C8, $F0, $1C ; CPU:$E9A5 PRG:29A5 00 C0 00 1D 30 11 00 B8 EE 20 33 13 00 C8 F0 1C
|
|
.byte $2A, $04, $80, $C8, $F7, $1C, $2D, $0A, $80, $C8, $0B, $1C, $2D, $0F, $80, $C6 ; CPU:$E9B5 PRG:29B5 2A 04 80 C8 F7 1C 2D 0A 80 C8 0B 1C 2D 0F 80 C6
|
|
.byte $F3, $21, $26, $14, $14, $10, $10, $10, $08, $04, $00, $18, $14, $14, $10, $0C ; CPU:$E9C5 PRG:29C5 F3 21 26 14 14 10 10 10 08 04 00 18 14 14 10 0C
|
|
.byte $08, $04, $00, $1C, $18, $18, $14, $10, $0C, $08, $04, $20, $1C, $18, $14, $10 ; CPU:$E9D5 PRG:29D5 08 04 00 1C 18 18 14 10 0C 08 04 20 1C 18 14 10
|
|
.byte $0C, $08, $04, $24, $20, $1C, $18, $14, $0C, $08, $04, $28, $24, $20, $1C, $14 ; CPU:$E9E5 PRG:29E5 0C 08 04 24 20 1C 18 14 0C 08 04 28 24 20 1C 14
|
|
.byte $10, $0C, $08, $2C, $28, $24, $20, $18, $10, $0C, $08, $01, $01, $01, $01, $02 ; CPU:$E9F5 PRG:29F5 10 0C 08 2C 28 24 20 18 10 0C 08 01 01 01 01 02
|
|
.byte $01, $01, $01, $02, $01, $02, $01, $02, $02, $02, $01, $02, $02, $02, $02, $03 ; CPU:$EA05 PRG:2A05 01 01 01 02 01 02 01 02 02 02 01 02 02 02 02 03
|
|
.byte $02, $03, $02, $03, $03, $03, $03, $04, $03, $04, $03, $04, $04, $04, $04, $05 ; CPU:$EA15 PRG:2A15 02 03 02 03 03 03 03 04 03 04 03 04 04 04 04 05
|
|
.byte $05, $05, $05, $06, $06, $06, $06, $07, $07, $07, $07, $ED, $40, $ED, $40, $ED ; CPU:$EA25 PRG:2A25 05 05 05 06 06 06 06 07 07 07 07 ED 40 ED 40 ED
|
|
.byte $C0, $ED, $80, $ED, $00, $ED, $00, $ED, $00, $ED, $00, $EE, $40, $EE, $40, $EE ; CPU:$EA35 PRG:2A35 C0 ED 80 ED 00 ED 00 ED 00 ED 00 EE 40 EE 40 EE
|
|
.byte $40, $EE, $40, $EE, $00, $EE, $00, $EE, $00, $EE, $00, $06, $05, $04, $03, $03 ; CPU:$EA45 PRG:2A45 40 EE 40 EE 00 EE 00 EE 00 EE 00 06 05 04 03 03
|
|
.byte $02, $03, $03, $02, $02, $02, $02, $02, $01, $01, $02, $01, $01, $01, $01, $01 ; CPU:$EA55 PRG:2A55 02 03 03 02 02 02 02 02 01 01 02 01 01 01 01 01
|
|
.byte $01, $01, $00, $01, $01, $01, $01, $00, $01, $01, $01, $00, $01, $01, $00, $01 ; CPU:$EA65 PRG:2A65 01 01 00 01 01 01 01 00 01 01 01 00 01 01 00 01
|
|
.byte $00, $01, $00, $BB, $01, $00, $01, $00, $BB, $01, $00, $01, $00, $BB, $01, $00 ; CPU:$EA75 PRG:2A75 00 01 00 BB 01 00 01 00 BB 01 00 01 00 BB 01 00
|
|
.byte $01, $BB, $00, $01, $BB, $00, $00, $BB, $00, $AA, $02, $02, $01, $02, $02, $01 ; CPU:$EA85 PRG:2A85 01 BB 00 01 BB 00 00 BB 00 AA 02 02 01 02 02 01
|
|
.byte $01, $01, $01, $01, $00, $01, $00, $01, $00, $01, $00, $01, $BB, $00, $00, $01 ; CPU:$EA95 PRG:2A95 01 01 01 01 00 01 00 01 00 01 00 01 BB 00 00 01
|
|
.byte $BB, $00, $00, $01, $BB, $00, $00, $BB, $01, $00, $00, $BB, $01, $00, $BB, $00 ; CPU:$EAA5 PRG:2AA5 BB 00 00 01 BB 00 00 BB 01 00 00 BB 01 00 BB 00
|
|
.byte $00, $BB, $BB, $BB, $BB, $BB, $BB, $BB, $BB, $BB, $BB, $BB, $AA, $01, $01, $00 ; CPU:$EAB5 PRG:2AB5 00 BB BB BB BB BB BB BB BB BB BB BB AA 01 01 00
|
|
.byte $01, $01, $01, $00, $01, $00, $01, $00, $00, $01, $00, $00, $00, $00, $01, $00 ; CPU:$EAC5 PRG:2AC5 01 01 01 00 01 00 01 00 00 01 00 00 00 00 01 00
|
|
.byte $00, $00, $00, $00, $01, $00, $00, $00, $00, $00, $00, $01, $00, $00, $00, $00 ; CPU:$EAD5 PRG:2AD5 00 00 00 00 01 00 00 00 00 00 00 01 00 00 00 00
|
|
.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $06, $00 ; CPU:$EAE5 PRG:2AE5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00
|
|
SpriteAnimData: ; SpriteAnimData at $EB30
|
|
.byte $FF, $02, $05, $02, $FF, $08, $04, $06, $FF, $0E, $04, $07, $FF, $12, $05, $08 ; CPU:$EAF5 PRG:2AF5 FF 02 05 02 FF 08 04 06 FF 0E 04 07 FF 12 05 08
|
|
.byte $FF, $14, $04, $0A, $FF, $FF, $00, $00, $02, $FF, $00, $00, $04, $FF, $00, $00 ; CPU:$EB05 PRG:2B05 FF 14 04 0A FF FF 00 00 02 FF 00 00 04 FF 00 00
|
|
.byte $06, $FF, $00, $00, $0A, $FF, $00, $00, $10, $FF, $00, $00, $14, $02, $04, $06 ; CPU:$EB15 PRG:2B15 06 FF 00 00 0A FF 00 00 10 FF 00 00 14 02 04 06
|
|
.byte $0A, $0C, $0E, $01, $03, $05, $07, $09, $0B, $0D, $0F, $4A, $EB, $5D, $EB, $70 ; CPU:$EB25 PRG:2B25 0A 0C 0E 01 03 05 07 09 0B 0D 0F 4A EB 5D EB 70
|
|
.byte $EB, $7D, $EB, $86, $EB, $8F, $EB, $92, $EB, $92, $EB, $92, $EB, $95, $EB, $B6 ; CPU:$EB35 PRG:2B35 EB 7D EB 86 EB 8F EB 92 EB 92 EB 92 EB 95 EB B6
|
|
.byte $EB, $C9, $EB, $DC, $EB, $F4, $F4, $F4, $FC, $F4, $04, $FC, $F4, $FC, $FC, $FC ; CPU:$EB45 PRG:2B45 EB C9 EB DC EB F4 F4 F4 FC F4 04 FC F4 FC FC FC
|
|
.byte $04, $04, $F4, $04, $FC, $04, $04, $AA, $F7, $F5, $F7, $FD, $F7, $03, $FF, $F5 ; CPU:$EB55 PRG:2B55 04 04 F4 04 FC 04 04 AA F7 F5 F7 FD F7 03 FF F5
|
|
SpriteAnimData2: ; SpriteAnimData2 at $EBFA
|
|
.byte $FF, $FD, $FF, $03, $01, $F5, $01, $FD, $01, $03, $AA, $F9, $F7, $F9, $FF, $F9 ; CPU:$EB65 PRG:2B65 FF FD FF 03 01 F5 01 FD 01 03 AA F9 F7 F9 FF F9
|
|
.byte $01, $FF, $F7, $FF, $FF, $FF, $01, $AA, $FA, $F8, $FA, $00, $FE, $F8, $FE, $00 ; CPU:$EB75 PRG:2B75 01 FF F7 FF FF FF 01 AA FA F8 FA 00 FE F8 FE 00
|
|
.byte $AA, $FA, $FA, $FA, $FE, $FE, $FA, $FE, $FE, $AA, $FC, $FC, $AA, $FC, $FC, $AA ; CPU:$EB85 PRG:2B85 AA FA FA FA FE FE FA FE FE AA FC FC AA FC FC AA
|
|
.byte $F0, $F0, $F0, $F8, $F0, $00, $F0, $08, $F8, $F0, $F8, $F8, $F8, $00, $F8, $08 ; CPU:$EB95 PRG:2B95 F0 F0 F0 F8 F0 00 F0 08 F8 F0 F8 F8 F8 00 F8 08
|
|
.byte $00, $F0, $00, $F8, $00, $00, $00, $08, $08, $F0, $08, $F8, $08, $00, $08, $08 ; CPU:$EBA5 PRG:2BA5 00 F0 00 F8 00 00 00 08 08 F0 08 F8 08 00 08 08
|
|
.byte $AA, $F4, $F5, $F4, $FD, $F4, $03, $FC, $F5, $FC, $FD, $FC, $03, $04, $F5, $04 ; CPU:$EBB5 PRG:2BB5 AA F4 F5 F4 FD F4 03 FC F5 FC FD FC 03 04 F5 04
|
|
.byte $FD, $04, $03, $AA, $F5, $F7, $F5, $FF, $F5, $01, $FD, $F7, $FD, $FF, $FD, $01 ; CPU:$EBC5 PRG:2BC5 FD 04 03 AA F5 F7 F5 FF F5 01 FD F7 FD FF FD 01
|
|
SoundData: ; SoundData at $EC1F
|
|
.byte $03, $F7, $03, $FF, $03, $01, $AA, $F6, $F8, $F6, $00, $FE, $F8, $FE, $00, $02 ; CPU:$EBD5 PRG:2BD5 03 F7 03 FF 03 01 AA F6 F8 F6 00 FE F8 FE 00 02
|
|
.byte $F8, $02, $00, $AA, $01, $01, $02, $03, $00, $50, $00, $00, $00, $02, $03, $01 ; CPU:$EBE5 PRG:2BE5 F8 02 00 AA 01 01 02 03 00 50 00 00 00 02 03 01
|
|
.byte $04, $06, $02, $05, $07, $05, $08, $10, $15, $16, $20, $24, $30, $06, $06, $06 ; CPU:$EBF5 PRG:2BF5 04 06 02 05 07 05 08 10 15 16 20 24 30 06 06 06
|
|
.byte $06, $06, $06, $06, $06, $06, $06, $07, $07, $08, $08, $09, $09, $09, $09, $09 ; CPU:$EC05 PRG:2C05 06 06 06 06 06 06 06 07 07 08 08 09 09 09 09 09
|
|
.byte $0A, $FF, $00, $08, $10, $18, $18, $20, $20, $28, $28, $01, $80, $00, $00, $AA ; CPU:$EC15 PRG:2C15 0A FF 00 08 10 18 18 20 20 28 28 01 80 00 00 AA
|
|
.byte $01, $40, $02, $10, $03, $08, $02, $10, $03, $08, $02, $10, $03, $08, $02, $10 ; CPU:$EC25 PRG:2C25 01 40 02 10 03 08 02 10 03 08 02 10 03 08 02 10
|
|
.byte $03, $08, $00, $00, $AA, $4A, $EC, $70, $EC, $82, $EC, $8B, $EC, $B1, $EC, $E6 ; CPU:$EC35 PRG:2C35 03 08 00 00 AA 4A EC 70 EC 82 EC 8B EC B1 EC E6
|
|
.byte $EC, $07, $ED, $3C, $ED, $CD, $24, $57, $FF, $13, $13, $13, $13, $13, $1A, $D8 ; CPU:$EC45 PRG:2C45 EC 07 ED 3C ED CD 24 57 FF 13 13 13 13 13 1A D8
|
|
.byte $1B, $18, $1E, $17, $0D, $21, $D8, $B7, $B7, $B7, $B7, $B7, $21, $D8, $B7, $B7 ; CPU:$EC55 PRG:2C55 1B 18 1E 17 0D 21 D8 B7 B7 B7 B7 B7 21 D8 B7 B7
|
|
.byte $B7, $B7, $B7, $21, $23, $FC, $FC, $FC, $FC, $FC, $FD, $EE, $10, $35, $B7, $B7 ; CPU:$EC65 PRG:2C65 B7 B7 B7 21 23 FC FC FC FC FC FD EE 10 35 B7 B7
|
|
.byte $B7, $B7, $B7, $B7, $10, $18, $FE, $B7, $B7, $B7, $B7, $B7, $B7, $EF, $04, $23 ; CPU:$EC75 PRG:2C75 B7 B7 B7 B7 10 18 FE B7 B7 B7 B7 B7 B7 EF 04 23
|
|
.byte $B7, $B7, $B7, $B7, $B7, $B7, $CD, $24, $57, $FF, $13, $13, $13, $13, $13, $1A ; CPU:$EC85 PRG:2C85 B7 B7 B7 B7 B7 B7 CD 24 57 FF 13 13 13 13 13 1A
|
|
.byte $D8, $B7, $B7, $B7, $B7, $B7, $21, $D8, $10, $18, $18, $0D, $FE, $21, $D8, $B7 ; CPU:$EC95 PRG:2C95 D8 B7 B7 B7 B7 B7 21 D8 10 18 18 0D FE 21 D8 B7
|
|
.byte $B7, $B7, $B7, $B7, $21, $23, $FC, $FC, $FC, $FC, $FC, $FD, $CC, $33, $5A, $FF ; CPU:$ECA5 PRG:2CA5 B7 B7 B7 B7 21 23 FC FC FC FC FC FD CC 33 5A FF
|
|
.byte $13, $13, $13, $13, $13, $13, $13, $13, $1A, $D8, $19, $0E, $1B, $0F, $0E, $0C ; CPU:$ECB5 PRG:2CB5 13 13 13 13 13 13 13 13 1A D8 19 0E 1B 0F 0E 0C
|
|
.byte $1D, $FE, $21, $D8, $B7, $B7, $B7, $B7, $B7, $B7, $B7, $B7, $21, $D8, $B7, $B7 ; CPU:$ECC5 PRG:2CC5 1D FE 21 D8 B7 B7 B7 B7 B7 B7 B7 B7 21 D8 B7 B7
|
|
.byte $B7, $00, $00, $00, $B7, $B7, $21, $23, $FC, $FC, $FC, $FC, $FC, $FC, $FC, $FC ; CPU:$ECD5 PRG:2CD5 B7 00 00 00 B7 B7 21 23 FC FC FC FC FC FC FC FC
|
|
.byte $FD, $EC, $1F, $3A, $FF, $13, $13, $13, $13, $13, $13, $13, $13, $1A, $D8, $0F ; CPU:$ECE5 PRG:2CE5 FD EC 1F 3A FF 13 13 13 13 13 13 13 13 1A D8 0F
|
|
.byte $15, $22, $B7, $0A, $20, $0A, $22, $21, $23, $FC, $FC, $FC, $FC, $FC, $FC, $FC ; CPU:$ECF5 PRG:2CF5 15 22 B7 0A 20 0A 22 21 23 FC FC FC FC FC FC FC
|
|
.byte $FC, $FD, $CC, $33, $5A, $24, $FF, $13, $13, $13, $13, $13, $1A, $24, $24, $24 ; CPU:$ED05 PRG:2D05 FC FD CC 33 5A 24 FF 13 13 13 13 13 1A 24 24 24
|
|
.byte $D8, $B7, $B7, $B7, $B7, $B7, $21, $24, $24, $24, $D8, $19, $0A, $1E, $1C, $0E ; CPU:$ED15 PRG:2D15 D8 B7 B7 B7 B7 B7 21 24 24 24 D8 19 0A 1E 1C 0E
|
|
.byte $21, $24, $24, $24, $D8, $B7, $B7, $B7, $B7, $B7, $21, $24, $24, $24, $23, $FC ; CPU:$ED25 PRG:2D25 21 24 24 24 D8 B7 B7 B7 B7 B7 21 24 24 24 23 FC
|
|
.byte $FC, $FC, $FC, $FC, $FD, $24, $24, $AB, $38, $5B, $FF, $13, $13, $13, $13, $13 ; CPU:$ED35 PRG:2D35 FC FC FC FC FD 24 24 AB 38 5B FF 13 13 13 13 13
|
|
.byte $13, $13, $13, $13, $1A, $D8, $B7, $B7, $B7, $B7, $B7, $B7, $B7, $B7, $B7, $21 ; CPU:$ED45 PRG:2D45 13 13 13 13 1A D8 B7 B7 B7 B7 B7 B7 B7 B7 B7 21
|
|
.byte $D8, $10, $0A, $16, $0E, $B7, $18, $1F, $0E, $1B, $21, $D8, $B7, $B7, $B7, $B7 ; CPU:$ED55 PRG:2D55 D8 10 0A 16 0E B7 18 1F 0E 1B 21 D8 B7 B7 B7 B7
|
|
.byte $B7, $B7, $B7, $B7, $B7, $21, $23, $FC, $FC, $FC, $FC, $FC, $FC, $FC, $FC, $FC ; CPU:$ED65 PRG:2D65 B7 B7 B7 B7 B7 21 23 FC FC FC FC FC FC FC FC FC
|
|
.byte $FD, $9C, $18, $14, $10, $01, $10, $02, $20, $03, $08, $02, $08, $01, $18, $00 ; CPU:$ED75 PRG:2D75 FD 9C 18 14 10 01 10 02 20 03 08 02 08 01 18 00
|
|
.byte $10, $0E, $08, $0D, $20, $0C, $08, $0D, $08, $0C, $B0, $0B, $80, $03, $40, $02 ; CPU:$ED85 PRG:2D85 10 0E 08 0D 20 0C 08 0D 08 0C B0 0B 80 03 40 02
|
|
.byte $FF, $08, $00, $88, $10, $12, $28, $0F, $08, $00, $10, $01, $08, $02, $48, $03 ; CPU:$ED95 PRG:2D95 FF 08 00 88 10 12 28 0F 08 00 10 01 08 02 48 03
|
|
.byte $20, $04, $70, $0C, $30, $0D, $30, $0E, $FF, $08, $00, $90, $20, $12, $60, $0D ; CPU:$EDA5 PRG:2DA5 20 04 70 0C 30 0D 30 0E FF 08 00 90 20 12 60 0D
|
|
.byte $90, $03, $78, $02, $FF, $08, $00, $78, $20, $13, $40, $0F, $10, $0E, $20, $0D ; CPU:$EDB5 PRG:2DB5 90 03 78 02 FF 08 00 78 20 13 40 0F 10 0E 20 0D
|
|
.byte $18, $0B, $20, $0A, $50, $06, $28, $04, $38, $03, $78, $02, $FF, $08, $00, $80 ; CPU:$EDC5 PRG:2DC5 18 0B 20 0A 50 06 28 04 38 03 78 02 FF 08 00 80
|
|
.byte $10, $12, $20, $0D, $08, $0E, $08, $0F, $20, $03, $10, $02, $08, $0E, $20, $0D ; CPU:$EDD5 PRG:2DD5 10 12 20 0D 08 0E 08 0F 20 03 10 02 08 0E 20 0D
|
|
.byte $08, $0E, $08, $0F, $08, $01, $08, $03, $30, $04, $40, $05, $80, $0B, $30, $0E ; CPU:$EDE5 PRG:2DE5 08 0E 08 0F 08 01 08 03 30 04 40 05 80 0B 30 0E
|
|
.byte $60, $0F, $FF, $08, $00, $B8, $08, $14, $10, $04, $08, $03, $08, $02, $08, $01 ; CPU:$EDF5 PRG:2DF5 60 0F FF 08 00 B8 08 14 10 04 08 03 08 02 08 01
|
|
.byte $08, $00, $08, $0E, $08, $0D, $08, $0C, $50, $0B, $60, $0C, $10, $0D, $40, $02 ; CPU:$EE05 PRG:2E05 08 00 08 0E 08 0D 08 0C 50 0B 60 0C 10 0D 40 02
|
|
.byte $70, $01, $FF, $08, $00, $70, $18, $12, $40, $0D, $10, $0F, $10, $02, $30, $04 ; CPU:$EE15 PRG:2E15 70 01 FF 08 00 70 18 12 40 0D 10 0F 10 02 30 04
|
|
.byte $20, $05, $40, $03, $20, $04, $20, $03, $18, $02, $20, $01, $FF, $08, $00, $B0 ; CPU:$EE25 PRG:2E25 20 05 40 03 20 04 20 03 18 02 20 01 FF 08 00 B0
|
|
.byte $10, $14, $28, $02, $18, $01, $30, $00, $10, $0F, $50, $0B, $60, $0C, $20, $0B ; CPU:$EE35 PRG:2E35 10 14 28 02 18 01 30 00 10 0F 50 0B 60 0C 20 0B
|
|
.byte $70, $04, $80, $05, $FF, $08, $00, $5A, $08, $13, $10, $02, $20, $0D, $10, $03 ; CPU:$EE45 PRG:2E45 70 04 80 05 FF 08 00 5A 08 13 10 02 20 0D 10 03
|
|
.byte $10, $04, $10, $03, $58, $0D, $28, $03, $48, $04, $10, $03, $48, $0D, $80, $03 ; CPU:$EE55 PRG:2E55 10 04 10 03 58 0D 28 03 48 04 10 03 48 0D 80 03
|
|
.byte $FF, $08, $00, $46, $20, $12, $20, $0E, $38, $04, $18, $02, $10, $04, $20, $06 ; CPU:$EE65 PRG:2E65 FF 08 00 46 20 12 20 0E 38 04 18 02 10 04 20 06
|
|
.byte $08, $05, $18, $04, $18, $02, $40, $01, $40, $00, $FF, $08, $00, $D0, $2A, $14 ; CPU:$EE75 PRG:2E75 08 05 18 04 18 02 40 01 40 00 FF 08 00 D0 2A 14
|
|
.byte $30, $0C, $20, $0B, $20, $0C, $38, $0B, $48, $0C, $40, $02, $30, $0C, $FF, $08 ; CPU:$EE85 PRG:2E85 30 0C 20 0B 20 0C 38 0B 48 0C 40 02 30 0C FF 08
|
|
.byte $00, $70, $10, $12, $10, $0D, $20, $0E, $10, $0F, $10, $00, $30, $02, $10, $04 ; CPU:$EE95 PRG:2E95 00 70 10 12 10 0D 20 0E 10 0F 10 00 30 02 10 04
|
|
.byte $10, $05, $60, $05, $20, $0B, $40, $0C, $08, $0D, $70, $03, $30, $02, $18, $00 ; CPU:$EEA5 PRG:2EA5 10 05 60 05 20 0B 40 0C 08 0D 70 03 30 02 18 00
|
|
.byte $FF, $08, $00, $C0, $18, $12, $10, $0D, $40, $0B, $38, $0D, $08, $0B, $08, $0C ; CPU:$EEB5 PRG:2EB5 FF 08 00 C0 18 12 10 0D 40 0B 38 0D 08 0B 08 0C
|
|
.byte $10, $0D, $70, $03, $40, $02, $40, $01, $FF, $08, $00, $90, $18, $14, $20, $02 ; CPU:$EEC5 PRG:2EC5 10 0D 70 03 40 02 40 01 FF 08 00 90 18 14 20 02
|
|
.byte $28, $0D, $20, $0B, $20, $0B, $08, $0C, $10, $0D, $20, $03, $20, $05, $20, $04 ; CPU:$EED5 PRG:2ED5 28 0D 20 0B 20 0B 08 0C 10 0D 20 03 20 05 20 04
|
|
.byte $10, $02, $10, $03, $70, $0D, $40, $04, $50, $03, $20, $02, $FF, $08, $00, $58 ; CPU:$EEE5 PRG:2EE5 10 02 10 03 70 0D 40 04 50 03 20 02 FF 08 00 58
|
|
.byte $1C, $14, $24, $02, $08, $00, $48, $0C, $38, $0E, $50, $07, $30, $05, $30, $04 ; CPU:$EEF5 PRG:2EF5 1C 14 24 02 08 00 48 0C 38 0E 50 07 30 05 30 04
|
|
.byte $28, $0D, $20, $02, $80, $01, $FF, $08, $00, $50, $20, $12, $20, $0D, $40, $03 ; CPU:$EF05 PRG:2F05 28 0D 20 02 80 01 FF 08 00 50 20 12 20 0D 40 03
|
|
.byte $30, $0C, $40, $03, $30, $04, $38, $05, $08, $0B, $28, $0C, $08, $0D, $40, $03 ; CPU:$EF15 PRG:2F15 30 0C 40 03 30 04 38 05 08 0B 28 0C 08 0D 40 03
|
|
.byte $4A, $04, $FF, $08, $00, $40, $E0, $01, $80, $E0, $02, $D0, $E0, $0E, $38, $E0 ; CPU:$EF25 PRG:2F25 4A 04 FF 08 00 40 E0 01 80 E0 02 D0 E0 0E 38 E0
|
|
.byte $01, $A0, $E0, $0D, $30, $E0, $03, $B0, $E0, $0E, $90, $E0, $0F, $40, $E0, $03 ; CPU:$EF35 PRG:2F35 01 A0 E0 0D 30 E0 03 B0 E0 0E 90 E0 0F 40 E0 03
|
|
.byte $80, $E0, $03, $C8, $E0, $0E, $50, $E0, $0F, $B8, $E0, $0D, $20, $E0, $03, $48 ; CPU:$EF45 PRG:2F45 80 E0 03 C8 E0 0E 50 E0 0F B8 E0 0D 20 E0 03 48
|
|
.byte $E0, $01, $B8, $E0, $0F, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$EF55 PRG:2F55 E0 01 B8 E0 0F FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$EF65 PRG:2F65 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$EF75 PRG:2F75 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$EF85 PRG:2F85 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$EF95 PRG:2F95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$EFA5 PRG:2FA5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$EFB5 PRG:2FB5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$EFC5 PRG:2FC5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$EFD5 PRG:2FD5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$EFE5 PRG:2FE5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$EFF5 PRG:2FF5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F005 PRG:3005 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F015 PRG:3015 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F025 PRG:3025 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F035 PRG:3035 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F045 PRG:3045 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F055 PRG:3055 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F065 PRG:3065 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F075 PRG:3075 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F085 PRG:3085 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F095 PRG:3095 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F0A5 PRG:30A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F0B5 PRG:30B5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F0C5 PRG:30C5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F0D5 PRG:30D5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F0E5 PRG:30E5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F0F5 PRG:30F5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F105 PRG:3105 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F115 PRG:3115 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F125 PRG:3125 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F135 PRG:3135 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F145 PRG:3145 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F155 PRG:3155 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F165 PRG:3165 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F175 PRG:3175 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F185 PRG:3185 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F195 PRG:3195 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F1A5 PRG:31A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F1B5 PRG:31B5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F1C5 PRG:31C5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F1D5 PRG:31D5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
FrameData: ; FrameData at $F300
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F1E5 PRG:31E5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F1F5 PRG:31F5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F205 PRG:3205 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F215 PRG:3215 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
FontData: ; FontData at $F350
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F225 PRG:3225 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F235 PRG:3235 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F245 PRG:3245 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F255 PRG:3255 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F265 PRG:3265 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F275 PRG:3275 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F285 PRG:3285 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F295 PRG:3295 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F2A5 PRG:32A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F2B5 PRG:32B5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F2C5 PRG:32C5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F2D5 PRG:32D5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F2E5 PRG:32E5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $07, $F0, $00, $00, $00 ; CPU:$F2F5 PRG:32F5 FF FF FF FF FF FF FF FF FF FF FF 07 F0 00 00 00
|
|
.byte $D4, $00, $C8, $00, $BD, $00, $B2, $00, $A8, $00, $9F, $00, $96, $00, $8D, $00 ; CPU:$F305 PRG:3305 D4 00 C8 00 BD 00 B2 00 A8 00 9F 00 96 00 8D 00
|
|
.byte $85, $00, $7E, $00, $70, $01, $AB, $01, $93, $01, $7C, $01, $67, $01, $52, $01 ; CPU:$F315 PRG:3315 85 00 7E 00 70 01 AB 01 93 01 7C 01 67 01 52 01
|
|
.byte $3F, $01, $2D, $01, $1C, $01, $0C, $00, $FD, $00, $EE, $00, $E1, $03, $57, $02 ; CPU:$F325 PRG:3325 3F 01 2D 01 1C 01 0C 00 FD 00 EE 00 E1 03 57 02
|
|
.byte $F9, $02, $CF, $02, $A6, $02, $80, $02, $5C, $02, $3A, $02, $1A, $01, $FC, $01 ; CPU:$F335 PRG:3335 F9 02 CF 02 A6 02 80 02 5C 02 3A 02 1A 01 FC 01
|
|
.byte $DF, $01, $C4, $00, $69, $00, $63, $00, $53, $00, $4A, $03, $06, $0C, $18, $30 ; CPU:$F345 PRG:3345 DF 01 C4 00 69 00 63 00 53 00 4A 03 06 0C 18 30
|
|
.byte $12, $24, $04, $08, $10, $20, $40, $18, $30 ; CPU:$F355 PRG:3355 12 24 04 08 10 20 40 18 30
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF35E
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF35E:
|
|
lda #$00 ; CPU:$F35E PRG:335E A9 00
|
|
beq SubCF366_Block ; CPU:$F360 PRG:3360 F0 0A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF362
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF362:
|
|
lda #$08 ; CPU:$F362 PRG:3362 A9 08
|
|
bne SubCF366_Block ; CPU:$F364 PRG:3364 D0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF366
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF366:
|
|
lda #$0C ; CPU:$F366 PRG:3366 A9 0C
|
|
bne SubCF366_Block ; CPU:$F368 PRG:3368 D0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF36A
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF36A:
|
|
lda #$04 ; CPU:$F36A PRG:336A A9 04
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF366_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF366_Block:
|
|
sta ZpF4 ; CPU:$F36C PRG:336C 85 F4
|
|
lda #$40 ; CPU:$F36E PRG:336E A9 40
|
|
sta ZpF5 ; CPU:$F370 PRG:3370 85 F5
|
|
stx ZpF6 ; CPU:$F372 PRG:3372 86 F6
|
|
sty ZpF7 ; CPU:$F374 PRG:3374 84 F7
|
|
ldy #$00 ; CPU:$F376 PRG:3376 A0 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF36A_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF36A_Block:
|
|
lda (ZpF6),y ; CPU:$F378 PRG:3378 B1 F6
|
|
sta (ZpF4),y ; CPU:$F37A PRG:337A 91 F4
|
|
iny ; CPU:$F37C PRG:337C C8
|
|
tya ; CPU:$F37D PRG:337D 98
|
|
cmp #$04 ; CPU:$F37E PRG:337E C9 04
|
|
bne SubCF36A_Block ; CPU:$F380 PRG:3380 D0 F6
|
|
rts ; CPU:$F382 PRG:3382 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF383
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF383:
|
|
sta ZpE6 ; CPU:$F383 PRG:3383 85 E6
|
|
lda $F846,y ; CPU:$F385 PRG:3385 B9 46 F8
|
|
tay ; CPU:$F388 PRG:3388 A8
|
|
lda $F846,y ; CPU:$F389 PRG:3389 B9 46 F8
|
|
sta ZpE5 ; CPU:$F38C PRG:338C 85 E5
|
|
lda $F847,y ; CPU:$F38E PRG:338E B9 47 F8
|
|
sta ZpF8 ; CPU:$F391 PRG:3391 85 F8
|
|
lda $F848,y ; CPU:$F393 PRG:3393 B9 48 F8
|
|
sta ZpF9 ; CPU:$F396 PRG:3396 85 F9
|
|
lda $F849,y ; CPU:$F398 PRG:3398 B9 49 F8
|
|
sta ZpFA ; CPU:$F39B PRG:339B 85 FA
|
|
lda $F84A,y ; CPU:$F39D PRG:339D B9 4A F8
|
|
sta ZpFB ; CPU:$F3A0 PRG:33A0 85 FB
|
|
lda $F84B,y ; CPU:$F3A2 PRG:33A2 B9 4B F8
|
|
sta ZpFC ; CPU:$F3A5 PRG:33A5 85 FC
|
|
lda $F84C,y ; CPU:$F3A7 PRG:33A7 B9 4C F8
|
|
sta ZpFD ; CPU:$F3AA PRG:33AA 85 FD
|
|
lda $F84D,y ; CPU:$F3AC PRG:33AC B9 4D F8
|
|
sta ZpFE ; CPU:$F3AF PRG:33AF 85 FE
|
|
lda $F84E,y ; CPU:$F3B1 PRG:33B1 B9 4E F8
|
|
sta ZpFF ; CPU:$F3B4 PRG:33B4 85 FF
|
|
lda #$01 ; CPU:$F3B6 PRG:33B6 A9 01
|
|
sta ZpD8 ; CPU:$F3B8 PRG:33B8 85 D8
|
|
sta ZpD9 ; CPU:$F3BA PRG:33BA 85 D9
|
|
sta ZpDA ; CPU:$F3BC PRG:33BC 85 DA
|
|
sta ZpDB ; CPU:$F3BE PRG:33BE 85 DB
|
|
lda #$00 ; CPU:$F3C0 PRG:33C0 A9 00
|
|
sta FrameCounter ; CPU:$F3C2 PRG:33C2 85 F3
|
|
sta ZpD0 ; CPU:$F3C4 PRG:33C4 85 D0
|
|
sta ZpD1 ; CPU:$F3C6 PRG:33C6 85 D1
|
|
sta ZpD2 ; CPU:$F3C8 PRG:33C8 85 D2
|
|
sta ZpD3 ; CPU:$F3CA PRG:33CA 85 D3
|
|
sta APUDMCDIRECT ; CPU:$F3CC PRG:33CC 8D 11 40
|
|
rts ; CPU:$F3CF PRG:33CF 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF3D0
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF3D0:
|
|
lda #$7F ; CPU:$F3D0 PRG:33D0 A9 7F
|
|
sta APUPULSE1SWEEP ; CPU:$F3D2 PRG:33D2 8D 01 40
|
|
sta APUPULSE2SWEEP ; CPU:$F3D5 PRG:33D5 8D 05 40
|
|
stx ZpE9 ; CPU:$F3D8 PRG:33D8 86 E9
|
|
sty ZpEA ; CPU:$F3DA PRG:33DA 84 EA
|
|
rts ; CPU:$F3DC PRG:33DC 60
|
|
; ---- data $F3DD-$F40E (50 bytes) ----
|
|
; referenced by `lda $F3E1,y` at $F604 (operand $F3E1 falls inside this region)
|
|
.byte $13, $7F, $3E, $F0, $4F, $53, $58, $5E, $63, $69, $70, $76, $7E, $85, $8D, $90 ; CPU:$F3DD PRG:33DD 13 7F 3E F0 4F 53 58 5E 63 69 70 76 7E 85 8D 90
|
|
.byte $92, $93, $92, $D5, $40, $C0, $B2, $DF, $FF, $80, $02, $7F, $0F, $08, $00, $7F ; CPU:$F3ED PRG:33ED 92 93 92 D5 40 C0 B2 DF FF 80 02 7F 0F 08 00 7F
|
|
.byte $03, $08, $FF, $10, $00, $18, $10, $01, $18, $00, $01, $88, $06, $02, $40, $05 ; CPU:$F3FD PRG:33FD 03 08 FF 10 00 18 10 01 18 00 01 88 06 02 40 05
|
|
.byte $02, $C0 ; CPU:$F40D PRG:340D 02 C0
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF40F
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF40F:
|
|
lda ZpF9 ; CPU:$F40F PRG:340F A5 F9
|
|
beq SubCF40F_Block_2 ; CPU:$F411 PRG:3411 F0 3E
|
|
dec ZpD8 ; CPU:$F413 PRG:3413 C6 D8
|
|
bne SubCF40F_Block_2 ; CPU:$F415 PRG:3415 D0 3A
|
|
ldx #$00 ; CPU:$F417 PRG:3417 A2 00
|
|
lda #$23 ; CPU:$F419 PRG:3419 A9 23
|
|
sta $0612 ; CPU:$F41B PRG:341B 8D 12 06
|
|
lda #$2E ; CPU:$F41E PRG:341E A9 2E
|
|
sta $0610 ; CPU:$F420 PRG:3420 8D 10 06
|
|
ldy ZpD0 ; CPU:$F423 PRG:3423 A4 D0
|
|
inc ZpD0 ; CPU:$F425 PRG:3425 E6 D0
|
|
lda (ZpF8),y ; CPU:$F427 PRG:3427 B1 F8
|
|
beq SubCF40F_Block_3 ; CPU:$F429 PRG:3429 F0 18
|
|
jmp $F51C ; CPU:$F42B PRG:342B 4C 1C F5
|
|
; ---- data $F42E-$F442 (21 bytes) ----
|
|
.byte $98, $10, $09, $20, $44, $F5, $A4, $D0, $E6, $D0, $B1, $F8, $20, $50, $F5, $D0 ; CPU:$F42E PRG:342E 98 10 09 20 44 F5 A4 D0 E6 D0 B1 F8 20 50 F5 D0
|
|
.byte $09, $A0, $10, $D0, $07 ; CPU:$F43E PRG:343E 09 A0 10 D0 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF40F_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF40F_Block_3:
|
|
lda #$00 ; CPU:$F443 PRG:3443 A9 00
|
|
jmp $F68C ; CPU:$F445 PRG:3445 4C 8C F6
|
|
; ---- data $F448-$F450 (9 bytes) ----
|
|
.byte $A4, $E9, $8C, $00, $40, $A5, $DC, $85, $D8 ; CPU:$F448 PRG:3448 A4 E9 8C 00 40 A5 DC 85 D8
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF40F_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF40F_Block_2:
|
|
lda ZpFB ; CPU:$F451 PRG:3451 A5 FB
|
|
beq SubCF40F_Block_5 ; CPU:$F453 PRG:3453 F0 29
|
|
dec ZpD9 ; CPU:$F455 PRG:3455 C6 D9
|
|
bne SubCF40F_Block_5 ; CPU:$F457 PRG:3457 D0 25
|
|
ldx #$01 ; CPU:$F459 PRG:3459 A2 01
|
|
ldy ZpD1 ; CPU:$F45B PRG:345B A4 D1
|
|
inc ZpD1 ; CPU:$F45D PRG:345D E6 D1
|
|
lda (ZpFA),y ; CPU:$F45F PRG:345F B1 FA
|
|
bpl SubCF40F_Block_6 ; CPU:$F461 PRG:3461 10 09
|
|
jsr $F544 ; CPU:$F463 PRG:3463 20 44 F5
|
|
ldy ZpD1 ; CPU:$F466 PRG:3466 A4 D1
|
|
inc ZpD1 ; CPU:$F468 PRG:3468 E6 D1
|
|
lda (ZpFA),y ; CPU:$F46A PRG:346A B1 FA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF40F_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF40F_Block_6:
|
|
jsr $F564 ; CPU:$F46C PRG:346C 20 64 F5
|
|
bne SubCF40F_Block_7 ; CPU:$F46F PRG:346F D0 04
|
|
ldy #$10 ; CPU:$F471 PRG:3471 A0 10
|
|
bne SubCF40F_Block_8 ; CPU:$F473 PRG:3473 D0 02
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF40F_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF40F_Block_7:
|
|
ldy ZpEA ; CPU:$F475 PRG:3475 A4 EA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF40F_Block_8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF40F_Block_8:
|
|
sty APUPULSE2CTRL ; CPU:$F477 PRG:3477 8C 04 40
|
|
lda ZpDD ; CPU:$F47A PRG:347A A5 DD
|
|
sta ZpD9 ; CPU:$F47C PRG:347C 85 D9
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF40F_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF40F_Block_5:
|
|
lda ZpFD ; CPU:$F47E PRG:347E A5 FD
|
|
beq SubCF40F_Block_10 ; CPU:$F480 PRG:3480 F0 4F
|
|
dec ZpDA ; CPU:$F482 PRG:3482 C6 DA
|
|
bne SubCF40F_Block_10 ; CPU:$F484 PRG:3484 D0 4B
|
|
ldx #$02 ; CPU:$F486 PRG:3486 A2 02
|
|
lda #$9B ; CPU:$F488 PRG:3488 A9 9B
|
|
sta $0610 ; CPU:$F48A PRG:348A 8D 10 06
|
|
lda #$92 ; CPU:$F48D PRG:348D A9 92
|
|
sta $0612 ; CPU:$F48F PRG:348F 8D 12 06
|
|
ldy ZpD2 ; CPU:$F492 PRG:3492 A4 D2
|
|
inc ZpD2 ; CPU:$F494 PRG:3494 E6 D2
|
|
lda (ZpFC),y ; CPU:$F496 PRG:3496 B1 FC
|
|
jmp $F51C ; CPU:$F498 PRG:3498 4C 1C F5
|
|
; ---- data $F49B-$F4D0 (54 bytes) ----
|
|
.byte $98, $10, $21, $20, $44, $F5, $A4, $E4, $F0, $04, $A9, $FF, $D0, $0B, $18, $69 ; CPU:$F49B PRG:349B 98 10 21 20 44 F5 A4 E4 F0 04 A9 FF D0 0B 18 69
|
|
.byte $FE, $0A, $0A, $C9, $3C, $90, $02, $A9, $3C, $8D, $08, $40, $85, $E7, $A4, $D2 ; CPU:$F4AB PRG:34AB FE 0A 0A C9 3C 90 02 A9 3C 8D 08 40 85 E7 A4 D2
|
|
.byte $E6, $D2, $B1, $FC, $20, $68, $F5, $D0, $04, $A0, $00, $F0, $02, $A4, $E7, $8C ; CPU:$F4BB PRG:34BB E6 D2 B1 FC 20 68 F5 D0 04 A0 00 F0 02 A4 E7 8C
|
|
.byte $08, $40, $A5, $DE, $85, $DA ; CPU:$F4CB PRG:34CB 08 40 A5 DE 85 DA
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF40F_Block_10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF40F_Block_10:
|
|
lda ZpFF ; CPU:$F4D1 PRG:34D1 A5 FF
|
|
beq SubCF40F_Block_12 ; CPU:$F4D3 PRG:34D3 F0 2C
|
|
dec ZpDB ; CPU:$F4D5 PRG:34D5 C6 DB
|
|
bne SubCF40F_Block_12 ; CPU:$F4D7 PRG:34D7 D0 28
|
|
ldx #$03 ; CPU:$F4D9 PRG:34D9 A2 03
|
|
lda #$EE ; CPU:$F4DB PRG:34DB A9 EE
|
|
sta $0610 ; CPU:$F4DD PRG:34DD 8D 10 06
|
|
lda #$E5 ; CPU:$F4E0 PRG:34E0 A9 E5
|
|
sta $0612 ; CPU:$F4E2 PRG:34E2 8D 12 06
|
|
ldy ZpD3 ; CPU:$F4E5 PRG:34E5 A4 D3
|
|
inc ZpD3 ; CPU:$F4E7 PRG:34E7 E6 D3
|
|
lda (ZpFE),y ; CPU:$F4E9 PRG:34E9 B1 FE
|
|
jmp $F51C ; CPU:$F4EB PRG:34EB 4C 1C F5
|
|
; ---- data $F4EE-$F500 (19 bytes) ----
|
|
.byte $98, $10, $09, $20, $44, $F5, $A4, $D3, $E6, $D3, $B1, $FE, $20, $02, $F5, $A5 ; CPU:$F4EE PRG:34EE 98 10 09 20 44 F5 A4 D3 E6 D3 B1 FE 20 02 F5 A5
|
|
.byte $DF, $85, $DB ; CPU:$F4FE PRG:34FE DF 85 DB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF40F_Block_12
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF40F_Block_12:
|
|
rts ; CPU:$F501 PRG:3501 60
|
|
; ---- data $F502-$F51B (26 bytes) ----
|
|
.byte $A8, $A5, $F3, $C9, $02, $F0, $12, $B9, $00, $F4, $8D, $0C, $40, $B9, $01, $F4 ; CPU:$F502 PRG:3502 A8 A5 F3 C9 02 F0 12 B9 00 F4 8D 0C 40 B9 01 F4
|
|
.byte $8D, $0E, $40, $B9, $02, $F4, $8D, $0F, $40, $60 ; CPU:$F512 PRG:3512 8D 0E 40 B9 02 F4 8D 0F 40 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF51C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF51C:
|
|
tay ; CPU:$F51C PRG:351C A8
|
|
cmp #$FF ; CPU:$F51D PRG:351D C9 FF
|
|
beq SubCF51C_Block ; CPU:$F51F PRG:351F F0 09
|
|
and #$C0 ; CPU:$F521 PRG:3521 29 C0
|
|
cmp #$C0 ; CPU:$F523 PRG:3523 C9 C0
|
|
beq SubCF51C_Block_2 ; CPU:$F525 PRG:3525 F0 0F
|
|
jmp ($0610) ; CPU:$F527 PRG:3527 6C 10 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF51C_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF51C_Block:
|
|
lda ZpE0,x ; CPU:$F52A PRG:352A B5 E0
|
|
beq SubCF51C_Block_4 ; CPU:$F52C PRG:352C F0 13
|
|
dec ZpE0,x ; CPU:$F52E PRG:352E D6 E0
|
|
lda ZpD4,x ; CPU:$F530 PRG:3530 B5 D4
|
|
sta ZpD0,x ; CPU:$F532 PRG:3532 95 D0
|
|
bne SubCF51C_Block_4 ; CPU:$F534 PRG:3534 D0 0B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF51C_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF51C_Block_2:
|
|
tya ; CPU:$F536 PRG:3536 98
|
|
and #$3F ; CPU:$F537 PRG:3537 29 3F
|
|
sta ZpE0,x ; CPU:$F539 PRG:3539 95 E0
|
|
dec ZpE0,x ; CPU:$F53B PRG:353B D6 E0
|
|
lda ZpD0,x ; CPU:$F53D PRG:353D B5 D0
|
|
sta ZpD4,x ; CPU:$F53F PRG:353F 95 D4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF51C_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF51C_Block_4:
|
|
jmp ($0612) ; CPU:$F541 PRG:3541 6C 12 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF544
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF544:
|
|
and #$07 ; CPU:$F544 PRG:3544 29 07
|
|
clc ; CPU:$F546 PRG:3546 18
|
|
adc ZpE5 ; CPU:$F547 PRG:3547 65 E5
|
|
tay ; CPU:$F549 PRG:3549 A8
|
|
lda $F350,y ; CPU:$F54A PRG:354A B9 50 F3
|
|
sta ZpDC,x ; CPU:$F54D PRG:354D 95 DC
|
|
rts ; CPU:$F54F PRG:354F 60
|
|
; ---- data $F550-$F551 (2 bytes) ----
|
|
.byte $A2, $00 ; CPU:$F550 PRG:3550 A2 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF564_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF564_Block_2:
|
|
tay ; CPU:$F552 PRG:3552 A8
|
|
lda $F301,y ; CPU:$F553 PRG:3553 B9 01 F3
|
|
beq SubCF544_Block ; CPU:$F556 PRG:3556 F0 0B
|
|
sta APUPULSE1TIMERLO,x ; CPU:$F558 PRG:3558 9D 02 40
|
|
lda $F300,y ; CPU:$F55B PRG:355B B9 00 F3
|
|
ora #$08 ; CPU:$F55E PRG:355E 09 08
|
|
sta APUPULSE1TIMERHI,x ; CPU:$F560 PRG:3560 9D 03 40
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF544_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF544_Block:
|
|
rts ; CPU:$F563 PRG:3563 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF564
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF564:
|
|
ldx #$04 ; CPU:$F564 PRG:3564 A2 04
|
|
bne SubCF564_Block_2 ; CPU:$F566 PRG:3566 D0 EA
|
|
ldx #$08 ; CPU:$F568 PRG:3568 A2 08
|
|
bne SubCF564_Block_2 ; CPU:$F56A PRG:356A D0 E6
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF56C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF56C:
|
|
lda #$C0 ; CPU:$F56C PRG:356C A9 C0
|
|
sta JOY2 ; CPU:$F56E PRG:356E 8D 17 40
|
|
jsr $F6CF ; CPU:$F571 PRG:3571 20 CF F6
|
|
jsr $F621 ; CPU:$F574 PRG:3574 20 21 F6
|
|
jsr $F7CC ; CPU:$F577 PRG:3577 20 CC F7
|
|
jsr $F591 ; CPU:$F57A PRG:357A 20 91 F5
|
|
lda #$00 ; CPU:$F57D PRG:357D A9 00
|
|
beq SubCF56C_Block ; CPU:$F57F PRG:357F F0 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF581
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF581:
|
|
lda #$F4 ; CPU:$F581 PRG:3581 A9 F4
|
|
sta $0613 ; CPU:$F583 PRG:3583 8D 13 06
|
|
sta $0611 ; CPU:$F586 PRG:3586 8D 11 06
|
|
rts ; CPU:$F589 PRG:3589 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF56C_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF56C_Block:
|
|
sta ZpF0 ; CPU:$F58A PRG:358A 85 F0
|
|
sta ZpF1 ; CPU:$F58C PRG:358C 85 F1
|
|
sta ZpF2 ; CPU:$F58E PRG:358E 85 F2
|
|
rts ; CPU:$F590 PRG:3590 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF591
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF591:
|
|
lda ZpF2 ; CPU:$F591 PRG:3591 A5 F2
|
|
lsr a ; CPU:$F593 PRG:3593 4A
|
|
bcs SubCF591_Block ; CPU:$F594 PRG:3594 B0 0C
|
|
lsr a ; CPU:$F596 PRG:3596 4A
|
|
bcs SubCF591_Block_2 ; CPU:$F597 PRG:3597 B0 01
|
|
rts ; CPU:$F599 PRG:3599 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF591_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF591_Block_2:
|
|
lda #$20 ; CPU:$F59A PRG:359A A9 20
|
|
ldx #$F4 ; CPU:$F59C PRG:359C A2 F4
|
|
ldy #$0F ; CPU:$F59E PRG:359E A0 0F
|
|
bne SubCF591_Block_3 ; CPU:$F5A0 PRG:35A0 D0 06
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF591_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF591_Block:
|
|
lda #$20 ; CPU:$F5A2 PRG:35A2 A9 20
|
|
ldx #$EC ; CPU:$F5A4 PRG:35A4 A2 EC
|
|
ldy #$0E ; CPU:$F5A6 PRG:35A6 A0 0E
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF591_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF591_Block_3:
|
|
sta APUDMCLENGTH ; CPU:$F5A8 PRG:35A8 8D 13 40
|
|
stx APUDMCADDR ; CPU:$F5AB PRG:35AB 8E 12 40
|
|
sty APUDMCCTRL ; CPU:$F5AE PRG:35AE 8C 10 40
|
|
lda #$1F ; CPU:$F5B1 PRG:35B1 A9 1F
|
|
sta APUSTATUS ; CPU:$F5B3 PRG:35B3 8D 15 40
|
|
rts ; CPU:$F5B6 PRG:35B6 60
|
|
; ---- data $F5B7-$F5BE (8 bytes) ----
|
|
.byte $9F, $7F, $60, $00, $9F, $7F, $61, $00 ; CPU:$F5B7 PRG:35B7 9F 7F 60 00 9F 7F 61 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF621_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF621_Block_2:
|
|
ldx #$DD ; CPU:$F5BF PRG:35BF A2 DD
|
|
ldy #$F3 ; CPU:$F5C1 PRG:35C1 A0 F3
|
|
jsr $F362 ; CPU:$F5C3 PRG:35C3 20 62 F3
|
|
lda #$00 ; CPU:$F5C6 PRG:35C6 A9 00
|
|
sta SndChan ; CPU:$F5C8 PRG:35C8 85 EB
|
|
sta SndPtrHi ; CPU:$F5CA PRG:35CA 85 ED
|
|
sta ZpEE ; CPU:$F5CC PRG:35CC 85 EE
|
|
lda #$06 ; CPU:$F5CE PRG:35CE A9 06
|
|
sta ZpEF ; CPU:$F5D0 PRG:35D0 85 EF
|
|
lda #$3E ; CPU:$F5D2 PRG:35D2 A9 3E
|
|
sta SndPtrLo ; CPU:$F5D4 PRG:35D4 85 EC
|
|
lda #$40 ; CPU:$F5D6 PRG:35D6 A9 40
|
|
sta FrameCounter ; CPU:$F5D8 PRG:35D8 85 F3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF591_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF591_Block_6:
|
|
rts ; CPU:$F5DA PRG:35DA 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF621_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF621_Block_5:
|
|
inc ZpEE ; CPU:$F5DB PRG:35DB E6 EE
|
|
lda ZpEE ; CPU:$F5DD PRG:35DD A5 EE
|
|
cmp #$01 ; CPU:$F5DF PRG:35DF C9 01
|
|
bne SubCF591_Block_6 ; CPU:$F5E1 PRG:35E1 D0 F7
|
|
lda #$00 ; CPU:$F5E3 PRG:35E3 A9 00
|
|
sta ZpEE ; CPU:$F5E5 PRG:35E5 85 EE
|
|
inc SndChan ; CPU:$F5E7 PRG:35E7 E6 EB
|
|
lda SndChan ; CPU:$F5E9 PRG:35E9 A5 EB
|
|
cmp ZpEF ; CPU:$F5EB PRG:35EB C5 EF
|
|
beq SubCF591_Block_5 ; CPU:$F5ED PRG:35ED F0 0C
|
|
dec SndPtrLo ; CPU:$F5EF PRG:35EF C6 EC
|
|
dec SndPtrLo ; CPU:$F5F1 PRG:35F1 C6 EC
|
|
dec SndPtrLo ; CPU:$F5F3 PRG:35F3 C6 EC
|
|
lda SndPtrLo ; CPU:$F5F5 PRG:35F5 A5 EC
|
|
sta APUTRIANGLETIMERLO ; CPU:$F5F7 PRG:35F7 8D 0A 40
|
|
rts ; CPU:$F5FA PRG:35FA 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF591_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF591_Block_5:
|
|
lda ZpEF ; CPU:$F5FB PRG:35FB A5 EF
|
|
clc ; CPU:$F5FD PRG:35FD 18
|
|
adc #$06 ; CPU:$F5FE PRG:35FE 69 06
|
|
sta ZpEF ; CPU:$F600 PRG:3600 85 EF
|
|
ldy SndPtrHi ; CPU:$F602 PRG:3602 A4 ED
|
|
lda $F3E1,y ; CPU:$F604 PRG:3604 B9 E1 F3
|
|
sta APUTRIANGLETIMERLO ; CPU:$F607 PRG:3607 8D 0A 40
|
|
sta SndPtrLo ; CPU:$F60A PRG:360A 85 EC
|
|
lda #$F0 ; CPU:$F60C PRG:360C A9 F0
|
|
sta APUTRIANGLETIMERHI ; CPU:$F60E PRG:360E 8D 0B 40
|
|
inc SndPtrHi ; CPU:$F611 PRG:3611 E6 ED
|
|
lda SndPtrHi ; CPU:$F613 PRG:3613 A5 ED
|
|
cmp #$0E ; CPU:$F615 PRG:3615 C9 0E
|
|
bne SubCF591_Block_6 ; CPU:$F617 PRG:3617 D0 C1
|
|
lda #$00 ; CPU:$F619 PRG:3619 A9 00
|
|
sta APUTRIANGLECTRL ; CPU:$F61B PRG:361B 8D 08 40
|
|
sta FrameCounter ; CPU:$F61E PRG:361E 85 F3
|
|
rts ; CPU:$F620 PRG:3620 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF621
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF621:
|
|
lda ZpF0 ; CPU:$F621 PRG:3621 A5 F0
|
|
asl a ; CPU:$F623 PRG:3623 0A
|
|
bcs SubCF621_Block ; CPU:$F624 PRG:3624 B0 43
|
|
asl a ; CPU:$F626 PRG:3626 0A
|
|
bcs SubCF621_Block_2 ; CPU:$F627 PRG:3627 B0 96
|
|
asl a ; CPU:$F629 PRG:3629 0A
|
|
bcs SubCF621_Block_3 ; CPU:$F62A PRG:362A B0 15
|
|
asl a ; CPU:$F62C PRG:362C 0A
|
|
bcs SubCF621_Block_4 ; CPU:$F62D PRG:362D B0 0A
|
|
lda FrameCounter ; CPU:$F62F PRG:362F A5 F3
|
|
asl a ; CPU:$F631 PRG:3631 0A
|
|
asl a ; CPU:$F632 PRG:3632 0A
|
|
bcs SubCF621_Block_5 ; CPU:$F633 PRG:3633 B0 A6
|
|
asl a ; CPU:$F635 PRG:3635 0A
|
|
bcs SubCF621_Block_6 ; CPU:$F636 PRG:3636 B0 1D
|
|
rts ; CPU:$F638 PRG:3638 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF621_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF621_Block_4:
|
|
ldx #$EF ; CPU:$F639 PRG:3639 A2 EF
|
|
ldy #$F3 ; CPU:$F63B PRG:363B A0 F3
|
|
jsr $F35E ; CPU:$F63D PRG:363D 20 5E F3
|
|
rts ; CPU:$F640 PRG:3640 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF621_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF621_Block_3:
|
|
ldx #$F3 ; CPU:$F641 PRG:3641 A2 F3
|
|
ldy #$F3 ; CPU:$F643 PRG:3643 A0 F3
|
|
jsr $F36A ; CPU:$F645 PRG:3645 20 6A F3
|
|
lda FrameCounter ; CPU:$F648 PRG:3648 A5 F3
|
|
ora #$20 ; CPU:$F64A PRG:364A 09 20
|
|
sta FrameCounter ; CPU:$F64C PRG:364C 85 F3
|
|
lda #$00 ; CPU:$F64E PRG:364E A9 00
|
|
sta ZpEF ; CPU:$F650 PRG:3650 85 EF
|
|
sta ZpEE ; CPU:$F652 PRG:3652 85 EE
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF621_Block_8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF621_Block_8:
|
|
rts ; CPU:$F654 PRG:3654 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF621_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF621_Block_6:
|
|
inc ZpEE ; CPU:$F655 PRG:3655 E6 EE
|
|
lda ZpEE ; CPU:$F657 PRG:3657 A5 EE
|
|
cmp #$02 ; CPU:$F659 PRG:3659 C9 02
|
|
bne SubCF621_Block_8 ; CPU:$F65B PRG:365B D0 F7
|
|
lda #$00 ; CPU:$F65D PRG:365D A9 00
|
|
sta ZpEE ; CPU:$F65F PRG:365F 85 EE
|
|
inc ZpEF ; CPU:$F661 PRG:3661 E6 EF
|
|
lda ZpEF ; CPU:$F663 PRG:3663 A5 EF
|
|
cmp #$A0 ; CPU:$F665 PRG:3665 C9 A0
|
|
bne SubCF621_Block_8 ; CPU:$F667 PRG:3667 D0 EB
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF621_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF621_Block:
|
|
lda #$10 ; CPU:$F669 PRG:3669 A9 10
|
|
sta APUPULSE2CTRL ; CPU:$F66B PRG:366B 8D 04 40
|
|
lda FrameCounter ; CPU:$F66E PRG:366E A5 F3
|
|
and #$DF ; CPU:$F670 PRG:3670 29 DF
|
|
sta FrameCounter ; CPU:$F672 PRG:3672 85 F3
|
|
rts ; CPU:$F674 PRG:3674 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF6CF_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF6CF_Block_3:
|
|
ldx #$F7 ; CPU:$F675 PRG:3675 A2 F7
|
|
ldy #$F3 ; CPU:$F677 PRG:3677 A0 F3
|
|
jsr $F366 ; CPU:$F679 PRG:3679 20 66 F3
|
|
lda #$10 ; CPU:$F67C PRG:367C A9 10
|
|
sta APUPULSE1CTRL ; CPU:$F67E PRG:367E 8D 00 40
|
|
lda FrameCounter ; CPU:$F681 PRG:3681 A5 F3
|
|
and #$F0 ; CPU:$F683 PRG:3683 29 F0
|
|
sta FrameCounter ; CPU:$F685 PRG:3685 85 F3
|
|
rts ; CPU:$F687 PRG:3687 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF6CF_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF6CF_Block:
|
|
lda #$00 ; CPU:$F688 PRG:3688 A9 00
|
|
sta FrameCounter ; CPU:$F68A PRG:368A 85 F3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF68C
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF68C:
|
|
sta APUTRIANGLECTRL ; CPU:$F68C PRG:368C 8D 08 40
|
|
sta APUDMCDIRECT ; CPU:$F68F PRG:368F 8D 11 40
|
|
sta ZpE6 ; CPU:$F692 PRG:3692 85 E6
|
|
sta ZpE4 ; CPU:$F694 PRG:3694 85 E4
|
|
lda #$10 ; CPU:$F696 PRG:3696 A9 10
|
|
sta APUPULSE1CTRL ; CPU:$F698 PRG:3698 8D 00 40
|
|
sta APUPULSE2CTRL ; CPU:$F69B PRG:369B 8D 04 40
|
|
sta APUNOISECTRL ; CPU:$F69E PRG:369E 8D 0C 40
|
|
rts ; CPU:$F6A1 PRG:36A1 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF6CF_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF6CF_Block_4:
|
|
ldx #$FB ; CPU:$F6A2 PRG:36A2 A2 FB
|
|
ldy #$F3 ; CPU:$F6A4 PRG:36A4 A0 F3
|
|
jsr $F366 ; CPU:$F6A6 PRG:36A6 20 66 F3
|
|
lda #$00 ; CPU:$F6A9 PRG:36A9 A9 00
|
|
sta SndChan ; CPU:$F6AB PRG:36AB 85 EB
|
|
lda FrameCounter ; CPU:$F6AD PRG:36AD A5 F3
|
|
ora #$08 ; CPU:$F6AF PRG:36AF 09 08
|
|
sta FrameCounter ; CPU:$F6B1 PRG:36B1 85 F3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF68C_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF68C_Block:
|
|
rts ; CPU:$F6B3 PRG:36B3 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF6CF_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF6CF_Block_6:
|
|
ldy SndChan ; CPU:$F6B4 PRG:36B4 A4 EB
|
|
lda $F6CB,y ; CPU:$F6B6 PRG:36B6 B9 CB F6
|
|
sta APUNOISEPERIOD ; CPU:$F6B9 PRG:36B9 8D 0E 40
|
|
inc SndChan ; CPU:$F6BC PRG:36BC E6 EB
|
|
lda SndChan ; CPU:$F6BE PRG:36BE A5 EB
|
|
cmp #$04 ; CPU:$F6C0 PRG:36C0 C9 04
|
|
bne SubCF68C_Block ; CPU:$F6C2 PRG:36C2 D0 EF
|
|
lda FrameCounter ; CPU:$F6C4 PRG:36C4 A5 F3
|
|
and #$FE ; CPU:$F6C6 PRG:36C6 29 FE
|
|
sta FrameCounter ; CPU:$F6C8 PRG:36C8 85 F3
|
|
rts ; CPU:$F6CA PRG:36CA 60
|
|
; ---- data $F6CB-$F6CE (4 bytes) ----
|
|
; referenced by `lda $F6CB,y` at $F6B6 (operand $F6CB falls inside this region)
|
|
.byte $00, $02, $01, $00 ; CPU:$F6CB PRG:36CB 00 02 01 00
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF6CF
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF6CF:
|
|
lda ZpF0 ; CPU:$F6CF PRG:36CF A5 F0
|
|
lsr a ; CPU:$F6D1 PRG:36D1 4A
|
|
bcs SubCF6CF_Block ; CPU:$F6D2 PRG:36D2 B0 B4
|
|
lsr a ; CPU:$F6D4 PRG:36D4 4A
|
|
bcs SubCF6CF_Block_2 ; CPU:$F6D5 PRG:36D5 B0 11
|
|
lsr a ; CPU:$F6D7 PRG:36D7 4A
|
|
bcs SubCF6CF_Block_3 ; CPU:$F6D8 PRG:36D8 B0 9B
|
|
lsr a ; CPU:$F6DA PRG:36DA 4A
|
|
bcs SubCF6CF_Block_4 ; CPU:$F6DB PRG:36DB B0 C5
|
|
lda FrameCounter ; CPU:$F6DD PRG:36DD A5 F3
|
|
lsr a ; CPU:$F6DF PRG:36DF 4A
|
|
lsr a ; CPU:$F6E0 PRG:36E0 4A
|
|
bcs SubCF6CF_Block_5 ; CPU:$F6E1 PRG:36E1 B0 20
|
|
lsr a ; CPU:$F6E3 PRG:36E3 4A
|
|
lsr a ; CPU:$F6E4 PRG:36E4 4A
|
|
bcs SubCF6CF_Block_6 ; CPU:$F6E5 PRG:36E5 B0 CD
|
|
rts ; CPU:$F6E7 PRG:36E7 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF6CF_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF6CF_Block_2:
|
|
ldx #$FF ; CPU:$F6E8 PRG:36E8 A2 FF
|
|
ldy #$F6 ; CPU:$F6EA PRG:36EA A0 F6
|
|
jsr $F366 ; CPU:$F6EC PRG:36EC 20 66 F3
|
|
lda #$00 ; CPU:$F6EF PRG:36EF A9 00
|
|
sta SndPtrLo ; CPU:$F6F1 PRG:36F1 85 EC
|
|
sta SndPtrHi ; CPU:$F6F3 PRG:36F3 85 ED
|
|
sta APUDMCDIRECT ; CPU:$F6F5 PRG:36F5 8D 11 40
|
|
lda FrameCounter ; CPU:$F6F8 PRG:36F8 A5 F3
|
|
ora #$02 ; CPU:$F6FA PRG:36FA 09 02
|
|
sta FrameCounter ; CPU:$F6FC PRG:36FC 85 F3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF6CF_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF6CF_Block_7:
|
|
rts ; CPU:$F6FE PRG:36FE 60
|
|
; ---- data $F6FF-$F702 (4 bytes) ----
|
|
.byte $3F, $7F, $0F, $08 ; CPU:$F6FF PRG:36FF 3F 7F 0F 08
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF6CF_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF6CF_Block_5:
|
|
inc SndPtrLo ; CPU:$F703 PRG:3703 E6 EC
|
|
lda SndPtrLo ; CPU:$F705 PRG:3705 A5 EC
|
|
cmp #$02 ; CPU:$F707 PRG:3707 C9 02
|
|
bne SubCF6CF_Block_7 ; CPU:$F709 PRG:3709 D0 F3
|
|
lda #$00 ; CPU:$F70B PRG:370B A9 00
|
|
sta SndPtrLo ; CPU:$F70D PRG:370D 85 EC
|
|
ldy SndPtrHi ; CPU:$F70F PRG:370F A4 ED
|
|
lda $F731,y ; CPU:$F711 PRG:3711 B9 31 F7
|
|
sta APUNOISEPERIOD ; CPU:$F714 PRG:3714 8D 0E 40
|
|
lda $F761,y ; CPU:$F717 PRG:3717 B9 61 F7
|
|
sta APUNOISECTRL ; CPU:$F71A PRG:371A 8D 0C 40
|
|
inc SndPtrHi ; CPU:$F71D PRG:371D E6 ED
|
|
lda SndPtrHi ; CPU:$F71F PRG:371F A5 ED
|
|
cmp #$30 ; CPU:$F721 PRG:3721 C9 30
|
|
bne SubCF6CF_Block_8 ; CPU:$F723 PRG:3723 D0 0B
|
|
lda #$10 ; CPU:$F725 PRG:3725 A9 10
|
|
sta APUNOISECTRL ; CPU:$F727 PRG:3727 8D 0C 40
|
|
lda FrameCounter ; CPU:$F72A PRG:372A A5 F3
|
|
and #$FD ; CPU:$F72C PRG:372C 29 FD
|
|
sta FrameCounter ; CPU:$F72E PRG:372E 85 F3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF6CF_Block_8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF6CF_Block_8:
|
|
rts ; CPU:$F730 PRG:3730 60
|
|
; ---- data $F731-$F790 (96 bytes) ----
|
|
; referenced by `lda $F731,y` at $F711 (operand $F731 falls inside this region)
|
|
; referenced by `lda $F761,y` at $F717 (operand $F761 falls inside this region)
|
|
.byte $0E, $0B, $05, $05, $05, $05, $05, $05, $05, $05, $05, $05, $04, $04, $04, $04 ; CPU:$F731 PRG:3731 0E 0B 05 05 05 05 05 05 05 05 05 05 04 04 04 04
|
|
.byte $04, $04, $03, $03, $03, $03, $03, $04, $03, $02, $02, $02, $02, $02, $02, $02 ; CPU:$F741 PRG:3741 04 04 03 03 03 03 03 04 03 02 02 02 02 02 02 02
|
|
.byte $02, $01, $01, $01, $02, $02, $01, $01, $00, $00, $00, $00, $00, $00, $00, $00 ; CPU:$F751 PRG:3751 02 01 01 01 02 02 01 01 00 00 00 00 00 00 00 00
|
|
.byte $3F, $3F, $3F, $3F, $3F, $3F, $3D, $3C, $38, $38, $38, $37, $37, $37, $36, $36 ; CPU:$F761 PRG:3761 3F 3F 3F 3F 3F 3F 3D 3C 38 38 38 37 37 37 36 36
|
|
.byte $34, $34, $34, $34, $34, $34, $34, $34, $33, $33, $33, $33, $33, $33, $33, $33 ; CPU:$F771 PRG:3771 34 34 34 34 34 34 34 34 33 33 33 33 33 33 33 33
|
|
.byte $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32, $32 ; CPU:$F781 PRG:3781 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_10
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_10:
|
|
ldx #$B7 ; CPU:$F791 PRG:3791 A2 B7
|
|
ldy #$F5 ; CPU:$F793 PRG:3793 A0 F5
|
|
jsr $F35E ; CPU:$F795 PRG:3795 20 5E F3
|
|
ldx #$BB ; CPU:$F798 PRG:3798 A2 BB
|
|
ldy #$F5 ; CPU:$F79A PRG:379A A0 F5
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF6CF_Block_9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF6CF_Block_9:
|
|
jsr $F36A ; CPU:$F79C PRG:379C 20 6A F3
|
|
rts ; CPU:$F79F PRG:379F 60
|
|
; ---- data $F7A0-$F7A7 (8 bytes) ----
|
|
.byte $84, $93, $70, $E3, $84, $93, $72, $E3 ; CPU:$F7A0 PRG:37A0 84 93 70 E3 84 93 72 E3
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_12
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_12:
|
|
lda #$00 ; CPU:$F7A8 PRG:37A8 A9 00
|
|
sta APUPULSE1CTRL ; CPU:$F7AA PRG:37AA 8D 00 40
|
|
ldx #$A0 ; CPU:$F7AD PRG:37AD A2 A0
|
|
ldy #$F7 ; CPU:$F7AF PRG:37AF A0 F7
|
|
jsr $F35E ; CPU:$F7B1 PRG:37B1 20 5E F3
|
|
ldx #$A4 ; CPU:$F7B4 PRG:37B4 A2 A4
|
|
ldy #$F7 ; CPU:$F7B6 PRG:37B6 A0 F7
|
|
bne SubCF6CF_Block_9 ; CPU:$F7B8 PRG:37B8 D0 E2
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_8
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_8:
|
|
ldy #$06 ; CPU:$F7BA PRG:37BA A0 06
|
|
lda #$80 ; CPU:$F7BC PRG:37BC A9 80
|
|
bne SubCF7CC_Block_19 ; CPU:$F7BE PRG:37BE D0 6F
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_3
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_3:
|
|
ldy #$04 ; CPU:$F7C0 PRG:37C0 A0 04
|
|
lda #$04 ; CPU:$F7C2 PRG:37C2 A9 04
|
|
bne SubCF7CC_Block_21 ; CPU:$F7C4 PRG:37C4 D0 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_4
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_4:
|
|
ldy #$05 ; CPU:$F7C6 PRG:37C6 A0 05
|
|
lda #$08 ; CPU:$F7C8 PRG:37C8 A9 08
|
|
bne SubCF7CC_Block_21 ; CPU:$F7CA PRG:37CA D0 5A
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC:
|
|
lda ZpF1 ; CPU:$F7CC PRG:37CC A5 F1
|
|
lsr a ; CPU:$F7CE PRG:37CE 4A
|
|
bcs SubCF7CC_Block ; CPU:$F7CF PRG:37CF B0 2C
|
|
lsr a ; CPU:$F7D1 PRG:37D1 4A
|
|
bcs SubCF7CC_Block_2 ; CPU:$F7D2 PRG:37D2 B0 2F
|
|
lsr a ; CPU:$F7D4 PRG:37D4 4A
|
|
bcs SubCF7CC_Block_3 ; CPU:$F7D5 PRG:37D5 B0 E9
|
|
lsr a ; CPU:$F7D7 PRG:37D7 4A
|
|
bcs SubCF7CC_Block_4 ; CPU:$F7D8 PRG:37D8 B0 EC
|
|
lsr a ; CPU:$F7DA PRG:37DA 4A
|
|
bcs SubCF7CC_Block_5 ; CPU:$F7DB PRG:37DB B0 2C
|
|
lsr a ; CPU:$F7DD PRG:37DD 4A
|
|
bcs SubCF7CC_Block_6 ; CPU:$F7DE PRG:37DE B0 2F
|
|
lsr a ; CPU:$F7E0 PRG:37E0 4A
|
|
bcs SubCF7CC_Block_7 ; CPU:$F7E1 PRG:37E1 B0 32
|
|
lsr a ; CPU:$F7E3 PRG:37E3 4A
|
|
bcs SubCF7CC_Block_8 ; CPU:$F7E4 PRG:37E4 B0 D4
|
|
lda ZpF2 ; CPU:$F7E6 PRG:37E6 A5 F2
|
|
asl a ; CPU:$F7E8 PRG:37E8 0A
|
|
bcs SubCF7CC_Block_9 ; CPU:$F7E9 PRG:37E9 B0 30
|
|
asl a ; CPU:$F7EB PRG:37EB 0A
|
|
asl a ; CPU:$F7EC PRG:37EC 0A
|
|
bcs SubCF7CC_Block_10 ; CPU:$F7ED PRG:37ED B0 A2
|
|
asl a ; CPU:$F7EF PRG:37EF 0A
|
|
bcs SubCF7CC_Block_11 ; CPU:$F7F0 PRG:37F0 B0 4E
|
|
asl a ; CPU:$F7F2 PRG:37F2 0A
|
|
bcs SubCF7CC_Block_12 ; CPU:$F7F3 PRG:37F3 B0 B3
|
|
lda ZpE6 ; CPU:$F7F5 PRG:37F5 A5 E6
|
|
bne SubCF7CC_Block_13 ; CPU:$F7F7 PRG:37F7 D0 01
|
|
rts ; CPU:$F7F9 PRG:37F9 60
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_13
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_13:
|
|
jmp $F40F ; CPU:$F7FA PRG:37FA 4C 0F F4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block:
|
|
ldy #$00 ; CPU:$F7FD PRG:37FD A0 00
|
|
lda #$01 ; CPU:$F7FF PRG:37FF A9 01
|
|
bne SubCF7CC_Block_21 ; CPU:$F801 PRG:3801 D0 23
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_2
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_2:
|
|
ldy #$03 ; CPU:$F803 PRG:3803 A0 03
|
|
lda #$02 ; CPU:$F805 PRG:3805 A9 02
|
|
bne SubCF7CC_Block_19 ; CPU:$F807 PRG:3807 D0 26
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_5
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_5:
|
|
ldy #$01 ; CPU:$F809 PRG:3809 A0 01
|
|
lda #$10 ; CPU:$F80B PRG:380B A9 10
|
|
bne SubCF7CC_Block_21 ; CPU:$F80D PRG:380D D0 17
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_6
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_6:
|
|
ldy #$07 ; CPU:$F80F PRG:380F A0 07
|
|
lda #$20 ; CPU:$F811 PRG:3811 A9 20
|
|
bne SubCF7CC_Block_21 ; CPU:$F813 PRG:3813 D0 11
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_7
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_7:
|
|
ldy #$02 ; CPU:$F815 PRG:3815 A0 02
|
|
lda #$40 ; CPU:$F817 PRG:3817 A9 40
|
|
bne SubCF7CC_Block_21 ; CPU:$F819 PRG:3819 D0 0B
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_9
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_9:
|
|
lda #$10 ; CPU:$F81B PRG:381B A9 10
|
|
sta APUNOISECTRL ; CPU:$F81D PRG:381D 8D 0C 40
|
|
ldy #$08 ; CPU:$F820 PRG:3820 A0 08
|
|
lda #$EF ; CPU:$F822 PRG:3822 A9 EF
|
|
bne SubCF7CC_Block_19 ; CPU:$F824 PRG:3824 D0 09
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_21
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_21:
|
|
jsr $F383 ; CPU:$F826 PRG:3826 20 83 F3
|
|
ldx #$C0 ; CPU:$F829 PRG:3829 A2 C0
|
|
ldy #$C0 ; CPU:$F82B PRG:382B A0 C0
|
|
bne SubCF7CC_Block_20 ; CPU:$F82D PRG:382D D0 07
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_19
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_19:
|
|
jsr $F383 ; CPU:$F82F PRG:382F 20 83 F3
|
|
ldx #$86 ; CPU:$F832 PRG:3832 A2 86
|
|
ldy #$86 ; CPU:$F834 PRG:3834 A0 86
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_20
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_20:
|
|
jsr $F3D0 ; CPU:$F836 PRG:3836 20 D0 F3
|
|
lda #$00 ; CPU:$F839 PRG:3839 A9 00
|
|
sta ZpE4 ; CPU:$F83B PRG:383B 85 E4
|
|
jmp $F40F ; CPU:$F83D PRG:383D 4C 0F F4
|
|
; -----------------------------------------------------------------------------
|
|
; Routine: SubCF7CC_Block_11
|
|
; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage.
|
|
; Local: Continues its parent routine along the condition or operation encoded in this label,
|
|
; then returns, branches again, or rejoins shared code as documented by the instructions.
|
|
; Parameters: Undetermined in Pass 1 unless implied by the caller.
|
|
; Returns: Undetermined in Pass 1; status flags and registers may carry results.
|
|
; Clobbers: Undetermined in Pass 1.
|
|
; -----------------------------------------------------------------------------
|
|
SubCF7CC_Block_11:
|
|
ldy #$09 ; CPU:$F840 PRG:3840 A0 09
|
|
lda #$EF ; CPU:$F842 PRG:3842 A9 EF
|
|
bne SubCF7CC_Block_21 ; CPU:$F844 PRG:3844 D0 E0
|
|
asl a ; CPU:$F846 PRG:3846 0A
|
|
; ---- data $F847-$FFFF (1977 bytes) ----
|
|
; referenced by `lda $F847,y` at $F38E (operand $F847 falls inside this region)
|
|
; referenced by `lda $F848,y` at $F393 (operand $F848 falls inside this region)
|
|
; referenced by `lda $F849,y` at $F398 (operand $F849 falls inside this region)
|
|
; referenced by `lda $F84A,y` at $F39D (operand $F84A falls inside this region)
|
|
; referenced by `lda $F84B,y` at $F3A2 (operand $F84B falls inside this region)
|
|
; referenced by `lda $F84C,y` at $F3A7 (operand $F84C falls inside this region)
|
|
; ... and 2 further references from decoded code
|
|
BackgroundTileData: ; Background tile data
|
|
.byte $13, $1C, $25, $2E, $37, $40, $49, $52, $5B, $07, $C3, $F8, $E2, $F8, $08, $F9 ; CPU:$F847 PRG:3847 13 1C 25 2E 37 40 49 52 5B 07 C3 F8 E2 F8 08 F9
|
|
.byte $1B, $F9, $07, $2F, $F9, $60, $F9, $A1, $F9, $CC, $F9, $07, $AF, $FA, $CA, $FA ; CPU:$F857 PRG:3857 1B F9 07 2F F9 60 F9 A1 F9 CC F9 07 AF FA CA FA
|
|
.byte $E4, $FA, $F5, $FA, $07, $DA, $F9, $F7, $F9, $13, $FA, $28, $FA, $07, $2F, $FA ; CPU:$F867 PRG:3867 E4 FA F5 FA 07 DA F9 F7 F9 13 FA 28 FA 07 2F FA
|
|
.byte $3F, $FA, $64, $FA, $80, $FA, $07, $91, $FA, $9A, $FA, $A7, $FA, $00, $00, $07 ; CPU:$F877 PRG:3877 3F FA 64 FA 80 FA 07 91 FA 9A FA A7 FA 00 00 07
|
|
.byte $BD, $F8, $00, $00, $00, $00, $00, $00, $00, $26, $F9, $2A, $F9, $00, $00, $00 ; CPU:$F887 PRG:3887 BD F8 00 00 00 00 00 00 00 26 F9 2A F9 00 00 00
|
|
.byte $00, $00, $AA, $F8, $B1, $F8, $B7, $F8, $00, $00, $00, $00, $FF, $18, $FF, $00 ; CPU:$F897 PRG:3897 00 00 AA F8 B1 F8 B7 F8 00 00 00 00 FF 18 FF 00
|
|
.byte $00, $00, $00, $85, $3E, $3C, $3A, $38, $36, $00, $85, $44, $42, $40, $3E, $3C ; CPU:$F8A7 PRG:38A7 00 00 00 85 3E 3C 3A 38 36 00 85 44 42 40 3E 3C
|
|
.byte $85, $3E, $3C, $3A, $38, $36, $C3, $80, $10, $4E, $FF, $00, $84, $02, $81, $02 ; CPU:$F8B7 PRG:38B7 85 3E 3C 3A 38 36 C3 80 10 4E FF 00 84 02 81 02
|
|
.byte $2A, $2A, $02, $2C, $02, $2C, $02, $2E, $30, $02, $22, $83, $02, $81, $02, $08 ; CPU:$F8C7 PRG:38C7 2A 2A 02 2C 02 2C 02 2E 30 02 22 83 02 81 02 08
|
|
.byte $02, $02, $06, $02, $06, $02, $28, $2A, $02, $22, $00, $84, $02, $81, $02, $80 ; CPU:$F8D7 PRG:38D7 02 02 06 02 06 02 28 2A 02 22 00 84 02 81 02 80
|
|
.byte $46, $46, $81, $46, $02, $1C, $1E, $20, $22, $80, $28, $28, $81, $2A, $02, $40 ; CPU:$F8E7 PRG:38E7 46 46 81 46 02 1C 1E 20 22 80 28 28 81 2A 02 40
|
|
.byte $83, $02, $81, $02, $30, $02, $02, $80, $2C, $2C, $81, $1E, $20, $22, $30, $83 ; CPU:$F8F7 PRG:38F7 83 02 81 02 30 02 02 80 2C 2C 81 1E 20 22 30 83
|
|
.byte $02, $C6, $80, $0C, $02, $0C, $02, $18, $02, $18, $02, $4C, $02, $4C, $02, $18 ; CPU:$F907 PRG:3907 02 C6 80 0C 02 0C 02 18 02 18 02 4C 02 4C 02 18
|
|
.byte $02, $18, $02, $FF, $C6, $81, $03, $03, $06, $06, $03, $03, $06, $03, $FF, $81 ; CPU:$F917 PRG:3917 02 18 02 FF C6 81 03 03 06 06 03 03 06 03 FF 81
|
|
.byte $16, $4A, $00, $80, $02, $81, $16, $4A, $81, $0C, $0C, $12, $02, $0C, $02, $12 ; CPU:$F927 PRG:3927 16 4A 00 80 02 81 16 4A 81 0C 0C 12 02 0C 02 12
|
|
.byte $02, $0E, $0E, $16, $02, $0E, $02, $16, $02, $0C, $0C, $12, $02, $0C, $02, $12 ; CPU:$F937 PRG:3937 02 0E 0E 16 02 0E 02 16 02 0C 0C 12 02 0C 02 12
|
|
.byte $02, $12, $10, $0E, $0C, $08, $04, $30, $02, $80, $04, $04, $81, $08, $0A, $0C ; CPU:$F947 PRG:3947 02 12 10 0E 0C 08 04 30 02 80 04 04 81 08 0A 0C
|
|
.byte $80, $0E, $0E, $81, $12, $16, $18, $48, $00, $80, $04, $04, $81, $04, $22, $28 ; CPU:$F957 PRG:3957 80 0E 0E 81 12 16 18 48 00 80 04 04 81 04 22 28
|
|
.byte $04, $22, $24, $28, $80, $2C, $2C, $81, $2C, $24, $2C, $04, $2C, $80, $04, $30 ; CPU:$F967 PRG:3967 04 22 24 28 80 2C 2C 81 2C 24 2C 04 2C 80 04 30
|
|
.byte $2C, $28, $80, $04, $04, $81, $22, $24, $10, $28, $2A, $2C, $2E, $80, $30, $30 ; CPU:$F977 PRG:3977 2C 28 80 04 04 81 22 24 10 28 2A 2C 2E 80 30 30
|
|
.byte $81, $2E, $2C, $28, $80, $24, $24, $81, $22, $1E, $02, $80, $22, $22, $81, $24 ; CPU:$F987 PRG:3987 81 2E 2C 28 80 24 24 81 22 1E 02 80 22 22 81 24
|
|
.byte $26, $28, $80, $2C, $2C, $81, $30, $04, $08, $0C, $81, $1A, $1A, $02, $20, $22 ; CPU:$F997 PRG:3997 26 28 80 2C 2C 81 30 04 08 0C 81 1A 1A 02 20 22
|
|
.byte $02, $3E, $02, $3A, $3A, $02, $40, $42, $02, $1A, $42, $1A, $32, $02, $34, $36 ; CPU:$F9A7 PRG:39A7 02 3E 02 3A 3A 02 40 42 02 1A 42 1A 32 02 34 36
|
|
.byte $38, $3A, $02, $3E, $82, $3E, $81, $42, $44, $46, $3E, $02, $1A, $1A, $02, $38 ; CPU:$F9B7 PRG:39B7 38 3A 02 3E 82 3E 81 42 44 46 3E 02 1A 1A 02 38
|
|
.byte $3A, $3A, $02, $3A, $1A, $C8, $81, $06, $03, $06, $80, $09, $03, $81, $03, $03 ; CPU:$F9C7 PRG:39C7 3A 3A 02 3A 1A C8 81 06 03 06 80 09 03 81 03 03
|
|
.byte $82, $0C, $FF, $81, $2A, $2A, $28, $02, $26, $02, $24, $02, $85, $22, $81, $24 ; CPU:$F9D7 PRG:39D7 82 0C FF 81 2A 2A 28 02 26 02 24 02 85 22 81 24
|
|
.byte $83, $02, $81, $02, $0E, $06, $2A, $2A, $28, $26, $24, $85, $22, $81, $24, $00 ; CPU:$F9E7 PRG:39E7 83 02 81 02 0E 06 2A 2A 28 26 24 85 22 81 24 00
|
|
.byte $81, $24, $24, $22, $02, $20, $02, $1E, $02, $85, $3E, $81, $40, $83, $02, $81 ; CPU:$F9F7 PRG:39F7 81 24 24 22 02 20 02 1E 02 85 3E 81 40 83 02 81
|
|
.byte $02, $2A, $24, $1C, $1A, $46, $44, $40, $85, $3E, $81, $40, $84, $02, $85, $1A ; CPU:$FA07 PRG:3A07 02 2A 24 1C 1A 46 44 40 85 3E 81 40 84 02 85 1A
|
|
.byte $81, $1C, $83, $02, $81, $02, $4A, $14, $0E, $0A, $08, $06, $04, $85, $1A, $81 ; CPU:$FA17 PRG:3A17 81 1C 83 02 81 02 4A 14 0E 0A 08 06 04 85 1A 81
|
|
.byte $1C, $CC, $81, $06, $06, $09, $03, $FF, $82, $08, $10, $16, $48, $18, $02, $12 ; CPU:$FA27 PRG:3A27 1C CC 81 06 06 09 03 FF 82 08 10 16 48 18 02 12
|
|
.byte $02, $10, $0C, $08, $06, $81, $08, $00, $81, $26, $26, $82, $2C, $81, $08, $0C ; CPU:$FA37 PRG:3A37 02 10 0C 08 06 81 08 00 81 26 26 82 2C 81 08 0C
|
|
.byte $10, $16, $80, $12, $12, $81, $28, $10, $0C, $30, $2E, $30, $04, $80, $2C, $2C ; CPU:$FA47 PRG:3A47 10 16 80 12 12 81 28 10 0C 30 2E 30 04 80 2C 2C
|
|
.byte $81, $08, $28, $30, $80, $26, $26, $81, $2C, $22, $2C, $82, $26, $85, $1E, $81 ; CPU:$FA57 PRG:3A57 81 08 28 30 80 26 26 81 2C 22 2C 82 26 85 1E 81
|
|
.byte $1E, $82, $3C, $3C, $85, $3E, $81, $3E, $85, $3E, $81, $3E, $85, $42, $81, $42 ; CPU:$FA67 PRG:3A67 1E 82 3C 3C 85 3E 81 3E 85 3E 81 3E 85 42 81 42
|
|
.byte $85, $42, $81, $42, $82, $1E, $81, $1E, $1E, $C4, $81, $06, $82, $0C, $81, $06 ; CPU:$FA77 PRG:3A77 85 42 81 42 82 1E 81 1E 1E C4 81 06 82 0C 81 06
|
|
.byte $80, $09, $03, $03, $03, $09, $03, $03, $03, $FF, $81, $0A, $24, $26, $28, $2E ; CPU:$FA87 PRG:3A87 80 09 03 03 03 09 03 03 03 FF 81 0A 24 26 28 2E
|
|
.byte $0A, $04, $00, $80, $12, $12, $81, $0A, $0A, $80, $20, $20, $81, $28, $2E, $2A ; CPU:$FA97 PRG:3A97 0A 04 00 80 12 12 81 0A 0A 80 20 20 81 28 2E 2A
|
|
.byte $81, $20, $02, $20, $28, $02, $28, $2A, $82, $02, $81, $0E, $08, $04, $2C, $2A ; CPU:$FAA7 PRG:3AA7 81 20 02 20 28 02 28 2A 82 02 81 0E 08 04 2C 2A
|
|
.byte $28, $24, $1E, $1C, $1A, $1E, $24, $2E, $24, $2C, $04, $28, $2E, $08, $28, $30 ; CPU:$FAB7 PRG:3AB7 28 24 1E 1C 1A 1E 24 2E 24 2C 04 28 2E 08 28 30
|
|
.byte $0E, $0C, $00, $82, $02, $81, $2C, $2C, $02, $02, $1E, $02, $02, $02, $02, $02 ; CPU:$FAC7 PRG:3AC7 0E 0C 00 82 02 81 2C 2C 02 02 1E 02 02 02 02 02
|
|
.byte $44, $1E, $24, $42, $1A, $2C, $44, $1E, $24, $46, $1E, $1E, $28, $82, $1E, $81 ; CPU:$FAD7 PRG:3AD7 44 1E 24 42 1A 2C 44 1E 24 46 1E 1E 28 82 1E 81
|
|
.byte $1E, $85, $22, $24, $3C, $82, $3E, $81, $3E, $85, $42, $44, $46, $1A, $C5, $81 ; CPU:$FAE7 PRG:3AE7 1E 85 22 24 3C 82 3E 81 3E 85 42 44 46 1A C5 81
|
|
.byte $06, $06, $06, $09, $03, $06, $FF, $FF, $FF, $55, $AD, $4A, $55, $D5, $AA, $52 ; CPU:$FAF7 PRG:3AF7 06 06 06 09 03 06 FF FF FF 55 AD 4A 55 D5 AA 52
|
|
.byte $55, $AD, $2A, $55, $B5, $2A, $49, $BB, $55, $45, $A9, $6E, $53, $44, $B5, $6B ; CPU:$FB07 PRG:3B07 55 AD 2A 55 B5 2A 49 BB 55 45 A9 6E 53 44 B5 6B
|
|
.byte $15, $A5, $DA, $56, $49, $A4, $FB, $96, $10, $D5, $FA, $4A, $50, $B6, $5B, $45 ; CPU:$FB17 PRG:3B17 15 A5 DA 56 49 A4 FB 96 10 D5 FA 4A 50 B6 5B 45
|
|
.byte $B2, $B6, $4B, $01, $E9, $FF, $45, $00, $BA, $FF, $01, $90, $FE, $57, $04, $B5 ; CPU:$FB27 PRG:3B27 B2 B6 4B 01 E9 FF 45 00 BA FF 01 90 FE 57 04 B5
|
|
.byte $2F, $01, $B5, $FF, $01, $44, $FE, $1F, $01, $B0, $FF, $17, $00, $E8, $FF, $17 ; CPU:$FB37 PRG:3B37 2F 01 B5 FF 01 44 FE 1F 01 B0 FF 17 00 E8 FF 17
|
|
.byte $00, $FA, $7F, $01, $50, $FB, $1B, $41, $EA, $BF, $04, $50, $FB, $2F, $01, $D2 ; CPU:$FB47 PRG:3B47 00 FA 7F 01 50 FB 1B 41 EA BF 04 50 FB 2F 01 D2
|
|
.byte $FE, $4B, $00, $F8, $FF, $05, $40, $FB, $4F, $40, $EA, $2B, $55, $B5, $2B, $11 ; CPU:$FB57 PRG:3B57 FE 4B 00 F8 FF 05 40 FB 4F 40 EA 2B 55 B5 2B 11
|
|
.byte $D1, $FE, $45, $44, $6D, $55, $D5, $6A, $45, $D4, $FA, $2A, $49, $45, $51, $FF ; CPU:$FB67 PRG:3B67 D1 FE 45 44 6D 55 D5 6A 45 D4 FA 2A 49 45 51 FF
|
|
.byte $6E, $04, $A0, $FE, $1F, $01, $11, $FB, $BF, $12, $10, $B5, $FF, $4A, $04, $C0 ; CPU:$FB77 PRG:3B77 6E 04 A0 FE 1F 01 11 FB BF 12 10 B5 FF 4A 04 C0
|
|
.byte $FE, $7F, $00, $A8, $FF, $15, $95, $04, $B8, $FF, $4B, $04, $E4, $FE, $17, $00 ; CPU:$FB87 PRG:3B87 FE 7F 00 A8 FF 15 95 04 B8 FF 4B 04 E4 FE 17 00
|
|
.byte $F8, $FF, $03, $00, $EE, $FF, $07, $00, $E8, $FF, $17, $00, $E8, $FF, $1F, $00 ; CPU:$FB97 PRG:3B97 F8 FF 03 00 EE FF 07 00 E8 FF 17 00 E8 FF 1F 00
|
|
.byte $F0, $FF, $03, $00, $FE, $FF, $00, $80, $FF, $1F, $00, $F0, $FF, $1F, $00, $E0 ; CPU:$FBA7 PRG:3BA7 F0 FF 03 00 FE FF 00 80 FF 1F 00 F0 FF 1F 00 E0
|
|
.byte $FF, $0F, $00, $E8, $FF, $07, $00, $FE, $FF, $01, $00, $FF, $7F, $00, $A0, $FF ; CPU:$FBB7 PRG:3BB7 FF 0F 00 E8 FF 07 00 FE FF 01 00 FF 7F 00 A0 FF
|
|
.byte $0F, $00, $F8, $FF, $03, $00, $FE, $7F, $00, $E0, $FF, $0F, $00, $F8, $FF, $01 ; CPU:$FBC7 PRG:3BC7 0F 00 F8 FF 03 00 FE 7F 00 E0 FF 0F 00 F8 FF 01
|
|
.byte $80, $FF, $1F, $00, $F8, $FF, $03, $00, $FE, $1F, $00, $FE, $7F, $01, $80, $FF ; CPU:$FBD7 PRG:3BD7 80 FF 1F 00 F8 FF 03 00 FE 1F 00 FE 7F 01 80 FF
|
|
.byte $07, $C0, $FE, $3F, $00, $D8, $7F, $00, $F8, $FF, $17, $00, $F8, $0F, $80, $FF ; CPU:$FBE7 PRG:3BE7 07 C0 FE 3F 00 D8 7F 00 F8 FF 17 00 F8 0F 80 FF
|
|
.byte $7F, $01, $80, $7F, $40, $B5, $FE, $3F, $00, $E8, $03, $F4, $BF, $E4, $5E, $01 ; CPU:$FBF7 PRG:3BF7 7F 01 80 7F 40 B5 FE 3F 00 E8 03 F4 BF E4 5E 01
|
|
.byte $10, $EE, $BF, $90, $FF, $05, $00, $FC, $7F, $00, $F8, $7F, $00, $F0, $FF, $01 ; CPU:$FC07 PRG:3C07 10 EE BF 90 FF 05 00 FC 7F 00 F8 7F 00 F0 FF 01
|
|
.byte $E0, $FF, $04, $A0, $FF, $07, $80, $FE, $0F, $00, $FF, $1F, $00, $F8, $FF, $00 ; CPU:$FC17 PRG:3C17 E0 FF 04 A0 FF 07 80 FE 0F 00 FF 1F 00 F8 FF 00
|
|
.byte $E0, $FF, $05, $A0, $FF, $07, $00, $FE, $3F, $00, $FA, $3F, $00, $F8, $FF, $00 ; CPU:$FC27 PRG:3C27 E0 FF 05 A0 FF 07 00 FE 3F 00 FA 3F 00 F8 FF 00
|
|
.byte $ED, $17, $00, $FB, $5F, $A0, $FB, $13, $00, $FC, $3F, $00, $FB, $3F, $00, $E8 ; CPU:$FC37 PRG:3C37 ED 17 00 FB 5F A0 FB 13 00 FC 3F 00 FB 3F 00 E8
|
|
.byte $FF, $00, $E0, $FF, $07, $00, $FF, $0F, $00, $FF, $7F, $00, $E0, $7F, $01, $F0 ; CPU:$FC47 PRG:3C47 FF 00 E0 FF 07 00 FF 0F 00 FF 7F 00 E0 7F 01 F0
|
|
.byte $FF, $07, $00, $FE, $1F, $00, $F8, $FF, $01, $80, $FF, $07, $80, $FF, $7F, $00 ; CPU:$FC57 PRG:3C57 FF 07 00 FE 1F 00 F8 FF 01 80 FF 07 80 FF 7F 00
|
|
.byte $E0, $FF, $01, $A0, $FF, $0F, $00, $FA, $7F, $00, $E8, $FF, $01, $80, $FF, $1F ; CPU:$FC67 PRG:3C67 E0 FF 01 A0 FF 0F 00 FA 7F 00 E8 FF 01 80 FF 1F
|
|
.byte $00, $F8, $FF, $01, $80, $FF, $1F, $00, $F8, $FF, $01, $A0, $FF, $0F, $00, $F8 ; CPU:$FC77 PRG:3C77 00 F8 FF 01 80 FF 1F 00 F8 FF 01 A0 FF 0F 00 F8
|
|
.byte $FF, $01, $A0, $FF, $1F, $00, $F0, $FF, $05, $E0, $BF, $12, $00, $F8, $FF, $07 ; CPU:$FC87 PRG:3C87 FF 01 A0 FF 1F 00 F0 FF 05 E0 BF 12 00 F8 FF 07
|
|
.byte $80, $FE, $3F, $00, $11, $EA, $FE, $17, $E8, $AA, $EE, $04, $A9, $15, $81, $FB ; CPU:$FC97 PRG:3C97 80 FE 3F 00 11 EA FE 17 E8 AA EE 04 A9 15 81 FB
|
|
.byte $5F, $51, $A4, $FB, $01, $A0, $FF, $03, $40, $FE, $FF, $00, $C0, $FF, $47, $00 ; CPU:$FCA7 PRG:3CA7 5F 51 A4 FB 01 A0 FF 03 40 FE FF 00 C0 FF 47 00
|
|
.byte $EB, $5F, $00, $B4, $FF, $0F, $00, $EC, $FF, $05, $80, $EE, $57, $11, $D5, $BE ; CPU:$FCB7 PRG:3CB7 EB 5F 00 B4 FF 0F 00 EC FF 05 80 EE 57 11 D5 BE
|
|
.byte $45, $A4, $D6, $AA, $54, $55, $D5, $54, $AA, $BA, $52, $D5, $B6, $54, $4A, $A9 ; CPU:$FCC7 PRG:3CC7 45 A4 D6 AA 54 55 D5 54 AA BA 52 D5 B6 54 4A A9
|
|
.byte $2A, $55, $BB, $4D, $A5, $94, $6A, $AB, $4A, $55, $AD, $2B, $11, $A9, $AE, $B7 ; CPU:$FCD7 PRG:3CD7 2A 55 BB 4D A5 94 6A AB 4A 55 AD 2B 11 A9 AE B7
|
|
.byte $44, $DA, $56, $15, $91, $FA, $AB, $14, $A5, $AD, $4A, $A4, $BE, $AB, $14, $49 ; CPU:$FCE7 PRG:3CE7 44 DA 56 15 91 FA AB 14 A5 AD 4A A4 BE AB 14 49
|
|
.byte $EB, $56, $25, $D1, $6E, $4B, $91, $54, $EB, $AA, $52, $55, $55, $53, $55, $55 ; CPU:$FCF7 PRG:3CF7 EB 56 25 D1 6E 4B 91 54 EB AA 52 55 55 53 55 55
|
|
.byte $55, $AB, $AA, $54, $55, $55, $AB, $AA, $54, $55, $D5, $52, $A9, $AE, $2B, $45 ; CPU:$FD07 PRG:3D07 55 AB AA 54 55 55 AB AA 54 55 D5 52 A9 AE 2B 45
|
|
.byte $52, $6B, $AB, $AA, $AA, $52, $55, $55, $B5, $AA, $52, $D5, $52, $55, $55, $AD ; CPU:$FD17 PRG:3D17 52 6B AB AA AA 52 55 55 B5 AA 52 D5 52 55 55 AD
|
|
.byte $A6, $52, $55, $55, $D5, $AA, $2A, $55, $95, $AA, $ED, $4A, $91, $D4, $6A, $AB ; CPU:$FD27 PRG:3D27 A6 52 55 55 D5 AA 2A 55 95 AA ED 4A 91 D4 6A AB
|
|
.byte $AA, $2A, $55, $55, $55, $55, $55, $D5, $AA, $54, $59, $AB, $2A, $55, $55, $55 ; CPU:$FD37 PRG:3D37 AA 2A 55 55 55 55 55 D5 AA 54 59 AB 2A 55 55 55
|
|
.byte $55, $AD, $AA, $14, $B5, $BB, $46, $44, $D5, $BA, $AA, $AA, $52, $A5, $6A, $D5 ; CPU:$FD47 PRG:3D47 55 AD AA 14 B5 BB 46 44 D5 BA AA AA 52 A5 6A D5
|
|
.byte $2A, $55, $55, $2B, $55, $D5, $AA, $52, $95, $6A, $B5, $AA, $2A, $45, $EA, $7B ; CPU:$FD57 PRG:3D57 2A 55 55 2B 55 D5 AA 52 95 6A B5 AA 2A 45 EA 7B
|
|
.byte $15, $41, $AA, $DB, $5A, $95, $52, $A5, $55, $D5, $54, $55, $B5, $AA, $AA, $AA ; CPU:$FD67 PRG:3D67 15 41 AA DB 5A 95 52 A5 55 D5 54 55 B5 AA AA AA
|
|
.byte $54, $AA, $DA, $5A, $A9, $54, $A9, $D4, $EE, $55, $04, $A9, $EB, $5A, $4A, $55 ; CPU:$FD77 PRG:3D77 54 AA DA 5A A9 54 A9 D4 EE 55 04 A9 EB 5A 4A 55
|
|
.byte $B5, $52, $55, $5A, $55, $AD, $56, $15, $91, $BA, $6B, $55, $49, $A9, $B6, $44 ; CPU:$FD87 PRG:3D87 B5 52 55 5A 55 AD 56 15 91 BA 6B 55 49 A9 B6 44
|
|
.byte $B9, $BF, $44, $A0, $BA, $6B, $52, $D5, $AA, $4A, $A9, $AA, $AD, $AA, $2B, $11 ; CPU:$FD97 PRG:3D97 B9 BF 44 A0 BA 6B 52 D5 AA 4A A9 AA AD AA 2B 11
|
|
.byte $A9, $BE, $2E, $45, $69, $6B, $49, $90, $FE, $5F, $00, $E8, $3F, $05, $B5, $AF ; CPU:$FDA7 PRG:3DA7 A9 BE 2E 45 69 6B 49 90 FE 5F 00 E8 3F 05 B5 AF
|
|
.byte $12, $51, $6D, $AB, $54, $DB, $12, $91, $FA, $56, $52, $6D, $53, $44, $C4, $FF ; CPU:$FDB7 PRG:3DB7 12 51 6D AB 54 DB 12 91 FA 56 52 6D 53 44 C4 FF
|
|
.byte $17, $00, $FD, $13, $A4, $EF, $46, $A8, $56, $95, $D5, $AA, $AA, $4A, $B2, $B6 ; CPU:$FDC7 PRG:3DC7 17 00 FD 13 A4 EF 46 A8 56 95 D5 AA AA 4A B2 B6
|
|
.byte $52, $B5, $2D, $11, $91, $FE, $1F, $80, $BE, $12, $ED, $4E, $52, $AD, $44, $ED ; CPU:$FDD7 PRG:3DD7 52 B5 2D 11 91 FE 1F 80 BE 12 ED 4E 52 AD 44 ED
|
|
.byte $47, $50, $6F, $05, $ED, $2A, $A5, $DB, $12, $41, $FA, $3F, $C0, $2E, $91, $BE ; CPU:$FDE7 PRG:3DE7 47 50 6F 05 ED 2A A5 DB 12 41 FA 3F C0 2E 91 BE
|
|
.byte $15, $B5, $13, $94, $FB, $12, $65, $4B, $A9, $AD, $AA, $52, $B5, $16, $01, $FF ; CPU:$FDF7 PRG:3DF7 15 B5 13 94 FB 12 65 4B A9 AD AA 52 B5 16 01 FF
|
|
.byte $0F, $F0, $03, $F4, $17, $EA, $17, $C4, $5A, $B5, $15, $A9, $55, $A5, $6D, $45 ; CPU:$FE07 PRG:3E07 0F F0 03 F4 17 EA 17 C4 5A B5 15 A9 55 A5 6D 45
|
|
.byte $EC, $5A, $04, $F9, $5F, $A0, $17, $E0, $1F, $F8, $17, $E8, $12, $F9, $47, $E8 ; CPU:$FE17 PRG:3E17 EC 5A 04 F9 5F A0 17 E0 1F F8 17 E8 12 F9 47 E8
|
|
.byte $12, $BB, $AA, $2A, $A9, $5B, $01, $FA, $1F, $F8, $04, $F8, $07, $FE, $44, $5B ; CPU:$FE27 PRG:3E27 12 BB AA 2A A9 5B 01 FA 1F F8 04 F8 07 FE 44 5B
|
|
.byte $90, $7B, $51, $4B, $B4, $1B, $EA, $96, $5A, $11, $E0, $FF, $C1, $16, $D0, $4F ; CPU:$FE37 PRG:3E37 90 7B 51 4B B4 1B EA 96 5A 11 E0 FF C1 16 D0 4F
|
|
.byte $EC, $93, $5A, $44, $ED, $56, $94, $AA, $5A, $AB, $AA, $49, $A9, $80, $FF, $87 ; CPU:$FE47 PRG:3E47 EC 93 5A 44 ED 56 94 AA 5A AB AA 49 A9 80 FF 87
|
|
.byte $16, $D0, $5E, $BA, $AA, $96, $94, $AA, $5B, $54, $AA, $6A, $AB, $55, $49, $15 ; CPU:$FE57 PRG:3E57 16 D0 5E BA AA 96 94 AA 5B 54 AA 6A AB 55 49 15
|
|
.byte $E0, $FF, $45, $05, $AA, $57, $AD, $5A, $49, $95, $EA, $55, $94, $B4, $DA, $56 ; CPU:$FE67 PRG:3E67 E0 FF 45 05 AA 57 AD 5A 49 95 EA 55 94 B4 DA 56
|
|
.byte $A5, $B4, $04, $F8, $7F, $52, $90, $BA, $56, $AB, $95, $52, $A9, $6E, $25, $49 ; CPU:$FE77 PRG:3E77 A5 B4 04 F8 7F 52 90 BA 56 AB 95 52 A9 6E 25 49
|
|
.byte $6D, $B5, $56, $AA, $12, $A0, $FF, $17, $11, $69, $6B, $B5, $56, $49, $A5, $EA ; CPU:$FE87 PRG:3E87 6D B5 56 AA 12 A0 FF 17 11 69 6B B5 56 49 A5 EA
|
|
.byte $4D, $11, $D5, $D6, $5A, $A9, $26, $01, $FE, $5F, $44, $A4, $B6, $B5, $56, $25 ; CPU:$FE97 PRG:3E97 4D 11 D5 D6 5A A9 26 01 FE 5F 44 A4 B6 B5 56 25
|
|
.byte $A5, $EA, $36, $45, $54, $6B, $AB, $55, $55, $00, $FE, $3F, $41, $92, $B6, $D6 ; CPU:$FEA7 PRG:3EA7 A5 EA 36 45 54 6B AB 55 55 00 FE 3F 41 92 B6 D6
|
|
.byte $5A, $55, $14, $B5, $BB, $14, $91, $EE, $AA, $55, $AA, $04, $F8, $FF, $10, $52 ; CPU:$FEB7 PRG:3EB7 5A 55 14 B5 BB 14 91 EE AA 55 AA 04 F8 FF 10 52
|
|
.byte $DA, $DA, $5A, $55, $94, $B4, $BB, $14, $54, $EB, $AA, $5A, $55, $00, $FE, $3F ; CPU:$FEC7 PRG:3EC7 DA DA 5A 55 94 B4 BB 14 54 EB AA 5A 55 00 FE 3F
|
|
.byte $41, $51, $B6, $DA, $6A, $95, $94, $B4, $BB, $12, $54, $ED, $AA, $56, $55, $00 ; CPU:$FED7 PRG:3ED7 41 51 B6 DA 6A 95 94 B4 BB 12 54 ED AA 56 55 00
|
|
.byte $FE, $5F, $44, $52, $AD, $B6, $6A, $95, $94, $AA, $5B, $15, $51, $EB, $AA, $AA ; CPU:$FEE7 PRG:3EE7 FE 5F 44 52 AD B6 6A 95 94 AA 5B 15 51 EB AA AA
|
|
.byte $55, $01, $FA, $5F, $44, $4A, $AB, $D6, $AA, $87, $04, $28, $04, $28, $04, $0C ; CPU:$FEF7 PRG:3EF7 55 01 FA 5F 44 4A AB D6 AA 87 04 28 04 28 04 0C
|
|
.byte $04, $0C, $04, $0C, $12, $0C, $12, $0C, $12, $48, $12, $48, $12, $48, $80, $02 ; CPU:$FF07 PRG:3F07 04 0C 04 0C 12 0C 12 0C 12 48 12 48 12 48 80 02
|
|
.byte $00, $80, $02, $87, $04, $28, $04, $28, $04, $0C, $04, $0C, $04, $0C, $12, $0C ; CPU:$FF17 PRG:3F17 00 80 02 87 04 28 04 28 04 0C 04 0C 04 0C 12 0C
|
|
.byte $12, $0C, $12, $48, $12, $48, $12, $48, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FF27 PRG:3F27 12 0C 12 48 12 48 12 48 FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FF37 PRG:3F37 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FF47 PRG:3F47 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FF57 PRG:3F57 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FF67 PRG:3F67 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FF77 PRG:3F77 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FF87 PRG:3F87 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FF97 PRG:3F97 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FFA7 PRG:3FA7 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FFB7 PRG:3FB7 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FFC7 PRG:3FC7 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FFD7 PRG:3FD7 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$FFE7 PRG:3FE7 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
|
|
.byte $FF, $FF, $FF, $86, $C0, $00, $C0, $00, $C0 ; CPU:$FFF7 PRG:3FF7 FF FF FF 86 C0 00 C0 00 C0
|