/* Automatically generated header (sfdc 1.11f)! Do not edit! */ #ifndef _INLINE_LOWLEVEL_H #define _INLINE_LOWLEVEL_H #ifndef _SFDC_VARARG_DEFINED #define _SFDC_VARARG_DEFINED #ifdef __HAVE_IPTR_ATTR__ typedef APTR _sfdc_vararg __attribute__((iptr)); #else typedef ULONG _sfdc_vararg; #endif /* __HAVE_IPTR_ATTR__ */ #endif /* _SFDC_VARARG_DEFINED */ ULONG __ReadJoyPort(__reg("a6") struct Library * , __reg("d0") ULONG port ) = "\tjsr\t-30(a6)"; #define ReadJoyPort(port) __ReadJoyPort(LowLevelBase, (port)) UBYTE __GetLanguageSelection(__reg("a6") struct Library * ) = "\tjsr\t-36(a6)"; #define GetLanguageSelection() __GetLanguageSelection(LowLevelBase) ULONG __GetKey(__reg("a6") struct Library * ) = "\tjsr\t-48(a6)"; #define GetKey() __GetKey(LowLevelBase) VOID __QueryKeys(__reg("a6") struct Library * , __reg("a0") struct KeyQuery * queryArray , __reg("d1") LONG arraySize ) = "\tjsr\t-54(a6)"; #define QueryKeys(queryArray, arraySize) __QueryKeys(LowLevelBase, (queryArray), (arraySize)) APTR __AddKBInt(__reg("a6") struct Library * , __reg("a0") APTR intRoutine , __reg("a1") APTR intData ) = "\tjsr\t-60(a6)"; #define AddKBInt(intRoutine, intData) __AddKBInt(LowLevelBase, (intRoutine), (intData)) VOID __RemKBInt(__reg("a6") struct Library * , __reg("a1") APTR intHandle ) = "\tjsr\t-66(a6)"; #define RemKBInt(intHandle) __RemKBInt(LowLevelBase, (intHandle)) ULONG __SystemControlA(__reg("a6") struct Library * , __reg("a1") CONST struct TagItem * tagList ) = "\tjsr\t-72(a6)"; #define SystemControlA(tagList) __SystemControlA(LowLevelBase, (tagList)) #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L) ULONG __SystemControl(__reg("a6") struct Library * , Tag firstTag , ... ) = "\tmove.l\ta1,-(a7)\n\tlea\t4(a7),a1\n\tjsr\t-72(a6)\n\tmovea.l\t(a7)+,a1"; #define SystemControl(...) __SystemControl(LowLevelBase, __VA_ARGS__) #endif APTR __AddTimerInt(__reg("a6") struct Library * , __reg("a0") APTR intRoutine , __reg("a1") APTR intData ) = "\tjsr\t-78(a6)"; #define AddTimerInt(intRoutine, intData) __AddTimerInt(LowLevelBase, (intRoutine), (intData)) VOID __RemTimerInt(__reg("a6") struct Library * , __reg("a1") APTR intHandle ) = "\tjsr\t-84(a6)"; #define RemTimerInt(intHandle) __RemTimerInt(LowLevelBase, (intHandle)) VOID __StopTimerInt(__reg("a6") struct Library * , __reg("a1") APTR intHandle ) = "\tjsr\t-90(a6)"; #define StopTimerInt(intHandle) __StopTimerInt(LowLevelBase, (intHandle)) VOID __StartTimerInt(__reg("a6") struct Library * , __reg("a1") APTR intHandle , __reg("d0") ULONG timeInterval , __reg("d1") BOOL continuous ) = "\tjsr\t-96(a6)"; #define StartTimerInt(intHandle, timeInterval, continuous) __StartTimerInt(LowLevelBase, (intHandle), (timeInterval), (continuous)) ULONG __ElapsedTime(__reg("a6") struct Library * , __reg("a0") struct EClockVal * context ) = "\tjsr\t-102(a6)"; #define ElapsedTime(context) __ElapsedTime(LowLevelBase, (context)) APTR __AddVBlankInt(__reg("a6") struct Library * , __reg("a0") APTR intRoutine , __reg("a1") APTR intData ) = "\tjsr\t-108(a6)"; #define AddVBlankInt(intRoutine, intData) __AddVBlankInt(LowLevelBase, (intRoutine), (intData)) VOID __RemVBlankInt(__reg("a6") struct Library * , __reg("a1") APTR intHandle ) = "\tjsr\t-114(a6)"; #define RemVBlankInt(intHandle) __RemVBlankInt(LowLevelBase, (intHandle)) BOOL __SetJoyPortAttrsA(__reg("a6") struct Library * , __reg("d0") ULONG portNumber , __reg("a1") CONST struct TagItem * tagList ) = "\tjsr\t-132(a6)"; #define SetJoyPortAttrsA(portNumber, tagList) __SetJoyPortAttrsA(LowLevelBase, (portNumber), (tagList)) #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L) BOOL __SetJoyPortAttrs(__reg("a6") struct Library * , __reg("d0") ULONG portNumber , Tag _tag1 , ... ) = "\tmove.l\ta1,-(a7)\n\tlea\t4(a7),a1\n\tjsr\t-132(a6)\n\tmovea.l\t(a7)+,a1"; #define SetJoyPortAttrs(portNumber, ...) __SetJoyPortAttrs(LowLevelBase, (portNumber), __VA_ARGS__) #endif #endif /* !_INLINE_LOWLEVEL_H */