Land Map 64 - Manual tests
Exact setup, actions and expected observations for each milestone and target. The agent asks
you to run the relevant section after each task; record results in docs/verification-status.md.
General setup for every test: run commands from the repository folder in PowerShell 7. VICE
keyboard mapping: letters, digits and Return map directly; RUN/STOP is Esc, RESTORE is
Page Up and the Commodore key is Left Ctrl. Reset from the VICE menu (Machine > Reset). To use a
joystick, assign a PC joystick or keyset to the port in VICE (Preferences > Settings > Input
devices > Joystick) before the test.
M0 - Starter builds and runs
MT0-c64: starter on c64 (Commodore 64, vicii-40)
Setup: prerequisites installed (pwsh -File tools/check-prereqs.ps1 reports no missing tools).
Steps:
- Run
pwsh -File tools/smoke.ps1 -Target c64 and note the result.
- Run
pwsh -File tools/run.ps1 -Target c64 (VICE starts and autostarts build/land-map-64.prg).
Expected:
- tools/smoke.ps1 prints
[PASS] c64; screenshot in build/smoke/c64/.
- 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”.
M1 - World generation and static view
MT1.1: Terrain tiles and generated world (c64)
Setup: VICE x64sc, NTSC (-ntsc), warp off.
Start: pwsh -File tools/run.ps1 -Target c64
At M1.1, wait for the static test view and inspect any of the four matching panels.
Each panel shows brown land, green grass and trees, grey stone, and a blue pool
with shoreline edges and corners. The black roads meet at crossings and bend
around a small loop on the right. Check that roads join without gaps and that
the terrain shows only its intended colours.
At M1.2, run pwsh -File tools/smoke.ps1 -Target c64 and then
pwsh -File tools/check-world.ps1 -ShowMap. Expect MAP READY in the smoke
output and an 80×50 grid in the terminal. Look for water (~), stone (#),
grass (g), trees (T), land (.), and four road intersections (+).
The VICE window still shows the static tile test view for this task.
Starting at M1.3, when the generated world is displayed:
Steps:
- Wait for the map view.
- Inspect the screen.
Expected:
- Brown land, grey stone, green grass and trees, blue water and black roads are visible (some may be off-screen until M3)
- Roads are continuous
- No colour clash in any cell
Verifies: R1
MT1.2: New world on SPACE (c64)
Setup: VICE x64sc, NTSC (-ntsc), warp off.
Start: pwsh -File tools/run.ps1 -Target c64
Steps:
- Watch for the generating message, then note the map shown within 15 seconds.
- Tap SPACE, wait for the new map, then tap SPACE again.
- Hold SPACE for about two seconds and release it.
Expected:
- Look for brown land, green grass and trees, grey stone, blue water, and black roads with no gaps at crossings or stray colours.
- A visibly different map appears after each tap.
- Holding SPACE generates one new map. The map stays steady until the next press.
Verifies: the M1 portions of R1 and R4.
M2 - People and double-buffered partial redraw
MT2.1: People move and are blocked (c64)
Setup: VICE x64sc, NTSC (-ntsc), warp off.
Start: pwsh -File tools/run.ps1 -Target c64
Steps:
- Run
pwsh -File tools/check-people.ps1 and note the result.
- Start the program and wait for the map view.
- Watch the visible dots for 30 seconds. Pay attention to dots near the blue pool and the grey stone patch.
- Tap SPACE, wait for the new map, and watch the dots for another 10 seconds.
Expected:
tools/check-people.ps1 prints [PASS].
- About four light red dots are visible (16 people are spread over the four screens of the world; until scrolling arrives in M3 only the top-left screen is shown).
- Dots move at least once per second (each takes about 7 small steps a second and sometimes changes direction).
- No dot enters blue or grey pixels. A dot that reaches water or stone turns away.
- After SPACE, dots appear on the new map and keep moving.
- From M2.2 the dots are drawn into the hidden buffer, which is flipped into view each frame (see MT2.2).
Verifies: R2
MT2.2: No flicker, no trails (c64)
Setup: VICE x64sc, NTSC (-ntsc), warp off.
Start: pwsh -File tools/run.ps1 -Target c64
Steps:
- Run
pwsh -File tools/check-people.ps1 and note the result.
- Start the program and let it run for 5 minutes at normal speed (warp off).
- Watch the dots closely during that time, especially where two dots pass close to each other.
- At the end, inspect the map closely, including the places dots walked over.
- Tap SPACE, let the new map run for a minute, and inspect it again.
Expected:
tools/check-people.ps1 prints [PASS], with 0 missed buffer flips.
- Dots step smoothly; they never flicker, blink out, or show doubled or half-drawn.
- The terrain does not flicker or shake (both buffers show the same map).
- No light red trails and no damaged terrain pixels where dots have been.
Verifies: R3
M3 - Pixel-smooth scrolling
MT3.1: Smooth scrolling (c64)
Setup: VICE x64sc, NTSC (-ntsc), warp off.
Start: pwsh -File tools/run.ps1 -Target c64
Automated first: pwsh -File tools/check-keys.ps1 should print
[PASS] all 8 key scenarios decode correctly and pwsh -File tools/check-scroll.ps1
should print [PASS] all 3 scroll scenarios: ....
Keys (VICE maps the PC arrow keys to these): Right arrow = CRSR RIGHT, Down arrow =
CRSR DOWN, Left arrow = SHIFT + CRSR RIGHT, Up arrow = SHIFT + CRSR DOWN. On a real
C64 keyboard hold either SHIFT key with a cursor key to go left or up.
Steps:
- Wait for the map. Hold Right until the view stops, then Down until it stops.
- Hold Left until the view stops, then Up until it stops.
- Hold Right + Down together for a few seconds, then Left + Up together.
- Tap Right a few times, then hold Right and switch to Left while still moving.
- Release all keys and tap SPACE; then scroll again in the new world.
Expected:
- The map moves one pixel at a time in the direction held, with no jumps, tearing
or flashes of wrong terrain when it crosses a cell edge; it stops as soon as the
key is released. A very short hesitation right after a scroll starts is acceptable
(the hidden buffer is being prepared); note it if it is noticeable.
- Right stops at VIEW X 42 (the right world edge, column 79, at the right of the map);
Down stops at VIEW Y 30 (row 49 at the bottom); Left and Up stop at 0. Holding a key
against an edge does nothing.
- Diagonal scrolling moves smoothly on both axes.
- Across the whole world you see all five terrain colours (brown land, green grass and
trees, grey stone, blue water, black roads).
- SPACE still generates a new map, and the view starts again at the top-left (0, 0).
Verifies: R1, R5
MT3.2: People while scrolling (c64)
Setup: VICE x64sc, NTSC (-ntsc), warp off.
Start: pwsh -File tools/run.ps1 -Target c64
Steps:
- Scroll slowly past several people.
Expected:
- Dots stay on the terrain they walk on
- 16 dots in total across the world
- No trails left behind
Verifies: R2, R3, R5
MT3.3: Status area (c64)
Setup: VICE x64sc, NTSC (-ntsc), warp off.
Start: pwsh -File tools/run.ps1 -Target c64
Steps:
- Wait for the map view and read the text below the map.
- Watch the boundary between map and text for 30 seconds while the dots move.
- Tap SPACE and watch the boundary while the new map is generated and shown.
- Hold each cursor key (and Right + Down, Left + Up) and watch the text and the boundary while the map scrolls, especially while it scrolls up and down.
Expected:
- The map fills the top 20 cell rows; five lines of light red upper-case text on brown sit below it:
LAND MAP 64, VIEW X 00 Y 00, PEOPLE IN VIEW nn OF 16, an empty line, CRSR SCROLL SPACE NEW WORLD.
- The people-in-view number equals the number of dots you can count on the map.
- The boundary is a clean, steady horizontal line: no flicker, jitter, garbage characters or half-height rows.
- The text never moves while the map scrolls, and the boundary stays clean at every vertical scroll position.
- VIEW X/Y show the view's top-left cell (X 0-42, Y 0-30) and follow the scrolling.
- The people-in-view number follows dots entering and leaving the map (it updates 15 times a second; a dot cut by the map's edge counts).
Verifies: R6 (and the R1 view size)
Real hardware
Optional for this release. Use these steps when hardware is available.
- Build:
pwsh -File tools/build.ps1.
- Get the program onto a disk the machine can read, for example: copy the .prg (or .d64) to an SD2IEC/Pi1541/1541 Ultimate SD card; or write the .d64 to a real floppy with a ZoomFloppy/XUM1541 and OpenCBM (
d64copy build\<image>.d64 8).
- On the machine:
LOAD"*",8 then RUN (a C128 in native mode can also use RUN"name"). For C64-mode targets on a C128, enter C64 mode first (GO 64, then Y).
- Repeat the manual tests for the current milestone and note any difference from VICE (timing, colours, display artefacts, disk speed) in docs/verification-status.md.