home *** CD-ROM | disk | FTP | other *** search
- // pragmas for battmem.library
- // (c) Maxon Computer 1994
- #ifndef _INCLUDE_PRAGMA_BATTMEM_LIB_H
- #define _INCLUDE_PRAGMA_BATTMEM_LIB_H
-
- #ifdef __cplusplus
- #define CPLUSPLUSON
- #pragma -
- #endif
-
- #include <clib/battmem_protos.h>
-
- #pragma amicall(BattMemBase, 0x6, ObtainBattSemaphore())
- #pragma amicall(BattMemBase, 0xc, ReleaseBattSemaphore())
- #pragma amicall(BattMemBase, 0x12, ReadBattMem(a0,d0,d1))
- #pragma amicall(BattMemBase, 0x18, WriteBattMem(a0,d0,d1))
-
- #ifdef CPLUSPLUSON
- #undef CPLUSPLUSON
- #pragma +
- #endif
-
- #endif
-