Thread View: net.micro.pc
1 messages
1 total messages
Started by G. Terry Gold
Tue, 14 Oct 1986 21:54
Need help with TSR program
Author: G. Terry Gold
Date: Tue, 14 Oct 1986 21:54
Date: Tue, 14 Oct 1986 21:54
25 lines
1489 bytes
1489 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads