h6. [[OS SWI Calls]] h6(. » [[OS_Byte]] h6((. » [[OS_Byte 129]] h6(((. » OS_Byte 129 (read a key within time limit) h2. OS_Byte 129 (read a key within time limit) h5. (SWI &06) |_<^{width:3em}. Entry | | |<^. R0|<^. 129 (&81) | |<^. R1|<^. 0-255 (time limit low byte) | |<^. R2|<^. &00 - &7F (time limit high byte) | |_<^{width:3em}. Exit | | |<^. R0|<^. Preserved | |<^. R1|<^. ASCII code of character read, undefined if not read | |/3<^. R2|<^. 0 character read | |<^. 27 escape condition | |<^. 255 timeout | h4. Use The purpose of this call is to read a key within a specified time limit. h4. Notes This call will extract a character from the keyboard buffer/current function key expansion if one is available, else will wait for <code>(R2 * 256 + R1)</code> centiseconds, where the maximum wait is 327.67 seconds, as R2 <= 127. Cursor edit mode will operate if enabled with [[OS_Byte 4]]. If an escape condition is detected the application should either acknowledge it with [[OS_Byte 126]] or clear it with [[OS_Byte 124]]. h4. See also * [[OS_Byte]] * [[OS_Byte 129]] * [[OS_Byte 129 (OS)|OS_Byte 129 (read OS version)]] * [[OS_Byte 129 (scan range)|OS_Byte 129 (scan keyboard for range of keys)]] * [[OS_Byte 129 (scan single)|OS_Byte 129 (scan keyboard for single key)]] [linkx1]OS_Byte+129+(time)