home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3375 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: grafix.xs4all.nl!john.hendrikx
  2. Date: Tue, 06 Feb 96 18:43:05 GMT+1
  3. Newsgroups: comp.sys.amiga.programmer
  4. Distribution: world
  5. Subject: Re: C2P
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
  10. Message-ID: <john.hendrikx.4c66@grafix.xs4all.nl>
  11. Organization: Grafix Attack BBS Holland
  12.  
  13. In a message of 05 Feb 96 Jorge Acereda Macia wrote to All:
  14.  
  15.  >> |> Yeah, but when testing multitasking code this can be a bit harder.
  16.  >> |> ReadEClock() is fast. A scanline is a lot of time. ms are more
  17.  >> accurate
  18.  
  19.  >> mhm in which lib is this ? OS3.0 ? Do I need to open something bevore
  20.  >> using it ?
  21.  
  22.  JAM> Yeah, OS3.0. You need to open lowlevel.library, but if you need to use
  23.  JAM> it on <3.0 systems, you can write your replacement using timer.device.
  24.  
  25. ReadEClock() is a function from Timer.device.  Just open the timer.device, and
  26. then get the TimerBase out of the IORequest you used to open the device.  You
  27. can then use this to call ReadEClock() from timer.device just like a regular
  28. library function.  It is present in Kick 2.0 and up (I'm not sure about Kick
  29. 1.3)
  30.  
  31. Grtz John
  32.  
  33. -----------------------------------------------------------------------
  34.  John.Hendrikx@grafix.xs4all.nl   TextDemo/FastView/Etc... development
  35. -----------------------------------------------------------------------
  36. -- Via Xenolink 1.981, XenolinkUUCP 1.1
  37.