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

  1.            INCLUDE MODEL.INC
  2. ;
  3. ;---------------------------------------------------------------------------
  4. ;   Function:    int _bye_baud()
  5. ;
  6. ;   Parms:    void
  7. ;
  8. ;   Purpose:    Returns the baud rate of the caller on line.
  9. ;
  10. ;   Return:    0 = 300 bps
  11. ;        1 = 1200 bps
  12. ;        2 = 2400 bps
  13. ;---------------------------------------------------------------------------
  14. ;
  15.            PUBLIC __bye_baud
  16.  
  17. __bye_baud     PROC
  18.  
  19.            mov  ah,7        ;AH=7 for get baud rate
  20.            int  BYE_VECT
  21.            ret
  22.  
  23. __bye_baud     ENDP
  24.            END
  25.  
  26.