Claim set · data/claims/track-field.yaml

Track & Field (NES ROM)

Game: Track & Field.

In a played game, not the demo, of the NES Track & Field 100 meter dash, when only the first runner belongs to a player, the computer's second runner has a timer that the game reloads with 14 each time a race update finds it at zero, so once every 15 updates (computed). On that update the runner gets one push of speed only if the high byte of its two-byte speed is below 3. track-field/cpu-press-timer

About: Track & Field Enemy AI

Value: reload 14 · updates per reload 15 · speed gate 3 (race updates; speed high byte)

CodeTrack & Field (USA) · 0x02C3-0x02E0 — $82B3-$82D0: Start on the event list sets $0770 to 2 when bit 2 of the choice $0771 is set, else 0, and $5E to the low two bits of the choiceTrack & Field (USA) · 0x0296-0x029E — $8286-$828E: the list draws text entry $4E plus the choiceTrack & Field (USA) · 0x2494-0x24A9 — $A484-$A499: a text entry is a pointer in the table at $A4F2, two bytes eachTrack & Field (USA) · 0x259E-0x262F — $A58E-$A61F: entries $4E-$55 point to the eight event names, the first of them 100 METER DASH (letters from `$DA`, digits from `$D0`)Track & Field (USA) · 0x28A9-0x28B5 — $A899-$A8A5: with $0770 at 0, events 0 and 2 dispatch to $A9EETrack & Field (USA) · 0x29FE-0x2A24 — $A9EE-$AA14: a jump table on $01; its entry 15 is $ACD1Track & Field (USA) · 0x2CE1-0x2D1F — $ACD1-$AD0F: the race update; lane offset $76 = 0 calls $AF8D while the first runner's finish flag is clearTrack & Field (USA) · 0x2DAF-0x2DBC — $AD9F-$ADAC: then lane offset $10, calling $AF8D while the second runner has not finishedTrack & Field (USA) · 0x2F9D-0x2FC0 — $AF8D-$AFB0: for events other than 2, the lane's bit (1 or 2) is tested against the mask $0A; a lane in the mask reads its controller, a lane outside it goes to $AFAD, which reloads when the timer $98,X is zero and otherwise decrements itTrack & Field (USA) · 0x2F90-0x2F9C — $AF80-$AF8C: returns bit 1 for lane offset 0, bit 2 otherwiseTrack & Field (USA) · 0x2FF2-0x3008 — $AFE2-$AFF8: for a nonzero lane offset the reload is 11 (`$0B`) when $09 is nonzero and 14 (`$0E`) when it is zero; one push only if $95,X is below 3Track & Field (USA) · 0x2FBA-0x2FBC — $AFAA-$AFAC: the pushTrack & Field (USA) · 0x2422-0x2449 — $A412-$A439: a push adds a table value to the two-byte speed at $94,X/$95,XTrack & Field (USA) · 0x1445-0x1479 — $9435-$9469: a player's game clears $09 and sets the mask $0A to 1 or 7Track & Field (USA) · 0x1424-0x1444 — $9414-$9434: the demo's setup increments $09 where a played game leaves it zeroChecked by claude, 2026-11-30 — disassembled the event choice, the race update, and the computer runner from the ROM matching the source's SHA-1; the only direct writes found to $09 are in the demo setup at $9423 and the game setup at $9448Checked by a second AI model, 2026-11-30.

Cited by: Track & Field

In the NES Track & Field 100 meter dash, when only the first runner belongs to a player, the computer's second runner gets two pushes of speed in one race update between its timer reloads when all of this holds. Its distance is below 48, or is 256 or more with a low byte of 200 or higher (computed), and the high byte of its speed is below 5. And, comparing distances adjusted by each runner's screen position, the first runner is in a higher 256-unit block, or is in the same block and 8 or more ahead or 1 to 8 behind (computed). track-field/cpu-catch-up

About: Track & Field Rubber-band AI

Value: pushes 2 · speed gate 5 · lead at least 8 · trail at most 8 (pushes; speed high byte; distance units)

