Files
disasm/NROM/Pac-Man (U)/routinemap.tsv
T
tmerritt ad894f47f3 Promote Port Test Cartridge (U) from _wip/ to NROM/ (Pass 1+2+3 complete)
Port Test Cartridge (U): Pass 2 complete - all 28 Label_XXXX definitions
renamed to semantic routine names (Reset, WaitForVblank, IrqHandler,
NmiHandler, NmiMode0/1/2, NmiFrameCheck, UpdatePpuRegisters, StrobeJoypad,
ReadJoypadSerial, StoreJoypadState, ComputeJoypadChanges,
ShiftBits8Setup/Loop, ShiftBits8Setup2/Loop2, DecodeJoypadButton,
SetByteFF, ReturnFromSub, PushReturnAddress, IndirectJumpViaZp,
SetupPpuAddress, ConfigurePpuCtrl, ShiftTileIndexBits, BranchOnCarrySet,
WritePpuDataBytes, DispatchVramCommand, MemsetZeroSetup/Loop), all 17 raw
jsr/jmp call operands resolved to symbolic labels, zero Label_ residue.
Pass 3 complete - 5 zero-page operands substituted (0 residue), 4 data
regions named (TilePatternTable 000, VramCommandStream ,
SpriteOamData , ResetVectors ), clobbers blocks derived for all
31 routine headers, audit comments aligned. make stays byte-identical.

git mv from _wip/NROM/ to NROM/Port Test Cartridge (U)/; root README.md
inventory updated (row 42 main table, row 55 status table); WIP.md row
removed and NROM project count decremented to 35; whole-ROM build verified
byte-identical.

Promote 10-Yard Fight (U) from _wip/ to NROM/ (Pass 1+2+3 complete)

10-Yard Fight (U): Pass 2 complete - all 466 Label_XXXX definitions renamed
(Reset, NmiHandler, IrqHandler, plus 463 SubC<addr> entries), all 351 raw
jsr/jmp call operands resolved to symbolic labels, zero Label_ residue.
Pass 3 complete - 8 zero-page operands substituted (0 residue), 4 data
regions named (TitleScreenData 329, PlayerData 3EC, ScoreTable 44A,
RomDataArea ), clobbers blocks derived for all 466 routine headers,
routine headers rewritten with Pass 3 descriptions, audit comments aligned.
make stays byte-identical.

git mv from _wip/NROM/ to NROM/10-Yard Fight (U)/; root README.md inventory
updated (row 43 main table, row 56 status table); WIP.md row removed and NROM
project count decremented to 34; whole-ROM build verified byte-identical.

Promote Chubby Cherub (U) from _wip/ to NROM/ (Pass 1+2+3 complete)

Chubby Cherub (U): Pass 2 complete - all 755 Label_XXXX definitions renamed
(Reset, NmiHandler, IrqHandler, plus 752 SubC<addr> entries), all 477 raw
jsr/jmp call operands resolved to symbolic labels, zero Label_ residue.
Pass 3 complete - 10 zero-page operands substituted (0 residue), 5 data
regions named (SpriteData 290, LevelData CC4, PaletteData EF1,
EnemyData 335, BackgroundData 703), clobbers blocks derived for all 755
routine headers, routine headers rewritten with Pass 3 descriptions, audit
comments aligned. make stays byte-identical.

git mv from _wip/NROM/ to NROM/Chubby Cherub (U)/; root README.md inventory
updated (row 44 main table, row 57 status table); WIP.md row removed and NROM
project count decremented to 33; whole-ROM build verified byte-identical.

Promote Dig Dug II (U) [!] from _wip/ to NROM/ (Pass 1+2+3 complete)

Dig Dug II (U) [!]: Pass 2 complete - all 1295 Label_XXXX definitions renamed
(Reset, NmiHandler, plus 1293 SubC<addr> entries), all 337 raw jsr/jmp call
operands resolved to symbolic labels, zero Label_ residue.
Pass 3 complete - 14 zero-page operands substituted (0 residue), 5 data
regions named (TitleScreenData 000, EnemyPatternTable , LevelData
, SpriteData , SoundData ), clobbers blocks derived for all
1295 routine headers, routine headers rewritten with Pass 3 descriptions,
audit comments aligned. make stays byte-identical.

git mv from _wip/NROM/ to NROM/Dig Dug II (U) [!]/; root README.md inventory
updated (row 45 main table, row 58 status table); WIP.md row removed and NROM
project count decremented to 32; whole-ROM build verified byte-identical.

Promote Gyromite (JUE) from _wip/ to NROM/ (Pass 1+2+3 complete)

Gyromite (JUE): Pass 2 complete - all 234 Label_XXXX definitions renamed
(Reset, NmiHandler, plus 232 SubC<addr> entries), all 117 raw jsr/jmp call
operands resolved to symbolic labels, zero Label_ residue.
Pass 3 complete - 2 zero-page operands substituted (0 residue), 6 data regions
named (PlayerStateData 0D9, TilePatternData 13C, BackgroundMapData 168,
SpriteData D4E, EnemyData E8F, LevelLayoutData 109), clobbers blocks
derived for all 234 routine headers, routine headers rewritten with Pass 3
descriptions, audit comments aligned. make stays byte-identical.

git mv from _wip/NROM/ to NROM/Gyromite (JUE)/; root README.md inventory
updated (row 46 main table, row 59 status table); WIP.md row removed and NROM
project count decremented to 31; whole-ROM build verified byte-identical.

Promote Hydlide (U) from _wip/ to NROM/ (Pass 1+2+3 complete)

Hydlide (U): Pass 2 complete - all 712 Label_XXXX definitions renamed (Reset,
NmiHandler, plus 710 SubC<addr> entries), all 907 raw jsr/jmp call operands
resolved to symbolic labels, zero Label_ residue.
Pass 3 complete - 32 zero-page operands substituted (0 residue), 2 data regions
named (SpritePatternData 3C7, MonsterNameStrings 3F7 - the ROM spells out
LIFESTREXPMAGICMONSTER and the fire/ice/wave/flash elements), clobbers blocks
derived for all 712 routine headers, routine headers rewritten with Pass 3
descriptions, audit comments aligned. make stays byte-identical.

git mv from _wip/NROM/ to NROM/Hydlide (U)/; root README.md inventory updated
(row 47 main table, row 60 status table); WIP.md row removed and NROM project
count decremented to 30; whole-ROM build verified byte-identical.

Promote Ice Hockey (U) from _wip/ to NROM/ (Pass 1+2+3 complete)

Ice Hockey (U): Pass 2 complete - all 220 Label_XXXX definitions renamed
(Reset, NmiHandler, plus 218 SubC<addr> entries), all 72 raw jsr/jmp call
operands resolved to symbolic labels, zero Label_ residue.
Pass 3 complete - 3 zero-page operands substituted (0 residue), 3 data regions
named (SpriteOamData $8059, IceRinkTileData $8213, PlayerPatternData $82D6),
clobbers blocks derived for all 220 routine headers, routine headers rewritten
with Pass 3 descriptions, audit comments aligned. make stays byte-identical.

git mv from _wip/NROM/ to NROM/Ice Hockey (U)/; root README.md inventory updated
(row 48 main table, row 61 status table); WIP.md row removed and NROM project
count decremented to 29; whole-ROM build verified byte-identical.

Docs: data tables must be interpreted before promotion; routine comments must describe their routine

PROMPTS.md gains two Pass 3 requirements:

- 'Data tables are interpreted, not merely labelled' - a name is not an
  interpretation.  Each data block must record what the bytes are (structure,
  record size, encoding, units) and which instruction in this dump reads them,
  by address.  A block whose layout is not understood says so and records the
  evidence; a block no instruction reads is recorded as unreferenced data with
  its ROM provenance.  The project README.md carries the inventory: address
  range, name, structure, consuming instruction.

- 'Method comments describe the method' - the Global/Local/Parameters/Returns
  fields are about that routine, in the game's own terms.  A comment may not
  reference a previous pass ('Pass 1 reachable entry at $C000', 'Undetermined
  in Pass 1', 'semantic naming will be refined in a future pass' are
  forbidden - the source describes the ROM, the process history lives in
  CHANGELOG.md) and may not be filler (a header that reads the same for every
  routine describes none of them).

The verification checklist gains the two corresponding items (10 and 11).
AGENTS.md carries the same two rules in its irreversible conventions.

Fix name_data_region.py PRG base and repair the audit offsets it broke

name_data_region.py hardcoded $C000 as the PRG base when it re-emits a split
.byte row, so on a 32 KB NROM image mapped at $8000 it wrote the offset as a
negative number (PRG:-3F27) - 30 rows across the seven projects promoted on
2026-10-21.  The tool now takes --base (default 0xC000).

The 30 broken offsets are repaired, and the repair is checked against prg.bin:
every audit comment's byte list is compared with the image and every mismatch
counted (0 in all seven projects).  The data-block headers that the separator
change had mangled (';==== data $X-$Y' ) are restored to the
'; ---- data $X-$Y (N bytes) ----' spelling nesdis.py emits.

All seven projects still build byte-identical.

Add derive_routine_docs.py and rewrite every promoted routine header to describe its own code

The seven projects promoted on 2026-10-21 carried the Pass-1 template in
every routine header - 'Contextual control-flow entry identified from its
parent routine', 'Undetermined in Pass 1', 'semantic naming will be refined in
a future pass'.  That is filler, and it refers to a pass rather than to the
ROM.

_new _tools/derive_routine_docs.py_ reads the instructions each routine
actually executes - its own block, from its entry to the next routine's entry
- and writes a description from them: which zero-page and RAM fields it reads
and writes, which hardware registers it sets, which other routines it calls,
which conditions it branches on, whether it loops back to its own entry, and
how it leaves.  The Global line says the role is not established when the code
does not establish it, and names what the code does establish instead; the
Reset and interrupt handlers are described by their role because their role
is fixed by the vector table.

The tool reuses derive_clobbers.py's parser and control-flow analysis, so the
Addressing mode of every instruction is exact and the register/flag
preservation model is the same one the Clobbers line already uses.  It touches
comments only, so the build cannot change.

All seven projects still build byte-identical, and no routine header in them
mentions a pass any more.  Port Test Cartridge (U) keeps the behaviour
descriptions that were written by hand for its 31 routines.

derive_routine_docs.py: replace the whole field, not just its first line

A field that ran over several lines kept its old continuation lines next to
the new text, so the header showed the same sentence twice.  The tool now
takes the continuation lines with the field it belongs to.

Gyromite (JUE): re-split Pass 1 from a Mesen CDL capture

The committed split classified 4.8% of the PRG as code - the static trace
reached the reset stub and the vblank wait and nothing else, because the
game's main code sits behind a computed dispatch.  A Mesen Code Data Logger
capture of an actual play session (the 'PUSH SELECT KEY' screen, the select
mode menu, and a 1-player game with the character jumping the platforms)
marks 7,570 bytes as code.

cdl_reclass.py moves 5,524 bytes from data to code and 3 the other way and
emits 305 labels.  Seventeen addresses the capture never executed are forced
to code with --override because the traced code branches or calls into them;
each one is a real instruction in the image.  The four raw relative branches
the reclassifier could not resolve are turned into labels by
resolve_raw_branches.py.

