25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

3.9KB

Land Map 64 - Milestones

Work top to bottom, one task at a time (AGENTS.md section 4). Every task must leave all targets building. Requirement IDs refer to docs/spec.md.

M0 - Starter builds and runs

Goal: Prove the toolchain, emulator configuration and smoke test work before any feature work.

Requirements: R3

Task Description Requirements Buildable outcome Completion check
M0.1 Run tools/check-prereqs.ps1, then tools/smoke.ps1 for every target. R3 Starter artifact(s) built: build/land-map-64.prg tools/smoke.ps1 exits 0 (or every target without automation is verified by hand), and the user confirms the M0 manual test.

Manual verification: see docs/manual-tests.md section M0.

M1 - World generation and static view

Goal: A different 2x2-screen world appears at start-up and on SPACE, shown one screen at a time in multicolour bitmap mode.

Requirements: R1, R4

Task Description Requirements Buildable outcome Completion check
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. R1 Tile table and a test view showing every tile Manual test MT1.1
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. R1 World generated in RAM Manual test MT1.1; smoke test reports MAP READY
M1.3 Render the top-left screen of the world into the visible buffer; SPACE regenerates. R1, R4 PRG showing a generated world; SPACE makes a new one Manual test MT1.2

Manual verification: see docs/manual-tests.md section M1.

M2 - People and double-buffered partial redraw

Goal: 16 light red people move without flicker, blocked by water and stone, with only their spots redrawn.

Requirements: R2, R3

Task Description Requirements Buildable outcome Completion check
M2.1 People table (world x, y, direction) and movement rules; water and stone block. R2 People move in world data Manual test MT2.1
M2.2 Per-buffer saved-byte lists: restore the bytes under people from two frames ago, draw people in view, flip in vertical blank. R3 Flicker-free moving dots, no trails Manual tests MT2.1 and MT2.2

Manual verification: see docs/manual-tests.md section M2.

M3 - Split screen and pixel-smooth scrolling

Goal: A fixed 5-line status area sits below a 20-row map, and the cursor keys scroll the map smoothly across the whole world with people kept in place.

Requirements: R5, R6, R3, R2

Task Description Requirements Buildable outcome Completion check
M3.1 Keyboard matrix reading for the cursor keys with SHIFT, held-key repeat. R5 Scroll direction from keys Manual test MT3.1
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. R6, R1 Steady 20-row map with 5 status lines below Manual test MT3.3
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). R5, R3, R6, R2 Smooth scrolling across the world under a fixed status area, people in place Manual tests MT3.1, MT3.2 and 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. R2, R3, R5, R6 People stay aligned with terrain over long runs; budget measured Manual tests MT3.2, MT3.3 and MT3.4

Manual verification: see docs/manual-tests.md section M3.

Powered by TurnKey Linux.