home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / modem / byepc300.arc / BYEXLIB.ARC / GETC.ASM < prev    next >
Assembly Source File  |  1987-10-25  |  620b  |  26 lines

  1.            INCLUDE MODEL.INC
  2. ;
  3. ;---------------------------------------------------------------------------
  4. ;   Function:    int _bye_getc()
  5. ;
  6. ;   Parms:    void
  7. ;
  8. ;   Purpose:    Return character from the modem Rx-queue if available.
  9. ;        The function 'rx_size()' can be used to determine if
  10. ;        data is available in the Rx-queue.
  11. ;
  12. ;   Return:    EOF if no character in buffer
  13. ;---------------------------------------------------------------------------
  14. ;
  15.            PUBLIC __bye_getc
  16.  
  17. __bye_getc     PROC
  18.  
  19.            mov  ah,0        ;AH=0 for get char
  20.            int  BYE_VECT
  21.            ret
  22.  
  23. __bye_getc     ENDP
  24.            END
  25.  
  26.