AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 = 129
     R1 =     0-255          time limit low byte
     R2 =     &00 - &7F     time limit high byte
<=     R1 =     ASCII code of character read, undefined if not read
     R2 =     0          character read
           27          escape condition
           255          timeout

This call will extract a character from the keyboard buffer/current function key expansion if one is available, else will wait for (R2 * 256 + R1) 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.

[sh-index] Back to list of manuals