run_until_prompt
Runs emulator in chunks until a prompt appears at row start, solving the wait-for-BASIC-prompt pattern. Detects the '>' return without matching mid-line occurrences.
Instructions
Run in chunks until prompt appears at the start of a MODE 7 row.
Convenience wrapper for the common "wait for BASIC to return
to the > prompt" pattern. Differs from run_until_text by
anchoring the match to the beginning of a row: a bare >
mid-line (e.g. inside the typed command itself) does not
count. Defaults to ">" which is the standard BBC BASIC
prompt. Returns {"ok", "found", "cycles_ran", "prompt"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | > | |
| max_cycles | No | ||
| session_id | Yes | ||
| chunk_cycles | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||