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

  1. // pragmas for nonvolatile.library
  2. // (c) 1995 HAAGE & PARTNER Computer GmbH
  3.  
  4. // New in V40
  5. #ifndef _INCLUDE_PRAGMA_NONVOLATILE_LIB_H
  6. #define _INCLUDE_PRAGMA_NONVOLATILE_LIB_H
  7.  
  8. #ifndef  CLIB_NONVOLATILE_PROTOS_H
  9. #include <clib/nonvolatile_protos.h>
  10. #endif
  11.  
  12. #ifdef __cplusplus
  13. #define CPLUSPLUSON
  14. #pragma -
  15. #endif
  16.  
  17. #pragma amicall(NVBase, 0x1e, GetCopyNV(a0,a1,d1))
  18. #pragma amicall(NVBase, 0x24, FreeNVData(a0))
  19. #pragma amicall(NVBase, 0x2a, StoreNV(a0,a1,a2,d0,d1))
  20. #pragma amicall(NVBase, 0x30, DeleteNV(a0,a1,d1))
  21. #pragma amicall(NVBase, 0x36, GetNVInfo(d1))
  22. #pragma amicall(NVBase, 0x3c, GetNVList(a0,d1))
  23. #pragma amicall(NVBase, 0x42, SetNVProtection(a0,a1,d2,d1))
  24.  
  25. #ifdef CPLUSPLUSON
  26. #undef CPLUSPLUSON
  27. #pragma +
  28. #endif
  29.  
  30. #endif
  31.