{ "schemaVersion": "1.0", "status": "approved", "approval": { "approvedBy": "automated test", "approvedOn": "2026-11-26" }, "interview": { "stage": "review", "openQuestions": [], "notes": [ "Test fixture brief for the Foundry automated checks." ] }, "project": { "name": "Mouse Probe", "slug": "mouse-probe", "idea": "Test idea for Mouse Probe.", "summary": "Test project: a C64 C program that reads the 1351 mouse with the Foundry reader.", "kind": "other", "smallestUsefulVersion": "Shows its title screen and waits for a key." }, "destination": "../Foundry Test Output/mouse-probe", "targets": [ { "id": "c64", "platform": "c64", "display": "vicii-40", "video": "pal", "expectedBehavior": "Reads the 1351 mouse with the Foundry reader and reports that the pointer stays still with no input." } ], "dualTarget": null, "buildLocation": "windows-cross", "onCommodore": null, "testing": { "emulator": "vice", "realHardware": { "requested": false, "reason": "" } }, "scope": { "firstRelease": "Title screen and one interaction.", "inScope": [ "Title screen" ], "outOfScope": [ "Everything else" ] }, "requirements": [ { "id": "R1", "title": "Title screen", "priority": "must", "text": "Shows the title and waits for a key.", "acceptance": [ "Row 0 shows 'POCKET PLANNER'" ], "capabilities": [ "text-ui" ] }, { "id": "R2", "title": "Key response", "priority": "must", "text": "A key press returns to BASIC.", "acceptance": [ "Any key returns to the READY prompt" ], "capabilities": [ "keyboard-input" ] }, { "id": "R3", "title": "1351 mouse", "priority": "must", "text": "Reads the 1351 mouse in control port 1 with the Foundry reader (src/mouse1351.s), shows MOUSE OK, and MOUSE STILL when the pointer stays put with no input.", "acceptance": [ "Row 3 shows MOUSE OK", "Moving the grabbed host mouse in VICE moves the sprite pointer" ], "capabilities": [ "mouse-1351", "sprites" ] } ], "design": { "controls": { "value": "Any key.", "source": "default" }, "visuals": { "value": "Text only.", "source": "default" }, "sound": { "value": "None.", "source": "n/a" }, "persistence": { "value": "None.", "source": "n/a" }, "fileFormats": { "value": "None.", "source": "n/a" }, "peripherals": { "value": "Commodore 1351 mouse in control port 1.", "source": "default" }, "budgets": { "value": "No constraints beyond fitting in memory.", "source": "default" } }, "capabilities": [ "text-ui", "keyboard-input", "mouse-1351", "sprites" ], "assumptions": [ { "id": "A1", "text": "VICE defaults are representative.", "status": "default" } ], "openDecisions": [], "toolchain": { "recipe": "cc65", "language": "c", "recommended": { "recipe": "cc65", "language": "c" }, "reasons": [ "C gives structured data handling at good speed." ], "alternatives": [ { "option": "Assembly", "whyNot": "More effort than this needs." } ], "override": null, "assumptionsToVerify": [] }, "starter": { "screenTitle": "MOUSE PROBE", "expectedScreen": "MOUSE PROBE on row 0, STARTER OK on row 2, MOUSE OK on row 3, MOUSE STILL on row 4 (no drift over 100 idle frames); the mouse pointer (sprite 0) follows the grabbed host mouse.", "requirements": [ "R1", "R3" ], "smokeChecks": [ { "row": 0, "col": 0, "text": "MOUSE PROBE" }, { "row": 2, "col": 0, "text": "STARTER OK" }, { "row": 3, "col": 0, "text": "MOUSE OK", "description": "Foundry 1351 reader set up (ms_init)" }, { "row": 4, "col": 0, "text": "MOUSE STILL", "description": "Pointer did not move during 100 polled frames with no mouse input" } ], "filesDir": "mouse-1351-c-files" }, "milestones": [ { "id": "M1", "title": "Key handling", "goal": "Return to BASIC on a key press.", "tasks": [ { "id": "M1.1", "text": "Return to BASIC on any key.", "requirements": [ "R2" ], "outcome": "PRG that exits on a key", "check": "MT1.1" } ], "manualTests": [ { "id": "MT1.1", "title": "Exit", "target": "all", "setup": "Program running.", "steps": [ "Press SPACE." ], "expected": [ "READY prompt appears." ], "requirements": [ "R2" ] } ] } ] }