rdy$xs (4) --- see if character waiting, and if so, fetch it 06/25/82 _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n logical function rdy$xs (char) shortcall rdy$xs (4) character char Library: shortlb Also declared in =incl=/shortlb.r.i _F_u_n_c_t_i_o_n The function checks to see if a character has been typed at the terminal but not yet input by software. If no character is waiting, the function returns the value FALSE. If a character is waiting, then the function returns TRUE and 'char' gets set to the waiting character. _I_m_p_l_e_m_e_n_t_a_t_i_o_n Implemented as a simple PMA routine entered via a JSXB (shortcall). The function switches to 64R mode to do a "SKS '704" (handled by the Primos restricted instruction FIM). If a value is waiting, it is fetched by a call to the Primos routine T1IN. Note that any routine using this call must be compiled using the "-q" option of 'fc'. _C_a_l_l_s Primos t1in _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d char _B_u_g_s Locally supported. _S_e_e _A_l_s_o chkinp (2), fc (1) rdy$xs (4) - 1 - rdy$xs (4)