CodeTrack & Field (USA) · 0x2F9D-0x2FC0 — $AF8D-$AFB0: a lane outside the player mask $0A goes to $AFAD; a nonzero timer $98,X is decremented and falls into the distance testTrack & Field (USA) · 0x2FC3-0x2FED — $AFB3-$AFDD: continue only if the distance $9D,X/$9E,X is below `$30` with a zero high byte, or its low byte is at least `$C8` with a nonzero one; call $AF55; on the second lane, carry set and $95,X below 5 push twiceTrack & Field (USA) · 0x2F65-0x2F7F — $AF55-$AF6F: compare first minus second, $9A/$9B against $AA/$AB. Different high bytes: carry set when the first is higher. Equal: carry set for a difference of 8 or more, or from -8 (`$F8`) to -1Track & Field (USA) · 0x2F00-0x2F29 — $AEF0-$AF19: for each lane, $9A/$9B = distance plus the sprite position $0404,X (with the fraction carry) minus `$5A`Track & Field (USA) · 0x2422-0x2449 — $A412-$A439: a push adds a table value to the two-byte speed at $94,X/$95,XTrack & Field (USA) · 0x2DAF-0x2DBC — $AD9F-$ADAC: the race update runs $AEF0, then $AF8D for the second lane (offset $10)Track & Field (USA) · 0x02C3-0x02E0 — $82B3-$82D0: Start on the event list sets $0770 to 2 when bit 2 of the choice $0771 is set, else 0, and $5E to the low two bits of the choiceTrack & Field (USA) · 0x0296-0x029E — $8286-$828E: the list draws text entry $4E plus the choiceTrack & Field (USA) · 0x2494-0x24A9 — $A484-$A499: a text entry is a pointer in the table at $A4F2, two bytes eachTrack & Field (USA) · 0x259E-0x262F — $A58E-$A61F: entries $4E-$55 point to the eight event names, the first of them 100 METER DASH (letters from `$DA`, digits from `$D0`)Track & Field (USA) · 0x28A9-0x28B5 — $A899-$A8A5: with $0770 at 0, events 0 and 2 dispatch to $A9EETrack & Field (USA) · 0x29FE-0x2A24 — $A9EE-$AA14: a jump table on $01; its entry 15 is $ACD1Track & Field (USA) · 0x2CE1-0x2D1F — $ACD1-$AD0F: the race update; lane offset $76 = 0 calls $AF8D while the first runner's finish flag is clearTrack & Field (USA) · 0x2F90-0x2F9C — $AF80-$AF8C: returns bit 1 for lane offset 0, bit 2 otherwiseChecked by claude, 2026-11-30 — disassembled the distance test, the comparison, and the position setup from the ROM matching the source's SHA-1 and worked the carry through each caseChecked by a second AI model, 2026-11-30.

Cited by: Track & Field

In NES Track & Field's Skeet Shooting, Triple Jump, Archery, and High Jump, the attempt number starts at 0 for each event and rises each time the turn passes back round the active players. When a player finishes a turn at attempt 2, the third, the game runs its end-of-event check for that player instead of moving on to another attempt. track-field/three-attempts

Value: attempts 3 · last index 2 (attempts; zero-based attempt number)

CodeTrack & Field (USA) · 0x02C3-0x02E0 — $82B3-$82D0: Start on the event list sets $0770 to 2 when bit 2 of the choice $0771 is set, else 0, and $5E to the low two bits of the choiceTrack & Field (USA) · 0x0296-0x029E — $8286-$828E: the list draws text entry $4E plus the choiceTrack & Field (USA) · 0x2494-0x24A9 — $A484-$A499: a text entry is a pointer in the table at $A4F2, two bytes eachTrack & Field (USA) · 0x259E-0x262F — $A58E-$A61F: entries $52-$55 point to SKEET SHOOTING, TRIPLE JUMP, ARCHERY, HIGH JUMPTrack & Field (USA) · 0x0088-0x009A — $8078-$808A: with $0770 at 2 the frame interrupt takes the path at $C34ETrack & Field (USA) · 0x5A78-0x5AC2 — $DA68-$DAB2: the sub-state $5C picks a routine: four events by $5E when bit 7 is set, a shared table when the high nibble is otherwise nonzero (entry 6 is $DCB9), and a setup table when it is zeroTrack & Field (USA) · 0x5AC4-0x5ADE — $DAB4-$DACE: event setup clears from $60 and picks the first playerTrack & Field (USA) · 0x4612-0x462B — $C602-$C61B: that clear covers $60-$DB, including the attempt number $65Track & Field (USA) · 0x70B1-0x70B5 — $F0A1-$F0A5: a Skeet Shooting turn ends by entering the shared table at `$40`Track & Field (USA) · 0x6612-0x6618 — $E602-$E608: so do the jumpsTrack & Field (USA) · 0x74EE-0x74FD — $F4DE-$F4ED: so does ArcheryTrack & Field (USA) · 0x5CC9-0x5CDC — $DCB9-$DCCC: unless $65 is 2, call $DD50 for the next player, increment $65 if it returns carry set, and go back to sub-state 1Track & Field (USA) · 0x5D60-0x5D76 — $DD50-$DD66: the next player from the mask $0A; carry set when the turn wrapsTrack & Field (USA) · 0x5CDD-0x5D07 — $DCCD-$DD07: at 2, a player whose result byte $66,X is 2 or more stays in the mask, otherwise the player's bit is removedTrack & Field (USA) · 0x5D18-0x5D34 — $DD08-$DD24: then the next player takes a turn, or the event ends when the turn wraps (the game ends if the mask is empty)Track & Field (USA) · 0x43A3-0x43B7 — $C393-$C3A7: on that path, a jump table on the main state $00; entry 5 is $D99F (entry 4 is $C3E1)Track & Field (USA) · 0x59E7-0x59FA — $D9D7-$D9EA: with a nonzero state and $59 zero, call $DA75Track & Field (USA) · 0x626F-0x629C — $E25F-$E28C: the Triple Jump routine table; its seventeenth entry is $E602Track & Field (USA) · 0x633D-0x635E — $E32D-$E34E: a High Jump miss is recorded and continues at sub-state `$8D`Track & Field (USA) · 0x66A1-0x66A7 — $E691-$E697: High Jump sub-states from `$8D` use the Triple Jump tableTrack & Field (USA) · 0x6926-0x695F — $E916-$E94F: a High Jump clearance goes to $E602 (through $E950), or on the third attempt with no miss to sub-state `$91`Track & Field (USA) · 0x6960-0x6962 — $E950: the jump to $E602Track & Field (USA) · 0x62E9-0x62F0 — $E2D9-$E2E0: the sub-states from `$91` run on through the table to this routine, which also jumps to $E602Checked by claude, 2026-11-30 — disassembled the shared turn sequence and each of the four events' exits into it from the ROM matching the source's SHA-1Revised after a check by a second AI model, 2026-11-30: Corrected a jump table entry number in the evidence.

