Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 2 |
R1 | Stream selection |
Exit | |
---|---|
R0 | Preserved |
R1 | Value before being overwritten |
R2 | Corrupted |
The purpose of this call is to select the device from which all subsequent input is taken by OS_ReadC.
On exit only 0 or 1 can be returned, so 0 may also mean 2. The state of this variable can be read with OS_Byte 177.
If Exec is enabled (see OS_Byte 198) then the Exec file handle is used as the current input stream.