25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6.0KB

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”.

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:

  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. Watch for the generating message, then note the map shown within 15 seconds.
  2. Tap SPACE, wait for the new map, then tap SPACE again.
  3. 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:

  1. Run pwsh -File tools/check-people.ps1 and note the result.
  2. Start the program and wait for the map view.
  3. Watch the visible dots for 30 seconds. Pay attention to dots near the blue pool and the grey stone patch.
  4. 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.
  • At M2.1 the dots are drawn straight into the visible buffer during vertical blank; small flicker or a missed frame is not a failure until M2.2 adds the buffer flip (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:

  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\<image>.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.

Powered by TurnKey Linux.