Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Daniel Covington 9b260a8154 M5.1, M5.2: record manual confirmation pirms 2 dienas
docs M5.1, M5.2: record manual confirmation pirms 2 dienas
fixtures Initial handoff from the C64/C128 Dev Foundry pirms 3 dienas
skills/knowledge-management Initial handoff from the C64/C128 Dev Foundry pirms 3 dienas
src M5.2: worn paths from walk counts pirms 2 dienas
tools M5.2: worn paths from walk counts pirms 2 dienas
.gitattributes Initial handoff from the C64/C128 Dev Foundry pirms 3 dienas
.gitignore Initial handoff from the C64/C128 Dev Foundry pirms 3 dienas
AGENTS.md Initial handoff from the C64/C128 Dev Foundry pirms 3 dienas
CLAUDE.md Initial handoff from the C64/C128 Dev Foundry pirms 3 dienas
README.md M5.1: remove road generation; spec change for worn paths (M5) pirms 2 dienas
project.json M5.2: worn paths from walk counts pirms 2 dienas

README.md

Land Map 64

A C64 program written in 6502 assembly that procedurally generates a 2x2-screen landscape world (light brown land, grey stone, green grass and trees, blue water) shown as a multicolour bitmap. The cursor keys scroll the view smoothly across the world. 16 people, drawn as white dots, wander the world but are blocked by water and stone. Where they walk often they wear dark brown paths into the land, which fade again when they are no longer used. 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: light brown background with vertical bands of grey, green, blue and black, and a row of white 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.