home *** CD-ROM | disk | FTP | other *** search
- // pragmas for timer.library
- // (c) Maxon Computer 1994
- #ifndef _INCLUDE_PRAGMA_TIMER_LIB_H
- #define _INCLUDE_PRAGMA_TIMER_LIB_H
-
- #ifdef __cplusplus
- #define CPLUSPLUSON
- #pragma -
- #endif
-
- #include <clib/timer_protos.h>
-
- #pragma amicall(TimerBase, 0x2a, AddTime(a0,a1))
- #pragma amicall(TimerBase, 0x30, SubTime(a0,a1))
- #pragma amicall(TimerBase, 0x36, CmpTime(a0,a1))
- #pragma amicall(TimerBase, 0x3c, ReadEClock(a0))
- #pragma amicall(TimerBase, 0x42, GetSysTime(a0))
-
- #ifdef CPLUSPLUSON
- #undef CPLUSPLUSON
- #pragma +
- #endif
-
- #endif
-