www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/16/06:30:36

Message-ID: <39EAD5DF.1183FE28@maths.unine.ch>
Date: Mon, 16 Oct 2000 12:18:07 +0200
From: Gautier <gautier DOT demontmollin AT maths DOT unine DOT ch>
Organization: Maths - Uni =?iso-8859-1?Q?Neuch=E2tel?=
X-Mailer: Mozilla 4.75 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fine timing
References: <8s4ini$g3i$1 AT nnrp1 DOT deja DOT com> <7458-Thu12Oct2000175507+0300-eliz AT is DOT elta DOT co DOT il> <8s6ug4$ebr$1 AT nnrp1 DOT deja DOT com> <2561-Fri13Oct2000164959+0300-eliz AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: mac13-32.unine.ch
X-Trace: 16 Oct 2000 12:18:08 +0100, mac13-32.unine.ch
Lines: 21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli:

> > Nice! And is it possible to read the 1024ths of second from port 70h
> > without using an interrupt ?

> No :-( (You didn't think you will get away easily, did you?)

Sometimes I have irrealistic dreams... Actually, I would have found
the 1024ths somewhere in a doc when programming the reading of CMOS
values.

> The time values which can be accessed via port 70h are up to seconds
> only.  To get a better resolution, you need to enable Int 70h and
> count the 1024ths of a second inside the interrupt handler.

Thank you, I'll re-find a documentation about this. It will
be much more satisfying than re-setting the BIOS time
(with midnight issues etc.) at each PIT interrupt...

______________________________________________________
Gautier  --  http://members.nbci.com/gdemont/gsoft.htm

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019