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-File11.5.16.39.6 dev_putc TOS Name: »dev_putc« Parameters: a0 = FD *file d0 = int mode d1 = long value -> d0 = unsigned long count Description: dev_putc is used by the kernel for Fgetchar and the character-oriented functions (Cconin, Cconout, Cauxin etc.). In the case of a terminal the return value must be 4L (i.e. 4 bytes written), otherwises 1L if writing was successful. mode means: CMODE_COOKED (1) Bit 0 set: Control characters ^C, ^S, ^Q will be processed CMODE_RAW (0) Bit 0 not set: 'raw' mode The file driver installed by DOS_XFS passes the call on to the MX_DDEV subdriver if the function is supported in the MX_DDEV driver (pointer != NULL), otherwise the function is automatically implemented as dev_fwrite. Group: Workstation driver See also: -