comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com (Tom Moran)
Subject: Re: System Clock update rate of 0.055 milliseconds in DOS/Win95 and Ada.Calendar
Date: 1999/01/10
Date: 1999-01-10T00:00:00+00:00	[thread overview]
Message-ID: <36984ebc.31381254@news.pacbell.net> (raw)
In-Reply-To: 01be3c40$f93dc120$3804fbd1@longslide

There are different ways for different OSes.  If you have access to
the hardware (DOS) you can reprogram the clock to interrupt more
often, or you can modify ada.calendar.clock to read it more
accurately.  (See the replacement Calendar body I uploaded years ago
to the old Janus BBS that does the latter.)  If you're unfortunate
enough to be running on such a "modern" OS as Windows, there's a
system call to get the time down to the submillisecond (see, eg, the
Ada.Calendar in RRsoftware's latest version of their Ada 95).  Getting
faster interrupts is somewhat more difficult, since you need get the
OS's permission.




  parent reply	other threads:[~1999-01-10  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-10  0:00 System Clock update rate of 0.055 milliseconds in DOS/Win95 and Ada.Calendar Craig Garrett
1999-01-09  0:00 ` Paul Whittington
1999-01-10  0:00   ` robert_dewar
1999-01-13  0:00     ` dmitry6243
1999-01-13  0:00       ` Tom Moran
1999-01-10  0:00 ` Tom Moran [this message]
1999-01-10  0:00   ` Craig Garrett
1999-01-10  0:00     ` Tom Moran
1999-01-11  0:00 ` dennison
     [not found] ` <369A7B97.6AC0CA00@hercii.mar.lmco.com>
1999-01-12  0:00   ` David C. Hoos, Sr.
1999-01-12  0:00     ` Tom Moran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox