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

  1.            INCLUDE MODEL.INC
  2. ;
  3. ;---------------------------------------------------------------------------
  4. ;   Function:    int _bye_rxint(mode)        (BYE vers 2.00 required)
  5. ;
  6. ;   Parms:    int mode;   -> 0=off, 1=on receive interrupts
  7. ;
  8. ;   Purpose:    Enables and disables the receive interrupts from
  9. ;        the modem. If this function is set to off, all
  10. ;        received from the modem is ignored.
  11. ;
  12. ;   Return:    void
  13. ;---------------------------------------------------------------------------
  14. ;
  15.            PUBLIC __bye_rxint
  16.  
  17. __bye_rxint    PROC
  18.  
  19.            push bp            ;standard 'C' function entry
  20.            mov  bp,sp
  21.  
  22.            mov  ax,ARG1        ;rx int state in AL
  23.            mov  ah,19        ;AH=19 for set rx int
  24.            int  BYE_VECT
  25.  
  26.            mov  sp,bp        ;standard 'C' exit
  27.            pop  bp
  28.            ret
  29.  
  30. __bye_rxint    ENDP
  31.            END
  32.  
  33.