| Entry | |
|---|---|
| R0 | 199 (&C7) |
| R1 | EOR value |
| R2 | AND value |
| Exit | |
|---|---|
| R0 | Preserved |
| R1 | Previous file handle |
| R2 | Corrupted |
The purpose of this call is to read or write the *Spool file handle.
This call reads or sets the *Spool file handle. A handle of 0 means that spooling is disabled, a non-zero handle means that spooling is enabled (unless disabled with OS_Byte 3).
Changing the spool handle to an invalid file handle can really ruin your day (every call to OS_WriteC etc. will return an error, including the calls used to report the error to screen…).