# 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: 1. Run `pwsh -File tools/smoke.ps1 -Target c64` and note the result. 2. 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". - Autostarts, shows a short generating message, then a full-screen multicolour bitmap view of the world: brown land, grey stone, green grass and trees, blue water, black roads. Light red dots move on land and roads. Cursor keys scroll the view smoothly; SPACE generates a new world. ## M1 - World generation and static view ### MT1.1: Generated world looks right (c64) Setup: VICE x64sc, NTSC (-ntsc), warp off. Start: `pwsh -File tools/run.ps1 -Target c64` Steps: 1. Wait for the map view. 2. 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: 1. Note the map. 2. Press SPACE and wait. Expected: - A visibly different map appears Verifies: 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: 1. Watch the visible dots for 30 seconds. Expected: - Dots move at least once per second - No dot enters blue or grey pixels 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: 1. Let it run for 5 minutes. 2. Inspect the map closely. Expected: - No flicker - No light red trails or damaged terrain 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` Steps: 1. Hold each cursor key (with SHIFT for up and left) until the view stops. Expected: - Smooth movement, no jumps or tearing - The view stops at each world edge - All five terrain colours seen across the world 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: 1. 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 ## Real hardware Optional for this release. Use these steps when hardware is available. 1. Build: `pwsh -File tools/build.ps1`. 2. 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\.d64 8`). 3. 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`). 4. 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.