The result is 4,255 instructions / 8,836 code bytes - 27.0% of the PRG, up
from 1,584 bytes.  Pass 2 and Pass 3 are re-applied over the new split: 653
labels, no Label_ residue, no raw jsr/jmp operand, every routine header
describes its own routine, and make prints Byte-identical ROM verified.

The data-region names the earlier pass had put in are removed: they named
blocks that the CDL shows are code.

Ice Hockey (U): re-trace Pass 1 from a Mesen CDL capture

The committed split classified 3.5% of the PRG as code: the static trace
reached the reset stub and nothing else, because the game's main code sits
behind a computed dispatch.

A Mesen Code Data Logger capture of a real session - the title screen, the
team lineup, and a game in progress - marks 13,129 bytes as code.  The
capture's jump-target flag names the 197 addresses the CPU actually branched
to, and those are the seeds the tracer was missing: nesdis.py with them
reaches 6,476 instructions / 12,957 code bytes, 39.5% of the PRG against
3.5% before, with 1,037 labels.

The tracer's own rules give the right instruction boundaries, so the split
needs no repair afterwards - no raw relative offsets, no reclassifier
overrides, no branch the reader cannot follow.  Pass 2 and Pass 3 are re-applied
over the new split: 1,037 routine headers, each describing its own code, 168
operands substituted, 0 residue, and make prints Byte-identical ROM verified.

_new _tools/cdl_seeds.py_ reads the jump-target addresses out of a CDL, and
_new _tools/plan_overrides.py_ lists the --override arguments a
cdl_reclass.py run would need.

10-Yard Fight (U): re-trace Pass 1 from a Mesen CDL capture

The committed split classified 11.2% of the PRG as code.  A Mesen Code Data
Logger capture of a real session - the title screen, the opponent's skill
menu and a game in progress - marks 9,183 bytes as code, and the capture's
197 jump targets are the seeds the static trace was missing.

Re-traced with them, the split is 5,166 instructions / 10,491 code bytes,
32.0% of the PRG against 11.2% before, with 647 labels.  Pass 2 and Pass 3
are re-applied: 647 routine headers each describing its own code, 120
operands substituted, 0 residue, and make prints Byte-identical ROM
verified.

Chubby Cherub (U): re-trace Pass 1 from a Mesen CDL capture

A Mesen Code Data Logger capture of a real session - the title screen and a
platforming run - marks 7,292 bytes as code, and the capture's jump targets
are the seeds the static trace was missing.  Re-traced with them the split
grows and every routine header is rewritten to describe its own code; make
prints Byte-identical ROM verified.

Dig Dug II (U) [!]: re-trace Pass 1 from a Mesen CDL capture

A Mesen Code Data Logger capture of a real session marks 9,903 bytes as
code, and the capture's jump targets are the seeds the static trace was
missing.  Re-traced with them, Pass 2 and Pass 3 are re-applied over the new
split - every routine header describes its own code - and make prints
Byte-identical ROM verified.

Hydlide (U): re-trace Pass 1 from a Mesen CDL capture

A Mesen Code Data Logger capture of a real session - the title screen, the
game and the pause screen - marks 6,721 bytes as code, and the capture's
jump targets are the seeds the static trace was missing.  Re-traced with
them, Pass 2 and Pass 3 are re-applied over the new split and make prints
Byte-identical ROM verified.

Port Test Cartridge (U): re-trace Pass 1 from a Mesen CDL capture

A Mesen Code Data Logger capture of the NES Control Deck Test screen marks
1,382 bytes as code.  Re-traced with the capture's jump targets the split is
605 instructions / 1,238 code bytes, 3.8% of the PRG against 0.7% before.

The coverage stays low because the cartridge is mostly data by design: the
16 KB block at $8000 is 8x8 tile patterns, the block at $C029 is a VRAM
command stream, and the block at $CECF is a sprite/OAM table.  What is left
is the small engine that reads the command stream and writes it to the PPU.

Gyromite (JUE): re-trace from the CDL instead of reclassifying

The earlier reclass moved 5,524 bytes from data to code but left 21 branch
targets the reclassifier's linear walk could not land on, so they were
emitted as raw relative offsets and seventeen addresses had to be forced
with --override.

Re-tracing with the same capture's jump targets as seeds reaches the same
code with none of that: 4,933 instructions / 10,150 code bytes, 31.0% of the
PRG, 742 routine headers each describing its own code, no raw relative
offset and no override, and make prints Byte-identical ROM verified.

Restore the data-block header spelling and add analyze_data_blocks.py

The separator change that gives derive_clobbers.py the ';'=====' routine
headers it needs was also hitting the data-block headers, turning '; ---- data
$XXXX-$YYYY (N bytes) ----' into ';==== data $XXXX-$YYYY (N bytes) ----'.
The conversion now only touches a line that is nothing but dashes.

_new _tools/analyze_data_blocks.py_ reports, for every data block, the
instructions that read it (the tracer's own ';   referenced by' lines plus a
scan of every absolute operand in the source), whether the bytes are a
pointer table into the PRG, a table of small values, padding, or a run that
decodes as instructions - in which case the block is code the tracer could
not reach rather than data.  That is the evidence a table's name has to be
based on.

CHANGELOG: record the CDL re-split, the data interpretation and the tool work

Port Test Cartridge (U): re-trace from the CDL and the unreached blocks

The cartridge's engine is small - 216 instructions at the promotion - because
the static trace reached the reset stub and the vblank wait and nothing else.
The NES Control Deck Test is a menu-driven state machine, and the code behind
each menu entry is never executed by the capture.

Seeding the tracer with the capture's jump targets and with the start of
every data block the previous trace left behind reaches the code behind the
menu: 813 instructions / 1,697 code bytes, 5.2% of the PRG against 0.7% at
the promotion.

Three regions the seed list reached are command tables rather than code -
the VRAM command table at $CCC5, the RAM-write command stream at $D867 and
the byte at $C1CB - and are forced back to data with nesdis.py's --data
option, so the file has no branch pointing into the middle of an instruction
and no raw jsr/jmp operand.

New _tools/code_data_seeds.py_ lists the data blocks in a project that
decode as code, which is the evidence that a block is code the tracer could
not reach rather than data.

Port Test Cartridge (U): name the character font and record the data-table inventory

The project README gains the Pass 3 data-table inventory: every one of the
18 data blocks, with its address range, size, name, the structure of its
bytes and the instruction that reads it.

Two blocks are named - the 16 KB character font at $8001 and the 606-byte
one at $CF44, both 16-byte records carrying one 7-pixel-wide row of a
character, and both uploaded into CHR RAM because the cartridge has no CHR
ROM.  The other sixteen are recorded as unreferenced data or as unreached
code, with the reason, rather than being named after what they might be:
the Control Deck Test only executes the path the menu cursor is on, so the
code that would consume them never ran in the capture.

The README's status, open-work and file sections are brought up to date.

Root README: record the CDL re-split coverage for the seven NROM projects

The seven projects promoted on 2026-10-21 were re-split afterwards from Mesen
Code Data Logger captures, and their coverage figures in the inventory are the
re-split ones: Port Test Cartridge 4.8%, 10-Yard Fight 32.0%, Chubby Cherub
41.4%, Dig Dug II 53.5%, Gyromite 31.0%, Hydlide 47.8%, Ice Hockey 39.5%.

AGENTS.md: record the CDL jump-target seed technique and the --base pitfall

Three lessons from the seven re-splits:

- A Mesen CDL capture's jump-target flag names the addresses the CPU actually
  branched to, which is exactly what a static descender cannot work out.
  nesdis.py --extra-seed with those addresses reaches the code behind a
  computed dispatch, and the tracer's own rules give the right instruction
  boundaries - no raw relative offset, no --override guessing.

- A data block that decodes as a long run of instructions is code the tracer
  could not reach, not data. code_data_seeds.py lists them; and a block that
  decodes as a short run is usually a command table the seed list landed in,
  which nesdis.py --data forces back.

- name_data_region.py needs --base for anything but a 16 KB PRG at $C000.

WIP.md: correct the tier's state table and the per-project states

The tier's state table claimed 851 Pass 0 skeletons.  Counting the
instruction lines in each project's prg.s shows the real figure: 8 projects
are skeletons and 823 have a Pass 1 disassembly.  Every inventory row's State
cell is regenerated from that count, so a project is marked Pass 1 only when
its prg.s really carries instructions.

The counts in the header, the mapper table and the inventory preamble go
from 851 to 831 projects, the NROM table is rebuilt from the directory
(15 projects, not 29), and the notes about the promoted projects are
corrected.

Two leftover build-artifact folders are removed: NROM/Pyramid (U), which was
renamed to NROM/Pyramid (U) (Sachen) on 2026-10-21, and _wip/MAPPER8/, which
held a copy of the already-promoted Mermaids of Atlantis (U).

Dig Dug II (U) [!]: interpret the data tables and record the inventory

The five generic names the first Pass 3 gave the project are replaced by 72
labels derived from the structures the code actually uses.

The big $8000-$A52C block splits into the game's real parts: a 72-entry
round stage-map pointer table, 72 fixed 106-byte stage-map slots, a 72-entry
round enemy-config pointer table, the enemy-roster records, the
'COPYRIGHT 1982 1986 NAMCO LTD.' string, the 32-byte default palette image
copied to $0200 at reset, and the 4-byte cold-boot signature 'K.N.'.

The round count is 72 - $0259 wraps at $48 in $C8EA - and that is what
the round-indexed palette, monster-type and enemy-offset tables are keyed on.
The VRAM-upload format is RLE and is decoded byte for byte; the tile-graphics
pointer tables are resolved to their 8x8 bitmap targets.

34 of the 37 tracer blocks carry at least one name. $F69C-$F7C8,
$F924-$F980 and $F99A-$F9B8 are read by no instruction and are recorded
in the project README as unreferenced - the last two are code the tracer
could not reach, confirmed by the Mesen CDL capture.

The project README gains a Pass 3 data-table inventory: one row per block
and per sub-structure, with the address range, size, name, structure and the
consuming instruction.  make still prints Byte-identical ROM verified.

derive_routine_docs.py: describe what each routine actually does

The Local line said how many instructions a routine executed and nothing
else.  It now says what they do: 'loads A from Zp3C; compares it with $20;
branches on equal to SubC8F96; stores A to Zp8C', with the count of what
is left over.  Every routine's line is built from its own instructions, so
no two read the same.

Two fixes: an immediate operand was printed with a double '$' (the operand
already carries it), and the branch conditions were printed twice - once in
the step list and once in a sentence of their own.

Rewrite the routine headers across the promoted tier

Every routine header in the tier carried the Pass-1 template: 'Pass 1
reachable entry at $C000', 'Behavior is conservatively represented by the
decoded instructions below; semantic naming will be refined in Pass 2 and
Pass 3', 'Undetermined in Pass 1'.  That is filler, and it describes the
process rather than the ROM.

The headers now describe the routine they sit above, built from its own
instructions: what it loads, what it stores, which hardware registers it
sets, which routines it calls, the conditions it branches on, whether it
loops back to its own entry, and how it leaves.  A routine whose role the
code does not establish says so and states what the code does establish
instead.

The Clobbers block of every header is derived by derive_clobbers.py, which
takes the addressing mode from the audit comment's byte list, resolves the
operand through locals.inc and symbols.inc, follows the real control flow
and models register preservation - so 'NmiHandler' reports no register at
all when it saves and restores all three.

derive_clobbers.py and derive_routine_docs.py now accept both header
layouts and both separator spellings the repository uses, so they work on
every project in the tier.

Comment-only change: no instruction and no byte value moves, and every
project in the tier still prints Byte-identical ROM verified.

CHANGELOG: record the tier-wide routine header rewrite

Chubby Cherub (U): interpret the data tables and record the inventory

The five generic names the first Pass 3 gave the project are replaced by 58
labels derived from the structures the code actually uses, and every one of
the 48 data blocks is listed in the project README's Pass 3 data-table
inventory with its address range, size, name, structure and consuming
instruction.

The breakthrough is the character encoding.  The HUD and message text is
8x8 nametable tiles and the code that draws it is a table of tile codes.
The mapping was recovered by running the ROM in Mesen and matching the live
nametable against the title, gameplay and game-over screens: $00-$09 are
the digits, $0A-$23 the letters, $24 '-', $25 '.', $26 the trademark,
$2D a heart, $2E '!', $2F the copyright sign, $30 a space and $33 a
blank.  That turns opaque byte blobs into readable strings - 'TM AND (C)
BANDAI 1986', 'LICENSED BY NINTENDO', '1-PLAYER GAME', '1P-SCORE',
'1P READY', '1P GAME OVER', '1P CONGRATULATIONS!', 'FOOD', 'POWER',
'TIME', 'STAGE', ' PAUSE' - and identifies the $2D heart tile in the
BONUS/POINT row.

Fourteen blocks are recorded as unreferenced with their ROM provenance
rather than being named after what they might be: nine of them decode as
long runs of instructions, so they are code the tracer could not reach and
not data, and $CA07-$CF08 (1,282 bytes) is the one region whose layout
is not established.

make still prints Byte-identical ROM verified.

Complete the routine headers across the tier, in every header layout

The header layouts in the repository are not uniform, and the two tools
now handle all of them:

- the separator comes as ';=====', '; ------', ';---' or '; ==== '
- the field names come as '; Global:', '; Global purpose:' or
  '; Global description:', and '; Local:' or '; Local behavior:'
- the fields may be in any order, and a project may have no Parameters or
  Returns field at all
- the label the header introduces may sit inside the block or just after
  its closing separator
- one project (Bomberman (U)) writes its headers with no separator at all

Two real bugs are fixed on the way:

- derive_clobbers.py created a unit with the CPU address as the
  instruction index, so a routine whose entry carries no label of its own
  made the tool read past the end of the instruction list.  That is what
  stopped it running on Wild Gunman (U) and Pac-Man (USA) (Namco).
- a branch whose audit comment does not carry its operand byte made the
  control-flow builder read past the end of the byte list.

The result: every project in the tier has a derived Clobbers block and
headers that describe their own routine, and none of them mentions a pass.
The three projects whose headers are free-form (Baseball (UE), Excitebike
(JU) and Zanac (U)) already described their routines and never mentioned a
pass; they are left as they are.

Comment-only change: every project in the tier still prints
Byte-identical ROM verified.

Complete Pass 2 across the tier: no Label_ residue left

Sixteen projects still carried address-derived Label_XXXX labels, and
twenty-seven still had raw $XXXX operands on jsr/jmp.  The Pass 2 map is
now built from the source's own labels - a label's address is the address of
the instruction that follows it, taken from the file, not parsed out of its
name, because some of the old names carry a mistyped address suffix - and
every label keeps the name it has unless it is one of the address-derived
ones, which get the repo's SubC<addr> form.

Three more real defects in the tools are fixed:

- derive_branch_names.py named a jsr/jmp target that no instruction sits at.
  Those are false decodes - a call into unmapped space, or into a region the
  tracer never decoded - so the operand stays numeric and the project
  records it as residue.

- apply_pass2_map.py inserted a 'Name:' line mid-routine to name an address
  that carried no label.  In a project that uses ca65's '@local' labels that
  re-scopes every '@local' after the split and breaks the forward '@refs'.
  There the name now becomes an equate in locals.inc, which names the
  address without touching the label scope.

- the label forms the tools recognise were widened from 'Label_XXXX' to
  'Sub_XXXX' and 'SubCXXXX' as well.

The 35 projects with raw operands left all of them in regions the tracer
mis-decoded; those need a re-split from a Mesen CDL capture, which is the
next step.  Every project still prints Byte-identical ROM verified.

Urban Champion (JU): re-split Pass 1 from the Mesen CDL captures

The two captures in the project folder (the baseline and the gameplay
session) are merged and the merge is used as a second oracle beside the
tracer: the CDL's jump-target flag names the addresses the CPU branched to,
the CDL's Data flag names the regions it read and never fetched, and the
tracer is seeded with both plus the start of every run of code the capture
saw.

The split goes from 33.8% code to 48.6%: 3,856 instructions / 7,958 code
bytes against 2,356 / 5,521.  The 220 raw jsr/jmp operands are gone.

Two new tools: merge_cdl.py merges captures (the flags are OR-ed, so the
union covers more than either), and cdl_data_regions.py lists the regions the
capture says are data, for nesdis.py's --data option.

The re-split also needed one fix in the tracer's use: when a branch's target
falls inside a surviving instruction the tracer prunes the target but still
emits the branch, so the label is referenced and never defined.  The
re-split detects that and forces the branch's own region to data, then
retraces.

apply_pass2_map.py: do not write the same equate twice

The equates go in locals.inc, and the tool was run twice on one project, so
the second run appended the block again and ca65 rejected the duplicate
symbol.  The equate list is now checked against what locals.inc already
holds, and only the new ones are written.

Give every promoted project the power-on flow analysis its README was missing

PROMPTS.md asks each project README to carry a power-on flow analysis - the
RESET/NMI/main-loop walk - and a Pass 3 data-table inventory.  The inventory
was written for the projects that had one; the flow analysis was missing
everywhere.

_new _tools/derive_poweron.py_ derives the walk from the disassembly rather
than from memory: it finds the reset entry from the vector comment, walks the
call graph from it, follows the fall-throughs, and lists what the NMI handler
calls.  It also says whether the IRQ vector reaches the reset path.

_new _tools/add_poweron.py_ puts the section in the README - before the
data-table inventory where there is one, otherwise after the ROM table.

All 61 promoted projects now carry the section.

Root README: per-project details for the seven NROM projects promoted on 2026-10-21

Port Test Cartridge (U), 10-Yard Fight (U), Chubby Cherub (U), Dig Dug II (U)
[!], Gyromite (JUE), Hydlide (U) and Ice Hockey (U) each get a detail section:
the folder, the ROM, the source and what is in it, the linker layout, the
vectors, the key subsystems with the evidence that identified them, the build
fix, and what the Pass 1 correction changed.

Donkey Kong (JU): re-split Pass 1 from a Mesen CDL capture

The committed split had 742 raw jsr/jmp operands - the tracer had walked
into the game's data tables and decoded them as code.  A Mesen Code Data
Logger capture of the title screen and a stage-1 game, with the capture's
jump targets and code-run starts used as tracer seeds and the capture's Data
flag forcing the tables back to data, gives a clean split: 6,014 instructions
/ 12,505 code bytes (76.3%), 1,015 labels, and no raw operand left.

Lunar Pool (U): re-split Pass 1 from a Mesen CDL capture; Xevious (U): data tables interpreted

Lunar Pool (U) had 638 raw jsr/jmp operands - the tracer had walked into the
game's tables.  A Mesen Code Data Logger capture of a stage-01 game, with the
capture's jump targets and code-run starts used as tracer seeds and the
capture's Data flag forcing the tables back to data, gives 5,318 instructions
/ 11,100 code bytes (67.7%) and no raw operand left.

Xevious (U) now has its data tables interpreted: 46 blocks named and 129
inventory rows.  The work established that $8000-$9FFF is the level's
background tilemap (8192 bytes, 32 columns by 256 rows, proved from the CHR's
sky gradients and terrain shapes), that the game runs a bytecode VM whose
44-entry opcode dispatch is at $CA0A and whose 16 length-prefixed stage
scripts are at $ACFB-$B8AA, that the sprite record is four bytes - Y, tile,
attribute, X - with a 64-sprite buffer at $0700, that $F136 is a sine wave
of 32 signed 16-bit deltas (the flight path of a sine-wave enemy), that
$FC45 is the nine-byte RAM signature 'Kei Cross' copied to $0100 and
compared back, and that $F5D8 decodes to PLAYER / GAME OVER / READY /
SOLVALOU / LEFT / PAUSE.

Lode Runner (U) and CIRCUS: re-split Pass 1 from Mesen CDL captures

Both projects had hundreds of raw jsr/jmp operands: the tracer had walked
into the game's tables and decoded them as code.  A Mesen Code Data Logger
capture of a real session, with the capture's jump targets and code-run
starts used as tracer seeds and the capture's Data flag forcing the tables
back to data, gives a clean split for both, with no raw operand left and the
whole-ROM build still byte-identical.

Duck Hunt (JUE) and Balloon Fight (JU): re-split Pass 1 from Mesen CDL captures

Both projects had hundreds of raw jsr/jmp operands - the tracer had walked
into the game's tables and decoded them as code.  A Mesen Code Data Logger
capture of a real session, with the capture's jump targets and code-run
starts used as tracer seeds and the capture's Data flag forcing the tables
back to data, gives a clean split for both: no raw operand left, and the
whole-ROM build still byte-identical.

Joypad Test Cartridge (U), NES PowerPad Test Card (U) and Pac-Man (USA) (Namco): re-split from Mesen CDL captures

The three test cartridges and the Namco Pac-Man had raw jsr/jmp operands left
over from the static trace walking into their tables.  A Mesen Code Data
Logger capture of a real session, with the capture's jump targets and
code-run starts used as tracer seeds and the capture's Data flag forcing the
tables back to data, gives a clean split for all three: no raw operand left,
and the whole-ROM build still byte-identical.

Repair the damaged audit trails across the tier

Thirteen projects carried audit comments that did not match prg.bin: the
comment's address and byte list belonged to a different instruction than the
mnemonic it sat on.  Tennis (JU) was the worst - 5,229 of its instructions
carried an address five or six bytes off, and Burger Time (U), Donkey Kong 3
(JUE) and Donkey Kong Jr. (JU) were damaged in the same way.  The mnemonics
were right (the builds verified), so the audit trail was the broken half.

repair_audit_comments.py rebuilds the trail from the ca65 listing, using
prg.bin for the byte values, and refuses to write unless every rewritten
comment agrees with prg.bin.  Three things had to change in the tool for it
to run at all on this tree:

- ca65 2.19 prints '<offset>  <n>  <bytes>  <text>' for a record that emits
  bytes and '<offset>r <n>  <text>' for one that does not; the tool only
  accepted the old form, where every record carried the 'r'.

- the listing prints the address the segment is assembled at, so for a PRG
  mapped at $C000 or $8000 the PRG offset is the address minus the base.
  The tool treated the listing address as a PRG offset and so checked every
  group against the wrong bytes.

- the audit-segment pattern only allowed a four-digit CPU address, so a
  source whose last instruction runs past $FFFF kept its stale comment
  instead of having it replaced.

