•  Back 
  •  XBIOS Structures 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
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-File4.21.5  IOREC                                                      TOS

typedef struct
{
   void    *ibuf;        /* Pointer to buffer      */
   int16_t ibufsiz;      /* Size of buffer         */
   int16_t ibufhd;       /* Head index             */
   int16_t ibuftl;       /* Tail index             */
   int16_t ibuflow;      /* Low-water mark         */
   int16_t ibufhi;       /* High-water mark        */
} IOREC;

Note: The serial ports are connected directly to a corresponding 
output buffer. The two last pointers are only used for the serial port 
in XON/XOFF or RTS/CTS operation.

If the buffer fill-level falls below the low-water mark, the sender is 
invited to send further characters; on the other hand, if it exceeds 
the high-water mark then it is signalled not to send any more 
characters.

See Also: Iorec