Cited by: Track & Field

NES Track & Field's Skeet Shooting has a timed phase in each turn. Each pass takes 1 from a two-byte count that starts at 1500; if the count is still not zero, a fraction byte then loses 102 when the frame counter is even or 103 when it is odd, and a borrow takes a second 1: about 1.4 a pass on average (computed). If the first of those subtractions empties the count, the game clears the fraction instead. track-field/skeet-countdown

Value: start 1500 · even step 102 · odd step 103 · average per pass 1.4 (count; 1/256 of a count)

CodeTrack & Field (USA) · 0x0296-0x029E — $8286-$828E: the event list draws text entry $4E plus the choice $0771Track & Field (USA) · 0x02C3-0x02E0 — $82B3-$82D0: choice 4 gives $0770 = 2 and event $5E = 0Track & Field (USA) · 0x2494-0x24A9 — $A484-$A499: a text entry is a pointer in the table at $A4F2, two bytes eachTrack & Field (USA) · 0x259E-0x262F — $A58E-$A61F: entry $52 points to SKEET SHOOTINGTrack & Field (USA) · 0x5A78-0x5A84 — $DA68-$DA74: event 0 of this half dispatches to $E953Track & Field (USA) · 0x6963-0x6973 — $E953-$E963: the skeet table; entry 0 is $E964, entry 4 is $E9C0Track & Field (USA) · 0x6974-0x697B — $E964-$E96B: the two-byte count $8E/$8F = `$05DC`Track & Field (USA) · 0x69D0-0x6A12 — $E9C0-$EA02: after the other updates, if the count and fraction are not all zero, take 1; if the count is then nonzero, subtract `$66` or `$67` (chosen by bit 0 of $02) from the fraction $8D and take 1 more on borrowTrack & Field (USA) · 0x6A13-0x6A14 — $EA03-$EA04: the zero case stores zero in the fractionTrack & Field (USA) · 0x6A47-0x6A4D — $EA37-$EA3D: subtract 1 from the two bytes at $8ETrack & Field (USA) · 0x45F6-0x4601 — $C5E6-$C5F1: the two-byte subtractionTrack & Field (USA) · 0x43A3-0x43A4 — $C393: the frame counter $02 is incremented on the interrupt path before the state dispatchTrack & Field (USA) · 0x0088-0x009A — $8078-$808A: with $0770 at 2 the frame interrupt takes the path at $C34ETrack & Field (USA) · 0x43A3-0x43B7 — $C393-$C3A7: on that path, a jump table on the main state $00; entry 5 is $D99F (entry 4 is $C3E1)Track & Field (USA) · 0x59E7-0x59FA — $D9D7-$D9EA: with a nonzero state and $59 zero, call $DA75Track & Field (USA) · 0x5A85-0x5A91 — $DA75-$DA81: a sub-state with bit 7 set goes to the dispatch by event at $DA68Checked by claude, 2026-11-30 — disassembled the skeet dispatch, the count's setup, and the countdown from the ROM matching the source's SHA-1Revised after a check by a second AI model, 2026-11-30: Corrected a jump table entry number in the evidence.

Cited by: Track & Field