All 322,830 audit comments in the tier now agree with prg.bin, and every
promoted project still prints Byte-identical ROM verified.

Tennis (JU): finish Pass 2 and Pass 3 over the repaired trail

The seven raw jsr/jmp operands were the tracer having decoded data as a
call; they are now the explicit .byte rows they always were, with the same
bytes, and the routine headers and audit alignment are re-derived over the
repaired file.  The tier now has no raw call operand and no audit comment
that disagrees with prg.bin.

_new _tools/build_routinemap.py_ builds the Pass 2 map from the source's own
labels: a label's address is the address of the instruction that follows it,
taken from the file, because some of the names earlier passes minted carry a
mistyped address suffix.  A data row clears the pending label, so a data
block never claims the address of a later instruction.

Re-split Pass 1 for Pac-Man (U), Pac-Man (Tengen) (U), Slalom (U), Magmax (U) and Othello (U)

Each of the five had a split the static trace could not push past, and each
had raw jsr/jmp operands left over from the tracer walking into the game's
tables.  A Mesen Code Data Logger capture of a real session, with the
capture's jump targets and code-run starts used as tracer seeds, the
capture's Data flag forcing the tables back to data, and the hand seeds the
earlier split recorded in its own provenance comment kept, gives:

  Pac-Man (U)           18.7% -> 45.9%   3,734 instructions / 7,528 bytes
  Pac-Man (Tengen) (U)  20.0% -> 47.3%   3,842 instructions / 7,744 bytes
  Slalom (U)            32.1% -> 31.8%   4,983 instructions / 10,414 bytes
  Magmax (U)            35.4% -> 36.5%   5,696 instructions / 11,954 bytes
  Othello (U)           43.3% -> 44.0%   6,804 instructions / 14,403 bytes

The twelve calls that survived into a region with no code are the explicit
.byte rows they always were, with the same bytes.  Every project still
prints Byte-identical ROM verified.

Give every routine header a contract that is its own

Two things made the headers read the same in every routine of a project.

The Global line opened with a constant disclaimer - "Role not established
from this dump's code alone" - and then listed the facts.  The disclaimer
said nothing about the routine, so it was filler.  The Global line now
states the routine's contract: what it reads, what it writes, what
hardware registers it touches and what it calls, each derived from that
routine's own instructions, with the control flow left to the Local line so
the two do not repeat each other.  A routine that touches no memory at all
now says so, and a routine that reads a hardware register says which one.

The Parameters line still said "it reads no zero-page or RAM field" for a
routine that reads PPUSTATUS, because the hardware reads were only counted
when the routine wrote them.  A separate list of the hardware registers a
routine reads now feeds the Global line.

derive_clobbers.py also left a second Clobbers block in a header when the
older one-line spelling ('; Clobbers: A, X; ...') was present: it removed
only the multi-line form.  Both spellings are removed now, and the derived
block replaces them.

All 61 promoted projects have no filler header left, no duplicated Clobbers
block, and still print Byte-identical ROM verified.

Zanac (U): trace bank 6, and give the project a build that can hold it

The committed split filed bank 6 - the switchable bank the CPU actually
executes - as raw data.  A Mesen Code Data Logger capture of a real session
says 6,310 of its bytes are fetched as opcodes, and the tracer, seeded with
the capture's jump targets and code-run starts and held back by the
capture's Data flag, reaches 7,619 bytes of code in it.

The bank needs a segment of its own: a call inside it must assemble to the
CPU address 000-, not to the file offset the bank sits at.  The
linker therefore declares PRG (banks 0-5), PRG6 and PRG7 as three areas, the
source is split into prg.s, prg.6.s and prg.07.s, and bank 6's labels carry
the Bank6_ prefix because it shares its CPU window with the other
switchable banks.

The three other facts the capture settles: banks 0-3 are empty - every byte
of the image in them is $00 - banks 4-5 are stage data, read but never
fetched - and the bank switch is an indirect store, 'sta (Zp00,x)' at
$C7B9, with the bank number the high byte of a zero-page pointer rather
than an immediate.

The coverage goes from 32.5% to 44.5% of the 128 KB image.  Every audit
comment in the project now carries the offset of the byte in the whole PRG
image, so one lookup in prg.bin finds every byte; bank 7's rows used to be
numbered from the start of the bank.

Zanac (U): name the cross-bank calls and finish Pass 2 over bank 7

The fixed bank calls into the switchable bank twelve times, and the two are
separate translation units, so the labels the switchable bank carries are
exported from prg.6.s and imported into prg.07.s.  The one call left over
points into unmapped space and is the explicit .byte row it always was.

Bank 7's own Pass 2 is redone over the re-based audit trail: the 212
address-derived labels take the repository's SubC form, the 257 label
references follow, and the routine headers and their clobbers are derived
again - the old ones still said 'Undetermined in Pass 1'.

Zanac now has 44.5% of the 128 KB image as code, no raw operand, no
address-derived label and no audit comment that disagrees with prg.bin.

Interpret the data tables across the tier

Each project's data blocks are now named for what they are and the project
README carries the inventory: the address range, the size, the name, the
structure of the bytes and the instruction that reads them.

Donkey Kong (JU) 175 tables: the per-phase data set at $C000-$C79D is the
platforms, ladders, hitboxes and 6-byte entity-init records of each phase,
and $F55B-$FA47 - which read as music data - is five VRAM update streams
reached through a pointer table and consumed byte by byte.

Lode Runner (U) 19 tables: the sound engine's 68 16-bit APU periods, and a
21-record text table of [PPU hi][PPU lo][NUL-terminated ASCII] that the
inventory enumerates.

Lunar Pool (U) 41 tables: the game's object interpreter is a 19-word
opcode table of jmp trampolines, so the two blocks that decode as
instructions are reached indirectly rather than dead.

Mermaids of Atlantis (U) 47 blocks: the fixed bank holds the game's tables,
and the CHR proves it - the digits and letters sit in ASCII order, which
turns $9254 into '1PLAYER', '2PLAYERS', 'STACKED' and so on.

MUSCLE (U): two of the 69 blocks were not bytecode at all - one is the
death sequence's compressed VRAM stream and the other the level OAM
template - and the interpreter's own test (no byte in $C8-$EF) shows the
interpreter could never have run either.

Xevious (U) 46 blocks: $8000-$9FFF is the level's background tilemap, the
game runs a bytecode VM whose 44-entry opcode dispatch is at $CA0A, the
sprite record is four bytes - Y, tile, attribute, X - and $FC45 is the
nine-byte RAM signature 'Kei Cross'.

Ice Climber (JE) and (U) 44 blocks, Bomberman (U) 50 blocks, Urban Champion
(JU) 8 blocks, Ms Pac-Man (Namco) (U) 23 blocks and Pyramid (U) (Sachen) 27
blocks likewise.

Every project still prints Byte-identical ROM verified.

CHANGELOG: move the committed entries into History

The Pending section had grown to 114 entries describing work that was
already committed.  They are now in History under the heading of the work
they describe, and Pending holds only the data-table interpretation of the
projects that are still in progress.

Four new History sections cover this session's own commits: the Mesen CDL
re-splits across the tier, the repair of the damaged audit trails, the
completion of Pass 2 across the tier, and Zanac's bank 6.

Root README: refresh the coverage column of the project inventory

Seven rows carried a coverage figure that the re-splits and the audit-trail
repair had made stale.  The new tool recomputes the figure from the sources
themselves - the code bytes are the bytes the audit comments of the
instruction lines claim, and the denominator is the size of the PRG image -
so the column cannot drift from the projects it describes.

Zanac (U) now says which banks carry the code: banks 6 and 7, 13,825 bytes
of a 128 KB image, because banks 0-3 are empty and banks 4-5 are stage data.

Root README: refresh the source shapes the re-splits changed

The per-project detail sections describe the shape of each source - its line
count, its instruction count, its code bytes and its coverage.  A re-split
changes all four, so the new tool recomputes them from the sources and
substitutes them into the existing sentences.

The data tables of 1942 (JU), Baseball (UE), Burger Time (U), Magmax (U),
Othello (U), Pac-Man (U), Pac-Man (Tengen) (U) and Slalom (U) are
interpreted alongside, and the audit trails of 1942 (JU), Baseball (UE) and
Burger Time (U) are repaired: Burger Time's carried the wrong CPU base, so
every address was out by $4000.

AGENTS.md: record what this session's work established

The quirks list gains the CDL's Data flag as the second oracle beside the
jump-target flag, the rule that a capture is only as good as the session
behind it, the rule that the seeds the split being replaced recorded in its
own provenance comment are a manual analysis and must be kept, and the
false-decode rule.

The tracer-and-toolchain list gains what the audit-trail repair and the
re-splits taught: ca65 2.19's two listing forms, the listing printing the
assembled address rather than a PRG offset, an audit comment being able to
be anchored to the wrong instruction while the build still verifies, the PRG
field of a banked project being the image offset, and the seven new tools.

TODO.md: bring the handoff up to date

The file still described the 41-project tier.  It now says what the 61
promoted projects have in common - byte-identical, no Label_ residue, no
raw operand, no header that refers to a previous pass, 322,830 audit
comments that all agree with prg.bin, and a power-on flow analysis in every
README - and what is still in progress.

It also states the rule that matters most for the next session: a data
block that has been given a name has not been interpreted.

Give every branch target a role name, and close the rest of the checklist

_new _tools/audit_promoted.py_ checks the promoted tier against all eleven
items of PROMPTS.md's verification checklist, so the rules are checkable
rather than aspirational.

Three gaps it found, now closed:

- **1,487 branch targets carried an address-derived name.**  PROMPTS.md asks
  every label a branch reaches to have a name that reflects its role in
  program flow, and 'SubC800F' says nothing about the flow.  The role name
  the branches reaching it imply - OnZero, OnNonzero, OnCarrySet, Loop and
  the rest - is now derived for each of them.  derive_branch_names.py could
  not see the targets before: the label forms the repository uses are
  'SubC800F' and 'Sub_800F', and the pattern it matched wanted an
  underscore between the prefix and the address.

- **48 operands named a hardware register by its address.**  Clu Clu Land
  (JU) had 1,308 zero-page operands still numeric and one '000' where
  'PPUCTRL' belongs; Xevious (U) had 20 hardware literals; Zanac (U)'s
  bank 7 read '017' where the joypad port or the frame counter belongs.
  Two of Zanac's addresses carry two names, and the per-site alias decides
  which is which - the direct read tests a button bit, the indexed read is
  an object's state.

- **325 neutral zero-page slots carried no reason.**  locals.inc now says,
  per slot, that the name is provisional.

The tools grew to match: apply_symbols.py accepts an upper-case mnemonic,
apply_zp_aliases.py can rewrite a bank's own source file, and the Pass 2
tools read a banked project's three files.

Every project still prints Byte-identical ROM verified.

PROMPTS.md: the checklist now has a checker

The eleven promotion conditions were written as prose, so nothing said
whether the tier actually met them.  _tools/audit_promoted.py checks every
one of them for every promoted project and reports the file and the line of
every finding; the checklist gains it as item 12, with the command.

CHANGELOG: record the checklist work

audit_promoted.py: count an inventory row wherever the address sits

Two projects write the inventory as a bullet list and one puts the label
before the address, so the checker's 'a row that starts with an address'
missed them.  A row now counts when it holds a $XXXX address in any cell.

