| Entry | ||
|---|---|---|
| R0 | -1 | Command window is closed whether it was used or not |
| 0 | Same as -1, but if output, do a *Press SPACE or click mouse to continue |
|
| 1 | Command window is set to ‘active’ | |
| >1 | Pointer to title. Command window is set to ‘pending’, and next time VDU4 output is generated, the window will open | |
| Exit | |
|---|---|
| R0 | Corrupt |
The purpose of this call is open a text window in which VDU4-type output can be displayed, primarily for running older-style programs, that are text-based.
When the Wimp starts a task, it executes the following command.
SYS “Wimp_CommandWindow”,“filename” SYS “Wimp_CommandWindow”,-1