🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10621

Timer question

#10621
From: m81_claes
Date: Thu, 15 Dec 1988 09:38
21 lines
1245 bytes
I  have  been  trying  to  write  a  RTTY  encoding  program,  but  have
encountered problems  using the  timer.device. My  problem is  that when
reading the current time  the shortest time  "unit" is 1/50s  (= 20 ms),
ie. if i read current  time, then "wait", then  read it again, the "wait
time" i get is allways a multipel of 20ms!. 

  I have tried using the timer as an "alarm clock" in the ms range, and
it works fine (ok, you sometimes get to sleep 1ms or two to long, but
never 20)

  Is there anybody out there that knows if this is the way it is, or am
i doing something wrong?

  If this does not work i have to use the CIA's to check the time.

                     Claes Walther
                     CLWA@Gamma.Me.Chalmers.Se
                     Chalmers University of Technology
                     G|teborg Sweden

***** We don't do disclaimers in Sweden, we only spell wrong *****
Technical Details
Message-ID: <427@tekn01.chalmers.se>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!enea!kth!draken!chalmers!tekn01.chalmers.se!m81_claes

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!enea!kth!draken!chalmers!tekn01.chalmers.se!m81_claes
From: m81_claes@tekn01.chalmers.se
Newsgroups: comp.sys.amiga.tech
Subject: Timer question
Message-ID: <427@tekn01.chalmers.se>
Date: 15 Dec 88 09:38:20 GMT
Organization: Chalmers Univ. of Technology, Gothenburg, Sweden
Lines: 21