home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / STORM2.DMS / in.adf / Includes.LHA / pragma / timer_lib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-01  |  579 b   |  28 lines

  1. // pragmas for timer.library
  2. // (c) 1995 HAAGE & PARTNER Computer GmbH
  3.  
  4. #ifndef _INCLUDE_PRAGMA_TIMER_LIB_H
  5. #define _INCLUDE_PRAGMA_TIMER_LIB_H
  6.  
  7. #ifndef  CLIB_TIMER_PROTOS_H
  8. #include <clib/timer_protos.h>
  9. #endif
  10.  
  11. #ifdef __cplusplus
  12. #define CPLUSPLUSON
  13. #pragma -
  14. #endif
  15.  
  16. #pragma amicall(TimerBase, 0x2a, AddTime(a0,a1))
  17. #pragma amicall(TimerBase, 0x30, SubTime(a0,a1))
  18. #pragma amicall(TimerBase, 0x36, CmpTime(a0,a1))
  19. #pragma amicall(TimerBase, 0x3c, ReadEClock(a0))
  20. #pragma amicall(TimerBase, 0x42, GetSysTime(a0))
  21.  
  22. #ifdef CPLUSPLUSON
  23. #undef CPLUSPLUSON
  24. #pragma +
  25. #endif
  26.  
  27. #endif
  28.