Mail Archives: djgpp/1997/10/27/13:17:23
From: | Mark Slagell <bald_soprano AT nospam DOT usa DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | PCTIME13
|
Date: | Sun, 26 Oct 1997 15:55:34 -0600
|
Organization: | Lunar Hostility Studies
|
Lines: | 22
|
Message-ID: | <3453BC56.55A6@nospam.usa.net>
|
NNTP-Posting-Host: | dial19.ppp.iastate.edu
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Has anyone had this trouble with PCTIME?
When I compile TEST8 from the supplied source, it runs okay under DOS,
but twice as fast as it should under Windows (both 3.11 and '95). A
reported 2000 ms delay takes exactly one second. The precompiled
executable supplied in the archive does not have the problem.
I did have to comment out the word 'interrupt' from this line in the
header file TCINT8.H:
void interrupt new8h(__CPPARGS)
otherwise the compiler complained about missing "type or storage class".
Could this be relevant?
What I'm trying to get, ultimately, is a reliable 200hz interrupt.
Mark
--
"Everything is miraculous. It is miraculous that one does not melt in
one's bath." -- Picasso
Remove the "nospam." to reply by email.
- Raw text -