h6. [[OS SWI Calls]] h6(. » [[OS_Byte]] h6((. » OS_Byte 3 h2. OS_Byte 3 h5. (SWI &06) |_<^{width:3em}. Entry | | |<^. R0|<^. 3 | |<^. R1|<^. [[Output Stream Status|Bit mask for output streams]] | |_<^{width:3em}. Exit|_<^. | |<^. R0|<^. Preserved | |<^. R1|<^. Value before being overwritten | |<^. R2|<^. Corrupted | h4. Use The purpose of this call is to select the devices to which all subsequent output from [[OS_WriteC]] (and related SWIs) should be sent. h4. Notes The state of this variable can be read and written with [[OS_Byte 236]]. Enabling the serial device and printer with this OS_Byte *and* setting the printer to the serial device with [[OS_Byte 5]] causes characters to be placed in both serial and printer buffers, which both are then fed to the serial port. h4. See also * [[Output Stream Status]] * [[OS_Byte]] * [[OS_Byte 5]] * [[OS_Byte 236]] * [[OS_WriteC]]