From: "Matt Barker" Newsgroups: comp.os.msdos.djgpp Subject: Re: Timer interrupt Date: 4 Jul 1998 20:51:43 GMT Organization: CLEAR Net, http://www.clear.net.nz/ Lines: 12 Message-ID: <01bda78d$23b78920$433461cb@spock> References: <01bda6f1$8ceb4540$LocalHost AT SPOCK> <6nl9r2$fte$1 AT news-hrz DOT uni-duisburg DOT de> NNTP-Posting-Host: d1-u3.nels.clear.net.nz To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > I don't know the answer to your question, but I have answers to > questions you didn't ask: > > OldTimerHandler() sends an EOI on its own, so you shouldn't do it in > your handler when you call OldTimerHandler(). And IIRC you shouldn't > call Int 1C manually, because that's done by OldTimerHandler() as well - > and I guess you set Factor so that OldTimerHandler() is called just as > often as it is normally called. Won't OldTimerHandler() end with an iret instruction though, in which case it will not return to my handler??? It certainly seemed to work OK.