home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BK-SC1_3.DMS / in.adf / C-Incl.Lha / pragma / battmem_lib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-02  |  616 b   |  30 lines

  1. #ifndef _INCLUDE_PRAGMA_BATTMEM_LIB_H
  2. #define _INCLUDE_PRAGMA_BATTMEM_LIB_H
  3.  
  4. /*
  5. **  $VER: battmem_lib.h 10.1 (19.7.95)
  6. **  Includes Release 40.15
  7. **
  8. **  '(C) Copyright 1995/96 Haage & Partner Computer GmbH'
  9. **     All Rights Reserved
  10. */
  11.  
  12. #ifndef  CLIB_BATTMEM_PROTOS_H
  13. #include <clib/battmem_protos.h>
  14. #endif
  15.  
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19.  
  20. #pragma amicall(BattMemBase, 0x6, ObtainBattSemaphore())
  21. #pragma amicall(BattMemBase, 0xc, ReleaseBattSemaphore())
  22. #pragma amicall(BattMemBase, 0x12, ReadBattMem(a0,d0,d1))
  23. #pragma amicall(BattMemBase, 0x18, WriteBattMem(a0,d0,d1))
  24.  
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28.  
  29. #endif
  30.