home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
modem
/
byepc300.arc
/
BYEXLIB.ARC
/
SETTIMON.ASM
< prev
next >
Wrap
Assembly Source File
|
1987-10-26
|
775b
|
32 lines
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