h6. [[OS SWI Calls]] h6(. » [[OS_Byte]] h6((. » [[OS_Byte 129]] h6(((. » OS_Byte 129 (scan keyboard for single key) h2. OS_Byte 129 (scan keyboard for single key) h5. (SWI &06) |_<^{width:3em}. Entry | | |<^. R0|<^. 129 (&81) | |<^. R1|<^. &80 - &FF lowest [[Keyboard Scan Codes|keyboard scan code]] EOR &FF| |<^. R2|<^. &FF | |_<^{width:3em}. Exit | | |<^. R0|<^. Preserved | |<^. R1|<^. 0 if not pressed, or 255 if pressed | |<^. R2|<^. 0 if not pressed, or 255 if pressed | h4. Use The purpose of this call is to scan the keyboard for a range of keys. h4. See also * [[Keyboard Scan Codes]] * [[OS_Byte]] * [[OS_Byte 129]] * [[OS_Byte 129 (time)|OS_Byte 129 (read a key within time limit)]] * [[OS_Byte 129 (OS)|OS_Byte 129 (read OS version)]] * [[OS_Byte 129 (scan range)|OS_Byte 129 (scan keyboard for range of keys)]] [linkx4]OS_Byte+129+(scan+single)