Browse Source

Spec: record A4 as partly met (user accepted occasional one-frame pause)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main
Daniel Covington 2 days ago
parent
commit
ea54f6abca
3 changed files with 4 additions and 2 deletions
  1. +2
    -1
      docs/spec.md
  2. +1
    -0
      docs/verification-status.md
  3. +1
    -1
      project.json

+ 2
- 1
docs/spec.md View File

@@ -6,6 +6,7 @@ Changes approved by the user since then:
- 2026-12-03: NTSC frame budget corrected to 17,095 cycles.
- 2026-12-03: 5-line status area below a 20-row map (R6; R1 and R5 updated; milestone M3 gained the split-screen task).
- 2026-12-03: R3 reworded for scrolling: while a scroll rebuild runs, people are drawn in the shown buffer during vertical blank; drawing people relative to the view moved from M3.4 to M3.3.
- 2026-12-03: A4 status recorded from the M3.4 measurement as partly met; the user accepted the occasional one-frame scroll pause.

## Summary

@@ -164,7 +165,7 @@ Capabilities: raster-interrupts
| A1 | Light red (C64 colour 10) stands in for tan, as the C64 has no tan. | confirmed |
| A2 | The map generator keeps every 4x8 cell to at most two of grey, green, blue and black (besides brown). Where three would meet, for example a road along a shoreline next to grass, it changes the least-represented colour in that cell. | default |
| A3 | Each buffer has its own bitmap and screen RAM in a separate VIC bank (banks 1 and 2), flipped via $DD00 in vertical blank; colour RAM is shared and constant. | unverified |
| A4 | Rebuilding the hidden buffer from tile patterns (about 7,600 bytes) can be spread over 8 frames alongside the people update within the NTSC frame budget, which allows 1 pixel per frame scrolling. | unverified |
| A4 | Rebuilding the hidden buffer from tile patterns (about 7,600 bytes) can be spread over 8 frames alongside the people update within the NTSC frame budget, which allows 1 pixel per frame scrolling. | partly met (measured 2026-12-03 in VICE x64sc NTSC, accepted by the user): most rebuilds take 7-8 frames; about 6% take 9-10 when many people are in view, pausing the scroll for one frame (1.7% of scrolling frames); not noticeable in use |
| A5 | The smoke test cannot read a bitmap. The program writes a status mirror ("LAND MAP 64", "MAP READY") into the unused text screen at $0400 once the first view is shown; the smoke test checks that text, and the VICE screenshot shows the map. | default |
| A6 | The catalog has no bitmap-graphics capability. Multicolour bitmap mode and VIC bank switching are documented in Mapping the Commodore 64 (53265 $D011, 53270 $D016, 53272 $D018, 56576 $DD00); a catalog update is proposed separately. | unverified |
| A7 | Switching from the fine-scrolled multicolour bitmap to fixed text (and back at the top of the frame) with raster interrupts gives a steady split in VICE x64sc NTSC with no bad-line glitches at the boundary, whatever the map's vertical fine-scroll value. | unverified |


+ 1
- 0
docs/verification-status.md View File

@@ -31,6 +31,7 @@ manual = `pending`, `confirmed by user (<date>)`, `problem reported (<date>): <n
- Long runs (R5.3, R3.2): the tour (six laps over the whole world by rows and by columns, 21 stops) found both buffers equal to the world plus the right dots at every stop and at the end; the per-frame checks found no half-built buffer on screen and no stores into the shown map while displayed.
- Timing bar: `pwsh -File tools/run.ps1 -Target c64 -TimingBar` assembles with `--asm-define TIMING_BAR` into build/land-map-64-timing.prg (cl65 -D does not reach ca65; tools/lib.ps1 now passes `asmDefines`). Headless screenshot while scrolling: cyan border through the map and status area, red stripe at the split, brown at the bottom. The normal build has no timing-bar code.
- The knowledge system was not available (Docker/PostgreSQL not running).
- 2026-12-03: the user had not noticed any scroll pauses and chose to leave the rebuild as it is; A4 is recorded as partly met in docs/spec.md and project.json.

- 2026-12-03 (M3.3 fix): The user reported a small tear at the top of the screen when scrolling left or right. Cause: when a scroll started from rest, choose_rebuild_target restarted the rebuild of the hidden buffer in the same frame that people had been drawn into it with a flip pending; the next vertical blank showed that half-rebuilt buffer (top rows already one cell on) for up to 8 frames, until the next cell crossing. It happened for every direction, not only left and right. Fix (src/scroll.inc): no rebuild restart while people_flip_pending is set; the other buffer is rebuilt from the next frame. tools/check-scroll.ps1 now checks in every frame that the shown buffer is complete and built for the view's cell: on the old code it failed in all three scenarios (frames 30-37, ready 0, origin one cell on); it also checks that nothing is stored into the shown buffer's map while the map is displayed (no such store was found, before or after the fix).



+ 1
- 1
project.json View File

@@ -228,7 +228,7 @@
{
"id": "A4",
"text": "Rebuilding the hidden buffer from tile patterns (about 7,600 bytes) can be spread over 8 frames alongside the people update within the NTSC frame budget, which allows 1 pixel per frame scrolling.",
"status": "unverified"
"status": "partly met (measured 2026-12-03 in VICE x64sc NTSC, accepted by the user): most rebuilds take 7-8 frames; about 6% take 9-10 when many people are in view, pausing the scroll for one frame (1.7% of scrolling frames); not noticeable in use"
},
{
"id": "A5",


Loading…
Cancel
Save

Powered by TurnKey Linux.