1 /* Automatically generated header! Do not edit! */ 2 3 #ifndef _PPCINLINE_LOWLEVEL_H 4 #define _PPCINLINE_LOWLEVEL_H 5 6 #ifndef __PPCINLINE_MACROS_H 7 #include <ppcinline/macros.h> 8 #endif /* !__PPCINLINE_MACROS_H */ 9 10 #ifndef LOWLEVEL_BASE_NAME 11 #define LOWLEVEL_BASE_NAME LowLevelBase 12 #endif /* !LOWLEVEL_BASE_NAME */ 13 14 #define GetKey() \ 15 LP0(48, ULONG , GetKey, \ 16 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 17 18 #define RemTimerInt(__p0) \ 19 LP1NR(84, RemTimerInt, \ 20 APTR , __p0, a1, \ 21 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 22 23 #define QueryKeys(__p0, __p1) \ 24 LP2NR(54, QueryKeys, \ 25 struct KeyQuery *, __p0, a0, \ 26 ULONG , __p1, d1, \ 27 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 28 29 #define ReadJoyPort(__p0) \ 30 LP1(30, ULONG , ReadJoyPort, \ 31 ULONG , __p0, d0, \ 32 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 33 34 #define StartTimerInt(__p0, __p1, __p2) \ 35 LP3NR(96, StartTimerInt, \ 36 APTR , __p0, a1, \ 37 ULONG , __p1, d0, \ 38 LONG , __p2, d1, \ 39 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 40 41 #define AddKBInt(__p0, __p1) \ 42 LP2(60, APTR , AddKBInt, \ 43 CONST APTR , __p0, a0, \ 44 CONST APTR , __p1, a1, \ 45 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 46 47 #define SystemControlA(__p0) \ 48 LP1(72, ULONG , SystemControlA, \ 49 CONST struct TagItem *, __p0, a1, \ 50 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 51 52 #define StopTimerInt(__p0) \ 53 LP1NR(90, StopTimerInt, \ 54 APTR , __p0, a1, \ 55 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 56 57 #define AddTimerInt(__p0, __p1) \ 58 LP2(78, APTR , AddTimerInt, \ 59 CONST APTR , __p0, a0, \ 60 CONST APTR , __p1, a1, \ 61 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 62 63 #define RemVBlankInt(__p0) \ 64 LP1NR(114, RemVBlankInt, \ 65 APTR , __p0, a1, \ 66 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 67 68 #define RemKBInt(__p0) \ 69 LP1NR(66, RemKBInt, \ 70 APTR , __p0, a1, \ 71 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 72 73 #define ElapsedTime(__p0) \ 74 LP1(102, ULONG , ElapsedTime, \ 75 struct EClockVal *, __p0, a0, \ 76 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 77 78 #define AddVBlankInt(__p0, __p1) \ 79 LP2(108, APTR , AddVBlankInt, \ 80 CONST APTR , __p0, a0, \ 81 CONST APTR , __p1, a1, \ 82 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 83 84 #define SetJoyPortAttrsA(__p0, __p1) \ 85 LP2(132, BOOL , SetJoyPortAttrsA, \ 86 ULONG , __p0, d0, \ 87 CONST struct TagItem *, __p1, a1, \ 88 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 89 90 #define GetLanguageSelection() \ 91 LP0(36, UBYTE , GetLanguageSelection, \ 92 , LOWLEVEL_BASE_NAME, 0, 0, 0, 0, 0, 0) 93 94 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__) 95 96 #include <stdarg.h> 97 98 #define SystemControl(...) \ 99 ({ULONG _tags[] = { __VA_ARGS__ }; \ 100 SystemControlA((CONST struct TagItem *)_tags);}) 101 102 #define SetJoyPortAttrs(__p0, ...) \ 103 ({ULONG _tags[] = { __VA_ARGS__ }; \ 104 SetJoyPortAttrsA(__p0, (CONST struct TagItem *)_tags);}) 105 106 #endif 107 108 #endif /* !_PPCINLINE_LOWLEVEL_H */