-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
When using the VICE backend, the load() directive in test files doesn't actually load the PRG into VICE memory. Tests only work if the program is manually loaded via vice.autostart first.
Current Behavior
load("/path/to/program.prg", strip_header = true)
With VICE backend, this doesn't result in the PRG being loaded into VICE. Memory remains uninitialized.
Expected Behavior
The VICE backend should handle load() by either:
- Calling
vice.autostartwithrun: false - Reading the PRG file and writing it to VICE memory via
vice.memory.write
Workaround
Manually load the program before running tests:
curl -X POST http://127.0.0.1:6510/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"vice.autostart","arguments":{"path":"/path/to/program.prg","run":false}},"id":1}'Then run tests without load() directive.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels