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