diff --git a/docs/toolchain.md b/docs/toolchain.md index f98d40b..7e9e691 100644 --- a/docs/toolchain.md +++ b/docs/toolchain.md @@ -54,8 +54,10 @@ Starter configurations marked verified were exercised by the Foundry's automated - Smoke test: `pwsh -File tools/smoke.ps1 -Target c64`. It runs VICE headless for 30000000 cycles, saves memory when the program reaches `smoke_ready`, and checks: - Title in the status mirror - World generation reached its ready point (`MAP READY`) + - Status rows 20, 21, 22 and 24 in buffer A's text screen ($4720) and rows 20 and 24 in buffer B's ($8720) - C64 KERNAL reset vector at $FFFC (machine is in C64 mode) - World check: `pwsh -File tools/check-world.ps1` validates the tile data saved by the smoke test. +- Split check: `pwsh -File tools/check-split.ps1` runs VICE headless for 20,000,000 cycles. It logs the raster line and cycle of the three mode writes at `split_store` (src/status.inc) every frame and requires them to start between line 210 cycle 53 and line 210 cycle 64. That window was measured by building with split delays 6-12 under `+autostart-delay-random`: starts at 210:40-51 damaged the last map line, starts at 211:0-11 damaged the first text line, and 210:50-211:1 were clean; the shipped delay starts at 210:55-61. It also checks that a split happens every frame, that the people-in-view digits match the drawn count, and (coarsely) the screenshot colours at the boundary. Output: `build/check-split/`. - Key check: `pwsh -File tools/check-keys.ps1` runs eight headless VICE scenarios. VICE's monitor cannot press keys, so tracepoints on the `key_row_*` instructions in `src/keys.inc` replace the port B row bits with those of held keys (`r a = `). It checks `scroll_dx`/`scroll_dy` and the border indicator for no key, right, left (right SHIFT), down, up (left SHIFT), down-right and up-left, and that SPACE held from frame 60 regenerates exactly once. Output: `build/check-keys/`. - People check: `pwsh -File tools/check-people.ps1` runs VICE headless (NTSC, warp) for 40,000,000 cycles, logs the people table at the `people_moved` hook every frame through the monitor, and checks that all 16 people stay inside the world, never stand on a water or stone tile, move at most one pixel per step, all move, and start spread over the four screens. It also saves both bitmap buffers before people are drawn and at the last frame, and checks byte for byte that the hidden buffer is the clean map plus the current dots and the visible buffer is the clean map plus the previous frame's dots (no trails, no damaged terrain). It checks that the main loop never misses a frame (x64sc NTSC frame: 263 lines x 65 = 17,095 cycles) and that each people update ends before raster line 51, the first visible line. Output: `build/check-people/`. diff --git a/docs/verification-status.md b/docs/verification-status.md index 0f4172c..c8219ef 100644 --- a/docs/verification-status.md +++ b/docs/verification-status.md @@ -15,12 +15,14 @@ manual = `pending`, `confirmed by user ()`, `problem reported ():