Date: Sun, 17 Dec 2000 21:25:37 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Kai Dietrich Message-Id: <7263-Sun17Dec2000212536+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <3A3CFCC1.DE115FD0@t-online.de> (message from Kai Dietrich on Sun, 17 Dec 2000 18:49:53 +0100) Subject: Re: replace uclock References: <3A3CFCC1 DOT DE115FD0 AT t-online DOT de> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Kai Dietrich > Newsgroups: comp.os.msdos.djgpp > Date: Sun, 17 Dec 2000 18:49:53 +0100 > > "To be able to play music in the background in MS-DOS, and to keep proper > tempo with all sound cards, MIDAS needs to use the system timer (IRQ 0, > interrupt 8) for music playback. Because of this, user programs may not > access the timer directly This will surely interfere with uclock. > I need an accuracy of about 1-5 ms. Do you need a periodic interrupt, or just to measure time between two events? The CMOS real-time clock has an accuracy of less than 1 ms, but the exact method to employ that depends on what exactly do you need to do with time information.