Преглед на файлове

Record user confirmation of MT2.3 and MT1.3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main
Daniel Covington преди 1 седмица
родител
ревизия
a90244ff9f
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. +2
    -1
      docs/verification-status.md

+ 2
- 1
docs/verification-status.md Целия файл

@@ -15,7 +15,7 @@ manual = `pending`, `confirmed by user (<date>)`, `problem reported (<date>): <n
| M1.4 Keyboard cursor (cursor keys and W/A/S/D) with edge scrolling and map-border clamping. Status line: 'STONE 000 SEED nnnnn RUN'. | passed (2026-11-26): `pwsh -File tools/build.ps1` exit 0, no warnings; `pwsh -File tools/smoke.ps1 -Video pal` and `-Video ntsc` exit 0, [PASS] c64 7/7 each (adds 'RUN' on row 24). Scripted VICE runs that hold one cursor key (a key put into the KERNAL buffer every frame) reached every edge on PAL: view (88,y)/cursor x=127 right, (0,y)/x=0 left, (x,105)/y=127 down, (x,0)/y=0 up; right and down repeated on NTSC. Worst frame while scrolling: 19,581 cycles PAL (frame 19,656), 19,354 NTSC (frame 17,095): a scroll frame on NTSC runs one frame over, see Notes. | confirmed by user (2026-11-26) |
| M2.1 Mark/unmark with RETURN on rock tiles only; marked-rock glyph. Joystick port 2 cursor movement with key repeat and fire to mark. | passed (2026-11-26): `pwsh -File tools/build.ps1` exit 0, no warnings; `pwsh -File tools/smoke.ps1 -Video pal` and `-Video ntsc` exit 0, [PASS] c64 8/8 each (adds joy_ok = 01). Scripted VICE runs (FIXED_SEED=4242, keys put into the KERNAL buffer) compared with an untouched run: RETURN on the floor start tile changed nothing (R4.2); 6x down + RETURN turned soft rock (62,67) $99 into marked $97 and changed nothing else (R4.1); RETURN twice left the map byte-identical (R4.1). With no joystick input there were no phantom moves or marks. Joystick movement and fire cannot be scripted: manual only (MT2.1). | confirmed by user (2026-11-26) |
| M2.2 1351 mouse via the game's own POT reader in assembly (src/mouse1351.s; changed from cc65 c64_1351_mou with user approval on 2026-11-26 because that driver read garbage POT values in VICE 3.10): sprite 0 pointer, dig cursor = tile under the pointer tip, left button marks/unmarks, pointer at a view edge scrolls. Verify A1/A2 and record the exact VICE options in docs/. | passed (2026-11-26): `pwsh -File tools/build.ps1` exit 0, no warnings; `pwsh -File tools/smoke.ps1 -Video pal` and `-Video ntsc` exit 0, [PASS] c64 9/9 each (adds sprite 0 on, $D015 = 01). Scripted VICE runs (`-controlport1device 3`, no host mouse): with no input the pointer stayed at (162,98) on the cursor tile at 9M, 13M and 17M cycles; after keyboard moves the pointer was on the cursor tile (23,14); with the pointer placed on the rightmost column the view scrolled to x = 88 and the cursor reached tile x = 127 (R5.4). Real mouse movement, buttons and keyboard blinding cannot be scripted: manual only (MT2.2). Worst frame while scrolling is now 21,853 PAL / 21,961 NTSC cycles (over one frame on both), see Notes. | confirmed by user (2026-11-26) |
| M2.3 Scrolling without tearing: draw_view writes the view row by row behind the raster beam, so no row is shown half old, half new; trim the per-frame work so a frame with a scroll fits in one PAL frame, and measure NTSC. View still moves in whole tiles (R3 unchanged). Added at the user's request on 2026-11-26. | passed (2026-11-26): `pwsh -File tools/build.ps1` exit 0, no warnings (VIEW_TIMING build also clean); `pwsh -File tools/smoke.ps1 -Video pal` and `-Video ntsc` exit 0, [PASS] c64 9/9 each. Instrumented VICE runs with a key held: in every scroll frame the top half ended at most 7,844 cycles after line 156 (beam reaches the top rows at 13,545 PAL / 10,790 NTSC), the bottom half started at least 8,123 cycles after (beam leaves row 22 at 5,481 / 5,655) and ended at most 16,305 (beam returns to row 12 at 19,593 / 17,030): no tear on PAL or NTSC. Realistic scrolling (mouse resting on an edge, one scroll every 4 frames): worst frame 18,802 of 19,656 cycles on PAL (fits), 18,781 of 17,095 on NTSC (over by about 1,700, so a scroll step there takes two frames). Regression runs: hold-key scrolling reached all four edges; RETURN marking unchanged. | pending |
| M2.3 Scrolling without tearing: draw_view writes the view row by row behind the raster beam, so no row is shown half old, half new; trim the per-frame work so a frame with a scroll fits in one PAL frame, and measure NTSC. View still moves in whole tiles (R3 unchanged). Added at the user's request on 2026-11-26. | passed (2026-11-26): `pwsh -File tools/build.ps1` exit 0, no warnings (VIEW_TIMING build also clean); `pwsh -File tools/smoke.ps1 -Video pal` and `-Video ntsc` exit 0, [PASS] c64 9/9 each. Instrumented VICE runs with a key held: in every scroll frame the top half ended at most 7,844 cycles after line 156 (beam reaches the top rows at 13,545 PAL / 10,790 NTSC), the bottom half started at least 8,123 cycles after (beam leaves row 22 at 5,481 / 5,655) and ended at most 16,305 (beam returns to row 12 at 19,593 / 17,030): no tear on PAL or NTSC. Realistic scrolling (mouse resting on an edge, one scroll every 4 frames): worst frame 18,802 of 19,656 cycles on PAL (fits), 18,781 of 17,095 on NTSC (over by about 1,700, so a scroll step there takes two frames). Regression runs: hold-key scrolling reached all four edges; RETURN marking unchanged. | confirmed by user (2026-11-26) |
| M3.1 Dwarf job system: idle dwarves claim the nearest reachable marked tile via a windowed breadth-first search (one search per frame at most), walk there, mine for a time that depends on the rock type, turn it into floor. | not run | pending |
| M3.2 Stone counter increments per mined tile; SPACE pauses and resumes; marking still works while paused. | not run | pending |
| M3.3 Frame-based timers scaled for PAL and NTSC using get_tv(). | not run | pending |
@@ -31,4 +31,5 @@ manual = `pending`, `confirmed by user (<date>)`, `problem reported (<date>): <n
- 2026-11-26, M2.2 / assumption A1 FAILED in VICE 3.10: with the cc65 c64-1351 driver installed (static, mouse_def_callbacks), the pointer random-walks with no mouse input. Reproduced with a minimal cc65 program (mouse_install + mouse_show only): 228 different positions in 237 frames. A monitor trace after the driver's `lda $D419` in its IRQ showed garbage values (255 in 51 of 175 reads, the rest scattered), which its delta maths turns into jumps. A prototype that selects port 1 ($DC00 = $7F) and waits 10 raster lines with IRQs off before reading POTX/POTY read only 64/65, and the pointer did not move. The user chose the game's own reader (src/mouse1351.s), implemented in M2.2.
- 2026-11-26, M2.2: the mouse read (about 800 cycles with IRQs off) and the mouse handling push the worst scroll frame to about 21,900 cycles, over one frame on PAL and NTSC. The next frame is skipped after a scroll, with no wrong drawing. Addressed by M2.3.
- 2026-11-26, M2.3: the redraw (about 15,000 cycles) plus the KERNAL IRQ it holds off (about 1,500) leave less than 1,000 cycles of an NTSC frame (17,095) for everything else, so on NTSC a frame with a scroll still takes two frames. Drawing stays tear-free. Making NTSC fit would need a cheaper keyboard scan than the KERNAL's, or pixel scrolling (M5), which redraws less often. M3 must keep its per-frame work small: on PAL a scroll frame has about 850 cycles to spare.
- 2026-11-26: the user re-checked MT1.3 (timing bar after the M2.3 change) and confirmed it together with MT2.3.
- Generated 2026-11-26. 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.

Loading…
Отказ
Запис

Powered by TurnKey Linux.