amiga_serial_log
Records the Amiga's Emu68 serial debug output over USB with timestamps, reports logging status, shows recent lines, and narrows JIT debug output to address ranges for focused troubleshooting.
Instructions
The Pi's serial debug output (Emu68), recorded on this PC through a USB serial adapter.
"start" records port (COM5, /dev/ttyUSB0; default the only USB adapter) at
baud (921600, Emu68's speed) with time stamps until "stop", into the
config folder (serial/.log); amigent-serial does the same on
its own. Only reads. amiga_debug_log then includes what came, and
amiga_status gives the last lines when the Amiga stops answering.
"status" tells whether it records, "show" the last lines lines.
"narrow" limits Emu68's JIT debug output to the 68k addresses low..high (hex, e.g. $00F80000) with verbosity 0-3 and disassemble, through Emu68's control registers at run time; "wide" switches that off again (verbosity 0, every address). Both run a small program on the Amiga and need confirm=True; only on Emu68.
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_serial_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| low | No | ||
| baud | No | ||
| high | No | ||
| port | No | ||
| lines | No | ||
| action | No | status | |
| confirm | No | ||
| machine | No | ||
| verbose | No | ||
| disassemble | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |