h6. [[OS SWI Calls]] h6(. » [[OS_Byte]] h6((. » OS_Byte 177 h2. OS_Byte 177 h5. (SWI &06) |_<^{width:3em}. Entry | | |<^. R0|<^. 177 (&B1) | |<^. R1|<^. 0 | |<^. R2|<^. 255 | |_<^{width:3em}. Exit|_<^. | |<^. R0|<^. Preserved | |<^. R1|<^. [[Input Sources|Input source]] | |<^. R2|<^. Corrupted | h4. Use The purpose of this call is to read a character from either the keyboard or serial buffer. h4. Notes This returns the number of the buffer from which character input gets characters assuming Exec is not enabled - see [[OS_Byte 198]]). You *must not* use any numbers than 0 and 255 for R1 and R2 - to change this variable use [[OS_Byte 2]]. h4. See also * [[Input Sources]] * [[OS_Byte]] * [[OS_Byte 2]] * [[OS_Byte 198]]