type_text
Simulate keyboard input on a Commodore 64 by converting ASCII text to PETSCII and writing it to the keyboard buffer. Supports special keys like {RETURN}, {HOME}, {F1}-{F8}, and automatically handles long text by chunking.
Instructions
Type text into the C64 keyboard buffer. Converts ASCII to PETSCII and writes to the keyboard buffer at $0277. The C64 will process these keystrokes. Automatically handles text longer than 10 chars by chunking. Use {RETURN} for newline, {CLR} to clear screen, {HOME} for home, {UP}/{DOWN}/{LEFT}/{RIGHT} for cursor, {F1}-{F8} for function keys, {DEL}/{INS} for delete/insert.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type. Use placeholders for special keys: {RETURN}, {HOME}, {CLR}, {UP}, {DOWN}, {LEFT}, {RIGHT}, {DEL}, {INS}, {F1}-{F8}, {STOP}. Letters are converted to uppercase PETSCII. | |
| wait_ms | No | Milliseconds to wait after typing for buffer to be processed (default: 100) |