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.
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.
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.
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.
Goal: The cursor keys scroll the view smoothly across the whole world with people kept in place.
Requirements: R5, 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 | Fine scroll via $D016/$D011 in 38x24 mode; rebuild the hidden buffer from tiles over 8 frames and flip on wrap; stop at world edges. | R5, R3 | Smooth scrolling across the world | Manual tests MT3.1 and MT3.2 |
| M3.3 | Draw people relative to the view; measure the frame budget with a border-colour timing bar. | R2, R3, R5 | People stay aligned with terrain while scrolling; budget measured | Manual test MT3.2 |
Manual verification: see docs/manual-tests.md section M3.
Powered by TurnKey Linux.