Pass 3 _wip: semantic ZP aliases for Sqoon (U) (FrameCounter, PpuCtrlShadow, NmiFrameFlag) and Elevator Action (U) (PpuCtrlShadow, NmiSaveA/X/Y) Pass 3 Slalom (U): semantic ZP aliases (PpuCtrlShadow, PpuMaskShadow) Pass 3 Kung Fu (U): semantic ZP alias (PpuCtrlShadow) Pass 3 Othello (U): semantic ZP alias (PpuCtrlShadow) Pass 3 1942 (JU): semantic ZP alias (PpuCtrlShadow) Pass 3 Galaga (U): semantic ZP aliases (PpuCtrlShadow, PpuMaskShadow) Docs: add power-on flow + data-table inventory to READMEs of 13 promoted NROM projects Pass 3 Elevator Action (U): add NmiFrameFlag alias Pass 3 Elevator Action (U): full ZP naming (23 aliases) + 25 named data tables, 59.4% coverage Pass 1/2/3 re-trace: recover unreached code in 7 NROM projects (Sqoon 56.4%, Elevator Action 59.3%, Kung Fu 52.1%, 1942 52.1%) Pass 3 Sqoon (U): full ZP naming (22 aliases) + 17 named data tables Pass 3 Kung Fu (U): full ZP naming (21 aliases) + 13 named data tables Pass 3 Othello (U): full ZP naming (18 aliases) + 27 named data tables Pass 3 1942 (JU): full ZP naming (14 aliases) + 19 named data tables Pass 3 Galaga (U): full ZP naming (15 aliases) + 14 named data tables Pass 3 Slalom (U): full ZP naming (16 aliases) + 16 named data tables Pass 2/3: re-apply naming to Slalom (U), Othello (U), Galaga (U) after re-seed Pass 1/2/3 re-trace: recover unreached code in 6 more promoted NROM projects Pass 3 Stack-Up (JU): full ZP naming (15 aliases) + 12 named data tables Pass 3 Tag Team Wrestling (U): full ZP naming (20 aliases) + 11 named data tables Pass 3 Kung Fu (U) (a1): full ZP naming (20 aliases) + 12 named data tables Pass 3 Magmax (U): full ZP naming (18 aliases) + 6 named data tables Pass 3 Soccer (JU): full ZP naming (18 aliases) + 9 named data tables Pass 3 Ms Pac-Man (Namco) (U): full ZP naming (18 aliases) + 8 named data tables Docs: refresh coverage numbers and data-table inventories for 13 promoted NROM projects
2.4 KiB
2.4 KiB
Soccer (JU)
Status
Pass 3 complete; promoted. prg.s is a traced disassembly with all
address-derived labels replaced, all jsr/jmp operands symbolic, hardware
registers named via symbols.inc, and apply_symbols.py reporting 0 residue.
Code coverage: 18,110 / 32,768 bytes (55.3%).
make assembles and verifies byte-identical to rom.nes.
ROM
| Property | Value |
|---|---|
| Format | iNES |
| Mapper | 0 (NROM) |
| PRG | 32 KB |
| CHR | 8 KB |
| Mirroring | Vertical |
| NMI vector | $809F |
| RESET vector | $8000 |
| IRQ vector | $8000 |
Power-on flow
RESET enters at $8000:
cld ; CPU:$8000 PRG:0000 D8
sei ; CPU:$8001 PRG:0001 78
ldx #$00 ; CPU:$8002 PRG:0002 A2 00
stx PPUCTRL ; CPU:$8004 PRG:0004 8E 00 20
stx PPUMASK ; CPU:$8007 PRG:0007 8E 01 20
lda PPUSTATUS ; CPU:$800A PRG:000A AD 02 20
bpl Reset_OnNonnegative ; CPU:$800D PRG:000D 10 FB
dex ; CPU:$800F PRG:000F CA
txs ; CPU:$8010 PRG:0010 9A
ldx #$1F ; CPU:$8011 PRG:0011 A2 1F
lda Zp50,x ; CPU:$8013 PRG:0013 B5 50
sta $0350,x ; CPU:$8015 PRG:0015 9D 50 03
NMI handler at $809F:
php ; CPU:$809F PRG:009F 08
pha ; CPU:$80A0 PRG:00A0 48
txa ; CPU:$80A1 PRG:00A1 8A
pha ; CPU:$80A2 PRG:00A2 48
tya ; CPU:$80A3 PRG:00A3 98
pha ; CPU:$80A4 PRG:00A4 48
ldx #$03 ; CPU:$80A5 PRG:00A5 A2 03
lda $80EE,x ; CPU:$80A7 PRG:00A7 BD EE 80
Data-table inventory (Pass 3)
$8251-$8262(18 bytes) -LevelHandlerPointerTable$82EF-$8306(24 bytes) -PlayerSpeedTable$832C-$832F(4 bytes) -LevelStartParameterTable$8921-$8996(118 bytes) -PlayerMovementTable$89D2-$89DB(10 bytes) -PlayerDirectionTable$8C07-$8C0B(5 bytes) -FieldPlayerPositionTable$8D44-$8DD3(144 bytes) -FieldPlayerSpriteTable$8ED1-$8F20(80 bytes) -FieldNameText$9007-$9012(12 bytes) -PlayerSpeedFineTable
Build
Byte-identical ROM verified.