選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

8.7KB

Land Map 64 - Verification status

The implementation agent updates this file after every task (AGENTS.md section 4). Manual verification stays pending until the user confirms it. Only the user can confirm.

Values: automated = passed (<date>, <command>), failed (...), not run - <reason>; manual = pending, confirmed by user (<date>), problem reported (<date>): <note>.

Item Automated check Manual verification by user
M0.1 Run tools/check-prereqs.ps1, then tools/smoke.ps1 for every target. passed (2026-12-03, pwsh -File tools/check-prereqs.ps1; pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1) confirmed by user (2026-12-03)
M1.1 Tile set: 8-byte multicolour patterns for land, grass, trees, stone, water and roads, including edge and corner patterns, with per-tile screen-RAM colour pairs. passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1) confirmed by user (2026-12-03)
M1.2 Seeded generator: 80x50 tile world with water, stone, grass with trees, and connected roads; enforce the at-most-two-colours-per-cell rule. passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1) confirmed by user (2026-12-03)
M1.3 Render the top-left screen of the world into the visible buffer; SPACE regenerates. passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1; VICE monitor buffered SPACE and compared all 1,000 visible cells before and after) confirmed by user (2026-12-03)
M2.1 People table (world x, y, direction) and movement rules; water and stone block. passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1; pwsh -File tools/check-people.ps1: 2,106 frames logged, every person stepped 263-264 times, none on water or stone) confirmed by user (2026-12-03)
M2.2 Per-buffer saved-byte lists: restore the bytes under people from two frames ago, draw people in view, flip in vertical blank. passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1; pwsh -File tools/check-people.ps1: 2,117 frames, 0 missed flips, update done by raster line 26 at the latest, both final bitmaps byte-exact against clean map plus dots) confirmed by user (2026-12-03)
M3.1 Keyboard matrix reading for the cursor keys with SHIFT, held-key repeat. passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1; pwsh -File tools/check-people.ps1; pwsh -File tools/check-keys.ps1: 8 of 8 scenarios, SPACE held = 1 regeneration) confirmed by user (2026-12-03)
M3.2 Split screen: raster interrupts switch to text below a 20-row map and back at the top of the frame; status text screen and ROM font copy in both banks; status lines with the people-in-view count. passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1 incl. status text in both banks; pwsh -File tools/check-world.ps1; pwsh -File tools/check-people.ps1; pwsh -File tools/check-keys.ps1; pwsh -File tools/check-split.ps1: 955 splits in 955 frames, writes start at 210:55-61, digits right in every frame) confirmed by user (2026-12-03)
M3.3 Fine scroll via $D016/$D011 in the 38-column, 20-row map area; rebuild the hidden buffer from tiles over 8 frames and flip on wrap; stop at world edges; show the view position in the status area; draw people relative to the view (in the shown buffer during vertical blank while a rebuild runs). passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1; pwsh -File tools/check-people.ps1: 2,127 frames, 0 missed, update done by line 36; pwsh -File tools/check-keys.ps1: 8 of 8; pwsh -File tools/check-split.ps1: 964 splits in 964 frames, all y-scroll values 0-7, starts 210:55-64, digits right after 240 of 240 status updates; pwsh -File tools/check-scroll.ps1: 3 of 3 scenarios, edges reached and held, 1-5 stall frames per scenario, both buffers byte-exact at the end) pending (MT3.1, MT3.2, MT3.3)
M3.4 Check that people stay aligned with the terrain over long scrolling runs; measure the frame budget with a border-colour timing bar. not run pending

