From the .LIB
Code:
;****************************************************************
;* ARRAYREAD  : Read char from array                            *
;*                                                              *
;* Input      : R5 = pointer to next char in array              *
;*            : R6 = number of chars left in array (timeout)    *
;* Output     : W                                               *
;*                                                              *
;* Notes      : C clear if timed out.                           *
;****************************************************************
\