amiga_screen_modes
List, enable, disable, or undo Picasso96 screen modes and color depths in DEVS:Picasso96Settings, and check whether a program can get a required mode.
Instructions
The Picasso96 screen modes and which colour depths are switched on, from DEVS:Picasso96Settings; switch single ones on or off.
action: list (default, read only), on, off, or undo. modes: '640x480', a full name like 'VideoCore:640x480', several by comma, or 'all'; depth: 8, 16, 24 or 32, 0 for every depth of those modes; board filters the list. need='640x480x32' says whether a program asking for that mode gets it and, if it is switched off, which switch is missing. on/off without confirm=True only says what would change. With it the file is first copied to DEVS:Picasso96Settings.amigent-undo (the very first state also to .amigent-orig), then changed in place. undo (confirm=True) puts that copy back in one call; a second undo redoes. Picasso96 reads the file when it starts, so a change counts after a restart. With CyberGraphX this only explains: its modes are not managed here.
machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "amiga_screen_modes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| need | No | ||
| board | No | ||
| depth | No | ||
| modes | No | ||
| action | No | list | |
| confirm | No | ||
| machine | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |