[net.micro.pc] Need help with TSR program

gold@druil.UUCP (G. Terry Gold) (10/15/86)

1.  Does anyone have the source to a memory resident clock utility?

2.  Re: 1   I've tried writting this myself and can't seem to make it
    work.  I've written quite a few TSR programs, including several
    that steal the timer interupt, but this one has me stumped.
    
    I've found that I can't use the int 21H, 2cH function call because
    the PC tech ref manual says that you should only use functions
    below 9H.  I've seen a way around this (make a copy of the stack)
    but isn't there an easier way?
    
    My next attempt was to read the port directly, but it always returns
    a 0FH indicating (so my manual says) that it was being updated when
    I tried to read it.  I've done retrys and always get the 0FH.
   
    Any ideas?  (My end goal is a memory resident elapsed timer.)
    
    Thanks,
    
    
-- 
                                        ihnp4 \
Terry Gold      AT&T ISL                       --- druil!gold
             Denver, Colorado         allegra /    (303) 538-1135