Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File5.17.14 Crawcin TOS Name: »Character raw input« - Read a character unbuffered from standard input device. Opcode: 7 Syntax: int32_t Crawcin ( void ); Description: The GEMDOS routine Crawcin reads a character from GEMDOS handle 1 - normally the standard input con: (the keyboard) - without echoing it immediately to the screen or processing any of the 'special' keys. Note: The function works correctly with input/output redirection only as of GEMDOS Version 0.15. Return value: The function returns a LONG with the ASCII-code of the character in the lower WORD (bits 0 .. 7). If the read character originates from the keyboard, then the lower 8 bits of the higher WORD (bits 16 .. 23) will contain the scancode of the keyboard, with Shift-key status in the upper 8 bits provided bit 3 of the system variable conterm is set. Note that if a non-ASCII key is pressed, the ASCII-code returned will be 0. Availability: All GEMDOS versions. Group: Character input/output See also: Binding Cconin Cconout Crawio