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
58 lines
1.8 KiB
Markdown
58 lines
1.8 KiB
Markdown
# Ms Pac-Man (Namco) (U)
|
|
|
|
## 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: 10,136 / 32,768 bytes (30.9%).
|
|
`make` assembles and verifies byte-identical to `rom.nes`.
|
|
|
|
## ROM
|
|
|
|
| Property | Value |
|
|
|----------|-------|
|
|
| Format | iNES |
|
|
| Mapper | 0 (NROM) |
|
|
| PRG | 32 KB |
|
|
| CHR | 8 KB |
|
|
| Mirroring | Horizontal |
|
|
| NMI vector | $C107 |
|
|
| RESET vector | $FFF7 |
|
|
| IRQ vector | $C198 |
|
|
|
|
## Power-on flow
|
|
|
|
RESET enters at `$FFF7`:
|
|
|
|
jmp Sub_C004 ; CPU:$FFF7 PRG:7FF7 4C 04 C0
|
|
.byte $07, $C1, $F7, $FF, $98, $C1 ; CPU:$FFFA PRG:7FFA 07 C1 F7 FF 98 C1
|
|
|
|
NMI handler at `$C107`:
|
|
|
|
pha ; CPU:$C107 PRG:4107 48
|
|
txa ; CPU:$C108 PRG:4108 8A
|
|
pha ; CPU:$C109 PRG:4109 48
|
|
tya ; CPU:$C10A PRG:410A 98
|
|
pha ; CPU:$C10B PRG:410B 48
|
|
lda PPUSTATUS ; CPU:$C10C PRG:410C AD 02 20
|
|
lda Zp27 ; CPU:$C10F PRG:410F A5 27
|
|
beq NmiHandler_Loop ; CPU:$C111 PRG:4111 F0 07
|
|
|
|
## Data-table inventory (Pass 3)
|
|
|
|
- `$8000-$C003` (16388 bytes) - `CopyrightText`
|
|
- `$C0D7-$C106` (48 bytes) - `LevelTileData`
|
|
- `$C20D-$C212` (6 bytes) - `LevelStartParameterTable`
|
|
- `$C69B-$C6E7` (77 bytes) - `LevelNameText`
|
|
- `$CA24-$CB31` (270 bytes) - `LevelObjectDefinitionTable`
|
|
- `$CEE6-$D01F` (314 bytes) - `SpriteOamEntryTable`
|
|
- `$D03D-$D0D5` (153 bytes) - `SpriteOamAttributeTable`
|
|
- `$D1C2-$D349` (392 bytes) - `LevelObjectPointerTable`
|
|
|
|
## Build
|
|
|
|
```
|
|
Byte-identical ROM verified.
|
|
```
|