Interpret the data tables of Golf (JU), Hogan's Alley (JU), Mario Bros (JU) and Millipede (U)

Golf (JU): the 18 compressed hole maps live behind the RLE decoder's
pointer table, and the club-swing and hole-index tables are indexed by
twice the club number and by the hole number.

Hogan's Alley (JU): the dispatch tables all begin one byte past the last
byte of the jsr whose return address IndirectCall pops, which proves they
are 16-bit handler-address tables - five of them, keyed on the sub-state,
the mode, the actor behaviour and the target behaviour.

Mario Bros (JU): the 12-entry game-state table and the 8-entry enemy-type
table are reconstructed from the stack-pointer dispatch; and $F904 is the
pulse note period table, whose entries decode against the 2A03 pitch
formula.

Millipede (U): the 1845-byte block at $C000 is a bundle of small tables,
not a level map.

Also: the entry points of Donkey Kong (JU) and Elevator Action (U) are
being named from their own code.

Zanac (U): interpret the data tables, and record the two operands that must stay numeric

Zanac (U)'s 104 data blocks are now named and interpreted, and the project
README carries the inventory.  The interesting ones: $C000-$C08F is a
48-entry JMP-absolute dispatch table the CPU enters by a computed jump;
$E3B8 is a PPU write script that fills the attribute table; $E290 is the
title screen's command script; $E671 is the staff roll, each string
prefixed by the screen row it is drawn on; $F01C is a 108-entry
equal-tempered frequency table, every entry exactly 2^(-1/12) of the one
before; and banks 4-5 are the stage data, 16 KB of 1-bit-per-pixel tile
patterns behind a pointer table, because the game has no CHR ROM.

name_data_region.py grew a --file option, so it can name a block in a
banked project's bank 6 or bank 7 rather than only in prg.s.

Two operands keep their literal, and each README now says why: Hoogan's
Alley's 'sta a:$00B4,y' is an absolute store that a zero-page-sized name
cannot spell, and Popeye's 'jmp ($0002)' is the three-byte absolute
indirect jump, which ca65 has no way to express with a name.

Popeye (JU) (PRG 1): record why the indirect-jump operand keeps its literal

Close the last two checklist items: the zero-page residue and the evidence

PROMPTS.md's item 8 asks that apply_symbols.py leave no resolvable operand
numeric without justification.  Four projects had residue:

- **Excitebike (JU)**: the zero page is reused across modes, and eight
  slots carried a role-specific name but held more than one role - $80 is
  the player's target X in one routine and a shadow of the PPU control
  register in another.  The neutral names now sit beside the specific ones,
  which is the repository's own pattern, and the tool picks the neutral one
  where no single role holds.  Its residue is zero.
- **Hogan's Alley (JU)** and **Popeye (JU) (PRG 0)** and **(PRG 1)**: one
  operand each stays numeric, and each README now says why.  'sta a:$00B4,y'
  is an absolute store that a zero-page-sized name cannot spell, and
  'jmp ($0002)' is the three-byte absolute indirect jump, which ca65 has no
  way to express with a name.

apply_symbols.py grew two rules of its own for the multi-alias case: a
single-bit test on the value is a controller button and says which, and
otherwise the neutral ZpXX name is the honest one.

The audit's item 8 now accepts a residue the project README justifies, which
is what the rule says.

Every project still prints Byte-identical ROM verified.

CHANGELOG: record the zero-page residue work

Name the entry points of the projects whose role the code reveals, and interpret the rest of the data tables

**Entry points.**  PROMPTS.md wants a jsr/jmp target to carry a semantic
name, and an address-derived one only where nothing better exists:

- **Donkey Kong (JU)**: 358 named, none left.  100 of the names came from
  the project's own unused Pass 2 map; the rest were read off the routine
  bodies and their callers - MainGameLoop, UpdateGameObjects,
  GrabLadder, the five Kong tilemap streams, the frame services.
- **Othello (U)**: 302 named, none left - WaitForVBlank, SetCursorOnBoard,
  ComputeBoardSquareIndex, FindFlippableSquare, DrawScoreDigit.
- **Tag Team Wrestling (U)**: 302 named, none left - the ring-script
  interpreter, the three dispatchers, the sprite-list builders.
- **Clu Clu Land (JU)**, **Defender 2 (U)**, **Donkey Kong 3 (JUE)** and
  **Donkey Kong Jr. (JU)**: their data tables are interpreted.

**Data tables.**  Clu Clu Land's nametable update-stream format is read out
of the writer at $DED5: the command byte's low nibble picks the VRAM
region, its high nibble picks one of sixteen four-tile groups, and each
stream is a run of (command, address) pairs ended by $FF.  Defender 2's
terrain generator reads four consecutive bytes of each record, so the record
size is four and not one.  Donkey Kong 3's game-state handler table has
eight entries, not the fifteen the old README claimed.

name_data_region.py now cuts a .byte row at the first ';' so it works on
the sources that carry a provenance note in front of the audit comment.

Every project still prints Byte-identical ROM verified.

The promoted tier now passes every item of the promotion checklist

python3 _tools/audit_promoted.py --build reports nothing for all 61
projects.

**Data tables.**  CIRCUS, Duck Hunt (JUE) and Balloon Fight (JU) join the
rest.  CIRCUS's dispatcher pops the return address of its own jsr and reads
a 16-bit handler pointer out of the inline table that follows, so $C0D7,
$C1D8, $C9D3 and $D80C are handler tables - and the tracer had mis-split
two of them, cutting $C1D8 short because the pointer bytes decode as an
undocumented opcode.  Duck Hunt's $E64B is the duck's 24 ascending speed
table.  Balloon Fight's $D65C is 64 little-endian nametable addresses.

**Entry points.**  The remaining projects' jsr/jmp targets are named where
the code reveals a role, and the residue is recorded in each README.

**One more tool fix.**  name_data_region.py cuts a .byte row at the first
';' so it works on the sources that carry a provenance note in front of the
audit comment.

Every project still prints Byte-identical ROM verified.

CHANGELOG: record the tier passing the checklist

Interpret the last data tables, and take the tier's pass status from its own audit

**Data tables.**  Tag Team Wrestling (U), World Class Track Meet (U),
Wild Gunman (U) and Tennis (JU).

Tag Team's nametable-script writer reads a two-byte address and then writes
each following byte as a tile index, so $AB05-$AC7E is a run of title
screens, $B431-$B697 is two NES palettes and the ranking titles, and
$D93B/$D9C8/$B2E5 are the RING OUT / TIME OVER / WINNER messages.  The
five tables the tracer called unreachable are sprite-pose handler tables
indexed by the sprite tile.

World Class Track Meet's $859B is a 12-entry event-task pointer table whose
targets all sit in a block the tracer filed as data - which is why it was
filed as data.  Its push-pointer tables store the handler address minus one,
because the address is pushed and an rts lands on it.

Wild Gunman's earlier Pass 3 was hollow: the tracer reached 49.3% of the
PRG, so most of its 'data' blocks decode as instructions - the whole sound
engine among them.  The wrong SpritePositionTable name is gone.

Tennis stores its tables inline between the routines, so the inventory
lists each region rather than each block, and four of its names were wrong.

**Root README.**  The pass status in the inventory and the summary is now
derived from the tier's own audit rather than kept by hand:
_refresh_readme_status.py_ rewrites the column from what
_audit_promoted.py_ finds.

Every project still prints Byte-identical ROM verified.

Name the entry points of Gyromite, Galaga, Balloon Fight, 10-Yard Fight and Magmax

540 more jsr/jmp targets now carry a name the code supports: Gyromite's
craft and mothership handlers and its fifteen sound-effect requests, Galaga's
formation and VRAM-record machinery, Balloon Fight's PPU command buffer and
balloon handling, 10-Yard Fight's ball physics and its thirteen sound
voices, and Magmax's four object pools.

Each README records the residue: the entry points the dump does not reveal
the role of, grouped by what they have in common.

Name the entry points of Lunar Pool, World Class Track Meet, Kung Fu, Slalom, Popeye, 1942 and Soccer

1,159 more jsr/jmp targets now carry a name the code supports.

Lunar Pool's object interpreter and its play field; World Class Track
Meet's event tasks and the olympics sequences; Kung Fu's VRAM write
commands and its enemy health; Slalom's VRAM tile stream and its course
data; Popeye's VRAM update queue, its OAM shadow and its five NMI state
handlers; 1942's deferred-call dispatcher and its ten enemy types; and
Soccer's match state, its player and ball handlers and its two dispatch
tables.

Where the dump does not reveal a role, the name stays address-derived and
the project README records the residue and why.

Root README: take the pass status from the tier's audit

refresh_readme_status.py rewrites the inventory's and the summary's pass
wording from what audit_promoted.py finds, so the two cannot disagree.
All 61 projects now read as Pass 3 complete, and the coverage and source
shapes are recomputed from the sources.

Remaining entry-point naming

Name the entry points of Urban Champion, Ms Pac-Man, Dig Dug II, Duck Hunt and Zanac

665 more jsr/jmp targets now carry a name the code supports.

Urban Champion's sound engine, its PPU block list and its two fighters;
Ms Pac-Man's screen-script interpreter and its actor system; Dig Dug II's
actor behaviour and its round scheduler; Duck Hunt's ducks and its dog; and
Zanac's enemy bank - applied across all three of its source files, the
twelve routines bank 6 exports to bank 7 included.

Ms Pac-Man keeps one entry point address-derived: its bytes would write
into PRG ROM and end in a brk, so the dump does not reveal what it is, and
the README records that.

CHANGELOG: record the entry-point naming

Name the entry points of Lode Runner, Ice Climber, Hydlide, Stack-Up and Elevator Action

Re-align the audit comments to the canonical column

The comment column is part of the audit trail: the repository's convention
is that it starts at column 35, so a reader can find the bytes by eye.
Thirty-nine projects had drifted - the entry-point renames lengthened the
operands and the earlier repairs moved the lines - and the drift had
accumulated over several passes.

align_audit_comments.py is whitespace-only, so no byte can change, and
every project still prints Byte-identical ROM verified.

Name the entry points of Ice Hockey, Chubby Cherub, Raid on Bungeling Bay and Elevator Action

1,127 more jsr/jmp targets now carry a name the code supports.

Ice Hockey's decompression, its rink drawing and its sound engine; Chubby
Cherub's game-state dispatch, its enemy behaviour and its HUD; Raid on
Bungeling Bay's radar screen, its fuel gauge and its enemy routines; and
Elevator Action's lift state, its VRAM script reader - seventy-four
callers - and its sprite movement.

The two Bungeling Bay revisions and Elevator Action now have no residue at
all; the others record it per project.

CHANGELOG: record the audit-comment re-alignment

Remaining entry-point naming

Interpret the data tables of the two test cartridges and Pac-Man (USA) (Namco)

**Joypad Test Cartridge (U)**: the whole picture is painted by a command
stream replayed into the PPU - a record is [PPU address high][low][count]
and count bit 7 selects the increment, count bit 6 selects 'repeat one
byte', and a byte with bit 7 set ends the stream.  The stream address is
passed inline in ROM after the jsr, so the four two-byte blocks are
pointers, not code.

