Claim set · data/claims/popeye.yaml

Popeye (Famicom ROM)

Game: Popeye.

Famicom Popeye steps a 16-bit random value by shifting it one place right and putting the exclusive-or of bit 1 of its two bytes into the new top bit. The loop that runs between frame interrupts does nothing but step it. popeye/rng-ror-lfsr

About: Popeye Random number generator

Value: state bits 16 · tap bit 1 (bits of state; bit tapped in each byte)

CodePopeye (Japan) · 0x2E84-0x2E98 — $EE74-$EE88Popeye (Japan) · 0x0687-0x0695 — $C677 setup, then $C680-$C685: JSR to the step and jump back, forever; the interrupt handler at $C701 does the frame's workChecked by claude, 2026-11-30 — disassembled the step and the idle loop from the ROM matching the source's SHA-1 and traced the carry into the top bitChecked by a second AI model, 2026-11-30.

Cited by: Popeye

Famicom Popeye keeps 33 countdown timers that stop at 0. Each timer pass lowers 15 of them, and only every 11th pass lowers the other 18 (computed). Either of two flags makes the game skip the pass. popeye/eleven-frame-timers

About: Popeye Simulation tick

Value: timers 33 · fast 15 · slow 18 · slow every 11 (timers; passes)

CodePopeye (Japan) · 0x2E6E-0x2E83 — $EE5E-$EE73: prescaler reloads with 10; index range widens when it wrapsPopeye (Japan) · 0x0727-0x0733 — $C717-$C723: two flags gate the callChecked by claude, 2026-11-30 — counted the indexes covered by each branch of the loop from the ROM bytesChecked by a second AI model, 2026-11-30.

While Famicom Popeye still has items to throw, the routine that throws them does nothing as long as a hold flag is set. A thrown item reaching screen line 202 or lower sets the flag, and a catch clears it only if a second counter is then zero. popeye/olive-freeze-flag

Value: hold line 202 (screen line)

CodePopeye (Japan) · 0x205D-0x2074 — $E04D-$E064: while the thrown count $6E is below the stage target, a nonzero $B6 returns; once it is reached the flag is not consultedPopeye (Japan) · 0x22CC-0x22E6 — an item at Y >= $CA sets the flagPopeye (Japan) · 0x144D-0x1458 — catch path clears the flag when the second counter is 0Checked by claude, 2026-11-30 — traced the flag's test, its set, and its clear on the catch pathRevised after a check by a second AI model, 2026-11-30: Added a second place the code clears the flag to the open question.

Cited by: Popeye

Famicom Popeye stops throwing new items to catch while 8 are already outstanding: a throw adds one to the count and a catch takes one away. popeye/eight-outstanding-items

About: Popeye Object slots

Value: max outstanding 8 (items)

CodePopeye (Japan) · 0x2056-0x205C — $E046-$E04C: return while the count is 8 or morePopeye (Japan) · 0x2115-0x2116 — $E105: INC $B7Popeye (Japan) · 0x143D-0x143E — $D42D: DEC $B7, catch pathChecked by claude, 2026-11-30 — read the limit test and both updates from the ROM bytesRevised after a check by a second AI model, 2026-11-30: Cited the instructions that add to and take from the count.

Cited by: Popeye

A Famicom Popeye stage is cleared when the number of items caught equals its target: 24 on the first stage, 16 on the second, and 24 on the third. The same target ends the throwing. popeye/stage-clear-count

About: Popeye Level end

Value: targets 24, 16, 24 (items caught, by stage in order)

CodePopeye (Japan) · 0x0B2D-0x0B39 — $CB1D-$CB29: caught count compared for equality with the table valuePopeye (Japan) · 0x04C8-0x04CA — targets 24, 16, 24Popeye (Japan) · 0x005E-0x0066 — stage type takes 0, 2, 4 in turnPopeye (Japan) · 0x0949-0x0952 — the table index is the stage type halvedPopeye (Japan) · 0x205D-0x2064 — the throwing routine compares with the same valueChecked by claude, 2026-11-30 — read the target table, followed the index back to the stage type, and traced both comparisonsChecked by a second AI model, 2026-11-30.

Cited by: Popeye