Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Daniel Covington bc2c42f5fb M2.2: double-buffered people redraw with per-buffer saved bytes 3 dagar sedan
docs M2.2: double-buffered people redraw with per-buffer saved bytes 3 dagar sedan
fixtures Initial handoff from the C64/C128 Dev Foundry 3 dagar sedan
skills/knowledge-management Initial handoff from the C64/C128 Dev Foundry 3 dagar sedan
src M2.2: double-buffered people redraw with per-buffer saved bytes 3 dagar sedan
tools M2.2: double-buffered people redraw with per-buffer saved bytes 3 dagar sedan
.gitattributes Initial handoff from the C64/C128 Dev Foundry 3 dagar sedan
.gitignore Initial handoff from the C64/C128 Dev Foundry 3 dagar sedan
AGENTS.md Initial handoff from the C64/C128 Dev Foundry 3 dagar sedan
CLAUDE.md Initial handoff from the C64/C128 Dev Foundry 3 dagar sedan
README.md Initial handoff from the C64/C128 Dev Foundry 3 dagar sedan
project.json M2.1: people table and movement blocked by water and stone 3 dagar sedan

README.md

Land Map 64

A C64 program written in 6502 assembly that procedurally generates a 2x2-screen landscape world (brown land, grey stone, green grass and trees, black roads, blue water) shown as a multicolour bitmap. The cursor keys scroll the view smoothly across the world. 16 people, drawn as light red dots, wander the world but are blocked by water and stone. Two bitmap buffers are flipped each update, and only the spots where people move are redrawn.

  • Targets: c64 (details in docs/spec.md)
  • Language/toolchain: 6502 assembly (ca65) - Windows cross-development with cc65 (C, ca65 assembly or mixed) and VICE (docs/toolchain.md)
  • Status: starter only (milestone M0). Next milestone: M1 - World generation and static view.

First run

All commands run from this folder in PowerShell 7 (pwsh). Paths with spaces are fine.

1. Check prerequisites

pwsh -File tools/check-prereqs.ps1

You need cl65, x64sc, PowerShell 7, git. For any missing tool the script prints the first command to run. If a tool is installed somewhere unusual, set VICE_HOME or CC65_HOME to its folder.

2. Build

pwsh -File tools/build.ps1

Outputs go to build/. Per-target artifacts and commands: docs/toolchain.md.

3. Automated smoke test

pwsh -File tools/smoke.ps1

Expected output: one [PASS] <target> line per target, with the checks listed under it, and exit code 0. VICE runs minimized for a few seconds per target with its own temporary settings; your VICE configuration is not touched. Screenshots are saved to build/smoke/<target>/.

4. Run it yourself

pwsh -File tools/run.ps1 -Target c64

Expected screen: A multicolour bitmap test screen: brown background with vertical bands of grey, green, blue and black, and a row of light red dots. Every second the buffers flip; buffer B shows the bands shifted by one cell, so the picture visibly alternates, proving both buffers and the flip work. Status mirror in the hidden text screen: row 0 “LAND MAP 64”, row 2 “STARTER OK”.

Start the implementation agent

Open a fresh coding-agent session in this folder and send:

Read AGENTS.md and follow it. Build and verify the starter (milestone M0) first, then implement the next milestone one task at a time, reporting after each task what changed, which checks ran, and exactly how I should verify it.

The agent's instructions are in AGENTS.md. It reports after every task, with exact steps for you to verify by hand, and treats your verification as pending until you confirm.

Layout

Path Contents
AGENTS.md Implementation instructions for the coding agent
docs/spec.md Approved requirements and acceptance criteria
docs/toolchain.md Language decision, tools, commands, verification status
docs/milestones.md Ordered tasks with completion checks
docs/manual-tests.md Manual test steps and expected results per milestone and target
docs/verification-status.md What has been verified, and what is pending
project.json Approved structured brief and resolved build configuration
src/ Program source
fixtures/ Sample inputs (stored byte-for-byte)
tools/ Build, run, smoke-test and prerequisite scripts
build/ Generated outputs (not committed)

Generated by the C64/C128 Dev Foundry on 2026-12-03 from a spec approved by Daniel Covington on 2026-12-03.

Powered by TurnKey Linux.