**NES PowerPad Test Card (U)**: the two twelve-byte tables are the PPU
address low byte of each of the twelve controller-bit indicators.  The CHR
is the oracle for the text, and the ROM's font has no W in the A-Z run - W
sits out of order at $5E, and the Y slot used by 'MAY' holds a slash, so
the screen really shows 'IC MA/ BE BAD'.

**Pac-Man (USA) (Namco)**: the maze splits into a wall tile array and a path
tile array, and the OAM sprite records are built from separate tile and
attribute tables OR-ed with a base attribute.  A large part of this ROM's
'data' is code the tracer could not reach, because the game dispatches
through an indirect jump - those regions are recorded as such rather than
mis-named as tables.

CHANGELOG: record the tier reaching completion

Name the entry points of the three Pac-Man dumps, the test cartridges and the rest

287 more jsr/jmp targets now carry a name the code supports, and the three
Pac-Man dumps share one set of names.

Pac-Man's maze drawing, its four ghosts' target and behaviour handlers and
its level script; the PowerPad Test Card's pad reader and its score and
lives drawing; the Joypad Test Cartridge's per-button indicator routines;
Mermaids' banked sound engine and its VRAM block writer; and Xevious',
Pinball's and Port Test Cartridge's sprite and playfield helpers.

Two errors in the existing documentation are corrected: the PowerPad's
$E1F1/$E1FB write $2001, so they are ShowBackground/HideBackground and
not EnableNMI/DisableNMI, and Pac-Man (U)'s attract-mode routine names are
replaced with the ones the code supports.

Every project still prints Byte-identical ROM verified.

CHANGELOG: the final entry-point numbers
2026-10-22 00:33:54 -04:00

17 KiB