Notes

  • 2026-12-03 (M3.3, resumed and finished): tools/check-scroll.ps1 now drives each scenario as phases (phase byte at $CFF0, VICE conditional checkpoints on people_moved; frame counts with “ignore” did not work). VICE 3.10 needs parentheses around each comparison joined with && (without them the condition never fired), and runs checkpoints at one address in definition order in the same hit, so phase changes are defined latest first. A rejected checkpoint shifts the numbers of the later ones, so both new checks fail on any monitor “ERROR”. The check found a mistake in itself, not in the program: while the view is still, people are drawn into the hidden buffer and shown at the next flip, so the shown buffer holds the previous frame's dots; the final comparison now checks both buffers byte for byte (dots included).

    • Stalls (a held key that did not move the view): 5 in the edges run (1,546 frames), 1 in middle, 3 in reverse. A4 (rebuild over 8 frames within the frame budget, 1 pixel per frame) holds in VICE for these runs; the frame budget itself is measured in M3.4.
    • A7 under vertical fine scroll: tools/check-split.ps1 now scrolls down three cells and back, so every map y-scroll value is split. All starts are inside the measured window 210:53-64. At y-scroll 2 (line 210 is a bad line, shorter delay) starts were 210:58-64, so the margin to the window's end is 0-6 cycles there. The window was measured at y-scroll 3 only; the user's MT3.3 boundary check while scrolling up and down is the confirmation.
    • The digits check in tools/check-split.ps1 was changed: since M3.3 the status updates every 4th frame and people may be drawn into the shown buffer, so “digits = hidden buffer's drawn count” no longer applies. It now compares the digits after each update with the script's own count of dots at least partly inside the visible window.
    • tools/check-keys.ps1 no longer checks the M3.1 border indicator (removed in M3.3). docs/manual-tests.md MT3.1 and MT3.3 and docs/toolchain.md updated.
    • The knowledge system was not available (Docker/PostgreSQL not running), so nothing was recorded there.
  • 2026-12-03: Spec change approved by the user: R3 reworded for scrolling (people drawn in the shown buffer during vertical blank while a scroll rebuild runs), and drawing people relative to the view moved from M3.4 to M3.3. Acceptance criteria unchanged.

  • 2026-12-03 (M3.2): A7 partly checked in VICE: with the map at y-scroll 3, the split's mode writes land in the measured border window every frame (tools/check-split.ps1). Under vertical fine scroll it is not checked yet (M3.3). Fixed while doing M3.2: the temporary M3.1 border indicator wrote $D020 every frame, which showed a single light grey pixel in the bottom border (consistent with the VIC-II grey-dot effect of a colour-register write mid-line); it now writes only when the colour changes, and the pixel is gone from the smoke and split-check screenshots. tools/check-people.ps1 now compares only the 20 map rows of each bitmap.

  • 2026-12-03: Spec change approved by the user: 5-line status area below a 20-row map (new R6, R1 and R5 updated, assumption A7 added). Old M3.2 is now M3.3 and old M3.3 is now M3.4; the new M3.2 is the split screen. M0-M3.1 results are unaffected.

  • 2026-12-03 (M2.2): VICE x64sc NTSC runs 263 lines x 65 cycles = 17,095 cycles per frame (measured with tools/check-people.ps1). The spec's budget said 17,030 (the 262-line 6567R56A figure). The difference does not affect any acceptance criterion. With the user's approval (2026-12-03), docs/spec.md and project.json now say 17,095.

  • 2026-12-03 (M3.1): The KERNAL timer interrupt is now switched off at start-up (keys are read from the matrix directly). RUN/STOP alone no longer breaks out (nothing scans for it); use a VICE reset to leave. RUN/STOP + RESTORE has not been tested. Fixed a parsing bug in tools/check-people.ps1: it could read the monitor's ASCII column as extra bytes when people's coordinates were printable characters. The bug could only cause false failures, so the earlier M2 passes stand.

  • 2026-12-03 (M2.2): A3 checked in VICE only: flipping the two buffers with the $DD00 bank bits in vertical blank shows the same map in both banks and passes the byte-exact buffer check. The user's MT2.2 visual check is still pending.

  • Generated 2026-12-03. Starter verification at generation time is reported by the Foundry; re-run pwsh -File tools/smoke.ps1 on your machine and record the result in row M0.1.

Powered by TurnKey Linux.