home *** CD-ROM | disk | FTP | other *** search
- INCLUDE MODEL.INC
- ;
- ;---------------------------------------------------------------------------
- ; Function: int _bye_settimeon(mins)
- ;
- ; Parms: int mins; --> max time in minutes (0-255, 0=Unlimited)
- ;
- ; Purpose: Sets the timeout for the amount of time allowed on
- ; the system for the caller online.
- ;
- ; Return: void
- ;---------------------------------------------------------------------------
- ;
- PUBLIC __bye_settimeon
-
- __bye_settimeon PROC
-
- push bp ;standard 'C' function entry
- mov bp,sp
-
- mov ax,ARG1 ;max time on in AL
- mov ah,17 ;AH=17 for set time on
- int BYE_VECT
-
- mov sp,bp ;standard 'C' exit
- pop bp
- ret
-
- __bye_settimeon ENDP
- END
-