1C042Sub_C042
2C048Sub_OnNonzero
3C054Sub_OnNonzero2
4C077Sub_OnNonzero3
5C086Sub_Loop
6C089Sub_OnNonzero4
7C091Sub_OnNonzero5
8C0A0Sub_Loop2
9C0B2Sub_OnNonzero6
10C0C7Sub_Loop3
11C0FANmiHandler
12C13BSub_OnNonzero7
13C15ASub_Loop4
14C165Sub_Loop5
15C16AIrqHandler
16C16BSub_C16B
17C181Sub_OnNonzero8
18C18CSub_Loop6
19C1A2Sub_OnNonzero9
20C1ADSub_Loop7
21C1BCSub_Loop8
22C1D3Sub_C1D3
23C1D7Sub_OnNonzero10
24C1EBSub_OnNonzero11
25C201Sub_OnNonzero12
26C235Sub_Loop9
27C237Sub_Loop10
28C23CSub_C23C
29C240Sub_OnNonzero13
30C259SubCC259
31C266Sub_Loop11
32C27ASub_Loop12
33C27DSub_C27D
34C28BSub_OnNonzero14
35C29CSub_OnNonzero15
36C2BESub_OnNonzero16
37C2CFSub_OnNonzero17
38C2DCSub_Loop13
39C2E2Sub_C2E2
40C2F1Sub_OnNonzero18
41C45ASubCC45A
42C462Sub_OnNonzero19
43C479Sub_Loop14
44C495Sub_Loop15
45C4B8Sub_Loop16
46C4CCSub_Loop17
47C4D7Sub_Loop18
48C4E0Sub_Loop19
49C560SubCC560
50C56CSubCC56C
51C577Sub_Loop20
52C589Sub_C589
53C597Sub_OnNonzero20
54C5A6Sub_Loop21
55C5B0Sub_OnNonzero21
56C89BSubCC89B
57C8AASub_C8AA
58C8AFSub_Loop22
59C8BBSub_OnNonzero22
60C8C4Sub_Loop23
61C8CFSub_Loop24
62C8EDSub_C8ED
63C8F7Sub_OnNonzero23
64C929Sub_OnNonzero24
65C94FSub_OnNonzero25
66C966Sub_OnNonzero26
67C977SubCC977
68C97ESub_Loop25
69C98ASub_OnNonzero27
70C9B9Sub_C9B9
71C9C1Sub_Loop26
72C9DASub_Loop27
73C9E2Sub_Loop28
74C9EFSub_OnNonzero28
75C9F9Sub_Loop29
76CA13Sub_CA13
77CA1ASub_OnNonnegative
78CA3FSub_Loop30
79CA42Sub_OnNonzero29
80CA56Sub_Loop31
81CA66Sub_OnNonzero30
82CA6ASub_OnNonzero31
83CA7FSub_Loop32
84CA87Sub_Loop33
85CAA8SubCCAA8
86CAB0Sub_Loop34
87CACASub_Loop35
88CAE1Sub_OnNonzero32
89CAF0Sub_Loop36
90CAF9Sub_Loop37
91CB26SubCCB26
92CB2DSub_Loop38
93CB45Sub_OnZero
94CB58Sub_OnNonzero33
95CB8BSub_Loop39
96CB93Sub_Loop40
97CBA3Sub_Loop41
98CBACSub_Loop42
99CBB7Sub_Loop43
100CBD8Sub_OnNonzero34
101CBE8Sub_Loop44
102CC3BSub_CC3B
103CC4CSub_OnNonzero35
104CC54Sub_Loop45
105CC58Sub_Loop46
106CCC5SubCCCC5
107CCD9Sub_OnNonzero36
108CCE0Sub_Loop47
109CCECSub_Loop48
110CCFFSub_Loop49
111CD08Sub_Loop50
112CD1DSub_Loop51
113CD2DSub_Loop52
114CD39Sub_OnNonnegative2
115CD48Sub_Loop53
116CD53Sub_Loop54
117CD55Sub_OnNonnegative3
118CD6CSub_Loop55
119CD6FSubCCD6F
120CD75Sub_OnNonzero37
121CD84Sub_Loop56
122CD94Sub_Loop57
123CDCASub_Loop58
124CDD1Sub_Loop59
125CDD5Sub_Loop60
126CEB2SubCCEB2
127CEB6Sub_OnNonzero38
128CEC8Sub_OnNonzero39
129CED0Sub_OnNonzero40
130CED8Sub_OnNonzero41
131CF03Sub_Loop61
132CF09Sub_Loop62
133CF1DSub_OnNonzero42
134CF24Sub_Loop63
135CF2ESub_OnNonzero43
136CF35Sub_Loop64
137CF38Sub_OnNonzero44
138CF55Sub_OnNonzero45
139CF97Sub_OnNonzero46
140CFA8Sub_Loop65
141CFB2Sub_OnNonzero47
142CFBESub_Loop66
143CFCCSub_OnNonzero48
144CFDCSub_Loop67
145CFDESub_OnNonzero49
146CFEASub_Loop68
147D02ESub_OnNonzero50
148D03CSub_OnNonzero51
149D049Sub_OnNonzero52
150D055Sub_Loop69
151D06ASub_D06A
152D074Sub_Loop70
153D07ESub_OnNonzero53
154D091Sub_OnNonzero54
155D0F0Sub_D0F0
156D0FFSub_OnNonzero55
157D101Sub_OnNonzero56
158D110Sub_Loop71
159D15FSub_D15F
160D177Sub_OnNonzero57
161D187Sub_Loop72
162D197Sub_Loop73
163D19FSub_Loop74
164D1C8Sub_Loop75
165D1CASub_Loop76
166D1D2Sub_Loop77
167D1E4Sub_OnNonzero58
168D1F0Sub_Loop78
169D1F5Sub_Loop79
170D210Sub_Loop80
171D22DSub_Loop81
172D242Sub_Loop82
173D248Sub_Loop83
174D249Sub_D249
175D24BSub_OnNonzero59
176D254Sub_Loop84
177D25BSubCD25B
178D263Sub_D263
179D268Sub_Loop85
180D276Sub_OnNonzero60
181D28BSub_Loop86
182D28DSub_Loop87
183D2A2Sub_Loop88
184D2A4Sub_Loop89
185D2AESub_Loop90
186D2BESub_Loop91
187D2F6Sub_Loop92
188D307Sub_Loop93
189D30CSub_Loop94
190D34FSub_D34F
191D356Sub_Loop95
192D35ESub_OnCarryClear
193D365Sub_D365
194D381Sub_Loop96
195D388Sub_Loop97
196D391Sub_Loop98
197D395Sub_Loop99
198D39DSub_Loop100
199D3B4Sub_Loop101
200D3D5SubCD3D5
201D3DBSub_Loop102
202D3E8Sub_Loop103
203D3F0SubCD3F0
204D3F6Sub_Loop104
205D403Sub_D403
206D408Sub_Loop105
207D421SubCD421
208D431Sub_Loop106
209D461Sub_Loop107
210D480Sub_Loop108
211D490Sub_Loop109
212D494Sub_Loop110
213D4A2Sub_Loop111
214D4AASub_Loop112
215D4BESub_Loop113
216D4C5Sub_D4C5
217D4D6Sub_Loop114
218D516Sub_D516
219D52CSub_OnNonzero61
220D546Sub_D546
221D560SubCD560
222D57CSubCD57C
223D582Sub_Loop115
224D592SubCD592
225D598Sub_Loop116
226D5A5Sub_Loop117
227D5AASub_D5AA
228D5AFSub_Loop118
229D5C8SubCD5C8
230D5D2Sub_Loop119
231D5E0Sub_Loop120
232D5E2Sub_Loop121
233D5F7Sub_Loop122
234D601Sub_Loop123
235D609Sub_Loop124
236D60DSub_Loop125
237D60FSub_Loop126
238D62DSub_Loop127
239D65ASub_Loop128
240D66BSub_Loop129
241D68ESub_Loop130
242D6C9Sub_Loop131
243D6D1Sub_OnZero2
244D6D9Sub_Loop132
245D6F5Sub_Loop133
246D6FASubCD6FA
247D723SubCD723
248D737Sub_Loop134
249D754Sub_Loop135
250D75CSub_OnZero3
251D75FSub_Loop136
252D779Sub_Loop137
253D78FSub_Loop138
254D799Sub_Loop139
255D7A2Sub_OnNonzero62
256D7A9Sub_OnNonzero63
257D7C2Sub_OnNonzero64
258D7D5Sub_OnNonzero65
259D7E0Sub_D7E0
260D7FASub_Loop140
261D803Sub_Loop141
262D815Sub_Loop142
263D81ESub_Loop143
264D827Sub_Loop144
265D844SubCD844
266D85BSub_Loop145
267D85DSub_Loop146
268D871Sub_Loop147
269D88BSub_Loop148
270D894SubCD894
271D8AFSubCD8AF
272D8CASub_Loop149
273D8D0Sub_Loop150
274D8D2Sub_Loop151
275D8D3SubCD8D3
276D8E9Sub_OnNonzero66
277D903Sub_D903
278D91DSub_D91D
279D921Sub_OnNonzero67
280D92BSub_Loop152
281D939Sub_Loop153
282D947Sub_Loop154
283D94DSub_D94D
284D96DSub_Loop155
285D971Sub_D971
286D97BSub_Loop156
287D982Sub_Loop157
288D98BSub_D98B
289D99ASub_Loop158
290D99ESub_OnNonzero68
291D9AASub_D9AA
292D9C3Sub_OnZero4
293D9C9Sub_OnNonzero69
294D9D2Sub_OnNonzero70
295D9D7Sub_OnNegative
296D9E0SubCD9E0
297D9F2Sub_OnNonzero71
298D9FBSub_Loop159
299D9FFSub_D9FF
300DA01Sub_OnNonnegative4
301DA19Sub_DA19
302DA30Sub_Loop160
303DA32Sub_Loop161
304DA49Sub_Loop162
305DA4BSub_Loop163
306DA9ASub_Loop164
307DAAASub_Loop165
308DAB0Sub_DAB0
309DAC4Sub_DAC4
310DAC9Sub_DAC9
311DAD3Sub_Loop166
312DAD7Sub_Loop167
313DB10Sub_Loop168
314DB33Sub_Loop169
315DB56Sub_Loop170
316DB76Sub_DB76
317DB80Sub_Loop171
318DB84Sub_Loop172
319DB9ASub_Loop173
320DBACSub_Loop174
321DE1DSub_DE1D
322DE24Sub_Loop175
323DE25Sub_OnNonzero72
324DE33Sub_Loop176
325DE35Sub_Loop177
326DE3DSub_DE3D
327DE44Sub_Loop178
328DE5CSub_OnNonzero73
329DE73Sub_Loop179
330DE8BSub_OnNonzero74
331DEA0Sub_Loop180
332DEBDSub_OnNonzero75
333DECASub_Loop181
334DECCSub_OnNonzero76
335DED4Sub_Loop182
336DEE6Sub_OnNonzero77
337DF01Sub_Loop183
338DF06Sub_OnZero5
339DF18Sub_OnNonzero78
340DF27Sub_Loop184
341DF3BSub_DF3B
342DF53Sub_Loop185
343DF6BSub_Loop186
344DF74Sub_Loop187
345DF7ASub_Loop188
346DF8DSub_OnNonzero79
347DF9ESub_Loop189
348DFD0Sub_Loop190
349DFDASub_Loop191
350DFF5Sub_Loop192
351E022Sub_E022
352E02CSub_Loop193
353E034Sub_OnNonnegative5
354E04DSub_E04D
355E069Sub_OnNonzero80
356E08CSub_Loop194
357E090Sub_Loop195
358E0A5Sub_E0A5
359E0AASub_Loop196
360E0B1Sub_OnNonzero81
361E0C4Sub_Loop197
362E0D1Sub_OnNonzero82
363E0E4Sub_OnNonnegative6
364E0EASub_Loop198
365E10ESub_OnNonzero83
366E11FSub_Loop199
367E127Sub_Loop200
368E12BSub_OnNonzero84
369E143Sub_OnNonzero85
370E155Sub_Loop201
371E157Sub_OnNonnegative7
372E162Sub_Loop202
373E166Sub_Loop203
374E168Sub_OnNonzero86
375E175Sub_OnNonzero87
376E18DSub_E18D
377E196Sub_Loop204
378E199Sub_E199
379E1B2Sub_OnNonzero88
380E222Sub_E222
381E259Sub_Loop205
382E261Sub_E261
383E268Sub_OnNonzero89
384E285Sub_E285
385E293Sub_E293
386E2A1Sub_E2A1
387E2B3Sub_Loop206
388E2C1Sub_OnNonzero90
389E2D2Sub_OnNonzero91
390E2E2Sub_OnNonnegative8
391E2F0Sub_Loop207
392E318Sub_OnNonnegative9
393E32ASub_OnNonnegative10
394E344Sub_E344
395E355Sub_E355
396E363Sub_OnZero6
397E37ASub_Loop208
398E38ESub_Loop209
399E39FSub_OnNonzero92
400E3A2Sub_OnNonzero93
401E3AFSub_Loop210
402E3BESub_E3BE
403E3D8Sub_E3D8
404E3EASub_Loop211
405E3F5Sub_Loop212
406E3F9Sub_OnNonzero94
407E42ESub_Loop213
408E432Sub_Loop214
409E433Sub_E433
410E435Sub_OnNonzero95
411E445Sub_OnNonzero96
412E447Sub_Loop215
413E450Sub_Loop216
414E470Sub_E470
415E47BSub_OnNonzero97
416E489Sub_Loop217
417E48DSub_Loop218
418E4A3Sub_OnNonzero98
419E4A5Sub_OnNonzero99
420E4B7Sub_Loop219
421E4C1Sub_E4C1
422E4C3Sub_OnZero7
423E4C5Sub_OnNonzero100
424E4CESub_Loop220
425E4DESub_OnNonzero101
426E4F3Sub_Loop221
427E512Sub_E512
428E517Sub_Loop222
429E520Sub_Loop223
430E53BSub_OnNonzero102
431E540Sub_Loop224
432E54BSub_Loop225
433E559Sub_E559
434E580Sub_E580
435E5A5Sub_Loop226
436E5ACSub_Loop227
437E5AESub_Loop228
438E5C3Sub_Loop229
439E5C7Sub_OnNonnegative11
440E5D2Sub_Loop230
441E5F0Sub_OnCarryClear2
442E5F8Sub_Loop231
443E61ASub_Loop232
444E626Sub_OnNonzero103
445E62ASub_OnNonzero104
446E644Sub_Loop233
447E64CSub_Loop234
448E9D8Sub_E9D8
449E9EASub_OnNonzero105
450EA03Sub_OnCarryClear3
451EA0DSub_Loop235
452EA19Sub_Loop236
453EA21Sub_OnCarryClear4
454EA2FSub_Loop237
455EA33Sub_Loop238
456EA53SubCEA53
457EB5ESubCEB5E
458EB65Sub_Loop239
459EB6FSub_Loop240
460EB71Sub_Loop241
461EE4BSub_EE4B
462EE73Sub_EE73
463EE77Sub_OnNonzero106
464EE82Sub_OnNonzero107
465EE8FSub_EE8F
466EEA1Sub_OnCarryClear5
467EEB6Sub_Loop242
468EED3Sub_OnNonzero108
469EEE1Sub_Loop243
470EEF2Sub_EEF2
471EEFBSub_Loop244
472EF52Sub_Loop245
473EF61Sub_EF61
474EF83Sub_OnNonzero109
475EF8ASub_Loop246
476EFAASub_Loop247
477EFB7Sub_Loop248
478EFCBSub_Loop249
479EFCCSub_Loop250
480EFFDSubCEFFD
481F00ASubCF00A
482F022SubCF022
483F03ASubCF03A
484F052SubCF052
485F062SubCF062
486F072SubCF072
487F082Sub_F082
488FF00Reset
489FF0ASub_OnNonnegative12
490FF0FSub_OnNonnegative13
491# ---- derived internal branch-target names ----
492C042Sub_C042
493C048Sub_OnNonzero
494C054Sub_OnNonzero2
495C077Sub_OnNonzero3
496C086Sub_Loop
497C089Sub_OnNonzero4
498C091Sub_OnNonzero5
499C0A0Sub_Loop2
500C0B2Sub_OnNonzero6
501C0C7Sub_Loop3
502C0FANmiHandler
503C13BSub_OnNonzero7
504C15ASub_Loop4
505C165Sub_Loop5
506C16AIrqHandler
507C16BSub_C16B
508C181Sub_OnNonzero8
509C18CSub_Loop6
510C1A2Sub_OnNonzero9
511C1ADSub_Loop7
512C1BCSub_Loop8
513C1D3Sub_C1D3
514C1D7Sub_OnNonzero10
515C1EBSub_OnNonzero11
516C201Sub_OnNonzero12
517C235Sub_Loop9
518C237Sub_Loop10
519C23CSub_C23C
520C240Sub_OnNonzero13
521C259SubCC259
522C266Sub_Loop11
523C27ASub_Loop12
524C27DSub_C27D
525C28BSub_OnNonzero14
526C29CSub_OnNonzero15
527C2BESub_OnNonzero16
528C2CFSub_OnNonzero17
529C2DCSub_Loop13
530C2E2Sub_C2E2
531C2F1Sub_OnNonzero18
532C45ASubCC45A
533C462Sub_OnNonzero19
534C479Sub_Loop14
535C495Sub_Loop15
536C4B8Sub_Loop16
537C4CCSub_Loop17
538C4D7Sub_Loop18
539C4E0Sub_Loop19
540C560SubCC560
541C56CSubCC56C
542C577Sub_Loop20
543C589Sub_C589
544C597Sub_OnNonzero20
545C5A6Sub_Loop21
546C5B0Sub_OnNonzero21
547C89BSubCC89B
548C8AASub_C8AA
549C8AFSub_Loop22
550C8BBSub_OnNonzero22
551C8C4Sub_Loop23
552C8CFSub_Loop24
553C8EDSub_C8ED
554C8F7Sub_OnNonzero23
555C929Sub_OnNonzero24
556C94FSub_OnNonzero25
557C966Sub_OnNonzero26
558C977SubCC977
559C97ESub_Loop25
560C98ASub_OnNonzero27
561C9B9Sub_C9B9
562C9C1Sub_Loop26
563C9DASub_Loop27
564C9E2Sub_Loop28
565C9EFSub_OnNonzero28
566C9F9Sub_Loop29
567CA13Sub_CA13
568CA1ASub_OnNonnegative
569CA3FSub_Loop30
570CA42Sub_OnNonzero29
571CA56Sub_Loop31
572CA66Sub_OnNonzero30
573CA6ASub_OnNonzero31
574CA7FSub_Loop32
575CA87Sub_Loop33
576CAA8SubCCAA8
577CAB0Sub_Loop34
578CACASub_Loop35
579CAE1Sub_OnNonzero32
580CAF0Sub_Loop36
581CAF9Sub_Loop37
582CB26SubCCB26
583CB2DSub_Loop38
584CB45Sub_OnZero
585CB58Sub_OnNonzero33
586CB8BSub_Loop39
587CB93Sub_Loop40
588CBA3Sub_Loop41
589CBACSub_Loop42
590CBB7Sub_Loop43
591CBD8Sub_OnNonzero34
592CBE8Sub_Loop44
593CC3BSub_CC3B
594CC4CSub_OnNonzero35
595CC54Sub_Loop45
596CC58Sub_Loop46
597CCC5SubCCCC5
598CCD9Sub_OnNonzero36
599CCE0Sub_Loop47
600CCECSub_Loop48
601CCFFSub_Loop49
602CD08Sub_Loop50
603CD1DSub_Loop51
604CD2DSub_Loop52
605CD39Sub_OnNonnegative2
606CD48Sub_Loop53
607CD53Sub_Loop54
608CD55Sub_OnNonnegative3
609CD6CSub_Loop55
610CD6FSubCCD6F
611CD75Sub_OnNonzero37
612CD84Sub_Loop56
613CD94Sub_Loop57
614CDCASub_Loop58
615CDD1Sub_Loop59
616CDD5Sub_Loop60
617CEB2SubCCEB2
618CEB6Sub_OnNonzero38
619CEC8Sub_OnNonzero39
620CED0Sub_OnNonzero40
621CED8Sub_OnNonzero41
622CF03Sub_Loop61
623CF09Sub_Loop62
624CF1DSub_OnNonzero42
625CF24Sub_Loop63
626CF2ESub_OnNonzero43
627CF35Sub_Loop64
628CF38Sub_OnNonzero44
629CF55Sub_OnNonzero45
630CF97Sub_OnNonzero46
631CFA8Sub_Loop65
632CFB2Sub_OnNonzero47
633CFBESub_Loop66
634CFCCSub_OnNonzero48
635CFDCSub_Loop67
636CFDESub_OnNonzero49
637CFEASub_Loop68
638D02ESub_OnNonzero50
639D03CSub_OnNonzero51
640D049Sub_OnNonzero52
641D055Sub_Loop69
642D06ASub_D06A
643D074Sub_Loop70
644D07ESub_OnNonzero53
645D091Sub_OnNonzero54
646D0F0Sub_D0F0
647D0FFSub_OnNonzero55
648D101Sub_OnNonzero56
649D110Sub_Loop71
650D15FSub_D15F
651D177Sub_OnNonzero57
652D187Sub_Loop72
653D197Sub_Loop73
654D19FSub_Loop74
655D1C8Sub_Loop75
656D1CASub_Loop76
657D1D2Sub_Loop77
658D1E4Sub_OnNonzero58
659D1F0Sub_Loop78
660D1F5Sub_Loop79
661D210Sub_Loop80
662D22DSub_Loop81
663D242Sub_Loop82
664D248Sub_Loop83
665D249Sub_D249
666D24BSub_OnNonzero59
667D254Sub_Loop84
668D25BSubCD25B
669D263Sub_D263
670D268Sub_Loop85
671D276Sub_OnNonzero60
672D28BSub_Loop86
673D28DSub_Loop87
674D2A2Sub_Loop88
675D2A4Sub_Loop89
676D2AESub_Loop90
677D2BESub_Loop91
678D2F6Sub_Loop92
679D307Sub_Loop93
680D30CSub_Loop94
681D34FSub_D34F
682D356Sub_Loop95
683D35ESub_OnCarryClear
684D365Sub_D365
685D381Sub_Loop96
686D388Sub_Loop97
687D391Sub_Loop98
688D395Sub_Loop99
689D39DSub_Loop100
690D3B4Sub_Loop101
691D3D5SubCD3D5
692D3DBSub_Loop102
693D3E8Sub_Loop103
694D3F0SubCD3F0
695D3F6Sub_Loop104
696D403Sub_D403
697D408Sub_Loop105
698D421SubCD421
699D431Sub_Loop106
700D461Sub_Loop107
701D480Sub_Loop108
702D490Sub_Loop109
703D494Sub_Loop110
704D4A2Sub_Loop111
705D4AASub_Loop112
706D4BESub_Loop113
707D4C5Sub_D4C5
708D4D6Sub_Loop114
709D516Sub_D516
710D52CSub_OnNonzero61
711D546Sub_D546
712D560SubCD560
713D57CSubCD57C
714D582Sub_Loop115
715D592SubCD592
716D598Sub_Loop116
717D5A5Sub_Loop117
718D5AASub_D5AA
719D5AFSub_Loop118
720D5C8SubCD5C8
721D5D2Sub_Loop119
722D5E0Sub_Loop120
723D5E2Sub_Loop121
724D5F7Sub_Loop122
725D601Sub_Loop123
726D609Sub_Loop124
727D60DSub_Loop125
728D60FSub_Loop126
729D62DSub_Loop127
730D65ASub_Loop128
731D66BSub_Loop129
732D68ESub_Loop130
733D6C9Sub_Loop131
734D6D1Sub_OnZero2
735D6D9Sub_Loop132
736D6F5Sub_Loop133
737D6FASubCD6FA
738D723SubCD723
739D737Sub_Loop134
740D754Sub_Loop135
741D75CSub_OnZero3
742D75FSub_Loop136
743D779Sub_Loop137
744D78FSub_Loop138
745D799Sub_Loop139
746D7A2Sub_OnNonzero62
747D7A9Sub_OnNonzero63
748D7C2Sub_OnNonzero64
749D7D5Sub_OnNonzero65
750D7E0Sub_D7E0
751D7FASub_Loop140
752D803Sub_Loop141
753D815Sub_Loop142
754D81ESub_Loop143
755D827Sub_Loop144
756D844SubCD844
757D85BSub_Loop145
758D85DSub_Loop146
759D871Sub_Loop147
760D88BSub_Loop148
761D894SubCD894
762D8AFSubCD8AF
763D8CASub_Loop149
764D8D0Sub_Loop150
765D8D2Sub_Loop151
766D8D3SubCD8D3
767D8E9Sub_OnNonzero66
768D903Sub_D903
769D91DSub_D91D
770D921Sub_OnNonzero67
771D92BSub_Loop152
772D939Sub_Loop153
773D947Sub_Loop154
774D94DSub_D94D
775D96DSub_Loop155
776D971Sub_D971
777D97BSub_Loop156
778D982Sub_Loop157
779D98BSub_D98B
780D99ASub_Loop158
781D99ESub_OnNonzero68
782D9AASub_D9AA
783D9C3Sub_OnZero4
784D9C9Sub_OnNonzero69
785D9D2Sub_OnNonzero70
786D9D7Sub_OnNegative
787D9E0SubCD9E0
788D9F2Sub_OnNonzero71
789D9FBSub_Loop159
790D9FFSub_D9FF
791DA01Sub_OnNonnegative4
792DA19Sub_DA19
793DA30Sub_Loop160
794DA32Sub_Loop161
795DA49Sub_Loop162
796DA4BSub_Loop163
797DA9ASub_Loop164
798DAAASub_Loop165
799DAB0Sub_DAB0
800DAC4Sub_DAC4
801DAC9Sub_DAC9
802DAD3Sub_Loop166
803DAD7Sub_Loop167
804DB10Sub_Loop168
805DB33Sub_Loop169
806DB56Sub_Loop170
807DB76Sub_DB76
808DB80Sub_Loop171
809DB84Sub_Loop172
810DB9ASub_Loop173
811DBACSub_Loop174
812DE1DSub_DE1D
813DE24Sub_Loop175
814DE25Sub_OnNonzero72
815DE33Sub_Loop176
816DE35Sub_Loop177
817DE3DSub_DE3D
818DE44Sub_Loop178
819DE5CSub_OnNonzero73
820DE73Sub_Loop179
821DE8BSub_OnNonzero74
822DEA0Sub_Loop180
823DEBDSub_OnNonzero75
824DECASub_Loop181
825DECCSub_OnNonzero76
826DED4Sub_Loop182
827DEE6Sub_OnNonzero77
828DF01Sub_Loop183
829DF06Sub_OnZero5
830DF18Sub_OnNonzero78
831DF27Sub_Loop184
832DF3BSub_DF3B
833DF53Sub_Loop185
834DF6BSub_Loop186
835DF74Sub_Loop187
836DF7ASub_Loop188
837DF8DSub_OnNonzero79
838DF9ESub_Loop189
839DFD0Sub_Loop190
840DFDASub_Loop191
841DFF5Sub_Loop192
842E022Sub_E022
843E02CSub_Loop193
844E034Sub_OnNonnegative5
845E04DSub_E04D
846E069Sub_OnNonzero80
847E08CSub_Loop194
848E090Sub_Loop195
849E0A5Sub_E0A5
850E0AASub_Loop196
851E0B1Sub_OnNonzero81
852E0C4Sub_Loop197
853E0D1Sub_OnNonzero82
854E0E4Sub_OnNonnegative6
855E0EASub_Loop198
856E10ESub_OnNonzero83
857E11FSub_Loop199
858E127Sub_Loop200
859E12BSub_OnNonzero84
860E143Sub_OnNonzero85
861E155Sub_Loop201
862E157Sub_OnNonnegative7
863E162Sub_Loop202
864E166Sub_Loop203
865E168Sub_OnNonzero86
866E175Sub_OnNonzero87
867E18DSub_E18D
868E196Sub_Loop204
869E199Sub_E199
870E1B2Sub_OnNonzero88
871E222Sub_E222
872E259Sub_Loop205
873E261Sub_E261
874E268Sub_OnNonzero89
875E285Sub_E285
876E293Sub_E293
877E2A1Sub_E2A1
878E2B3Sub_Loop206
879E2C1Sub_OnNonzero90
880E2D2Sub_OnNonzero91
881E2E2Sub_OnNonnegative8
882E2F0Sub_Loop207
883E318Sub_OnNonnegative9
884E32ASub_OnNonnegative10
885E344Sub_E344
886E355Sub_E355
887E363Sub_OnZero6
888E37ASub_Loop208
889E38ESub_Loop209
890E39FSub_OnNonzero92
891E3A2Sub_OnNonzero93
892E3AFSub_Loop210
893E3BESub_E3BE
894E3D8Sub_E3D8
895E3EASub_Loop211
896E3F5Sub_Loop212
897E3F9Sub_OnNonzero94
898E42ESub_Loop213
899E432Sub_Loop214
900E433Sub_E433
901E435Sub_OnNonzero95
902E445Sub_OnNonzero96
903E447Sub_Loop215
904E450Sub_Loop216
905E470Sub_E470
906E47BSub_OnNonzero97
907E489Sub_Loop217
908E48DSub_Loop218
909E4A3Sub_OnNonzero98
910E4A5Sub_OnNonzero99
911E4B7Sub_Loop219
912E4C1Sub_E4C1
913E4C3Sub_OnZero7
914E4C5Sub_OnNonzero100
915E4CESub_Loop220
916E4DESub_OnNonzero101
917E4F3Sub_Loop221
918E512Sub_E512
919E517Sub_Loop222
920E520Sub_Loop223
921E53BSub_OnNonzero102
922E540Sub_Loop224
923E54BSub_Loop225
924E559Sub_E559
925E580Sub_E580
926E5A5Sub_Loop226
927E5ACSub_Loop227
928E5AESub_Loop228
929E5C3Sub_Loop229
930E5C7Sub_OnNonnegative11
931E5D2Sub_Loop230
932E5F0Sub_OnCarryClear2
933E5F8Sub_Loop231
934E61ASub_Loop232
935E626Sub_OnNonzero103
936E62ASub_OnNonzero104
937E644Sub_Loop233
938E64CSub_Loop234
939E9D8Sub_E9D8
940E9EASub_OnNonzero105
941EA03Sub_OnCarryClear3
942EA0DSub_Loop235
943EA19Sub_Loop236
944EA21Sub_OnCarryClear4
945EA2FSub_Loop237
946EA33Sub_Loop238
947EA53SubCEA53
948EB5ESubCEB5E
949EB65Sub_Loop239
950EB6FSub_Loop240
951EB71Sub_Loop241
952EE4BSub_EE4B
953EE73Sub_EE73
954EE77Sub_OnNonzero106
955EE82Sub_OnNonzero107
956EE8FSub_EE8F
957EEA1Sub_OnCarryClear5
958EEB6Sub_Loop242
959EED3Sub_OnNonzero108
960EEE1Sub_Loop243
961EEF2Sub_EEF2
962EEFBSub_Loop244
963EF52Sub_Loop245
964EF61Sub_EF61
965EF83Sub_OnNonzero109
966EF8ASub_Loop246
967EFAASub_Loop247
968EFB7Sub_Loop248
969EFCBSub_Loop249
970EFCCSub_Loop250
971EFFDSubCEFFD
972F00ASubCF00A
973F022SubCF022
974F03ASubCF03A
975F052SubCF052
976F062SubCF062
977F072SubCF072
978F082Sub_F082
979FF00Reset
980FF0ASub_OnNonnegative12
981FF0FSub_OnNonnegative13