diff --git a/docs/manual-tests.md b/docs/manual-tests.md index 3f50b28..1f76816 100644 --- a/docs/manual-tests.md +++ b/docs/manual-tests.md @@ -87,13 +87,13 @@ Setup: VICE x64sc, PAL, a joystick or keyset mapped to port 2. Start: `pwsh -File tools/run.ps1 -Target c64` Steps: -1. Move the cursor onto a rock tile and press D, then D again. -2. Move onto a floor tile and press D. +1. Move the cursor onto a rock tile and press RETURN, then RETURN again. +2. Move onto a floor tile and press RETURN. 3. Use the joystick to move to another rock tile and press fire. Expected: -- D marks the rock tile (yellow marked glyph) and the second D unmarks it -- D on floor changes nothing +- RETURN marks the rock tile (yellow marked glyph) and the second RETURN unmarks it +- RETURN on floor changes nothing - The joystick moves the cursor and fire marks the tile Verifies: R4 diff --git a/docs/milestones.md b/docs/milestones.md index 60c9579..fc9d542 100644 --- a/docs/milestones.md +++ b/docs/milestones.md @@ -38,7 +38,7 @@ Requirements: R4, R5 | Task | Description | Requirements | Buildable outcome | Completion check | |---|---|---|---|---| -| M2.1 | Mark/unmark with D on rock tiles only; marked-rock glyph. Joystick port 2 cursor movement with key repeat and fire to mark. | R4 | PRG in which D and fire toggle marks | Manual test MT2.1 | +| M2.1 | Mark/unmark with RETURN on rock tiles only; marked-rock glyph. Joystick port 2 cursor movement with key repeat and fire to mark. | R4 | PRG in which RETURN and fire toggle marks | Manual test MT2.1 | | M2.2 | 1351 mouse via cc65 c64_1351_mou: sprite 0 pointer, dig cursor = tile under the pointer tip, left button marks/unmarks, pointer at a view edge scrolls. Verify A1/A2 and record the exact VICE options in docs/. | R5 | PRG controllable by mouse | Manual test MT2.2 | Manual verification: see docs/manual-tests.md section M2. diff --git a/docs/spec.md b/docs/spec.md index c67900e..f229a8d 100644 --- a/docs/spec.md +++ b/docs/spec.md @@ -96,12 +96,12 @@ Capabilities: text-ui, custom-charset ### R4 - Dig designation by keyboard and joystick (must) -Cursor keys or W/A/S/D move the dig cursor one tile; D marks or unmarks the rock tile under the cursor. A joystick in port 2 moves the cursor (with key repeat), and fire marks or unmarks. Floor tiles cannot be marked. +Cursor keys or W/A/S/D move the dig cursor one tile; RETURN marks or unmarks the rock tile under the cursor. A joystick in port 2 moves the cursor (with key repeat), and fire marks or unmarks. Floor tiles cannot be marked. Acceptance criteria: -- [R4.1] Pressing D on a rock tile changes it to the marked-rock glyph; pressing D again restores it -- [R4.2] Pressing D on a floor tile changes nothing -- [R4.3] The joystick in port 2 moves the cursor and fire marks/unmarks exactly like D +- [R4.1] Pressing RETURN on a rock tile changes it to the marked-rock glyph; pressing RETURN again restores it +- [R4.2] Pressing RETURN on a floor tile changes nothing +- [R4.3] The joystick in port 2 moves the cursor and fire marks/unmarks exactly like RETURN Capabilities: keyboard-input, joystick-input @@ -176,7 +176,7 @@ Capabilities: text-ui | Topic | Decision | Source | |---|---|---| -| Controls | Commodore 1351 mouse in control port 1 (proportional mode): a sprite pointer, the dig cursor is the tile under the pointer, the left button marks/unmarks, the pointer at a view edge scrolls the map. Joystick in port 2: move the cursor, fire marks/unmarks. Keyboard: cursor keys or W/A/S/D move, D marks/unmarks, SPACE pauses/resumes. All three can be used together. | decided by user | +| Controls | Commodore 1351 mouse in control port 1 (proportional mode): a sprite pointer, the dig cursor is the tile under the pointer, the left button marks/unmarks, the pointer at a view edge scrolls the map. Joystick in port 2: move the cursor, fire marks/unmarks. Keyboard: cursor keys or W/A/S/D move, RETURN marks/unmarks, SPACE pauses/resumes. All three can be used together. | decided by user | | Visuals | Character mode with an original custom character set at $3800 (VIC bank 0, screen at $0400): codes 0-127 copied from the lower/upper-case ROM set so conio text (capital letters at screen codes 65-90) stays readable, codes 128+ hold the game's own glyphs (soft rock, hard rock, floor, marked rock, dwarf, cursor). Colours: rock brown, hard rock grey, floor dark grey, marked rock yellow, dwarves orange, cursor white, on a black background. The mouse pointer is hardware sprite 0. | decided by user | | Sound | SID effects only: a mark/unmark click and a pick strike while mining. No music. | decided by user | | Persistence (save/load) | None. Nothing is saved in the first release. | not applicable | @@ -210,3 +210,10 @@ Capabilities: text-ui ## Unresolved decisions - None. Every decision in this spec is settled. + +## Change log + +| Date | Change | Approved by | +|---|---|---| +| 2026-11-26 | Charset layout: codes 0-127 from the lower/upper-case ROM set, game glyphs at 128+ (cc65 conio prints capitals at screen codes 65-90). | user | +| 2026-11-26 | R4 and Controls: RETURN marks/unmarks instead of D, because D also moves the cursor right (W/A/S/D). | user | diff --git a/docs/verification-status.md b/docs/verification-status.md index 6a3ba36..dd70821 100644 --- a/docs/verification-status.md +++ b/docs/verification-status.md @@ -13,7 +13,7 @@ manual = `pending`, `confirmed by user ()`, `problem reported (): )`, `problem reported ():