home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 5 / CD_Magazyn_EXEC_nr_5.iso / Programy / MorphOS / morphosdev-150201.lha / emulinclude / includenew.diffs < prev    next >
Encoding:
Text File  |  2001-02-14  |  1.8 MB  |  51,038 lines

Text Truncated. Only the first 1MB is shown below. Download the file for the complete contents.
  1. Only in include_h/clib: alib_protos.h
  2. Only in include_h/clib: alib_stdio_protos.h
  3. Only in include_h/clib: all_protos.h
  4. Only in include_h/clib: amigaguide_protos.h
  5. diff -c2 -d -P -r include_h/clib/amigaguide_varprotos.h includenew/clib/amigaguide_varprotos.h
  6. *** include_h/clib/amigaguide_varprotos.h    Thu Jan  1 00:00:00 1970
  7. --- includenew/clib/amigaguide_varprotos.h    Wed Feb 14 02:41:07 2001
  8. ***************
  9. *** 0 ****
  10. --- 1,13 ----
  11. + #ifndef  CLIB_AMIGAGUIDE_VARPROTOS_H
  12. + #define  CLIB_AMIGAGUIDE_VARPROTOS_H
  13. + APTR OpenAmigaGuide( struct NewAmigaGuide *nag, Tag tag1, ... );
  14. + APTR OpenAmigaGuideAsync( struct NewAmigaGuide *nag, Tag tag1, ... );
  15. + LONG SetAmigaGuideContext( APTR cl, unsigned long id, Tag tag1, ... );
  16. + LONG SendAmigaGuideContext( APTR cl, Tag tag1, ... );
  17. + LONG SendAmigaGuideCmd( APTR cl, STRPTR cmd, Tag tag1, ... );
  18. + LONG SetAmigaGuideAttrs( APTR cl, Tag tag1, ... );
  19. + APTR AddAmigaGuideHost( struct Hook *h, STRPTR name, Tag tag1, ... );
  20. + LONG RemoveAmigaGuideHost( APTR hh, Tag tag1, ... );
  21. + #endif
  22. Only in include_h/clib: asl_protos.h
  23. diff -c2 -d -P -r include_h/clib/asl_varprotos.h includenew/clib/asl_varprotos.h
  24. *** include_h/clib/asl_varprotos.h    Thu Jan  1 00:00:00 1970
  25. --- includenew/clib/asl_varprotos.h    Wed Feb 14 02:41:07 2001
  26. ***************
  27. *** 0 ****
  28. --- 1,7 ----
  29. + #ifndef  CLIB_ASL_VARPROTOS_H
  30. + #define  CLIB_ASL_VARPROTOS_H
  31. + APTR AllocAslRequestTags( unsigned long reqType, Tag Tag1, ... );
  32. + BOOL AslRequestTags( APTR requester, Tag Tag1, ... );
  33. + #endif
  34. Only in include_h/clib: battclock_protos.h
  35. Only in include_h/clib: battmem_protos.h
  36. Only in include_h/clib: bullet_protos.h
  37. diff -c2 -d -P -r include_h/clib/bullet_varprotos.h includenew/clib/bullet_varprotos.h
  38. *** include_h/clib/bullet_varprotos.h    Thu Jan  1 00:00:00 1970
  39. --- includenew/clib/bullet_varprotos.h    Wed Feb 14 02:41:07 2001
  40. ***************
  41. *** 0 ****
  42. --- 1,15 ----
  43. + #ifndef  CLIB_BULLET_PROTOS_H
  44. + #define  CLIB_BULLET_PROTOS_H
  45. + #ifndef  UTILITY_TAGITEM_H
  46. + #include <utility/tagitem.h>
  47. + #endif
  48. + #ifndef  DISKFONT_GLYPH_H
  49. + #include <diskfont/glyph.h>
  50. + #endif
  51. + ULONG SetInfo( struct GlyphEngine *glyphEngine, Tag tag1, ... );
  52. + ULONG ObtainInfo( struct GlyphEngine *glyphEngine, Tag tag1, ... );
  53. + ULONG ReleaseInfo( struct GlyphEngine *glyphEngine, Tag tag1, ... );
  54. + #endif
  55. Only in include_h/clib: cardres_protos.h
  56. diff -c2 -d -P -r include_h/clib/cgxdither_protos.h includenew/clib/cgxdither_protos.h
  57. *** include_h/clib/cgxdither_protos.h    Thu Jan  1 00:00:00 1970
  58. --- includenew/clib/cgxdither_protos.h    Wed Feb 14 02:41:07 2001
  59. ***************
  60. *** 0 ****
  61. --- 1,43 ----
  62. + #include    <exec/types.h>
  63. + typedef    APTR    DITHERINFO;
  64. + DITHERINFO    CreateDitherInfo(struct ViewPort    *vp,
  65. +                                  struct RastPort    *rp,
  66. +                                  ULONG            *RGBCM,
  67. +                                  LONG            Size,
  68. +                                  BOOL            SharePens,
  69. +                                  BOOL            UseColour);
  70. + VOID DeleteDitherInfo(DITHERINFO    di);
  71. + BOOL SetDitherMode(DITHERINFO di,
  72. +            ULONG mode);
  73. + BOOL ConvertMap(struct BitMap    *SourceBitMap,
  74. +                 struct BitMap    *DestBitMap,
  75. +                 long  left,
  76. +                 long  top,
  77. +                 long  width,
  78. +                 long  height,
  79. +         unsigned long flags);
  80. + BOOL    DitherMap(struct BitMap    *SourceBitMap,
  81. +                   struct BitMap    *DestBitMap,
  82. +                   DITHERINFO di);
  83. + void    MapHistogram(struct BitMap    *BitMap,
  84. +              ULONG        *HistogramArray);
  85. + ULONG RemapMapColours(struct BitMap    *sBitMap,
  86. +                       struct BitMap    *dBitMap,
  87. +               UBYTE        *RemapPenArray1,
  88. +               UBYTE        *RemapPenArray2,
  89. +                   struct ColorMap    *RemapColorMap,
  90. +               ULONG        Flags);
  91. + struct BitMap *CreateMapMask(struct BitMap    *sBitMap,
  92. +                 ULONG    transColour,
  93. +                   ULONG        Flags);
  94. + void    FreeMapMask(struct BitMap    *maskBitMap);
  95. diff -c2 -d -P -r include_h/clib/cgxsystem_protos.h includenew/clib/cgxsystem_protos.h
  96. *** include_h/clib/cgxsystem_protos.h    Thu Jan  1 00:00:00 1970
  97. --- includenew/clib/cgxsystem_protos.h    Wed Feb 14 02:41:07 2001
  98. ***************
  99. *** 0 ****
  100. --- 1,12 ----
  101. + typedef APTR SLayer;
  102. + struct Region *InstallTransparentRegion(SLayer,
  103. +                                         struct Region *);
  104. + struct Hook *InstallTransparentRegionHook(SLayer,
  105. +                                           struct Hook *);
  106. + ULONG   ShowWindow(struct Window *);
  107. + ULONG   HideWindow(struct Window *);
  108. diff -c2 -d -P -r include_h/clib/cgxvideo_protos.h includenew/clib/cgxvideo_protos.h
  109. *** include_h/clib/cgxvideo_protos.h    Thu Jan  1 00:00:00 1970
  110. --- includenew/clib/cgxvideo_protos.h    Wed Feb 14 02:41:07 2001
  111. ***************
  112. *** 0 ****
  113. --- 1,31 ----
  114. + #ifndef CLIB_CGXVIDEO_H
  115. + #define CLIB_CGXVIDEO_H
  116. + #ifndef UTILITY_TAGITEM_H
  117. + #include <utility/tagitem.h>
  118. + #endif
  119. + struct VLayerHandle *CreateVLayerHandleTagList(struct Screen *,struct TagItem *);
  120. + ULONG DeleteVLayerHandle(struct VLayerHandle *);
  121. + ULONG AttachVLayerTagList(struct VLayerHandle *,struct Window *,struct TagItem *);
  122. + ULONG DetachVLayer(struct VLayerHandle *);
  123. + ULONG GetVLayerAttr(struct VLayerHandle *,ULONG AttrID);
  124. + ULONG UnlockVLayer(struct VLayerHandle *);
  125. + ULONG LockVLayer(struct VLayerHandle *);
  126. + void SetVLayerAttrTagList(struct VLayerHandle *,struct TagItem *);
  127. + ULONG AttachVLayerTags(struct VLayerHandle *,struct Window *,Tag, ...);
  128. + struct VLayerHandle *CreateVLayerHandleTags(struct Screen *,Tag, ...);
  129. + void SetVLayerAttrTags(struct VLayerHandle *,Tag, ...);
  130. + #endif
  131. Only in include_h/clib: cia_protos.h
  132. Only in include_h/clib: colorwheel_protos.h
  133. Only in include_h/clib: commodities_protos.h
  134. Only in include_h/clib: console_protos.h
  135. diff -c2 -d -P -r include_h/clib/cybergraphics_protos.h includenew/clib/cybergraphics_protos.h
  136. *** include_h/clib/cybergraphics_protos.h    Thu Jan  1 00:00:00 1970
  137. --- includenew/clib/cybergraphics_protos.h    Wed Feb 14 02:41:07 2001
  138. ***************
  139. *** 0 ****
  140. --- 1,55 ----
  141. + /*
  142. + **    $VER: cybergraphics_protos.h 41.18 (21.02.1998)
  143. + **
  144. + **    C prototypes for cybergraphics.library
  145. + **
  146. + **    Copyright © 1996-1998 by phase5 digital products
  147. + **      All Rights reserved.
  148. + **
  149. + */
  150. + #ifndef CLIB_CYBERGRAPHICS_H
  151. + #define CLIB_CYBERGRAPHICS_H 1
  152. + #ifndef UTILITY_TAGITEM_H
  153. + #include <utility/tagitem.h>
  154. + #endif
  155. + struct List *AllocCModeListTagList(struct TagItem *);
  156. + struct List *AllocCModeListTags(Tag, ...);
  157. + ULONG        BestCModeIDTagList(struct TagItem *);
  158. + ULONG        BestCModeIDTags(Tag, ...);
  159. + ULONG        CModeRequestTagList(APTR, struct TagItem *);
  160. + ULONG        CModeRequestTags(APTR, Tag, ...);
  161. + void         CVideoCtrlTagList(struct ViewPort *, struct TagItem *);
  162. + void         CVideoCtrlTags(struct ViewPort *, Tag tag1, ...);
  163. + void         DoCDrawMethodTagList(struct Hook *, struct RastPort *, struct TagItem *);
  164. + void         DoCDrawMethodTags(struct Hook *, struct RastPort *, Tag, ...);
  165. + ULONG         ExtractColor(struct RastPort *,struct BitMap *,ULONG,ULONG,ULONG,ULONG,ULONG);
  166. + ULONG        FillPixelArray(struct RastPort *, UWORD, UWORD, UWORD, UWORD, ULONG);
  167. + void         FreeCModeList(struct List *);
  168. + ULONG        GetCyberIDAttr(ULONG, ULONG);
  169. + ULONG        GetCyberMapAttr(struct BitMap *, ULONG);
  170. + ULONG        InvertPixelArray(struct RastPort *, UWORD, UWORD, UWORD, UWORD);
  171. + BOOL         IsCyberModeID(ULONG);
  172. + APTR         LockBitMapTagList(APTR,struct TagItem *);
  173. + APTR         LockBitMapTags(APTR, Tag, ...);
  174. + ULONG        MovePixelArray(UWORD, UWORD, struct RastPort *, UWORD, UWORD, UWORD,
  175. +                             UWORD);
  176. + ULONG        ReadPixelArray(APTR, UWORD, UWORD, UWORD, struct RastPort *, UWORD,
  177. +                             UWORD, UWORD, UWORD, UBYTE);
  178. + ULONG        ReadRGBPixel(struct RastPort *, UWORD, UWORD);
  179. + LONG         ScalePixelArray(APTR,UWORD,UWORD,UWORD,struct RastPort *,UWORD,
  180. +                  UWORD,UWORD,UWORD,UBYTE);
  181. + void         UnLockBitMap(APTR);
  182. + ULONG        WritePixelArray(APTR, UWORD, UWORD, UWORD, struct RastPort *, UWORD,
  183. +                              UWORD, UWORD, UWORD, UBYTE);
  184. + ULONG        WriteLUTPixelArray(APTR, UWORD, UWORD, UWORD, struct RastPort *, APTR,
  185. +                     UWORD, UWORD, UWORD, UWORD, UBYTE);
  186. + LONG         WriteRGBPixel(struct RastPort *, UWORD, UWORD, ULONG);
  187. + void         UnLockBitMapTagList(APTR, struct TagItem *);
  188. + void         UnLockBitMapTags(APTR, Tag, ...);
  189. + void         NewOwnCyberMap(APTR);
  190. + void         NewDisOwnCyberMap(APTR);
  191. + #endif /* !CLIB_CYBERGRAPHICS_H */
  192. Only in include_h/clib: datatypes_protos.h
  193. diff -c2 -d -P -r include_h/clib/datatypes_varprotos.h includenew/clib/datatypes_varprotos.h
  194. *** include_h/clib/datatypes_varprotos.h    Thu Jan  1 00:00:00 1970
  195. --- includenew/clib/datatypes_varprotos.h    Wed Feb 14 02:41:08 2001
  196. ***************
  197. *** 0 ****
  198. --- 1,18 ----
  199. + #ifndef  CLIB_DATATYPES_VARPROTOS_H
  200. + #define  CLIB_DATATYPES_VARPROTOS_H
  201. + struct DataType *ObtainDataType( unsigned long type, APTR handle, Tag Tag1,
  202. +     ... );
  203. + Object *NewDTObject( APTR name, Tag Tag1, ... );
  204. + ULONG SetDTAttrs( Object *o, struct Window *win, struct Requester *req,
  205. +     Tag Tag1, ... );
  206. + ULONG GetDTAttrs( Object *o, Tag Tag1, ... );
  207. + #if 0
  208. + void RefreshDTObjects( Object *o, struct Window *win, struct Requester *req,
  209. +     Tag Tag1, ... );
  210. + ULONG DoDTMethod( Object *o, struct Window *win, struct Requester *req,
  211. +     unsigned long data, ... );
  212. + ULONG PrintDTObject( Object *o, struct Window *w, struct Requester *r,
  213. +     unsigned long data, ... );
  214. + #endif
  215. + #endif
  216. Only in include_h/clib: disk_protos.h
  217. Only in include_h/clib: diskfont_protos.h
  218. Only in include_h/clib: dos_protos.h
  219. diff -c2 -d -P -r include_h/clib/dos_varprotos.h includenew/clib/dos_varprotos.h
  220. *** include_h/clib/dos_varprotos.h    Thu Jan  1 00:00:00 1970
  221. --- includenew/clib/dos_varprotos.h    Wed Feb 14 02:41:07 2001
  222. ***************
  223. *** 0 ****
  224. --- 1,9 ----
  225. + #ifndef  CLIB_DOS_VARPROTOS_H
  226. + #define  CLIB_DOS_VARPROTOS_H
  227. + APTR AllocDosObjectTags( unsigned long type, unsigned long tag1type, ... );
  228. + struct Process *CreateNewProcTags( unsigned long tag1type, ... );
  229. + LONG SystemTags( STRPTR command, unsigned long tag1type, ... );
  230. + BPTR NewLoadSegTags( STRPTR file, unsigned long tag1type, ... );
  231. + #endif
  232. Only in include_h/clib: dtclass_protos.h
  233. diff -c2 -d -P -r include_h/clib/exec_protos.h includenew/clib/exec_protos.h
  234. *** include_h/clib/exec_protos.h    Wed Feb 14 02:41:38 2001
  235. --- includenew/clib/exec_protos.h    Wed Feb 14 02:41:07 2001
  236. ***************
  237. *** 3,8 ****
  238.   
  239.   /*
  240. ! **    $VER: exec_protos.h 39.15 (1.10.93)
  241. ! **    Includes Release 40.15
  242.   **
  243.   **    C prototypes. For use with 32 bit integers only.
  244. --- 3,8 ----
  245.   
  246.   /*
  247. ! **    $VER: exec_protos.h 39.14 (15.2.93)
  248. ! **    Includes Release 40.13
  249.   **
  250.   **    C prototypes. For use with 32 bit integers only.
  251. ***************
  252. *** 18,23 ****
  253.   #include <exec/tasks.h>
  254.   #endif
  255.   /*------ misc ---------------------------------------------------------*/
  256. ! ULONG Supervisor( unsigned long (*userFunction)() );
  257.   /*------ special patchable hooks to internal exec activity ------------*/
  258.   /*------ module creation ----------------------------------------------*/
  259. --- 18,24 ----
  260.   #include <exec/tasks.h>
  261.   #endif
  262. + #include <stdarg.h>
  263.   /*------ misc ---------------------------------------------------------*/
  264. ! ULONG Supervisor( unsigned long (*userFunction)(void) );
  265.   /*------ special patchable hooks to internal exec activity ------------*/
  266.   /*------ module creation ----------------------------------------------*/
  267. ***************
  268. *** 25,29 ****
  269.   void InitStruct( APTR initTable, APTR memory, unsigned long size );
  270.   struct Library *MakeLibrary( APTR funcInit, APTR structInit,
  271. !     unsigned long (*libInit)(), unsigned long dataSize,
  272.       unsigned long segList );
  273.   void MakeFunctions( APTR target, APTR functionArray,
  274. --- 26,30 ----
  275.   void InitStruct( APTR initTable, APTR memory, unsigned long size );
  276.   struct Library *MakeLibrary( APTR funcInit, APTR structInit,
  277. !     unsigned long (*libInit)(void), unsigned long dataSize,
  278.       unsigned long segList );
  279.   void MakeFunctions( APTR target, APTR functionArray,
  280. ***************
  281. *** 92,96 ****
  282.   void CloseLibrary( struct Library *library );
  283.   APTR SetFunction( struct Library *library, long funcOffset,
  284. !     unsigned long (*newFunction)() );
  285.   void SumLibrary( struct Library *library );
  286.   /*------ devices ------------------------------------------------------*/
  287. --- 93,97 ----
  288.   void CloseLibrary( struct Library *library );
  289.   APTR SetFunction( struct Library *library, long funcOffset,
  290. !     unsigned long (*newFunction)(void) );
  291.   void SumLibrary( struct Library *library );
  292.   /*------ devices ------------------------------------------------------*/
  293. ***************
  294. *** 111,116 ****
  295.   /*------ private diagnostic support -----------------------------------*/
  296.   /*------ misc ---------------------------------------------------------*/
  297. ! APTR RawDoFmt( UBYTE *formatString, APTR dataStream, void (*putChProc)(),
  298. !     APTR putChData );
  299.   ULONG GetCC( void );
  300.   ULONG TypeOfMem( APTR address );
  301. --- 112,120 ----
  302.   /*------ private diagnostic support -----------------------------------*/
  303.   /*------ misc ---------------------------------------------------------*/
  304. ! void    RawIOInit(void);
  305. ! UBYTE    RawMayGetChar(void);
  306. ! APTR    RawDoFmt( UBYTE *formatString, APTR dataStream, void (*putChProc)(void),APTR putChData );
  307. ! void    RawPutChar(UBYTE MyChar);
  308.   ULONG GetCC( void );
  309.   ULONG TypeOfMem( APTR address );
  310. ***************
  311. *** 162,168 ****
  312.   void ColdReboot( void );
  313.   void StackSwap( struct StackSwapStruct *newStack );
  314.   /*------ task trees ---------------------------------------------------*/
  315. - void ChildFree( APTR tid );
  316. - void ChildOrphan( APTR tid );
  317.   void ChildStatus( APTR tid );
  318.   void ChildWait( APTR tid );
  319. --- 166,175 ----
  320.   void ColdReboot( void );
  321.   void StackSwap( struct StackSwapStruct *newStack );
  322. + /*------ New, for PPC --------*/
  323. + ULONG NewGetTaskAttrsA(struct Task*,void*,ULONG,ULONG,struct TagItem*);
  324. + ULONG NewGetTaskAttrs(struct Task*,void*,ULONG,ULONG,...);
  325. + ULONG NewSetTaskAttrsA(struct Task*,void*,ULONG,ULONG,struct TagItem*);
  326. + ULONG NewSetTaskAttrs(struct Task*,void*,ULONG,ULONG,...);
  327.   /*------ task trees ---------------------------------------------------*/
  328.   void ChildStatus( APTR tid );
  329.   void ChildWait( APTR tid );
  330. ***************
  331. *** 177,179 ****
  332. --- 184,207 ----
  333.   /*------ Function to attempt to obtain a Quick Interrupt Vector...*/
  334.   ULONG ObtainQuickVector( APTR interruptCode );
  335. + /*------ New, for PPC --------*/
  336. + struct Library*    NewCreateLibrary(struct TagItem* Tags);
  337. + APTR    NewSetFunction(struct Library* MyLibrary,void* MyFunction,LONG Offset,struct TagItem* Tags);
  338. + ULONG    NewPPCStackSwap(struct StackSwapStruct *newStack,void* MyFunction,struct PPCStackSwapArgs *Args);
  339. + void    *TaggedOpenLibrary(LONG Tag);
  340. + /* PPC only */
  341. + void*    NewRawDoFmt(char    *FmtString,void*    PutChProc,char    *PutChData,va_list    args);
  342. + void    CacheFlushDataArea(void    *Address,ULONG Size);
  343. + void    CacheInvalidInstArea(void    *Address,ULONG Size);
  344. + void    CacheInvalidDataArea(void    *Address,ULONG Size);
  345. + void    CacheFlushDataInstArea(void    *Address,ULONG Size);
  346. + void    CacheTrashCacheArea(void    *Address,ULONG Size);
  347. + void    *AllocTaskPooled(ULONG Size);
  348. + void    FreeTaskPooled(void    *Address,ULONG Size);
  349. + void    *AllocVecTaskPooled(ULONG Size);
  350. + void    FreeVecTaskPooled(void    *Address);
  351. + void    FlushPool(APTR    poolHeader);
  352. + void    FlushTaskPool(void);
  353. + ULONG    ReadGayle(void);
  354.   #endif     /* CLIB_EXEC_PROTOS_H */
  355. Only in include_h/clib: expansion_protos.h
  356. Only in include_h/clib: gadtools_protos.h
  357. diff -c2 -d -P -r include_h/clib/gadtools_varprotos.h includenew/clib/gadtools_varprotos.h
  358. *** include_h/clib/gadtools_varprotos.h    Thu Jan  1 00:00:00 1970
  359. --- includenew/clib/gadtools_varprotos.h    Wed Feb 14 02:41:07 2001
  360. ***************
  361. *** 0 ****
  362. --- 1,30 ----
  363. + #ifndef  CLIB_GADTOOLS_VARPROTOS_H
  364. + #define  CLIB_GADTOOLS_VARPROTOS_H
  365. + #ifndef  EXEC_TYPES_H
  366. + #include <exec/types.h>
  367. + #endif
  368. + #ifndef  INTUITION_INTUITION_H
  369. + #include <intuition/intuition.h>
  370. + #endif
  371. + #ifndef  UTILITY_TAGITEM_H
  372. + #include <utility/tagitem.h>
  373. + #endif
  374. + #ifndef  LIBRARIES_GADTOOLS_H
  375. + #include <libraries/gadtools.h>
  376. + #endif
  377. + struct Gadget *CreateGadget( unsigned long kind, struct Gadget *gad,
  378. +     struct NewGadget *ng, Tag tag1, ... );
  379. + void GT_SetGadgetAttrs( struct Gadget *gad, struct Window *win,
  380. +     struct Requester *req, Tag tag1, ... );
  381. + struct Menu *CreateMenus( struct NewMenu *newmenu, Tag tag1, ... );
  382. + BOOL LayoutMenuItems( struct MenuItem *firstitem, APTR vi, Tag tag1, ... );
  383. + BOOL LayoutMenus( struct Menu *firstmenu, APTR vi, Tag tag1, ... );
  384. + void DrawBevelBox( struct RastPort *rport, long left, long top, long width,
  385. +     long height, Tag tag1, ... );
  386. + APTR GetVisualInfo( struct Screen *screen, Tag tag1, ... );
  387. + LONG GT_GetGadgetAttrs( struct Gadget *gad, struct Window *win,
  388. +     struct Requester *req, Tag tag1, ... );
  389. + #endif
  390. Only in include_h/clib: graphics_protos.h
  391. diff -c2 -d -P -r include_h/clib/graphics_varprotos.h includenew/clib/graphics_varprotos.h
  392. *** include_h/clib/graphics_varprotos.h    Thu Jan  1 00:00:00 1970
  393. --- includenew/clib/graphics_varprotos.h    Wed Feb 14 02:41:07 2001
  394. ***************
  395. *** 0 ****
  396. --- 1,25 ----
  397. + #ifndef  CLIB_GRAPHICS_VARPROTOS_H
  398. + #define  CLIB_GRAPHICS_VARPROTOS_H
  399. + #define AllocSpriteData(a0, tags...) \
  400. +     ({ULONG _tags[] = { tags }; AllocSpriteDataA((a0), (struct TagItem *)_tags);})
  401. + #define BestModeID(tags...) \
  402. +     ({ULONG _tags[] = { tags }; BestModeIDA((struct TagItem *)_tags);})
  403. + #define ChangeExtSprite(a0, a1, a2, tags...) \
  404. +     ({ULONG _tags[] = { tags }; ChangeExtSpriteA((a0), (a1), (a2), (struct TagItem *)_tags);})
  405. + #define ExtendFontTags(a0, tags...) \
  406. +     ({ULONG _tags[] = { tags }; ExtendFont((a0), (struct TagItem *)_tags);})
  407. + #define GetExtSprite(a0, tags...) \
  408. +     ({ULONG _tags[] = { tags }; GetExtSpriteA((a0), (struct TagItem *)_tags);})
  409. + #define GetRPAttrs(a0, tags...) \
  410. +     ({ULONG _tags[] = { tags }; GetRPAttrsA((a0), (struct TagItem *)_tags);})
  411. + #define ObtainBestPen(a0, a1, a2, a3, tags...) \
  412. +     ({ULONG _tags[] = { tags }; ObtainBestPenA((a0), (a1), (a2), (a3), (struct TagItem *)_tags);})
  413. + #define SetRPAttrs(a0, tags...) \
  414. +     ({ULONG _tags[] = { tags }; SetRPAttrsA((a0), (struct TagItem *)_tags);})
  415. + #define VideoControlTags(a0, tags...) \
  416. +     ({ULONG _tags[] = { tags }; VideoControl((a0), (struct TagItem *)_tags);})
  417. + #define WeighTAMatchTags(a0, a1, tags...) \
  418. +     ({ULONG _tags[] = { tags }; WeighTAMatch((a0), (a1), (struct TagItem *)_tags);})
  419. + #endif
  420. Only in include_h/clib: icon_protos.h
  421. Only in include_h/clib: iffparse_protos.h
  422. Only in include_h/clib: input_protos.h
  423. Only in include_h/clib: intuition_protos.h
  424. diff -c2 -d -P -r include_h/clib/intuition_varprotos.h includenew/clib/intuition_varprotos.h
  425. *** include_h/clib/intuition_varprotos.h    Thu Jan  1 00:00:00 1970
  426. --- includenew/clib/intuition_varprotos.h    Wed Feb 14 02:41:08 2001
  427. ***************
  428. *** 0 ****
  429. --- 1,28 ----
  430. + #ifndef  CLIB_INTUITION_VARPROTOS_H
  431. + #define  CLIB_INTUITION_VARPROTOS_H
  432. + #if 0
  433. + LONG EasyRequest( struct Window *window, struct EasyStruct *easyStruct,
  434. +     ULONG *idcmpPtr, ... );
  435. + struct Window *BuildEasyRequest( struct Window *window,
  436. +     struct EasyStruct *easyStruct, unsigned long idcmp, ... );
  437. + #endif
  438. + struct Window *OpenWindowTags( struct NewWindow *newWindow,
  439. +     unsigned long tag1Type, ... );
  440. + struct Screen *OpenScreenTags( struct NewScreen *newScreen,
  441. +     unsigned long tag1Type, ... );
  442. + APTR NewObject( struct IClass *classPtr, UBYTE *classID, unsigned long tag1,
  443. +     ... );
  444. + #ifndef SetAttrs
  445. + ULONG SetAttrs( APTR object, unsigned long tag1, ... );
  446. + #endif
  447. + ULONG SetGadgetAttrs( struct Gadget *gadget, struct Window *window,
  448. +     struct Requester *requester, unsigned long tag1, ... );
  449. + #if 0
  450. + ULONG DoGadgetMethod( struct Gadget *gad, struct Window *win,
  451. +     struct Requester *req, unsigned long MethodID, ... );
  452. + #endif
  453. + void SetWindowPointer( struct Window *win, unsigned long tag1, ... );
  454. + #endif
  455. Only in include_h/clib: keymap_protos.h
  456. Only in include_h/clib: layers_protos.h
  457. Only in include_h/clib: locale_protos.h
  458. diff -c2 -d -P -r include_h/clib/locale_varprotos.h includenew/clib/locale_varprotos.h
  459. *** include_h/clib/locale_varprotos.h    Thu Jan  1 00:00:00 1970
  460. --- includenew/clib/locale_varprotos.h    Wed Feb 14 02:41:08 2001
  461. ***************
  462. *** 0 ****
  463. --- 1,7 ----
  464. + #ifndef  CLIB_LOCALE_VARPROTOS_H
  465. + #define  CLIB_LOCALE_VARPROTOS_H
  466. + struct Catalog *OpenCatalog( struct Locale *locale, STRPTR name, Tag tag1,
  467. +     ... );
  468. + #endif
  469. Only in include_h/clib: lowlevel_protos.h
  470. Only in include_h/clib: macros.h
  471. Only in include_h/clib: mathffp_protos.h
  472. Only in include_h/clib: mathieeedoubbas_protos.h
  473. Only in include_h/clib: mathieeedoubtrans_protos.h
  474. Only in include_h/clib: mathieeesingbas_protos.h
  475. Only in include_h/clib: mathieeesingtrans_protos.h
  476. Only in include_h/clib: mathtrans_protos.h
  477. Only in include_h/clib: misc_protos.h
  478. diff -c2 -d -P -r include_h/clib/muimaster_varprotos.h includenew/clib/muimaster_varprotos.h
  479. *** include_h/clib/muimaster_varprotos.h    Thu Jan  1 00:00:00 1970
  480. --- includenew/clib/muimaster_varprotos.h    Wed Feb 14 02:41:08 2001
  481. ***************
  482. *** 0 ****
  483. --- 1,14 ----
  484. + #ifndef  CLIB_MUIMASTER_VARPROTOS_H
  485. + #define  CLIB_MUIMASTER_VARPROTOS_H
  486. + Object *MUI_NewObject          (char *classname,Tag tag1,...);
  487. + Object *MUI_MakeObject         (LONG type,...);
  488. + #if 0
  489. + LONG    MUI_Request            (APTR app,APTR win,ULONG flags,char *title,char *gadgets,char *format,...);
  490. + #endif
  491. + APTR    MUI_AllocAslRequestTags(unsigned long reqType, Tag Tag1, ...);
  492. + BOOL    MUI_AslRequestTags     (APTR requester, Tag Tag1, ...);
  493. + APTR MUIP_listCreate(LONG tag, ...);
  494. + LONG MUIP_listSetup(struct MagicList *ml, LONG tag, ...);
  495. + #endif
  496. Only in include_h/clib: nonvolatile_protos.h
  497. Only in include_h/clib: potgo_protos.h
  498. diff -c2 -d -P -r include_h/clib/ppc_protos.h includenew/clib/ppc_protos.h
  499. *** include_h/clib/ppc_protos.h    Thu Jan  1 00:00:00 1970
  500. --- includenew/clib/ppc_protos.h    Wed Feb 14 02:41:08 2001
  501. ***************
  502. *** 0 ****
  503. --- 1,138 ----
  504. + #ifndef POWERUP_PPCLIB_PROTOS_H
  505. + #define POWERUP_PPCLIB_PROTOS_H
  506. + void*    PPCLoadObject(char*);
  507. + void    PPCUnLoadObject(void*);
  508. + ULONG    PPCRunObject(void*,void*);
  509. + void*    PPCAllocMem(ULONG,ULONG);
  510. + void    PPCFreeMem(void*,ULONG);
  511. + void*    PPCAllocVec(ULONG,ULONG);
  512. + void*    PPCFreeVec(void*);
  513. + void    *PPCCreateTask(void*,
  514. +                                struct TagItem*);
  515. + void    *PPCCreateTaskTags(void*,
  516. +                                    unsigned long tag1Type, ... );
  517. + BOOL    PPCDeleteTask(void*);
  518. + void    PPCSignalTask(void*,ULONG);
  519. + void    *PPCFindTask(char    *);
  520. + ULONG    PPCRunKernelObject(void*,
  521. +                                    struct ModuleArgs*);
  522. + DOUBLE    PPCRunKernelObjectFPU(void*,
  523. +                                       struct ModuleArgs*);
  524. + ULONG    PPCGetTaskAttrs(void*,
  525. +                                 struct TagItem*);
  526. + ULONG    PPCGetTaskAttrsTags(void*,
  527. +                                     unsigned long tag1Type,
  528. +                                     ...);
  529. + ULONG    PPCGetAttrs(struct TagItem*);
  530. + ULONG    PPCGetAttrsTags(unsigned long tag1Type,
  531. +                                 ...);
  532. + void    *PPCFindTaskObject(void*);
  533. + ULONG    PPCReadLong(ULONG*);
  534. + void    PPCWriteLong(ULONG*,ULONG);
  535. + BOOL    PPCStartTask(void*,
  536. +                              struct TagItem*);
  537. + BOOL    PPCStartTaskTags(void*,
  538. +                                  unsigned long tag1Type, ... );
  539. + BOOL    PPCStopTask(void*,
  540. +                             struct TagItem*);
  541. + BOOL    PPCStopTaskTags(void*,
  542. +                                 unsigned long tag1Type, ... );
  543. + ULONG    PPCSetTaskAttrs(void*,
  544. +                                 struct TagItem*);
  545. + ULONG    PPCSetTaskAttrsTags(void*,
  546. +                                     unsigned long tag1Type,
  547. +                                     ...);
  548. + ULONG    PPCGetObjectAttrs(void*,
  549. +                                   struct PPCObjectInfo*,
  550. +                                   struct TagItem*);
  551. + ULONG    PPCGetObjectAttrsTags(void*,
  552. +                                       struct PPCObjectInfo*,
  553. +                                       unsigned long tag1Type,
  554. +                                       ... );
  555. + void    PPCWriteLongFlush(ULONG*,ULONG);
  556. + UWORD    PPCReadWord(UWORD*);
  557. + void    PPCWriteWord(UWORD*,UWORD);
  558. + UBYTE    PPCReadByte(UBYTE*);
  559. + void    PPCWriteByte(UBYTE*,UBYTE);
  560. + void*    PPCCreatePool(ULONG        MemFlags,
  561. +                               ULONG        PuddleSize,
  562. +                               ULONG        ThreshSize);
  563. + BOOL    PPCDeletePool(void*);
  564. + void*    PPCAllocPooled(void*,
  565. +                                ULONG);
  566. + void    PPCFreePooled(void*,
  567. +                               void*,
  568. +                               ULONG);
  569. + void    PPCFreeVecPooled(void*,
  570. +                                  void*);
  571. + void*    PPCAllocVecPooled(void*,
  572. +                                   ULONG);
  573. + void*    PPCCreatePort(struct TagItem*);
  574. + void*    PPCCreatePortTags(unsigned long tag1Type, ... );
  575. + BOOL    PPCDeletePort(void*);
  576. + void*    PPCObtainPort(struct TagItem*);
  577. + void*    PPCObtainPortTags(unsigned long tag1Type, ... );
  578. + BOOL    PPCReleasePort(void*);
  579. + void*    PPCCreateMessage(void*,
  580. +                                  ULONG);
  581. + void    PPCDeleteMessage(void*);
  582. + ULONG    PPCGetMessageAttr(void*,
  583. +                                   ULONG);
  584. + void*    PPCGetMessage(void*);
  585. + BOOL    PPCReplyMessage(void*);
  586. + BOOL    PPCSendMessage(void*,
  587. +                                void*,
  588. +                                void*,
  589. +                                ULONG,
  590. +                                ULONG);
  591. + void*    PPCWaitPort(void*);
  592. + void    PPCCacheClearE(void*,
  593. +                                ULONG,
  594. +                                ULONG);
  595. + void    PPCCacheInvalidE(void*,
  596. +                                  ULONG,
  597. +                                  ULONG);
  598. + void*    PPCCreatePortList(void**,ULONG);
  599. + void    PPCDeletePortList(void*);
  600. + BOOL    PPCAddPortList(void*,
  601. +                                void*);
  602. + void    PPCRemPortList(void*,
  603. +                                void*);
  604. + void*    PPCWaitPortList(void*);
  605. + ULONG    PPCGetPortListAttr(void*,
  606. +                                    ULONG);
  607. + void    PPCSetPortListAttr(void*,
  608. +                                    ULONG,
  609. +                                    ULONG);
  610. + void*    PPCLoadObjectTags(unsigned long tag1Type, ... );
  611. + void*    PPCLoadObjectTagList(struct TagItem*);
  612. + BOOL    PPCSetAttrs(struct TagItem*);
  613. + BOOL    PPCSetAttrsTags(unsigned long tag1Type, ... );
  614. + void    PPCCacheTrashE(void*,
  615. +                                ULONG,
  616. +                                ULONG);
  617. + void    *PPCOpenLibrary(char*,
  618. +                                 struct TagItem*);
  619. + void    PPCCloseLibrary(void*);
  620. + void    *PPCGetLibSymbol(void*,
  621. +                                  char*);
  622. + #endif
  623. diff -c2 -d -P -r include_h/clib/ppcdiss_protos.h includenew/clib/ppcdiss_protos.h
  624. *** include_h/clib/ppcdiss_protos.h    Thu Jan  1 00:00:00 1970
  625. --- includenew/clib/ppcdiss_protos.h    Wed Feb 14 02:41:08 2001
  626. ***************
  627. *** 0 ****
  628. --- 1,15 ----
  629. + #ifndef POWERUP_PPCLIB_PPCDISS_PROTOS_H
  630. + #define POWERUP_PPCLIB_PPCDISS_PROTOS_H
  631. + APTR    CreateDisAssHandleTagList(struct  TagItem *);
  632. + void    DeleteDisAssHandle(APTR);
  633. + ULONG    DisAssTagList(APTR,
  634. +                       struct TagItem *);
  635. + #ifdef __SASC_60
  636. + APTR    CreateDisAssHandleTags(Tag, ...);
  637. + ULONG    DisAssTags(APTR,
  638. +                    Tag, ...);
  639. + #endif
  640. + #endif
  641. Only in include_h/clib: ramdrive_protos.h
  642. Only in include_h/clib: realtime_protos.h
  643. Only in include_h/clib: rexxsyslib_protos.h
  644. Only in include_h/clib: timer_protos.h
  645. Only in include_h/clib: translator_protos.h
  646. Only in include_h/clib: utility_protos.h
  647. Only in include_h/clib: wb_protos.h
  648. diff -c2 -d -P -r include_h/clib/wb_varprotos.h includenew/clib/wb_varprotos.h
  649. *** include_h/clib/wb_varprotos.h    Thu Jan  1 00:00:00 1970
  650. --- includenew/clib/wb_varprotos.h    Wed Feb 14 02:41:08 2001
  651. ***************
  652. *** 0 ****
  653. --- 1,28 ----
  654. + #ifndef  CLIB_WB_VARPROTOS_H
  655. + #define  CLIB_WB_VARPROTOS_H
  656. + #ifndef  EXEC_TYPES_H
  657. + #include <exec/types.h>
  658. + #endif
  659. + #ifndef  DOS_DOS_H
  660. + #include <dos/dos.h>
  661. + #endif
  662. + #ifndef  WORKBENCH_WORKBENCH_H
  663. + #include <workbench/workbench.h>
  664. + #endif
  665. + #ifndef  INTUITION_INTUITION_H
  666. + #include <intuition/intuition.h>
  667. + #endif
  668. + #ifndef  UTILITY_TAGITEM_H
  669. + #include <utility/tagitem.h>
  670. + #endif
  671. + struct AppWindow *AddAppWindow( unsigned long id, unsigned long userdata,
  672. +     struct Window *window, struct MsgPort *msgport, Tag tag1, ... );
  673. + struct AppIcon *AddAppIcon( unsigned long id, unsigned long userdata,
  674. +     UBYTE *text, struct MsgPort *msgport, struct FileLock *lock,
  675. +     struct DiskObject *diskobj, Tag tag1, ... );
  676. + struct AppMenuItem *AddAppMenuItem( unsigned long id, unsigned long userdata,
  677. +     UBYTE *text, struct MsgPort *msgport, Tag tag1, ... );
  678. + #endif
  679. diff -c2 -d -P -r include_h/cybergraphics/cybergraphics.h includenew/cybergraphics/cybergraphics.h
  680. *** include_h/cybergraphics/cybergraphics.h    Thu Jan  1 00:00:00 1970
  681. --- includenew/cybergraphics/cybergraphics.h    Wed Feb 14 02:41:08 2001
  682. ***************
  683. *** 0 ****
  684. --- 1,202 ----
  685. + /*
  686. + **    $VER: cybergraphics.h 41.18 (21.02.1998)
  687. + **
  688. + **    include file for cybergraphics.library
  689. + **
  690. + **    Copyright © 1996-1998 by phase5 digital products
  691. + **      All Rights reserved.
  692. + **
  693. + */
  694. + #ifndef CYBERGRAPHX_CYBERGRAPHICS_H
  695. + #define CYBERGRAPHX_CYBERGRAPHICS_H 1
  696. + #ifndef UTILITY_TAGITEM_H
  697. + #include <utility/tagitem.h>
  698. + #endif
  699. + #ifndef GRAPHICS_DISPLAYINFO_H
  700. + #include <graphics/displayinfo.h>
  701. + #endif
  702. + #define CYBERGFXNAME    "cybergraphics.library"
  703. + #define CYBERGFX_INCLUDE_VERSION  (41UL)
  704. + /*                                                          *
  705. +  *  Definition of CyberModeNode (Returned in AllocModeList) *
  706. +  *                                                          */
  707. + struct CyberModeNode
  708. +  {
  709. +   struct Node Node;
  710. +   char   ModeText[DISPLAYNAMELEN];    /* name for this mode */
  711. +   ULONG  DisplayID;            /* display id associated with the node */
  712. +   UWORD  Width;                /* visible width */
  713. +   UWORD  Height;            /* visible height */
  714. +   UWORD  Depth;                /* display depth */
  715. +   struct TagItem *DisplayTagList;    /* taglist with extended ModeID information */
  716. +  };
  717. + /*                                  *
  718. +  * Parameters for GetCyberMapAttr() *
  719. +  *                                  */
  720. + #define CYBRMATTR_XMOD        (0x80000001) /* function returns BytesPerRow if its called with this parameter */
  721. + #define CYBRMATTR_BPPIX       (0x80000002) /* BytesPerPixel shall be returned */
  722. + #define CYBRMATTR_DISPADR     (0x80000003) /* do not use this ! private tag */
  723. + #define CYBRMATTR_PIXFMT      (0x80000004) /* the pixel format is returned */
  724. + #define CYBRMATTR_WIDTH       (0x80000005) /* returns width in pixels */
  725. + #define CYBRMATTR_HEIGHT      (0x80000006) /* returns height in lines */
  726. + #define CYBRMATTR_DEPTH       (0x80000007) /* returns bits per pixel */
  727. + #define CYBRMATTR_ISCYBERGFX  (0x80000008) /* returns -1 if supplied bitmap is a cybergfx one */
  728. + #define CYBRMATTR_ISLINEARMEM (0x80000009) /* returns -1 if supplied bitmap is linear accessable */
  729. + /*                                 *
  730. +  * Parameters for GetCyberIDAttr() *
  731. +  *                                 */
  732. + #define CYBRIDATTR_PIXFMT (0x80000001) /* the pixel format is returned */
  733. + #define CYBRIDATTR_WIDTH  (0x80000002) /* returns visible width in pixels */
  734. + #define CYBRIDATTR_HEIGHT (0x80000003) /* returns visible height in lines */
  735. + #define CYBRIDATTR_DEPTH  (0x80000004) /* returns bits per pixel */
  736. + #define CYBRIDATTR_BPPIX  (0x80000005) /* BytesPerPixel shall be returned */
  737. + /*                              *
  738. +  * Tags for CyberModeRequest()  *
  739. +  *                              */
  740. + #define CYBRMREQ_TB          (TAG_USER+0x40000)
  741. + /*            *
  742. +  * FilterTags *
  743. +  *            */
  744. + #define CYBRMREQ_MinDepth    (CYBRMREQ_TB+0)  /* Minimum depth for displayed screenmode */
  745. + #define CYBRMREQ_MaxDepth    (CYBRMREQ_TB+1)  /* Maximum depth  "       "        " */
  746. + #define CYBRMREQ_MinWidth    (CYBRMREQ_TB+2)  /* Minumum width  "       "        " */
  747. + #define CYBRMREQ_MaxWidth    (CYBRMREQ_TB+3)  /* Maximum width  "       "        " */
  748. + #define CYBRMREQ_MinHeight   (CYBRMREQ_TB+4)  /* Minumum height "       "        " */
  749. + #define CYBRMREQ_MaxHeight   (CYBRMREQ_TB+5)  /* Minumum height "       "        " */
  750. + #define CYBRMREQ_CModelArray (CYBRMREQ_TB+6)
  751. + #define CYBRMREQ_WinTitle    (CYBRMREQ_TB+20)
  752. + #define CYBRMREQ_OKText      (CYBRMREQ_TB+21)
  753. + #define CYBRMREQ_CancelText  (CYBRMREQ_TB+22)
  754. + #define CYBRMREQ_Screen      (CYBRMREQ_TB+30)  /* Screen you wish the Requester to open on */
  755. + /*                            *
  756. +  * Tags for BestCyberModeID() *
  757. +  *                            */
  758. + #define CYBRBIDTG_TB  (TAG_USER+0x50000)
  759. + /* FilterTags */
  760. + #define CYBRBIDTG_Depth         (CYBRBIDTG_TB+0)
  761. + #define CYBRBIDTG_NominalWidth  (CYBRBIDTG_TB+1)
  762. + #define CYBRBIDTG_NominalHeight (CYBRBIDTG_TB+2)
  763. + #define CYBRBIDTG_MonitorID     (CYBRBIDTG_TB+3)
  764. + #define CYBRBIDTG_BoardName     (CYBRBIDTG_TB+5)
  765. + /*                                    *
  766. +  * definition of divers pixel formats *
  767. +  *                                    */
  768. + #define PIXFMT_LUT8    (0UL)
  769. + #define PIXFMT_RGB15    (1UL)
  770. + #define PIXFMT_BGR15    (2UL)
  771. + #define PIXFMT_RGB15PC    (3UL)
  772. + #define PIXFMT_BGR15PC    (4UL)
  773. + #define PIXFMT_RGB16    (5UL)
  774. + #define PIXFMT_BGR16    (6UL)
  775. + #define PIXFMT_RGB16PC    (7UL)
  776. + #define PIXFMT_BGR16PC    (8UL)
  777. + #define PIXFMT_RGB24    (9UL)
  778. + #define PIXFMT_BGR24    (10UL)
  779. + #define PIXFMT_ARGB32    (11UL)
  780. + #define PIXFMT_BGRA32    (12UL)
  781. + #define PIXFMT_RGBA32    (13UL)
  782. + /*                                                        *
  783. +  * SrcRectangle formats defines for xxxPixelArray calls() * 
  784. +  *                                                        */
  785. + #define RECTFMT_RGB    (0UL)
  786. + #define RECTFMT_RGBA    (1UL)
  787. + #define RECTFMT_ARGB    (2UL)
  788. + #define RECTFMT_LUT8    (3UL)
  789. + #define RECTFMT_GREY8    (4UL)
  790. + /*                                    *
  791. +  * Parameters for CVideoCtrlTagList() *
  792. +  *                                    */
  793. + #define SETVC_DPMSLevel  (0x88002001)
  794. + #define DPMS_ON      (0UL)   /* Full operation                             */
  795. + #define DPMS_STANDBY (1UL)   /* Optional state of minimal power reduction  */
  796. + #define DPMS_SUSPEND (2UL)   /* Significant reduction of power consumption */
  797. + #define DPMS_OFF     (3UL)   /* Lowest level of power consumption          */
  798. + /*                              *
  799. +  * Tags for LockBitMapTagList() *
  800. +  *                              */
  801. + #define LBMI_WIDTH       (0x84001001)
  802. + #define LBMI_HEIGHT      (0x84001002)
  803. + #define LBMI_DEPTH       (0x84001003)
  804. + #define LBMI_PIXFMT      (0x84001004)
  805. + #define LBMI_BYTESPERPIX (0x84001005)
  806. + #define LBMI_BYTESPERROW (0x84001006)
  807. + #define LBMI_BASEADDRESS (0x84001007)
  808. + /*                                *
  809. +  * Tags for UnLockBitMapTagList() *
  810. +  *                                */
  811. + #define    UBMI_UPDATERECTS    (0x85001001)
  812. + #define    UBMI_REALLYUNLOCK    (0x85001002)
  813. + /*                                *
  814. +  * Message passed to the DoCDrawMethodTagList() hook function    *
  815. +  *                                */
  816. + struct  CDrawMsg
  817. + {
  818. +         APTR    cdm_MemPtr;
  819. +         ULONG   cdm_offx;
  820. +         ULONG   cdm_offy;
  821. +         ULONG   cdm_xsize;
  822. +         ULONG   cdm_ysize;
  823. +         UWORD   cdm_BytesPerRow;
  824. +         UWORD   cdm_BytesPerPix;
  825. +         UWORD   cdm_ColorModel;
  826. + };
  827. + /*                            *
  828. +  * Colour Table source formats for WriteLUTPixelArray()    *
  829. +  *                            */
  830. + #define CTABFMT_XRGB8    (0UL)    /* ULONG [] table */
  831. + /*                            *
  832. +  *    graphics.library/AllocBitMap() extended flags    *
  833. +  *                            */
  834. + #ifndef BMB_SPECIALFMT
  835. + #define BMB_SPECIALFMT (7UL)
  836. + #define BMF_SPECIALFMT (1UL << BMB_SPECIALFMT)
  837. + #endif /* BMB_SPECIALFMT */
  838. + #define SHIFT_PIXFMT( fmt ) (((ULONG)(fmt)) << 24UL)
  839. + #endif  /* !CYBERGRAPHX_CYBERGRAPHICS_H */
  840. diff -c2 -d -P -r include_h/cybergraphics/cybergraphics.i includenew/cybergraphics/cybergraphics.i
  841. *** include_h/cybergraphics/cybergraphics.i    Thu Jan  1 00:00:00 1970
  842. --- includenew/cybergraphics/cybergraphics.i    Wed Feb 14 02:41:09 2001
  843. ***************
  844. *** 0 ****
  845. --- 1,189 ----
  846. + ;*
  847. + ;*    $VER: cybergraphics.i 41.18 (21.02.1998)
  848. + ;*
  849. + ;*    include file for cybergraphics.library
  850. + ;*
  851. + ;*    Copyright © 1996-1998 by phase5 digital products
  852. + ;*      All Rights reserved.
  853. + ;*
  854. + ;*
  855. +             IFND    CYBERGRAPHX_CYBERGRAPHICS_I
  856. + CYBERGRAPHX_CYBERGRAPHICS_I    SET    1
  857. +             INCLUDE "exec/nodes.i"
  858. +             INCLUDE "utility/tagitem.i"
  859. +             INCLUDE    "graphics/displayinfo.i"
  860. + ;
  861. + ; Definition of CyberModeNode (Returned in AllocModeList)
  862. + ;
  863. +             STRUCTURE    CyberModeNode,0
  864. +             STRUCT    cmn_Node,LN_SIZE
  865. +             STRUCT    cmn_ModeText,DISPLAYNAMELEN    ; name for this mode
  866. +             ULONG    cmn_DisplayID            ; display id associated with the node
  867. +             UWORD    cmn_Width            ; visible width
  868. +             UWORD    cmn_Height            ; visible height
  869. +             UWORD    cmn_Depth            ; display depth
  870. +             APTR    cmn_DisplayTagList        ; taglist with extended ModeID information
  871. +             LABEL    cmn_SIZEOF
  872. +         
  873. + ;
  874. + ; Parameters for GetCyberMapAttr()
  875. + ;
  876. + CYBRMATTR_XMOD        EQU    ($80000001)    ; function returns BytesPerRow if its called with this parameter
  877. + CYBRMATTR_BPPIX        EQU    ($80000002)    ; BytesPerPixel shall be returned
  878. + CYBRMATTR_DISPADR    EQU    ($80000003)    ; do not use this ! private tag
  879. + CYBRMATTR_PIXFMT    EQU    ($80000004)    ; the pixel format is returned
  880. + CYBRMATTR_WIDTH        EQU    ($80000005)    ; returns width in pixels
  881. + CYBRMATTR_HEIGHT    EQU    ($80000006)    ; returns height in lines
  882. + CYBRMATTR_DEPTH        EQU    ($80000007)    ; returns bits per pixel
  883. + CYBRMATTR_ISCYBERGFX    EQU    ($80000008)    ; returns if supplied bitmap is a cybergfx one
  884. + CYBRMATTR_ISLINEARMEM    EQU    ($80000009)    ; returns -1 if supplied bitmap is linear accessable
  885. + ;
  886. + ; Parameters for GetCyberIDAttr()
  887. + ;
  888. + CYBRIDATTR_PIXFMT    EQU    ($80000001)    ; the pixel format is returned
  889. + CYBRIDATTR_WIDTH    EQU    ($80000002)    ; returns visible width in pixels
  890. + CYBRIDATTR_HEIGHT    EQU    ($80000003)    ; returns visible height in lines
  891. + CYBRIDATTR_DEPTH    EQU    ($80000004)    ; returns bits per pixel
  892. + CYBRIDATTR_BPPIX    EQU    ($80000005)    ; BytesPerPixel shall be returned
  893. + ;
  894. + ; Tags for CModeRequestTagList()
  895. + ;
  896. + CYBRMREQ_TB        EQU    (TAG_USER+$40000)
  897. + ;
  898. + ; FilterTags
  899. + ;
  900. + CYBRMREQ_MinDepth    EQU    (CYBRMREQ_TB+0)        ; Minimum depth for displayed screenmode
  901. + CYBRMREQ_MaxDepth    EQU    (CYBRMREQ_TB+1)        ; Maximum depth  "       "        "
  902. + CYBRMREQ_MinWidth    EQU    (CYBRMREQ_TB+2)        ; Minumum width  "       "        "
  903. + CYBRMREQ_MaxWidth    EQU    (CYBRMREQ_TB+3)        ; Maximum width  "       "        "
  904. + CYBRMREQ_MinHeight    EQU    (CYBRMREQ_TB+4)        ; Minumum height "       "        "
  905. + CYBRMREQ_MaxHeight    EQU    (CYBRMREQ_TB+5)        ; Minumum height "       "        "
  906. + CYBRMREQ_CModelArray    EQU    (CYBRMREQ_TB+6)        ; Filters certain color models
  907. + CYBRMREQ_WinTitle    EQU    (CYBRMREQ_TB+20
  908. + CYBRMREQ_OKText        EQU    (CYBRMREQ_TB+21
  909. + CYBRMREQ_CancelText    EQU    (CYBRMREQ_TB+22
  910. + CYBRMREQ_Screen        EQU    (CYBRMREQ_TB+30        ; Screen you wish the Requester to opened on
  911. + ;
  912. + ; Tags for BestCyberModeID()
  913. + ;
  914. + CYBRBIDTG_TB        EQU    (TAG_USER+$50000)
  915. + ;
  916. + ; FilterTags
  917. + ;
  918. + CYBRBIDTG_Depth        EQU    (CYBRBIDTG_TB+0)
  919. + CYBRBIDTG_NominalWidth    EQU    (CYBRBIDTG_TB+1)
  920. + CYBRBIDTG_NominalHeight    EQU    (CYBRBIDTG_TB+2)
  921. + CYBRBIDTG_MonitorID    EQU    (CYBRBIDTG_TB+3)
  922. + CYBRBIDTG_BoardName    EQU    (CYBRBIDTG_TB+5)
  923. + PIXFMT_LUT8        EQU    (0)
  924. + PIXFMT_RGB15        EQU    (1)
  925. + PIXFMT_BGR15        EQU    (2)
  926. + PIXFMT_RGB15PC        EQU    (3)
  927. + PIXFMT_BGR15PC        EQU    (4)
  928. + PIXFMT_RGB16        EQU    (5)
  929. + PIXFMT_BGR16        EQU    (6)
  930. + PIXFMT_RGB16PC        EQU    (7)
  931. + PIXFMT_BGR16PC        EQU    (8)
  932. + PIXFMT_RGB24        EQU    (9)
  933. + PIXFMT_BGR24        EQU    (10)
  934. + PIXFMT_ARGB32        EQU    (11)
  935. + PIXFMT_BGRA32        EQU    (12)
  936. + PIXFMT_RGBA32        EQU    (13)
  937. + PIXFMT_CNT        EQU    (14)
  938. + ;
  939. + ; SrcRectangle formats defines for xxxPixelArray() calls
  940. + ;
  941. + RECTFMT_RGB        EQU    (0)
  942. + RECTFMT_RGBA        EQU    (1)
  943. + RECTFMT_ARGB        EQU    (2)
  944. + RECTFMT_LUT8        EQU    (3)
  945. + RECTFMT_GREY8        EQU    (4)
  946. + ;
  947. + ; Parameters for CVideoCtrlTagList()
  948. + ;
  949. + SETVC_DPMSLevel        EQU    ($88002001)
  950. + DPMS_ON            EQU    (0)    ; Full operation
  951. + DPMS_STANDBY        EQU    (1)    ; Optional state of minimal power reduction
  952. + DPMS_SUSPEND        EQU    (2)    ; Significant reduction of power consumption
  953. + DPMS_OFF        EQU    (3)    ; Lowest level of power consumption
  954. + ;
  955. + ; Parameters for LockBitMapTagList()
  956. + ;
  957. + LBMI_WIDTH        EQU    ($84001001)
  958. + LBMI_HEIGHT        EQU    ($84001002)
  959. + LBMI_DEPTH        EQU    ($84001003)
  960. + LBMI_PIXFMT        EQU    ($84001004)
  961. + LBMI_BYTESPERPIX    EQU    ($84001005)
  962. + LBMI_BYTESPERROW    EQU    ($84001006)
  963. + LBMI_BASEADDRESS    EQU    ($84001007)
  964. + ;
  965. + ; Parameters for UnLockBitMapTagList()
  966. + ;
  967. + UBMI_UPDATERECTS    EQU    ($85001001)
  968. + UBMI_REALLYUNLOCK    EQU    ($85001002)
  969. + ;                              
  970. + ; Message passed to the DoCDrawMethodTagList()
  971. + ; hook function
  972. + ;                              
  973. +     STRUCTURE    CDrawMsg,0
  974. +             APTR    cdm_MemPtr
  975. +             ULONG   cdm_offx
  976. +             ULONG   cdm_offy
  977. +             ULONG   cdm_xsize
  978. +             ULONG   cdm_ysize
  979. +             UWORD   cdm_BytesPerRow
  980. +             UWORD   cdm_BytesPerPix
  981. +             UWORD   cdm_ColorModel
  982. +         LABEL    cdm_SIZEOF
  983. + ;
  984. + ; Colour Table source formats for WriteLUTPixelArray()
  985. + ;
  986. + CTABFMT_XRGB8    EQU    (0)    ; ULONG [] table
  987. +                 ; X,R,G,B order, 8-bits-per-gun
  988. + ;
  989. + ; graphics.library/AllocBitmap() extended flags
  990. + ;
  991. + BMB_SPECIALFMT    EQU    (7)
  992. + BMF_SPECIALFMT    EQU    (0x80)
  993. +             ENDC
  994. diff -c2 -d -P -r include_h/cybergraphx/cgxvideo.h includenew/cybergraphx/cgxvideo.h
  995. *** include_h/cybergraphx/cgxvideo.h    Thu Jan  1 00:00:00 1970
  996. --- includenew/cybergraphx/cgxvideo.h    Wed Feb 14 02:41:09 2001
  997. ***************
  998. *** 0 ****
  999. --- 1,55 ----
  1000. + /*
  1001. + **    $VER: cgxvideo.h 41.10 (06.10.1997)
  1002. + **
  1003. + **    include file for cgxvideo.library
  1004. + **
  1005. + **    Copyright © 1996-1998 by phase5 digital products
  1006. + **      All Rights reserved.
  1007. + **
  1008. + */
  1009. + #ifndef LIBRARIES_CGXVIDEO_H
  1010. + #define LIBRARIES_CGXVIDEO_H
  1011. + #include <exec/types.h>
  1012. + typedef APTR    VLayerHandle;
  1013. + #define VOA_LeftIndent    0x88000001
  1014. + #define VOA_RightIndent   0x88000002
  1015. + #define VOA_TopIndent     0x88000003
  1016. + #define VOA_BottomIndent  0x88000004
  1017. + #define VOA_SrcType     0x88000005
  1018. + #define VOA_SrcWidth    0x88000006
  1019. + #define VOA_SrcHeight   0x88000007
  1020. + #define VOA_Error       0x88000008
  1021. + #define VOA_UseColorKey    0x88000009
  1022. + #define VOA_UseBackfill 0x8800000a
  1023. + #define VOA_BaseAddress 0x88000030
  1024. + #define VOA_ColorKeyPen 0x88000031
  1025. + #define VOA_ColorKey    0x88000032
  1026. + /* possible errors returned with VOA_Error tag */
  1027. + #define VOERR_OK                0       /* No error */
  1028. + #define VOERR_INVSCRMODE        1       /* video overlay not possible for that mode */
  1029. + #define VOERR_NOOVLMEMORY       2       /* No memory for video overlay */
  1030. + #define VOERR_INVSRCFMT         3       /* Source format not supported */
  1031. + #define VOERR_NOMEMORY          4       /* Not enough memory */
  1032. + /* Source data types              */
  1033. + /* see cgxvideo.doc for more info */
  1034. + #define SRCFMT_YUV16    0
  1035. + #define SRCFMT_YCbCr16  1
  1036. + #define SRCFMT_RGB15    2
  1037. + #define SRCFMT_RGB16    3
  1038. + #endif
  1039. Only in include_h/datatypes: animationclass.h
  1040. Only in include_h/datatypes: datatypes.h
  1041. diff -c2 -d -P -r include_h/datatypes/datatypesclass.h includenew/datatypes/datatypesclass.h
  1042. *** include_h/datatypes/datatypesclass.h    Wed Feb 14 02:41:40 2001
  1043. --- includenew/datatypes/datatypesclass.h    Wed Feb 14 02:41:09 2001
  1044. ***************
  1045. *** 1,202 ****
  1046. ! #ifndef    DATATYPES_DATATYPESCLASS_H
  1047. ! #define    DATATYPES_DATATYPESCLASS_H
  1048.   /*
  1049. ! **  $VER: datatypesclass.h 39.8 (17.3.93)
  1050. ! **  Includes Release 40.15
  1051.   **
  1052.   **  Interface definitions for DataType objects.
  1053.   **
  1054. ! **  (C) Copyright 1992-1993 Commodore-Amiga, Inc.
  1055. ! **    All Rights Reserved
  1056.   */
  1057.   
  1058. ! #ifndef    UTILITY_TAGITEM_H
  1059.   #include <utility/tagitem.h>
  1060. ! #endif
  1061.   
  1062. ! #ifndef    DATATYPES_DATATYPES_H
  1063.   #include <datatypes/datatypes.h>
  1064. ! #endif
  1065.   
  1066. ! #ifndef    INTUITION_INTUITION_H
  1067.   #include <intuition/intuition.h>
  1068. ! #endif
  1069.   
  1070. ! #ifndef    DEVICES_PRINTER_H
  1071.   #include <devices/printer.h>
  1072. ! #endif
  1073.   
  1074. ! #ifndef    DEVICES_PRTBASE_H
  1075.   #include <devices/prtbase.h>
  1076. ! #endif
  1077.   
  1078.   /*****************************************************************************/
  1079.   
  1080. ! #define    DATATYPESCLASS        "datatypesclass"
  1081.   
  1082.   /*****************************************************************************/
  1083.   
  1084. ! #define    DTA_Dummy        (TAG_USER+0x1000)
  1085.   
  1086.   /* Generic attributes */
  1087. ! #define    DTA_TextAttr        (DTA_Dummy+10)
  1088. !     /* (struct TextAttr *) Pointer to the default TextAttr to use for
  1089. !      * the text within the object. */
  1090.   
  1091. ! #define    DTA_TopVert        (DTA_Dummy+11)
  1092. !     /* (LONG) Current top vertical unit */
  1093.   
  1094. ! #define    DTA_VisibleVert        (DTA_Dummy+12)
  1095. !     /* (LONG) Number of visible vertical units */
  1096.   
  1097. ! #define    DTA_TotalVert        (DTA_Dummy+13)
  1098. !     /* (LONG) Total number of vertical units */
  1099.   
  1100. ! #define    DTA_VertUnit        (DTA_Dummy+14)
  1101. !     /* (LONG) Number of pixels per vertical unit */
  1102.   
  1103. ! #define    DTA_TopHoriz        (DTA_Dummy+15)
  1104. !     /* (LONG) Current top horizontal unit */
  1105.   
  1106. ! #define    DTA_VisibleHoriz    (DTA_Dummy+16)
  1107. !     /* (LONG)  Number of visible horizontal units */
  1108.   
  1109. ! #define    DTA_TotalHoriz        (DTA_Dummy+17)
  1110. !     /* (LONG) Total number of horizontal units */
  1111.   
  1112. ! #define    DTA_HorizUnit        (DTA_Dummy+18)
  1113. !     /* (LONG) Number of pixels per horizontal unit */
  1114.   
  1115. ! #define    DTA_NodeName        (DTA_Dummy+19)
  1116. !     /* (UBYTE *) Name of the current element within the object. */
  1117.   
  1118. ! #define    DTA_Title        (DTA_Dummy+20)
  1119. !     /* (UBYTE *) Title of the object. */
  1120.   
  1121. ! #define    DTA_TriggerMethods    (DTA_Dummy+21)
  1122. !     /* (struct DTMethod *) Pointer to a NULL terminated array of
  1123. !      * supported trigger methods. */
  1124.   
  1125. ! #define    DTA_Data        (DTA_Dummy+22)
  1126. !     /* (APTR) Object specific data. */
  1127.   
  1128. ! #define    DTA_TextFont        (DTA_Dummy+23)
  1129. !     /* (struct TextFont *) Default font to use for text within the
  1130. !      * object. */
  1131.   
  1132. ! #define    DTA_Methods        (DTA_Dummy+24)
  1133. !     /* (ULONG *) Pointer to a ~0 terminated array of supported
  1134. !      * methods. */
  1135.   
  1136. ! #define    DTA_PrinterStatus    (DTA_Dummy+25)
  1137. !     /* (LONG) Printer error message.  Error numbers are defined in
  1138. !      * <devices/printer.h> */
  1139.   
  1140. ! #define    DTA_PrinterProc        (DTA_Dummy+26)
  1141. !     /* PRIVATE (struct Process *) Pointer to the print process. */
  1142.   
  1143. ! #define    DTA_LayoutProc        (DTA_Dummy+27)
  1144. !     /* PRIVATE (struct Process *) Pointer to the layout process. */
  1145.   
  1146. ! #define    DTA_Busy        (DTA_Dummy+28)
  1147. !     /* Used to turn the applications' busy pointer off and on */
  1148.   
  1149. ! #define    DTA_Sync        (DTA_Dummy+29)
  1150. !     /* Used to indicate that new information has been loaded into
  1151. !      * an object.  This is for models that cache the DTA_TopVert-
  1152. !      * like tags */
  1153.   
  1154. ! #define    DTA_BaseName        (DTA_Dummy+30)
  1155. !     /* The base name of the class */
  1156.   
  1157. ! #define    DTA_GroupID        (DTA_Dummy+31)
  1158. !     /* Group that the object must belong in */
  1159.   
  1160. ! #define    DTA_ErrorLevel        (DTA_Dummy+32)
  1161. !     /* Error level */
  1162.   
  1163. ! #define    DTA_ErrorNumber        (DTA_Dummy+33)
  1164. !     /* datatypes.library error number */
  1165.   
  1166. ! #define    DTA_ErrorString        (DTA_Dummy+34)
  1167. !     /* Argument for datatypes.library error */
  1168.   
  1169. ! #define    DTA_Conductor        (DTA_Dummy+35)
  1170. !     /* New for V40. (UBYTE *) specifies the name of the
  1171. !      * realtime.library conductor.    Defaults to "Main". */
  1172.   
  1173. ! #define    DTA_ControlPanel    (DTA_Dummy+36)
  1174. !     /* New for V40. (BOOL) Indicate whether a control panel should be
  1175. !      * embedded within the object (in the animation datatype, for
  1176. !      * example).  Defaults to TRUE. */
  1177.   
  1178. ! #define    DTA_Immediate        (DTA_Dummy+37)
  1179. !     /* New for V40. (BOOL) Indicate whether the object should
  1180. !      * immediately begin playing.  Defaults to FALSE. */
  1181.   
  1182. ! #define    DTA_Repeat        (DTA_Dummy+38)
  1183. !     /* New for V40. (BOOL) Indicate that the object should repeat
  1184. !      * playing.  Defaults to FALSE. */
  1185.   
  1186.   
  1187.   /* DTObject attributes */
  1188. ! #define    DTA_Name        (DTA_Dummy+100)
  1189. ! #define    DTA_SourceType        (DTA_Dummy+101)
  1190. ! #define    DTA_Handle        (DTA_Dummy+102)
  1191. ! #define    DTA_DataType        (DTA_Dummy+103)
  1192. ! #define    DTA_Domain        (DTA_Dummy+104)
  1193.   
  1194.   /* DON'T USE THE FOLLOWING FOUR TAGS.  USE THE CORRESPONDING TAGS IN
  1195. !  * <intuition/gadgetclass.h> */
  1196. ! #define    DTA_Left        (DTA_Dummy+105)
  1197. ! #define    DTA_Top            (DTA_Dummy+106)
  1198. ! #define    DTA_Width        (DTA_Dummy+107)
  1199. ! #define    DTA_Height        (DTA_Dummy+108)
  1200.   
  1201. ! #define    DTA_ObjName        (DTA_Dummy+109)
  1202. ! #define    DTA_ObjAuthor        (DTA_Dummy+110)
  1203. ! #define    DTA_ObjAnnotation    (DTA_Dummy+111)
  1204. ! #define    DTA_ObjCopyright    (DTA_Dummy+112)
  1205. ! #define    DTA_ObjVersion        (DTA_Dummy+113)
  1206. ! #define    DTA_ObjectID        (DTA_Dummy+114)
  1207. ! #define    DTA_UserData        (DTA_Dummy+115)
  1208. ! #define    DTA_FrameInfo        (DTA_Dummy+116)
  1209.   
  1210.   /* DON'T USE THE FOLLOWING FOUR TAGS.  USE THE CORRESPONDING TAGS IN
  1211.    * <intuition/gadgetclass.h> */
  1212. ! #define    DTA_RelRight        (DTA_Dummy+117)
  1213. ! #define    DTA_RelBottom        (DTA_Dummy+118)
  1214. ! #define    DTA_RelWidth        (DTA_Dummy+119)
  1215. ! #define    DTA_RelHeight        (DTA_Dummy+120)
  1216.   
  1217. ! #define    DTA_SelectDomain    (DTA_Dummy+121)
  1218. ! #define    DTA_TotalPVert        (DTA_Dummy+122)
  1219. ! #define    DTA_TotalPHoriz        (DTA_Dummy+123)
  1220. ! #define    DTA_NominalVert        (DTA_Dummy+124)
  1221. ! #define    DTA_NominalHoriz    (DTA_Dummy+125)
  1222.   
  1223.   /* Printing attributes */
  1224. ! #define    DTA_DestCols        (DTA_Dummy+400)
  1225. !     /* (LONG) Destination X width */
  1226.   
  1227. ! #define    DTA_DestRows        (DTA_Dummy+401)
  1228. !     /* (LONG) Destination Y height */
  1229.   
  1230. ! #define    DTA_Special        (DTA_Dummy+402)
  1231. !     /* (UWORD) Option flags */
  1232.   
  1233. ! #define    DTA_RastPort        (DTA_Dummy+403)
  1234. !     /* (struct RastPort *) RastPort to use when printing. (V40) */
  1235.   
  1236. ! #define    DTA_ARexxPortName    (DTA_Dummy+404)
  1237. !     /* (STRPTR) Pointer to base name for ARexx port (V40) */
  1238.   
  1239.   
  1240.   /*****************************************************************************/
  1241.   
  1242. ! #define    DTST_RAM        1
  1243. ! #define    DTST_FILE        2
  1244. ! #define    DTST_CLIPBOARD        3
  1245. ! #define    DTST_HOTLINK        4
  1246.   
  1247.   /*****************************************************************************/
  1248. --- 1,259 ----
  1249. ! #ifndef DATATYPES_DATATYPESCLASS_H
  1250. ! #define DATATYPES_DATATYPESCLASS_H
  1251.   /*
  1252. ! **  $VER: datatypesclass.h 45.3 (22.5.97)
  1253. ! **  datatypes V45
  1254.   **
  1255.   **  Interface definitions for DataType objects.
  1256.   **
  1257. ! **  Written by Roland Mainz, based on
  1258. ! **  material from Commodore-Amiga, Inc.
  1259. ! **
  1260.   */
  1261.   
  1262. ! #ifndef UTILITY_TAGITEM_H
  1263.   #include <utility/tagitem.h>
  1264. ! #endif /* !UTILITY_TAGITEM_H */
  1265.   
  1266. ! #ifndef DATATYPES_DATATYPES_H
  1267.   #include <datatypes/datatypes.h>
  1268. ! #endif /* !DATATYPES_DATATYPES_H */
  1269.   
  1270. ! #ifndef INTUITION_INTUITION_H
  1271.   #include <intuition/intuition.h>
  1272. ! #endif /* !INTUITION_INTUITION_H */
  1273.   
  1274. ! #ifndef DEVICES_PRINTER_H
  1275.   #include <devices/printer.h>
  1276. ! #endif /* !DEVICES_PRINTER_H */
  1277.   
  1278. ! #ifndef DEVICES_PRTBASE_H
  1279.   #include <devices/prtbase.h>
  1280. ! #endif /* !DEVICES_PRTBASE_H */
  1281.   
  1282.   /*****************************************************************************/
  1283.   
  1284. ! /* base-class for all datatypes */
  1285. ! #define DATATYPESCLASS "datatypesclass"
  1286.   
  1287.   /*****************************************************************************/
  1288.   
  1289. ! /* datatypesclass tag space */
  1290. ! #define DTA_Dummy               (TAG_USER + 0x1000)
  1291.   
  1292.   /* Generic attributes */
  1293. ! #define DTA_TextAttr            (DTA_Dummy + 10)
  1294. !     /* (struct TextAttr *) Pointer to the default TextAttr to use for
  1295. !      * the text within the object.
  1296. !      */
  1297.   
  1298. ! #define DTA_TopVert             (DTA_Dummy + 11)
  1299. !     /* (LONG) Current top vertical unit */
  1300.   
  1301. ! #define DTA_VisibleVert         (DTA_Dummy + 12)
  1302. !     /* (LONG) Number of visible vertical units */
  1303.   
  1304. ! #define DTA_TotalVert           (DTA_Dummy + 13)
  1305. !     /* (LONG) Total number of vertical units */
  1306.   
  1307. ! #define DTA_VertUnit            (DTA_Dummy + 14)
  1308. !     /* (LONG) Number of pixels per vertical unit */
  1309.   
  1310. ! #define DTA_TopHoriz            (DTA_Dummy + 15)
  1311. !     /* (LONG) Current top horizontal unit */
  1312.   
  1313. ! #define DTA_VisibleHoriz        (DTA_Dummy + 16)
  1314. !     /* (LONG) Number of visible horizontal units */
  1315.   
  1316. ! #define DTA_TotalHoriz          (DTA_Dummy + 17)
  1317. !     /* (LONG) Total number of horizontal units */
  1318.   
  1319. ! #define DTA_HorizUnit           (DTA_Dummy + 18)
  1320. !     /* (LONG) Number of pixels per horizontal unit */
  1321.   
  1322. ! #define DTA_NodeName            (DTA_Dummy + 19)
  1323. !     /* (STRPTR) Name of the current element within the object. */
  1324.   
  1325. ! #define DTA_Title               (DTA_Dummy + 20)
  1326. !     /* (STRPTR) Title of the object. */
  1327.   
  1328. ! #define DTA_TriggerMethods      (DTA_Dummy + 21)
  1329. !     /* (struct DTMethod *) Pointer to a NULL terminated array of
  1330. !      * supported trigger methods.
  1331. !      */
  1332.   
  1333. ! #define DTA_Data                (DTA_Dummy + 22)
  1334. !     /* (Object *) Object itself.
  1335. !      * Starting with V45, a DTA_Data == NULL indicates that
  1336. !      * an object hasn't loaded all data yet (progressive loading,
  1337. !      * see DTA_Progressive).
  1338. !      */
  1339.   
  1340. ! #define DTA_TextFont            (DTA_Dummy + 23)
  1341. !     /* (struct TextFont *) Default font to use for text within the
  1342. !      * object.
  1343. !      */
  1344.   
  1345. ! #define DTA_Methods             (DTA_Dummy + 24)
  1346. !     /* (ULONG *) Pointer to a ~0 terminated array of supported
  1347. !      * methods.
  1348. !      */
  1349.   
  1350. ! #define DTA_PrinterStatus       (DTA_Dummy + 25)
  1351. !     /* (LONG) Printer error message.  Error numbers are defined in
  1352. !      * <devices/printer.h>
  1353. !      */
  1354.   
  1355. ! #define DTA_PrinterProc         (DTA_Dummy + 26)
  1356. !     /* PRIVATE (struct Process *) Pointer to the print process. */
  1357.   
  1358. ! #define DTA_LayoutProc          (DTA_Dummy + 27)
  1359. !     /* PRIVATE (struct Process *) Pointer to the layout process. */
  1360.   
  1361. ! #define DTA_Busy                (DTA_Dummy + 28)
  1362. !     /* Used to turn the applications' busy pointer off and on */
  1363.   
  1364. ! #define DTA_Sync                (DTA_Dummy + 29)
  1365. !     /* Used to indicate that new information has been loaded into
  1366. !      * an object.  This is for models that cache the DTA_TopVert-
  1367. !      * like tags
  1368. !      */
  1369.   
  1370. ! #define DTA_BaseName            (DTA_Dummy + 30)
  1371. !     /* The base name of the class */
  1372.   
  1373. ! #define DTA_GroupID             (DTA_Dummy + 31)
  1374. !     /* Group that the object must belong in */
  1375.   
  1376. ! #define DTA_ErrorLevel          (DTA_Dummy + 32)
  1377. !     /* Error level */
  1378.   
  1379. ! #define DTA_ErrorNumber         (DTA_Dummy + 33)
  1380. !     /* datatypes.library error number */
  1381.   
  1382. ! #define DTA_ErrorString         (DTA_Dummy + 34)
  1383. !     /* Argument for datatypes.library error */
  1384.   
  1385. ! #define DTA_Conductor           (DTA_Dummy + 35)
  1386. !     /* New for V40. (STRPTR) specifies the name of the
  1387. !      * realtime.library conductor.
  1388. !      * Defaults to "Main".
  1389. !      */
  1390.   
  1391. ! #define DTA_ControlPanel        (DTA_Dummy + 36)
  1392. !     /* New for V40. (BOOL) Indicate whether a control panel should be
  1393. !      * embedded within the object (in the animation datatype, for
  1394. !      * example).
  1395. !      * Defaults to TRUE.
  1396. !      */
  1397.   
  1398. ! #define DTA_Immediate           (DTA_Dummy + 37)
  1399. !     /* New for V40. (BOOL) Indicate whether the object should
  1400. !      * immediately begin playing.
  1401. !     Defaults to FALSE. */
  1402.   
  1403. ! #define DTA_Repeat              (DTA_Dummy + 38)
  1404. !     /* New for V40. (BOOL) Indicate that the object should repeat
  1405. !      * playing.
  1406. !      * Defaults to FALSE. */
  1407. ! #define DTA_Reserved0           (DTA_Dummy + 49)
  1408. ! #define DTA_Reserved1           (DTA_Dummy + 50)
  1409. ! #define DTA_Reserved2           (DTA_Dummy + 51)
  1410. ! #define DTA_Reserved3           (DTA_Dummy + 52)
  1411. ! #define DTA_Reserved4           (DTA_Dummy + 53)
  1412. ! #define DTA_Reserved5           (DTA_Dummy + 54)
  1413. ! #define DTA_Reserved6           (DTA_Dummy + 55)
  1414. ! #define DTA_Reserved7           (DTA_Dummy + 56)
  1415. ! #define DTA_Reserved8           (DTA_Dummy + 57)
  1416. ! #define DTA_Reserved9           (DTA_Dummy + 58)
  1417. ! #define DTA_Reserved10          (DTA_Dummy + 59)
  1418.   
  1419. + #define DTA_Progressive         (DTA_Dummy + 60)
  1420. +     /* New for V45. (BOOL) Indicate that the object should use
  1421. +      * progressive loading. The datatype will send { DTA_Sync, 0UL }
  1422. +      * notify msgs while loading is in progress; a final
  1423. +      * { DTA_Sync, 1UL } indicates that loading has been finished.
  1424. +      * Applications have to OM_GET DTA_Data to check if loading
  1425. +      * has __REALLY__ been finished. If "Object" is returned
  1426. +      * loading is done, a NULL return value indicates that the object
  1427. +      * is still loading.
  1428. +      * Defaults to FALSE. */
  1429. + #define DTA_CurrentLevel        (DTA_Dummy + 61)
  1430. +     /* New for V45. (ULONG) Notifies the filling level of the object
  1431. +      * when doing (progressive) loading. 0UL means 0%,
  1432. +      * 0xFFFFFFFFUL means 100%
  1433. +      */
  1434. + #define DTA_Class               (DTA_Dummy + 62)
  1435. +     /* New for V45.3. (struct IClass *) Use this class when creating
  1436. +      * new objects using NewDTObjectA. Usefull when creating private
  1437. +      * subclasses inside applications (e.g. when a subclass is needed
  1438. +      * to superset some methods (see "DTConvert" example)).
  1439. +      */
  1440.   
  1441.   /* DTObject attributes */
  1442. ! #define DTA_Name                (DTA_Dummy + 100)
  1443. ! #define DTA_SourceType          (DTA_Dummy + 101)
  1444. ! #define DTA_Handle              (DTA_Dummy + 102)
  1445. ! #define DTA_DataType            (DTA_Dummy + 103)
  1446. ! #define DTA_Domain              (DTA_Dummy + 104)
  1447.   
  1448.   /* DON'T USE THE FOLLOWING FOUR TAGS.  USE THE CORRESPONDING TAGS IN
  1449. !  * <intuition/gadgetclass.h>
  1450. !  */
  1451. ! #define DTA_Left                (DTA_Dummy + 105)
  1452. ! #define DTA_Top                 (DTA_Dummy + 106)
  1453. ! #define DTA_Width               (DTA_Dummy + 107)
  1454. ! #define DTA_Height              (DTA_Dummy + 108)
  1455.   
  1456. ! #define DTA_ObjName             (DTA_Dummy + 109)
  1457. ! #define DTA_ObjAuthor           (DTA_Dummy + 110)
  1458. ! #define DTA_ObjAnnotation       (DTA_Dummy + 111)
  1459. ! #define DTA_ObjCopyright        (DTA_Dummy + 112)
  1460. ! #define DTA_ObjVersion          (DTA_Dummy + 113)
  1461. ! #define DTA_ObjectID            (DTA_Dummy + 114)
  1462. ! #define DTA_UserData            (DTA_Dummy + 115)
  1463. ! #define DTA_FrameInfo           (DTA_Dummy + 116)
  1464.   
  1465.   /* DON'T USE THE FOLLOWING FOUR TAGS.  USE THE CORRESPONDING TAGS IN
  1466.    * <intuition/gadgetclass.h> */
  1467. ! #define DTA_RelRight            (DTA_Dummy + 117)
  1468. ! #define DTA_RelBottom           (DTA_Dummy + 118)
  1469. ! #define DTA_RelWidth            (DTA_Dummy + 119)
  1470. ! #define DTA_RelHeight           (DTA_Dummy + 120)
  1471.   
  1472. ! #define DTA_SelectDomain        (DTA_Dummy + 121)
  1473. ! #define DTA_TotalPVert          (DTA_Dummy + 122)
  1474. ! #define DTA_TotalPHoriz         (DTA_Dummy + 123)
  1475. ! #define DTA_NominalVert         (DTA_Dummy + 124)
  1476. ! #define DTA_NominalHoriz        (DTA_Dummy + 125)
  1477.   
  1478.   /* Printing attributes */
  1479. ! #define DTA_DestCols            (DTA_Dummy + 400)
  1480. !     /* (LONG) Destination X width */
  1481.   
  1482. ! #define DTA_DestRows            (DTA_Dummy + 401)
  1483. !     /* (LONG) Destination Y height */
  1484.   
  1485. ! #define DTA_Special             (DTA_Dummy + 402)
  1486. !     /* (UWORD) Option flags */
  1487.   
  1488. ! #define DTA_RastPort            (DTA_Dummy + 403)
  1489. !     /* (struct RastPort *) RastPort to use when printing. (V40) */
  1490.   
  1491. ! #define DTA_ARexxPortName       (DTA_Dummy + 404)
  1492. !     /* (STRPTR) Pointer to base name for ARexx port (V40) */
  1493.   
  1494.   
  1495.   /*****************************************************************************/
  1496.   
  1497. ! /* DTA_SourceType values */
  1498. ! #define DTST_RAM        (1UL) /* DTA_Handle expects a NULL arg              */
  1499. ! #define DTST_FILE       (2UL) /* DTA_Handle expects a (BPTR) lock           */
  1500. ! #define DTST_CLIPBOARD  (3UL) /* DTA_Handle expects a (struct IFFHandle *)  */
  1501. ! #define DTST_HOTLINK    (4UL) /* not implemented yet */
  1502.   
  1503.   /*****************************************************************************/
  1504. ***************
  1505. *** 207,321 ****
  1506.   struct DTSpecialInfo
  1507.   {
  1508. !     struct SignalSemaphore     si_Lock;    /* Locked while in DoAsyncLayout() */
  1509. !     ULONG             si_Flags;
  1510.   
  1511. !     LONG             si_TopVert;    /* Top row (in units) */
  1512. !     LONG             si_VisVert;    /* Number of visible rows (in units) */
  1513. !     LONG             si_TotVert;    /* Total number of rows (in units) */
  1514. !     LONG             si_OTopVert;    /* Previous top (in units) */
  1515. !     LONG             si_VertUnit;    /* Number of pixels in vertical unit */
  1516.   
  1517. !     LONG             si_TopHoriz;    /* Top column (in units) */
  1518. !     LONG             si_VisHoriz;    /* Number of visible columns (in units) */
  1519. !     LONG             si_TotHoriz;    /* Total number of columns (in units) */
  1520. !     LONG             si_OTopHoriz;    /* Previous top (in units) */
  1521. !     LONG             si_HorizUnit;    /* Number of pixels in horizontal unit */
  1522.   };
  1523.   
  1524.   
  1525.   /* Object is in layout processing */
  1526. ! #define    DTSIF_LAYOUT        (1L<<0)
  1527.   
  1528.   /* Object needs to be layed out */
  1529. ! #define    DTSIF_NEWSIZE        (1L<<1)
  1530.   
  1531. ! #define    DTSIF_DRAGGING        (1L<<2)
  1532. ! #define    DTSIF_DRAGSELECT    (1L<<3)
  1533.   
  1534. ! #define    DTSIF_HIGHLIGHT        (1L<<4)
  1535.   
  1536.   /* Object is being printed */
  1537. ! #define    DTSIF_PRINTING        (1L<<5)
  1538.   
  1539.   /* Object is in layout process */
  1540. ! #define    DTSIF_LAYOUTPROC    (1L<<6)
  1541.   
  1542.   /*****************************************************************************/
  1543.   
  1544.   struct DTMethod
  1545.   {
  1546. !     STRPTR     dtm_Label;
  1547. !     STRPTR     dtm_Command;
  1548. !     ULONG     dtm_Method;
  1549.   };
  1550.   
  1551.   /*****************************************************************************/
  1552.   
  1553. ! #define    DTM_Dummy        (0x600)
  1554.   
  1555. ! /* Inquire what environment an object requires */
  1556. ! #define    DTM_FRAMEBOX        (0x601)
  1557.   
  1558. ! /* Same as GM_LAYOUT except guaranteed to be on a process already */
  1559. ! #define    DTM_PROCLAYOUT        (0x602)
  1560.   
  1561. ! /* Layout that is occurring on a process */
  1562. ! #define    DTM_ASYNCLAYOUT        (0x603)
  1563.   
  1564. ! /* When a RemoveDTObject() is called */
  1565. ! #define    DTM_REMOVEDTOBJECT    (0x604)
  1566.   
  1567. ! #define    DTM_SELECT        (0x605)
  1568. ! #define    DTM_CLEARSELECTED    (0x606)
  1569.   
  1570. ! #define    DTM_COPY        (0x607)
  1571. ! #define    DTM_PRINT        (0x608)
  1572. ! #define    DTM_ABORTPRINT        (0x609)
  1573.   
  1574. ! #define    DTM_NEWMEMBER        (0x610)
  1575. ! #define    DTM_DISPOSEMEMBER    (0x611)
  1576.   
  1577. ! #define    DTM_GOTO        (0x630)
  1578. ! #define    DTM_TRIGGER        (0x631)
  1579.   
  1580. ! #define    DTM_OBTAINDRAWINFO    (0x640)
  1581. ! #define    DTM_DRAW        (0x641)
  1582. ! #define    DTM_RELEASEDRAWINFO    (0x642)
  1583.   
  1584. ! #define    DTM_WRITE        (0x650)
  1585.   
  1586.   /* Used to ask the object about itself */
  1587.   struct FrameInfo
  1588.   {
  1589. !     ULONG         fri_PropertyFlags;        /* DisplayInfo (graphics/displayinfo.h) */
  1590. !     Point         fri_Resolution;        /* DisplayInfo */
  1591.   
  1592. !     UBYTE         fri_RedBits;
  1593. !     UBYTE         fri_GreenBits;
  1594. !     UBYTE         fri_BlueBits;
  1595.   
  1596.       struct
  1597.       {
  1598. !     ULONG Width;
  1599. !     ULONG Height;
  1600. !     ULONG Depth;
  1601.       } fri_Dimensions;
  1602.   
  1603. !     struct Screen    *fri_Screen;
  1604. !     struct ColorMap    *fri_ColorMap;
  1605.   
  1606. !     ULONG         fri_Flags;
  1607.   };
  1608.   
  1609. ! #define    FIF_SCALABLE    0x1
  1610. ! #define    FIF_SCROLLABLE    0x2
  1611. ! #define    FIF_REMAPPABLE    0x4
  1612.   
  1613.   /* DTM_REMOVEDTOBJECT, DTM_CLEARSELECTED, DTM_COPY, DTM_ABORTPRINT */
  1614.   struct dtGeneral
  1615.   {
  1616. !     ULONG         MethodID;
  1617. !     struct GadgetInfo    *dtg_GInfo;
  1618.   };
  1619.   
  1620. --- 264,396 ----
  1621.   struct DTSpecialInfo
  1622.   {
  1623. !     struct SignalSemaphore si_Lock;         /* Locked while in DoAsyncLayout        */
  1624. !     ULONG                  si_Flags;        /* Flags, see DTSIF_#? defines below    */
  1625.   
  1626. !     LONG                   si_TopVert;      /* Top row (in units)                   */
  1627. !     LONG                   si_VisVert;      /* Number of visible rows (in units)    */
  1628. !     LONG                   si_TotVert;      /* Total number of rows (in units)      */
  1629. !     LONG                   si_OTopVert;     /* Previous top (in units)              */
  1630. !     LONG                   si_VertUnit;     /* Number of pixels in vertical unit    */
  1631.   
  1632. !     LONG                   si_TopHoriz;     /* Top column (in units)                */
  1633. !     LONG                   si_VisHoriz;     /* Number of visible columns (in units) */
  1634. !     LONG                   si_TotHoriz;     /* Total number of columns (in units)   */
  1635. !     LONG                   si_OTopHoriz;    /* Previous top (in units)              */
  1636. !     LONG                   si_HorizUnit;    /* Number of pixels in horizontal unit  */
  1637.   };
  1638.   
  1639.   
  1640.   /* Object is in layout processing */
  1641. ! #define DTSIF_LAYOUT     (1UL << 0)
  1642.   
  1643.   /* Object needs to be layed out */
  1644. ! #define DTSIF_NEWSIZE    (1UL << 1)
  1645.   
  1646. ! #define DTSIF_DRAGGING   (1UL << 2)
  1647. ! #define DTSIF_DRAGSELECT (1UL << 3)
  1648.   
  1649. ! #define DTSIF_HIGHLIGHT  (1UL << 4)
  1650.   
  1651.   /* Object is being printed */
  1652. ! #define DTSIF_PRINTING   (1UL << 5)
  1653.   
  1654.   /* Object is in layout process */
  1655. ! #define DTSIF_LAYOUTPROC (1UL << 6)
  1656.   
  1657.   /*****************************************************************************/
  1658.   
  1659. + /* DTA_TriggerMethods array of supported method */
  1660.   struct DTMethod
  1661.   {
  1662. !     STRPTR  dtm_Label;
  1663. !     STRPTR  dtm_Command;
  1664. !     ULONG   dtm_Method;
  1665.   };
  1666.   
  1667.   /*****************************************************************************/
  1668.   
  1669. ! /* datatypesclass method space */
  1670. ! #define DTM_Dummy            (0x600)
  1671.   
  1672. ! /* Inquire what environment an object requires (struct dtFrameBox *) */
  1673. ! #define DTM_FRAMEBOX         (DTM_Dummy + 0x1)
  1674.   
  1675. ! /* Same as GM_LAYOUT except guaranteed to be on a process already (struct gpLayout *) */
  1676. ! #define DTM_PROCLAYOUT       (DTM_Dummy + 0x2)
  1677.   
  1678. ! /* Layout that is occurring on a process (struct gpLayout *) */
  1679. ! #define DTM_ASYNCLAYOUT      (DTM_Dummy + 0x3)
  1680.   
  1681. ! /* When a RemoveDTObject is called (struct dtGeneral *) */
  1682. ! #define DTM_REMOVEDTOBJECT   (DTM_Dummy + 0x4)
  1683.   
  1684. ! /* Select area after drag-select (struct dtSelect *) */
  1685. ! #define DTM_SELECT           (DTM_Dummy + 0x5)
  1686.   
  1687. ! /* Clear selected area (struct dtGeneral *) */
  1688. ! #define DTM_CLEARSELECTED    (DTM_Dummy + 0x6)
  1689.   
  1690. ! /* Copy contents to primary clipboard (struct dtGeneral *) */
  1691. ! #define DTM_COPY             (DTM_Dummy + 0x7)
  1692.   
  1693. ! /* Print contents (struct dtPrint *)*/
  1694. ! #define DTM_PRINT            (DTM_Dummy + 0x8)
  1695.   
  1696. ! /* Abort print process (struct dtGeneral *) */
  1697. ! #define DTM_ABORTPRINT       (DTM_Dummy + 0x9)
  1698.   
  1699. ! #define DTM_NEWMEMBER        (DTM_Dummy + 0x10)
  1700. ! #define DTM_DISPOSEMEMBER    (DTM_Dummy + 0x11)
  1701. ! /* Go to node (struct dtGoto *) */
  1702. ! #define DTM_GOTO             (DTM_Dummy + 0x30)
  1703. ! /* Trigger an action (struct dtTrigger *) */
  1704. ! #define DTM_TRIGGER          (DTM_Dummy + 0x31)
  1705. ! /* Obtain rendering hande required to use DTM_DRAW (struct opSet *) */
  1706. ! #define DTM_OBTAINDRAWINFO   (DTM_Dummy + 0x40)
  1707. ! /* Draw object (struct dtDraw *) */
  1708. ! #define DTM_DRAW             (DTM_Dummy + 0x41)
  1709. ! /* Release drawing handle obtained by DTM_OBTAINDRAWINFO (struct dtReleaseDrawInfo *) */
  1710. ! #define DTM_RELEASEDRAWINFO  (DTM_Dummy + 0x42)
  1711. ! /* Write contents to file (struct dtWrite *) */
  1712. ! #define DTM_WRITE            (DTM_Dummy + 0x50)
  1713.   
  1714.   /* Used to ask the object about itself */
  1715.   struct FrameInfo
  1716.   {
  1717. !     ULONG            fri_PropertyFlags;     /* DisplayInfo (graphics/displayinfo.h) */
  1718. !     Point            fri_Resolution;        /* DisplayInfo */
  1719.   
  1720. !     UBYTE            fri_RedBits;
  1721. !     UBYTE            fri_GreenBits;
  1722. !     UBYTE            fri_BlueBits;
  1723.   
  1724.       struct
  1725.       {
  1726. !       ULONG Width;
  1727. !       ULONG Height;
  1728. !       ULONG Depth;
  1729.       } fri_Dimensions;
  1730.   
  1731. !     struct Screen   *fri_Screen;
  1732. !     struct ColorMap *fri_ColorMap;
  1733.   
  1734. !     ULONG            fri_Flags; /* See FIF_#? defines below */
  1735.   };
  1736.   
  1737. ! #define FIF_SCALABLE    (0x1UL)
  1738. ! #define FIF_SCROLLABLE  (0x2UL)
  1739. ! #define FIF_REMAPPABLE  (0x4UL)
  1740.   
  1741.   /* DTM_REMOVEDTOBJECT, DTM_CLEARSELECTED, DTM_COPY, DTM_ABORTPRINT */
  1742.   struct dtGeneral
  1743.   {
  1744. !     ULONG              MethodID;
  1745. !     struct GadgetInfo *dtg_GInfo;
  1746.   };
  1747.   
  1748. ***************
  1749. *** 323,329 ****
  1750.   struct dtSelect
  1751.   {
  1752. !     ULONG         MethodID;
  1753. !     struct GadgetInfo    *dts_GInfo;
  1754. !     struct Rectangle     dts_Select;
  1755.   };
  1756.   
  1757. --- 398,404 ----
  1758.   struct dtSelect
  1759.   {
  1760. !     ULONG              MethodID;
  1761. !     struct GadgetInfo *dts_GInfo;
  1762. !     struct Rectangle   dts_Select;
  1763.   };
  1764.   
  1765. ***************
  1766. *** 331,353 ****
  1767.   struct dtFrameBox
  1768.   {
  1769. !     ULONG         MethodID;
  1770. !     struct GadgetInfo    *dtf_GInfo;
  1771. !     struct FrameInfo    *dtf_ContentsInfo;    /* Input */
  1772. !     struct FrameInfo    *dtf_FrameInfo;        /* Output */
  1773. !     ULONG         dtf_SizeFrameInfo;
  1774. !     ULONG         dtf_FrameFlags;
  1775.   };
  1776.   
  1777. ! #ifndef    FRAMEF_SPECIFY
  1778. ! #define FRAMEF_SPECIFY    (1<<0)    /* Make do with the dimensions of FrameBox provided. */
  1779. ! #endif
  1780.   
  1781.   /* DTM_GOTO */
  1782.   struct dtGoto
  1783.   {
  1784. !     ULONG         MethodID;
  1785. !     struct GadgetInfo    *dtg_GInfo;
  1786. !     STRPTR         dtg_NodeName;        /* Node to goto */
  1787. !     struct TagItem    *dtg_AttrList;        /* Additional attributes */
  1788.   };
  1789.   
  1790. --- 406,428 ----
  1791.   struct dtFrameBox
  1792.   {
  1793. !     ULONG              MethodID;
  1794. !     struct GadgetInfo *dtf_GInfo;
  1795. !     struct FrameInfo  *dtf_ContentsInfo;  /* Input  */
  1796. !     struct FrameInfo  *dtf_FrameInfo;     /* Output */
  1797. !     ULONG              dtf_SizeFrameInfo;
  1798. !     ULONG              dtf_FrameFlags;
  1799.   };
  1800.   
  1801. ! #ifndef FRAMEF_SPECIFY
  1802. ! #define FRAMEF_SPECIFY  (1UL << 0) /* Make do with the dimensions of FrameBox provided. */
  1803. ! #endif /* !FRAMEF_SPECIFY */
  1804.   
  1805.   /* DTM_GOTO */
  1806.   struct dtGoto
  1807.   {
  1808. !     ULONG              MethodID;
  1809. !     struct GadgetInfo *dtg_GInfo;
  1810. !     STRPTR             dtg_NodeName; /* Node to goto */
  1811. !     struct TagItem    *dtg_AttrList; /* Additional attributes */
  1812.   };
  1813.   
  1814. ***************
  1815. *** 355,390 ****
  1816.   struct dtTrigger
  1817.   {
  1818. !     ULONG         MethodID;
  1819. !     struct GadgetInfo    *dtt_GInfo;
  1820. !     ULONG         dtt_Function;
  1821. !     APTR         dtt_Data;
  1822.   };
  1823.   
  1824. ! #define    STM_PAUSE        1
  1825. ! #define    STM_PLAY        2
  1826. ! #define    STM_CONTENTS        3
  1827. ! #define    STM_INDEX        4
  1828. ! #define    STM_RETRACE        5
  1829. ! #define    STM_BROWSE_PREV        6
  1830. ! #define    STM_BROWSE_NEXT        7
  1831.   
  1832. ! #define    STM_NEXT_FIELD        8
  1833. ! #define    STM_PREV_FIELD        9
  1834. ! #define    STM_ACTIVATE_FIELD    10
  1835.   
  1836. ! #define    STM_COMMAND        11
  1837.   
  1838.   /* New for V40 */
  1839. ! #define    STM_REWIND        12
  1840. ! #define    STM_FASTFORWARD        13
  1841. ! #define    STM_STOP        14
  1842. ! #define    STM_RESUME        15
  1843. ! #define    STM_LOCATE        16
  1844.   
  1845.   /* Printer IO request */
  1846.   union printerIO
  1847.   {
  1848. !     struct IOStdReq ios;
  1849. !     struct IODRPReq iodrp;
  1850.       struct IOPrtCmdReq iopc;
  1851.   };
  1852. --- 430,487 ----
  1853.   struct dtTrigger
  1854.   {
  1855. !     ULONG              MethodID;
  1856. !     struct GadgetInfo *dtt_GInfo;
  1857. !     ULONG              dtt_Function; /* See STM_#? defines below */
  1858. !     APTR               dtt_Data;
  1859.   };
  1860.   
  1861. ! /* These masks splits the dtt_Function/dtm_Method field in a "method"-part
  1862. !  * and part which describes the data type attached to dtt_Data
  1863. !  */
  1864. ! #define STMF_METHOD_MASK   (0x0000FFFF)
  1865. ! #define STMF_DATA_MASK     (0x00FF0000)
  1866. ! #define STMF_RESERVED_MASK (0xFF000000)
  1867.   
  1868. ! /* data types dtt_Data currently can have
  1869. !  * (use GetDTTriggerMethodDataFlags to examine these values)
  1870. !  */
  1871. ! #define STMD_VOID          (0x00010000)
  1872. ! #define STMD_ULONG         (0x00020000)
  1873. ! #define STMD_STRPTR        (0x00030000)
  1874. ! #define STMD_TAGLIST       (0x00040000)
  1875.   
  1876. ! #define STM_DONE            (0) /* Terminator; end of trigger methods array   */
  1877. ! #define STM_END             (0) /* Terminator; end of trigger methods array   */
  1878. ! #define STM_PAUSE           (1) /* dtt_Data (VOID)                            */
  1879. ! #define STM_PLAY            (2) /* dtt_Data (VOID)                            */
  1880. ! #define STM_CONTENTS        (3) /* dtt_Data (VOID)                            */
  1881. ! #define STM_INDEX           (4) /* dtt_Data (VOID)                            */
  1882. ! #define STM_RETRACE         (5) /* dtt_Data (VOID)                            */
  1883. ! #define STM_BROWSE_PREV     (6) /* dtt_Data (VOID)                            */
  1884. ! #define STM_BROWSE_NEXT     (7) /* dtt_Data (VOID)                            */
  1885. ! #define STM_NEXT_FIELD      (8) /* dtt_Data (VOID)                            */
  1886. ! #define STM_PREV_FIELD      (9) /* dtt_Data (VOID)                            */
  1887. ! #define STM_ACTIVATE_FIELD (10) /* dtt_Data (VOID)                            */
  1888. ! #define STM_COMMAND        (11) /* dtt_Data (STRPTR) Command to execute       */
  1889.   
  1890.   /* New for V40 */
  1891. ! #define STM_REWIND         (12) /* dtt_Data (VOID)                            */
  1892. ! #define STM_FASTFORWARD    (13) /* dtt_Data (VOID)                            */
  1893. ! #define STM_STOP           (14) /* dtt_Data (VOID)                            */
  1894. ! #define STM_RESUME         (15) /* dtt_Data (VOID)                            */
  1895. ! #define STM_LOCATE         (16) /* dtt_Data (ULONG) (frame number, etc.)      */
  1896. ! /* New for V45: Custom trigger methods starts here; but must be within
  1897. !  * STMF_METHOD_MASKs value
  1898. !  */
  1899. ! #define STM_USER          (100)
  1900.   
  1901.   /* Printer IO request */
  1902.   union printerIO
  1903.   {
  1904. !     struct IOStdReq    ios;
  1905. !     struct IODRPReq    iodrp;
  1906.       struct IOPrtCmdReq iopc;
  1907.   };
  1908. ***************
  1909. *** 393,400 ****
  1910.   struct dtPrint
  1911.   {
  1912. !     ULONG         MethodID;
  1913. !     struct GadgetInfo    *dtp_GInfo;        /* Gadget information */
  1914. !     union printerIO    *dtp_PIO;        /* Printer IO request */
  1915. !     struct TagItem    *dtp_AttrList;        /* Additional attributes */
  1916.   };
  1917.   
  1918. --- 490,497 ----
  1919.   struct dtPrint
  1920.   {
  1921. !     ULONG               MethodID;
  1922. !     struct GadgetInfo  *dtp_GInfo;     /* Gadget information    */
  1923. !     union printerIO    *dtp_PIO;       /* Printer IO request    */
  1924. !     struct TagItem     *dtp_AttrList;  /* Additional attributes */
  1925.   };
  1926.   
  1927. ***************
  1928. *** 402,414 ****
  1929.   struct dtDraw
  1930.   {
  1931. !     ULONG         MethodID;
  1932. !     struct RastPort    *dtd_RPort;
  1933. !     LONG         dtd_Left;
  1934. !     LONG         dtd_Top;
  1935. !     LONG         dtd_Width;
  1936. !     LONG         dtd_Height;
  1937. !     LONG         dtd_TopHoriz;
  1938. !     LONG         dtd_TopVert;
  1939. !     struct TagItem    *dtd_AttrList;        /* Additional attributes */
  1940.   };
  1941.   
  1942. --- 499,518 ----
  1943.   struct dtDraw
  1944.   {
  1945. !     ULONG               MethodID;
  1946. !     struct RastPort    *dtd_RPort;
  1947. !     LONG                dtd_Left;
  1948. !     LONG                dtd_Top;
  1949. !     LONG                dtd_Width;
  1950. !     LONG                dtd_Height;
  1951. !     LONG                dtd_TopHoriz;
  1952. !     LONG                dtd_TopVert;
  1953. !     struct TagItem     *dtd_AttrList; /* Additional attributes */
  1954. ! };
  1955. ! /* DTM_RELEASEDRAWINFO */
  1956. ! struct dtReleaseDrawInfo
  1957. ! {
  1958. !     ULONG MethodID;
  1959. !     APTR  dtr_Handle; /* Handle returned by DTM_OBTAINDRAWINFO */
  1960.   };
  1961.   
  1962. ***************
  1963. *** 416,431 ****
  1964.   struct dtWrite
  1965.   {
  1966. !     ULONG         MethodID;
  1967. !     struct GadgetInfo    *dtw_GInfo;        /* Gadget information */
  1968. !     BPTR         dtw_FileHandle;    /* File handle to write to */
  1969. !     ULONG         dtw_Mode;
  1970. !     struct TagItem    *dtw_AttrList;        /* Additional attributes */
  1971.   };
  1972.   
  1973.   /* Save data as IFF data */
  1974. ! #define    DTWM_IFF    0
  1975.   
  1976.   /* Save data as local data format */
  1977. ! #define    DTWM_RAW    1
  1978.   
  1979. - #endif /* DATATYPES_DATATYPESCLASS_H */
  1980. --- 520,537 ----
  1981.   struct dtWrite
  1982.   {
  1983. !     ULONG              MethodID;
  1984. !     struct GadgetInfo *dtw_GInfo;        /* Gadget information        */
  1985. !     BPTR               dtw_FileHandle;   /* File handle to write to   */
  1986. !     ULONG              dtw_Mode;         /* See DTWM_#? defines below */
  1987. !     struct TagItem    *dtw_AttrList;     /* Additional attributes     */
  1988.   };
  1989.   
  1990.   /* Save data as IFF data */
  1991. ! #define    DTWM_IFF    (0)
  1992.   
  1993.   /* Save data as local data format */
  1994. ! #define    DTWM_RAW    (1)
  1995. ! #endif /* !DATATYPES_DATATYPESCLASS_H */
  1996.   
  1997. Only in include_h/datatypes: pictureclass.h
  1998. diff -c2 -d -P -r include_h/datatypes/pictureclassext.h includenew/datatypes/pictureclassext.h
  1999. *** include_h/datatypes/pictureclassext.h    Thu Jan  1 00:00:00 1970
  2000. --- includenew/datatypes/pictureclassext.h    Wed Feb 14 02:41:09 2001
  2001. ***************
  2002. *** 0 ****
  2003. --- 1,51 ----
  2004. + #ifndef    DATATYPES_PICTURECLASSEXT_H
  2005. + #define    DATATYPES_PICTURECLASSEXT_H
  2006. + #include <datatypes/datatypesclass.h>
  2007. + #define    DTM_WRITEPIXELARRAY    (DTM_Dummy+0x60)    /*Datatypesclass.h*/
  2008. + #define    DTM_READPIXELARRAY    (DTM_Dummy+0x61)    /*Datatypesclass.h*/
  2009. + #define    DTM_CREATEPIXMAPDIR    (DTM_Dummy+0x62)    /*Datatypesclass.h*/
  2010. + #define    DTM_FIRSTPIXMAPDIR    (DTM_Dummy+0x63)    /*Datatypesclass.h*/
  2011. + #define    DTM_NEXTPIXMAPDIR    (DTM_Dummy+0x64)    /*Datatypesclass.h*/
  2012. + #define    DTM_PREVPIXMAPDIR    (DTM_Dummy+0x65)    /*Datatypesclass.h*/
  2013. + #define    DTM_BESTPIXMAPDIR    (DTM_Dummy+0x66)    /*Datatypesclass.h*/
  2014. + /* DTM_BLITPIXELARRAY    */
  2015. + struct gpBlitPixelArray
  2016. + {
  2017. +     ULONG        MethodID;        /* DTM_BLITPIXELARRAY id */
  2018. +     UBYTE        *PixelArray;        /* Source PixelArray */
  2019. +     ULONG        PixelArrayMode;        /* Format Mode of the Source PixelArray..see cybergraphics.h */
  2020. +     ULONG        PixelArrayMod;        /* Bytes to add to the next line in the Source PixelArray */
  2021. +     ULONG        LeftEdge;        /* XStart of the Dest */
  2022. +     ULONG        TopEdge;        /* YStart of the Dest */
  2023. +     ULONG        Width;            /* Width of the Source PixelArray */
  2024. +     ULONG        Height;            /* Height of the Source PixelArray */
  2025. + };
  2026. + #define    PDTA_SourceMode        (DTA_Dummy + 250)    /* Used to set the sub datatype interface */
  2027. + #define    PDTA_DestMode        (DTA_Dummy + 251)    /* Used to set the app datatype interface */
  2028. + #define    PDTA_PixelFormat    (DTA_Dummy + 252)    /* private..DON'T touch */
  2029. + #define    PDTA_TransRemapPen    (DTA_Dummy + 253)    /* Optional transparent remap pen */
  2030. + #define    PDTA_NumPixMapDir    (DTA_Dummy + 254)    /* Count of the Object's PixMapDirs..default=1 */
  2031. + #define PDTA_UseFriendBitMap    (DTA_Dummy + 255)    /* Converts the result bitmap into a friendbitmap */
  2032. + #define PDTA_AlphaChannel    (DTA_Dummy + 256)    /* Alphachannel input */
  2033. + #define PDTA_MultiRemap        (DTA_Dummy + 257)    /* Tells the picture.datatype NOT to keep control */
  2034. +                                                         /* over DestBitmap and Pens...these are now*/
  2035. +                                                         /* controlled by the appliction. TM mode*/
  2036. + #define    PDTA_MaskPlane        (DTA_Dummy + 258)    /* NULL or MaskPlane for BltMaskBitMapRastPort() */
  2037. +                                                         /* This mask is generated when the transparent flag is set*/
  2038. +                                                         /* or an Alphachannel exists */
  2039. + /* PDTA_SourceMode,PDTA_DestMode */
  2040. + #define    MODE_V42        0
  2041. + #define    MODE_V43        1
  2042. + #endif
  2043. Only in include_h/datatypes: soundclass.h
  2044. Only in include_h/datatypes: textclass.h
  2045. Only in include_h/devices: audio.h
  2046. Only in include_h/devices: bootblock.h
  2047. Only in include_h/devices: cd.h
  2048. Only in include_h/devices: clipboard.h
  2049. Only in include_h/devices: console.h
  2050. Only in include_h/devices: conunit.h
  2051. Only in include_h/devices: gameport.h
  2052. Only in include_h/devices: hardblocks.h
  2053. diff -c2 -d -P -r include_h/devices/input.h includenew/devices/input.h
  2054. *** include_h/devices/input.h    Wed Feb 14 02:41:41 2001
  2055. --- includenew/devices/input.h    Wed Feb 14 02:41:30 2001
  2056. ***************
  2057. *** 1,15 ****
  2058.   #ifndef DEVICES_INPUT_H
  2059.   #define DEVICES_INPUT_H
  2060. ! /*
  2061. ! **    $VER: input.h 36.0 (1.5.90)
  2062. ! **    Includes Release 40.15
  2063. ! **
  2064. ! **    input device command definitions
  2065. ! **
  2066. ! **    (C) Copyright 1985-1993 Commodore-Amiga, Inc.
  2067. ! **        All Rights Reserved
  2068. ! */
  2069. ! #ifndef        EXEC_IO_H
  2070.   #include "exec/io.h"
  2071.   #endif
  2072. --- 1,5 ----
  2073.   #ifndef DEVICES_INPUT_H
  2074.   #define DEVICES_INPUT_H
  2075. ! #ifndef    EXEC_IO_H
  2076.   #include "exec/io.h"
  2077.   #endif
  2078. ***************
  2079. *** 23,26 ****
  2080. --- 13,23 ----
  2081.   #define     IND_SETMTYPE       (CMD_NONSTD+6)
  2082.   #define     IND_SETMTRIG       (CMD_NONSTD+7)
  2083. + #define     IND_SETINTUITICKS (CMD_NONSTD+8)
  2084. + #define     IND_GETTHRESH       (CMD_NONSTD+9)
  2085. + #define     IND_GETPERIOD       (CMD_NONSTD+10)
  2086. + #define     IND_GETMPORT       (CMD_NONSTD+11)
  2087. + #define     IND_GETMTYPE       (CMD_NONSTD+12)
  2088. + #define     IND_GETMTRIG       (CMD_NONSTD+13)
  2089. + #define     IND_GETINTUITICKS (CMD_NONSTD+14)
  2090.   
  2091.   #endif    /* DEVICES_INPUT_H */
  2092. Only in include_h/devices: inputevent.h
  2093. Only in include_h/devices: keyboard.h
  2094. Only in include_h/devices: keymap.h
  2095. Only in include_h/devices: narrator.h
  2096. Only in include_h/devices: parallel.h
  2097. Only in include_h/devices: printer.h
  2098. Only in include_h/devices: prtbase.h
  2099. Only in include_h/devices: prtgfx.h
  2100. Only in include_h/devices: scsidisk.h
  2101. Only in include_h/devices: serial.h
  2102. Only in include_h/devices: timer.h
  2103. Only in include_h/devices: trackdisk.h
  2104. Only in include_h: diskfont
  2105. Only in include_h: dos
  2106. diff -c2 -d -P -r include_h/emul/emulinterface.h includenew/emul/emulinterface.h
  2107. *** include_h/emul/emulinterface.h    Thu Jan  1 00:00:00 1970
  2108. --- includenew/emul/emulinterface.h    Wed Feb 14 02:41:10 2001
  2109. ***************
  2110. *** 0 ****
  2111. --- 1,398 ----
  2112. + #ifndef    EMUL_EMULINTERFACE_H
  2113. + #define    EMUL_EMULINTERFACE_H
  2114. + #define    TRAP_MASK        0x00ff
  2115. + #define    TRAP_AREA_START        0xff00    /* 0xff00 .. 0xffff area */
  2116. + /***********************************************************************************
  2117. +  *      Trap: EmulLibEntry.Trap == TRAP_LIB
  2118. +  *    Result: D0
  2119. +  *  Function: Call a PPC Function with std SystemV4 register layout.
  2120. +  *            The 68k frame is saved in the EmulHandle which
  2121. +  *            is passed in gpr2 and MUST not be changed.
  2122. +  *            The Result is passed in gpr3 and then moved to REG_D0.
  2123. +  * Emulation: PC      = *REG_A7
  2124. +  *            REG_A7 += 4;
  2125. +  *      Note: Should be used with complex PPC functions
  2126. +  */
  2127. + #define    TRAP_LIB        0xff00
  2128. + /***********************************************************************************
  2129. +  *      Trap: EmulLibEntry.Trap == TRAP_LIB_QUICK
  2130. +  *    Result: D0
  2131. +  *  Function: Call a PPC Function with 68k emulation register layout.
  2132. +  *            See emulregs.h.
  2133. +  *            You must not kill the REG_SR register.
  2134. +  *            Only A7 and SR is saved to the EmulHandle because
  2135. +  *            they may be needed for Emulation Calls out of the PPC.
  2136. +  *            EmulHandle is passed in gpr2 and MUST not be changed
  2137. +  *            The Result is passed in gpr3 and then moved to REG_D0.
  2138. +  * Emulation: PC      = *REG_A7
  2139. +  *            REG_A7 += 4;
  2140. +  *      Note: Should be used with simple/quick PPC function which don`t
  2141. +  *            require many registers.
  2142. +  */
  2143. + #define    TRAP_LIB_QUICK        0xff01
  2144. + /***********************************************************************************
  2145. +  *      Trap: TRAP_END
  2146. +  *  Function: to return from an emulated routine back into the PPC Function
  2147. +  *      Note: **PRIVATE**
  2148. +  */
  2149. + #define    TRAP_END        0xff02
  2150. + /***********************************************************************************
  2151. +  *      Trap: TRAP_FATALEXCEPTION
  2152. +  *  Function: Capture a fatal kickstart exception
  2153. +  *      Note: **PRIVATE**
  2154. +  */
  2155. + #define    TRAP_FATALEXCEPTION    0xff03
  2156. + /***********************************************************************************
  2157. +  *      Trap: TRAP_ALERT
  2158. +  *  Function: to capture an Alert before the execppc alert replacement is installed
  2159. +  *      Note: **PRIVATE**
  2160. +  */
  2161. + #define    TRAP_ALERT        0xff04
  2162. + /***********************************************************************************
  2163. +  *      Trap: EmulLibEntry.Trap == TRAP_LIBNR
  2164. +  *    Result: None
  2165. +  *  Function: Call a PPC Function with std SystemV4 register layout.
  2166. +  *            The 68k frame is saved in the EmulHandle which
  2167. +  *            is passed in gpr2 and MUST not be changed
  2168. +  *            The PPC function doesn`t return any result.
  2169. +  * Emulation: PC      = *REG_A7
  2170. +  *            REG_A7 += 4;
  2171. +  *      Note: Should be used with complex PPC functions
  2172. +  */
  2173. + #define    TRAP_LIBNR        0xff05
  2174. + /***********************************************************************************
  2175. +  *      Trap: EmulLibEntry.Trap == TRAP_LIBNR_QUICK
  2176. +  *    Result: None
  2177. +  *  Function: Call a PPC Function with 68k emulation register layout.
  2178. +  *            See emulregs.h.
  2179. +  *            You must not change the emul regs.
  2180. +  *            Only A7 and SR is saved to the EmulHandle because
  2181. +  *            they may be needed for Emulation Calls out of the PPC.
  2182. +  *            EmulHandle is passed in gpr2 and MUST not be changed
  2183. +  *            The PPC function doesn`t return any result.
  2184. +  * Emulation: PC      = *REG_A7
  2185. +  *            REG_A7 += 4;
  2186. +  *      Note: Should be used with simple/quick PPC function which don`t
  2187. +  *            require many registers.
  2188. +  */
  2189. + #define    TRAP_LIBNR_QUICK    0xff06
  2190. + /***********************************************************************************
  2191. +  *      Trap: TRAP_EXCEPT
  2192. +  *  Function: Exec Task Exception
  2193. +  *      Note: **PRIVATE**
  2194. +  */
  2195. + #define    TRAP_EXCEPT        0xff07
  2196. + /***********************************************************************************
  2197. +  *      Trap: TRAP_LAUNCH
  2198. +  *  Function: Exec Task Launch
  2199. +  *      Note: **PRIVATE**
  2200. +  */
  2201. + #define    TRAP_LAUNCH        0xff08
  2202. + /***********************************************************************************
  2203. +  *      Trap: TRAP_DISPATCH
  2204. +  *  Function: Exec Task Dispatch
  2205. +  *      Note: **PRIVATE**
  2206. +  */
  2207. + #define    TRAP_DISPATCH        0xff09
  2208. + /***********************************************************************************
  2209. +  *      Trap: TRAP_SWITCH
  2210. +  *  Function: Exec Task Switch
  2211. +  *      Note: **PRIVATE**
  2212. +  */
  2213. + #define    TRAP_SWITCH        0xff0a
  2214. + /***********************************************************************************
  2215. +  *      Trap: TRAP_SCHEDULE
  2216. +  *  Function: Exec Task Schedule
  2217. +  *      Note: **PRIVATE**
  2218. +  */
  2219. + #define    TRAP_SCHEDULE        0xff0b
  2220. + #define    TRAP_EMULGETATTR    0xff0c    /* D0=Tag D0=Result..it only skips the cmd */
  2221. + #define    TRAP_EMULSETATTR    0xff0d    /* D0=Tag D1=Value..it only skips the cmd */
  2222. + /***********************************************************************************
  2223. +  *
  2224. +  *      Trap: TRAP_FUNC
  2225. +  *  Function: This function MUST be *called* as a subroutine
  2226. +  *            as it takes the PC from the stack.
  2227. +  * Emulation:  o Loads a new stack if necessary
  2228. +  *             o Put Arg1..Arg8 into the System V4 calling registers(gpr3..gpr11)
  2229. +  *             o Call PPC Function at Address
  2230. +  *             o PC == REG_A7[0];
  2231. +  *             o REG_A7 += 4;
  2232. +  */
  2233. + #define    TRAP_FUNC        0xff0e
  2234. + /***********************************************************************************
  2235. +  *      Trap: TRAP_ISYNC
  2236. +  *  Function: Synchronize the instruction stream of the CPU.
  2237. +  *            PPC`s "isync".
  2238. +  * Emulation: PC+=2
  2239. +  */
  2240. + #define    TRAP_ISYNC        0xff0f
  2241. + /***********************************************************************************
  2242. +  *      Trap: TRAP_SYNC
  2243. +  *  Function: Synchronize the instruction stream of the CPU.
  2244. +  *            PPC`s "sync".
  2245. +  * Emulation: PC+=2
  2246. +  */
  2247. + #define    TRAP_SYNC        0xff10
  2248. + /***********************************************************************************
  2249. +  *      Trap: TRAP_EIEIO
  2250. +  *  Function: Orders the instruction stream of the CPU.
  2251. +  *            PPC`s "eieio".
  2252. +  * Emulation: PC+=2
  2253. +  */
  2254. + #define    TRAP_EIEIO        0xff11
  2255. + /***********************************************************************************
  2256. +  *      Trap: EmulLibEntry.Trap == TRAP_LIBSR
  2257. +  *    Result: D0 , REG_SR <- MyEmulHandle->SR
  2258. +  *  Function: Call a PPC Function with std SystemV4 register layout.
  2259. +  *            The 68k frame is saved in the EmulHandle which
  2260. +  *            is passed in gpr2 and MUST not be changed
  2261. +  *            The Result is passed in gpr3 and then moved to REG_D0.
  2262. +  *            REG_SR is updated with MyEmulHandle->SR so you`re able
  2263. +  *            to change it which may be useful for wrongly used
  2264. +  *            exec memory functions where the result SR may be
  2265. +  *            important.
  2266. +  * Emulation: PC      = *REG_A7
  2267. +  *            REG_A7 += 4;
  2268. +  *      Note: Should be used with complex PPC functions
  2269. +  */
  2270. + #define    TRAP_LIBSR        0xff12
  2271. + /***********************************************************************************
  2272. +  *      Trap: EmulLibEntry.Trap == TRAP_LIBSRNR
  2273. +  *    Result: REG_SR <- MyEmulHandle->SR
  2274. +  *  Function: Call a PPC Function with std SystemV4 register layout.
  2275. +  *            The 68k frame is saved in the EmulHandle which
  2276. +  *            is passed in gpr2 and MUST not be changed
  2277. +  *            The PPC function doesn`t return any result.
  2278. +  *            REG_SR is updated with MyEmulHandle->SR so you`re able
  2279. +  *            to change it which may be useful for wrongly used
  2280. +  *            exec memory functions where the result SR may be
  2281. +  *            important.
  2282. +  * Emulation: PC      = *REG_A7
  2283. +  *            REG_A7 += 4;
  2284. +  *      Note: Should be used with complex PPC functions
  2285. +  */
  2286. + #define    TRAP_LIBSRNR        0xff13
  2287. + /***********************************************************************************
  2288. +  *      Trap: EmulLibEntry.Trap == TRAP_LIBD0_D1
  2289. +  *    Result: D0 , REG_D1 <- MyEmulHandle->Dn[1]
  2290. +  *  Function: Call a PPC Function with std SystemV4 register layout.
  2291. +  *            The 68k frame is saved in the EmulHandle which
  2292. +  *            is passed in gpr2 and MUST not be changed
  2293. +  *            The Result is passed in gpr3 and then moved to REG_D0.
  2294. +  *            REG_D1 is updated with MyEmulHandle->Dn[1] so you`re able
  2295. +  *            to change it which is needed for braindead LoadSeg
  2296. +  *            and software using *Overlays*
  2297. +  * Emulation: PC      = *REG_A7
  2298. +  *            REG_A7 += 4;
  2299. +  *      Note: Should be used with complex PPC functions
  2300. +  */
  2301. + #define    TRAP_LIBD0_D1        0xff14
  2302. + /***********************************************************************************
  2303. +  *      Trap: EmulLibEntry.Trap == TRAP_LIBRESTORE
  2304. +  *    Result: None
  2305. +  *  Function: Call a PPC Function with std SystemV4 register layout.
  2306. +  *            The 68k frame is saved in the EmulHandle which
  2307. +  *            is passed in gpr2 and MUST not be changed
  2308. +  *            The function copies the emulation context registers
  2309. +  *            with the functions inside the EmulHandle.
  2310. +  * Emulation: PC      = *REG_A7
  2311. +  *            REG_A7 += 4;
  2312. +  *      Note: Should only be used in special code. Setjmp/GetA4 inside PPC code.
  2313. +  */
  2314. + #define    TRAP_LIBRESTORE        0xff15
  2315. + /***********************************************************************************
  2316. +  *      Trap: TRAP_SUPERVISOR
  2317. +  *  Function: Exec Supervisor Switch
  2318. +  *      Note: **PRIVATE**
  2319. +  */
  2320. + #define    TRAP_SUPERVISOR        0xff16
  2321. + /***********************************************************************************
  2322. +  *      Trap: TRAP_PPCTASK
  2323. +  *  Function: Not a valid call trap.
  2324. +  *            Only used to signal exec that the PC
  2325. +  *            points to a TaskInitExtension structure.
  2326. +  *      Note: **PRIVATE**
  2327. +  */
  2328. + #define    TRAP_PPCTASK        0xfff0
  2329. + #define    EMULTAG_NAME        0x0    /* Gives back a Name Ptr */
  2330. + #define    EMULTAG_VERSION        0x1    /* Gives back a Version */
  2331. + #define    EMULTAG_REVISION    0x2    /* Gives back a Revision */
  2332. + #define    EMULTAG_OPCODETABLE    0x3    /* Gives back the 16 Bit Opcodetable Ptr or NULL */
  2333. + #define    EMULTAG_TYPE        0x4    /* Gives back the emulation type */
  2334. + #define    EMULTAG_EMULHANDLE    0x5    /* Gives back the EmulHandle Ptr */
  2335. + #define    EMULTAG_EMULHANDLESIZE    0x6    /* Gives back the EmulHandle Size */
  2336. + #define    EMULTAG_SUPERHANDLE    0x7    /* Gives back the SuperHandle Ptr */
  2337. + #define    EMULTAG_SUPERHANDLESIZE    0x8    /* Gives back the SuperHandle Size */
  2338. + struct EmulCaos
  2339. + {
  2340. +     union
  2341. +     {
  2342. +         int    Offset;
  2343. +         APTR    Function;
  2344. +     } caos_Un;
  2345. +     ULONG    reg_d0;
  2346. +     ULONG    reg_d1;
  2347. +     ULONG    reg_d2;
  2348. +     ULONG    reg_d3;
  2349. +     ULONG    reg_d4;
  2350. +     ULONG    reg_d5;
  2351. +     ULONG    reg_d6;
  2352. +     ULONG    reg_d7;
  2353. +     ULONG    reg_a0;
  2354. +     ULONG    reg_a1;
  2355. +     ULONG    reg_a2;
  2356. +     ULONG    reg_a3;
  2357. +     ULONG    reg_a4;
  2358. +     ULONG    reg_a5;
  2359. + /*
  2360. +  * here you have to put the LibBasePtr if you want
  2361. +  * to call a Library.
  2362. +  */
  2363. +     ULONG    reg_a6;
  2364. + };
  2365. + struct EmulLibEntry
  2366. + {
  2367. +     UWORD        Trap;
  2368. +     UWORD        Extension;        /* MUST be set to 0 if you create it by hand */
  2369. +     void        (*Func)(void);
  2370. + };
  2371. + struct EmulFunc
  2372. + {
  2373. +     UWORD    Trap;            /* TRAP_FUNC */
  2374. +     UWORD    Extension;
  2375. +     ULONG    Address;
  2376. +     /* Size 0 for no new Stack
  2377. +      */
  2378. +     ULONG    StackSize;
  2379. +     ULONG    Arg1;
  2380. +     ULONG    Arg2;
  2381. +     ULONG    Arg3;
  2382. +     ULONG    Arg4;
  2383. +     ULONG    Arg5;
  2384. +     ULONG    Arg6;
  2385. +     ULONG    Arg7;
  2386. +     ULONG    Arg8;
  2387. + };
  2388. + #define    GETEMULHANDLE    register struct EmulHandle *MyEmulHandle __asm("r2");
  2389. + #ifndef ROMEMUL
  2390. + struct    SuperHandle
  2391. + {
  2392. +     ULONG    USP;                    /* Userstack */
  2393. +     ULONG    SSP;                    /* Supervisor Stack */
  2394. +     ULONG    VBR;                    /* Exception Base Register */
  2395. +     ULONG    SFC;                    /* SFC Register ...not really used */
  2396. +     ULONG    DFC;                    /* DFC Register ...not really used */
  2397. +     ULONG    CACR;                    /* Cache Control Register ...not really used */
  2398. +     ULONG    TC;
  2399. +     ULONG    ITT0;
  2400. +     ULONG    ITT1;
  2401. +     ULONG    DTT0;
  2402. +     ULONG    DTT1;
  2403. +     ULONG    URP;
  2404. +     ULONG    SRP;
  2405. +     ULONG    BUSCR;
  2406. +     ULONG    PCR;
  2407. +     ULONG    Type;                    /* SuperHandle Type..not used yet */
  2408. + /********************************************************************************************
  2409. +  * Private
  2410. +  * Don`t touch
  2411. +  */
  2412. + };
  2413. + struct    Float96
  2414. + {
  2415. +     ULONG    Data[3];
  2416. + };
  2417. + struct    EmulHandle
  2418. + {
  2419. +     ULONG            Dn[8];                            /* 0x00 */
  2420. +     ULONG            An[8];                            /* 0x20 */
  2421. +     ULONG            *PC;                            /* 0x40 Current PC */
  2422. +     ULONG            SR;                            /* 0x44 Statusregister */
  2423. +     struct SuperHandle    *SuperHandle;                        /* 0x48 Ptr to SuperHandle */
  2424. +     ULONG            Type;                            /* 0x4c EmulHandle Type */
  2425. +     ULONG            Flags;                            /* 0x50 Flags */
  2426. +     void            (*EmulFunc)(void);                    /* 0x54 Here is the direct Emulation Jump..you have to setup the regframes*/
  2427. +     ULONG            (*EmulCallOS)(struct EmulCaos*);            /* 0x58 Here is the Emulation Jump for an 68k OSLib Function*/
  2428. +     ULONG            (*EmulCall68k)(struct EmulCaos*);            /* 0x5c Here is the Emulation Jump for an 68k Function*/
  2429. +     ULONG            (*EmulCallQuick68k)(struct EmulCaos*);            /* 0x60 Here is the Emulation Quick Jump for an 68k Function..r13..r31 are not saved!*/
  2430. +     ULONG            (*EmulCallDirectOS)(LONG lvo);                /* 0x64 Here is the Emulation Direct Jump for a 68k OSLib Function*/
  2431. +     ULONG            (*EmulCallDirect68k)(APTR Function);            /* 0x68 Here is the Emulation Direct Jump for a 68k Function*/
  2432. +     ULONG            Pad1;                            /* 0x6c */
  2433. +     struct Float96        FPU[8];                            /* 0x70 Not yet used...*/
  2434. +     ULONG            FPCR;                            /* 0xd0 Not yet used...*/
  2435. +     ULONG            FPSR;                            /* 0xd4 Not yet used...*/
  2436. +     ULONG            FPIAR;                            /* 0xd8 Not yet used...*/
  2437. +     ULONG            Pad3;                            /* 0xdc */
  2438. + /********************************************************************************************
  2439. +  * Private
  2440. +  * Don`t touch
  2441. +  * 0xe0
  2442. +  */
  2443. + };
  2444. + #define    EMULFLAGSF_PPC        0x1    /* Set when the emulation runs in full native code */
  2445. + #define    EMULFLAGSF_QUICK    0x2    /* Set when the emulation runs quick native code..
  2446. +                                          * which is basicly still the emul reg layout
  2447. +                                          */
  2448. + #define    EMULFLAGSF_INTERRUPT    0x4    /* Set when the emulation runs in interrupt mode
  2449. +                                          */
  2450. + #endif
  2451. + #endif
  2452. diff -c2 -d -P -r include_h/emul/emulregs.h includenew/emul/emulregs.h
  2453. *** include_h/emul/emulregs.h    Thu Jan  1 00:00:00 1970
  2454. --- includenew/emul/emulregs.h    Wed Feb 14 02:41:10 2001
  2455. ***************
  2456. *** 0 ****
  2457. --- 1,55 ----
  2458. + #ifndef    EMUL_EMULREGS_H
  2459. + #define    EMUL_EMULREGS_H
  2460. + #ifndef    EMUL_EMULINTERFACE_H
  2461. + #include <emul/emulinterface.h>
  2462. + #endif
  2463. + register struct EmulHandle *MyEmulHandle __asm("r2");
  2464. + #ifdef EMUL_QUICKMODE
  2465. + register ULONG*    REG_PC __asm("r13");
  2466. + register UWORD    REG_SR __asm("r14");
  2467. + register void (**OPCODETABLE)(void)    __asm("r15");
  2468. + register ULONG    REG_D0 __asm("r16");
  2469. + register ULONG    REG_D1 __asm("r17");
  2470. + register ULONG    REG_D2 __asm("r18");
  2471. + register ULONG    REG_D3 __asm("r19");
  2472. + register ULONG    REG_D4 __asm("r20");
  2473. + register ULONG    REG_D5 __asm("r21");
  2474. + register ULONG    REG_D6 __asm("r22");
  2475. + register ULONG    REG_D7 __asm("r23");
  2476. + register ULONG    REG_A0 __asm("r24");
  2477. + register ULONG    REG_A1 __asm("r25");
  2478. + register ULONG    REG_A2 __asm("r26");
  2479. + register ULONG    REG_A3 __asm("r27");
  2480. + register ULONG    REG_A4 __asm("r28");
  2481. + register ULONG    REG_A5 __asm("r29");
  2482. + register ULONG    REG_A6 __asm("r30");
  2483. + register ULONG    REG_A7 __asm("r31");
  2484. + #else
  2485. + #define    REG_PC    (MyEmulHandle->PC)
  2486. + #define    REG_SR    (MyEmulHandle->SR)
  2487. + #define    REG_D0    (MyEmulHandle->Dn[0])
  2488. + #define    REG_D1    (MyEmulHandle->Dn[1])
  2489. + #define    REG_D2    (MyEmulHandle->Dn[2])
  2490. + #define    REG_D3    (MyEmulHandle->Dn[3])
  2491. + #define    REG_D4    (MyEmulHandle->Dn[4])
  2492. + #define    REG_D5    (MyEmulHandle->Dn[5])
  2493. + #define    REG_D6    (MyEmulHandle->Dn[6])
  2494. + #define    REG_D7    (MyEmulHandle->Dn[7])
  2495. + #define    REG_A0    (MyEmulHandle->An[0])
  2496. + #define    REG_A1    (MyEmulHandle->An[1])
  2497. + #define    REG_A2    (MyEmulHandle->An[2])
  2498. + #define    REG_A3    (MyEmulHandle->An[3])
  2499. + #define    REG_A4    (MyEmulHandle->An[4])
  2500. + #define    REG_A5    (MyEmulHandle->An[5])
  2501. + #define    REG_A6    (MyEmulHandle->An[6])
  2502. + #define    REG_A7    (MyEmulHandle->An[7])
  2503. + #endif
  2504. + #endif
  2505. Only in include_h/exec: alerts.h
  2506. Only in include_h/exec: devices.h
  2507. Only in include_h/exec: errors.h
  2508. Only in include_h/exec: exec.h
  2509. diff -c2 -d -P -r include_h/exec/execbase.h includenew/exec/execbase.h
  2510. *** include_h/exec/execbase.h    Wed Feb 14 02:41:44 2001
  2511. --- includenew/exec/execbase.h    Wed Feb 14 02:41:10 2001
  2512. ***************
  2513. *** 3,7 ****
  2514.   /*
  2515.   **    $VER: execbase.h 39.6 (18.1.93)
  2516. ! **    Includes Release 40.15
  2517.   **
  2518.   **    Definition of the exec.library base structure.
  2519. --- 3,7 ----
  2520.   /*
  2521.   **    $VER: execbase.h 39.6 (18.1.93)
  2522. ! **    Includes Release 40.13
  2523.   **
  2524.   **    Definition of the exec.library base structure.
  2525. ***************
  2526. *** 61,75 ****
  2527.       struct    Task *ThisTask; /* pointer to current task (readable) */
  2528.   
  2529. !     ULONG    IdleCount;    /* idle counter */
  2530.       ULONG    DispCount;    /* dispatch counter */
  2531.       UWORD    Quantum;    /* time slice quantum */
  2532.       UWORD    Elapsed;    /* current quantum ticks */
  2533. !     UWORD    SysFlags;    /* misc internal system flags */
  2534. !     BYTE    IDNestCnt;    /* interrupt disable nesting count */
  2535. !     BYTE    TDNestCnt;    /* task disable nesting count */
  2536.   
  2537.       UWORD    AttnFlags;    /* special attention flags (readable) */
  2538.   
  2539. !     UWORD    AttnResched;    /* rescheduling attention */
  2540.       APTR    ResModules;    /* resident module array pointer */
  2541.       APTR    TaskTrapCode;
  2542. --- 61,75 ----
  2543.       struct    Task *ThisTask; /* pointer to current task (readable) */
  2544.   
  2545. !     volatile    ULONG    IdleCount;    /* idle counter */
  2546.       ULONG    DispCount;    /* dispatch counter */
  2547.       UWORD    Quantum;    /* time slice quantum */
  2548.       UWORD    Elapsed;    /* current quantum ticks */
  2549. !     volatile    UWORD    SysFlags;    /* misc internal system flags */
  2550. !     volatile    BYTE    IDNestCnt;    /* interrupt disable nesting count */
  2551. !     volatile    BYTE    TDNestCnt;    /* task disable nesting count */
  2552.   
  2553.       UWORD    AttnFlags;    /* special attention flags (readable) */
  2554.   
  2555. !     volatile    UWORD    AttnResched;    /* rescheduling attention */
  2556.       APTR    ResModules;    /* resident module array pointer */
  2557.       APTR    TaskTrapCode;
  2558. ***************
  2559. *** 124,129 ****
  2560.   /****** V36 Exec additions start here **************************************/
  2561.   
  2562. !     UWORD    ex_Pad0;        /* Private internal use */
  2563. !     ULONG    ex_LaunchPoint;        /* Private to Launch/Switch */
  2564.       APTR    ex_RamLibPrivate;
  2565.       /* The next ULONG contains the system "E" clock frequency,
  2566. --- 124,129 ----
  2567.   /****** V36 Exec additions start here **************************************/
  2568.   
  2569. !     UWORD    ex_Pad0;                /* Private internal use */
  2570. !     ULONG    ex_LaunchPoint;                /* Private to Launch/Switch */
  2571.       APTR    ex_RamLibPrivate;
  2572.       /* The next ULONG contains the system "E" clock frequency,
  2573. ***************
  2574. *** 132,144 ****
  2575.       ** Typical values are 715909 for NTSC, or 709379 for PAL.
  2576.       */
  2577. !     ULONG    ex_EClockFrequency;    /* (readable) */
  2578. !     ULONG    ex_CacheControl;    /* Private to CacheControl calls */
  2579. !     ULONG    ex_TaskID;        /* Next available task ID */
  2580.   
  2581. !     ULONG    ex_Reserved1[5];
  2582.   
  2583. !     APTR    ex_MMULock;        /* private */
  2584.   
  2585. !     ULONG    ex_Reserved2[3];
  2586.   
  2587.   /****** V39 Exec additions start here **************************************/
  2588. --- 132,149 ----
  2589.       ** Typical values are 715909 for NTSC, or 709379 for PAL.
  2590.       */
  2591. !     ULONG        ex_EClockFrequency;        /* (readable) */
  2592. !     ULONG        ex_CacheControl;        /* Private to CacheControl calls */
  2593. !     ULONG        ex_TaskID;            /* Next available task ID */
  2594.   
  2595. !     ULONG        ex_EmulHandleSize;        /* PPC EmulHandleSize..*private* */
  2596. !     struct MsgPort    *ex_PPCTrapMsgPort;        /* PPC AmigaOS Exception MsgPort..*private* */
  2597. !     ULONG        ex_Reserved1[3];
  2598.   
  2599. !     APTR        ex_MMULock;            /* private */
  2600.   
  2601. ! /* New AmigaBox Emulation Entries */
  2602. !         APTR        ex_PatchPool;            /* PatchPool Ptr needed by SetFunction..*private* */
  2603. !     APTR        ex_PPCTaskExitCode;        /* PPC Task exit function */
  2604. !     ULONG        ex_DebugFlags;            /* Exec Debug Flags..*private* */
  2605.   
  2606.   /****** V39 Exec additions start here **************************************/
  2607. ***************
  2608. *** 147,152 ****
  2609.        * for V39 exec's low memory handler...
  2610.        */
  2611. !     struct    MinList    ex_MemHandlers;    /* The handler list */
  2612. !     APTR    ex_MemHandler;        /* Private! handler pointer */
  2613.   };
  2614.   
  2615. --- 152,157 ----
  2616.        * for V39 exec's low memory handler...
  2617.        */
  2618. !     struct    MinList    ex_MemHandlers;            /* The handler list */
  2619. !     APTR        ex_MemHandler;            /* Private! handler pointer */
  2620.   };
  2621.   
  2622. ***************
  2623. *** 162,165 ****
  2624. --- 167,171 ----
  2625.   #define AFB_68882    5
  2626.   #define    AFB_FPU40    6    /* Set if 68040 FPU */
  2627. + #define AFB_68060    7
  2628.   /*
  2629.    * The AFB_FPU40 bit is set when a working 68040 FPU
  2630. ***************
  2631. *** 180,183 ****
  2632. --- 186,190 ----
  2633.   #define AFF_68882    (1L<<5)
  2634.   #define    AFF_FPU40    (1L<<6)
  2635. + #define    AFF_68060    (1L<<7)
  2636.   
  2637.   #define AFF_PRIVATE    (1L<<15)
  2638. ***************
  2639. *** 211,214 ****
  2640. --- 218,280 ----
  2641.   #define    DMA_ReadFromRAM     (1L<<3)  /* Set if DMA goes *FROM* RAM to device */
  2642.   
  2643. + #define    SB_SAR    15    /* scheduling attention required (TOP BIT) */
  2644. + #define    SB_TQE    14    /* time quantum expended -- time to resche */
  2645. + #define    SB_SINT    13
  2646. + #define    SF_SAR    (1<<SB_SAR)
  2647. + #define    SF_TQE    (1<<SB_TQE)
  2648. + #define    SF_SINT    (1<<SB_SINT)
  2649. + /****** Debug Flags...(don`t depend on them) **********/
  2650. + #define    EXECDEBUGF_INITRESIDENT        0x1UL
  2651. + #define    EXECDEBUGF_INITCODE        0x2UL
  2652. + #define    EXECDEBUGF_FINDRESIDENT        0x4UL
  2653. + #define    EXECDEBUGF_CREATELIBRARY    0x10UL
  2654. + #define    EXECDEBUGF_SETFUNCTION        0x20UL
  2655. + #define    EXECDEBUGF_NEWSETFUNCTION    0x40UL
  2656. + #define    EXECDEBUGF_ADDTASK        0x100UL
  2657. + #define    EXECDEBUGF_REMTASK        0x200UL
  2658. + #define    EXECDEBUGF_GETTASKATTR        0x400UL
  2659. + #define    EXECDEBUGF_SETTASKATTR        0x800UL
  2660. + #define    EXECDEBUGF_EXCEPTHANDLER    0x1000UL
  2661. + #define    EXECDEBUGF_ADDDOSNODE        0x2000UL
  2662. + #define    EXECDEBUGF_NOLOGSERVER        0x10000UL
  2663. + #define    EXECDEBUGF_NOLOGWINDOW        0x20000UL
  2664. + /*
  2665. +  * "env:MorphOS/LogPath" contains the logfile path,
  2666. +  * If not specified it`s using "ram:.morphoslog"
  2667. +  */
  2668. + #define    EXECDEBUGF_LOGFILE        0x40000UL
  2669. + #define    EXECDEBUGF_LOGKPRINTF        0x80000UL
  2670. + /* PPCLib Flags
  2671. +  */
  2672. + #define    EXECDEBUGF_LOADSEG        0x01000000UL
  2673. + #define    EXECDEBUGF_UNLOADSEG        0x02000000UL
  2674. + #define    EXECDEBUGF_PPCSTART        0x04000000UL
  2675. + /* UserFlags
  2676. +  */
  2677. + /*
  2678. +  * Should be used to control user LibInit/DevInit Debug output
  2679. +  */
  2680. + #define    EXECDEBUGF_INIT            0x40000000UL
  2681. + /*
  2682. +  * Should be used to control logging
  2683. +  */
  2684. + #define    EXECDEBUGF_LOG            0x80000000UL
  2685.   
  2686.   #endif    /* EXEC_EXECBASE_H */
  2687. Only in include_h/exec: initializers.h
  2688. diff -c2 -d -P -r include_h/exec/interrupts.h includenew/exec/interrupts.h
  2689. *** include_h/exec/interrupts.h    Wed Feb 14 02:41:45 2001
  2690. --- includenew/exec/interrupts.h    Wed Feb 14 02:41:10 2001
  2691. ***************
  2692. *** 3,7 ****
  2693.   /*
  2694.   **    $VER: interrupts.h 39.1 (18.9.92)
  2695. ! **    Includes Release 40.15
  2696.   **
  2697.   **    Callback structures used by hardware & software interrupts
  2698. --- 3,7 ----
  2699.   /*
  2700.   **    $VER: interrupts.h 39.1 (18.9.92)
  2701. ! **    Includes Release 40.13
  2702.   **
  2703.   **    Callback structures used by hardware & software interrupts
  2704. ***************
  2705. *** 23,27 ****
  2706.       struct  Node is_Node;
  2707.       APTR    is_Data;            /* server data segment  */
  2708. !     VOID    (*is_Code)();        /* server code entry    */
  2709.   };
  2710.   
  2711. --- 23,27 ----
  2712.       struct  Node is_Node;
  2713.       APTR    is_Data;            /* server data segment  */
  2714. !     VOID    (*is_Code)(void);        /* server code entry    */
  2715.   };
  2716.   
  2717. ***************
  2718. *** 29,33 ****
  2719.   struct IntVector {        /* For EXEC use ONLY! */
  2720.       APTR    iv_Data;
  2721. !     VOID    (*iv_Code)();
  2722.       struct  Node *iv_Node;
  2723.   };
  2724. --- 29,33 ----
  2725.   struct IntVector {        /* For EXEC use ONLY! */
  2726.       APTR    iv_Data;
  2727. !     VOID    (*iv_Code)(void);
  2728.       struct  Node *iv_Node;
  2729.   };
  2730. Only in include_h/exec: io.h
  2731. diff -c2 -d -P -r include_h/exec/libraries.h includenew/exec/libraries.h
  2732. *** include_h/exec/libraries.h    Wed Feb 14 02:41:45 2001
  2733. --- includenew/exec/libraries.h    Wed Feb 14 02:41:10 2001
  2734. ***************
  2735. *** 3,7 ****
  2736.   /*
  2737.   **    $VER: libraries.h 39.2 (10.4.92)
  2738. ! **    Includes Release 40.15
  2739.   **
  2740.   **    Definitions for use when creating or using Exec libraries
  2741. --- 3,7 ----
  2742.   /*
  2743.   **    $VER: libraries.h 39.2 (10.4.92)
  2744. ! **    Includes Release 40.13
  2745.   **
  2746.   **    Definitions for use when creating or using Exec libraries
  2747. ***************
  2748. *** 15,18 ****
  2749. --- 15,30 ----
  2750.   #endif /* EXEC_NODES_H */
  2751.   
  2752. + #ifndef EXEC_MACHINE_H
  2753. + #include "exec/machine.h"
  2754. + #endif /* EXEC_MACHINE_H */
  2755. + #ifndef UTILITY_TAGITEM_H
  2756. + #include "utility/tagitem.h"
  2757. + #endif /* UTILITY_TAGITEM_H */
  2758. + #ifndef EMUL_EMULINTERFACE_H
  2759. + #include "emul/emulinterface.h"
  2760. + #endif /* EMUL_EMULINTERFACE_H */
  2761.   
  2762.   /*------ Special Constants ---------------------------------------*/
  2763. ***************
  2764. *** 63,66 ****
  2765. --- 75,337 ----
  2766.   #define lh_Sum        lib_Sum
  2767.   #define lh_OpenCnt    lib_OpenCnt
  2768. + /* NewSetFunction extensions
  2769. +  */
  2770. + #define    SETFUNCTAG_Dummy    (TAG_USER +0x01000000)
  2771. + /* Set the machine type of the function
  2772. +  * Default is 68k
  2773. +  */
  2774. + #define    SETFUNCTAG_MACHINE    (SETFUNCTAG_Dummy + 0x1)
  2775. + /* Function type specifier
  2776. +  */
  2777. + #define    SETFUNCTAG_TYPE        (SETFUNCTAG_Dummy + 0x2)
  2778. + /* ID String
  2779. +  */
  2780. + #define    SETFUNCTAG_IDNAME    (SETFUNCTAG_Dummy + 0x3)
  2781. + /*
  2782. +  * Set to TRUE if the replaced function will never be used
  2783. +  * again.
  2784. +  */
  2785. + #define    SETFUNCTAG_DELETE    (SETFUNCTAG_Dummy + 0x4)
  2786. + /* See emul/emulinterface.h for more informations
  2787. +  */
  2788. + /* Save Emulation PPC Registers
  2789. +  * Call Function
  2790. +  * Restore Emulation PPC Registers
  2791. +  * REG_D0 = Result
  2792. +  */
  2793. + #define SETFUNCTYPE_NORMAL    0
  2794. + /* Call Function
  2795. +  * Must use the global register settings of the emulation
  2796. +  * REG_D0 = Result
  2797. +  */
  2798. + #define SETFUNCTYPE_QUICK    1
  2799. + /* Save Emulation PPC Registers
  2800. +  * Call Function
  2801. +  * Restore Emulation PPC Registers
  2802. +  * No Result
  2803. +  * Needed to replace functions like
  2804. +  * forbid,obtainsemaphores which are
  2805. +  * defined as trashing no registers
  2806. +  */
  2807. + #define SETFUNCTYPE_NORMALNR    2
  2808. + /* Call Function
  2809. +  * Must use the global register settings of the emulation
  2810. +  * No Result
  2811. +  * Needed to replace functions like
  2812. +  * forbid,obtainsemaphores which are
  2813. +  * defined as trashing no registers
  2814. +  */
  2815. + #define SETFUNCTYPE_QUICKNR    3
  2816. + #define SETFUNCTYPE_NORMALSR    4
  2817. + #define SETFUNCTYPE_NORMALSRNR    5
  2818. + #define SETFUNCTYPE_NORMALD0_D1    6
  2819. + #define SETFUNCTYPE_NORMALRESTORE    7
  2820. + /* CreateLibrary extensions
  2821. +  */
  2822. + #define    LIBTAG_BASE        (TAG_USER + 0x01000100)
  2823. + /*
  2824. +  * Function/Vector Array
  2825. +  */
  2826. + #define    LIBTAG_FUNCTIONINIT    (LIBTAG_BASE+0x0)
  2827. + /*
  2828. +  * Struct Init
  2829. +  */
  2830. + #define    LIBTAG_STRUCTINIT    (LIBTAG_BASE+0x1)
  2831. + /*
  2832. +  * Library Init
  2833. +  */
  2834. + #define    LIBTAG_LIBRARYINIT    (LIBTAG_BASE+0x2)
  2835. + /*
  2836. +  * Init Code Type
  2837. +  */
  2838. + #define    LIBTAG_MACHINE        (LIBTAG_BASE+0x3)
  2839. + /*
  2840. +  * Library Base Size
  2841. +  */
  2842. + #define    LIBTAG_BASESIZE        (LIBTAG_BASE+0x4)
  2843. + /*
  2844. +  * SegList Ptr
  2845. +  */
  2846. + #define    LIBTAG_SEGLIST        (LIBTAG_BASE+0x5)
  2847. + /*
  2848. +  * Library Priority
  2849. +  */
  2850. + #define    LIBTAG_PRI        (LIBTAG_BASE+0x6)
  2851. + /*
  2852. +  * Library Type..Library,Device,Resource,whatever
  2853. +  */
  2854. + #define    LIBTAG_TYPE        (LIBTAG_BASE+0x7)
  2855. + /*
  2856. +  * Library Version
  2857. +  */
  2858. + #define    LIBTAG_VERSION        (LIBTAG_BASE+0x8)
  2859. + /*
  2860. +  * Library Flags
  2861. +  */
  2862. + #define    LIBTAG_FLAGS        (LIBTAG_BASE+0x9)
  2863. + /*
  2864. +  * Library Name
  2865. +  */
  2866. + #define    LIBTAG_NAME        (LIBTAG_BASE+0xa)
  2867. + /*
  2868. +  * Library IDString
  2869. +  */
  2870. + #define    LIBTAG_IDSTRING        (LIBTAG_BASE+0xb)
  2871. + /*
  2872. +  * AddDevice(),AddLibrary(),AddResource()..
  2873. +  * depends on LibNode.ln_Type field which
  2874. +  * can be set by some Init function, Struct Scripts
  2875. +  * or LIBTAG_TYPE.
  2876. +  * If you set LIBTAG_PUBLIC the library
  2877. +  * is added to the right system list.
  2878. +  */
  2879. + #define    LIBTAG_PUBLIC        (LIBTAG_BASE+0xc)
  2880. +                                                    
  2881. + /* Private
  2882. +  * don`t touch...floating design
  2883. +  */
  2884. + struct    FuncEntry
  2885. + {
  2886. +     struct EmulLibEntry    EmulLibEntry;
  2887. +     void            *OldFunction;        /* Needed for bookkeeping */
  2888. + };
  2889. + struct    FuncOldEntry
  2890. + {
  2891. +     UWORD            Command;
  2892. +     struct FuncEntry    *FuncEntry;
  2893. + };
  2894. + /*
  2895. +  * EmulLibEntry.Extension
  2896. +  */
  2897. + #define    FUNCENTRYEXTF_LIBRARY    0x1            /* Entry created by the OS */
  2898. + /*
  2899. +  * Functionarray first ULONG ID defines the format
  2900. +  * of the functionarray for MakeFunctions()/MakeLibrary().
  2901. +  *
  2902. +  * If there`s not such id the functionarray is a
  2903. +  * 32Bit 68k function ptr array.
  2904. +  * (ULONG) 0xffffffff stops it
  2905. +  */
  2906. + /* 68k 16bit relative functionarray ptrs
  2907. +  * (UWORD) 0xffff stops it
  2908. +  */
  2909. + #define    FUNCARRAY_16BIT_OLD    0xffffffff
  2910. + /* PPC 32bit functionarray ptrs 
  2911. +  * (ULONG) 0xffffffff stops it
  2912. +  */
  2913. + #define    FUNCARRAY_32BIT_NATIVE    0xfffefffe
  2914. + /* Starts a functionarray block.
  2915. +  * This way it`s possible to mix 68k and PPC
  2916. +  * function definitions.
  2917. +  * BASE:
  2918. +  *  FUNCTIONARRAY_BEGIN
  2919. +  *   FUNCARRAY_32BIT_NATIVE
  2920. +  *    FUNC0
  2921. +  *    FUNC1
  2922. +  *    .
  2923. +  *    FUNCn
  2924. +  *    0xffffffff
  2925. +  *   FUNCn+1  (No ID->32Bit 68k)
  2926. +  *    FUNCn+2
  2927. +  *    .
  2928. +  *    FUNCm
  2929. +  *    0xffffffff
  2930. +  *   FUNCARRAY_16BIT_OLD
  2931. +  *    FUNCm+1-BASE
  2932. +  *    FUNCm+2-BASE
  2933. +  *    .
  2934. +  *    FUNCo-BASE
  2935. +  *    0xffff
  2936. +  *  FUNCTIONARRAY_END
  2937. +  */
  2938. + #define    FUNCARRAY_BEGIN        0xfffdfffd
  2939. + /* Ends a functionarray block.
  2940. +  */
  2941. + #define    FUNCARRAY_END        0xfffcfffc
  2942. + /* PPC 32bit Quick functionarray ptrs
  2943. +  * (ULONG) 0xffffffff stops it
  2944. +  */
  2945. + #define    FUNCARRAY_32BIT_QUICK_NATIVE    0xfffbfffb
  2946. + /* PPC 32bit QuickNR(No Result) functionarray ptrs
  2947. +  * (ULONG) 0xffffffff stops it
  2948. +  */
  2949. + #define    FUNCARRAY_32BIT_QUICKNR_NATIVE    0xfffafffa
  2950. + /* PPC 32bit no result functionarray ptrs
  2951. +  * (ULONG) 0xffffffff stops it
  2952. +  */
  2953. + #define    FUNCARRAY_32BIT_NR_NATIVE    0xfff9fff9
  2954. + /* PPC 32bit SR functionarray ptrs
  2955. +  * (ULONG) 0xffffffff stops it
  2956. +  */
  2957. + #define    FUNCARRAY_32BIT_SR_NATIVE    0xfff8fff8
  2958. + /* PPC 32bit SR(no result) functionarray ptrs
  2959. +  * (ULONG) 0xffffffff stops it
  2960. +  */
  2961. + #define    FUNCARRAY_32BIT_SRNR_NATIVE    0xfff7fff7
  2962. + /* PPC 32bit D0_D1 functionarray ptrs
  2963. +  * (ULONG) 0xffffffff stops it
  2964. +  */
  2965. + #define    FUNCARRAY_32BIT_D0D1_NATIVE    0xfff6fff6
  2966. + /* PPC 32bit Restore1 functionarray ptrs
  2967. +  * (ULONG) 0xffffffff stops it
  2968. +  */
  2969. + #define    FUNCARRAY_32BIT_RESTORE_NATIVE    0xfff5fff5
  2970.   
  2971.   #endif    /* EXEC_LIBRARIES_H */
  2972. Only in include_h/exec: lists.h
  2973. diff -c2 -d -P -r include_h/exec/machine.h includenew/exec/machine.h
  2974. *** include_h/exec/machine.h    Thu Jan  1 00:00:00 1970
  2975. --- includenew/exec/machine.h    Wed Feb 14 02:41:10 2001
  2976. ***************
  2977. *** 0 ****
  2978. --- 1,11 ----
  2979. + #ifndef EXEC_MACHINE_H
  2980. + #define EXEC_MACHINE_H
  2981. + /*  $Id: */
  2982. + /* $Log: */
  2983. + #define    MACHINE_M68k            0x0
  2984. + #define    MACHINE_PPC            0x1
  2985. + #define    MACHINE_NO            0xffffffff
  2986. + #endif    /* EXEC_MACHINE_H */
  2987. Only in include_h/exec: memory.h
  2988. Only in include_h/exec: nodes.h
  2989. diff -c2 -d -P -r include_h/exec/ports.h includenew/exec/ports.h
  2990. *** include_h/exec/ports.h    Wed Feb 14 02:41:45 2001
  2991. --- includenew/exec/ports.h    Wed Feb 14 02:41:10 2001
  2992. ***************
  2993. *** 3,7 ****
  2994.   /*
  2995.   **    $VER: ports.h 39.0 (15.10.91)
  2996. ! **    Includes Release 40.15
  2997.   **
  2998.   **    Message ports and Messages.
  2999. --- 3,7 ----
  3000.   /*
  3001.   **    $VER: ports.h 39.0 (15.10.91)
  3002. ! **    Includes Release 40.13
  3003.   **
  3004.   **    Message ports and Messages.
  3005. ***************
  3006. *** 19,27 ****
  3007.   #endif /* EXEC_LISTS_H */
  3008.   
  3009. - #ifndef EXEC_TASKS_H
  3010. - #include "exec/tasks.h"
  3011. - #endif /* EXEC_TASKS_H */
  3012.   /****** MsgPort *****************************************************/
  3013.   
  3014. --- 19,22 ----
  3015. ***************
  3016. *** 52,55 ****
  3017. --- 47,54 ----
  3018.                       /* structure in the length) */
  3019.   };
  3020. + #ifndef EXEC_TASKS_H
  3021. + #include "exec/tasks.h"
  3022. + #endif /* EXEC_TASKS_H */
  3023.   
  3024.   #endif    /* EXEC_PORTS_H */
  3025. diff -c2 -d -P -r include_h/exec/resident.h includenew/exec/resident.h
  3026. *** include_h/exec/resident.h    Wed Feb 14 02:41:45 2001
  3027. --- includenew/exec/resident.h    Wed Feb 14 02:41:10 2001
  3028. ***************
  3029. *** 3,7 ****
  3030.   /*
  3031.   **    $VER: resident.h 39.0 (15.10.91)
  3032. ! **    Includes Release 40.15
  3033.   **
  3034.   **    Resident/ROMTag stuff.    Used to identify and initialize code modules.
  3035. --- 3,7 ----
  3036.   /*
  3037.   **    $VER: resident.h 39.0 (15.10.91)
  3038. ! **    Includes Release 40.13
  3039.   **
  3040.   **    Resident/ROMTag stuff.    Used to identify and initialize code modules.
  3041. ***************
  3042. *** 17,38 ****
  3043.   
  3044.   struct Resident {
  3045. !     UWORD rt_MatchWord;    /* word to match on (ILLEGAL)    */
  3046. !     struct Resident *rt_MatchTag; /* pointer to the above    */
  3047. !     APTR  rt_EndSkip;        /* address to continue scan    */
  3048. !     UBYTE rt_Flags;        /* various tag flags        */
  3049. !     UBYTE rt_Version;        /* release version number    */
  3050. !     UBYTE rt_Type;        /* type of module (NT_XXXXXX)    */
  3051. !     BYTE  rt_Pri;        /* initialization priority */
  3052. !     char  *rt_Name;        /* pointer to node name    */
  3053. !     char  *rt_IdString;    /* pointer to identification string */
  3054. !     APTR  rt_Init;        /* pointer to init code    */
  3055.   };
  3056.   
  3057.   #define RTC_MATCHWORD    0x4AFC    /* The 68000 "ILLEGAL" instruction */
  3058.   
  3059. ! #define RTF_AUTOINIT    (1<<7)    /* rt_Init points to data structure */
  3060. ! #define RTF_AFTERDOS    (1<<2)
  3061. ! #define RTF_SINGLETASK    (1<<1)
  3062. ! #define RTF_COLDSTART    (1<<0)
  3063.   
  3064.   /* Compatibility: (obsolete) */
  3065. --- 17,45 ----
  3066.   
  3067.   struct Resident {
  3068. !     UWORD        rt_MatchWord;        /* word to match on (ILLEGAL)    */
  3069. !     struct Resident    *rt_MatchTag;        /* pointer to the above    */
  3070. !     APTR        rt_EndSkip;        /* address to continue scan    */
  3071. !     UBYTE        rt_Flags;        /* various tag flags        */
  3072. !     UBYTE        rt_Version;        /* release version number    */
  3073. !     UBYTE        rt_Type;        /* type of module (NT_XXXXXX)    */
  3074. !     BYTE        rt_Pri;            /* initialization priority */
  3075. !     char        *rt_Name;        /* pointer to node name    */
  3076. !     char        *rt_IdString;        /* pointer to identification string */
  3077. !     APTR        rt_Init;        /* pointer to init code    */
  3078.   };
  3079.   
  3080.   #define RTC_MATCHWORD    0x4AFC    /* The 68000 "ILLEGAL" instruction */
  3081.   
  3082. ! #define RTF_AUTOINIT        (1<<7)    /* rt_Init points to data structure */
  3083. ! #define RTF_EXTENSION        (1<<6)    /* rt_Init points to an extension structure */
  3084. ! #define RTF_PPC            (1<<3)    /* rt_Init points to a PPC function which must be defined as
  3085. !                                          *
  3086. !                                          * struct Library* LIB_Init(struct Library    *MyLibBase,
  3087. !                                          *                          BPTR        SegList,
  3088. !                                          *                          struct ExecBase    *SysBase)
  3089. !                                          */
  3090. ! #define RTF_AFTERDOS        (1<<2)
  3091. ! #define RTF_SINGLETASK        (1<<1)
  3092. ! #define RTF_COLDSTART        (1<<0)
  3093.   
  3094.   /* Compatibility: (obsolete) */
  3095. ***************
  3096. *** 40,43 ****
  3097. --- 47,82 ----
  3098.   #define RTW_NEVER    0
  3099.   #define RTW_COLDSTART    1
  3100. + /* Patch Unit Modules come after the ResidentExtension
  3101. +  */
  3102. + #define    RTETYPE_PATCH    0
  3103. + struct PatchEntry
  3104. + {
  3105. +     LONG        Offset;
  3106. +     void        *Function;
  3107. +     struct TagItem    *Tags;
  3108. + };
  3109. + struct PatchUnit
  3110. + {
  3111. +     char            *Name;
  3112. +     ULONG            Type;
  3113. +     ULONG            Version;
  3114. +     ULONG            Flags;
  3115. +     void            *Extension;
  3116. +     struct PatchEntry    *Table;
  3117. + };
  3118. + #define    RTPUFLAGF_NOCLOSE    0x1    /* For an OpenLibrary TYPE..don't close the library afterwards so it can`t be kicked off anymore */
  3119. + struct ResidentExtension
  3120. + {
  3121. +     ULONG            Type;
  3122. +     ULONG            Flags;
  3123. +     struct PatchUnit    *Unit;
  3124. + };
  3125.   
  3126.   #endif    /* EXEC_RESIDENT_H */
  3127. diff -c2 -d -P -r include_h/exec/semaphores.h includenew/exec/semaphores.h
  3128. *** include_h/exec/semaphores.h    Wed Feb 14 02:41:45 2001
  3129. --- includenew/exec/semaphores.h    Wed Feb 14 02:41:10 2001
  3130. ***************
  3131. *** 3,7 ****
  3132.   /*
  3133.   **    $VER: semaphores.h 39.1 (7.2.92)
  3134. ! **    Includes Release 40.15
  3135.   **
  3136.   **    Definitions for locking functions.
  3137. --- 3,7 ----
  3138.   /*
  3139.   **    $VER: semaphores.h 39.1 (7.2.92)
  3140. ! **    Includes Release 40.13
  3141.   **
  3142.   **    Definitions for locking functions.
  3143. ***************
  3144. *** 19,29 ****
  3145.   #endif /* EXEC_LISTS_H */
  3146.   
  3147.   #ifndef EXEC_PORTS_H
  3148.   #include "exec/ports.h"
  3149.   #endif /* EXEC_PORTS_H */
  3150.   
  3151. - #ifndef EXEC_TASKS_H
  3152. - #include "exec/tasks.h"
  3153. - #endif /* EXEC_TASKS_H */
  3154.   
  3155.   
  3156. --- 19,30 ----
  3157.   #endif /* EXEC_LISTS_H */
  3158.   
  3159. + #ifndef EXEC_TASKS_H
  3160. + #include "exec/tasks.h"
  3161. + #endif /* EXEC_TASKS_H */
  3162.   #ifndef EXEC_PORTS_H
  3163.   #include "exec/ports.h"
  3164.   #endif /* EXEC_PORTS_H */
  3165.   
  3166.   
  3167.   
  3168. diff -c2 -d -P -r include_h/exec/tasks.h includenew/exec/tasks.h
  3169. *** include_h/exec/tasks.h    Wed Feb 14 02:41:45 2001
  3170. --- includenew/exec/tasks.h    Wed Feb 14 02:41:10 2001
  3171. ***************
  3172. *** 3,7 ****
  3173.   /*
  3174.   **    $VER: tasks.h 39.3 (18.9.92)
  3175. ! **    Includes Release 40.15
  3176.   **
  3177.   **    Task Control Block, Singals, and Task flags.
  3178. --- 3,7 ----
  3179.   /*
  3180.   **    $VER: tasks.h 39.3 (18.9.92)
  3181. ! **    Includes Release 40.13
  3182.   **
  3183.   **    Task Control Block, Singals, and Task flags.
  3184. ***************
  3185. *** 19,22 ****
  3186. --- 19,26 ----
  3187.   #endif /* EXEC_LISTS_H */
  3188.   
  3189. + #ifndef EXEC_PORTS_H
  3190. + #include "exec/ports.h"
  3191. + #endif /* EXEC_PORTS_H */
  3192.   
  3193.   /* Please use Exec functions to modify task structure fields, where available.
  3194. ***************
  3195. *** 32,37 ****
  3196. --- 36,45 ----
  3197.       ULONG   tc_SigRecvd;        /* sigs we have received */
  3198.       ULONG   tc_SigExcept;        /* sigs we will take excepts for */
  3199. + #if 0
  3200.       UWORD   tc_TrapAlloc;        /* traps allocated */
  3201.       UWORD   tc_TrapAble;        /* traps enabled */
  3202. + #else
  3203. +     struct ETask    *tc_ETask;
  3204. + #endif
  3205.       APTR    tc_ExceptData;        /* points to except data */
  3206.       APTR    tc_ExceptCode;        /* points to except code */
  3207. ***************
  3208. *** 39,52 ****
  3209.       APTR    tc_TrapCode;        /* points to trap code */
  3210.       APTR    tc_SPReg;            /* stack pointer        */
  3211. !     APTR    tc_SPLower;        /* stack lower bound    */
  3212. !     APTR    tc_SPUpper;        /* stack upper bound + 2*/
  3213. !     VOID    (*tc_Switch)();        /* task losing CPU      */
  3214. !     VOID    (*tc_Launch)();        /* task getting CPU  */
  3215.       struct  List tc_MemEntry;        /* Allocated memory. Freed by RemTask() */
  3216.       APTR    tc_UserData;        /* For use by the task; no restrictions! */
  3217.   };
  3218.   
  3219.   /*
  3220. !  * Stack swap structure as passed to StackSwap()
  3221.    */
  3222.   struct    StackSwapStruct {
  3223. --- 47,218 ----
  3224.       APTR    tc_TrapCode;        /* points to trap code */
  3225.       APTR    tc_SPReg;            /* stack pointer        */
  3226. !     APTR    tc_SPLower;                /* stack lower bound    */
  3227. !     APTR    tc_SPUpper;                /* stack upper bound + 2*/
  3228. !     VOID    (*tc_Switch)(void);        /* task losing CPU      */
  3229. !     VOID    (*tc_Launch)(void);        /* task getting CPU  */
  3230.       struct  List tc_MemEntry;        /* Allocated memory. Freed by RemTask() */
  3231.       APTR    tc_UserData;        /* For use by the task; no restrictions! */
  3232.   };
  3233.   
  3234. + struct TaskTrapMessage
  3235. + {
  3236. +     struct Message    Message;    /* Message Header */
  3237. +     struct Task    *Task;        /* connected Task */
  3238. +     ULONG        Version;    /* version of the structure */
  3239. +     ULONG        Type;        /* Exception Type */
  3240. +     ULONG        DAR;        /* Exception Address Register */
  3241. +     ULONG        DSISR;        /* Exception DSISR Reg */
  3242. +     /* This is undiscovered land...
  3243. +          * never assume a size of this structure
  3244. +          */
  3245. + };
  3246. + #define    VERSION_TASKTRAPMESSAGE    0x0
  3247. + struct ETask
  3248. + {
  3249. +     struct Message        Message;
  3250. +     struct Task        *Parent;
  3251. +     ULONG            UniqueID;
  3252. +     struct MinList        Children;
  3253. +     UWORD            TrapAlloc;
  3254. +     UWORD            TrapAble;
  3255. +     ULONG            Result1;
  3256. +     void            *Result2;
  3257. +     struct MsgPort        MsgPort;
  3258. +     /* Don't touch!!!!!!!!!..there`ll be an interface
  3259. +      * sooner than later.
  3260. +      * New Entries...most of the above entries
  3261. +      * are only their for structure compatability.
  3262. +      * They have no meaning as the OS never supported
  3263. +      * them.
  3264. +      */
  3265. +     /* A Task Pool for the task.
  3266. +      */
  3267. +     void            *MemPool;
  3268. +     /* PPC`s Stack Lower Ptr
  3269. +      * The initial stack is allocated through
  3270. +      * AllocVec, so a FreeVec(ETask->PPCSPLower);
  3271. +      * would work.
  3272. +      * If you use PPCStackSwap you must allocate
  3273. +      * your stack block with AllocVec();
  3274. +      */
  3275. +     void            *PPCSPLower;
  3276. +     /* PPC`s Stack Upper Ptr
  3277. +      */
  3278. +     void            *PPCSPUpper;
  3279. +     void            *PPCRegFrame;
  3280. +     void            *PPCLibData;
  3281. +     /* On a PPC exception this msgport
  3282. +      * is sent an exception msg....
  3283. +      * the task is stopped until somebody
  3284. +      * wakes it up again.
  3285. +      * (asynchron exception interface)
  3286. +          * If this Port is NULL the message is
  3287. +          * sent to SysBase->ex_PPCTrapMsgPort.
  3288. +      */
  3289. +     struct MsgPort        *PPCTrapMsgPort;
  3290. +     struct TaskTrapMessage    *PPCTrapMessage;
  3291. +     /* private...don`t touch
  3292. +     */
  3293. +     ULONG            Private[4];
  3294. +     /* private...don`t touch
  3295. +     */
  3296. +     struct EmulHandle    *EmulHandle;
  3297. +     /* This is undiscovered land...
  3298. +          * never assume a size of this structure
  3299. +          */
  3300. + };
  3301. + struct TaskInitExtension
  3302. + {
  3303. +     /* Must be filled with TRAP_PPCTASK
  3304. +          */
  3305. +     UWORD        Trap;
  3306. +     UWORD        Extension;        /* Must be set to 0 */
  3307. +     struct TagItem    *Tags;
  3308. + };
  3309. + #define    TASKTAG_DUMMY    (TAG_USER + 0x100000)
  3310. + /* Ptr to an ULONG Errorfield where a better error description
  3311. +  * can be stored.
  3312. +  */
  3313. + #define    TASKTAG_ERROR            (TASKTAG_DUMMY + 0x0)
  3314. + /* Code type
  3315. +  * can be stored.
  3316. +  */
  3317. + #define    TASKTAG_CODETYPE        (TASKTAG_DUMMY + 0x1)
  3318. + /* Start PC
  3319. +  * code must be of TASKTAG_CODETYPE
  3320. +  */
  3321. + #define    TASKTAG_PC            (TASKTAG_DUMMY + 0x2)
  3322. + /* Final PC
  3323. +  * code must be of TASKTAG_CODETYPE
  3324. +  */
  3325. + #define    TASKTAG_FINALPC            (TASKTAG_DUMMY + 0x3)
  3326. + /* Stacksize...Default 8192
  3327. +  */
  3328. + #define    TASKTAG_STACKSIZE        (TASKTAG_DUMMY + 0x4)
  3329. + /* Std Stacksize...
  3330. +  * Default(use the stack defined by tc_SPLower..tc_SPUpper)
  3331. +  */
  3332. + #define    TASKTAG_STDSTACKSIZE        (TASKTAG_DUMMY + 0x5)
  3333. + /* PPC First Argument..gpr3
  3334. +  */
  3335. + #define    TASKTAG_PPC_ARG1        (TASKTAG_DUMMY + 0x10)
  3336. + /* PPC First Argument..gpr4
  3337. +  */
  3338. + #define    TASKTAG_PPC_ARG2        (TASKTAG_DUMMY + 0x11)
  3339. + /* PPC First Argument..gpr5
  3340. +  */
  3341. + #define    TASKTAG_PPC_ARG3        (TASKTAG_DUMMY + 0x12)
  3342. + /* PPC First Argument..gpr6
  3343. +  */
  3344. + #define    TASKTAG_PPC_ARG4        (TASKTAG_DUMMY + 0x13)
  3345. + /* PPC First Argument..gpr7
  3346. +  */
  3347. + #define    TASKTAG_PPC_ARG5        (TASKTAG_DUMMY + 0x14)
  3348. + /* PPC First Argument..gpr8
  3349. +  */
  3350. + #define    TASKTAG_PPC_ARG6        (TASKTAG_DUMMY + 0x15)
  3351. + /* PPC First Argument..gpr9
  3352. +  */
  3353. + #define    TASKTAG_PPC_ARG7        (TASKTAG_DUMMY + 0x16)
  3354. + /* PPC First Argument..gpr10
  3355. +  */
  3356. + #define    TASKTAG_PPC_ARG8        (TASKTAG_DUMMY + 0x17)
  3357. + #define    CODETYPE_M68K    0x0
  3358.   /*
  3359. !  * System V4 ABI
  3360. !  */
  3361. ! #define    CODETYPE_PPC    0x1
  3362. ! /*
  3363. !  * Stack swap structure as passed to StackSwap() and PPCStackSwap()
  3364.    */
  3365.   struct    StackSwapStruct {
  3366. ***************
  3367. *** 56,59 ****
  3368. --- 222,305 ----
  3369.   };
  3370.   
  3371. + struct PPCStackSwapArgs
  3372. + {
  3373. +     ULONG    Args[8];    /* The C register arguments from gpr3..gpr11 */
  3374. + };
  3375. + /*
  3376. +  * NewGetTaskAttrsA(),  NewSetTaskAttrsA() tags
  3377. +  */
  3378. + #define    TASKINFOTYPE_ALLTASK        (0x0)
  3379. + #define    TASKINFOTYPE_NAME        (0x1)
  3380. + #define    TASKINFOTYPE_PRI        (0x2)
  3381. + #define    TASKINFOTYPE_TYPE        (0x3)
  3382. + #define    TASKINFOTYPE_STATE        (0x4)
  3383. + #define    TASKINFOTYPE_FLAGS        (0x5)
  3384. + #define    TASKINFOTYPE_SIGALLOC        (0x6)
  3385. + #define    TASKINFOTYPE_SIGWAIT        (0x7)
  3386. + #define    TASKINFOTYPE_SIGRECVD        (0x8)
  3387. + #define    TASKINFOTYPE_SIGEXCEPT        (0x9)
  3388. + #define    TASKINFOTYPE_EXCEPTDATA        (0xa)
  3389. + #define    TASKINFOTYPE_EXCEPTCODE        (0xb)
  3390. + #define    TASKINFOTYPE_TRAPDATA        (0xc)
  3391. + #define    TASKINFOTYPE_TRAPCODE        (0xd)
  3392. + #define    TASKINFOTYPE_STACKSIZE_M68K    (0xe)
  3393. + #define    TASKINFOTYPE_STACKSIZE        (0xf)
  3394. + #define    TASKINFOTYPE_USEDSTACKSIZE_M68K    (0x10)
  3395. + #define    TASKINFOTYPE_USEDSTACKSIZE    (0x11)
  3396. + #define    TASKINFOTYPE_TRAPMSGPORT    (0x12)
  3397. + #define    TASKINFOTYPE_68K_NEWFRAME    (0x50)
  3398. + #define    TASKINFOTYPE_PPC_SRR0        (0x100)
  3399. + #define    TASKINFOTYPE_PPC_SRR1        (0x101)
  3400. + #define    TASKINFOTYPE_PPC_LR        (0x102)
  3401. + #define    TASKINFOTYPE_PPC_CTR        (0x103)
  3402. + #define    TASKINFOTYPE_PPC_CR        (0x104)
  3403. + #define    TASKINFOTYPE_PPC_XER        (0x105)
  3404. + #define    TASKINFOTYPE_PPC_GPR        (0x106)
  3405. + #define    TASKINFOTYPE_PPC_FPR        (0x107)
  3406. + #define    TASKINFOTYPE_PPC_FPSCR        (0x108)
  3407. + #define    TASKINFOTYPE_PPC_VSCR        (0x109)
  3408. + #define    TASKINFOTYPE_PPC_VMX        (0x10a)
  3409. + #define    TASKINFOTYPE_PPC_VSAVE        (0x10b)
  3410. + #define    TASKINFOTYPE_PPC_FRAME        (0x10c)
  3411. + #define    TASKINFOTYPE_PPC_FRAMESIZE    (0x10d)
  3412. + #define    TASKINFOTYPE_PPC_NEWFRAME    (0x10e)
  3413. + #define    TASKINFOTAG_DUMMY        (TAG_USER + 0x110000)
  3414. + /* Used with TASKINFOTYPE_ALLTASK
  3415. +  */
  3416. + #define    TASKINFOTAG_HOOK        (TASKINFOTAG_DUMMY + 0x0)
  3417. + /* Used with TASKINFOTYPE_PPC_GPR,TASKINFOTYPE_PPC_FPR,TASKINFOTYPE_PPC_VMX
  3418. +  * to define the copy area
  3419. +  */
  3420. + #define    TASKINFOTAG_REGSTART        (TASKINFOTAG_DUMMY + 0x1)
  3421. + /* Used with TASKINFOTYPE_PPC_GPR,TASKINFOTYPE_PPC_FPR,TASKINFOTYPE_PPC_VMX
  3422. +  * to define the copy area
  3423. +  */
  3424. + #define    TASKINFOTAG_REGCOUNT        (TASKINFOTAG_DUMMY + 0x2)
  3425. + /*
  3426. +  * NewSetTaskAttrsA(..,&TaskFrame68k,sizeof(struct TaskFrame68k),TASKINFOTYPE_68K_NEWFRAME,...);
  3427. +  *
  3428. +  */
  3429. + struct TaskFrame68k
  3430. + {
  3431. +     void    *PC;
  3432. +     UWORD    SR;
  3433. +     ULONG    Xn[15];
  3434. + };
  3435.   /*----- Flag Bits ------------------------------------------*/
  3436.   #define TB_PROCTIME    0
  3437. ***************
  3438. *** 96,99 ****
  3439. --- 342,348 ----
  3440.   #define    SIGF_NET    (1L<<7)
  3441.   #define SIGF_DOS    (1L<<8)
  3442. + #define    DEFAULT_PPCSTACKSIZE    16384
  3443.   
  3444.   #endif    /* EXEC_TASKS_H */
  3445. Only in include_h/exec: types.h
  3446. Only in include_h/fd: amigaguide_lib.fd
  3447. Only in include_h/fd: asl_lib.fd
  3448. Only in include_h/fd: battclock_lib.fd
  3449. Only in include_h/fd: battmem_lib.fd
  3450. Only in include_h/fd: bullet_lib.fd
  3451. Only in include_h/fd: cardres_lib.fd
  3452. diff -c2 -d -P -r include_h/fd/cgxdither_lib.fd includenew/fd/cgxdither_lib.fd
  3453. *** include_h/fd/cgxdither_lib.fd    Thu Jan  1 00:00:00 1970
  3454. --- includenew/fd/cgxdither_lib.fd    Wed Feb 14 02:41:11 2001
  3455. ***************
  3456. *** 0 ****
  3457. --- 1,13 ----
  3458. + ##base _CGXDitherBase
  3459. + ##bias 30
  3460. + ##public
  3461. + CreateDitherInfo(vp,rp,rgbcm,size,sharepens,usecolour)(a0,a1,a2,d0,d1,d2)
  3462. + DeleteDitherInfo(ditherinfo)(a0)
  3463. + SetDitherMode(ditherinfo,mode)(a0,d0)
  3464. + DitherMap(sbm,dbm,ditherinfo)(a0,a1,a2)
  3465. + ConvertMap(sbm,dbm,left,top,width,height,flags)(a0,a1,d0,d1,d2,d3,d4)
  3466. + MapHistogram(bm,histogram)(a0,a1)
  3467. + RemapMapColours(sbm,dbm,remaparr1,remaparr2,remapcm,flags)(a0,a1,a2,a3,a4,d0)
  3468. + CreateMapMask(sbm,transcol,flags)(a0,d0,d1)
  3469. + FreeMapMask(maskbm)(a0)
  3470. diff -c2 -d -P -r include_h/fd/cgxsystem_lib.fd includenew/fd/cgxsystem_lib.fd
  3471. *** include_h/fd/cgxsystem_lib.fd    Thu Jan  1 00:00:00 1970
  3472. --- includenew/fd/cgxsystem_lib.fd    Wed Feb 14 02:41:11 2001
  3473. ***************
  3474. *** 0 ****
  3475. --- 1,17 ----
  3476. + ##bias 30
  3477. + ##private
  3478. + private()()
  3479. + private()()
  3480. + private()()
  3481. + private()()
  3482. + private()()
  3483. + private()()
  3484. + private()()
  3485. + private()()
  3486. + private()()
  3487. + ##public
  3488. + InstallTransparentRegion(SLayer,Region)(a0,a1)
  3489. + InstallTransparentRegionHook(SLayer,Hook)(a0,a1)
  3490. + HideWindow(Window)(a0)
  3491. + ShowWindow(Window)(a0)
  3492. + ##end
  3493. diff -c2 -d -P -r include_h/fd/cgxvideo_lib.fd includenew/fd/cgxvideo_lib.fd
  3494. *** include_h/fd/cgxvideo_lib.fd    Thu Jan  1 00:00:00 1970
  3495. --- includenew/fd/cgxvideo_lib.fd    Wed Feb 14 02:41:11 2001
  3496. ***************
  3497. *** 0 ****
  3498. --- 1,12 ----
  3499. + ##base _CGXVideoBase
  3500. + ##bias 30
  3501. + ##public
  3502. + CreateVLayerHandleTagList(Screen,Tags)(A0,A1)
  3503. + DeleteVLayerHandle(VLayerHandle)(A0)
  3504. + AttachVLayerTagList(VLayerHandle,Window,Tags)(A0,A1,A2)
  3505. + DetachVLayer(VLayerHandle)(A0)
  3506. + GetVLayerAttr(VLayerHandle,AttrID)(A0,D0)
  3507. + LockVLayer(VLayerHandle)(A0)
  3508. + UnlockVLayer(VLayerHandle)(A0)
  3509. + SetVLayerAttrTagList(VLayerHandle,Tags)(A0,A1)
  3510. + ##end
  3511. Only in include_h/fd: cia_lib.fd
  3512. Only in include_h/fd: colorwheel_lib.fd
  3513. Only in include_h/fd: commodities_lib.fd
  3514. Only in include_h/fd: console_lib.fd
  3515. diff -c2 -d -P -r include_h/fd/cybergraphics_lib.fd includenew/fd/cybergraphics_lib.fd
  3516. *** include_h/fd/cybergraphics_lib.fd    Thu Jan  1 00:00:00 1970
  3517. --- includenew/fd/cybergraphics_lib.fd    Wed Feb 14 02:41:11 2001
  3518. ***************
  3519. *** 0 ****
  3520. --- 1,72 ----
  3521. + ##base _CyberGfxBase
  3522. + ##bias 30
  3523. + *--- functions in V40 or higher (Release 40.40) ---
  3524. + ##private
  3525. + cgfxPrivate1()()
  3526. + cgfxPrivate2()()
  3527. + cgfxPrivate3()()
  3528. + cgfxPrivate4()()
  3529. + ##public
  3530. + *
  3531. + IsCyberModeID(displayID)(d0)
  3532. + *
  3533. + BestCModeIDTagList(BestModeIDTags)(a0)
  3534. + *
  3535. + CModeRequestTagList(ModeRequest,ModeRequestTags)(a0,a1)
  3536. + *
  3537. + AllocCModeListTagList(ModeListTags)(a1)
  3538. + *
  3539. + FreeCModeList(ModeList)(a0)
  3540. + *
  3541. + ##private
  3542. + cgfxPrivate5()()
  3543. + ##public
  3544. + *
  3545. + ScalePixelArray(srcRect,SrcW,SrcH,SrcMod,RastPort,DestX,DestY,DestW,DestH,SrcFormat)(a0,d0,d1,d2,a1,d3,d4,d5,d6,d7)
  3546. + *
  3547. + GetCyberMapAttr(CyberGfxBitmap,CyberAttrTag)(a0,d0)
  3548. + *
  3549. + GetCyberIDAttr(CyberIDAttr,CyberDisplayModeID)(d0,d1)
  3550. + *
  3551. + ReadRGBPixel(RastPort,x,y)(a1,d0,d1)
  3552. + *
  3553. + WriteRGBPixel(RastPort,x,y,argb)(a1,d0,d1,d2)
  3554. + *
  3555. + ReadPixelArray(destRect,destX,destY,destMod,RastPort,SrcX,SrcY,SizeX,SizeY,DestFormat)(a0,d0,d1,d2,a1,d3,d4,d5,d6,d7)
  3556. + *
  3557. + WritePixelArray(srcRect,SrcX,SrcY,SrcMod,RastPort,DestX,DestY,SizeX,SizeY,SrcFormat)(a0,d0,d1,d2,a1,d3,d4,d5,d6,d7)
  3558. + *
  3559. + MovePixelArray(SrcX,SrcY,RastPort,DestX,DestY,SizeX,SizeY)(d0,d1,a1,d2,d3,d4,d5)
  3560. + *
  3561. + ##private
  3562. + cgfxPrivate6()()
  3563. + ##public
  3564. + *
  3565. + InvertPixelArray(RastPort,DestX,DestY,SizeX,SizeY)(a1,d0,d1,d2,d3)
  3566. + *
  3567. + FillPixelArray(RastPort,DestX,DestY,SizeX,SizeY,ARGB)(a1,d0,d1,d2,d3,d4)
  3568. + *
  3569. + DoCDrawMethodTagList(Hook,RastPort,TagList)(a0,a1,a2)
  3570. + *
  3571. + CVideoCtrlTagList(ViewPort,TagList)(a0,a1)
  3572. + *
  3573. + *--- functions in V40 or higher (Release 40.60) ---
  3574. + *
  3575. + LockBitMapTagList(BitMap,TagList)(a0,a1)
  3576. + *
  3577. + UnLockBitMap(Handle)(a0)
  3578. + *
  3579. + UnLockBitMapTagList(Handle,TagList)(a0,a1)
  3580. + *
  3581. + *--- functions in V41 or higher ---
  3582. + *
  3583. + ExtractColor(RastPort,BitMap,Colour,SrcX,SrcY,Width,Height)(A0,A1,D0,D1,D2,D3,D4)
  3584. + *
  3585. + ##private
  3586. + cgfxPrivate7()()
  3587. + ##public
  3588. + *
  3589. + WriteLUTPixelArray(srcRect,SrcX,SrcY,SrcMod,RastPort,ColorTab,DestX,DestY,SizeX,SizeY,CTFormat)(a0,d0,d1,d2,a1,a2,d3,d4,d5,d6,d7)
  3590. + NewOwnCyberMap(BitmapInfo)(a0)
  3591. + NewDisOwnCyberMap(BitmapInfo)(a0)
  3592. + ##end
  3593. Only in include_h/fd: datatypes_lib.fd
  3594. Only in include_h/fd: disk_lib.fd
  3595. Only in include_h/fd: diskfont_lib.fd
  3596. Only in include_h/fd: dos_lib.fd
  3597. Only in include_h/fd: dtclass_lib.fd
  3598. diff -c2 -d -P -r include_h/fd/exec_lib.fd includenew/fd/exec_lib.fd
  3599. *** include_h/fd/exec_lib.fd    Wed Feb 14 02:41:46 2001
  3600. --- includenew/fd/exec_lib.fd    Wed Feb 14 02:41:11 2001
  3601. ***************
  3602. *** 1,2 ****
  3603. --- 1,3 ----
  3604. + * "exec.library"
  3605.   ##base _SysBase
  3606.   ##bias 30
  3607. ***************
  3608. *** 6,15 ****
  3609.   *------ special patchable hooks to internal exec activity ------------
  3610.   ##private
  3611. ! execPrivate1()()
  3612. ! execPrivate2()()
  3613. ! execPrivate3()()
  3614. ! execPrivate4()()
  3615. ! execPrivate5()()
  3616. ! execPrivate6()()
  3617.   ##public
  3618.   *------ module creation ----------------------------------------------
  3619. --- 7,16 ----
  3620.   *------ special patchable hooks to internal exec activity ------------
  3621.   ##private
  3622. ! ExitIntr()()
  3623. ! Schedule()()
  3624. ! Reschedule()()
  3625. ! Switch000()()
  3626. ! Dispatch()()
  3627. ! Exception()()
  3628.   ##public
  3629.   *------ module creation ----------------------------------------------
  3630. ***************
  3631. *** 96,104 ****
  3632.   OpenResource(resName)(a1)
  3633.   *------ private diagnostic support -----------------------------------
  3634. ! ##private
  3635. ! execPrivate7()()
  3636. ! execPrivate8()()
  3637. ! execPrivate9()()
  3638. ! ##public
  3639.   *------ misc ---------------------------------------------------------
  3640.   RawDoFmt(formatString,dataStream,putChProc,putChData)(a0/a1/a2/a3)
  3641. --- 97,105 ----
  3642.   OpenResource(resName)(a1)
  3643.   *------ private diagnostic support -----------------------------------
  3644. ! * ##private
  3645. ! RawIOInit()()
  3646. ! RawMayGetChar()()
  3647. ! RawPutChar(Char)(d0)
  3648. ! * ##public
  3649.   *------ misc ---------------------------------------------------------
  3650.   RawDoFmt(formatString,dataStream,putChProc,putChData)(a0/a1/a2/a3)
  3651. ***************
  3652. *** 148,154 ****
  3653.   ColdReboot()()
  3654.   StackSwap(newStack)(a0)
  3655.   *------ task trees ---------------------------------------------------
  3656. - ChildFree(tid)(d0)
  3657. - ChildOrphan(tid)(d0)
  3658.   ChildStatus(tid)(d0)
  3659.   ChildWait(tid)(d0)
  3660. --- 149,156 ----
  3661.   ColdReboot()()
  3662.   StackSwap(newStack)(a0)
  3663. + *------ New PPC extension functions ----------------------------------
  3664. + NewGetTaskAttrsA(Task,Data,DataSize,Type,Tags)(a0,a1,d0,d1,a2)
  3665. + NewSetTaskAttrsA(Task,Data,DataSize,Type,Tags)(a0,a1,d0,d1,a2)
  3666.   *------ task trees ---------------------------------------------------
  3667.   ChildStatus(tid)(d0)
  3668.   ChildWait(tid)(d0)
  3669. ***************
  3670. *** 163,173 ****
  3671.   *------ Function to attempt to obtain a Quick Interrupt Vector...
  3672.   ObtainQuickVector(interruptCode)(a0)
  3673. ! ##private
  3674. ! execPrivate10()()
  3675. ! execPrivate11()()
  3676. ! execPrivate12()()
  3677. ! execPrivate13()()
  3678. ! execPrivate14()()
  3679. ! execPrivate15()()
  3680. ! ##public
  3681.   ##end
  3682. --- 165,188 ----
  3683.   *------ Function to attempt to obtain a Quick Interrupt Vector...
  3684.   ObtainQuickVector(interruptCode)(a0)
  3685. ! *------ New PPC extension functions ----------------------------------
  3686. ! NewSetFunction(library,function,offset,tags)(a0,a1,d0,a2)
  3687. ! NewCreateLibrary(tags)(a0)
  3688. ! NewPPCStackSwap(newStack,function,args)(a0,a1,a2)
  3689. ! TaggedOpenLibrary(Tag)(d0)
  3690. ! * ##private
  3691. ! ReadGayle()()
  3692. ! * ##public
  3693. ! * Native specific function..as args is always a va_list.
  3694. ! NewRawDoFmt(FmtString,PutChProc,PutChData,args)(a0,a1,a2,a3)
  3695. ! CacheFlushDataArea(Address,Size)(a0,d0)
  3696. ! CacheInvalidInstArea(Address,Size)(a0,d0)
  3697. ! CacheInvalidDataArea(Address,Size)(a0,d0)
  3698. ! CacheFlushDataInstArea(Address,Size)(a0,d0)
  3699. ! CacheTrashCacheArea(Address,Size)(a0,d0)
  3700. ! AllocTaskPooled(Size)(d0)
  3701. ! FreeTaskPooled(Address,Size)(a1,d0)
  3702. ! AllocVecTaskPooled(Size)(d0)
  3703. ! FreeVecTaskPooled(Address)(a1)
  3704. ! FlushPool(poolHeader)(a0)
  3705. ! FlushTaskPool()()
  3706.   ##end
  3707. Only in include_h/fd: expansion_lib.fd
  3708. Only in include_h/fd: gadtools_lib.fd
  3709. Only in include_h/fd: graphics_lib.fd
  3710. Only in include_h/fd: icon_lib.fd
  3711. Only in include_h/fd: iffparse_lib.fd
  3712. Only in include_h/fd: input_lib.fd
  3713. Only in include_h/fd: intuition_lib.fd
  3714. Only in include_h/fd: keymap_lib.fd
  3715. Only in include_h/fd: layers_lib.fd
  3716. Only in include_h/fd: locale_lib.fd
  3717. Only in include_h/fd: lowlevel_lib.fd
  3718. Only in include_h/fd: mathffp_lib.fd
  3719. Only in include_h/fd: mathieeedoubbas_lib.fd
  3720. Only in include_h/fd: mathieeedoubtrans_lib.fd
  3721. Only in include_h/fd: mathieeesingbas_lib.fd
  3722. Only in include_h/fd: mathieeesingtrans_lib.fd
  3723. Only in include_h/fd: mathtrans_lib.fd
  3724. Only in include_h/fd: misc_lib.fd
  3725. Only in include_h/fd: nonvolatile_lib.fd
  3726. Only in include_h/fd: potgo_lib.fd
  3727. diff -c2 -d -P -r include_h/fd/ppc_lib.fd includenew/fd/ppc_lib.fd
  3728. *** include_h/fd/ppc_lib.fd    Thu Jan  1 00:00:00 1970
  3729. --- includenew/fd/ppc_lib.fd    Wed Feb 14 02:41:11 2001
  3730. ***************
  3731. *** 0 ****
  3732. --- 1,92 ----
  3733. + * "ppc.library"
  3734. + ##base _PPCLibBase
  3735. + ##bias 30
  3736. + ##public
  3737. + PPCLoadObject(Name)(a0)
  3738. + PPCUnLoadObject(Object)(a0)
  3739. + PPCRunObject(ElfObject,Argument)(a0/a1)
  3740. + PPCAllocMem(size,attributes)(d0/d1)
  3741. + PPCFreeMem(Memory,size)(a1,d0)
  3742. + PPCAllocVec(byteSize,attributes)(d0/d1)
  3743. + PPCFreeVec(memoryBlock)(a1)
  3744. + ##private
  3745. + PPCPrivate0()()
  3746. + PPCPrivate0a()()
  3747. + ##public
  3748. + PPCCreateTask(ElfObject,Tags)(a0/a1)
  3749. + PPCDeleteTask(TaskObject)(a0)
  3750. + PPCSignalTask(TaskObject,SignalMask)(a0,d0)
  3751. + PPCFindTask(Name)(a0)
  3752. + ##private
  3753. + PPCPrivate1()()
  3754. + ##public
  3755. + PPCRunKernelObject(a,b)(a0/a1)
  3756. + ##private
  3757. + PPCPrivate2()()
  3758. + PPCPrivate3()()
  3759. + ##public
  3760. + PPCGetTaskAttrs(TaskObject,Tags)(a0/a1)
  3761. + PPCGetAttrs(Tags)(a0)
  3762. + PPCFindTaskObject(TaskObject)(a0)
  3763. + PPCRunKernelObjectFPU()()
  3764. + PPCReadLong(Address)(a0)
  3765. + PPCWriteLong(Address,Value)(a0,d0)
  3766. + ##private
  3767. + PPCPrivate4()()
  3768. + PPCPrivate5()()
  3769. + ##public
  3770. + PPCStartTask(TaskObject,Tags)(a0/a1)
  3771. + PPCStopTask(TaskObject,Tags)(a0/a1)
  3772. + PPCSetTaskAttrs(TaskObject,Tags)(a0/a1)
  3773. + PPCGetObjectAttrs(ElfObject,PPCObjectInfo,Tags)(a0/a1/a2)
  3774. + PPCWriteLongFlush(Address,Value)(a0,d0)
  3775. + PPCReadWord(Address)(a0)    
  3776. + PPCWriteWord(Address,Value)(a0,d0)
  3777. + PPCReadByte(Address)(a0)
  3778. + PPCWriteByte(Address,Value)(a0,d0)
  3779. + PPCCreatePool(memFlags,puddleSize,threshSize)(d0/d1/d2)
  3780. + PPCDeletePool(poolHeader)(a0)
  3781. + PPCAllocPooled(poolHeader,memSize)(a0,d0)
  3782. + PPCFreePooled(poolHeader,memory,memSize)(a0/a1,d0)
  3783. + PPCAllocVecPooled(Pool,byteSize)(a0,d0)
  3784. + PPCFreeVecPooled(Pool,memoryBlock)(a0/a1)
  3785. + PPCCreatePort(Tags)(a0)
  3786. + PPCDeletePort(PPCPort)(a0)
  3787. + PPCObtainPort(Tags)(a0)
  3788. + PPCReleasePort(PPCPort)(a0)
  3789. + PPCCreateMessage(PPCPort,Length)(a0,d0)
  3790. + PPCDeleteMessage(PPCMessage)(a0)
  3791. + PPCGetMessageAttr(PPCMessage,Attr)(a0,d0)
  3792. + PPCGetMessage(PPCPort)(a0)
  3793. + ##private
  3794. + PPCPrivate6()()
  3795. + ##public
  3796. + PPCReplyMessage(PPCMessage)(a0)
  3797. + PPCSendMessage(PPCPort,PPCMessage,Data,Length,MsgID)(a0/a1/a2,d0/d1)
  3798. + PPCWaitPort(PPCPort)(a0)
  3799. + PPCCacheClearE(address,length,caches)(a0,d0/d1)
  3800. + PPCCacheInvalidE(address,length,caches)(a0,d0/d1)
  3801. + ##private
  3802. + PPCPrivate7()()
  3803. + PPCPrivate8()()
  3804. + ##public
  3805. + PPCCreatePortList(PPCPortArray,ExtSignals)(a0,d0)
  3806. + PPCDeletePortList(PPCPortList)(a0)
  3807. + PPCAddPortList(PPCPortList,PPCPort)(a0/a1)
  3808. + PPCRemPortList(PPCPortList,PPCPort)(a0/a1)
  3809. + PPCWaitPortList(PPCPortList)(a0)
  3810. + PPCGetPortListAttr(PPCPortList,Attr)(a0,d0)
  3811. + PPCSetPortListAttr(PPCPortList,Attr,a)(a0,d0)
  3812. + PPCLoadObjectTagList(Tags)(a0)
  3813. + PPCSetAttrs(Tags)(a0)
  3814. + ##private
  3815. + PPCPrivate9()()
  3816. + PPCPrivate10()()
  3817. + ##public
  3818. + PPCCacheTrashE(address,length,caches)(a0,d0/d1)
  3819. + PPCOpenLibrary(Name,Tags)(a0,a1)
  3820. + PPCCloseLibrary(Library)(a0)
  3821. + PPCGetLibSymbol(Library,Name)(a0,a1)
  3822. + ##private
  3823. + PPCPrivate14()()
  3824. + ##end
  3825. diff -c2 -d -P -r include_h/fd/ppcdiss_lib.fd includenew/fd/ppcdiss_lib.fd
  3826. *** include_h/fd/ppcdiss_lib.fd    Thu Jan  1 00:00:00 1970
  3827. --- includenew/fd/ppcdiss_lib.fd    Wed Feb 14 02:41:11 2001
  3828. ***************
  3829. *** 0 ****
  3830. --- 1,9 ----
  3831. + * "ppcdiss.library"
  3832. + ##base _PPCDissBase
  3833. + ##bias 30
  3834. + ##public
  3835. + CreateDisAssHandleTagList(TagList)(a0)
  3836. + DeleteDisAssHandle(DissHandle)(a0)
  3837. + DisAssTagList(DissHandle,TagList)(a0,a1)
  3838. + ##end
  3839. Only in include_h/fd: ramdrive_lib.fd
  3840. Only in include_h/fd: realtime_lib.fd
  3841. Only in include_h/fd: rexxsyslib_lib.fd
  3842. Only in include_h/fd: timer_lib.fd
  3843. Only in include_h/fd: translator_lib.fd
  3844. Only in include_h/fd: utility_lib.fd
  3845. Only in include_h/fd: wb_lib.fd
  3846. Only in include_h: gadgets
  3847. Only in include_h: graphics
  3848. Only in include_h: hardware
  3849. Only in include_h: intuition
  3850. Only in include_h: libraries
  3851. diff -c2 -d -P -r include_h/lvo/dos_lvo.h includenew/lvo/dos_lvo.h
  3852. *** include_h/lvo/dos_lvo.h    Thu Jan  1 00:00:00 1970
  3853. --- includenew/lvo/dos_lvo.h    Wed Feb 14 02:41:12 2001
  3854. ***************
  3855. *** 0 ****
  3856. --- 1,170 ----
  3857. + #ifndef _LVO_DOS_LIB_H
  3858. + #define _LVO_DOS_LIB_H
  3859. + /*
  3860. +  *  $VER: dos_lvolib.h (08/03/97)
  3861. +  *
  3862. +  */
  3863. + #define    LVO_Open    (-0x1E)
  3864. + #define    LVO_Close    (-0x24)
  3865. + #define    LVO_Read    (-0x2A)
  3866. + #define    LVO_Write    (-0x30)
  3867. + #define    LVO_Input    (-0x36)
  3868. + #define    LVO_Output    (-0x3C)
  3869. + #define    LVO_Seek    (-0x42)
  3870. + #define    LVO_DeleteFile    (-0x48)
  3871. + #define    LVO_Rename    (-0x4E)
  3872. + #define    LVO_Lock    (-0x54)
  3873. + #define    LVO_UnLock    (-0x5A)
  3874. + #define    LVO_DupLock    (-0x60)
  3875. + #define    LVO_Examine    (-0x66)
  3876. + #define    LVO_ExNext    (-0x6C)
  3877. + #define    LVO_Info    (-0x72)
  3878. + #define    LVO_CreateDir    (-0x78)
  3879. + #define    LVO_CurrentDir    (-0x7E)
  3880. + #define    LVO_IoErr    (-0x84)
  3881. + #define    LVO_CreateProc    (-0x8A)
  3882. + #define    LVO_Exit    (-0x90)
  3883. + #define    LVO_LoadSeg    (-0x96)
  3884. + #define    LVO_UnLoadSeg    (-0x9C)
  3885. + #define    LVO_dosPrivate1    (-0xA2)
  3886. + #define    LVO_dosPrivate2    (-0xA8)
  3887. + #define    LVO_DeviceProc    (-0xAE)
  3888. + #define    LVO_SetComment    (-0xB4)
  3889. + #define    LVO_SetProtection    (-0xBA)
  3890. + #define    LVO_DateStamp    (-0xC0)
  3891. + #define    LVO_Delay    (-0xC6)
  3892. + #define    LVO_WaitForChar    (-0xCC)
  3893. + #define    LVO_ParentDir    (-0xD2)
  3894. + #define    LVO_IsInteractive    (-0xD8)
  3895. + #define    LVO_Execute    (-0xDE)
  3896. + #define    LVO_AllocDosObject    (-0xE4)
  3897. + #define    LVO_FreeDosObject    (-0xEA)
  3898. + #define    LVO_DoPkt    (-0xF0)
  3899. + #define    LVO_SendPkt    (-0xF6)
  3900. + #define    LVO_WaitPkt    (-0xFC)
  3901. + #define    LVO_ReplyPkt    (-0x102)
  3902. + #define    LVO_AbortPkt    (-0x108)
  3903. + #define    LVO_LockRecord    (-0x10E)
  3904. + #define    LVO_LockRecords    (-0x114)
  3905. + #define    LVO_UnLockRecord    (-0x11A)
  3906. + #define    LVO_UnLockRecords    (-0x120)
  3907. + #define    LVO_SelectInput    (-0x126)
  3908. + #define    LVO_SelectOutput    (-0x12C)
  3909. + #define    LVO_FGetC    (-0x132)
  3910. + #define    LVO_FPutC    (-0x138)
  3911. + #define    LVO_UnGetC    (-0x13E)
  3912. + #define    LVO_FRead    (-0x144)
  3913. + #define    LVO_FWrite    (-0x14A)
  3914. + #define    LVO_FGets    (-0x150)
  3915. + #define    LVO_FPuts    (-0x156)
  3916. + #define    LVO_VFWritef    (-0x15C)
  3917. + #define    LVO_VFPrintf    (-0x162)
  3918. + #define    LVO_Flush    (-0x168)
  3919. + #define    LVO_SetVBuf    (-0x16E)
  3920. + #define    LVO_DupLockFromFH    (-0x174)
  3921. + #define    LVO_OpenFromLock    (-0x17A)
  3922. + #define    LVO_ParentOfFH    (-0x180)
  3923. + #define    LVO_ExamineFH    (-0x186)
  3924. + #define    LVO_SetFileDate    (-0x18C)
  3925. + #define    LVO_NameFromLock    (-0x192)
  3926. + #define    LVO_NameFromFH    (-0x198)
  3927. + #define    LVO_SplitName    (-0x19E)
  3928. + #define    LVO_SameLock    (-0x1A4)
  3929. + #define    LVO_SetMode    (-0x1AA)
  3930. + #define    LVO_ExAll    (-0x1B0)
  3931. + #define    LVO_ReadLink    (-0x1B6)
  3932. + #define    LVO_MakeLink    (-0x1BC)
  3933. + #define    LVO_ChangeMode    (-0x1C2)
  3934. + #define    LVO_SetFileSize    (-0x1C8)
  3935. + #define    LVO_SetIoErr    (-0x1CE)
  3936. + #define    LVO_Fault    (-0x1D4)
  3937. + #define    LVO_PrintFault    (-0x1DA)
  3938. + #define    LVO_ErrorReport    (-0x1E0)
  3939. + #define    LVO_Cli    (-0x1EC)
  3940. + #define    LVO_CreateNewProc    (-0x1F2)
  3941. + #define    LVO_RunCommand    (-0x1F8)
  3942. + #define    LVO_GetConsoleTask    (-0x1FE)
  3943. + #define    LVO_SetConsoleTask    (-0x204)
  3944. + #define    LVO_GetFileSysTask    (-0x20A)
  3945. + #define    LVO_SetFileSysTask    (-0x210)
  3946. + #define    LVO_GetArgStr    (-0x216)
  3947. + #define    LVO_SetArgStr    (-0x21C)
  3948. + #define    LVO_FindCliProc    (-0x222)
  3949. + #define    LVO_MaxCli    (-0x228)
  3950. + #define    LVO_SetCurrentDirName    (-0x22E)
  3951. + #define    LVO_GetCurrentDirName    (-0x234)
  3952. + #define    LVO_SetProgramName    (-0x23A)
  3953. + #define    LVO_GetProgramName    (-0x240)
  3954. + #define    LVO_SetPrompt    (-0x246)
  3955. + #define    LVO_GetPrompt    (-0x24C)
  3956. + #define    LVO_SetProgramDir    (-0x252)
  3957. + #define    LVO_GetProgramDir    (-0x258)
  3958. + #define    LVO_SystemTagList    (-0x25E)
  3959. + #define    LVO_AssignLock    (-0x264)
  3960. + #define    LVO_AssignLate    (-0x26A)
  3961. + #define    LVO_AssignPath    (-0x270)
  3962. + #define    LVO_AssignAdd    (-0x276)
  3963. + #define    LVO_RemAssignList    (-0x27C)
  3964. + #define    LVO_GetDeviceProc    (-0x282)
  3965. + #define    LVO_FreeDeviceProc    (-0x288)
  3966. + #define    LVO_LockDosList    (-0x28E)
  3967. + #define    LVO_UnLockDosList    (-0x294)
  3968. + #define    LVO_AttemptLockDosList    (-0x29A)
  3969. + #define    LVO_RemDosEntry    (-0x2A0)
  3970. + #define    LVO_AddDosEntry    (-0x2A6)
  3971. + #define    LVO_FindDosEntry    (-0x2AC)
  3972. + #define    LVO_NextDosEntry    (-0x2B2)
  3973. + #define    LVO_MakeDosEntry    (-0x2B8)
  3974. + #define    LVO_FreeDosEntry    (-0x2BE)
  3975. + #define    LVO_IsFileSystem    (-0x2C4)
  3976. + #define    LVO_Format    (-0x2CA)
  3977. + #define    LVO_Relabel    (-0x2D0)
  3978. + #define    LVO_Inhibit    (-0x2D6)
  3979. + #define    LVO_AddBuffers    (-0x2DC)
  3980. + #define    LVO_CompareDates    (-0x2E2)
  3981. + #define    LVO_DateToStr    (-0x2E8)
  3982. + #define    LVO_StrToDate    (-0x2EE)
  3983. + #define    LVO_InternalLoadSeg    (-0x2F4)
  3984. + #define    LVO_InternalUnLoadSeg    (-0x2FA)
  3985. + #define    LVO_NewLoadSeg    (-0x300)
  3986. + #define    LVO_AddSegment    (-0x306)
  3987. + #define    LVO_FindSegment    (-0x30C)
  3988. + #define    LVO_RemSegment    (-0x312)
  3989. + #define    LVO_CheckSignal    (-0x318)
  3990. + #define    LVO_ReadArgs    (-0x31E)
  3991. + #define    LVO_FindArg    (-0x324)
  3992. + #define    LVO_ReadItem    (-0x32A)
  3993. + #define    LVO_StrToLong    (-0x330)
  3994. + #define    LVO_MatchFirst    (-0x336)
  3995. + #define    LVO_MatchNext    (-0x33C)
  3996. + #define    LVO_MatchEnd    (-0x342)
  3997. + #define    LVO_ParsePattern    (-0x348)
  3998. + #define    LVO_MatchPattern    (-0x34E)
  3999. + #define    LVO_dosPrivate3    (-0x354)
  4000. + #define    LVO_FreeArgs    (-0x35A)
  4001. + #define    LVO_FilePart    (-0x366)
  4002. + #define    LVO_PathPart    (-0x36C)
  4003. + #define    LVO_AddPart    (-0x372)
  4004. + #define    LVO_StartNotify    (-0x378)
  4005. + #define    LVO_EndNotify    (-0x37E)
  4006. + #define    LVO_SetVar    (-0x384)
  4007. + #define    LVO_GetVar    (-0x38A)
  4008. + #define    LVO_DeleteVar    (-0x390)
  4009. + #define    LVO_FindVar    (-0x396)
  4010. + #define    LVO_dosPrivate4    (-0x39C)
  4011. + #define    LVO_CliInitNewcli    (-0x3A2)
  4012. + #define    LVO_CliInitRun    (-0x3A8)
  4013. + #define    LVO_WriteChars    (-0x3AE)
  4014. + #define    LVO_PutStr    (-0x3B4)
  4015. + #define    LVO_VPrintf    (-0x3BA)
  4016. + #define    LVO_ParsePatternNoCase    (-0x3C6)
  4017. + #define    LVO_MatchPatternNoCase    (-0x3CC)
  4018. + #define    LVO_dosPrivate5    (-0x3D2)
  4019. + #define    LVO_SameDevice    (-0x3D8)
  4020. + #define    LVO_ExAllEnd    (-0x3DE)
  4021. + #define    LVO_SetOwner    (-0x3E4)
  4022. + #endif
  4023. diff -c2 -d -P -r include_h/lvo/exec_lvo.h includenew/lvo/exec_lvo.h
  4024. *** include_h/lvo/exec_lvo.h    Thu Jan  1 00:00:00 1970
  4025. --- includenew/lvo/exec_lvo.h    Wed Feb 14 02:41:12 2001
  4026. ***************
  4027. *** 0 ****
  4028. --- 1,162 ----
  4029. + #ifndef _LVO_EXEC_LIB_H
  4030. + #define _LVO_EXEC_LIB_H
  4031. + /*
  4032. +  *  $VER: exec_lvolib.h (08/03/97)
  4033. +  *
  4034. +  */
  4035. + #define    LVO_OPEN        (-6)
  4036. + #define    LVO_CLOSE        (-12)
  4037. + #define    LVO_EXPUNGE        (-18)
  4038. + #define    LVO_EXTFUNC        (-24)
  4039. + #define    LVO_BEGINIO        (-30)
  4040. + #define    LVO_ABORTIO        (-36)
  4041. + #define    LVO_Supervisor    (-0x1E)
  4042. + #define    LVO_ExitIntr    (-0x24)
  4043. + #define    LVO_Schedule    (-0x2A)
  4044. + #define    LVO_Reschedule    (-0x30)
  4045. + #define    LVO_Switch    (-0x36)
  4046. + #define    LVO_Dispatch    (-0x3C)
  4047. + #define    LVO_Exception    (-0x42)
  4048. + #define    LVO_InitCode    (-0x48)
  4049. + #define    LVO_InitStruct    (-0x4E)
  4050. + #define    LVO_MakeLibrary    (-0x54)
  4051. + #define    LVO_MakeFunctions    (-0x5A)
  4052. + #define    LVO_FindResident    (-0x60)
  4053. + #define    LVO_InitResident    (-0x66)
  4054. + #define    LVO_Alert    (-0x6C)
  4055. + #define    LVO_Debug    (-0x72)
  4056. + #define    LVO_Disable    (-0x78)
  4057. + #define    LVO_Enable    (-0x7E)
  4058. + #define    LVO_Forbid    (-0x84)
  4059. + #define    LVO_Permit    (-0x8A)
  4060. + #define    LVO_SetSR    (-0x90)
  4061. + #define    LVO_SuperState    (-0x96)
  4062. + #define    LVO_UserState    (-0x9C)
  4063. + #define    LVO_SetIntVector    (-0xA2)
  4064. + #define    LVO_AddIntServer    (-0xA8)
  4065. + #define    LVO_RemIntServer    (-0xAE)
  4066. + #define    LVO_Cause    (-0xB4)
  4067. + #define    LVO_Allocate    (-0xBA)
  4068. + #define    LVO_Deallocate    (-0xC0)
  4069. + #define    LVO_AllocMem    (-0xC6)
  4070. + #define    LVO_AllocAbs    (-0xCC)
  4071. + #define    LVO_FreeMem    (-0xD2)
  4072. + #define    LVO_AvailMem    (-0xD8)
  4073. + #define    LVO_AllocEntry    (-0xDE)
  4074. + #define    LVO_FreeEntry    (-0xE4)
  4075. + #define    LVO_Insert    (-0xEA)
  4076. + #define    LVO_AddHead    (-0xF0)
  4077. + #define    LVO_AddTail    (-0xF6)
  4078. + #define    LVO_Remove    (-0xFC)
  4079. + #define    LVO_RemHead    (-0x102)
  4080. + #define    LVO_RemTail    (-0x108)
  4081. + #define    LVO_Enqueue    (-0x10E)
  4082. + #define    LVO_FindName    (-0x114)
  4083. + #define    LVO_AddTask    (-0x11A)
  4084. + #define    LVO_RemTask    (-0x120)
  4085. + #define    LVO_FindTask    (-0x126)
  4086. + #define    LVO_SetTaskPri    (-0x12C)
  4087. + #define    LVO_SetSignal    (-0x132)
  4088. + #define    LVO_SetExcept    (-0x138)
  4089. + #define    LVO_Wait    (-0x13E)
  4090. + #define    LVO_Signal    (-0x144)
  4091. + #define    LVO_AllocSignal    (-0x14A)
  4092. + #define    LVO_FreeSignal    (-0x150)
  4093. + #define    LVO_AllocTrap    (-0x156)
  4094. + #define    LVO_FreeTrap    (-0x15C)
  4095. + #define    LVO_AddPort    (-0x162)
  4096. + #define    LVO_RemPort    (-0x168)
  4097. + #define    LVO_PutMsg    (-0x16E)
  4098. + #define    LVO_GetMsg    (-0x174)
  4099. + #define    LVO_ReplyMsg    (-0x17A)
  4100. + #define    LVO_WaitPort    (-0x180)
  4101. + #define    LVO_FindPort    (-0x186)
  4102. + #define    LVO_AddLibrary    (-0x18C)
  4103. + #define    LVO_RemLibrary    (-0x192)
  4104. + #define    LVO_OldOpenLibrary    (-0x198)
  4105. + #define    LVO_CloseLibrary    (-0x19E)
  4106. + #define    LVO_SetFunction    (-0x1A4)
  4107. + #define    LVO_SumLibrary    (-0x1AA)
  4108. + #define    LVO_AddDevice    (-0x1B0)
  4109. + #define    LVO_RemDevice    (-0x1B6)
  4110. + #define    LVO_OpenDevice    (-0x1BC)
  4111. + #define    LVO_CloseDevice    (-0x1C2)
  4112. + #define    LVO_DoIO    (-0x1C8)
  4113. + #define    LVO_SendIO    (-0x1CE)
  4114. + #define    LVO_CheckIO    (-0x1D4)
  4115. + #define    LVO_WaitIO    (-0x1DA)
  4116. + #define    LVO_AbortIO    (-0x1E0)
  4117. + #define    LVO_AddResource    (-0x1E6)
  4118. + #define    LVO_RemResource    (-0x1EC)
  4119. + #define    LVO_OpenResource    (-0x1F2)
  4120. + #define    LVO_RawIOInit        (-0x1F8)
  4121. + #define    LVO_RawMayGetChar    (-0x1FE)
  4122. + #define    LVO_RawPutChar        (-0x204)
  4123. + #define    LVO_RawDoFmt    (-0x20A)
  4124. + #define    LVO_GetCC    (-0x210)
  4125. + #define    LVO_TypeOfMem    (-0x216)
  4126. + #define    LVO_Procure    (-0x21C)
  4127. + #define    LVO_Vacate    (-0x222)
  4128. + #define    LVO_OpenLibrary    (-0x228)
  4129. + #define    LVO_InitSemaphore    (-0x22E)
  4130. + #define    LVO_ObtainSemaphore    (-0x234)
  4131. + #define    LVO_ReleaseSemaphore    (-0x23A)
  4132. + #define    LVO_AttemptSemaphore    (-0x240)
  4133. + #define    LVO_ObtainSemaphoreList    (-0x246)
  4134. + #define    LVO_ReleaseSemaphoreList    (-0x24C)
  4135. + #define    LVO_FindSemaphore    (-0x252)
  4136. + #define    LVO_AddSemaphore    (-0x258)
  4137. + #define    LVO_RemSemaphore    (-0x25E)
  4138. + #define    LVO_SumKickData    (-0x264)
  4139. + #define    LVO_AddMemList    (-0x26A)
  4140. + #define    LVO_CopyMem    (-0x270)
  4141. + #define    LVO_CopyMemQuick    (-0x276)
  4142. + #define    LVO_CacheClearU    (-0x27C)
  4143. + #define    LVO_CacheClearE    (-0x282)
  4144. + #define    LVO_CacheControl    (-0x288)
  4145. + #define    LVO_CreateIORequest    (-0x28E)
  4146. + #define    LVO_DeleteIORequest    (-0x294)
  4147. + #define    LVO_CreateMsgPort    (-0x29A)
  4148. + #define    LVO_DeleteMsgPort    (-0x2A0)
  4149. + #define    LVO_ObtainSemaphoreShared    (-0x2A6)
  4150. + #define    LVO_AllocVec    (-0x2AC)
  4151. + #define    LVO_FreeVec    (-0x2B2)
  4152. + #define    LVO_CreatePool    (-0x2B8)
  4153. + #define    LVO_DeletePool    (-0x2BE)
  4154. + #define    LVO_AllocPooled    (-0x2C4)
  4155. + #define    LVO_FreePooled    (-0x2CA)
  4156. + #define    LVO_AttemptSemaphoreShared    (-0x2D0)
  4157. + #define    LVO_ColdReboot        (-0x2D6)
  4158. + #define    LVO_StackSwap        (-0x2DC)
  4159. + #define    LVO_NewGetTaskAttrsA    (-0x2E2)
  4160. + #define    LVO_NewSetTaskAttrsA    (-0x2E8)
  4161. + #define    LVO_ChildStatus        (-0x2EE)
  4162. + #define    LVO_ChildWait        (-0x2F4)
  4163. + #define    LVO_CachePreDMA        (-0x2FA)
  4164. + #define    LVO_CachePostDMA    (-0x300)
  4165. + #define    LVO_AddMemHandler    (-0x306)
  4166. + #define    LVO_RemMemHandler    (-0x30C)
  4167. + #define    LVO_ObtainQuickVector    (-0x312)
  4168. + #define    LVO_NewSetFunction    (-0x318)
  4169. + #define    LVO_NewCreateLibrary    (-0x31E)
  4170. + #define    LVO_NewPPCStackSwap    (-0x324)
  4171. + #define    LVO_TaggedOpenLibrary    (-0x32A)
  4172. + #define    LVO_ReadGayle        (-0x330)
  4173. + #define    LVO_NewRawDoFmt        (-0x336)
  4174. + #define    LVO_CacheFlushDataArea        (-0x33c)
  4175. + #define    LVO_CacheInvalidInstArea    (-0x342)
  4176. + #define    LVO_CacheInvalidDataArea    (-0x348)
  4177. + #define    LVO_CacheFlushDataInstArea    (-0x34e)
  4178. + #define    LVO_CacheTrashCacheArea        (-0x354)
  4179. + #define    LVO_AllocTaskPooled        (-0x35a)
  4180. + #define    LVO_FreeTaskPooled        (-0x360)
  4181. + #define    LVO_AllocVecTaskPooled        (-0x366)
  4182. + #define    LVO_FreeVecTaskPooled        (-0x36c)
  4183. + #define    LVO_FlushPool            (-0x372)
  4184. + #define    LVO_FlushTaskPool        (-0x378)
  4185. + #endif
  4186. diff -c2 -d -P -r include_h/lvo/graphics_lvo.h includenew/lvo/graphics_lvo.h
  4187. *** include_h/lvo/graphics_lvo.h    Thu Jan  1 00:00:00 1970
  4188. --- includenew/lvo/graphics_lvo.h    Wed Feb 14 02:41:12 2001
  4189. ***************
  4190. *** 0 ****
  4191. --- 1,183 ----
  4192. + #ifndef _LVO_GRAPHICS_LIB_H
  4193. + #define _LVO_GRAPHICS_LIB_H
  4194. + /*
  4195. +  *  $VER: graphics_lvolib.h (08/03/97)
  4196. +  *
  4197. +  */
  4198. + #define    LVO_BltBitMap    (-0x1E)
  4199. + #define    LVO_BltTemplate    (-0x24)
  4200. + #define    LVO_ClearEOL    (-0x2A)
  4201. + #define    LVO_ClearScreen    (-0x30)
  4202. + #define    LVO_TextLength    (-0x36)
  4203. + #define    LVO_Text    (-0x3C)
  4204. + #define    LVO_SetFont    (-0x42)
  4205. + #define    LVO_OpenFont    (-0x48)
  4206. + #define    LVO_CloseFont    (-0x4E)
  4207. + #define    LVO_AskSoftStyle    (-0x54)
  4208. + #define    LVO_SetSoftStyle    (-0x5A)
  4209. + #define    LVO_AddBob    (-0x60)
  4210. + #define    LVO_AddVSprite    (-0x66)
  4211. + #define    LVO_DoCollision    (-0x6C)
  4212. + #define    LVO_DrawGList    (-0x72)
  4213. + #define    LVO_InitGels    (-0x78)
  4214. + #define    LVO_InitMasks    (-0x7E)
  4215. + #define    LVO_RemIBob    (-0x84)
  4216. + #define    LVO_RemVSprite    (-0x8A)
  4217. + #define    LVO_SetCollision    (-0x90)
  4218. + #define    LVO_SortGList    (-0x96)
  4219. + #define    LVO_AddAnimOb    (-0x9C)
  4220. + #define    LVO_Animate    (-0xA2)
  4221. + #define    LVO_GetGBuffers    (-0xA8)
  4222. + #define    LVO_InitGMasks    (-0xAE)
  4223. + #define    LVO_DrawEllipse    (-0xB4)
  4224. + #define    LVO_AreaEllipse    (-0xBA)
  4225. + #define    LVO_LoadRGB4    (-0xC0)
  4226. + #define    LVO_InitRastPort    (-0xC6)
  4227. + #define    LVO_InitVPort    (-0xCC)
  4228. + #define    LVO_MrgCop    (-0xD2)
  4229. + #define    LVO_MakeVPort    (-0xD8)
  4230. + #define    LVO_LoadView    (-0xDE)
  4231. + #define    LVO_WaitBlit    (-0xE4)
  4232. + #define    LVO_SetRast    (-0xEA)
  4233. + #define    LVO_Move    (-0xF0)
  4234. + #define    LVO_Draw    (-0xF6)
  4235. + #define    LVO_AreaMove    (-0xFC)
  4236. + #define    LVO_AreaDraw    (-0x102)
  4237. + #define    LVO_AreaEnd    (-0x108)
  4238. + #define    LVO_WaitTOF    (-0x10E)
  4239. + #define    LVO_QBlit    (-0x114)
  4240. + #define    LVO_InitArea    (-0x11A)
  4241. + #define    LVO_SetRGB4    (-0x120)
  4242. + #define    LVO_QBSBlit    (-0x126)
  4243. + #define    LVO_BltClear    (-0x12C)
  4244. + #define    LVO_RectFill    (-0x132)
  4245. + #define    LVO_BltPattern    (-0x138)
  4246. + #define    LVO_ReadPixel    (-0x13E)
  4247. + #define    LVO_WritePixel    (-0x144)
  4248. + #define    LVO_Flood    (-0x14A)
  4249. + #define    LVO_PolyDraw    (-0x150)
  4250. + #define    LVO_SetAPen    (-0x156)
  4251. + #define    LVO_SetBPen    (-0x15C)
  4252. + #define    LVO_SetDrMd    (-0x162)
  4253. + #define    LVO_InitView    (-0x168)
  4254. + #define    LVO_CBump    (-0x16E)
  4255. + #define    LVO_CMove    (-0x174)
  4256. + #define    LVO_CWait    (-0x17A)
  4257. + #define    LVO_VBeamPos    (-0x180)
  4258. + #define    LVO_InitBitMap    (-0x186)
  4259. + #define    LVO_ScrollRaster    (-0x18C)
  4260. + #define    LVO_WaitBOVP    (-0x192)
  4261. + #define    LVO_GetSprite    (-0x198)
  4262. + #define    LVO_FreeSprite    (-0x19E)
  4263. + #define    LVO_ChangeSprite    (-0x1A4)
  4264. + #define    LVO_MoveSprite    (-0x1AA)
  4265. + #define    LVO_LockLayerRom    (-0x1B0)
  4266. + #define    LVO_UnlockLayerRom    (-0x1B6)
  4267. + #define    LVO_SyncSBitMap    (-0x1BC)
  4268. + #define    LVO_CopySBitMap    (-0x1C2)
  4269. + #define    LVO_OwnBlitter    (-0x1C8)
  4270. + #define    LVO_DisownBlitter    (-0x1CE)
  4271. + #define    LVO_InitTmpRas    (-0x1D4)
  4272. + #define    LVO_AskFont    (-0x1DA)
  4273. + #define    LVO_AddFont    (-0x1E0)
  4274. + #define    LVO_RemFont    (-0x1E6)
  4275. + #define    LVO_AllocRaster    (-0x1EC)
  4276. + #define    LVO_FreeRaster    (-0x1F2)
  4277. + #define    LVO_AndRectRegion    (-0x1F8)
  4278. + #define    LVO_OrRectRegion    (-0x1FE)
  4279. + #define    LVO_NewRegion    (-0x204)
  4280. + #define    LVO_ClearRectRegion    (-0x20A)
  4281. + #define    LVO_ClearRegion    (-0x210)
  4282. + #define    LVO_DisposeRegion    (-0x216)
  4283. + #define    LVO_FreeVPortCopLists    (-0x21C)
  4284. + #define    LVO_FreeCopList    (-0x222)
  4285. + #define    LVO_ClipBlit    (-0x228)
  4286. + #define    LVO_XorRectRegion    (-0x22E)
  4287. + #define    LVO_FreeCprList    (-0x234)
  4288. + #define    LVO_GetColorMap    (-0x23A)
  4289. + #define    LVO_FreeColorMap    (-0x240)
  4290. + #define    LVO_GetRGB4    (-0x246)
  4291. + #define    LVO_ScrollVPort    (-0x24C)
  4292. + #define    LVO_UCopperListInit    (-0x252)
  4293. + #define    LVO_FreeGBuffers    (-0x258)
  4294. + #define    LVO_BltBitMapRastPort    (-0x25E)
  4295. + #define    LVO_OrRegionRegion    (-0x264)
  4296. + #define    LVO_XorRegionRegion    (-0x26A)
  4297. + #define    LVO_AndRegionRegion    (-0x270)
  4298. + #define    LVO_SetRGB4CM    (-0x276)
  4299. + #define    LVO_BltMaskBitMapRastPort    (-0x27C)
  4300. + #define    LVO_graphicsPrivate1    (-0x282)
  4301. + #define    LVO_graphicsPrivate2    (-0x288)
  4302. + #define    LVO_AttemptLockLayerRom    (-0x28E)
  4303. + #define    LVO_GfxNew    (-0x294)
  4304. + #define    LVO_GfxFree    (-0x29A)
  4305. + #define    LVO_GfxAssociate    (-0x2A0)
  4306. + #define    LVO_BitMapScale    (-0x2A6)
  4307. + #define    LVO_ScalerDiv    (-0x2AC)
  4308. + #define    LVO_TextExtent    (-0x2B2)
  4309. + #define    LVO_TextFit    (-0x2B8)
  4310. + #define    LVO_GfxLookUp    (-0x2BE)
  4311. + #define    LVO_VideoControl    (-0x2C4)
  4312. + #define    LVO_OpenMonitor    (-0x2CA)
  4313. + #define    LVO_CloseMonitor    (-0x2D0)
  4314. + #define    LVO_FindDisplayInfo    (-0x2D6)
  4315. + #define    LVO_NextDisplayInfo    (-0x2DC)
  4316. + #define    LVO_graphicsPrivate3    (-0x2E2)
  4317. + #define    LVO_graphicsPrivate4    (-0x2E8)
  4318. + #define    LVO_graphicsPrivate5    (-0x2EE)
  4319. + #define    LVO_GetDisplayInfoData    (-0x2F4)
  4320. + #define    LVO_FontExtent    (-0x2FA)
  4321. + #define    LVO_ReadPixelLine8    (-0x300)
  4322. + #define    LVO_WritePixelLine8    (-0x306)
  4323. + #define    LVO_ReadPixelArray8    (-0x30C)
  4324. + #define    LVO_WritePixelArray8    (-0x312)
  4325. + #define    LVO_GetVPModeID    (-0x318)
  4326. + #define    LVO_ModeNotAvailable    (-0x31E)
  4327. + #define    LVO_WeighTAMatch    (-0x324)
  4328. + #define    LVO_EraseRect    (-0x32A)
  4329. + #define    LVO_ExtendFont    (-0x330)
  4330. + #define    LVO_StripFont    (-0x336)
  4331. + #define    LVO_CalcIVG    (-0x33C)
  4332. + #define    LVO_AttachPalExtra    (-0x342)
  4333. + #define    LVO_ObtainBestPenA    (-0x348)
  4334. + #define    LVO_graphicsPrivate6    (-0x34E)
  4335. + #define    LVO_SetRGB32    (-0x354)
  4336. + #define    LVO_GetAPen    (-0x35A)
  4337. + #define    LVO_GetBPen    (-0x360)
  4338. + #define    LVO_GetDrMd    (-0x366)
  4339. + #define    LVO_GetOutlinePen    (-0x36C)
  4340. + #define    LVO_LoadRGB32    (-0x372)
  4341. + #define    LVO_SetChipRev    (-0x378)
  4342. + #define    LVO_SetABPenDrMd    (-0x37E)
  4343. + #define    LVO_GetRGB32    (-0x384)
  4344. + #define    LVO_graphicsPrivate7    (-0x38A)
  4345. + #define    LVO_graphicsPrivate8    (-0x390)
  4346. + #define    LVO_AllocBitMap    (-0x396)
  4347. + #define    LVO_FreeBitMap    (-0x39C)
  4348. + #define    LVO_GetExtSpriteA    (-0x3A2)
  4349. + #define    LVO_CoerceMode    (-0x3A8)
  4350. + #define    LVO_ChangeVPBitMap    (-0x3AE)
  4351. + #define    LVO_ReleasePen    (-0x3B4)
  4352. + #define    LVO_ObtainPen    (-0x3BA)
  4353. + #define    LVO_GetBitMapAttr    (-0x3C0)
  4354. + #define    LVO_AllocDBufInfo    (-0x3C6)
  4355. + #define    LVO_FreeDBufInfo    (-0x3CC)
  4356. + #define    LVO_SetOutlinePen    (-0x3D2)
  4357. + #define    LVO_SetWriteMask    (-0x3D8)
  4358. + #define    LVO_SetMaxPen    (-0x3DE)
  4359. + #define    LVO_SetRGB32CM    (-0x3E4)
  4360. + #define    LVO_ScrollRasterBF    (-0x3EA)
  4361. + #define    LVO_FindColor    (-0x3F0)
  4362. + #define    LVO_graphicsPrivate9    (-0x3F6)
  4363. + #define    LVO_AllocSpriteDataA    (-0x3FC)
  4364. + #define    LVO_ChangeExtSpriteA    (-0x402)
  4365. + #define    LVO_FreeSpriteData    (-0x408)
  4366. + #define    LVO_SetRPAttrsA    (-0x40E)
  4367. + #define    LVO_GetRPAttrsA    (-0x414)
  4368. + #define    LVO_BestModeIDA    (-0x41A)
  4369. + #define    LVO_WriteChunkyPixels    (-0x420)
  4370. + #endif
  4371. diff -c2 -d -P -r include_h/lvo/mathieeedoubbas_lvo.h includenew/lvo/mathieeedoubbas_lvo.h
  4372. *** include_h/lvo/mathieeedoubbas_lvo.h    Thu Jan  1 00:00:00 1970
  4373. --- includenew/lvo/mathieeedoubbas_lvo.h    Wed Feb 14 02:41:12 2001
  4374. ***************
  4375. *** 0 ****
  4376. --- 1,23 ----
  4377. + #ifndef _LVO_MATHIEEEDOUBBAS_LIB_H
  4378. + #define _LVO_MATHIEEEDOUBBAS_LIB_H
  4379. + /*
  4380. +  *  $VER: mathieeedoubbas_lvolib.h (08/03/97)
  4381. +  *
  4382. +  */
  4383. + #define    LVO_IEEEDPFix    (-0x1E)
  4384. + #define    LVO_IEEEDPFlt    (-0x24)
  4385. + #define    LVO_IEEEDPCmp    (-0x2A)
  4386. + #define    LVO_IEEEDPTst    (-0x30)
  4387. + #define    LVO_IEEEDPAbs    (-0x36)
  4388. + #define    LVO_IEEEDPNeg    (-0x3C)
  4389. + #define    LVO_IEEEDPAdd    (-0x42)
  4390. + #define    LVO_IEEEDPSub    (-0x48)
  4391. + #define    LVO_IEEEDPMul    (-0x4E)
  4392. + #define    LVO_IEEEDPDiv    (-0x54)
  4393. + #define    LVO_IEEEDPFloor    (-0x5A)
  4394. + #define    LVO_IEEEDPCeil    (-0x60)
  4395. + #endif
  4396. diff -c2 -d -P -r include_h/lvo/mathieeedoubtrans_lvo.h includenew/lvo/mathieeedoubtrans_lvo.h
  4397. *** include_h/lvo/mathieeedoubtrans_lvo.h    Thu Jan  1 00:00:00 1970
  4398. --- includenew/lvo/mathieeedoubtrans_lvo.h    Wed Feb 14 02:41:12 2001
  4399. ***************
  4400. *** 0 ****
  4401. --- 1,28 ----
  4402. + #ifndef _LVO_MATHIEEEDOUBTRANS_LIB_H
  4403. + #define _LVO_MATHIEEEDOUBTRANS_LIB_H
  4404. + /*
  4405. +  *  $VER: mathieeedoubtrans_lvolib.h (08/03/97)
  4406. +  *
  4407. +  */
  4408. + #define    LVO_IEEEDPAtan    (-0x1E)
  4409. + #define    LVO_IEEEDPSin    (-0x24)
  4410. + #define    LVO_IEEEDPCos    (-0x2A)
  4411. + #define    LVO_IEEEDPTan    (-0x30)
  4412. + #define    LVO_IEEEDPSincos    (-0x36)
  4413. + #define    LVO_IEEEDPSinh    (-0x3C)
  4414. + #define    LVO_IEEEDPCosh    (-0x42)
  4415. + #define    LVO_IEEEDPTanh    (-0x48)
  4416. + #define    LVO_IEEEDPExp    (-0x4E)
  4417. + #define    LVO_IEEEDPLog    (-0x54)
  4418. + #define    LVO_IEEEDPPow    (-0x5A)
  4419. + #define    LVO_IEEEDPSqrt    (-0x60)
  4420. + #define    LVO_IEEEDPTieee    (-0x66)
  4421. + #define    LVO_IEEEDPFieee    (-0x6C)
  4422. + #define    LVO_IEEEDPAsin    (-0x72)
  4423. + #define    LVO_IEEEDPAcos    (-0x78)
  4424. + #define    LVO_IEEEDPLog10    (-0x7E)
  4425. + #endif
  4426. diff -c2 -d -P -r include_h/lvo/mathieeesingbas_lvo.h includenew/lvo/mathieeesingbas_lvo.h
  4427. *** include_h/lvo/mathieeesingbas_lvo.h    Thu Jan  1 00:00:00 1970
  4428. --- includenew/lvo/mathieeesingbas_lvo.h    Wed Feb 14 02:41:12 2001
  4429. ***************
  4430. *** 0 ****
  4431. --- 1,23 ----
  4432. + #ifndef _LVO_MATHIEEESINGBAS_LIB_H
  4433. + #define _LVO_MATHIEEESINGBAS_LIB_H
  4434. + /*
  4435. +  *  $VER: mathieeesingbas_lvolib.h (08/03/97)
  4436. +  *
  4437. +  */
  4438. + #define    LVO_IEEESPFix    (-0x1E)
  4439. + #define    LVO_IEEESPFlt    (-0x24)
  4440. + #define    LVO_IEEESPCmp    (-0x2A)
  4441. + #define    LVO_IEEESPTst    (-0x30)
  4442. + #define    LVO_IEEESPAbs    (-0x36)
  4443. + #define    LVO_IEEESPNeg    (-0x3C)
  4444. + #define    LVO_IEEESPAdd    (-0x42)
  4445. + #define    LVO_IEEESPSub    (-0x48)
  4446. + #define    LVO_IEEESPMul    (-0x4E)
  4447. + #define    LVO_IEEESPDiv    (-0x54)
  4448. + #define    LVO_IEEESPFloor    (-0x5A)
  4449. + #define    LVO_IEEESPCeil    (-0x60)
  4450. + #endif
  4451. diff -c2 -d -P -r include_h/lvo/mathieeesingtrans_lvo.h includenew/lvo/mathieeesingtrans_lvo.h
  4452. *** include_h/lvo/mathieeesingtrans_lvo.h    Thu Jan  1 00:00:00 1970
  4453. --- includenew/lvo/mathieeesingtrans_lvo.h    Wed Feb 14 02:41:12 2001
  4454. ***************
  4455. *** 0 ****
  4456. --- 1,28 ----
  4457. + #ifndef _LVO_MATHIEEESINGTRANS_LIB_H
  4458. + #define _LVO_MATHIEEESINGTRANS_LIB_H
  4459. + /*
  4460. +  *  $VER: mathieeesingtrans_lvolib.h (08/03/97)
  4461. +  *
  4462. +  */
  4463. + #define    LVO_IEEESPAtan    (-0x1E)
  4464. + #define    LVO_IEEESPSin    (-0x24)
  4465. + #define    LVO_IEEESPCos    (-0x2A)
  4466. + #define    LVO_IEEESPTan    (-0x30)
  4467. + #define    LVO_IEEESPSincos    (-0x36)
  4468. + #define    LVO_IEEESPSinh    (-0x3C)
  4469. + #define    LVO_IEEESPCosh    (-0x42)
  4470. + #define    LVO_IEEESPTanh    (-0x48)
  4471. + #define    LVO_IEEESPExp    (-0x4E)
  4472. + #define    LVO_IEEESPLog    (-0x54)
  4473. + #define    LVO_IEEESPPow    (-0x5A)
  4474. + #define    LVO_IEEESPSqrt    (-0x60)
  4475. + #define    LVO_IEEESPTieee    (-0x66)
  4476. + #define    LVO_IEEESPFieee    (-0x6C)
  4477. + #define    LVO_IEEESPAsin    (-0x72)
  4478. + #define    LVO_IEEESPAcos    (-0x78)
  4479. + #define    LVO_IEEESPLog10    (-0x7E)
  4480. + #endif
  4481. diff -c2 -d -P -r include_h/lvo/mathtrans_lvo.h includenew/lvo/mathtrans_lvo.h
  4482. *** include_h/lvo/mathtrans_lvo.h    Thu Jan  1 00:00:00 1970
  4483. --- includenew/lvo/mathtrans_lvo.h    Wed Feb 14 02:41:12 2001
  4484. ***************
  4485. *** 0 ****
  4486. --- 1,28 ----
  4487. + #ifndef _LVO_MATHTRANS_LIB_H
  4488. + #define _LVO_MATHTRANS_LIB_H
  4489. + /*
  4490. +  *  $VER: mathtrans_lvolib.h (08/03/97)
  4491. +  *
  4492. +  */
  4493. + #define    LVO_SPAtan    (-0x1E)
  4494. + #define    LVO_SPSin    (-0x24)
  4495. + #define    LVO_SPCos    (-0x2A)
  4496. + #define    LVO_SPTan    (-0x30)
  4497. + #define    LVO_SPSincos    (-0x36)
  4498. + #define    LVO_SPSinh    (-0x3C)
  4499. + #define    LVO_SPCosh    (-0x42)
  4500. + #define    LVO_SPTanh    (-0x48)
  4501. + #define    LVO_SPExp    (-0x4E)
  4502. + #define    LVO_SPLog    (-0x54)
  4503. + #define    LVO_SPPow    (-0x5A)
  4504. + #define    LVO_SPSqrt    (-0x60)
  4505. + #define    LVO_SPTieee    (-0x66)
  4506. + #define    LVO_SPFieee    (-0x6C)
  4507. + #define    LVO_SPAsin    (-0x72)
  4508. + #define    LVO_SPAcos    (-0x78)
  4509. + #define    LVO_SPLog10    (-0x7E)
  4510. + #endif
  4511. diff -c2 -d -P -r include_h/lvo/utility_lvo.h includenew/lvo/utility_lvo.h
  4512. *** include_h/lvo/utility_lvo.h    Thu Jan  1 00:00:00 1970
  4513. --- includenew/lvo/utility_lvo.h    Wed Feb 14 02:41:12 2001
  4514. ***************
  4515. *** 0 ****
  4516. --- 1,49 ----
  4517. + #ifndef _LVO_UTILITY_LIB_H
  4518. + #define _LVO_UTILITY_LIB_H
  4519. + /*
  4520. +  *  $VER: utility_lvolib.h (08/03/97)
  4521. +  *
  4522. +  */
  4523. + #define    LVO_FindTagItem    (-0x1E)
  4524. + #define    LVO_GetTagData    (-0x24)
  4525. + #define    LVO_PackBoolTags    (-0x2A)
  4526. + #define    LVO_NextTagItem    (-0x30)
  4527. + #define    LVO_FilterTagChanges    (-0x36)
  4528. + #define    LVO_MapTags    (-0x3C)
  4529. + #define    LVO_AllocateTagItems    (-0x42)
  4530. + #define    LVO_CloneTagItems    (-0x48)
  4531. + #define    LVO_FreeTagItems    (-0x4E)
  4532. + #define    LVO_RefreshTagItemClones    (-0x54)
  4533. + #define    LVO_TagInArray    (-0x5A)
  4534. + #define    LVO_FilterTagItems    (-0x60)
  4535. + #define    LVO_CallHookPkt    (-0x66)
  4536. + #define    LVO_Amiga2Date    (-0x78)
  4537. + #define    LVO_Date2Amiga    (-0x7E)
  4538. + #define    LVO_CheckDate    (-0x84)
  4539. + #define    LVO_SMult32    (-0x8A)
  4540. + #define    LVO_UMult32    (-0x90)
  4541. + #define    LVO_SDivMod32    (-0x96)
  4542. + #define    LVO_UDivMod32    (-0x9C)
  4543. + #define    LVO_Stricmp    (-0xA2)
  4544. + #define    LVO_Strnicmp    (-0xA8)
  4545. + #define    LVO_ToUpper    (-0xAE)
  4546. + #define    LVO_ToLower    (-0xB4)
  4547. + #define    LVO_ApplyTagChanges    (-0xBA)
  4548. + #define    LVO_SMult64    (-0xC6)
  4549. + #define    LVO_UMult64    (-0xCC)
  4550. + #define    LVO_PackStructureTags    (-0xD2)
  4551. + #define    LVO_UnpackStructureTags    (-0xD8)
  4552. + #define    LVO_AddNamedObject    (-0xDE)
  4553. + #define    LVO_AllocNamedObjectA    (-0xE4)
  4554. + #define    LVO_AttemptRemNamedObject    (-0xEA)
  4555. + #define    LVO_FindNamedObject    (-0xF0)
  4556. + #define    LVO_FreeNamedObject    (-0xF6)
  4557. + #define    LVO_NamedObjectName    (-0xFC)
  4558. + #define    LVO_ReleaseNamedObject    (-0x102)
  4559. + #define    LVO_RemNamedObject    (-0x108)
  4560. + #define    LVO_GetUniqueID    (-0x10E)
  4561. + #endif
  4562. diff -c2 -d -P -r include_h/powerup/clib/ppc_protos.h includenew/powerup/clib/ppc_protos.h
  4563. *** include_h/powerup/clib/ppc_protos.h    Thu Jan  1 00:00:00 1970
  4564. --- includenew/powerup/clib/ppc_protos.h    Wed Feb 14 02:41:13 2001
  4565. ***************
  4566. *** 0 ****
  4567. --- 1,131 ----
  4568. + #ifndef POWERUP_PPCLIB_PROTOS_H
  4569. + #define POWERUP_PPCLIB_PROTOS_H
  4570. + void*    PPCLoadObject(char*);
  4571. + void    PPCUnLoadObject(void*);
  4572. + ULONG    PPCRunObject(void*,void*);
  4573. + void*    PPCAllocMem(ULONG,ULONG);
  4574. + void    PPCFreeMem(void*,ULONG);
  4575. + void*    PPCAllocVec(ULONG,ULONG);
  4576. + void*    PPCFreeVec(void*);
  4577. + void    *PPCCreateTask(void*,
  4578. +                         struct TagItem*);
  4579. + void    *PPCCreateTaskTags(void*,
  4580. +                             unsigned long tag1Type, ... );
  4581. + BOOL    PPCDeleteTask(void*);
  4582. + void    PPCSignalTask(void*,ULONG);
  4583. + void    *PPCFindTask(char    *);
  4584. + ULONG    PPCRunKernelObject(void*,
  4585. +                             struct ModuleArgs*);
  4586. + DOUBLE    PPCRunKernelObjectFPU(void*,
  4587. +                                struct ModuleArgs*);
  4588. + ULONG    PPCGetTaskAttrs(void*,
  4589. +                          struct TagItem*);
  4590. + ULONG    PPCGetTaskAttrsTags(void*,
  4591. +                              unsigned long tag1Type,
  4592. +                              ...);
  4593. + ULONG    PPCGetAttrs(struct TagItem*);
  4594. + ULONG    PPCGetAttrsTags(unsigned long tag1Type,
  4595. +                          ...);
  4596. + void    *PPCFindTaskObject(void*);
  4597. + ULONG    PPCReadLong(ULONG*);
  4598. + void    PPCWriteLong(ULONG*,ULONG);
  4599. + BOOL    PPCStartTask(void*,
  4600. +                       struct TagItem*);
  4601. + BOOL    PPCStartTaskTags(void*,
  4602. +                           unsigned long tag1Type, ... );
  4603. + BOOL    PPCStopTask(void*,
  4604. +                      struct TagItem*);
  4605. + BOOL    PPCStopTaskTags(void*,
  4606. +                          unsigned long tag1Type, ... );
  4607. + ULONG    PPCSetTaskAttrs(void*,
  4608. +                          struct TagItem*);
  4609. + ULONG    PPCSetTaskAttrsTags(void*,
  4610. +                              unsigned long tag1Type,
  4611. +                              ...);
  4612. + ULONG    PPCGetObjectAttrs(void*,
  4613. +                            struct PPCObjectInfo*,
  4614. +                            struct TagItem*);
  4615. + ULONG    PPCGetObjectAttrsTags(void*,
  4616. +                                struct PPCObjectInfo*,
  4617. +                                unsigned long tag1Type,
  4618. +                                ... );
  4619. + void    PPCWriteLongFlush(ULONG*,ULONG);
  4620. + UWORD    PPCReadWord(UWORD*);
  4621. + void    PPCWriteWord(UWORD*,UWORD);
  4622. + UBYTE    PPCReadByte(UBYTE*);
  4623. + void    PPCWriteByte(UBYTE*,UBYTE);
  4624. + void*    PPCCreatePool(ULONG        MemFlags,
  4625. +                        ULONG        PuddleSize,
  4626. +                        ULONG        ThreshSize);
  4627. + BOOL    PPCDeletePool(void*);
  4628. + void*    PPCAllocPooled(void*,
  4629. +                         ULONG);
  4630. + void    PPCFreePooled(void*,
  4631. +                        void*,
  4632. +                        ULONG);
  4633. + void    PPCFreeVecPooled(void*,
  4634. +                           void*);
  4635. + void*    PPCAllocVecPooled(void*,
  4636. +                            ULONG);
  4637. + void*    PPCCreatePort(struct TagItem*);
  4638. + void*    PPCCreatePortTags(unsigned long tag1Type, ... );
  4639. + BOOL    PPCDeletePort(void*);
  4640. + void*    PPCObtainPort(struct TagItem*);
  4641. + void*    PPCObtainPortTags(unsigned long tag1Type, ... );
  4642. + BOOL    PPCReleasePort(void*);
  4643. + void*    PPCCreateMessage(void*,
  4644. +                           ULONG);
  4645. + void    PPCDeleteMessage(void*);
  4646. + ULONG    PPCGetMessageAttr(void*,
  4647. +                            ULONG);
  4648. + void*    PPCGetMessage(void*);
  4649. + BOOL    PPCReplyMessage(void*);
  4650. + BOOL    PPCSendMessage(void*,
  4651. +                         void*,
  4652. +                         void*,
  4653. +                         ULONG,
  4654. +                         ULONG);
  4655. + void*    PPCWaitPort(void*);
  4656. + void    PPCCacheClearE(void*,
  4657. +                         ULONG,
  4658. +                         ULONG);
  4659. + void    PPCCacheInvalidE(void*,
  4660. +                           ULONG,
  4661. +                           ULONG);
  4662. + void*    PPCCreatePortList(void**,ULONG);
  4663. + void    PPCDeletePortList(void*);
  4664. + BOOL    PPCAddPortList(void*,
  4665. +                         void*);
  4666. + void    PPCRemPortList(void*,
  4667. +                         void*);
  4668. + void*    PPCWaitPortList(void*);
  4669. + ULONG    PPCGetPortListAttr(void*,
  4670. +                             ULONG);
  4671. + void    PPCSetPortListAttr(void*,
  4672. +                             ULONG,
  4673. +                             ULONG);
  4674. + void*    PPCLoadObjectTags(unsigned long tag1Type, ... );
  4675. + void*    PPCLoadObjectTagList(struct TagItem*);
  4676. + BOOL    PPCSetAttrs(struct TagItem*);
  4677. + BOOL    PPCSetAttrsTags(unsigned long tag1Type, ... );
  4678. + void    PPCCacheTrashE(void*,
  4679. +                         ULONG,
  4680. +                         ULONG);
  4681. + #endif
  4682. diff -c2 -d -P -r include_h/powerup/clib/ppcdiss_protos.h includenew/powerup/clib/ppcdiss_protos.h
  4683. *** include_h/powerup/clib/ppcdiss_protos.h    Thu Jan  1 00:00:00 1970
  4684. --- includenew/powerup/clib/ppcdiss_protos.h    Wed Feb 14 02:41:13 2001
  4685. ***************
  4686. *** 0 ****
  4687. --- 1,15 ----
  4688. + #ifndef POWERUP_PPCLIB_PPCDISS_PROTOS_H
  4689. + #define POWERUP_PPCLIB_PPCDISS_PROTOS_H
  4690. + APTR    CreateDisAssHandleTagList(struct  TagItem *);
  4691. + void    DeleteDisAssHandle(APTR);
  4692. + ULONG    DisAssTagList(APTR,
  4693. +                       struct TagItem *);
  4694. + #ifdef __SASC_60
  4695. + APTR    CreateDisAssHandleTags(Tag, ...);
  4696. + ULONG    DisAssTags(APTR,
  4697. +                    Tag, ...);
  4698. + #endif
  4699. + #endif
  4700. diff -c2 -d -P -r include_h/powerup/fd/ppc_lib.fd includenew/powerup/fd/ppc_lib.fd
  4701. *** include_h/powerup/fd/ppc_lib.fd    Thu Jan  1 00:00:00 1970
  4702. --- includenew/powerup/fd/ppc_lib.fd    Wed Feb 14 02:41:13 2001
  4703. ***************
  4704. *** 0 ****
  4705. --- 1,92 ----
  4706. + * "ppc.library"
  4707. + ##base _PPCLibBase
  4708. + ##bias 30
  4709. + ##public
  4710. + PPCLoadObject(Name)(a0)
  4711. + PPCUnLoadObject(Object)(a0)
  4712. + PPCRunObject(ElfObject,Argument)(a0/a1)
  4713. + PPCAllocMem(size,attributes)(d0/d1)
  4714. + PPCFreeMem(Memory,size)(a1,d0)
  4715. + PPCAllocVec(byteSize,attributes)(d0/d1)
  4716. + PPCFreeVec(memoryBlock)(a1)
  4717. + ##private
  4718. + PPCPrivate0()()
  4719. + PPCPrivate0a()()
  4720. + ##public
  4721. + PPCCreateTask(ElfObject,Tags)(a0/a1)
  4722. + PPCDeleteTask(TaskObject)(a0)
  4723. + PPCSignalTask(TaskObject,SignalMask)(a0,d0)
  4724. + PPCFindTask(Name)(a0)
  4725. + ##private
  4726. + PPCPrivate1()()
  4727. + ##public
  4728. + PPCRunKernelObject(a,b)(a0/a1)
  4729. + ##private
  4730. + PPCPrivate2()()
  4731. + PPCPrivate3()()
  4732. + ##public
  4733. + PPCGetTaskAttrs(TaskObject,Tags)(a0/a1)
  4734. + PPCGetAttrs(Tags)(a0)
  4735. + PPCFindTaskObject(TaskObject)(a0)
  4736. + PPCRunKernelObjectFPU()()
  4737. + PPCReadLong(Address)(a0)
  4738. + PPCWriteLong(Address,Value)(a0,d0)
  4739. + ##private
  4740. + PPCPrivate4()()
  4741. + PPCPrivate5()()
  4742. + ##public
  4743. + PPCStartTask(TaskObject,Tags)(a0/a1)
  4744. + PPCStopTask(TaskObject,Tags)(a0/a1)
  4745. + PPCSetTaskAttrs(TaskObject,Tags)(a0/a1)
  4746. + PPCGetObjectAttrs(ElfObject,PPCObjectInfo,Tags)(a0/a1/a2)
  4747. + PPCWriteLongFlush(Address,Value)(a0,d0)
  4748. + PPCReadWord(Address)(a0)    
  4749. + PPCWriteWord(Address,Value)(a0,d0)
  4750. + PPCReadByte(Address)(a0)
  4751. + PPCWriteByte(Address,Value)(a0,d0)
  4752. + PPCCreatePool(memFlags,puddleSize,threshSize)(d0/d1/d2)
  4753. + PPCDeletePool(poolHeader)(a0)
  4754. + PPCAllocPooled(poolHeader,memSize)(a0,d0)
  4755. + PPCFreePooled(poolHeader,memory,memSize)(a0/a1,d0)
  4756. + PPCAllocVecPooled(Pool,byteSize)(a0,d0)
  4757. + PPCFreeVecPooled(Pool,memoryBlock)(a0/a1)
  4758. + PPCCreatePort(Tags)(a0)
  4759. + PPCDeletePort(PPCPort)(a0)
  4760. + PPCObtainPort(Tags)(a0)
  4761. + PPCReleasePort(PPCPort)(a0)
  4762. + PPCCreateMessage(PPCPort,Length)(a0,d0)
  4763. + PPCDeleteMessage(PPCMessage)(a0)
  4764. + PPCGetMessageAttr(PPCMessage,Attr)(a0,d0)
  4765. + PPCGetMessage(PPCPort)(a0)
  4766. + ##private
  4767. + PPCPrivate6()()
  4768. + ##public
  4769. + PPCReplyMessage(PPCMessage)(a0)
  4770. + PPCSendMessage(PPCPort,PPCMessage,Data,Length,MsgID)(a0/a1/a2,d0/d1)
  4771. + PPCWaitPort(PPCPort)(a0)
  4772. + PPCCacheClearE(address,length,caches)(a0,d0/d1)
  4773. + PPCCacheInvalidE(address,length,caches)(a0,d0/d1)
  4774. + ##private
  4775. + PPCPrivate7()()
  4776. + PPCPrivate8()()
  4777. + ##public
  4778. + PPCCreatePortList(PPCPortArray,ExtSignals)(a0,d0)
  4779. + PPCDeletePortList(PPCPortList)(a0)
  4780. + PPCAddPortList(PPCPortList,PPCPort)(a0/a1)
  4781. + PPCRemPortList(PPCPortList,PPCPort)(a0/a1)
  4782. + PPCWaitPortList(PPCPortList)(a0)
  4783. + PPCGetPortListAttr(PPCPortList,Attr)(a0,d0)
  4784. + PPCSetPortListAttr(PPCPortList,Attr,a)(a0,d0)
  4785. + PPCLoadObjectTagList(Tags)(a0)
  4786. + PPCSetAttrs(Tags)(a0)
  4787. + ##private
  4788. + PPCPrivate9()()
  4789. + PPCPrivate10()()
  4790. + ##public
  4791. + PPCCacheTrashE(address,length,caches)(a0,d0/d1)
  4792. + ##private
  4793. + PPCPrivate11()()
  4794. + PPCPrivate12()()
  4795. + PPCPrivate13()()
  4796. + PPCPrivate14()()
  4797. + ##end
  4798. diff -c2 -d -P -r include_h/powerup/fd/ppcdiss_lib.fd includenew/powerup/fd/ppcdiss_lib.fd
  4799. *** include_h/powerup/fd/ppcdiss_lib.fd    Thu Jan  1 00:00:00 1970
  4800. --- includenew/powerup/fd/ppcdiss_lib.fd    Wed Feb 14 02:41:13 2001
  4801. ***************
  4802. *** 0 ****
  4803. --- 1,7 ----
  4804. + * "ppcdiss.library"
  4805. + ##base _PPCDissLibBase
  4806. + ##bias 30
  4807. + ##public
  4808. + CreateDisAssHandleTagList(Tags)(a0)
  4809. + DeleteDisAssHandle(Handle)(a0)
  4810. + DisAssTagList(Handle,Tags)(a0,a1)
  4811. diff -c2 -d -P -r include_h/powerup/gcclib/PPCKernel.ldfilter includenew/powerup/gcclib/PPCKernel.ldfilter
  4812. *** include_h/powerup/gcclib/PPCKernel.ldfilter    Thu Jan  1 00:00:00 1970
  4813. --- includenew/powerup/gcclib/PPCKernel.ldfilter    Wed Feb 14 02:41:14 2001
  4814. ***************
  4815. *** 0 ****
  4816. --- 1,180 ----
  4817. + PPCAllocMem
  4818. + PPCFreeMem
  4819. + PPCCallOS
  4820. + PPCCallM68k
  4821. + PPCOpen
  4822. + PPCClose
  4823. + PPCRead
  4824. + PPCWrite
  4825. + PPCSeek
  4826. + PPCAllocVec
  4827. + PPCFreeVec
  4828. + PPCFinishTask
  4829. + PPCSignal
  4830. + PPCSignalTask
  4831. + PPCWait
  4832. + PPCFindTask
  4833. + PPCAllocSignal
  4834. + PPCFreeSignal
  4835. + PPCCacheFlush
  4836. + PPCCacheFlushAll
  4837. + PPCCacheInvalid
  4838. + PPCSetSignal
  4839. + PPCRawDoFmt
  4840. + PPCCreatePool
  4841. + PPCDeletePool
  4842. + PPCAllocPooled
  4843. + PPCFreePooled
  4844. + PPCAllocVecPooled
  4845. + PPCFreeVecPooled
  4846. + PPCCreatePort
  4847. + PPCDeletePort
  4848. + PPCObtainPort
  4849. + PPCReleasePort
  4850. + PPCCreateMessage
  4851. + PPCDeleteMessage
  4852. + PPCGetMessageAttr
  4853. + PPCGetMessage
  4854. + PPCReplyMessage
  4855. + PPCSendMessage
  4856. + PPCWaitPort
  4857. + PPCCreatePortList
  4858. + PPCDeletePortList
  4859. + PPCAddPortList
  4860. + PPCRemPortList
  4861. + PPCWaitPortList
  4862. + PPCGetPortListAttr
  4863. + PPCSetPortListAttr
  4864. + PPCNewList
  4865. + PPCAddHead
  4866. + PPCInsert
  4867. + PPCAddTail
  4868. + PPCRemove
  4869. + PPCRemHead
  4870. + PPCRemTail
  4871. + PPCEnqueue
  4872. + PPCFindName
  4873. + PPCAddHeadSync
  4874. + PPCInsertSync
  4875. + PPCAddTailSync
  4876. + PPCRemoveSync
  4877. + PPCRemHeadSync
  4878. + PPCRemTailSync
  4879. + PPCEnqueueSync
  4880. + PPCFindNameSync
  4881. + PPCNextTagItem
  4882. + PPCFindTagItem
  4883. + PPCGetTagData
  4884. + PPCVersion
  4885. + PPCRevision
  4886. + PPCReleaseSemaphore
  4887. + PPCObtainSemaphore
  4888. + PPCAttemptSemaphore
  4889. + PPCAttemptSemaphoreShared
  4890. + PPCObtainSemaphoreShared
  4891. + PPCCreateSemaphore
  4892. + PPCDeleteSemaphore
  4893. + PPCObtainSemaphoreByName
  4894. + PPCObtainSemaphoreSharedByName
  4895. + PPCAttemptSemaphoreByName
  4896. + PPCAttemptSemaphoreSharedByName
  4897. + PPCGetTaskAttr
  4898. + PPCSetTaskAttr
  4899. + PPCGetAttr
  4900. + PPCAdd64
  4901. + PPCAdd64p
  4902. + PPCSub64
  4903. + PPCSub64p
  4904. + PPCNeg64
  4905. + PPCNeg64p
  4906. + PPCCmp64
  4907. + PPCCmp64p
  4908. + PPCMulu64
  4909. + PPCMulu64p
  4910. + PPCMuls64
  4911. + PPCMuls64p
  4912. + PPCDivu64
  4913. + PPCDivu64p
  4914. + PPCDivs64
  4915. + PPCDivs64p
  4916. + PPCModu64
  4917. + PPCModu64p
  4918. + PPCMods64
  4919. + PPCMods64p
  4920. + PPCLsl64
  4921. + PPCLsl64p
  4922. + PPCLsr64
  4923. + PPCLsr64p
  4924. + PPCAsl64
  4925. + PPCAsl64p
  4926. + PPCAsr64
  4927. + PPCAsr64p
  4928. + PPCOr64
  4929. + PPCOr64p
  4930. + PPCXor64
  4931. + PPCXor64p
  4932. + PPCAnd64
  4933. + PPCAnd64p
  4934. + PPCDivRem64
  4935. + PPCDivRem64p
  4936. + PPCReadByte
  4937. + PPCReadWord
  4938. + PPCReadLong
  4939. + PPCWriteByte
  4940. + PPCWriteWord
  4941. + PPCWriteLong
  4942. + PPCCoerceMethodA
  4943. + PPCDoMethodA
  4944. + PPCDoSuperMethodA
  4945. + PPCkprintf
  4946. + PPCsprintf
  4947. + PPCprintf
  4948. + PPCfprintf
  4949. + PPCvkprintf
  4950. + PPCvsprintf
  4951. + PPCvprintf
  4952. + PPCvfprintf
  4953. + PPCCreateTask
  4954. + PPCOpenLibrary
  4955. + PPCCloseLibrary
  4956. + PPCGetLibSymbol
  4957. + PPCLoadObjectTagList
  4958. + PPCLoadObject
  4959. + PPCUnLoadObject
  4960. + PPCGetObjectAttrs
  4961. + PPCCreateTimerObject
  4962. + PPCDeleteTimerObject
  4963. + PPCSetTimerObject
  4964. + PPCGetTimerObject
  4965. + PPCOutput
  4966. + PPCInput
  4967. + strlen
  4968. + strcpy
  4969. + strcmp
  4970. + memcpy
  4971. + __adddi3
  4972. + __subdi3
  4973. + __negdi2
  4974. + __muldi3
  4975. + __lmulq
  4976. + __umoddi3
  4977. + __moddi3
  4978. + __udivdi3
  4979. + __divdi3
  4980. + __qdivrem
  4981. + __ashrdi3
  4982. + __ashldi3
  4983. + __lshldi3
  4984. + __lshrdi3
  4985. + __iordi3
  4986. + __anddi3
  4987. + __xordi3
  4988. + __cmpdi2
  4989. + __fixdfdi
  4990. + __fixsfdi
  4991. + __fixunsdfdi
  4992. + __fixunssfdi
  4993. + __floatdidf
  4994. + __floatdisf
  4995. + __floatunsdidf
  4996. + __ucmpdi2
  4997. diff -c2 -d -P -r include_h/powerup/gcclib/PPCKernel.ldfilter.txt includenew/powerup/gcclib/PPCKernel.ldfilter.txt
  4998. *** include_h/powerup/gcclib/PPCKernel.ldfilter.txt    Thu Jan  1 00:00:00 1970
  4999. --- includenew/powerup/gcclib/PPCKernel.ldfilter.txt    Wed Feb 14 02:41:14 2001
  5000. ***************
  5001. *** 0 ****
  5002. --- 1,2 ----
  5003. + use LD with this option
  5004. +     -retain-symbols-file ../../include/powerup/gcclib/PPCKernel.ldfilter
  5005. diff -c2 -d -P -r include_h/powerup/gcclib/powerup_protos.h includenew/powerup/gcclib/powerup_protos.h
  5006. *** include_h/powerup/gcclib/powerup_protos.h    Thu Jan  1 00:00:00 1970
  5007. --- includenew/powerup/gcclib/powerup_protos.h    Wed Feb 14 02:41:14 2001
  5008. ***************
  5009. *** 0 ****
  5010. --- 1,326 ----
  5011. + #ifndef POWERUP_GCCLIB_PROTOS_H
  5012. + #define POWERUP_GCCLIB_PROTOS_H
  5013. + #include <dos/dos.h>
  5014. + #include <powerup/ppclib/interface.h>
  5015. + #include <powerup/ppclib/object.h>
  5016. + #include <utility/tagitem.h>
  5017. + #ifndef  INTUITION_CLASSES_H
  5018. + #include <intuition/classes.h>
  5019. + #endif
  5020. + #ifndef  INTUITION_CLASSUSR_H
  5021. + #include <intuition/classusr.h>
  5022. + #endif
  5023. + #include <stdarg.h>
  5024. + APTR    PPCAllocMem( unsigned long byteSize, unsigned long requirements );
  5025. + void    PPCFreeMem( APTR memoryBlock, unsigned long byteSize );
  5026. + APTR    PPCAllocVec( unsigned long byteSize, unsigned long requirements );
  5027. + void    PPCFreeVec( APTR memoryBlock);
  5028. + BPTR    PPCOutput(void);
  5029. + BPTR    PPCInput(void);
  5030. + BPTR    PPCOpen( STRPTR name, long accessMode );
  5031. + LONG    PPCClose( BPTR file );
  5032. + LONG    PPCRead( BPTR file, APTR buffer, long length );
  5033. + LONG    PPCWrite( BPTR file, APTR buffer, long length );
  5034. + LONG    PPCSeek( BPTR file, long position, long offset );
  5035. + APTR    PPCCreatePool( unsigned long requirements, unsigned long puddleSize,
  5036. +     unsigned long threshSize );
  5037. + BOOL    PPCDeletePool( APTR poolHeader );
  5038. + APTR    PPCAllocPooled( APTR poolHeader, unsigned long memSize );
  5039. + void    PPCFreePooled( APTR poolHeader, APTR memory, unsigned long memSize );
  5040. + APTR    PPCAllocVecPooled( APTR poolHeader, unsigned long memSize );
  5041. + void    PPCFreeVecPooled( APTR poolHeader, APTR memory);
  5042. + ULONG    PPCCallOS(struct Caos*);
  5043. + ULONG    PPCCallM68k(struct Caos*);
  5044. + ULONG    PPCSignal(void*,ULONG);
  5045. + ULONG    PPCWait(ULONG);
  5046. + void    *PPCFindTask(char*);
  5047. + ULONG    PPCAllocSignal(ULONG);
  5048. + void    PPCFreeSignal(ULONG);
  5049. + void    PPCCacheFlush(APTR,ULONG);
  5050. + void    PPCCacheFlushAll(void);
  5051. + void    PPCCacheInvalid(APTR,ULONG);
  5052. + ULONG    PPCSetSignal(ULONG,ULONG);
  5053. + void    *PPCCreatePort(struct TagItem*);
  5054. + BOOL    PPCDeletePort(void*);
  5055. + void    *PPCObtainPort(struct TagItem*);
  5056. + BOOL    PPCReleasePort(void*);
  5057. + void    *PPCCreateMessage(void*,
  5058. +                          ULONG);
  5059. + void    PPCDeleteMessage(void*);
  5060. + void    *PPCGetMessage(void*);
  5061. + ULONG    PPCGetMessageAttr(void*,
  5062. +                           ULONG);
  5063. + BOOL    PPCReplyMessage(void*);
  5064. + BOOL    PPCSendMessage(void*,
  5065. +                        void*,
  5066. +                        void*,
  5067. +                        ULONG,
  5068. +                        ULONG);
  5069. + void    *PPCWaitPort(void*);
  5070. + void*    PPCCreatePortList(void**,ULONG);
  5071. + void    PPCDeletePortList(void*);
  5072. + BOOL    PPCAddPortList(void*,
  5073. +                        void*);
  5074. + void    PPCRemPortList(void*,
  5075. +                        void*);
  5076. + void*    PPCWaitPortList(void*);
  5077. + ULONG    PPCGetPortListAttr(void*,
  5078. +                            ULONG);
  5079. + void    PPCSetPortListAttr(void*,
  5080. +                            ULONG,
  5081. +                            ULONG);
  5082. + #if !defined(__SASC)
  5083. + int    strcmp(const char    *,
  5084. +                const char    *);
  5085. + char    *strcpy(char        *,
  5086. +                 const char    *);
  5087. + int    strlen(const char    *);
  5088. + #endif
  5089. + /*
  5090. +  * List functions for not shared and shared lists
  5091. +  *
  5092. +  */
  5093. + void        PPCInsert(struct List    *,
  5094. +                           struct Node    *,
  5095. +                           struct Node    *);
  5096. + void        PPCAddHead(struct List *,
  5097. +                            struct Node *);
  5098. + void        PPCAddTail(struct List *,
  5099. +                            struct Node *);
  5100. + void        PPCRemove(struct Node *);
  5101. + struct Node*    PPCRemHead(struct List *);
  5102. + struct Node*    PPCRemTail(struct List *);
  5103. + void        PPCEnqueue(struct List*,
  5104. +                            struct Node*);
  5105. + struct Node*    PPCFindName(struct List*,
  5106. +                             char*);
  5107. + void        PPCNewList(struct List *);
  5108. + void        PPCInsertSync(struct List    *,
  5109. +                               struct Node    *,
  5110. +                               struct Node    *);
  5111. + void        PPCAddHeadSync(struct List *,
  5112. +                                struct Node *);
  5113. + void        PPCAddTailSync(struct List *,
  5114. +                                struct Node *);
  5115. + void        PPCRemoveSync(struct Node *);
  5116. + struct Node*    PPCRemHeadSync(struct List *);
  5117. + struct Node*    PPCRemTailSync(struct List *);
  5118. + void        PPCEnqueueSync(struct List*,
  5119. +                                struct Node*);
  5120. + struct Node*    PPCFindNameSync(struct List*,
  5121. +                                 char*);
  5122. + struct TagItem*    PPCNextTagItem(struct TagItem**);
  5123. + struct TagItem*    PPCFindTagItem(Tag,
  5124. +                                struct TagItem*);
  5125. + ULONG    PPCGetTagData(Tag,
  5126. +                       ULONG,
  5127. +                       struct TagItem *);
  5128. + ULONG    PPCVersion(void);
  5129. + ULONG    PPCRevision(void);
  5130. + void    PPCReleaseSemaphore(void*);
  5131. + void    PPCObtainSemaphore(void*);
  5132. + LONG    PPCAttemptSemaphore(void*);
  5133. + BOOL    PPCAttemptSemaphoreShared(void*);
  5134. + void    PPCObtainSemaphoreShared(void*);
  5135. + void*    PPCCreateSemaphore(struct TagItem*);
  5136. + void    PPCDeleteSemaphore(void*);
  5137. + void*    PPCObtainSemaphoreByName(char*);
  5138. + void*    PPCAttemptSemaphoreByName(char*,
  5139. +                                   ULONG*);
  5140. + APTR    PPCRawDoFmt(UBYTE*,
  5141. +                     APTR,
  5142. +                     void (*)(),
  5143. +                     APTR);
  5144. + ULONG    PPCGetTaskAttr(ULONG);
  5145. + void    PPCSetTaskAttr(ULONG,
  5146. +                        ULONG);
  5147. + void    PPCFinishTask(void);
  5148. + ULONG    PPCGetAttr(ULONG);
  5149. + UBYTE    PPCReadByte(UBYTE*);
  5150. + UWORD    PPCReadWord(UWORD*);
  5151. + ULONG    PPCReadLong(ULONG*);
  5152. + void    PPCWriteByte(UBYTE*,UBYTE);
  5153. + void    PPCWriteWord(UWORD*,UWORD);
  5154. + void    PPCWriteLong(ULONG*,ULONG);
  5155. + ULONG    PPCCoerceMethodA(struct IClass*,
  5156. +                          Object*,
  5157. +                          Msg);
  5158. + ULONG    PPCDoMethodA(Object*,
  5159. +                      Msg);
  5160. + ULONG    PPCDoSuperMethodA(struct IClass*,
  5161. +                           Object*,
  5162. +                           void*);
  5163. + void    PPCkprintf(const char*,
  5164. +                    ...);
  5165. + int    PPCprintf(const char*,
  5166. +                   ...);
  5167. + int    PPCsprintf(char*,
  5168. +                    const char*,
  5169. +                    ...);
  5170. + void    PPCvkprintf(const char*,
  5171. +                     va_list);
  5172. + int    PPCvprintf(const char*,
  5173. +                    va_list);
  5174. + int    PPCvsprintf(char*,
  5175. +                     const char*,
  5176. +                     va_list);
  5177. + int    PPCfprintf(BPTR,
  5178. +                    const char        *FmtString,
  5179. +                    ...);
  5180. + int    PPCvfprintf(BPTR,
  5181. +                     const char*,
  5182. +                     va_list);
  5183. + void    *PPCCreateTask(void*,
  5184. +                        void*,
  5185. +                        struct TagItem*);
  5186. + void    *PPCOpenLibrary(void*,
  5187. +                         struct TagItem*);
  5188. + void    PPCCloseLibrary(void*);
  5189. + void    *PPCGetLibSymbol(void*,
  5190. +                          char*);
  5191. + void    *PPCLoadObjectTagList(struct TagItem*);
  5192. + void    *PPCLoadObject(char*);
  5193. + void    PPCUnLoadObject(void*);
  5194. + ULONG    PPCGetObjectAttrs(void*,
  5195. +                           struct PPCObjectInfo*,
  5196. +                           struct TagItem*);
  5197. + void*    PPCCreateTimerObject(struct TagItem*);
  5198. + void    PPCDeleteTimerObject(void*);
  5199. + #if !defined(__SASC)
  5200. + void    PPCSetTimerObject(void*,
  5201. +                           ULONG,
  5202. +                           unsigned long long*);
  5203. + void    PPCGetTimerObject(void*,
  5204. +                           ULONG,
  5205. +                           unsigned long long*);
  5206. + #else
  5207. + void    PPCSetTimerObject(void*,
  5208. +                           ULONG,
  5209. +                           ULONG*);
  5210. + void    PPCGetTimerObject(void*,
  5211. +                           ULONG,
  5212. +                           ULONG*);
  5213. + #endif
  5214. + #if !defined(__SASC)
  5215. + /* GCC 64bit math support
  5216. +  * which is needed by the compiler
  5217. +  */
  5218. + int            __cmpdi2(long long, long long);
  5219. + long long        __adddi3(long long, long long);
  5220. + long long        __anddi3(long long, long long);
  5221. + long long        __ashldi3(long long, unsigned int);
  5222. + long long        __ashrdi3(long long, unsigned int);
  5223. + long long        __lshldi3(long long, unsigned int);
  5224. + long long        __lshrdi3(long long, unsigned int);
  5225. + int            __cmpdi2(long long, long long );
  5226. + long long        __divdi3(long long, long long);
  5227. + long long        __fixdfdi(double);
  5228. + long long        __fixsfdi(float);
  5229. + unsigned long long    __fixunsdfdi(double);
  5230. + unsigned long long    __fixunssfdi(float);
  5231. + double            __floatdidf(long long);
  5232. + float            __floatdisf(long long);
  5233. + double            __floatunsdidf(unsigned long long);
  5234. + long long        __iordi3(long long, long long);
  5235. + long long        __moddi3(long long, long long);
  5236. + long long        __muldi3(long long, long long);
  5237. + long long        __negdi2(long long);
  5238. + //long long        __one_cmpldi2(long long);
  5239. + unsigned long long    __qdivrem(unsigned long long, unsigned long long, unsigned long long *);
  5240. + long long        __subdi3(long long, long long);
  5241. + int            __ucmpdi2(unsigned long long, unsigned long long);
  5242. + unsigned long long    __udivdi3(unsigned long long, unsigned long long );
  5243. + unsigned long long    __umoddi3(unsigned long long, unsigned long long );
  5244. + long long        __xordi3(long long, long long);
  5245. + long long    PPCAdd64(long long,long long);
  5246. + long long    PPCSub64(long long,long long);
  5247. + long long    PPCNeg64(long long);
  5248. + BOOL        PPCCmp64(long long,long long);
  5249. + long long    PPCMulu64(long long,long long);
  5250. + long long    PPCDivu64(long long,long long);
  5251. + long long    PPCMuls64(long long,long long);
  5252. + long long    PPCDivs64(long long,long long);
  5253. + long long    PPCModu64(long long,long long);
  5254. + long long    PPCMods64(long long,long long);
  5255. + long long    PPCLsr64(unsigned long long,unsigned int);
  5256. + long long    PPCAsl64(long long,unsigned int);
  5257. + long long    PPCAsr64(long long,unsigned int);
  5258. + long long    PPCLsr64(unsigned long long,unsigned int);
  5259. + long long    PPCOr64(unsigned long long,unsigned long long);
  5260. + long long    PPCXor64(unsigned long long,unsigned long long);
  5261. + long long    PPCAnd64(unsigned long long,unsigned long long);
  5262. + long long    PPCDivRem64(long long,long long,long long*);
  5263. + #else
  5264. + /* SAS 64bit support
  5265. +  * for every long long you get a ptr to a long long
  5266. +  */
  5267. + void        PPCAdd64p(int*,int*);
  5268. + void        PPCSub64p(int*,int*);
  5269. + void        PPCNeg64p(int*);
  5270. + BOOL        PPCCmp64p(int*,int*);
  5271. + void        PPCMulu64p(int*,int*);
  5272. + void        PPCDivu64p(int*,int*);
  5273. + void        PPCMuls64p(int*,int*);
  5274. + void        PPCDivs64p(int*,int*);
  5275. + void        PPCModu64p(int*,int*);
  5276. + void        PPCMods64p(int*,int*);
  5277. + void        PPCLsr64p(unsigned int*,unsigned int);
  5278. + void        PPCAsl64p(int*,unsigned int);
  5279. + void        PPCAsr64p(int*,unsigned int);
  5280. + void        PPCLsl64p(unsigned int*,unsigned int);
  5281. + void        PPCOr64p(unsigned int*,unsigned int*);
  5282. + void        PPCXor64p(unsigned int*,unsigned int*);
  5283. + void        PPCAnd64p(unsigned int*,unsigned int*);
  5284. + void        PPCDivRem64p(int*,int*,int*);
  5285. + #endif
  5286. + #endif
  5287. diff -c2 -d -P -r include_h/powerup/lvo/amigaguide_lvo.h includenew/powerup/lvo/amigaguide_lvo.h
  5288. *** include_h/powerup/lvo/amigaguide_lvo.h    Thu Jan  1 00:00:00 1970
  5289. --- includenew/powerup/lvo/amigaguide_lvo.h    Wed Feb 14 02:41:14 2001
  5290. ***************
  5291. *** 0 ****
  5292. --- 1,42 ----
  5293. + #ifndef _LVO_AMIGAGUIDE_LIB_H
  5294. + #define _LVO_AMIGAGUIDE_LIB_H
  5295. + /*
  5296. +  *  $VER: amigaguide_lvolib.h (08/03/97)
  5297. +  *
  5298. +  */
  5299. + #define    LVO_amigaguidePrivate1    (-0x1E)
  5300. + #define    LVO_LockAmigaGuideBase    (-0x24)
  5301. + #define    LVO_UnlockAmigaGuideBase    (-0x2A)
  5302. + #define    LVO_amigaguidePrivate2    (-0x30)
  5303. + #define    LVO_OpenAmigaGuideA    (-0x36)
  5304. + #define    LVO_OpenAmigaGuideAsyncA    (-0x3C)
  5305. + #define    LVO_CloseAmigaGuide    (-0x42)
  5306. + #define    LVO_AmigaGuideSignal    (-0x48)
  5307. + #define    LVO_GetAmigaGuideMsg    (-0x4E)
  5308. + #define    LVO_ReplyAmigaGuideMsg    (-0x54)
  5309. + #define    LVO_SetAmigaGuideContextA    (-0x5A)
  5310. + #define    LVO_SendAmigaGuideContextA    (-0x60)
  5311. + #define    LVO_SendAmigaGuideCmdA    (-0x66)
  5312. + #define    LVO_SetAmigaGuideAttrsA    (-0x6C)
  5313. + #define    LVO_GetAmigaGuideAttr    (-0x72)
  5314. + #define    LVO_amigaguidePrivate3    (-0x78)
  5315. + #define    LVO_LoadXRef    (-0x7E)
  5316. + #define    LVO_ExpungeXRef    (-0x84)
  5317. + #define    LVO_AddAmigaGuideHostA    (-0x8A)
  5318. + #define    LVO_RemoveAmigaGuideHostA    (-0x90)
  5319. + #define    LVO_amigaguidePrivate4    (-0x96)
  5320. + #define    LVO_amigaguidePrivate5    (-0x9C)
  5321. + #define    LVO_amigaguidePrivate6    (-0xA2)
  5322. + #define    LVO_amigaguidePrivate7    (-0xA8)
  5323. + #define    LVO_amigaguidePrivate8    (-0xAE)
  5324. + #define    LVO_amigaguidePrivate9    (-0xB4)
  5325. + #define    LVO_amigaguidePrivate10    (-0xBA)
  5326. + #define    LVO_amigaguidePrivate11    (-0xC0)
  5327. + #define    LVO_amigaguidePrivate12    (-0xC6)
  5328. + #define    LVO_amigaguidePrivate13    (-0xCC)
  5329. + #define    LVO_GetAmigaGuideString    (-0xD2)
  5330. + #endif
  5331. diff -c2 -d -P -r include_h/powerup/lvo/asl_lvo.h includenew/powerup/lvo/asl_lvo.h
  5332. *** include_h/powerup/lvo/asl_lvo.h    Thu Jan  1 00:00:00 1970
  5333. --- includenew/powerup/lvo/asl_lvo.h    Wed Feb 14 02:41:14 2001
  5334. ***************
  5335. *** 0 ****
  5336. --- 1,17 ----
  5337. + #ifndef _LVO_ASL_LIB_H
  5338. + #define _LVO_ASL_LIB_H
  5339. + /*
  5340. +  *  $VER: asl_lvolib.h (08/03/97)
  5341. +  *
  5342. +  */
  5343. + #define    LVO_AllocFileRequest    (-0x1E)
  5344. + #define    LVO_FreeFileRequest    (-0x24)
  5345. + #define    LVO_RequestFile    (-0x2A)
  5346. + #define    LVO_AllocAslRequest    (-0x30)
  5347. + #define    LVO_FreeAslRequest    (-0x36)
  5348. + #define    LVO_AslRequest    (-0x3C)
  5349. + #endif
  5350. diff -c2 -d -P -r include_h/powerup/lvo/battclock_lvo.h includenew/powerup/lvo/battclock_lvo.h
  5351. *** include_h/powerup/lvo/battclock_lvo.h    Thu Jan  1 00:00:00 1970
  5352. --- includenew/powerup/lvo/battclock_lvo.h    Wed Feb 14 02:41:14 2001
  5353. ***************
  5354. *** 0 ****
  5355. --- 1,16 ----
  5356. + #ifndef _LVO_BATTCLOCK_LIB_H
  5357. + #define _LVO_BATTCLOCK_LIB_H
  5358. + /*
  5359. +  *  $VER: battclock_lvolib.h (08/03/97)
  5360. +  *
  5361. +  */
  5362. + #define    LVO_ResetBattClock    (-0x6)
  5363. + #define    LVO_ReadBattClock    (-0xC)
  5364. + #define    LVO_WriteBattClock    (-0x12)
  5365. + #define    LVO_battclockPrivate1    (-0x18)
  5366. + #define    LVO_battclockPrivate2    (-0x1E)
  5367. + #endif
  5368. diff -c2 -d -P -r include_h/powerup/lvo/battmem_lvo.h includenew/powerup/lvo/battmem_lvo.h
  5369. *** include_h/powerup/lvo/battmem_lvo.h    Thu Jan  1 00:00:00 1970
  5370. --- includenew/powerup/lvo/battmem_lvo.h    Wed Feb 14 02:41:14 2001
  5371. ***************
  5372. *** 0 ****
  5373. --- 1,15 ----
  5374. + #ifndef _LVO_BATTMEM_LIB_H
  5375. + #define _LVO_BATTMEM_LIB_H
  5376. + /*
  5377. +  *  $VER: battmem_lvolib.h (08/03/97)
  5378. +  *
  5379. +  */
  5380. + #define    LVO_ObtainBattSemaphore    (-0x6)
  5381. + #define    LVO_ReleaseBattSemaphore    (-0xC)
  5382. + #define    LVO_ReadBattMem    (-0x12)
  5383. + #define    LVO_WriteBattMem    (-0x18)
  5384. + #endif
  5385. diff -c2 -d -P -r include_h/powerup/lvo/bullet_lvo.h includenew/powerup/lvo/bullet_lvo.h
  5386. *** include_h/powerup/lvo/bullet_lvo.h    Thu Jan  1 00:00:00 1970
  5387. --- includenew/powerup/lvo/bullet_lvo.h    Wed Feb 14 02:41:14 2001
  5388. ***************
  5389. *** 0 ****
  5390. --- 1,17 ----
  5391. + #ifndef _LVO_BULLET_LIB_H
  5392. + #define _LVO_BULLET_LIB_H
  5393. + /*
  5394. +  *  $VER: bullet_lvolib.h (08/03/97)
  5395. +  *
  5396. +  */
  5397. + #define    LVO_OpenEngine    (-0x1E)
  5398. + #define    LVO_CloseEngine    (-0x24)
  5399. + #define    LVO_SetInfoA    (-0x2A)
  5400. + #define    LVO_ObtainInfoA    (-0x30)
  5401. + #define    LVO_ReleaseInfoA    (-0x36)
  5402. + #define    LVO_bulletPrivate1    (-0x3C)
  5403. + #endif
  5404. diff -c2 -d -P -r include_h/powerup/lvo/cardres_lvo.h includenew/powerup/lvo/cardres_lvo.h
  5405. *** include_h/powerup/lvo/cardres_lvo.h    Thu Jan  1 00:00:00 1970
  5406. --- includenew/powerup/lvo/cardres_lvo.h    Wed Feb 14 02:41:14 2001
  5407. ***************
  5408. *** 0 ****
  5409. --- 1,28 ----
  5410. + #ifndef _LVO_CARDRES_LIB_H
  5411. + #define _LVO_CARDRES_LIB_H
  5412. + /*
  5413. +  *  $VER: cardres_lvolib.h (08/03/97)
  5414. +  *
  5415. +  */
  5416. + #define    LVO_OwnCard    (-0x6)
  5417. + #define    LVO_ReleaseCard    (-0xC)
  5418. + #define    LVO_GetCardMap    (-0x12)
  5419. + #define    LVO_BeginCardAccess    (-0x18)
  5420. + #define    LVO_EndCardAccess    (-0x1E)
  5421. + #define    LVO_ReadCardStatus    (-0x24)
  5422. + #define    LVO_CardResetRemove    (-0x2A)
  5423. + #define    LVO_CardMiscControl    (-0x30)
  5424. + #define    LVO_CardAccessSpeed    (-0x36)
  5425. + #define    LVO_CardProgramVoltage    (-0x3C)
  5426. + #define    LVO_CardResetCard    (-0x42)
  5427. + #define    LVO_CopyTuple    (-0x48)
  5428. + #define    LVO_DeviceTuple    (-0x4E)
  5429. + #define    LVO_IfAmigaXIP    (-0x54)
  5430. + #define    LVO_CardForceChange    (-0x5A)
  5431. + #define    LVO_CardChangeCount    (-0x60)
  5432. + #define    LVO_CardInterface    (-0x66)
  5433. + #endif
  5434. diff -c2 -d -P -r include_h/powerup/lvo/cia_lvo.h includenew/powerup/lvo/cia_lvo.h
  5435. *** include_h/powerup/lvo/cia_lvo.h    Thu Jan  1 00:00:00 1970
  5436. --- includenew/powerup/lvo/cia_lvo.h    Wed Feb 14 02:41:15 2001
  5437. ***************
  5438. *** 0 ****
  5439. --- 1,15 ----
  5440. + #ifndef _LVO_CIA_LIB_H
  5441. + #define _LVO_CIA_LIB_H
  5442. + /*
  5443. +  *  $VER: cia_lvolib.h (08/03/97)
  5444. +  *
  5445. +  */
  5446. + #define    LVO_AddICRVector    (-0x6)
  5447. + #define    LVO_RemICRVector    (-0xC)
  5448. + #define    LVO_AbleICR    (-0x12)
  5449. + #define    LVO_SetICR    (-0x18)
  5450. + #endif
  5451. diff -c2 -d -P -r include_h/powerup/lvo/colorwheel_lvo.h includenew/powerup/lvo/colorwheel_lvo.h
  5452. *** include_h/powerup/lvo/colorwheel_lvo.h    Thu Jan  1 00:00:00 1970
  5453. --- includenew/powerup/lvo/colorwheel_lvo.h    Wed Feb 14 02:41:15 2001
  5454. ***************
  5455. *** 0 ****
  5456. --- 1,13 ----
  5457. + #ifndef _LVO_COLORWHEEL_LIB_H
  5458. + #define _LVO_COLORWHEEL_LIB_H
  5459. + /*
  5460. +  *  $VER: colorwheel_lvolib.h (08/03/97)
  5461. +  *
  5462. +  */
  5463. + #define    LVO_ConvertHSBToRGB    (-0x1E)
  5464. + #define    LVO_ConvertRGBToHSB    (-0x24)
  5465. + #endif
  5466. diff -c2 -d -P -r include_h/powerup/lvo/commodities_lvo.h includenew/powerup/lvo/commodities_lvo.h
  5467. *** include_h/powerup/lvo/commodities_lvo.h    Thu Jan  1 00:00:00 1970
  5468. --- includenew/powerup/lvo/commodities_lvo.h    Wed Feb 14 02:41:15 2001
  5469. ***************
  5470. *** 0 ****
  5471. --- 1,46 ----
  5472. + #ifndef _LVO_COMMODITIES_LIB_H
  5473. + #define _LVO_COMMODITIES_LIB_H
  5474. + /*
  5475. +  *  $VER: commodities_lvolib.h (08/03/97)
  5476. +  *
  5477. +  */
  5478. + #define    LVO_CreateCxObj    (-0x1E)
  5479. + #define    LVO_CxBroker    (-0x24)
  5480. + #define    LVO_ActivateCxObj    (-0x2A)
  5481. + #define    LVO_DeleteCxObj    (-0x30)
  5482. + #define    LVO_DeleteCxObjAll    (-0x36)
  5483. + #define    LVO_CxObjType    (-0x3C)
  5484. + #define    LVO_CxObjError    (-0x42)
  5485. + #define    LVO_ClearCxObjError    (-0x48)
  5486. + #define    LVO_SetCxObjPri    (-0x4E)
  5487. + #define    LVO_AttachCxObj    (-0x54)
  5488. + #define    LVO_EnqueueCxObj    (-0x5A)
  5489. + #define    LVO_InsertCxObj    (-0x60)
  5490. + #define    LVO_RemoveCxObj    (-0x66)
  5491. + #define    LVO_commoditiesPrivate1    (-0x6C)
  5492. + #define    LVO_SetTranslate    (-0x72)
  5493. + #define    LVO_SetFilter    (-0x78)
  5494. + #define    LVO_SetFilterIX    (-0x7E)
  5495. + #define    LVO_ParseIX    (-0x84)
  5496. + #define    LVO_CxMsgType    (-0x8A)
  5497. + #define    LVO_CxMsgData    (-0x90)
  5498. + #define    LVO_CxMsgID    (-0x96)
  5499. + #define    LVO_DivertCxMsg    (-0x9C)
  5500. + #define    LVO_RouteCxMsg    (-0xA2)
  5501. + #define    LVO_DisposeCxMsg    (-0xA8)
  5502. + #define    LVO_InvertKeyMap    (-0xAE)
  5503. + #define    LVO_AddIEvents    (-0xB4)
  5504. + #define    LVO_commoditiesPrivate2    (-0xBA)
  5505. + #define    LVO_commoditiesPrivate3    (-0xC0)
  5506. + #define    LVO_commoditiesPrivate4    (-0xC6)
  5507. + #define    LVO_MatchIX    (-0xCC)
  5508. + #define    LVO_commoditiesPrivate5    (-0xD2)
  5509. + #define    LVO_commoditiesPrivate6    (-0xD8)
  5510. + #define    LVO_commoditiesPrivate7    (-0xDE)
  5511. + #define    LVO_commoditiesPrivate8    (-0xE4)
  5512. + #define    LVO_commoditiesPrivate9    (-0xEA)
  5513. + #endif
  5514. diff -c2 -d -P -r include_h/powerup/lvo/console_lvo.h includenew/powerup/lvo/console_lvo.h
  5515. *** include_h/powerup/lvo/console_lvo.h    Thu Jan  1 00:00:00 1970
  5516. --- includenew/powerup/lvo/console_lvo.h    Wed Feb 14 02:41:15 2001
  5517. ***************
  5518. *** 0 ****
  5519. --- 1,17 ----
  5520. + #ifndef _LVO_CONSOLE_LIB_H
  5521. + #define _LVO_CONSOLE_LIB_H
  5522. + /*
  5523. +  *  $VER: console_lvolib.h (08/03/97)
  5524. +  *
  5525. +  */
  5526. + #define    LVO_CDInputHandler    (-0x2A)
  5527. + #define    LVO_RawKeyConvert    (-0x30)
  5528. + #define    LVO_consolePrivate1    (-0x36)
  5529. + #define    LVO_consolePrivate2    (-0x3C)
  5530. + #define    LVO_consolePrivate3    (-0x42)
  5531. + #define    LVO_consolePrivate4    (-0x48)
  5532. + #endif
  5533. diff -c2 -d -P -r include_h/powerup/lvo/datatypes_lvo.h includenew/powerup/lvo/datatypes_lvo.h
  5534. *** include_h/powerup/lvo/datatypes_lvo.h    Thu Jan  1 00:00:00 1970
  5535. --- includenew/powerup/lvo/datatypes_lvo.h    Wed Feb 14 02:41:15 2001
  5536. ***************
  5537. *** 0 ****
  5538. --- 1,30 ----
  5539. + #ifndef _LVO_DATATYPES_LIB_H
  5540. + #define _LVO_DATATYPES_LIB_H
  5541. + /*
  5542. +  *  $VER: datatypes_lvolib.h (08/03/97)
  5543. +  *
  5544. +  */
  5545. + #define    LVO_datatypesPrivate1    (-0x1E)
  5546. + #define    LVO_ObtainDataTypeA    (-0x24)
  5547. + #define    LVO_ReleaseDataType    (-0x2A)
  5548. + #define    LVO_NewDTObjectA    (-0x30)
  5549. + #define    LVO_DisposeDTObject    (-0x36)
  5550. + #define    LVO_SetDTAttrsA    (-0x3C)
  5551. + #define    LVO_GetDTAttrsA    (-0x42)
  5552. + #define    LVO_AddDTObject    (-0x48)
  5553. + #define    LVO_RefreshDTObjectA    (-0x4E)
  5554. + #define    LVO_DoAsyncLayout    (-0x54)
  5555. + #define    LVO_DoDTMethodA    (-0x5A)
  5556. + #define    LVO_RemoveDTObject    (-0x60)
  5557. + #define    LVO_GetDTMethods    (-0x66)
  5558. + #define    LVO_GetDTTriggerMethods    (-0x6C)
  5559. + #define    LVO_PrintDTObjectA    (-0x72)
  5560. + #define    LVO_datatypesPrivate2    (-0x78)
  5561. + #define    LVO_datatypesPrivate3    (-0x7E)
  5562. + #define    LVO_datatypesPrivate4    (-0x84)
  5563. + #define    LVO_GetDTString    (-0x8A)
  5564. + #endif
  5565. diff -c2 -d -P -r include_h/powerup/lvo/disk_lvo.h includenew/powerup/lvo/disk_lvo.h
  5566. *** include_h/powerup/lvo/disk_lvo.h    Thu Jan  1 00:00:00 1970
  5567. --- includenew/powerup/lvo/disk_lvo.h    Wed Feb 14 02:41:15 2001
  5568. ***************
  5569. *** 0 ****
  5570. --- 1,17 ----
  5571. + #ifndef _LVO_DISK_LIB_H
  5572. + #define _LVO_DISK_LIB_H
  5573. + /*
  5574. +  *  $VER: disk_lvolib.h (08/03/97)
  5575. +  *
  5576. +  */
  5577. + #define    LVO_AllocUnit    (-0x6)
  5578. + #define    LVO_FreeUnit    (-0xC)
  5579. + #define    LVO_GetUnit    (-0x12)
  5580. + #define    LVO_GiveUnit    (-0x18)
  5581. + #define    LVO_GetUnitID    (-0x1E)
  5582. + #define    LVO_ReadUnitID    (-0x24)
  5583. + #endif
  5584. diff -c2 -d -P -r include_h/powerup/lvo/diskfont_lvo.h includenew/powerup/lvo/diskfont_lvo.h
  5585. *** include_h/powerup/lvo/diskfont_lvo.h    Thu Jan  1 00:00:00 1970
  5586. --- includenew/powerup/lvo/diskfont_lvo.h    Wed Feb 14 02:41:15 2001
  5587. ***************
  5588. *** 0 ****
  5589. --- 1,16 ----
  5590. + #ifndef _LVO_DISKFONT_LIB_H
  5591. + #define _LVO_DISKFONT_LIB_H
  5592. + /*
  5593. +  *  $VER: diskfont_lvolib.h (08/03/97)
  5594. +  *
  5595. +  */
  5596. + #define    LVO_OpenDiskFont    (-0x1E)
  5597. + #define    LVO_AvailFonts    (-0x24)
  5598. + #define    LVO_NewFontContents    (-0x2A)
  5599. + #define    LVO_DisposeFontContents    (-0x30)
  5600. + #define    LVO_NewScaledDiskFont    (-0x36)
  5601. + #endif
  5602. diff -c2 -d -P -r include_h/powerup/lvo/dos_lvo.h includenew/powerup/lvo/dos_lvo.h
  5603. *** include_h/powerup/lvo/dos_lvo.h    Thu Jan  1 00:00:00 1970
  5604. --- includenew/powerup/lvo/dos_lvo.h    Wed Feb 14 02:41:15 2001
  5605. ***************
  5606. *** 0 ****
  5607. --- 1,170 ----
  5608. + #ifndef _LVO_DOS_LIB_H
  5609. + #define _LVO_DOS_LIB_H
  5610. + /*
  5611. +  *  $VER: dos_lvolib.h (08/03/97)
  5612. +  *
  5613. +  */
  5614. + #define    LVO_Open    (-0x1E)
  5615. + #define    LVO_Close    (-0x24)
  5616. + #define    LVO_Read    (-0x2A)
  5617. + #define    LVO_Write    (-0x30)
  5618. + #define    LVO_Input    (-0x36)
  5619. + #define    LVO_Output    (-0x3C)
  5620. + #define    LVO_Seek    (-0x42)
  5621. + #define    LVO_DeleteFile    (-0x48)
  5622. + #define    LVO_Rename    (-0x4E)
  5623. + #define    LVO_Lock    (-0x54)
  5624. + #define    LVO_UnLock    (-0x5A)
  5625. + #define    LVO_DupLock    (-0x60)
  5626. + #define    LVO_Examine    (-0x66)
  5627. + #define    LVO_ExNext    (-0x6C)
  5628. + #define    LVO_Info    (-0x72)
  5629. + #define    LVO_CreateDir    (-0x78)
  5630. + #define    LVO_CurrentDir    (-0x7E)
  5631. + #define    LVO_IoErr    (-0x84)
  5632. + #define    LVO_CreateProc    (-0x8A)
  5633. + #define    LVO_Exit    (-0x90)
  5634. + #define    LVO_LoadSeg    (-0x96)
  5635. + #define    LVO_UnLoadSeg    (-0x9C)
  5636. + #define    LVO_dosPrivate1    (-0xA2)
  5637. + #define    LVO_dosPrivate2    (-0xA8)
  5638. + #define    LVO_DeviceProc    (-0xAE)
  5639. + #define    LVO_SetComment    (-0xB4)
  5640. + #define    LVO_SetProtection    (-0xBA)
  5641. + #define    LVO_DateStamp    (-0xC0)
  5642. + #define    LVO_Delay    (-0xC6)
  5643. + #define    LVO_WaitForChar    (-0xCC)
  5644. + #define    LVO_ParentDir    (-0xD2)
  5645. + #define    LVO_IsInteractive    (-0xD8)
  5646. + #define    LVO_Execute    (-0xDE)
  5647. + #define    LVO_AllocDosObject    (-0xE4)
  5648. + #define    LVO_FreeDosObject    (-0xEA)
  5649. + #define    LVO_DoPkt    (-0xF0)
  5650. + #define    LVO_SendPkt    (-0xF6)
  5651. + #define    LVO_WaitPkt    (-0xFC)
  5652. + #define    LVO_ReplyPkt    (-0x102)
  5653. + #define    LVO_AbortPkt    (-0x108)
  5654. + #define    LVO_LockRecord    (-0x10E)
  5655. + #define    LVO_LockRecords    (-0x114)
  5656. + #define    LVO_UnLockRecord    (-0x11A)
  5657. + #define    LVO_UnLockRecords    (-0x120)
  5658. + #define    LVO_SelectInput    (-0x126)
  5659. + #define    LVO_SelectOutput    (-0x12C)
  5660. + #define    LVO_FGetC    (-0x132)
  5661. + #define    LVO_FPutC    (-0x138)
  5662. + #define    LVO_UnGetC    (-0x13E)
  5663. + #define    LVO_FRead    (-0x144)
  5664. + #define    LVO_FWrite    (-0x14A)
  5665. + #define    LVO_FGets    (-0x150)
  5666. + #define    LVO_FPuts    (-0x156)
  5667. + #define    LVO_VFWritef    (-0x15C)
  5668. + #define    LVO_VFPrintf    (-0x162)
  5669. + #define    LVO_Flush    (-0x168)
  5670. + #define    LVO_SetVBuf    (-0x16E)
  5671. + #define    LVO_DupLockFromFH    (-0x174)
  5672. + #define    LVO_OpenFromLock    (-0x17A)
  5673. + #define    LVO_ParentOfFH    (-0x180)
  5674. + #define    LVO_ExamineFH    (-0x186)
  5675. + #define    LVO_SetFileDate    (-0x18C)
  5676. + #define    LVO_NameFromLock    (-0x192)
  5677. + #define    LVO_NameFromFH    (-0x198)
  5678. + #define    LVO_SplitName    (-0x19E)
  5679. + #define    LVO_SameLock    (-0x1A4)
  5680. + #define    LVO_SetMode    (-0x1AA)
  5681. + #define    LVO_ExAll    (-0x1B0)
  5682. + #define    LVO_ReadLink    (-0x1B6)
  5683. + #define    LVO_MakeLink    (-0x1BC)
  5684. + #define    LVO_ChangeMode    (-0x1C2)
  5685. + #define    LVO_SetFileSize    (-0x1C8)
  5686. + #define    LVO_SetIoErr    (-0x1CE)
  5687. + #define    LVO_Fault    (-0x1D4)
  5688. + #define    LVO_PrintFault    (-0x1DA)
  5689. + #define    LVO_ErrorReport    (-0x1E0)
  5690. + #define    LVO_Cli    (-0x1EC)
  5691. + #define    LVO_CreateNewProc    (-0x1F2)
  5692. + #define    LVO_RunCommand    (-0x1F8)
  5693. + #define    LVO_GetConsoleTask    (-0x1FE)
  5694. + #define    LVO_SetConsoleTask    (-0x204)
  5695. + #define    LVO_GetFileSysTask    (-0x20A)
  5696. + #define    LVO_SetFileSysTask    (-0x210)
  5697. + #define    LVO_GetArgStr    (-0x216)
  5698. + #define    LVO_SetArgStr    (-0x21C)
  5699. + #define    LVO_FindCliProc    (-0x222)
  5700. + #define    LVO_MaxCli    (-0x228)
  5701. + #define    LVO_SetCurrentDirName    (-0x22E)
  5702. + #define    LVO_GetCurrentDirName    (-0x234)
  5703. + #define    LVO_SetProgramName    (-0x23A)
  5704. + #define    LVO_GetProgramName    (-0x240)
  5705. + #define    LVO_SetPrompt    (-0x246)
  5706. + #define    LVO_GetPrompt    (-0x24C)
  5707. + #define    LVO_SetProgramDir    (-0x252)
  5708. + #define    LVO_GetProgramDir    (-0x258)
  5709. + #define    LVO_SystemTagList    (-0x25E)
  5710. + #define    LVO_AssignLock    (-0x264)
  5711. + #define    LVO_AssignLate    (-0x26A)
  5712. + #define    LVO_AssignPath    (-0x270)
  5713. + #define    LVO_AssignAdd    (-0x276)
  5714. + #define    LVO_RemAssignList    (-0x27C)
  5715. + #define    LVO_GetDeviceProc    (-0x282)
  5716. + #define    LVO_FreeDeviceProc    (-0x288)
  5717. + #define    LVO_LockDosList    (-0x28E)
  5718. + #define    LVO_UnLockDosList    (-0x294)
  5719. + #define    LVO_AttemptLockDosList    (-0x29A)
  5720. + #define    LVO_RemDosEntry    (-0x2A0)
  5721. + #define    LVO_AddDosEntry    (-0x2A6)
  5722. + #define    LVO_FindDosEntry    (-0x2AC)
  5723. + #define    LVO_NextDosEntry    (-0x2B2)
  5724. + #define    LVO_MakeDosEntry    (-0x2B8)
  5725. + #define    LVO_FreeDosEntry    (-0x2BE)
  5726. + #define    LVO_IsFileSystem    (-0x2C4)
  5727. + #define    LVO_Format    (-0x2CA)
  5728. + #define    LVO_Relabel    (-0x2D0)
  5729. + #define    LVO_Inhibit    (-0x2D6)
  5730. + #define    LVO_AddBuffers    (-0x2DC)
  5731. + #define    LVO_CompareDates    (-0x2E2)
  5732. + #define    LVO_DateToStr    (-0x2E8)
  5733. + #define    LVO_StrToDate    (-0x2EE)
  5734. + #define    LVO_InternalLoadSeg    (-0x2F4)
  5735. + #define    LVO_InternalUnLoadSeg    (-0x2FA)
  5736. + #define    LVO_NewLoadSeg    (-0x300)
  5737. + #define    LVO_AddSegment    (-0x306)
  5738. + #define    LVO_FindSegment    (-0x30C)
  5739. + #define    LVO_RemSegment    (-0x312)
  5740. + #define    LVO_CheckSignal    (-0x318)
  5741. + #define    LVO_ReadArgs    (-0x31E)
  5742. + #define    LVO_FindArg    (-0x324)
  5743. + #define    LVO_ReadItem    (-0x32A)
  5744. + #define    LVO_StrToLong    (-0x330)
  5745. + #define    LVO_MatchFirst    (-0x336)
  5746. + #define    LVO_MatchNext    (-0x33C)
  5747. + #define    LVO_MatchEnd    (-0x342)
  5748. + #define    LVO_ParsePattern    (-0x348)
  5749. + #define    LVO_MatchPattern    (-0x34E)
  5750. + #define    LVO_dosPrivate3    (-0x354)
  5751. + #define    LVO_FreeArgs    (-0x35A)
  5752. + #define    LVO_FilePart    (-0x366)
  5753. + #define    LVO_PathPart    (-0x36C)
  5754. + #define    LVO_AddPart    (-0x372)
  5755. + #define    LVO_StartNotify    (-0x378)
  5756. + #define    LVO_EndNotify    (-0x37E)
  5757. + #define    LVO_SetVar    (-0x384)
  5758. + #define    LVO_GetVar    (-0x38A)
  5759. + #define    LVO_DeleteVar    (-0x390)
  5760. + #define    LVO_FindVar    (-0x396)
  5761. + #define    LVO_dosPrivate4    (-0x39C)
  5762. + #define    LVO_CliInitNewcli    (-0x3A2)
  5763. + #define    LVO_CliInitRun    (-0x3A8)
  5764. + #define    LVO_WriteChars    (-0x3AE)
  5765. + #define    LVO_PutStr    (-0x3B4)
  5766. + #define    LVO_VPrintf    (-0x3BA)
  5767. + #define    LVO_ParsePatternNoCase    (-0x3C6)
  5768. + #define    LVO_MatchPatternNoCase    (-0x3CC)
  5769. + #define    LVO_dosPrivate5    (-0x3D2)
  5770. + #define    LVO_SameDevice    (-0x3D8)
  5771. + #define    LVO_ExAllEnd    (-0x3DE)
  5772. + #define    LVO_SetOwner    (-0x3E4)
  5773. + #endif
  5774. diff -c2 -d -P -r include_h/powerup/lvo/dtclass_lvo.h includenew/powerup/lvo/dtclass_lvo.h
  5775. *** include_h/powerup/lvo/dtclass_lvo.h    Thu Jan  1 00:00:00 1970
  5776. --- includenew/powerup/lvo/dtclass_lvo.h    Wed Feb 14 02:41:15 2001
  5777. ***************
  5778. *** 0 ****
  5779. --- 1,12 ----
  5780. + #ifndef _LVO_DTCLASS_LIB_H
  5781. + #define _LVO_DTCLASS_LIB_H
  5782. + /*
  5783. +  *  $VER: dtclass_lvolib.h (08/03/97)
  5784. +  *
  5785. +  */
  5786. + #define    LVO_ObtainEngine    (-0x1E)
  5787. + #endif
  5788. diff -c2 -d -P -r include_h/powerup/lvo/exec_lvo.h includenew/powerup/lvo/exec_lvo.h
  5789. *** include_h/powerup/lvo/exec_lvo.h    Thu Jan  1 00:00:00 1970
  5790. --- includenew/powerup/lvo/exec_lvo.h    Wed Feb 14 02:41:15 2001
  5791. ***************
  5792. *** 0 ****
  5793. --- 1,144 ----
  5794. + #ifndef _LVO_EXEC_LIB_H
  5795. + #define _LVO_EXEC_LIB_H
  5796. + /*
  5797. +  *  $VER: exec_lvolib.h (08/03/97)
  5798. +  *
  5799. +  */
  5800. + #define    LVO_Supervisor    (-0x1E)
  5801. + #define    LVO_execPrivate1    (-0x24)
  5802. + #define    LVO_execPrivate2    (-0x2A)
  5803. + #define    LVO_execPrivate3    (-0x30)
  5804. + #define    LVO_execPrivate4    (-0x36)
  5805. + #define    LVO_execPrivate5    (-0x3C)
  5806. + #define    LVO_execPrivate6    (-0x42)
  5807. + #define    LVO_InitCode    (-0x48)
  5808. + #define    LVO_InitStruct    (-0x4E)
  5809. + #define    LVO_MakeLibrary    (-0x54)
  5810. + #define    LVO_MakeFunctions    (-0x5A)
  5811. + #define    LVO_FindResident    (-0x60)
  5812. + #define    LVO_InitResident    (-0x66)
  5813. + #define    LVO_Alert    (-0x6C)
  5814. + #define    LVO_Debug    (-0x72)
  5815. + #define    LVO_Disable    (-0x78)
  5816. + #define    LVO_Enable    (-0x7E)
  5817. + #define    LVO_Forbid    (-0x84)
  5818. + #define    LVO_Permit    (-0x8A)
  5819. + #define    LVO_SetSR    (-0x90)
  5820. + #define    LVO_SuperState    (-0x96)
  5821. + #define    LVO_UserState    (-0x9C)
  5822. + #define    LVO_SetIntVector    (-0xA2)
  5823. + #define    LVO_AddIntServer    (-0xA8)
  5824. + #define    LVO_RemIntServer    (-0xAE)
  5825. + #define    LVO_Cause    (-0xB4)
  5826. + #define    LVO_Allocate    (-0xBA)
  5827. + #define    LVO_Deallocate    (-0xC0)
  5828. + #define    LVO_AllocMem    (-0xC6)
  5829. + #define    LVO_AllocAbs    (-0xCC)
  5830. + #define    LVO_FreeMem    (-0xD2)
  5831. + #define    LVO_AvailMem    (-0xD8)
  5832. + #define    LVO_AllocEntry    (-0xDE)
  5833. + #define    LVO_FreeEntry    (-0xE4)
  5834. + #define    LVO_Insert    (-0xEA)
  5835. + #define    LVO_AddHead    (-0xF0)
  5836. + #define    LVO_AddTail    (-0xF6)
  5837. + #define    LVO_Remove    (-0xFC)
  5838. + #define    LVO_RemHead    (-0x102)
  5839. + #define    LVO_RemTail    (-0x108)
  5840. + #define    LVO_Enqueue    (-0x10E)
  5841. + #define    LVO_FindName    (-0x114)
  5842. + #define    LVO_AddTask    (-0x11A)
  5843. + #define    LVO_RemTask    (-0x120)
  5844. + #define    LVO_FindTask    (-0x126)
  5845. + #define    LVO_SetTaskPri    (-0x12C)
  5846. + #define    LVO_SetSignal    (-0x132)
  5847. + #define    LVO_SetExcept    (-0x138)
  5848. + #define    LVO_Wait    (-0x13E)
  5849. + #define    LVO_Signal    (-0x144)
  5850. + #define    LVO_AllocSignal    (-0x14A)
  5851. + #define    LVO_FreeSignal    (-0x150)
  5852. + #define    LVO_AllocTrap    (-0x156)
  5853. + #define    LVO_FreeTrap    (-0x15C)
  5854. + #define    LVO_AddPort    (-0x162)
  5855. + #define    LVO_RemPort    (-0x168)
  5856. + #define    LVO_PutMsg    (-0x16E)
  5857. + #define    LVO_GetMsg    (-0x174)
  5858. + #define    LVO_ReplyMsg    (-0x17A)
  5859. + #define    LVO_WaitPort    (-0x180)
  5860. + #define    LVO_FindPort    (-0x186)
  5861. + #define    LVO_AddLibrary    (-0x18C)
  5862. + #define    LVO_RemLibrary    (-0x192)
  5863. + #define    LVO_OldOpenLibrary    (-0x198)
  5864. + #define    LVO_CloseLibrary    (-0x19E)
  5865. + #define    LVO_SetFunction    (-0x1A4)
  5866. + #define    LVO_SumLibrary    (-0x1AA)
  5867. + #define    LVO_AddDevice    (-0x1B0)
  5868. + #define    LVO_RemDevice    (-0x1B6)
  5869. + #define    LVO_OpenDevice    (-0x1BC)
  5870. + #define    LVO_CloseDevice    (-0x1C2)
  5871. + #define    LVO_DoIO    (-0x1C8)
  5872. + #define    LVO_SendIO    (-0x1CE)
  5873. + #define    LVO_CheckIO    (-0x1D4)
  5874. + #define    LVO_WaitIO    (-0x1DA)
  5875. + #define    LVO_AbortIO    (-0x1E0)
  5876. + #define    LVO_AddResource    (-0x1E6)
  5877. + #define    LVO_RemResource    (-0x1EC)
  5878. + #define    LVO_OpenResource    (-0x1F2)
  5879. + #define    LVO_execPrivate7    (-0x1F8)
  5880. + #define    LVO_execPrivate8    (-0x1FE)
  5881. + #define    LVO_execPrivate9    (-0x204)
  5882. + #define    LVO_RawDoFmt    (-0x20A)
  5883. + #define    LVO_GetCC    (-0x210)
  5884. + #define    LVO_TypeOfMem    (-0x216)
  5885. + #define    LVO_Procure    (-0x21C)
  5886. + #define    LVO_Vacate    (-0x222)
  5887. + #define    LVO_OpenLibrary    (-0x228)
  5888. + #define    LVO_InitSemaphore    (-0x22E)
  5889. + #define    LVO_ObtainSemaphore    (-0x234)
  5890. + #define    LVO_ReleaseSemaphore    (-0x23A)
  5891. + #define    LVO_AttemptSemaphore    (-0x240)
  5892. + #define    LVO_ObtainSemaphoreList    (-0x246)
  5893. + #define    LVO_ReleaseSemaphoreList    (-0x24C)
  5894. + #define    LVO_FindSemaphore    (-0x252)
  5895. + #define    LVO_AddSemaphore    (-0x258)
  5896. + #define    LVO_RemSemaphore    (-0x25E)
  5897. + #define    LVO_SumKickData    (-0x264)
  5898. + #define    LVO_AddMemList    (-0x26A)
  5899. + #define    LVO_CopyMem    (-0x270)
  5900. + #define    LVO_CopyMemQuick    (-0x276)
  5901. + #define    LVO_CacheClearU    (-0x27C)
  5902. + #define    LVO_CacheClearE    (-0x282)
  5903. + #define    LVO_CacheControl    (-0x288)
  5904. + #define    LVO_CreateIORequest    (-0x28E)
  5905. + #define    LVO_DeleteIORequest    (-0x294)
  5906. + #define    LVO_CreateMsgPort    (-0x29A)
  5907. + #define    LVO_DeleteMsgPort    (-0x2A0)
  5908. + #define    LVO_ObtainSemaphoreShared    (-0x2A6)
  5909. + #define    LVO_AllocVec    (-0x2AC)
  5910. + #define    LVO_FreeVec    (-0x2B2)
  5911. + #define    LVO_CreatePool    (-0x2B8)
  5912. + #define    LVO_DeletePool    (-0x2BE)
  5913. + #define    LVO_AllocPooled    (-0x2C4)
  5914. + #define    LVO_FreePooled    (-0x2CA)
  5915. + #define    LVO_AttemptSemaphoreShared    (-0x2D0)
  5916. + #define    LVO_ColdReboot    (-0x2D6)
  5917. + #define    LVO_StackSwap    (-0x2DC)
  5918. + #define    LVO_ChildFree    (-0x2E2)
  5919. + #define    LVO_ChildOrphan    (-0x2E8)
  5920. + #define    LVO_ChildStatus    (-0x2EE)
  5921. + #define    LVO_ChildWait    (-0x2F4)
  5922. + #define    LVO_CachePreDMA    (-0x2FA)
  5923. + #define    LVO_CachePostDMA    (-0x300)
  5924. + #define    LVO_AddMemHandler    (-0x306)
  5925. + #define    LVO_RemMemHandler    (-0x30C)
  5926. + #define    LVO_ObtainQuickVector    (-0x312)
  5927. + #define    LVO_execPrivate10    (-0x318)
  5928. + #define    LVO_execPrivate11    (-0x31E)
  5929. + #define    LVO_execPrivate12    (-0x324)
  5930. + #define    LVO_execPrivate13    (-0x32A)
  5931. + #define    LVO_execPrivate14    (-0x330)
  5932. + #define    LVO_execPrivate15    (-0x336)
  5933. + #endif
  5934. diff -c2 -d -P -r include_h/powerup/lvo/expansion_lvo.h includenew/powerup/lvo/expansion_lvo.h
  5935. *** include_h/powerup/lvo/expansion_lvo.h    Thu Jan  1 00:00:00 1970
  5936. --- includenew/powerup/lvo/expansion_lvo.h    Wed Feb 14 02:41:15 2001
  5937. ***************
  5938. *** 0 ****
  5939. --- 1,34 ----
  5940. + #ifndef _LVO_EXPANSION_LIB_H
  5941. + #define _LVO_EXPANSION_LIB_H
  5942. + /*
  5943. +  *  $VER: expansion_lvolib.h (08/03/97)
  5944. +  *
  5945. +  */
  5946. + #define    LVO_AddConfigDev    (-0x1E)
  5947. + #define    LVO_AddBootNode    (-0x24)
  5948. + #define    LVO_AllocBoardMem    (-0x2A)
  5949. + #define    LVO_AllocConfigDev    (-0x30)
  5950. + #define    LVO_AllocExpansionMem    (-0x36)
  5951. + #define    LVO_ConfigBoard    (-0x3C)
  5952. + #define    LVO_ConfigChain    (-0x42)
  5953. + #define    LVO_FindConfigDev    (-0x48)
  5954. + #define    LVO_FreeBoardMem    (-0x4E)
  5955. + #define    LVO_FreeConfigDev    (-0x54)
  5956. + #define    LVO_FreeExpansionMem    (-0x5A)
  5957. + #define    LVO_ReadExpansionByte    (-0x60)
  5958. + #define    LVO_ReadExpansionRom    (-0x66)
  5959. + #define    LVO_RemConfigDev    (-0x6C)
  5960. + #define    LVO_WriteExpansionByte    (-0x72)
  5961. + #define    LVO_ObtainConfigBinding    (-0x78)
  5962. + #define    LVO_ReleaseConfigBinding    (-0x7E)
  5963. + #define    LVO_SetCurrentBinding    (-0x84)
  5964. + #define    LVO_GetCurrentBinding    (-0x8A)
  5965. + #define    LVO_MakeDosNode    (-0x90)
  5966. + #define    LVO_AddDosNode    (-0x96)
  5967. + #define    LVO_expansionPrivate1    (-0x9C)
  5968. + #define    LVO_expansionPrivate2    (-0xA2)
  5969. + #endif
  5970. diff -c2 -d -P -r include_h/powerup/lvo/gadtools_lvo.h includenew/powerup/lvo/gadtools_lvo.h
  5971. *** include_h/powerup/lvo/gadtools_lvo.h    Thu Jan  1 00:00:00 1970
  5972. --- includenew/powerup/lvo/gadtools_lvo.h    Wed Feb 14 02:41:15 2001
  5973. ***************
  5974. *** 0 ****
  5975. --- 1,36 ----
  5976. + #ifndef _LVO_GADTOOLS_LIB_H
  5977. + #define _LVO_GADTOOLS_LIB_H
  5978. + /*
  5979. +  *  $VER: gadtools_lvolib.h (08/03/97)
  5980. +  *
  5981. +  */
  5982. + #define    LVO_CreateGadgetA    (-0x1E)
  5983. + #define    LVO_FreeGadgets    (-0x24)
  5984. + #define    LVO_GT_SetGadgetAttrsA    (-0x2A)
  5985. + #define    LVO_CreateMenusA    (-0x30)
  5986. + #define    LVO_FreeMenus    (-0x36)
  5987. + #define    LVO_LayoutMenuItemsA    (-0x3C)
  5988. + #define    LVO_LayoutMenusA    (-0x42)
  5989. + #define    LVO_GT_GetIMsg    (-0x48)
  5990. + #define    LVO_GT_ReplyIMsg    (-0x4E)
  5991. + #define    LVO_GT_RefreshWindow    (-0x54)
  5992. + #define    LVO_GT_BeginRefresh    (-0x5A)
  5993. + #define    LVO_GT_EndRefresh    (-0x60)
  5994. + #define    LVO_GT_FilterIMsg    (-0x66)
  5995. + #define    LVO_GT_PostFilterIMsg    (-0x6C)
  5996. + #define    LVO_CreateContext    (-0x72)
  5997. + #define    LVO_DrawBevelBoxA    (-0x78)
  5998. + #define    LVO_GetVisualInfoA    (-0x7E)
  5999. + #define    LVO_FreeVisualInfo    (-0x84)
  6000. + #define    LVO_gadtoolsPrivate1    (-0x8A)
  6001. + #define    LVO_gadtoolsPrivate2    (-0x90)
  6002. + #define    LVO_gadtoolsPrivate3    (-0x96)
  6003. + #define    LVO_gadtoolsPrivate4    (-0x9C)
  6004. + #define    LVO_gadtoolsPrivate5    (-0xA2)
  6005. + #define    LVO_gadtoolsPrivate6    (-0xA8)
  6006. + #define    LVO_GT_GetGadgetAttrsA    (-0xAE)
  6007. + #endif
  6008. diff -c2 -d -P -r include_h/powerup/lvo/graphics_lvo.h includenew/powerup/lvo/graphics_lvo.h
  6009. *** include_h/powerup/lvo/graphics_lvo.h    Thu Jan  1 00:00:00 1970
  6010. --- includenew/powerup/lvo/graphics_lvo.h    Wed Feb 14 02:41:15 2001
  6011. ***************
  6012. *** 0 ****
  6013. --- 1,183 ----
  6014. + #ifndef _LVO_GRAPHICS_LIB_H
  6015. + #define _LVO_GRAPHICS_LIB_H
  6016. + /*
  6017. +  *  $VER: graphics_lvolib.h (08/03/97)
  6018. +  *
  6019. +  */
  6020. + #define    LVO_BltBitMap    (-0x1E)
  6021. + #define    LVO_BltTemplate    (-0x24)
  6022. + #define    LVO_ClearEOL    (-0x2A)
  6023. + #define    LVO_ClearScreen    (-0x30)
  6024. + #define    LVO_TextLength    (-0x36)
  6025. + #define    LVO_Text    (-0x3C)
  6026. + #define    LVO_SetFont    (-0x42)
  6027. + #define    LVO_OpenFont    (-0x48)
  6028. + #define    LVO_CloseFont    (-0x4E)
  6029. + #define    LVO_AskSoftStyle    (-0x54)
  6030. + #define    LVO_SetSoftStyle    (-0x5A)
  6031. + #define    LVO_AddBob    (-0x60)
  6032. + #define    LVO_AddVSprite    (-0x66)
  6033. + #define    LVO_DoCollision    (-0x6C)
  6034. + #define    LVO_DrawGList    (-0x72)
  6035. + #define    LVO_InitGels    (-0x78)
  6036. + #define    LVO_InitMasks    (-0x7E)
  6037. + #define    LVO_RemIBob    (-0x84)
  6038. + #define    LVO_RemVSprite    (-0x8A)
  6039. + #define    LVO_SetCollision    (-0x90)
  6040. + #define    LVO_SortGList    (-0x96)
  6041. + #define    LVO_AddAnimOb    (-0x9C)
  6042. + #define    LVO_Animate    (-0xA2)
  6043. + #define    LVO_GetGBuffers    (-0xA8)
  6044. + #define    LVO_InitGMasks    (-0xAE)
  6045. + #define    LVO_DrawEllipse    (-0xB4)
  6046. + #define    LVO_AreaEllipse    (-0xBA)
  6047. + #define    LVO_LoadRGB4    (-0xC0)
  6048. + #define    LVO_InitRastPort    (-0xC6)
  6049. + #define    LVO_InitVPort    (-0xCC)
  6050. + #define    LVO_MrgCop    (-0xD2)
  6051. + #define    LVO_MakeVPort    (-0xD8)
  6052. + #define    LVO_LoadView    (-0xDE)
  6053. + #define    LVO_WaitBlit    (-0xE4)
  6054. + #define    LVO_SetRast    (-0xEA)
  6055. + #define    LVO_Move    (-0xF0)
  6056. + #define    LVO_Draw    (-0xF6)
  6057. + #define    LVO_AreaMove    (-0xFC)
  6058. + #define    LVO_AreaDraw    (-0x102)
  6059. + #define    LVO_AreaEnd    (-0x108)
  6060. + #define    LVO_WaitTOF    (-0x10E)
  6061. + #define    LVO_QBlit    (-0x114)
  6062. + #define    LVO_InitArea    (-0x11A)
  6063. + #define    LVO_SetRGB4    (-0x120)
  6064. + #define    LVO_QBSBlit    (-0x126)
  6065. + #define    LVO_BltClear    (-0x12C)
  6066. + #define    LVO_RectFill    (-0x132)
  6067. + #define    LVO_BltPattern    (-0x138)
  6068. + #define    LVO_ReadPixel    (-0x13E)
  6069. + #define    LVO_WritePixel    (-0x144)
  6070. + #define    LVO_Flood    (-0x14A)
  6071. + #define    LVO_PolyDraw    (-0x150)
  6072. + #define    LVO_SetAPen    (-0x156)
  6073. + #define    LVO_SetBPen    (-0x15C)
  6074. + #define    LVO_SetDrMd    (-0x162)
  6075. + #define    LVO_InitView    (-0x168)
  6076. + #define    LVO_CBump    (-0x16E)
  6077. + #define    LVO_CMove    (-0x174)
  6078. + #define    LVO_CWait    (-0x17A)
  6079. + #define    LVO_VBeamPos    (-0x180)
  6080. + #define    LVO_InitBitMap    (-0x186)
  6081. + #define    LVO_ScrollRaster    (-0x18C)
  6082. + #define    LVO_WaitBOVP    (-0x192)
  6083. + #define    LVO_GetSprite    (-0x198)
  6084. + #define    LVO_FreeSprite    (-0x19E)
  6085. + #define    LVO_ChangeSprite    (-0x1A4)
  6086. + #define    LVO_MoveSprite    (-0x1AA)
  6087. + #define    LVO_LockLayerRom    (-0x1B0)
  6088. + #define    LVO_UnlockLayerRom    (-0x1B6)
  6089. + #define    LVO_SyncSBitMap    (-0x1BC)
  6090. + #define    LVO_CopySBitMap    (-0x1C2)
  6091. + #define    LVO_OwnBlitter    (-0x1C8)
  6092. + #define    LVO_DisownBlitter    (-0x1CE)
  6093. + #define    LVO_InitTmpRas    (-0x1D4)
  6094. + #define    LVO_AskFont    (-0x1DA)
  6095. + #define    LVO_AddFont    (-0x1E0)
  6096. + #define    LVO_RemFont    (-0x1E6)
  6097. + #define    LVO_AllocRaster    (-0x1EC)
  6098. + #define    LVO_FreeRaster    (-0x1F2)
  6099. + #define    LVO_AndRectRegion    (-0x1F8)
  6100. + #define    LVO_OrRectRegion    (-0x1FE)
  6101. + #define    LVO_NewRegion    (-0x204)
  6102. + #define    LVO_ClearRectRegion    (-0x20A)
  6103. + #define    LVO_ClearRegion    (-0x210)
  6104. + #define    LVO_DisposeRegion    (-0x216)
  6105. + #define    LVO_FreeVPortCopLists    (-0x21C)
  6106. + #define    LVO_FreeCopList    (-0x222)
  6107. + #define    LVO_ClipBlit    (-0x228)
  6108. + #define    LVO_XorRectRegion    (-0x22E)
  6109. + #define    LVO_FreeCprList    (-0x234)
  6110. + #define    LVO_GetColorMap    (-0x23A)
  6111. + #define    LVO_FreeColorMap    (-0x240)
  6112. + #define    LVO_GetRGB4    (-0x246)
  6113. + #define    LVO_ScrollVPort    (-0x24C)
  6114. + #define    LVO_UCopperListInit    (-0x252)
  6115. + #define    LVO_FreeGBuffers    (-0x258)
  6116. + #define    LVO_BltBitMapRastPort    (-0x25E)
  6117. + #define    LVO_OrRegionRegion    (-0x264)
  6118. + #define    LVO_XorRegionRegion    (-0x26A)
  6119. + #define    LVO_AndRegionRegion    (-0x270)
  6120. + #define    LVO_SetRGB4CM    (-0x276)
  6121. + #define    LVO_BltMaskBitMapRastPort    (-0x27C)
  6122. + #define    LVO_graphicsPrivate1    (-0x282)
  6123. + #define    LVO_graphicsPrivate2    (-0x288)
  6124. + #define    LVO_AttemptLockLayerRom    (-0x28E)
  6125. + #define    LVO_GfxNew    (-0x294)
  6126. + #define    LVO_GfxFree    (-0x29A)
  6127. + #define    LVO_GfxAssociate    (-0x2A0)
  6128. + #define    LVO_BitMapScale    (-0x2A6)
  6129. + #define    LVO_ScalerDiv    (-0x2AC)
  6130. + #define    LVO_TextExtent    (-0x2B2)
  6131. + #define    LVO_TextFit    (-0x2B8)
  6132. + #define    LVO_GfxLookUp    (-0x2BE)
  6133. + #define    LVO_VideoControl    (-0x2C4)
  6134. + #define    LVO_OpenMonitor    (-0x2CA)
  6135. + #define    LVO_CloseMonitor    (-0x2D0)
  6136. + #define    LVO_FindDisplayInfo    (-0x2D6)
  6137. + #define    LVO_NextDisplayInfo    (-0x2DC)
  6138. + #define    LVO_graphicsPrivate3    (-0x2E2)
  6139. + #define    LVO_graphicsPrivate4    (-0x2E8)
  6140. + #define    LVO_graphicsPrivate5    (-0x2EE)
  6141. + #define    LVO_GetDisplayInfoData    (-0x2F4)
  6142. + #define    LVO_FontExtent    (-0x2FA)
  6143. + #define    LVO_ReadPixelLine8    (-0x300)
  6144. + #define    LVO_WritePixelLine8    (-0x306)
  6145. + #define    LVO_ReadPixelArray8    (-0x30C)
  6146. + #define    LVO_WritePixelArray8    (-0x312)
  6147. + #define    LVO_GetVPModeID    (-0x318)
  6148. + #define    LVO_ModeNotAvailable    (-0x31E)
  6149. + #define    LVO_WeighTAMatch    (-0x324)
  6150. + #define    LVO_EraseRect    (-0x32A)
  6151. + #define    LVO_ExtendFont    (-0x330)
  6152. + #define    LVO_StripFont    (-0x336)
  6153. + #define    LVO_CalcIVG    (-0x33C)
  6154. + #define    LVO_AttachPalExtra    (-0x342)
  6155. + #define    LVO_ObtainBestPenA    (-0x348)
  6156. + #define    LVO_graphicsPrivate6    (-0x34E)
  6157. + #define    LVO_SetRGB32    (-0x354)
  6158. + #define    LVO_GetAPen    (-0x35A)
  6159. + #define    LVO_GetBPen    (-0x360)
  6160. + #define    LVO_GetDrMd    (-0x366)
  6161. + #define    LVO_GetOutlinePen    (-0x36C)
  6162. + #define    LVO_LoadRGB32    (-0x372)
  6163. + #define    LVO_SetChipRev    (-0x378)
  6164. + #define    LVO_SetABPenDrMd    (-0x37E)
  6165. + #define    LVO_GetRGB32    (-0x384)
  6166. + #define    LVO_graphicsPrivate7    (-0x38A)
  6167. + #define    LVO_graphicsPrivate8    (-0x390)
  6168. + #define    LVO_AllocBitMap    (-0x396)
  6169. + #define    LVO_FreeBitMap    (-0x39C)
  6170. + #define    LVO_GetExtSpriteA    (-0x3A2)
  6171. + #define    LVO_CoerceMode    (-0x3A8)
  6172. + #define    LVO_ChangeVPBitMap    (-0x3AE)
  6173. + #define    LVO_ReleasePen    (-0x3B4)
  6174. + #define    LVO_ObtainPen    (-0x3BA)
  6175. + #define    LVO_GetBitMapAttr    (-0x3C0)
  6176. + #define    LVO_AllocDBufInfo    (-0x3C6)
  6177. + #define    LVO_FreeDBufInfo    (-0x3CC)
  6178. + #define    LVO_SetOutlinePen    (-0x3D2)
  6179. + #define    LVO_SetWriteMask    (-0x3D8)
  6180. + #define    LVO_SetMaxPen    (-0x3DE)
  6181. + #define    LVO_SetRGB32CM    (-0x3E4)
  6182. + #define    LVO_ScrollRasterBF    (-0x3EA)
  6183. + #define    LVO_FindColor    (-0x3F0)
  6184. + #define    LVO_graphicsPrivate9    (-0x3F6)
  6185. + #define    LVO_AllocSpriteDataA    (-0x3FC)
  6186. + #define    LVO_ChangeExtSpriteA    (-0x402)
  6187. + #define    LVO_FreeSpriteData    (-0x408)
  6188. + #define    LVO_SetRPAttrsA    (-0x40E)
  6189. + #define    LVO_GetRPAttrsA    (-0x414)
  6190. + #define    LVO_BestModeIDA    (-0x41A)
  6191. + #define    LVO_WriteChunkyPixels    (-0x420)
  6192. + #endif
  6193. diff -c2 -d -P -r include_h/powerup/lvo/icon_lvo.h includenew/powerup/lvo/icon_lvo.h
  6194. *** include_h/powerup/lvo/icon_lvo.h    Thu Jan  1 00:00:00 1970
  6195. --- includenew/powerup/lvo/icon_lvo.h    Wed Feb 14 02:41:15 2001
  6196. ***************
  6197. *** 0 ****
  6198. --- 1,30 ----
  6199. + #ifndef _LVO_ICON_LIB_H
  6200. + #define _LVO_ICON_LIB_H
  6201. + /*
  6202. +  *  $VER: icon_lvolib.h (08/03/97)
  6203. +  *
  6204. +  */
  6205. + #define    LVO_iconPrivate1    (-0x1E)
  6206. + #define    LVO_iconPrivate2    (-0x24)
  6207. + #define    LVO_iconPrivate3    (-0x2A)
  6208. + #define    LVO_iconPrivate4    (-0x30)
  6209. + #define    LVO_FreeFreeList    (-0x36)
  6210. + #define    LVO_iconPrivate5    (-0x3C)
  6211. + #define    LVO_iconPrivate6    (-0x42)
  6212. + #define    LVO_AddFreeList    (-0x48)
  6213. + #define    LVO_GetDiskObject    (-0x4E)
  6214. + #define    LVO_PutDiskObject    (-0x54)
  6215. + #define    LVO_FreeDiskObject    (-0x5A)
  6216. + #define    LVO_FindToolType    (-0x60)
  6217. + #define    LVO_MatchToolValue    (-0x66)
  6218. + #define    LVO_BumpRevision    (-0x6C)
  6219. + #define    LVO_iconPrivate7    (-0x72)
  6220. + #define    LVO_GetDefDiskObject    (-0x78)
  6221. + #define    LVO_PutDefDiskObject    (-0x7E)
  6222. + #define    LVO_GetDiskObjectNew    (-0x84)
  6223. + #define    LVO_DeleteDiskObject    (-0x8A)
  6224. + #endif
  6225. diff -c2 -d -P -r include_h/powerup/lvo/iff_lvo.h includenew/powerup/lvo/iff_lvo.h
  6226. *** include_h/powerup/lvo/iff_lvo.h    Thu Jan  1 00:00:00 1970
  6227. --- includenew/powerup/lvo/iff_lvo.h    Wed Feb 14 02:41:15 2001
  6228. ***************
  6229. *** 0 ****
  6230. --- 1,30 ----
  6231. + #ifndef _LVO_IFF_LIB_H
  6232. + #define _LVO_IFF_LIB_H
  6233. + /*
  6234. +  *  $VER: iff_lvolib.h (08/03/97)
  6235. +  *
  6236. +  */
  6237. + #define    LVO_IFFL_OldOpenIFF    (-0x1E)
  6238. + #define    LVO_IFFL_CloseIFF    (-0x24)
  6239. + #define    LVO_IFFL_FindChunk    (-0x2A)
  6240. + #define    LVO_IFFL_GetBMHD    (-0x30)
  6241. + #define    LVO_IFFL_GetColorTab    (-0x36)
  6242. + #define    LVO_IFFL_DecodePic    (-0x3C)
  6243. + #define    LVO_IFFL_SaveBitMap    (-0x42)
  6244. + #define    LVO_IFFL_SaveClip    (-0x48)
  6245. + #define    LVO_IFFL_IFFError    (-0x4E)
  6246. + #define    LVO_IFFL_GetViewModes    (-0x54)
  6247. + #define    LVO_IFFL_OldNewOpenIFF    (-0x5A)
  6248. + #define    LVO_IFFL_ModifyFrame    (-0x60)
  6249. + #define    LVO_IFFL_OldPPOpenIFF    (-0x66)
  6250. + #define    LVO_IFFL_OpenIFF    (-0x78)
  6251. + #define    LVO_IFFL_PushChunk    (-0x7E)
  6252. + #define    LVO_IFFL_PopChunk    (-0x84)
  6253. + #define    LVO_IFFL_WriteChunkBytes    (-0x8A)
  6254. + #define    LVO_IFFL_CompressBlock    (-0x90)
  6255. + #define    LVO_IFFL_DecompressBlock    (-0x96)
  6256. + #endif
  6257. diff -c2 -d -P -r include_h/powerup/lvo/iffparse_lvo.h includenew/powerup/lvo/iffparse_lvo.h
  6258. *** include_h/powerup/lvo/iffparse_lvo.h    Thu Jan  1 00:00:00 1970
  6259. --- includenew/powerup/lvo/iffparse_lvo.h    Wed Feb 14 02:41:16 2001
  6260. ***************
  6261. *** 0 ****
  6262. --- 1,51 ----
  6263. + #ifndef _LVO_IFFPARSE_LIB_H
  6264. + #define _LVO_IFFPARSE_LIB_H
  6265. + /*
  6266. +  *  $VER: iffparse_lvolib.h (08/03/97)
  6267. +  *
  6268. +  */
  6269. + #define    LVO_AllocIFF    (-0x1E)
  6270. + #define    LVO_OpenIFF    (-0x24)
  6271. + #define    LVO_ParseIFF    (-0x2A)
  6272. + #define    LVO_CloseIFF    (-0x30)
  6273. + #define    LVO_FreeIFF    (-0x36)
  6274. + #define    LVO_ReadChunkBytes    (-0x3C)
  6275. + #define    LVO_WriteChunkBytes    (-0x42)
  6276. + #define    LVO_ReadChunkRecords    (-0x48)
  6277. + #define    LVO_WriteChunkRecords    (-0x4E)
  6278. + #define    LVO_PushChunk    (-0x54)
  6279. + #define    LVO_PopChunk    (-0x5A)
  6280. + #define    LVO_EntryHandler    (-0x66)
  6281. + #define    LVO_ExitHandler    (-0x6C)
  6282. + #define    LVO_PropChunk    (-0x72)
  6283. + #define    LVO_PropChunks    (-0x78)
  6284. + #define    LVO_StopChunk    (-0x7E)
  6285. + #define    LVO_StopChunks    (-0x84)
  6286. + #define    LVO_CollectionChunk    (-0x8A)
  6287. + #define    LVO_CollectionChunks    (-0x90)
  6288. + #define    LVO_StopOnExit    (-0x96)
  6289. + #define    LVO_FindProp    (-0x9C)
  6290. + #define    LVO_FindCollection    (-0xA2)
  6291. + #define    LVO_FindPropContext    (-0xA8)
  6292. + #define    LVO_CurrentChunk    (-0xAE)
  6293. + #define    LVO_ParentChunk    (-0xB4)
  6294. + #define    LVO_AllocLocalItem    (-0xBA)
  6295. + #define    LVO_LocalItemData    (-0xC0)
  6296. + #define    LVO_SetLocalItemPurge    (-0xC6)
  6297. + #define    LVO_FreeLocalItem    (-0xCC)
  6298. + #define    LVO_FindLocalItem    (-0xD2)
  6299. + #define    LVO_StoreLocalItem    (-0xD8)
  6300. + #define    LVO_StoreItemInContext    (-0xDE)
  6301. + #define    LVO_InitIFF    (-0xE4)
  6302. + #define    LVO_InitIFFasDOS    (-0xEA)
  6303. + #define    LVO_InitIFFasClip    (-0xF0)
  6304. + #define    LVO_OpenClipboard    (-0xF6)
  6305. + #define    LVO_CloseClipboard    (-0xFC)
  6306. + #define    LVO_GoodID    (-0x102)
  6307. + #define    LVO_GoodType    (-0x108)
  6308. + #define    LVO_IDtoStr    (-0x10E)
  6309. + #endif
  6310. diff -c2 -d -P -r include_h/powerup/lvo/input_lvo.h includenew/powerup/lvo/input_lvo.h
  6311. *** include_h/powerup/lvo/input_lvo.h    Thu Jan  1 00:00:00 1970
  6312. --- includenew/powerup/lvo/input_lvo.h    Wed Feb 14 02:41:16 2001
  6313. ***************
  6314. *** 0 ****
  6315. --- 1,12 ----
  6316. + #ifndef _LVO_INPUT_LIB_H
  6317. + #define _LVO_INPUT_LIB_H
  6318. + /*
  6319. +  *  $VER: input_lvolib.h (08/03/97)
  6320. +  *
  6321. +  */
  6322. + #define    LVO_PeekQualifier    (-0x2A)
  6323. + #endif
  6324. diff -c2 -d -P -r include_h/powerup/lvo/intuition_lvo.h includenew/powerup/lvo/intuition_lvo.h
  6325. *** include_h/powerup/lvo/intuition_lvo.h    Thu Jan  1 00:00:00 1970
  6326. --- includenew/powerup/lvo/intuition_lvo.h    Wed Feb 14 02:41:16 2001
  6327. ***************
  6328. *** 0 ****
  6329. --- 1,139 ----
  6330. + #ifndef _LVO_INTUITION_LIB_H
  6331. + #define _LVO_INTUITION_LIB_H
  6332. + /*
  6333. +  *  $VER: intuition_lvolib.h (08/03/97)
  6334. +  *
  6335. +  */
  6336. + #define    LVO_OpenIntuition    (-0x1E)
  6337. + #define    LVO_Intuition    (-0x24)
  6338. + #define    LVO_AddGadget    (-0x2A)
  6339. + #define    LVO_ClearDMRequest    (-0x30)
  6340. + #define    LVO_ClearMenuStrip    (-0x36)
  6341. + #define    LVO_ClearPointer    (-0x3C)
  6342. + #define    LVO_CloseScreen    (-0x42)
  6343. + #define    LVO_CloseWindow    (-0x48)
  6344. + #define    LVO_CloseWorkBench    (-0x4E)
  6345. + #define    LVO_CurrentTime    (-0x54)
  6346. + #define    LVO_DisplayAlert    (-0x5A)
  6347. + #define    LVO_DisplayBeep    (-0x60)
  6348. + #define    LVO_DoubleClick    (-0x66)
  6349. + #define    LVO_DrawBorder    (-0x6C)
  6350. + #define    LVO_DrawImage    (-0x72)
  6351. + #define    LVO_EndRequest    (-0x78)
  6352. + #define    LVO_GetDefPrefs    (-0x7E)
  6353. + #define    LVO_GetPrefs    (-0x84)
  6354. + #define    LVO_InitRequester    (-0x8A)
  6355. + #define    LVO_ItemAddress    (-0x90)
  6356. + #define    LVO_ModifyIDCMP    (-0x96)
  6357. + #define    LVO_ModifyProp    (-0x9C)
  6358. + #define    LVO_MoveScreen    (-0xA2)
  6359. + #define    LVO_MoveWindow    (-0xA8)
  6360. + #define    LVO_OffGadget    (-0xAE)
  6361. + #define    LVO_OffMenu    (-0xB4)
  6362. + #define    LVO_OnGadget    (-0xBA)
  6363. + #define    LVO_OnMenu    (-0xC0)
  6364. + #define    LVO_OpenScreen    (-0xC6)
  6365. + #define    LVO_OpenWindow    (-0xCC)
  6366. + #define    LVO_OpenWorkBench    (-0xD2)
  6367. + #define    LVO_PrintIText    (-0xD8)
  6368. + #define    LVO_RefreshGadgets    (-0xDE)
  6369. + #define    LVO_RemoveGadget    (-0xE4)
  6370. + #define    LVO_ReportMouse    (-0xEA)
  6371. + #define    LVO_Request    (-0xF0)
  6372. + #define    LVO_ScreenToBack    (-0xF6)
  6373. + #define    LVO_ScreenToFront    (-0xFC)
  6374. + #define    LVO_SetDMRequest    (-0x102)
  6375. + #define    LVO_SetMenuStrip    (-0x108)
  6376. + #define    LVO_SetPointer    (-0x10E)
  6377. + #define    LVO_SetWindowTitles    (-0x114)
  6378. + #define    LVO_ShowTitle    (-0x11A)
  6379. + #define    LVO_SizeWindow    (-0x120)
  6380. + #define    LVO_ViewAddress    (-0x126)
  6381. + #define    LVO_ViewPortAddress    (-0x12C)
  6382. + #define    LVO_WindowToBack    (-0x132)
  6383. + #define    LVO_WindowToFront    (-0x138)
  6384. + #define    LVO_WindowLimits    (-0x13E)
  6385. + #define    LVO_SetPrefs    (-0x144)
  6386. + #define    LVO_IntuiTextLength    (-0x14A)
  6387. + #define    LVO_WBenchToBack    (-0x150)
  6388. + #define    LVO_WBenchToFront    (-0x156)
  6389. + #define    LVO_AutoRequest    (-0x15C)
  6390. + #define    LVO_BeginRefresh    (-0x162)
  6391. + #define    LVO_BuildSysRequest    (-0x168)
  6392. + #define    LVO_EndRefresh    (-0x16E)
  6393. + #define    LVO_FreeSysRequest    (-0x174)
  6394. + #define    LVO_MakeScreen    (-0x17A)
  6395. + #define    LVO_RemakeDisplay    (-0x180)
  6396. + #define    LVO_RethinkDisplay    (-0x186)
  6397. + #define    LVO_AllocRemember    (-0x18C)
  6398. + #define    LVO_AlohaWorkbench    (-0x192)
  6399. + #define    LVO_FreeRemember    (-0x198)
  6400. + #define    LVO_LockIBase    (-0x19E)
  6401. + #define    LVO_UnlockIBase    (-0x1A4)
  6402. + #define    LVO_GetScreenData    (-0x1AA)
  6403. + #define    LVO_RefreshGList    (-0x1B0)
  6404. + #define    LVO_AddGList    (-0x1B6)
  6405. + #define    LVO_RemoveGList    (-0x1BC)
  6406. + #define    LVO_ActivateWindow    (-0x1C2)
  6407. + #define    LVO_RefreshWindowFrame    (-0x1C8)
  6408. + #define    LVO_ActivateGadget    (-0x1CE)
  6409. + #define    LVO_NewModifyProp    (-0x1D4)
  6410. + #define    LVO_QueryOverscan    (-0x1DA)
  6411. + #define    LVO_MoveWindowInFrontOf    (-0x1E0)
  6412. + #define    LVO_ChangeWindowBox    (-0x1E6)
  6413. + #define    LVO_SetEditHook    (-0x1EC)
  6414. + #define    LVO_SetMouseQueue    (-0x1F2)
  6415. + #define    LVO_ZipWindow    (-0x1F8)
  6416. + #define    LVO_LockPubScreen    (-0x1FE)
  6417. + #define    LVO_UnlockPubScreen    (-0x204)
  6418. + #define    LVO_LockPubScreenList    (-0x20A)
  6419. + #define    LVO_UnlockPubScreenList    (-0x210)
  6420. + #define    LVO_NextPubScreen    (-0x216)
  6421. + #define    LVO_SetDefaultPubScreen    (-0x21C)
  6422. + #define    LVO_SetPubScreenModes    (-0x222)
  6423. + #define    LVO_PubScreenStatus    (-0x228)
  6424. + #define    LVO_ObtainGIRPort    (-0x22E)
  6425. + #define    LVO_ReleaseGIRPort    (-0x234)
  6426. + #define    LVO_GadgetMouse    (-0x23A)
  6427. + #define    LVO_intuitionPrivate1    (-0x240)
  6428. + #define    LVO_GetDefaultPubScreen    (-0x246)
  6429. + #define    LVO_EasyRequestArgs    (-0x24C)
  6430. + #define    LVO_BuildEasyRequestArgs    (-0x252)
  6431. + #define    LVO_SysReqHandler    (-0x258)
  6432. + #define    LVO_OpenWindowTagList    (-0x25E)
  6433. + #define    LVO_OpenScreenTagList    (-0x264)
  6434. + #define    LVO_DrawImageState    (-0x26A)
  6435. + #define    LVO_PointInImage    (-0x270)
  6436. + #define    LVO_EraseImage    (-0x276)
  6437. + #define    LVO_NewObjectA    (-0x27C)
  6438. + #define    LVO_DisposeObject    (-0x282)
  6439. + #define    LVO_SetAttrsA    (-0x288)
  6440. + #define    LVO_GetAttr    (-0x28E)
  6441. + #define    LVO_SetGadgetAttrsA    (-0x294)
  6442. + #define    LVO_NextObject    (-0x29A)
  6443. + #define    LVO_intuitionPrivate2    (-0x2A0)
  6444. + #define    LVO_MakeClass    (-0x2A6)
  6445. + #define    LVO_AddClass    (-0x2AC)
  6446. + #define    LVO_GetScreenDrawInfo    (-0x2B2)
  6447. + #define    LVO_FreeScreenDrawInfo    (-0x2B8)
  6448. + #define    LVO_ResetMenuStrip    (-0x2BE)
  6449. + #define    LVO_RemoveClass    (-0x2C4)
  6450. + #define    LVO_FreeClass    (-0x2CA)
  6451. + #define    LVO_intuitionPrivate3    (-0x2D0)
  6452. + #define    LVO_intuitionPrivate4    (-0x2D6)
  6453. + #define    LVO_AllocScreenBuffer    (-0x300)
  6454. + #define    LVO_FreeScreenBuffer    (-0x306)
  6455. + #define    LVO_ChangeScreenBuffer    (-0x30C)
  6456. + #define    LVO_ScreenDepth    (-0x312)
  6457. + #define    LVO_ScreenPosition    (-0x318)
  6458. + #define    LVO_ScrollWindowRaster    (-0x31E)
  6459. + #define    LVO_LendMenus    (-0x324)
  6460. + #define    LVO_DoGadgetMethodA    (-0x32A)
  6461. + #define    LVO_SetWindowPointerA    (-0x330)
  6462. + #define    LVO_TimedDisplayAlert    (-0x336)
  6463. + #define    LVO_HelpControl    (-0x33C)
  6464. + #endif
  6465. diff -c2 -d -P -r include_h/powerup/lvo/keymap_lvo.h includenew/powerup/lvo/keymap_lvo.h
  6466. *** include_h/powerup/lvo/keymap_lvo.h    Thu Jan  1 00:00:00 1970
  6467. --- includenew/powerup/lvo/keymap_lvo.h    Wed Feb 14 02:41:16 2001
  6468. ***************
  6469. *** 0 ****
  6470. --- 1,15 ----
  6471. + #ifndef _LVO_KEYMAP_LIB_H
  6472. + #define _LVO_KEYMAP_LIB_H
  6473. + /*
  6474. +  *  $VER: keymap_lvolib.h (08/03/97)
  6475. +  *
  6476. +  */
  6477. + #define    LVO_SetKeyMapDefault    (-0x1E)
  6478. + #define    LVO_AskKeyMapDefault    (-0x24)
  6479. + #define    LVO_MapRawKey    (-0x2A)
  6480. + #define    LVO_MapANSI    (-0x30)
  6481. + #endif
  6482. diff -c2 -d -P -r include_h/powerup/lvo/layers_lvo.h includenew/powerup/lvo/layers_lvo.h
  6483. *** include_h/powerup/lvo/layers_lvo.h    Thu Jan  1 00:00:00 1970
  6484. --- includenew/powerup/lvo/layers_lvo.h    Wed Feb 14 02:41:16 2001
  6485. ***************
  6486. *** 0 ****
  6487. --- 1,43 ----
  6488. + #ifndef _LVO_LAYERS_LIB_H
  6489. + #define _LVO_LAYERS_LIB_H
  6490. + /*
  6491. +  *  $VER: layers_lvolib.h (08/03/97)
  6492. +  *
  6493. +  */
  6494. + #define    LVO_InitLayers    (-0x1E)
  6495. + #define    LVO_CreateUpfrontLayer    (-0x24)
  6496. + #define    LVO_CreateBehindLayer    (-0x2A)
  6497. + #define    LVO_UpfrontLayer    (-0x30)
  6498. + #define    LVO_BehindLayer    (-0x36)
  6499. + #define    LVO_MoveLayer    (-0x3C)
  6500. + #define    LVO_SizeLayer    (-0x42)
  6501. + #define    LVO_ScrollLayer    (-0x48)
  6502. + #define    LVO_BeginUpdate    (-0x4E)
  6503. + #define    LVO_EndUpdate    (-0x54)
  6504. + #define    LVO_DeleteLayer    (-0x5A)
  6505. + #define    LVO_LockLayer    (-0x60)
  6506. + #define    LVO_UnlockLayer    (-0x66)
  6507. + #define    LVO_LockLayers    (-0x6C)
  6508. + #define    LVO_UnlockLayers    (-0x72)
  6509. + #define    LVO_LockLayerInfo    (-0x78)
  6510. + #define    LVO_SwapBitsRastPortClipRect    (-0x7E)
  6511. + #define    LVO_WhichLayer    (-0x84)
  6512. + #define    LVO_UnlockLayerInfo    (-0x8A)
  6513. + #define    LVO_NewLayerInfo    (-0x90)
  6514. + #define    LVO_DisposeLayerInfo    (-0x96)
  6515. + #define    LVO_FattenLayerInfo    (-0x9C)
  6516. + #define    LVO_ThinLayerInfo    (-0xA2)
  6517. + #define    LVO_MoveLayerInFrontOf    (-0xA8)
  6518. + #define    LVO_InstallClipRegion    (-0xAE)
  6519. + #define    LVO_MoveSizeLayer    (-0xB4)
  6520. + #define    LVO_CreateUpfrontHookLayer    (-0xBA)
  6521. + #define    LVO_CreateBehindHookLayer    (-0xC0)
  6522. + #define    LVO_InstallLayerHook    (-0xC6)
  6523. + #define    LVO_InstallLayerInfoHook    (-0xCC)
  6524. + #define    LVO_SortLayerCR    (-0xD2)
  6525. + #define    LVO_DoHookClipRects    (-0xD8)
  6526. + #endif
  6527. diff -c2 -d -P -r include_h/powerup/lvo/locale_lvo.h includenew/powerup/lvo/locale_lvo.h
  6528. *** include_h/powerup/lvo/locale_lvo.h    Thu Jan  1 00:00:00 1970
  6529. --- includenew/powerup/lvo/locale_lvo.h    Wed Feb 14 02:41:16 2001
  6530. ***************
  6531. *** 0 ****
  6532. --- 1,43 ----
  6533. + #ifndef _LVO_LOCALE_LIB_H
  6534. + #define _LVO_LOCALE_LIB_H
  6535. + /*
  6536. +  *  $VER: locale_lvolib.h (08/03/97)
  6537. +  *
  6538. +  */
  6539. + #define    LVO_localePrivate1    (-0x1E)
  6540. + #define    LVO_CloseCatalog    (-0x24)
  6541. + #define    LVO_CloseLocale    (-0x2A)
  6542. + #define    LVO_ConvToLower    (-0x30)
  6543. + #define    LVO_ConvToUpper    (-0x36)
  6544. + #define    LVO_FormatDate    (-0x3C)
  6545. + #define    LVO_FormatString    (-0x42)
  6546. + #define    LVO_GetCatalogStr    (-0x48)
  6547. + #define    LVO_GetLocaleStr    (-0x4E)
  6548. + #define    LVO_IsAlNum    (-0x54)
  6549. + #define    LVO_IsAlpha    (-0x5A)
  6550. + #define    LVO_IsCntrl    (-0x60)
  6551. + #define    LVO_IsDigit    (-0x66)
  6552. + #define    LVO_IsGraph    (-0x6C)
  6553. + #define    LVO_IsLower    (-0x72)
  6554. + #define    LVO_IsPrint    (-0x78)
  6555. + #define    LVO_IsPunct    (-0x7E)
  6556. + #define    LVO_IsSpace    (-0x84)
  6557. + #define    LVO_IsUpper    (-0x8A)
  6558. + #define    LVO_IsXDigit    (-0x90)
  6559. + #define    LVO_OpenCatalogA    (-0x96)
  6560. + #define    LVO_OpenLocale    (-0x9C)
  6561. + #define    LVO_ParseDate    (-0xA2)
  6562. + #define    LVO_localePrivate2    (-0xA8)
  6563. + #define    LVO_StrConvert    (-0xAE)
  6564. + #define    LVO_StrnCmp    (-0xB4)
  6565. + #define    LVO_localePrivate3    (-0xBA)
  6566. + #define    LVO_localePrivate4    (-0xC0)
  6567. + #define    LVO_localePrivate5    (-0xC6)
  6568. + #define    LVO_localePrivate6    (-0xCC)
  6569. + #define    LVO_localePrivate7    (-0xD2)
  6570. + #define    LVO_localePrivate8    (-0xD8)
  6571. + #endif
  6572. diff -c2 -d -P -r include_h/powerup/lvo/lowlevel_lvo.h includenew/powerup/lvo/lowlevel_lvo.h
  6573. *** include_h/powerup/lvo/lowlevel_lvo.h    Thu Jan  1 00:00:00 1970
  6574. --- includenew/powerup/lvo/lowlevel_lvo.h    Wed Feb 14 02:41:16 2001
  6575. ***************
  6576. *** 0 ****
  6577. --- 1,34 ----
  6578. + #ifndef _LVO_LOWLEVEL_LIB_H
  6579. + #define _LVO_LOWLEVEL_LIB_H
  6580. + /*
  6581. +  *  $VER: lowlevel_lvolib.h (08/03/97)
  6582. +  *
  6583. +  */
  6584. + #define    LVO_ReadJoyPort    (-0x1E)
  6585. + #define    LVO_GetLanguageSelection    (-0x24)
  6586. + #define    LVO_lowlevelPrivate1    (-0x2A)
  6587. + #define    LVO_GetKey    (-0x30)
  6588. + #define    LVO_QueryKeys    (-0x36)
  6589. + #define    LVO_AddKBInt    (-0x3C)
  6590. + #define    LVO_RemKBInt    (-0x42)
  6591. + #define    LVO_SystemControlA    (-0x48)
  6592. + #define    LVO_AddTimerInt    (-0x4E)
  6593. + #define    LVO_RemTimerInt    (-0x54)
  6594. + #define    LVO_StopTimerInt    (-0x5A)
  6595. + #define    LVO_StartTimerInt    (-0x60)
  6596. + #define    LVO_ElapsedTime    (-0x66)
  6597. + #define    LVO_AddVBlankInt    (-0x6C)
  6598. + #define    LVO_RemVBlankInt    (-0x72)
  6599. + #define    LVO_lowlevelPrivate2    (-0x78)
  6600. + #define    LVO_lowlevelPrivate3    (-0x7E)
  6601. + #define    LVO_SetJoyPortAttrsA    (-0x84)
  6602. + #define    LVO_lowlevelPrivate4    (-0x8A)
  6603. + #define    LVO_lowlevelPrivate5    (-0x90)
  6604. + #define    LVO_lowlevelPrivate6    (-0x96)
  6605. + #define    LVO_lowlevelPrivate7    (-0x9C)
  6606. + #define    LVO_lowlevelPrivate8    (-0xA2)
  6607. + #endif
  6608. diff -c2 -d -P -r include_h/powerup/lvo/mathffp_lvo.h includenew/powerup/lvo/mathffp_lvo.h
  6609. *** include_h/powerup/lvo/mathffp_lvo.h    Thu Jan  1 00:00:00 1970
  6610. --- includenew/powerup/lvo/mathffp_lvo.h    Wed Feb 14 02:41:16 2001
  6611. ***************
  6612. *** 0 ****
  6613. --- 1,23 ----
  6614. + #ifndef _LVO_MATHFFP_LIB_H
  6615. + #define _LVO_MATHFFP_LIB_H
  6616. + /*
  6617. +  *  $VER: mathffp_lvolib.h (08/03/97)
  6618. +  *
  6619. +  */
  6620. + #define    LVO_SPFix    (-0x1E)
  6621. + #define    LVO_SPFlt    (-0x24)
  6622. + #define    LVO_SPCmp    (-0x2A)
  6623. + #define    LVO_SPTst    (-0x30)
  6624. + #define    LVO_SPAbs    (-0x36)
  6625. + #define    LVO_SPNeg    (-0x3C)
  6626. + #define    LVO_SPAdd    (-0x42)
  6627. + #define    LVO_SPSub    (-0x48)
  6628. + #define    LVO_SPMul    (-0x4E)
  6629. + #define    LVO_SPDiv    (-0x54)
  6630. + #define    LVO_SPFloor    (-0x5A)
  6631. + #define    LVO_SPCeil    (-0x60)
  6632. + #endif
  6633. diff -c2 -d -P -r include_h/powerup/lvo/mathieeedoubbas_lvo.h includenew/powerup/lvo/mathieeedoubbas_lvo.h
  6634. *** include_h/powerup/lvo/mathieeedoubbas_lvo.h    Thu Jan  1 00:00:00 1970
  6635. --- includenew/powerup/lvo/mathieeedoubbas_lvo.h    Wed Feb 14 02:41:16 2001
  6636. ***************
  6637. *** 0 ****
  6638. --- 1,23 ----
  6639. + #ifndef _LVO_MATHIEEEDOUBBAS_LIB_H
  6640. + #define _LVO_MATHIEEEDOUBBAS_LIB_H
  6641. + /*
  6642. +  *  $VER: mathieeedoubbas_lvolib.h (08/03/97)
  6643. +  *
  6644. +  */
  6645. + #define    LVO_IEEEDPFix    (-0x1E)
  6646. + #define    LVO_IEEEDPFlt    (-0x24)
  6647. + #define    LVO_IEEEDPCmp    (-0x2A)
  6648. + #define    LVO_IEEEDPTst    (-0x30)
  6649. + #define    LVO_IEEEDPAbs    (-0x36)
  6650. + #define    LVO_IEEEDPNeg    (-0x3C)
  6651. + #define    LVO_IEEEDPAdd    (-0x42)
  6652. + #define    LVO_IEEEDPSub    (-0x48)
  6653. + #define    LVO_IEEEDPMul    (-0x4E)
  6654. + #define    LVO_IEEEDPDiv    (-0x54)
  6655. + #define    LVO_IEEEDPFloor    (-0x5A)
  6656. + #define    LVO_IEEEDPCeil    (-0x60)
  6657. + #endif
  6658. diff -c2 -d -P -r include_h/powerup/lvo/mathieeedoubtrans_lvo.h includenew/powerup/lvo/mathieeedoubtrans_lvo.h
  6659. *** include_h/powerup/lvo/mathieeedoubtrans_lvo.h    Thu Jan  1 00:00:00 1970
  6660. --- includenew/powerup/lvo/mathieeedoubtrans_lvo.h    Wed Feb 14 02:41:16 2001
  6661. ***************
  6662. *** 0 ****
  6663. --- 1,28 ----
  6664. + #ifndef _LVO_MATHIEEEDOUBTRANS_LIB_H
  6665. + #define _LVO_MATHIEEEDOUBTRANS_LIB_H
  6666. + /*
  6667. +  *  $VER: mathieeedoubtrans_lvolib.h (08/03/97)
  6668. +  *
  6669. +  */
  6670. + #define    LVO_IEEEDPAtan    (-0x1E)
  6671. + #define    LVO_IEEEDPSin    (-0x24)
  6672. + #define    LVO_IEEEDPCos    (-0x2A)
  6673. + #define    LVO_IEEEDPTan    (-0x30)
  6674. + #define    LVO_IEEEDPSincos    (-0x36)
  6675. + #define    LVO_IEEEDPSinh    (-0x3C)
  6676. + #define    LVO_IEEEDPCosh    (-0x42)
  6677. + #define    LVO_IEEEDPTanh    (-0x48)
  6678. + #define    LVO_IEEEDPExp    (-0x4E)
  6679. + #define    LVO_IEEEDPLog    (-0x54)
  6680. + #define    LVO_IEEEDPPow    (-0x5A)
  6681. + #define    LVO_IEEEDPSqrt    (-0x60)
  6682. + #define    LVO_IEEEDPTieee    (-0x66)
  6683. + #define    LVO_IEEEDPFieee    (-0x6C)
  6684. + #define    LVO_IEEEDPAsin    (-0x72)
  6685. + #define    LVO_IEEEDPAcos    (-0x78)
  6686. + #define    LVO_IEEEDPLog10    (-0x7E)
  6687. + #endif
  6688. diff -c2 -d -P -r include_h/powerup/lvo/mathieeesingbas_lvo.h includenew/powerup/lvo/mathieeesingbas_lvo.h
  6689. *** include_h/powerup/lvo/mathieeesingbas_lvo.h    Thu Jan  1 00:00:00 1970
  6690. --- includenew/powerup/lvo/mathieeesingbas_lvo.h    Wed Feb 14 02:41:16 2001
  6691. ***************
  6692. *** 0 ****
  6693. --- 1,23 ----
  6694. + #ifndef _LVO_MATHIEEESINGBAS_LIB_H
  6695. + #define _LVO_MATHIEEESINGBAS_LIB_H
  6696. + /*
  6697. +  *  $VER: mathieeesingbas_lvolib.h (08/03/97)
  6698. +  *
  6699. +  */
  6700. + #define    LVO_IEEESPFix    (-0x1E)
  6701. + #define    LVO_IEEESPFlt    (-0x24)
  6702. + #define    LVO_IEEESPCmp    (-0x2A)
  6703. + #define    LVO_IEEESPTst    (-0x30)
  6704. + #define    LVO_IEEESPAbs    (-0x36)
  6705. + #define    LVO_IEEESPNeg    (-0x3C)
  6706. + #define    LVO_IEEESPAdd    (-0x42)
  6707. + #define    LVO_IEEESPSub    (-0x48)
  6708. + #define    LVO_IEEESPMul    (-0x4E)
  6709. + #define    LVO_IEEESPDiv    (-0x54)
  6710. + #define    LVO_IEEESPFloor    (-0x5A)
  6711. + #define    LVO_IEEESPCeil    (-0x60)
  6712. + #endif
  6713. diff -c2 -d -P -r include_h/powerup/lvo/mathieeesingtrans_lvo.h includenew/powerup/lvo/mathieeesingtrans_lvo.h
  6714. *** include_h/powerup/lvo/mathieeesingtrans_lvo.h    Thu Jan  1 00:00:00 1970
  6715. --- includenew/powerup/lvo/mathieeesingtrans_lvo.h    Wed Feb 14 02:41:16 2001
  6716. ***************
  6717. *** 0 ****
  6718. --- 1,28 ----
  6719. + #ifndef _LVO_MATHIEEESINGTRANS_LIB_H
  6720. + #define _LVO_MATHIEEESINGTRANS_LIB_H
  6721. + /*
  6722. +  *  $VER: mathieeesingtrans_lvolib.h (08/03/97)
  6723. +  *
  6724. +  */
  6725. + #define    LVO_IEEESPAtan    (-0x1E)
  6726. + #define    LVO_IEEESPSin    (-0x24)
  6727. + #define    LVO_IEEESPCos    (-0x2A)
  6728. + #define    LVO_IEEESPTan    (-0x30)
  6729. + #define    LVO_IEEESPSincos    (-0x36)
  6730. + #define    LVO_IEEESPSinh    (-0x3C)
  6731. + #define    LVO_IEEESPCosh    (-0x42)
  6732. + #define    LVO_IEEESPTanh    (-0x48)
  6733. + #define    LVO_IEEESPExp    (-0x4E)
  6734. + #define    LVO_IEEESPLog    (-0x54)
  6735. + #define    LVO_IEEESPPow    (-0x5A)
  6736. + #define    LVO_IEEESPSqrt    (-0x60)
  6737. + #define    LVO_IEEESPTieee    (-0x66)
  6738. + #define    LVO_IEEESPFieee    (-0x6C)
  6739. + #define    LVO_IEEESPAsin    (-0x72)
  6740. + #define    LVO_IEEESPAcos    (-0x78)
  6741. + #define    LVO_IEEESPLog10    (-0x7E)
  6742. + #endif
  6743. diff -c2 -d -P -r include_h/powerup/lvo/mathtrans_lvo.h includenew/powerup/lvo/mathtrans_lvo.h
  6744. *** include_h/powerup/lvo/mathtrans_lvo.h    Thu Jan  1 00:00:00 1970
  6745. --- includenew/powerup/lvo/mathtrans_lvo.h    Wed Feb 14 02:41:16 2001
  6746. ***************
  6747. *** 0 ****
  6748. --- 1,28 ----
  6749. + #ifndef _LVO_MATHTRANS_LIB_H
  6750. + #define _LVO_MATHTRANS_LIB_H
  6751. + /*
  6752. +  *  $VER: mathtrans_lvolib.h (08/03/97)
  6753. +  *
  6754. +  */
  6755. + #define    LVO_SPAtan    (-0x1E)
  6756. + #define    LVO_SPSin    (-0x24)
  6757. + #define    LVO_SPCos    (-0x2A)
  6758. + #define    LVO_SPTan    (-0x30)
  6759. + #define    LVO_SPSincos    (-0x36)
  6760. + #define    LVO_SPSinh    (-0x3C)
  6761. + #define    LVO_SPCosh    (-0x42)
  6762. + #define    LVO_SPTanh    (-0x48)
  6763. + #define    LVO_SPExp    (-0x4E)
  6764. + #define    LVO_SPLog    (-0x54)
  6765. + #define    LVO_SPPow    (-0x5A)
  6766. + #define    LVO_SPSqrt    (-0x60)
  6767. + #define    LVO_SPTieee    (-0x66)
  6768. + #define    LVO_SPFieee    (-0x6C)
  6769. + #define    LVO_SPAsin    (-0x72)
  6770. + #define    LVO_SPAcos    (-0x78)
  6771. + #define    LVO_SPLog10    (-0x7E)
  6772. + #endif
  6773. diff -c2 -d -P -r include_h/powerup/lvo/misc_lvo.h includenew/powerup/lvo/misc_lvo.h
  6774. *** include_h/powerup/lvo/misc_lvo.h    Thu Jan  1 00:00:00 1970
  6775. --- includenew/powerup/lvo/misc_lvo.h    Wed Feb 14 02:41:16 2001
  6776. ***************
  6777. *** 0 ****
  6778. --- 1,13 ----
  6779. + #ifndef _LVO_MISC_LIB_H
  6780. + #define _LVO_MISC_LIB_H
  6781. + /*
  6782. +  *  $VER: misc_lvolib.h (08/03/97)
  6783. +  *
  6784. +  */
  6785. + #define    LVO_AllocMiscResource    (-0x6)
  6786. + #define    LVO_FreeMiscResource    (-0xC)
  6787. + #endif
  6788. diff -c2 -d -P -r include_h/powerup/lvo/muimaster_lvo.h includenew/powerup/lvo/muimaster_lvo.h
  6789. *** include_h/powerup/lvo/muimaster_lvo.h    Thu Jan  1 00:00:00 1970
  6790. --- includenew/powerup/lvo/muimaster_lvo.h    Wed Feb 14 02:41:16 2001
  6791. ***************
  6792. *** 0 ****
  6793. --- 1,18 ----
  6794. + #ifndef _LVO_MUIMASTER_LIB_H
  6795. + #define _LVO_MUIMASTER_LIB_H
  6796. + /*
  6797. +  *  $VER: muimaster_lvolib.h (08/03/97)
  6798. +  *
  6799. +  */
  6800. + #define    LVO_MUI_NewObjectA    (-0x1E)
  6801. + #define    LVO_MUI_DisposeObject    (-0x24)
  6802. + #define    LVO_MUI_RequestA    (-0x2A)
  6803. + #define    LVO_MUI_AllocAslRequest    (-0x30)
  6804. + #define    LVO_MUI_AslRequest    (-0x36)
  6805. + #define    LVO_MUI_FreeAslRequest    (-0x3C)
  6806. + #define    LVO_MUI_Error    (-0x42)
  6807. + #endif
  6808. diff -c2 -d -P -r include_h/powerup/lvo/nonvolatile_lvo.h includenew/powerup/lvo/nonvolatile_lvo.h
  6809. *** include_h/powerup/lvo/nonvolatile_lvo.h    Thu Jan  1 00:00:00 1970
  6810. --- includenew/powerup/lvo/nonvolatile_lvo.h    Wed Feb 14 02:41:17 2001
  6811. ***************
  6812. *** 0 ****
  6813. --- 1,18 ----
  6814. + #ifndef _LVO_NONVOLATILE_LIB_H
  6815. + #define _LVO_NONVOLATILE_LIB_H
  6816. + /*
  6817. +  *  $VER: nonvolatile_lvolib.h (08/03/97)
  6818. +  *
  6819. +  */
  6820. + #define    LVO_GetCopyNV    (-0x1E)
  6821. + #define    LVO_FreeNVData    (-0x24)
  6822. + #define    LVO_StoreNV    (-0x2A)
  6823. + #define    LVO_DeleteNV    (-0x30)
  6824. + #define    LVO_GetNVInfo    (-0x36)
  6825. + #define    LVO_GetNVList    (-0x3C)
  6826. + #define    LVO_SetNVProtection    (-0x42)
  6827. + #endif
  6828. diff -c2 -d -P -r include_h/powerup/lvo/potgo_lvo.h includenew/powerup/lvo/potgo_lvo.h
  6829. *** include_h/powerup/lvo/potgo_lvo.h    Thu Jan  1 00:00:00 1970
  6830. --- includenew/powerup/lvo/potgo_lvo.h    Wed Feb 14 02:41:17 2001
  6831. ***************
  6832. *** 0 ****
  6833. --- 1,14 ----
  6834. + #ifndef _LVO_POTGO_LIB_H
  6835. + #define _LVO_POTGO_LIB_H
  6836. + /*
  6837. +  *  $VER: potgo_lvolib.h (08/03/97)
  6838. +  *
  6839. +  */
  6840. + #define    LVO_AllocPotBits    (-0x6)
  6841. + #define    LVO_FreePotBits    (-0xC)
  6842. + #define    LVO_WritePotgo    (-0x12)
  6843. + #endif
  6844. diff -c2 -d -P -r include_h/powerup/lvo/ramdrive_lvo.h includenew/powerup/lvo/ramdrive_lvo.h
  6845. *** include_h/powerup/lvo/ramdrive_lvo.h    Thu Jan  1 00:00:00 1970
  6846. --- includenew/powerup/lvo/ramdrive_lvo.h    Wed Feb 14 02:41:17 2001
  6847. ***************
  6848. *** 0 ****
  6849. --- 1,13 ----
  6850. + #ifndef _LVO_RAMDRIVE_LIB_H
  6851. + #define _LVO_RAMDRIVE_LIB_H
  6852. + /*
  6853. +  *  $VER: ramdrive_lvolib.h (08/03/97)
  6854. +  *
  6855. +  */
  6856. + #define    LVO_KillRAD0    (-0x2A)
  6857. + #define    LVO_KillRAD    (-0x30)
  6858. + #endif
  6859. diff -c2 -d -P -r include_h/powerup/lvo/realtime_lvo.h includenew/powerup/lvo/realtime_lvo.h
  6860. *** include_h/powerup/lvo/realtime_lvo.h    Thu Jan  1 00:00:00 1970
  6861. --- includenew/powerup/lvo/realtime_lvo.h    Wed Feb 14 02:41:17 2001
  6862. ***************
  6863. *** 0 ****
  6864. --- 1,21 ----
  6865. + #ifndef _LVO_REALTIME_LIB_H
  6866. + #define _LVO_REALTIME_LIB_H
  6867. + /*
  6868. +  *  $VER: realtime_lvolib.h (08/03/97)
  6869. +  *
  6870. +  */
  6871. + #define    LVO_LockRealTime    (-0x1E)
  6872. + #define    LVO_UnlockRealTime    (-0x24)
  6873. + #define    LVO_CreatePlayerA    (-0x2A)
  6874. + #define    LVO_DeletePlayer    (-0x30)
  6875. + #define    LVO_SetPlayerAttrsA    (-0x36)
  6876. + #define    LVO_SetConductorState    (-0x3C)
  6877. + #define    LVO_ExternalSync    (-0x42)
  6878. + #define    LVO_NextConductor    (-0x48)
  6879. + #define    LVO_FindConductor    (-0x4E)
  6880. + #define    LVO_GetPlayerAttrsA    (-0x54)
  6881. + #endif
  6882. diff -c2 -d -P -r include_h/powerup/lvo/rexxsyslib_lvo.h includenew/powerup/lvo/rexxsyslib_lvo.h
  6883. *** include_h/powerup/lvo/rexxsyslib_lvo.h    Thu Jan  1 00:00:00 1970
  6884. --- includenew/powerup/lvo/rexxsyslib_lvo.h    Wed Feb 14 02:41:17 2001
  6885. ***************
  6886. *** 0 ****
  6887. --- 1,21 ----
  6888. + #ifndef _LVO_REXXSYSLIB_LIB_H
  6889. + #define _LVO_REXXSYSLIB_LIB_H
  6890. + /*
  6891. +  *  $VER: rexxsyslib_lvolib.h (08/03/97)
  6892. +  *
  6893. +  */
  6894. + #define    LVO_CreateArgstring    (-0x7E)
  6895. + #define    LVO_DeleteArgstring    (-0x84)
  6896. + #define    LVO_LengthArgstring    (-0x8A)
  6897. + #define    LVO_CreateRexxMsg    (-0x90)
  6898. + #define    LVO_DeleteRexxMsg    (-0x96)
  6899. + #define    LVO_ClearRexxMsg    (-0x9C)
  6900. + #define    LVO_FillRexxMsg    (-0xA2)
  6901. + #define    LVO_IsRexxMsg    (-0xA8)
  6902. + #define    LVO_LockRexxBase    (-0x1C2)
  6903. + #define    LVO_UnlockRexxBase    (-0x1C8)
  6904. + #endif
  6905. diff -c2 -d -P -r include_h/powerup/lvo/timer_lvo.h includenew/powerup/lvo/timer_lvo.h
  6906. *** include_h/powerup/lvo/timer_lvo.h    Thu Jan  1 00:00:00 1970
  6907. --- includenew/powerup/lvo/timer_lvo.h    Wed Feb 14 02:41:17 2001
  6908. ***************
  6909. *** 0 ****
  6910. --- 1,16 ----
  6911. + #ifndef _LVO_TIMER_LIB_H
  6912. + #define _LVO_TIMER_LIB_H
  6913. + /*
  6914. +  *  $VER: timer_lvolib.h (08/03/97)
  6915. +  *
  6916. +  */
  6917. + #define    LVO_AddTime    (-0x2A)
  6918. + #define    LVO_SubTime    (-0x30)
  6919. + #define    LVO_CmpTime    (-0x36)
  6920. + #define    LVO_ReadEClock    (-0x3C)
  6921. + #define    LVO_GetSysTime    (-0x42)
  6922. + #endif
  6923. diff -c2 -d -P -r include_h/powerup/lvo/translator_lvo.h includenew/powerup/lvo/translator_lvo.h
  6924. *** include_h/powerup/lvo/translator_lvo.h    Thu Jan  1 00:00:00 1970
  6925. --- includenew/powerup/lvo/translator_lvo.h    Wed Feb 14 02:41:17 2001
  6926. ***************
  6927. *** 0 ****
  6928. --- 1,12 ----
  6929. + #ifndef _LVO_TRANSLATOR_LIB_H
  6930. + #define _LVO_TRANSLATOR_LIB_H
  6931. + /*
  6932. +  *  $VER: translator_lvolib.h (08/03/97)
  6933. +  *
  6934. +  */
  6935. + #define    LVO_Translate    (-0x1E)
  6936. + #endif
  6937. diff -c2 -d -P -r include_h/powerup/lvo/utility_lvo.h includenew/powerup/lvo/utility_lvo.h
  6938. *** include_h/powerup/lvo/utility_lvo.h    Thu Jan  1 00:00:00 1970
  6939. --- includenew/powerup/lvo/utility_lvo.h    Wed Feb 14 02:41:17 2001
  6940. ***************
  6941. *** 0 ****
  6942. --- 1,49 ----
  6943. + #ifndef _LVO_UTILITY_LIB_H
  6944. + #define _LVO_UTILITY_LIB_H
  6945. + /*
  6946. +  *  $VER: utility_lvolib.h (08/03/97)
  6947. +  *
  6948. +  */
  6949. + #define    LVO_FindTagItem    (-0x1E)
  6950. + #define    LVO_GetTagData    (-0x24)
  6951. + #define    LVO_PackBoolTags    (-0x2A)
  6952. + #define    LVO_NextTagItem    (-0x30)
  6953. + #define    LVO_FilterTagChanges    (-0x36)
  6954. + #define    LVO_MapTags    (-0x3C)
  6955. + #define    LVO_AllocateTagItems    (-0x42)
  6956. + #define    LVO_CloneTagItems    (-0x48)
  6957. + #define    LVO_FreeTagItems    (-0x4E)
  6958. + #define    LVO_RefreshTagItemClones    (-0x54)
  6959. + #define    LVO_TagInArray    (-0x5A)
  6960. + #define    LVO_FilterTagItems    (-0x60)
  6961. + #define    LVO_CallHookPkt    (-0x66)
  6962. + #define    LVO_Amiga2Date    (-0x78)
  6963. + #define    LVO_Date2Amiga    (-0x7E)
  6964. + #define    LVO_CheckDate    (-0x84)
  6965. + #define    LVO_SMult32    (-0x8A)
  6966. + #define    LVO_UMult32    (-0x90)
  6967. + #define    LVO_SDivMod32    (-0x96)
  6968. + #define    LVO_UDivMod32    (-0x9C)
  6969. + #define    LVO_Stricmp    (-0xA2)
  6970. + #define    LVO_Strnicmp    (-0xA8)
  6971. + #define    LVO_ToUpper    (-0xAE)
  6972. + #define    LVO_ToLower    (-0xB4)
  6973. + #define    LVO_ApplyTagChanges    (-0xBA)
  6974. + #define    LVO_SMult64    (-0xC6)
  6975. + #define    LVO_UMult64    (-0xCC)
  6976. + #define    LVO_PackStructureTags    (-0xD2)
  6977. + #define    LVO_UnpackStructureTags    (-0xD8)
  6978. + #define    LVO_AddNamedObject    (-0xDE)
  6979. + #define    LVO_AllocNamedObjectA    (-0xE4)
  6980. + #define    LVO_AttemptRemNamedObject    (-0xEA)
  6981. + #define    LVO_FindNamedObject    (-0xF0)
  6982. + #define    LVO_FreeNamedObject    (-0xF6)
  6983. + #define    LVO_NamedObjectName    (-0xFC)
  6984. + #define    LVO_ReleaseNamedObject    (-0x102)
  6985. + #define    LVO_RemNamedObject    (-0x108)
  6986. + #define    LVO_GetUniqueID    (-0x10E)
  6987. + #endif
  6988. diff -c2 -d -P -r include_h/powerup/lvo/wb_lvo.h includenew/powerup/lvo/wb_lvo.h
  6989. *** include_h/powerup/lvo/wb_lvo.h    Thu Jan  1 00:00:00 1970
  6990. --- includenew/powerup/lvo/wb_lvo.h    Wed Feb 14 02:41:17 2001
  6991. ***************
  6992. *** 0 ****
  6993. --- 1,22 ----
  6994. + #ifndef _LVO_WB_LIB_H
  6995. + #define _LVO_WB_LIB_H
  6996. + /*
  6997. +  *  $VER: wb_lvolib.h (08/03/97)
  6998. +  *
  6999. +  */
  7000. + #define    LVO_wbPrivate1    (-0x1E)
  7001. + #define    LVO_wbPrivate2    (-0x24)
  7002. + #define    LVO_wbPrivate3    (-0x2A)
  7003. + #define    LVO_AddAppWindowA    (-0x30)
  7004. + #define    LVO_RemoveAppWindow    (-0x36)
  7005. + #define    LVO_AddAppIconA    (-0x3C)
  7006. + #define    LVO_RemoveAppIcon    (-0x42)
  7007. + #define    LVO_AddAppMenuItemA    (-0x48)
  7008. + #define    LVO_RemoveAppMenuItem    (-0x4E)
  7009. + #define    LVO_wbPrivate4    (-0x54)
  7010. + #define    LVO_WBInfo    (-0x5A)
  7011. + #endif
  7012. diff -c2 -d -P -r include_h/powerup/misc/ppcsymbols.i includenew/powerup/misc/ppcsymbols.i
  7013. *** include_h/powerup/misc/ppcsymbols.i    Thu Jan  1 00:00:00 1970
  7014. --- includenew/powerup/misc/ppcsymbols.i    Wed Feb 14 02:41:17 2001
  7015. ***************
  7016. *** 0 ****
  7017. --- 1,295 ----
  7018. +     IFND    ppcsymbols_i
  7019. + ppcsymbols_i    set    1
  7020. +     include    "exec/types.i"
  7021. + *
  7022. + * Define all the standard PPC register mnemonics
  7023. + *
  7024. + gpr0    equrp    0
  7025. + gpr1    equrp    1
  7026. + gpr2    equrp    2
  7027. + gpr3    equrp    3
  7028. + gpr4    equrp    4
  7029. + gpr5    equrp    5
  7030. + gpr6    equrp    6
  7031. + gpr7    equrp    7
  7032. + gpr8    equrp    8
  7033. + gpr9    equrp    9
  7034. + gpr10    equrp    10
  7035. + gpr11    equrp    11
  7036. + gpr12    equrp    12
  7037. + gpr13    equrp    13
  7038. + gpr14    equrp    14
  7039. + gpr15    equrp    15
  7040. + gpr16    equrp    16
  7041. + gpr17    equrp    17
  7042. + gpr18    equrp    18
  7043. + gpr19    equrp    19
  7044. + gpr20    equrp    20
  7045. + gpr21    equrp    21
  7046. + gpr22    equrp    22
  7047. + gpr23    equrp    23
  7048. + gpr24    equrp    24
  7049. + gpr25    equrp    25
  7050. + gpr26    equrp    26
  7051. + gpr27    equrp    27
  7052. + gpr28    equrp    28
  7053. + gpr29    equrp    29
  7054. + gpr30    equrp    30
  7055. + gpr31    equrp    31
  7056. + r0    equrp    0
  7057. + r1    equrp    1
  7058. + r2    equrp    2
  7059. + r3    equrp    3
  7060. + r4    equrp    4
  7061. + r5    equrp    5
  7062. + r6    equrp    6
  7063. + r7    equrp    7
  7064. + r8    equrp    8
  7065. + r9    equrp    9
  7066. + r10    equrp    10
  7067. + r11    equrp    11
  7068. + r12    equrp    12
  7069. + r13    equrp    13
  7070. + r14    equrp    14
  7071. + r15    equrp    15
  7072. + r16    equrp    16
  7073. + r17    equrp    17
  7074. + r18    equrp    18
  7075. + r19    equrp    19
  7076. + r20    equrp    20
  7077. + r21    equrp    21
  7078. + r22    equrp    22
  7079. + r23    equrp    23
  7080. + r24    equrp    24
  7081. + r25    equrp    25
  7082. + r26    equrp    26
  7083. + r27    equrp    27
  7084. + r28    equrp    28
  7085. + r29    equrp    29
  7086. + r30    equrp    30
  7087. + r31    equrp    31
  7088. + fpr0    fequrp    0
  7089. + fpr1    fequrp    1
  7090. + fpr2    fequrp    2
  7091. + fpr3    fequrp    3
  7092. + fpr4    fequrp    4
  7093. + fpr5    fequrp    5
  7094. + fpr6    fequrp    6
  7095. + fpr7    fequrp    7
  7096. + fpr8    fequrp    8
  7097. + fpr9    fequrp    9
  7098. + fpr10    fequrp    10
  7099. + fpr11    fequrp    11
  7100. + fpr12    fequrp    12
  7101. + fpr13    fequrp    13
  7102. + fpr14    fequrp    14
  7103. + fpr15    fequrp    15
  7104. + fpr16    fequrp    16
  7105. + fpr17    fequrp    17
  7106. + fpr18    fequrp    18
  7107. + fpr19    fequrp    19
  7108. + fpr20    fequrp    20
  7109. + fpr21    fequrp    21
  7110. + fpr22    fequrp    22
  7111. + fpr23    fequrp    23
  7112. + fpr24    fequrp    24
  7113. + fpr25    fequrp    25
  7114. + fpr26    fequrp    26
  7115. + fpr27    fequrp    27
  7116. + fpr28    fequrp    28
  7117. + fpr29    fequrp    29
  7118. + fpr30    fequrp    30
  7119. + fpr31    fequrp    31
  7120. + f0    fequrp    0
  7121. + f1    fequrp    1
  7122. + f2    fequrp    2
  7123. + f3    fequrp    3
  7124. + f4    fequrp    4
  7125. + f5    fequrp    5
  7126. + f6    fequrp    6
  7127. + f7    fequrp    7
  7128. + f8    fequrp    8
  7129. + f9    fequrp    9
  7130. + f10    fequrp    10
  7131. + f11    fequrp    11
  7132. + f12    fequrp    12
  7133. + f13    fequrp    13
  7134. + f14    fequrp    14
  7135. + f15    fequrp    15
  7136. + f16    fequrp    16
  7137. + f17    fequrp    17
  7138. + f18    fequrp    18
  7139. + f19    fequrp    19
  7140. + f20    fequrp    20
  7141. + f21    fequrp    21
  7142. + f22    fequrp    22
  7143. + f23    fequrp    23
  7144. + f24    fequrp    24
  7145. + f25    fequrp    25
  7146. + f26    fequrp    26
  7147. + f27    fequrp    27
  7148. + f28    fequrp    28
  7149. + f29    fequrp    29
  7150. + f30    fequrp    30
  7151. + f31    fequrp    31
  7152. + *
  7153. + * Define some standard PPC mappings
  7154. + *
  7155. + REG_ACU    equrp    0
  7156. + REG_SP    equrp    1
  7157. + REG_SSP    equrp    1
  7158. + REG_TOC    equrp    2
  7159. + *
  7160. + * Define some standard Amiga 680xx<->PPC mappings
  7161. + *
  7162. + REG_D0    equrp    3
  7163. + REG_D1    equrp    4
  7164. + REG_D2    equrp    5
  7165. + REG_D3    equrp    6
  7166. + REG_D4    equrp    7
  7167. + REG_D5    equrp    8
  7168. + REG_D6    equrp    9
  7169. + REG_D7    equrp    10
  7170. + REG_A0    equrp    11
  7171. + REG_A1    equrp    12
  7172. + REG_A2    equrp    13
  7173. + REG_A3    equrp    14
  7174. + REG_A4    equrp    15
  7175. + REG_A5    equrp    16
  7176. + REG_A6    equrp    17
  7177. + REG_A7    equrp    1
  7178. + *
  7179. + * Define unused PPC registers for orthogonality
  7180. + * and avoid errors during the assembler programming
  7181. + * by using mixed register mappings
  7182. + *
  7183. + REG_X0    equrp    18
  7184. + REG_X1    equrp    19
  7185. + REG_X2    equrp    20
  7186. + REG_X3    equrp    21
  7187. + REG_X4    equrp    22
  7188. + REG_X5    equrp    23
  7189. + REG_X6    equrp    24
  7190. + REG_X7    equrp    25
  7191. + REG_X8    equrp    26
  7192. + REG_X9    equrp    27
  7193. + REG_X10    equrp    28
  7194. + REG_X11    equrp    29
  7195. + REG_X12    equrp    30
  7196. + REG_X13    equrp    31
  7197. + PPC601_Version    =    1
  7198. + PPC603_Version    =    3
  7199. + PPC603e_Version    =    6
  7200. + ;MSRF_SF    =(63-0)        ; 63 64Bit Mode!!!!
  7201. + MSRF_VEC    =$02000000    ; 6 VMX Vector engine
  7202. + MSRF_POW    =$40000        ; 13 Power Management
  7203. + MSRF_TGPR    =$20000        ; 14 Temporary GPR remapping(603e)
  7204. + MSRF_ILE    =$10000        ; 15 Exception Little Endian Mode
  7205. + MSRF_EE        =$8000        ; 16 External Interrupt Enable
  7206. + MSRF_PR        =$4000        ; 17 Priviledge Level
  7207. + MSRF_FP        =$2000        ; 18 Floating Point available
  7208. + MSRF_ME        =$1000        ; 19 Machine Check enable
  7209. + MSRF_FE0    =$800        ; 20 Floating Point Exception Mode 0
  7210. + MSRF_SE        =$400        ; 21 Single Step enable
  7211. + MSRF_BE        =$200        ; 22 Branch Trace enable
  7212. + MSRF_FE1    =$100        ; 23 Floating Point Exception Mode 1
  7213. + MSRF_RESERVED3    =$80        ; 24 Reserved
  7214. + MSRF_IP        =$40        ; 25 Exception Prefix
  7215. + MSRF_IR        =$20        ; 26 Instruction address translation
  7216. + MSRF_DR        =$10        ; 27 Data address translation
  7217. + MSRF_RESERVED2    =$8
  7218. + MSRF_604_PM    =$4        ; 29 Performance Monitor marked mode
  7219. + MSRF_RI        =$2        ; 30 Recoverable exception
  7220. + MSRF_LE        =$1        ; 31 Little endian mode
  7221. + HID0_603_F_EMCP        =$80000000    ;0 Enable Machine Check pin
  7222. + HID0_603_F_RESERVED1    =$40000000    ;1 Reserved
  7223. + HID0_603_F_EBA        =$20000000    ;2 Enable Bus address parity checking
  7224. + HID0_603_F_EBD        =$10000000    ;3 Enable Bus data parity checking
  7225. + HID0_603_F_SBCLK    =$8000000    ;4 Select Bus clock for test clock pin
  7226. + HID0_603_F_EICE        =$4000000    ;5 Enable ICE outputs-pipeling tracking support
  7227. + HID0_603_F_ECLK        =$2000000    ;6 Enable external test clock pin
  7228. + HID0_603_F_PAR        =$1000000    ;7 Disable precharge of ARTRY and shared signals
  7229. + HID0_603_F_DOZE        =$800000    ;8 Doze Mode-PLL=time base and snooping alive
  7230. + HID0_603_F_NAP        =$400000    ;9 Nap Mode-PLL=time base active
  7231. + HID0_603_F_SLEEP    =$200000    ;10 Sleep Mode-no external clock required
  7232. + HID0_603_F_DPM        =$100000    ;11 Enable dynamic Power Management
  7233. + HID0_603_F_RISEG    =$80000        ;12 Reserved for Test
  7234. + HID0_603_F_RESERVED10    =$40000        ;13
  7235. + HID0_603_F_RESERVED9    =$20000        ;14
  7236. + HID0_603_F_NHR        =$10000        ;15 Not Hard Reset
  7237. + HID0_603_F_ICE        =$8000        ;16 Enable Instruction Cache
  7238. + HID0_603_F_DCE        =$4000        ;17 Enable Data Cache
  7239. + HID0_603_F_ILOCK    =$2000        ;18 Instruction Cache Lock
  7240. + HID0_603_F_DLOCK    =$1000        ;19 Data Cache Lock
  7241. + HID0_603_F_ICFI        =$800        ;20 Instruction Cache flush invalidate
  7242. + HID0_603_F_DCFI        =$400        ;21 Data Cache flush invalidate
  7243. + HID0_603_F_RESERVED22    =$200        ;22
  7244. + HID0_603_F_RESERVED23    =$100        ;23
  7245. + HID0_603_F_RESERVED24    =$80        ;24
  7246. + HID0_603_F_RESERVED25    =$40        ;25
  7247. + HID0_603_F_RESERVED26    =$20        ;26
  7248. + HID0_603_F_FBIOB    =$10        ;27 Force Branch indirect on bus
  7249. + HID0_603_F_RESERVED28    =$8        ;28
  7250. + HID0_603_F_RESERVED29    =$4        ;29
  7251. + HID0_603_F_RESERVED30    =$2        ;30
  7252. + HID0_603_F_NOOPTI    =$1        ;31 No-op touch instructions
  7253. + HID0_604_F_EMCP        =$80000000    ;0 Enable Machine Check pin
  7254. + HID0_604_F_ECPC        =$40000000    ;1 Enable Cache Parity Checking(604e)
  7255. + HID0_604_F_EBA        =$20000000    ;2 Enable Bus address parity checking
  7256. + HID0_604_F_EBD        =$10000000    ;3 Enable Bus data parity checking
  7257. + HID0_604_F_RESERVED4    =$8000000    ;4 Reserved
  7258. + HID0_604_F_RESERVED5    =$4000000    ;5 Reserved
  7259. + HID0_604_F_RESERVED6    =$2000000    ;6 Reserved
  7260. + HID0_604_F_DSS        =$1000000    ;7 Disable Snoop response high state restore
  7261. + HID0_604_F_RESERBED8    =$800000    ;8 Reserved
  7262. + HID0_604_F_RESERBED9    =$400000    ;9  Reserved
  7263. + HID0_604_F_RESERBED10    =$200000    ;10 Reserved
  7264. + HID0_604_F_RESERBED11    =$100000    ;11 Reserved
  7265. + HID0_604_F_RESERBED12    =$80000        ;12 Reserved
  7266. + HID0_604_F_RESERVED13    =$40000        ;13 Reserved
  7267. + HID0_604_F_RESERVED14    =$20000        ;14 Reserved
  7268. + HID0_604_F_NHR        =$10000        ;15 Not Hard Reset
  7269. + HID0_604_F_ICE        =$8000        ;16 Enable Instruction Cache
  7270. + HID0_604_F_DCE        =$4000        ;17 Enable Data Cache
  7271. + HID0_604_F_ILOCK    =$2000        ;18 Instruction Cache Lock
  7272. + HID0_604_F_DLOCK    =$1000        ;19 Data Cache Lock
  7273. + HID0_604_F_ICFI        =$800        ;20 Instruction Cache flush invalidate
  7274. + HID0_604_F_DCFI        =$400        ;21 Data Cache flush invalidate
  7275. + HID0_604_F_RESERVED22    =$200        ;22 Reserved
  7276. + HID0_604E_F_CIFE    =$100        ;23 Coherent Instruction fetch enable(604e only)
  7277. + HID0_604_F_DSIE        =$80        ;24 Serial Instruction execution disable
  7278. + HID0_604_F_RESERVED25    =$40        ;25
  7279. + HID0_604_F_RESERVED26    =$20        ;26
  7280. + HID0_604_F_FBIOB    =$10        ;27 Force Branch indirect on bus
  7281. + HID0_604_F_RESERVED28    =$8        ;28
  7282. + HID0_604_F_EBHT        =$4        ;29 Branch History Table enable
  7283. + HID0_604_F_RESERVED30    =$2        ;30
  7284. + HID0_604E_F_BTAC    =$2        ;30 64bit entry branch target cache disable(with rev 1.1 Mach5 this doesn`t work..DISABLE)
  7285. + HID0_604_F_RESERVED31    =$1        ;31 Reserved
  7286. +     ENDC
  7287. diff -c2 -d -P -r include_h/powerup/ppcdisslib/ppcdiss.h includenew/powerup/ppcdisslib/ppcdiss.h
  7288. *** include_h/powerup/ppcdisslib/ppcdiss.h    Thu Jan  1 00:00:00 1970
  7289. --- includenew/powerup/ppcdisslib/ppcdiss.h    Wed Feb 14 02:41:18 2001
  7290. ***************
  7291. *** 0 ****
  7292. --- 1,18 ----
  7293. + #ifndef POWERUP_PPCDISSLIB_PPCDISS_H
  7294. + #define POWERUP_PPCDISSLIB_PPCDISS_H
  7295. + #define DISASS_BUFFER        0x84000000
  7296. + #define DISASS_DEFINEPC        0x84000001
  7297. + #define DISASS_NOADRINC        0x84000002
  7298. + #define DISASS_RELADDR        0x84000003
  7299. + #define DISASS_SHOWDATA        0x84000004
  7300. + #define DISASS_PRESCANSIZE    0x84000005
  7301. + #define DISASS_USEDC68KDESC    0x84000006
  7302. + #define DISASS_ADDRESSHOOK    0x84000007
  7303. + #define DISASS_SYMBOLHOOK    0x84000008
  7304. + #define DISASS_RELOCHOOK    0x84000009
  7305. + #define DISASS_SHOWADDRESS    0x8400000a
  7306. + #define DISASS_GETDATAHOOK    0x8400000b
  7307. + #endif
  7308. diff -c2 -d -P -r include_h/powerup/ppcinline/amigaguide.h includenew/powerup/ppcinline/amigaguide.h
  7309. *** include_h/powerup/ppcinline/amigaguide.h    Thu Jan  1 00:00:00 1970
  7310. --- includenew/powerup/ppcinline/amigaguide.h    Wed Feb 14 02:41:18 2001
  7311. ***************
  7312. *** 0 ****
  7313. --- 1,126 ----
  7314. + /* Automatically generated header! Do not edit! */
  7315. + #ifndef _PPCINLINE_AMIGAGUIDE_H
  7316. + #define _PPCINLINE_AMIGAGUIDE_H
  7317. + #ifndef __PPCINLINE_MACROS_H
  7318. + #include <powerup/ppcinline/macros.h>
  7319. + #endif /* !__PPCINLINE_MACROS_H */
  7320. + #ifndef AMIGAGUIDE_BASE_NAME
  7321. + #define AMIGAGUIDE_BASE_NAME AmigaGuideBase
  7322. + #endif /* !AMIGAGUIDE_BASE_NAME */
  7323. + #define AddAmigaGuideHostA(h, name, attrs) \
  7324. +     LP3(0x8a, APTR, AddAmigaGuideHostA, struct Hook *, h, a0, STRPTR, name, d0, struct TagItem *, attrs, a1, \
  7325. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7326. + #ifndef NO_PPCINLINE_STDARG
  7327. + #define AddAmigaGuideHost(a0, a1, tags...) \
  7328. +     ({ULONG _tags[] = { tags }; AddAmigaGuideHostA((a0), (a1), (struct TagItem *)_tags);})
  7329. + #endif /* !NO_PPCINLINE_STDARG */
  7330. + #define AmigaGuideSignal(cl) \
  7331. +     LP1(0x48, ULONG, AmigaGuideSignal, APTR, cl, a0, \
  7332. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7333. + #define CloseAmigaGuide(cl) \
  7334. +     LP1NR(0x42, CloseAmigaGuide, APTR, cl, a0, \
  7335. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7336. + #define ExpungeXRef() \
  7337. +     LP0NR(0x84, ExpungeXRef, \
  7338. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7339. + #define GetAmigaGuideAttr(tag, cl, storage) \
  7340. +     LP3(0x72, LONG, GetAmigaGuideAttr, Tag, tag, d0, APTR, cl, a0, ULONG *, storage, a1, \
  7341. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7342. + #define GetAmigaGuideMsg(cl) \
  7343. +     LP1(0x4e, struct AmigaGuideMsg *, GetAmigaGuideMsg, APTR, cl, a0, \
  7344. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7345. + #define GetAmigaGuideString(id) \
  7346. +     LP1(0xd2, STRPTR, GetAmigaGuideString, long, id, d0, \
  7347. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7348. + #define LoadXRef(lock, name) \
  7349. +     LP2(0x7e, LONG, LoadXRef, BPTR, lock, a0, STRPTR, name, a1, \
  7350. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7351. + #define LockAmigaGuideBase(handle) \
  7352. +     LP1(0x24, LONG, LockAmigaGuideBase, APTR, handle, a0, \
  7353. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7354. + #define OpenAmigaGuideA(nag, attrs) \
  7355. +     LP2(0x36, APTR, OpenAmigaGuideA, struct NewAmigaGuide *, nag, a0, struct TagItem *, attrs, a1, \
  7356. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7357. + #ifndef NO_PPCINLINE_STDARG
  7358. + #define OpenAmigaGuide(a0, tags...) \
  7359. +     ({ULONG _tags[] = { tags }; OpenAmigaGuideA((a0), (struct TagItem *)_tags);})
  7360. + #endif /* !NO_PPCINLINE_STDARG */
  7361. + #define OpenAmigaGuideAsyncA(nag, attrs) \
  7362. +     LP2(0x3c, APTR, OpenAmigaGuideAsyncA, struct NewAmigaGuide *, nag, a0, struct TagItem *, attrs, d0, \
  7363. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7364. + #ifndef NO_PPCINLINE_STDARG
  7365. + #define OpenAmigaGuideAsync(a0, tags...) \
  7366. +     ({ULONG _tags[] = { tags }; OpenAmigaGuideAsyncA((a0), (struct TagItem *)_tags);})
  7367. + #endif /* !NO_PPCINLINE_STDARG */
  7368. + #define RemoveAmigaGuideHostA(hh, attrs) \
  7369. +     LP2(0x90, LONG, RemoveAmigaGuideHostA, APTR, hh, a0, struct TagItem *, attrs, a1, \
  7370. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7371. + #ifndef NO_PPCINLINE_STDARG
  7372. + #define RemoveAmigaGuideHost(a0, tags...) \
  7373. +     ({ULONG _tags[] = { tags }; RemoveAmigaGuideHostA((a0), (struct TagItem *)_tags);})
  7374. + #endif /* !NO_PPCINLINE_STDARG */
  7375. + #define ReplyAmigaGuideMsg(amsg) \
  7376. +     LP1NR(0x54, ReplyAmigaGuideMsg, struct AmigaGuideMsg *, amsg, a0, \
  7377. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7378. + #define SendAmigaGuideCmdA(cl, cmd, attrs) \
  7379. +     LP3(0x66, LONG, SendAmigaGuideCmdA, APTR, cl, a0, STRPTR, cmd, d0, struct TagItem *, attrs, d1, \
  7380. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7381. + #ifndef NO_PPCINLINE_STDARG
  7382. + #define SendAmigaGuideCmd(a0, a1, tags...) \
  7383. +     ({ULONG _tags[] = { tags }; SendAmigaGuideCmdA((a0), (a1), (struct TagItem *)_tags);})
  7384. + #endif /* !NO_PPCINLINE_STDARG */
  7385. + #define SendAmigaGuideContextA(cl, attrs) \
  7386. +     LP2(0x60, LONG, SendAmigaGuideContextA, APTR, cl, a0, struct TagItem *, attrs, d0, \
  7387. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7388. + #ifndef NO_PPCINLINE_STDARG
  7389. + #define SendAmigaGuideContext(a0, tags...) \
  7390. +     ({ULONG _tags[] = { tags }; SendAmigaGuideContextA((a0), (struct TagItem *)_tags);})
  7391. + #endif /* !NO_PPCINLINE_STDARG */
  7392. + #define SetAmigaGuideAttrsA(cl, attrs) \
  7393. +     LP2(0x6c, LONG, SetAmigaGuideAttrsA, APTR, cl, a0, struct TagItem *, attrs, a1, \
  7394. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7395. + #ifndef NO_PPCINLINE_STDARG
  7396. + #define SetAmigaGuideAttrs(a0, tags...) \
  7397. +     ({ULONG _tags[] = { tags }; SetAmigaGuideAttrsA((a0), (struct TagItem *)_tags);})
  7398. + #endif /* !NO_PPCINLINE_STDARG */
  7399. + #define SetAmigaGuideContextA(cl, id, attrs) \
  7400. +     LP3(0x5a, LONG, SetAmigaGuideContextA, APTR, cl, a0, unsigned long, id, d0, struct TagItem *, attrs, d1, \
  7401. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7402. + #ifndef NO_PPCINLINE_STDARG
  7403. + #define SetAmigaGuideContext(a0, a1, tags...) \
  7404. +     ({ULONG _tags[] = { tags }; SetAmigaGuideContextA((a0), (a1), (struct TagItem *)_tags);})
  7405. + #endif /* !NO_PPCINLINE_STDARG */
  7406. + #define UnlockAmigaGuideBase(key) \
  7407. +     LP1NR(0x2a, UnlockAmigaGuideBase, long, key, d0, \
  7408. +     , AMIGAGUIDE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7409. + #endif /* !_PPCINLINE_AMIGAGUIDE_H */
  7410. diff -c2 -d -P -r include_h/powerup/ppcinline/asl.h includenew/powerup/ppcinline/asl.h
  7411. *** include_h/powerup/ppcinline/asl.h    Thu Jan  1 00:00:00 1970
  7412. --- includenew/powerup/ppcinline/asl.h    Wed Feb 14 02:41:18 2001
  7413. ***************
  7414. *** 0 ****
  7415. --- 1,48 ----
  7416. + /* Automatically generated header! Do not edit! */
  7417. + #ifndef _PPCINLINE_ASL_H
  7418. + #define _PPCINLINE_ASL_H
  7419. + #ifndef __PPCINLINE_MACROS_H
  7420. + #include <powerup/ppcinline/macros.h>
  7421. + #endif /* !__PPCINLINE_MACROS_H */
  7422. + #ifndef ASL_BASE_NAME
  7423. + #define ASL_BASE_NAME AslBase
  7424. + #endif /* !ASL_BASE_NAME */
  7425. + #define AllocAslRequest(reqType, tagList) \
  7426. +     LP2(0x30, APTR, AllocAslRequest, unsigned long, reqType, d0, struct TagItem *, tagList, a0, \
  7427. +     , ASL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7428. + #ifndef NO_PPCINLINE_STDARG
  7429. + #define AllocAslRequestTags(a0, tags...) \
  7430. +     ({ULONG _tags[] = { tags }; AllocAslRequest((a0), (struct TagItem *)_tags);})
  7431. + #endif /* !NO_PPCINLINE_STDARG */
  7432. + #define AllocFileRequest() \
  7433. +     LP0(0x1e, struct FileRequester *, AllocFileRequest, \
  7434. +     , ASL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7435. + #define AslRequest(requester, tagList) \
  7436. +     LP2(0x3c, BOOL, AslRequest, APTR, requester, a0, struct TagItem *, tagList, a1, \
  7437. +     , ASL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7438. + #ifndef NO_PPCINLINE_STDARG
  7439. + #define AslRequestTags(a0, tags...) \
  7440. +     ({ULONG _tags[] = { tags }; AslRequest((a0), (struct TagItem *)_tags);})
  7441. + #endif /* !NO_PPCINLINE_STDARG */
  7442. + #define FreeAslRequest(requester) \
  7443. +     LP1NR(0x36, FreeAslRequest, APTR, requester, a0, \
  7444. +     , ASL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7445. + #define FreeFileRequest(fileReq) \
  7446. +     LP1NR(0x24, FreeFileRequest, struct FileRequester *, fileReq, a0, \
  7447. +     , ASL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7448. + #define RequestFile(fileReq) \
  7449. +     LP1(0x2a, BOOL, RequestFile, struct FileRequester *, fileReq, a0, \
  7450. +     , ASL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7451. + #endif /* !_PPCINLINE_ASL_H */
  7452. diff -c2 -d -P -r include_h/powerup/ppcinline/battclock.h includenew/powerup/ppcinline/battclock.h
  7453. *** include_h/powerup/ppcinline/battclock.h    Thu Jan  1 00:00:00 1970
  7454. --- includenew/powerup/ppcinline/battclock.h    Wed Feb 14 02:41:18 2001
  7455. ***************
  7456. *** 0 ****
  7457. --- 1,26 ----
  7458. + /* Automatically generated header! Do not edit! */
  7459. + #ifndef _PPCINLINE_BATTCLOCK_H
  7460. + #define _PPCINLINE_BATTCLOCK_H
  7461. + #ifndef __PPCINLINE_MACROS_H
  7462. + #include <powerup/ppcinline/macros.h>
  7463. + #endif /* !__PPCINLINE_MACROS_H */
  7464. + #ifndef BATTCLOCK_BASE_NAME
  7465. + #define BATTCLOCK_BASE_NAME BattClockBase
  7466. + #endif /* !BATTCLOCK_BASE_NAME */
  7467. + #define ReadBattClock() \
  7468. +     LP0(0xc, ULONG, ReadBattClock, \
  7469. +     , BATTCLOCK_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7470. + #define ResetBattClock() \
  7471. +     LP0NR(0x6, ResetBattClock, \
  7472. +     , BATTCLOCK_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7473. + #define WriteBattClock(time) \
  7474. +     LP1NR(0x12, WriteBattClock, unsigned long, time, d0, \
  7475. +     , BATTCLOCK_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7476. + #endif /* !_PPCINLINE_BATTCLOCK_H */
  7477. diff -c2 -d -P -r include_h/powerup/ppcinline/battmem.h includenew/powerup/ppcinline/battmem.h
  7478. *** include_h/powerup/ppcinline/battmem.h    Thu Jan  1 00:00:00 1970
  7479. --- includenew/powerup/ppcinline/battmem.h    Wed Feb 14 02:41:18 2001
  7480. ***************
  7481. *** 0 ****
  7482. --- 1,30 ----
  7483. + /* Automatically generated header! Do not edit! */
  7484. + #ifndef _PPCINLINE_BATTMEM_H
  7485. + #define _PPCINLINE_BATTMEM_H
  7486. + #ifndef __PPCINLINE_MACROS_H
  7487. + #include <powerup/ppcinline/macros.h>
  7488. + #endif /* !__PPCINLINE_MACROS_H */
  7489. + #ifndef BATTMEM_BASE_NAME
  7490. + #define BATTMEM_BASE_NAME BattMemBase
  7491. + #endif /* !BATTMEM_BASE_NAME */
  7492. + #define ObtainBattSemaphore() \
  7493. +     LP0NR(0x6, ObtainBattSemaphore, \
  7494. +     , BATTMEM_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7495. + #define ReadBattMem(buffer, offset, length) \
  7496. +     LP3(0x12, ULONG, ReadBattMem, APTR, buffer, a0, unsigned long, offset, d0, unsigned long, length, d1, \
  7497. +     , BATTMEM_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7498. + #define ReleaseBattSemaphore() \
  7499. +     LP0NR(0xc, ReleaseBattSemaphore, \
  7500. +     , BATTMEM_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7501. + #define WriteBattMem(buffer, offset, length) \
  7502. +     LP3(0x18, ULONG, WriteBattMem, APTR, buffer, a0, unsigned long, offset, d0, unsigned long, length, d1, \
  7503. +     , BATTMEM_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7504. + #endif /* !_PPCINLINE_BATTMEM_H */
  7505. diff -c2 -d -P -r include_h/powerup/ppcinline/bullet.h includenew/powerup/ppcinline/bullet.h
  7506. *** include_h/powerup/ppcinline/bullet.h    Thu Jan  1 00:00:00 1970
  7507. --- includenew/powerup/ppcinline/bullet.h    Wed Feb 14 02:41:19 2001
  7508. ***************
  7509. *** 0 ****
  7510. --- 1,49 ----
  7511. + /* Automatically generated header! Do not edit! */
  7512. + #ifndef _PPCINLINE_BULLET_H
  7513. + #define _PPCINLINE_BULLET_H
  7514. + #ifndef __PPCINLINE_MACROS_H
  7515. + #include <powerup/ppcinline/macros.h>
  7516. + #endif /* !__PPCINLINE_MACROS_H */
  7517. + #ifndef BULLET_BASE_NAME
  7518. + #define BULLET_BASE_NAME BulletBase
  7519. + #endif /* !BULLET_BASE_NAME */
  7520. + #define CloseEngine(glyphEngine) \
  7521. +     LP1NR(0x24, CloseEngine, struct GlyphEngine *, glyphEngine, a0, \
  7522. +     , BULLET_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7523. + #define ObtainInfoA(glyphEngine, tagList) \
  7524. +     LP2(0x30, ULONG, ObtainInfoA, struct GlyphEngine *, glyphEngine, a0, struct TagItem *, tagList, a1, \
  7525. +     , BULLET_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7526. + #ifndef NO_PPCINLINE_STDARG
  7527. + #define ObtainInfo(a0, tags...) \
  7528. +     ({ULONG _tags[] = { tags }; ObtainInfoA((a0), (struct TagItem *)_tags);})
  7529. + #endif /* !NO_PPCINLINE_STDARG */
  7530. + #define OpenEngine() \
  7531. +     LP0(0x1e, struct GlyphEngine *, OpenEngine, \
  7532. +     , BULLET_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7533. + #define ReleaseInfoA(glyphEngine, tagList) \
  7534. +     LP2(0x36, ULONG, ReleaseInfoA, struct GlyphEngine *, glyphEngine, a0, struct TagItem *, tagList, a1, \
  7535. +     , BULLET_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7536. + #ifndef NO_PPCINLINE_STDARG
  7537. + #define ReleaseInfo(a0, tags...) \
  7538. +     ({ULONG _tags[] = { tags }; ReleaseInfoA((a0), (struct TagItem *)_tags);})
  7539. + #endif /* !NO_PPCINLINE_STDARG */
  7540. + #define SetInfoA(glyphEngine, tagList) \
  7541. +     LP2(0x2a, ULONG, SetInfoA, struct GlyphEngine *, glyphEngine, a0, struct TagItem *, tagList, a1, \
  7542. +     , BULLET_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7543. + #ifndef NO_PPCINLINE_STDARG
  7544. + #define SetInfo(a0, tags...) \
  7545. +     ({ULONG _tags[] = { tags }; SetInfoA((a0), (struct TagItem *)_tags);})
  7546. + #endif /* !NO_PPCINLINE_STDARG */
  7547. + #endif /* !_PPCINLINE_BULLET_H */
  7548. diff -c2 -d -P -r include_h/powerup/ppcinline/cardres.h includenew/powerup/ppcinline/cardres.h
  7549. *** include_h/powerup/ppcinline/cardres.h    Thu Jan  1 00:00:00 1970
  7550. --- includenew/powerup/ppcinline/cardres.h    Wed Feb 14 02:41:19 2001
  7551. ***************
  7552. *** 0 ****
  7553. --- 1,82 ----
  7554. + /* Automatically generated header! Do not edit! */
  7555. + #ifndef _PPCINLINE_CARDRES_H
  7556. + #define _PPCINLINE_CARDRES_H
  7557. + #ifndef __PPCINLINE_MACROS_H
  7558. + #include <powerup/ppcinline/macros.h>
  7559. + #endif /* !__PPCINLINE_MACROS_H */
  7560. + #ifndef CARDRES_BASE_NAME
  7561. + #define CARDRES_BASE_NAME CardResource
  7562. + #endif /* !CARDRES_BASE_NAME */
  7563. + #define BeginCardAccess(handle) \
  7564. +     LP1(0x18, BOOL, BeginCardAccess, struct CardHandle *, handle, a1, \
  7565. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7566. + #define CardAccessSpeed(handle, nanoseconds) \
  7567. +     LP2(0x36, ULONG, CardAccessSpeed, struct CardHandle *, handle, a1, unsigned long, nanoseconds, d0, \
  7568. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7569. + #define CardChangeCount() \
  7570. +     LP0(0x60, ULONG, CardChangeCount, \
  7571. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7572. + #define CardForceChange() \
  7573. +     LP0(0x5a, BOOL, CardForceChange, \
  7574. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7575. + #define CardInterface() \
  7576. +     LP0(0x66, ULONG, CardInterface, \
  7577. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7578. + #define CardMiscControl(handle, control_bits) \
  7579. +     LP2(0x30, UBYTE, CardMiscControl, struct CardHandle *, handle, a1, unsigned long, control_bits, d1, \
  7580. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7581. + #define CardProgramVoltage(handle, voltage) \
  7582. +     LP2(0x3c, LONG, CardProgramVoltage, struct CardHandle *, handle, a1, unsigned long, voltage, d0, \
  7583. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7584. + #define CardResetCard(handle) \
  7585. +     LP1(0x42, BOOL, CardResetCard, struct CardHandle *, handle, a1, \
  7586. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7587. + #define CardResetRemove(handle, flag) \
  7588. +     LP2(0x2a, BOOL, CardResetRemove, struct CardHandle *, handle, a1, unsigned long, flag, d0, \
  7589. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7590. + #define CopyTuple(handle, buffer, tuplecode, size) \
  7591. +     LP4(0x48, BOOL, CopyTuple, struct CardHandle *, handle, a1, UBYTE *, buffer, a0, unsigned long, tuplecode, d1, unsigned long, size, d0, \
  7592. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7593. + #define DeviceTuple(tuple_data, storage) \
  7594. +     LP2(0x4e, ULONG, DeviceTuple, UBYTE *, tuple_data, a0, struct DeviceTData *, storage, a1, \
  7595. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7596. + #define EndCardAccess(handle) \
  7597. +     LP1(0x1e, BOOL, EndCardAccess, struct CardHandle *, handle, a1, \
  7598. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7599. + #define GetCardMap() \
  7600. +     LP0(0x12, struct CardMemoryMap *, GetCardMap, \
  7601. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7602. + #define IfAmigaXIP(handle) \
  7603. +     LP1(0x54, struct Resident *, IfAmigaXIP, struct CardHandle *, handle, a2, \
  7604. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7605. + #define OwnCard(handle) \
  7606. +     LP1(0x6, struct CardHandle *, OwnCard, struct CardHandle *, handle, a1, \
  7607. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7608. + #define ReadCardStatus() \
  7609. +     LP0(0x24, UBYTE, ReadCardStatus, \
  7610. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7611. + #define ReleaseCard(handle, flags) \
  7612. +     LP2NR(0xc, ReleaseCard, struct CardHandle *, handle, a1, unsigned long, flags, d0, \
  7613. +     , CARDRES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7614. + #endif /* !_PPCINLINE_CARDRES_H */
  7615. diff -c2 -d -P -r include_h/powerup/ppcinline/cia.h includenew/powerup/ppcinline/cia.h
  7616. *** include_h/powerup/ppcinline/cia.h    Thu Jan  1 00:00:00 1970
  7617. --- includenew/powerup/ppcinline/cia.h    Wed Feb 14 02:41:19 2001
  7618. ***************
  7619. *** 0 ****
  7620. --- 1,22 ----
  7621. + /* Automatically generated header! Do not edit! */
  7622. + #ifndef _PPCINLINE_CIA_H
  7623. + #define _PPCINLINE_CIA_H
  7624. + #ifndef __PPCINLINE_MACROS_H
  7625. + #include <powerup/ppcinline/macros.h>
  7626. + #endif /* !__PPCINLINE_MACROS_H */
  7627. + #define AbleICR(resource, mask) \
  7628. +     LP2UB(0x12, WORD, AbleICR, struct Library *, resource, a6, long, mask, d0, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7629. + #define AddICRVector(resource, iCRBit, interrupt) \
  7630. +     LP3UB(0x6, struct Interrupt *, AddICRVector, struct Library *, resource, a6, long, iCRBit, d0, struct Interrupt *, interrupt, a1, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7631. + #define RemICRVector(resource, iCRBit, interrupt) \
  7632. +     LP3NRUB(0xc, RemICRVector, struct Library *, resource, a6, long, iCRBit, d0, struct Interrupt *, interrupt, a1, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7633. + #define SetICR(resource, mask) \
  7634. +     LP2UB(0x18, WORD, SetICR, struct Library *, resource, a6, long, mask, d0, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7635. + #endif /* !_PPCINLINE_CIA_H */
  7636. diff -c2 -d -P -r include_h/powerup/ppcinline/colorwheel.h includenew/powerup/ppcinline/colorwheel.h
  7637. *** include_h/powerup/ppcinline/colorwheel.h    Thu Jan  1 00:00:00 1970
  7638. --- includenew/powerup/ppcinline/colorwheel.h    Wed Feb 14 02:41:19 2001
  7639. ***************
  7640. *** 0 ****
  7641. --- 1,22 ----
  7642. + /* Automatically generated header! Do not edit! */
  7643. + #ifndef _PPCINLINE_COLORWHEEL_H
  7644. + #define _PPCINLINE_COLORWHEEL_H
  7645. + #ifndef __PPCINLINE_MACROS_H
  7646. + #include <powerup/ppcinline/macros.h>
  7647. + #endif /* !__PPCINLINE_MACROS_H */
  7648. + #ifndef COLORWHEEL_BASE_NAME
  7649. + #define COLORWHEEL_BASE_NAME ColorWheelBase
  7650. + #endif /* !COLORWHEEL_BASE_NAME */
  7651. + #define ConvertHSBToRGB(hsb, rgb) \
  7652. +     LP2NR(0x1e, ConvertHSBToRGB, struct ColorWheelHSB *, hsb, a0, struct ColorWheelRGB *, rgb, a1, \
  7653. +     , COLORWHEEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7654. + #define ConvertRGBToHSB(rgb, hsb) \
  7655. +     LP2NR(0x24, ConvertRGBToHSB, struct ColorWheelRGB *, rgb, a0, struct ColorWheelHSB *, hsb, a1, \
  7656. +     , COLORWHEEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7657. + #endif /* !_PPCINLINE_COLORWHEEL_H */
  7658. diff -c2 -d -P -r include_h/powerup/ppcinline/commodities.h includenew/powerup/ppcinline/commodities.h
  7659. *** include_h/powerup/ppcinline/commodities.h    Thu Jan  1 00:00:00 1970
  7660. --- includenew/powerup/ppcinline/commodities.h    Wed Feb 14 02:41:19 2001
  7661. ***************
  7662. *** 0 ****
  7663. --- 1,118 ----
  7664. + /* Automatically generated header! Do not edit! */
  7665. + #ifndef _PPCINLINE_COMMODITIES_H
  7666. + #define _PPCINLINE_COMMODITIES_H
  7667. + #ifndef __PPCINLINE_MACROS_H
  7668. + #include <powerup/ppcinline/macros.h>
  7669. + #endif /* !__PPCINLINE_MACROS_H */
  7670. + #ifndef COMMODITIES_BASE_NAME
  7671. + #define COMMODITIES_BASE_NAME CxBase
  7672. + #endif /* !COMMODITIES_BASE_NAME */
  7673. + #define ActivateCxObj(co, tf) \
  7674. +     LP2(0x2a, LONG, ActivateCxObj, CxObj *, co, a0, long, tf, d0, \
  7675. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7676. + #define AddIEvents(events) \
  7677. +     LP1NR(0xb4, AddIEvents, struct InputEvent *, events, a0, \
  7678. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7679. + #define AttachCxObj(headObj, co) \
  7680. +     LP2NR(0x54, AttachCxObj, CxObj *, headObj, a0, CxObj *, co, a1, \
  7681. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7682. + #define ClearCxObjError(co) \
  7683. +     LP1NR(0x48, ClearCxObjError, CxObj *, co, a0, \
  7684. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7685. + #define CreateCxObj(type, arg1, arg2) \
  7686. +     LP3(0x1e, CxObj *, CreateCxObj, unsigned long, type, d0, long, arg1, a0, long, arg2, a1, \
  7687. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7688. + #define CxBroker(nb, error) \
  7689. +     LP2(0x24, CxObj *, CxBroker, struct NewBroker *, nb, a0, LONG *, error, d0, \
  7690. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7691. + #define CxMsgData(cxm) \
  7692. +     LP1(0x90, APTR, CxMsgData, CxMsg *, cxm, a0, \
  7693. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7694. + #define CxMsgID(cxm) \
  7695. +     LP1(0x96, LONG, CxMsgID, CxMsg *, cxm, a0, \
  7696. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7697. + #define CxMsgType(cxm) \
  7698. +     LP1(0x8a, ULONG, CxMsgType, CxMsg *, cxm, a0, \
  7699. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7700. + #define CxObjError(co) \
  7701. +     LP1(0x42, LONG, CxObjError, CxObj *, co, a0, \
  7702. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7703. + #define CxObjType(co) \
  7704. +     LP1(0x3c, ULONG, CxObjType, CxObj *, co, a0, \
  7705. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7706. + #define DeleteCxObj(co) \
  7707. +     LP1NR(0x30, DeleteCxObj, CxObj *, co, a0, \
  7708. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7709. + #define DeleteCxObjAll(co) \
  7710. +     LP1NR(0x36, DeleteCxObjAll, CxObj *, co, a0, \
  7711. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7712. + #define DisposeCxMsg(cxm) \
  7713. +     LP1NR(0xa8, DisposeCxMsg, CxMsg *, cxm, a0, \
  7714. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7715. + #define DivertCxMsg(cxm, headObj, returnObj) \
  7716. +     LP3NR(0x9c, DivertCxMsg, CxMsg *, cxm, a0, CxObj *, headObj, a1, CxObj *, returnObj, a2, \
  7717. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7718. + #define EnqueueCxObj(headObj, co) \
  7719. +     LP2NR(0x5a, EnqueueCxObj, CxObj *, headObj, a0, CxObj *, co, a1, \
  7720. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7721. + #define InsertCxObj(headObj, co, pred) \
  7722. +     LP3NR(0x60, InsertCxObj, CxObj *, headObj, a0, CxObj *, co, a1, CxObj *, pred, a2, \
  7723. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7724. + #define InvertKeyMap(ansiCode, event, km) \
  7725. +     LP3(0xae, BOOL, InvertKeyMap, unsigned long, ansiCode, d0, struct InputEvent *, event, a0, struct KeyMap *, km, a1, \
  7726. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7727. + #define MatchIX(event, ix) \
  7728. +     LP2(0xcc, BOOL, MatchIX, struct InputEvent *, event, a0, IX *, ix, a1, \
  7729. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7730. + #define ParseIX(description, ix) \
  7731. +     LP2(0x84, LONG, ParseIX, STRPTR, description, a0, IX *, ix, a1, \
  7732. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7733. + #define RemoveCxObj(co) \
  7734. +     LP1NR(0x66, RemoveCxObj, CxObj *, co, a0, \
  7735. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7736. + #define RouteCxMsg(cxm, co) \
  7737. +     LP2NR(0xa2, RouteCxMsg, CxMsg *, cxm, a0, CxObj *, co, a1, \
  7738. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7739. + #define SetCxObjPri(co, pri) \
  7740. +     LP2(0x4e, LONG, SetCxObjPri, CxObj *, co, a0, long, pri, d0, \
  7741. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7742. + #define SetFilter(filter, text) \
  7743. +     LP2NR(0x78, SetFilter, CxObj *, filter, a0, STRPTR, text, a1, \
  7744. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7745. + #define SetFilterIX(filter, ix) \
  7746. +     LP2NR(0x7e, SetFilterIX, CxObj *, filter, a0, IX *, ix, a1, \
  7747. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7748. + #define SetTranslate(translator, events) \
  7749. +     LP2NR(0x72, SetTranslate, CxObj *, translator, a0, struct InputEvent *, events, a1, \
  7750. +     , COMMODITIES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7751. + #endif /* !_PPCINLINE_COMMODITIES_H */
  7752. diff -c2 -d -P -r include_h/powerup/ppcinline/console.h includenew/powerup/ppcinline/console.h
  7753. *** include_h/powerup/ppcinline/console.h    Thu Jan  1 00:00:00 1970
  7754. --- includenew/powerup/ppcinline/console.h    Wed Feb 14 02:41:19 2001
  7755. ***************
  7756. *** 0 ****
  7757. --- 1,22 ----
  7758. + /* Automatically generated header! Do not edit! */
  7759. + #ifndef _PPCINLINE_CONSOLE_H
  7760. + #define _PPCINLINE_CONSOLE_H
  7761. + #ifndef __PPCINLINE_MACROS_H
  7762. + #include <powerup/ppcinline/macros.h>
  7763. + #endif /* !__PPCINLINE_MACROS_H */
  7764. + #ifndef CONSOLE_BASE_NAME
  7765. + #define CONSOLE_BASE_NAME ConsoleDevice
  7766. + #endif /* !CONSOLE_BASE_NAME */
  7767. + #define CDInputHandler(events, consoleDevice) \
  7768. +     LP2(0x2a, struct InputEvent *, CDInputHandler, struct InputEvent *, events, a0, struct Library *, consoleDevice, a1, \
  7769. +     , CONSOLE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7770. + #define RawKeyConvert(events, buffer, length, keyMap) \
  7771. +     LP4(0x30, LONG, RawKeyConvert, struct InputEvent *, events, a0, STRPTR, buffer, a1, long, length, d1, struct KeyMap *, keyMap, a2, \
  7772. +     , CONSOLE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7773. + #endif /* !_PPCINLINE_CONSOLE_H */
  7774. diff -c2 -d -P -r include_h/powerup/ppcinline/datatypes.h includenew/powerup/ppcinline/datatypes.h
  7775. *** include_h/powerup/ppcinline/datatypes.h    Thu Jan  1 00:00:00 1970
  7776. --- includenew/powerup/ppcinline/datatypes.h    Wed Feb 14 02:41:19 2001
  7777. ***************
  7778. *** 0 ****
  7779. --- 1,109 ----
  7780. + /* Automatically generated header! Do not edit! */
  7781. + #ifndef _PPCINLINE_DATATYPES_H
  7782. + #define _PPCINLINE_DATATYPES_H
  7783. + #ifndef __PPCINLINE_MACROS_H
  7784. + #include <powerup/ppcinline/macros.h>
  7785. + #endif /* !__PPCINLINE_MACROS_H */
  7786. + #ifndef DATATYPES_BASE_NAME
  7787. + #define DATATYPES_BASE_NAME DataTypesBase
  7788. + #endif /* !DATATYPES_BASE_NAME */
  7789. + #define AddDTObject(win, req, o, pos) \
  7790. +     LP4(0x48, LONG, AddDTObject, struct Window *, win, a0, struct Requester *, req, a1, Object *, o, a2, long, pos, d0, \
  7791. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7792. + #define DisposeDTObject(o) \
  7793. +     LP1NR(0x36, DisposeDTObject, Object *, o, a0, \
  7794. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7795. + #define DoAsyncLayout(o, gpl) \
  7796. +     LP2(0x54, ULONG, DoAsyncLayout, Object *, o, a0, struct gpLayout *, gpl, a1, \
  7797. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7798. + #define DoDTMethodA(o, win, req, msg) \
  7799. +     LP4(0x5a, ULONG, DoDTMethodA, Object *, o, a0, struct Window *, win, a1, struct Requester *, req, a2, Msg, msg, a3, \
  7800. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7801. + #ifndef NO_PPCINLINE_STDARG
  7802. + #define DoDTMethod(a0, a1, a2, tags...) \
  7803. +     ({ULONG _tags[] = { tags }; DoDTMethodA((a0), (a1), (a2), (Msg)_tags);})
  7804. + #endif /* !NO_PPCINLINE_STDARG */
  7805. + #define GetDTAttrsA(o, attrs) \
  7806. +     LP2(0x42, ULONG, GetDTAttrsA, Object *, o, a0, struct TagItem *, attrs, a2, \
  7807. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7808. + #ifndef NO_PPCINLINE_STDARG
  7809. + #define GetDTAttrs(a0, tags...) \
  7810. +     ({ULONG _tags[] = { tags }; GetDTAttrsA((a0), (struct TagItem *)_tags);})
  7811. + #endif /* !NO_PPCINLINE_STDARG */
  7812. + #define GetDTMethods(object) \
  7813. +     LP1(0x66, ULONG *, GetDTMethods, Object *, object, a0, \
  7814. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7815. + #define GetDTString(id) \
  7816. +     LP1(0x8a, STRPTR, GetDTString, unsigned long, id, d0, \
  7817. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7818. + #define GetDTTriggerMethods(object) \
  7819. +     LP1(0x6c, struct DTMethods *, GetDTTriggerMethods, Object *, object, a0, \
  7820. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7821. + #define NewDTObjectA(name, attrs) \
  7822. +     LP2(0x30, Object *, NewDTObjectA, APTR, name, d0, struct TagItem *, attrs, a0, \
  7823. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7824. + #ifndef NO_PPCINLINE_STDARG
  7825. + #define NewDTObject(a0, tags...) \
  7826. +     ({ULONG _tags[] = { tags }; NewDTObjectA((a0), (struct TagItem *)_tags);})
  7827. + #endif /* !NO_PPCINLINE_STDARG */
  7828. + #define ObtainDataTypeA(type, handle, attrs) \
  7829. +     LP3(0x24, struct DataType *, ObtainDataTypeA, unsigned long, type, d0, APTR, handle, a0, struct TagItem *, attrs, a1, \
  7830. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7831. + #ifndef NO_PPCINLINE_STDARG
  7832. + #define ObtainDataType(a0, a1, tags...) \
  7833. +     ({ULONG _tags[] = { tags }; ObtainDataTypeA((a0), (a1), (struct TagItem *)_tags);})
  7834. + #endif /* !NO_PPCINLINE_STDARG */
  7835. + #define PrintDTObjectA(o, w, r, msg) \
  7836. +     LP4(0x72, ULONG, PrintDTObjectA, Object *, o, a0, struct Window *, w, a1, struct Requester *, r, a2, struct dtPrint *, msg, a3, \
  7837. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7838. + #ifndef NO_PPCINLINE_STDARG
  7839. + #define PrintDTObject(a0, a1, a2, tags...) \
  7840. +     ({ULONG _tags[] = { tags }; PrintDTObjectA((a0), (a1), (a2), (struct dtPrint *)_tags);})
  7841. + #endif /* !NO_PPCINLINE_STDARG */
  7842. + #define RefreshDTObjectA(o, win, req, attrs) \
  7843. +     LP4NR(0x4e, RefreshDTObjectA, Object *, o, a0, struct Window *, win, a1, struct Requester *, req, a2, struct TagItem *, attrs, a3, \
  7844. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7845. + #ifndef NO_PPCINLINE_STDARG
  7846. + #define RefreshDTObject(a0, a1, a2, tags...) \
  7847. +     ({ULONG _tags[] = { tags }; RefreshDTObjectA((a0), (a1), (a2), (struct TagItem *)_tags);})
  7848. + #endif /* !NO_PPCINLINE_STDARG */
  7849. + #define ReleaseDataType(dt) \
  7850. +     LP1NR(0x2a, ReleaseDataType, struct DataType *, dt, a0, \
  7851. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7852. + #define RemoveDTObject(win, o) \
  7853. +     LP2(0x60, LONG, RemoveDTObject, struct Window *, win, a0, Object *, o, a1, \
  7854. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7855. + #define SetDTAttrsA(o, win, req, attrs) \
  7856. +     LP4(0x3c, ULONG, SetDTAttrsA, Object *, o, a0, struct Window *, win, a1, struct Requester *, req, a2, struct TagItem *, attrs, a3, \
  7857. +     , DATATYPES_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7858. + #ifndef NO_PPCINLINE_STDARG
  7859. + #define SetDTAttrs(a0, a1, a2, tags...) \
  7860. +     ({ULONG _tags[] = { tags }; SetDTAttrsA((a0), (a1), (a2), (struct TagItem *)_tags);})
  7861. + #endif /* !NO_PPCINLINE_STDARG */
  7862. + #endif /* !_PPCINLINE_DATATYPES_H */
  7863. diff -c2 -d -P -r include_h/powerup/ppcinline/disk.h includenew/powerup/ppcinline/disk.h
  7864. *** include_h/powerup/ppcinline/disk.h    Thu Jan  1 00:00:00 1970
  7865. --- includenew/powerup/ppcinline/disk.h    Wed Feb 14 02:41:19 2001
  7866. ***************
  7867. *** 0 ****
  7868. --- 1,38 ----
  7869. + /* Automatically generated header! Do not edit! */
  7870. + #ifndef _PPCINLINE_DISK_H
  7871. + #define _PPCINLINE_DISK_H
  7872. + #ifndef __PPCINLINE_MACROS_H
  7873. + #include <powerup/ppcinline/macros.h>
  7874. + #endif /* !__PPCINLINE_MACROS_H */
  7875. + #ifndef DISK_BASE_NAME
  7876. + #define DISK_BASE_NAME DiskBase
  7877. + #endif /* !DISK_BASE_NAME */
  7878. + #define AllocUnit(unitNum) \
  7879. +     LP1(0x6, BOOL, AllocUnit, long, unitNum, d0, \
  7880. +     , DISK_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7881. + #define FreeUnit(unitNum) \
  7882. +     LP1NR(0xc, FreeUnit, long, unitNum, d0, \
  7883. +     , DISK_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7884. + #define GetUnit(unitPointer) \
  7885. +     LP1(0x12, struct DiskResourceUnit *, GetUnit, struct DiskResourceUnit *, unitPointer, a1, \
  7886. +     , DISK_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7887. + #define GetUnitID(unitNum) \
  7888. +     LP1(0x1e, LONG, GetUnitID, long, unitNum, d0, \
  7889. +     , DISK_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7890. + #define GiveUnit() \
  7891. +     LP0NR(0x18, GiveUnit, \
  7892. +     , DISK_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7893. + #define ReadUnitID(unitNum) \
  7894. +     LP1(0x24, LONG, ReadUnitID, long, unitNum, d0, \
  7895. +     , DISK_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7896. + #endif /* !_PPCINLINE_DISK_H */
  7897. diff -c2 -d -P -r include_h/powerup/ppcinline/diskfont.h includenew/powerup/ppcinline/diskfont.h
  7898. *** include_h/powerup/ppcinline/diskfont.h    Thu Jan  1 00:00:00 1970
  7899. --- includenew/powerup/ppcinline/diskfont.h    Wed Feb 14 02:41:19 2001
  7900. ***************
  7901. *** 0 ****
  7902. --- 1,34 ----
  7903. + /* Automatically generated header! Do not edit! */
  7904. + #ifndef _PPCINLINE_DISKFONT_H
  7905. + #define _PPCINLINE_DISKFONT_H
  7906. + #ifndef __PPCINLINE_MACROS_H
  7907. + #include <powerup/ppcinline/macros.h>
  7908. + #endif /* !__PPCINLINE_MACROS_H */
  7909. + #ifndef DISKFONT_BASE_NAME
  7910. + #define DISKFONT_BASE_NAME DiskfontBase
  7911. + #endif /* !DISKFONT_BASE_NAME */
  7912. + #define AvailFonts(buffer, bufBytes, flags) \
  7913. +     LP3(0x24, LONG, AvailFonts, STRPTR, buffer, a0, long, bufBytes, d0, long, flags, d1, \
  7914. +     , DISKFONT_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7915. + #define DisposeFontContents(fontContentsHeader) \
  7916. +     LP1NR(0x30, DisposeFontContents, struct FontContentsHeader *, fontContentsHeader, a1, \
  7917. +     , DISKFONT_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7918. + #define NewFontContents(fontsLock, fontName) \
  7919. +     LP2(0x2a, struct FontContentsHeader *, NewFontContents, BPTR, fontsLock, a0, STRPTR, fontName, a1, \
  7920. +     , DISKFONT_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7921. + #define NewScaledDiskFont(sourceFont, destTextAttr) \
  7922. +     LP2(0x36, struct DiskFont *, NewScaledDiskFont, struct TextFont *, sourceFont, a0, struct TextAttr *, destTextAttr, a1, \
  7923. +     , DISKFONT_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7924. + #define OpenDiskFont(textAttr) \
  7925. +     LP1(0x1e, struct TextFont *, OpenDiskFont, struct TextAttr *, textAttr, a0, \
  7926. +     , DISKFONT_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7927. + #endif /* !_PPCINLINE_DISKFONT_H */
  7928. diff -c2 -d -P -r include_h/powerup/ppcinline/dos.h includenew/powerup/ppcinline/dos.h
  7929. *** include_h/powerup/ppcinline/dos.h    Thu Jan  1 00:00:00 1970
  7930. --- includenew/powerup/ppcinline/dos.h    Wed Feb 14 02:41:19 2001
  7931. ***************
  7932. *** 0 ****
  7933. --- 1,693 ----
  7934. + /* Automatically generated header! Do not edit! */
  7935. + #ifndef _PPCINLINE_DOS_H
  7936. + #define _PPCINLINE_DOS_H
  7937. + #ifndef __PPCINLINE_MACROS_H
  7938. + #include <powerup/ppcinline/macros.h>
  7939. + #endif /* !__PPCINLINE_MACROS_H */
  7940. + #ifndef DOS_BASE_NAME
  7941. + #define DOS_BASE_NAME DOSBase
  7942. + #endif /* !DOS_BASE_NAME */
  7943. + #define AbortPkt(port, pkt) \
  7944. +     LP2NR(0x108, AbortPkt, struct MsgPort *, port, d1, struct DosPacket *, pkt, d2, \
  7945. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7946. + #define AddBuffers(name, number) \
  7947. +     LP2(0x2dc, LONG, AddBuffers, STRPTR, name, d1, long, number, d2, \
  7948. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7949. + #define AddDosEntry(dlist) \
  7950. +     LP1(0x2a6, LONG, AddDosEntry, struct DosList *, dlist, d1, \
  7951. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7952. + #define AddPart(dirname, filename, size) \
  7953. +     LP3(0x372, BOOL, AddPart, STRPTR, dirname, d1, STRPTR, filename, d2, unsigned long, size, d3, \
  7954. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7955. + #define AddSegment(name, seg, system) \
  7956. +     LP3(0x306, LONG, AddSegment, STRPTR, name, d1, BPTR, seg, d2, long, system, d3, \
  7957. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7958. + #define AllocDosObject(type, tags) \
  7959. +     LP2(0xe4, APTR, AllocDosObject, unsigned long, type, d1, struct TagItem *, tags, d2, \
  7960. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7961. + #define AllocDosObjectTagList(a0, a1) AllocDosObject ((a0), (a1))
  7962. + #ifndef NO_PPCINLINE_STDARG
  7963. + #define AllocDosObjectTags(a0, tags...) \
  7964. +     ({ULONG _tags[] = { tags }; AllocDosObject((a0), (struct TagItem *)_tags);})
  7965. + #endif /* !NO_PPCINLINE_STDARG */
  7966. + #define AssignAdd(name, lock) \
  7967. +     LP2(0x276, BOOL, AssignAdd, STRPTR, name, d1, BPTR, lock, d2, \
  7968. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7969. + #define AssignLate(name, path) \
  7970. +     LP2(0x26a, BOOL, AssignLate, STRPTR, name, d1, STRPTR, path, d2, \
  7971. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7972. + #define AssignLock(name, lock) \
  7973. +     LP2(0x264, LONG, AssignLock, STRPTR, name, d1, BPTR, lock, d2, \
  7974. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7975. + #define AssignPath(name, path) \
  7976. +     LP2(0x270, BOOL, AssignPath, STRPTR, name, d1, STRPTR, path, d2, \
  7977. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7978. + #define AttemptLockDosList(flags) \
  7979. +     LP1(0x29a, struct DosList *, AttemptLockDosList, unsigned long, flags, d1, \
  7980. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7981. + #define ChangeMode(type, fh, newmode) \
  7982. +     LP3(0x1c2, LONG, ChangeMode, long, type, d1, BPTR, fh, d2, long, newmode, d3, \
  7983. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7984. + #define CheckSignal(mask) \
  7985. +     LP1(0x318, LONG, CheckSignal, long, mask, d1, \
  7986. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7987. + #define Cli() \
  7988. +     LP0(0x1ec, struct CommandLineInterface *, Cli, \
  7989. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7990. + #define CliInitNewcli(dp) \
  7991. +     LP1(0x3a2, LONG, CliInitNewcli, struct DosPacket *, dp, a0, \
  7992. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7993. + #define CliInitRun(dp) \
  7994. +     LP1(0x3a8, LONG, CliInitRun, struct DosPacket *, dp, a0, \
  7995. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7996. + #define Close(file) \
  7997. +     LP1(0x24, LONG, Close, BPTR, file, d1, \
  7998. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  7999. + #define CompareDates(date1, date2) \
  8000. +     LP2(0x2e2, LONG, CompareDates, struct DateStamp *, date1, d1, struct DateStamp *, date2, d2, \
  8001. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8002. + #define CreateDir(name) \
  8003. +     LP1(0x78, BPTR, CreateDir, STRPTR, name, d1, \
  8004. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8005. + #define CreateNewProc(tags) \
  8006. +     LP1(0x1f2, struct Process *, CreateNewProc, struct TagItem *, tags, d1, \
  8007. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8008. + #define CreateNewProcTagList(a0) CreateNewProc ((a0))
  8009. + #ifndef NO_PPCINLINE_STDARG
  8010. + #define CreateNewProcTags(tags...) \
  8011. +     ({ULONG _tags[] = { tags }; CreateNewProc((struct TagItem *)_tags);})
  8012. + #endif /* !NO_PPCINLINE_STDARG */
  8013. + #define CreateProc(name, pri, segList, stackSize) \
  8014. +     LP4(0x8a, struct MsgPort *, CreateProc, STRPTR, name, d1, long, pri, d2, BPTR, segList, d3, long, stackSize, d4, \
  8015. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8016. + #define CurrentDir(lock) \
  8017. +     LP1(0x7e, BPTR, CurrentDir, BPTR, lock, d1, \
  8018. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8019. + #define DateStamp(date) \
  8020. +     LP1(0xc0, struct DateStamp *, DateStamp, struct DateStamp *, date, d1, \
  8021. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8022. + #define DateToStr(datetime) \
  8023. +     LP1(0x2e8, LONG, DateToStr, struct DateTime *, datetime, d1, \
  8024. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8025. + #define Delay(timeout) \
  8026. +     LP1NR(0xc6, Delay, long, timeout, d1, \
  8027. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8028. + #define DeleteFile(name) \
  8029. +     LP1(0x48, LONG, DeleteFile, STRPTR, name, d1, \
  8030. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8031. + #define DeleteVar(name, flags) \
  8032. +     LP2(0x390, LONG, DeleteVar, STRPTR, name, d1, unsigned long, flags, d2, \
  8033. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8034. + #define DeviceProc(name) \
  8035. +     LP1(0xae, struct MsgPort *, DeviceProc, STRPTR, name, d1, \
  8036. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8037. + #define DoPkt(port, action, arg1, arg2, arg3, arg4, arg5) \
  8038. +     LP7(0xf0, LONG, DoPkt, struct MsgPort *, port, d1, long, action, d2, long, arg1, d3, long, arg2, d4, long, arg3, d5, long, arg4, d6, long, arg5, d7, \
  8039. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8040. + #define DoPkt0(port, action) \
  8041. +     LP2(0xf0, LONG, DoPkt0, struct MsgPort *, port, d1, long, action, d2, \
  8042. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8043. + #define DoPkt1(port, action, arg1) \
  8044. +     LP3(0xf0, LONG, DoPkt1, struct MsgPort *, port, d1, long, action, d2, long, arg1, d3, \
  8045. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8046. + #define DoPkt2(port, action, arg1, arg2) \
  8047. +     LP4(0xf0, LONG, DoPkt2, struct MsgPort *, port, d1, long, action, d2, long, arg1, d3, long, arg2, d4, \
  8048. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8049. + #define DoPkt3(port, action, arg1, arg2, arg3) \
  8050. +     LP5(0xf0, LONG, DoPkt3, struct MsgPort *, port, d1, long, action, d2, long, arg1, d3, long, arg2, d4, long, arg3, d5, \
  8051. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8052. + #define DoPkt4(port, action, arg1, arg2, arg3, arg4) \
  8053. +     LP6(0xf0, LONG, DoPkt4, struct MsgPort *, port, d1, long, action, d2, long, arg1, d3, long, arg2, d4, long, arg3, d5, long, arg4, d6, \
  8054. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8055. + #define DupLock(lock) \
  8056. +     LP1(0x60, BPTR, DupLock, BPTR, lock, d1, \
  8057. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8058. + #define DupLockFromFH(fh) \
  8059. +     LP1(0x174, BPTR, DupLockFromFH, BPTR, fh, d1, \
  8060. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8061. + #define EndNotify(notify) \
  8062. +     LP1NR(0x37e, EndNotify, struct NotifyRequest *, notify, d1, \
  8063. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8064. + #define ErrorReport(code, type, arg1, device) \
  8065. +     LP4(0x1e0, LONG, ErrorReport, long, code, d1, long, type, d2, unsigned long, arg1, d3, struct MsgPort *, device, d4, \
  8066. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8067. + #define ExAll(lock, buffer, size, data, control) \
  8068. +     LP5(0x1b0, LONG, ExAll, BPTR, lock, d1, struct ExAllData *, buffer, d2, long, size, d3, long, data, d4, struct ExAllControl *, control, d5, \
  8069. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8070. + #define ExAllEnd(lock, buffer, size, data, control) \
  8071. +     LP5NR(0x3de, ExAllEnd, BPTR, lock, d1, struct ExAllData *, buffer, d2, long, size, d3, long, data, d4, struct ExAllControl *, control, d5, \
  8072. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8073. + #define ExNext(lock, fileInfoBlock) \
  8074. +     LP2(0x6c, LONG, ExNext, BPTR, lock, d1, struct FileInfoBlock *, fileInfoBlock, d2, \
  8075. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8076. + #define Examine(lock, fileInfoBlock) \
  8077. +     LP2(0x66, LONG, Examine, BPTR, lock, d1, struct FileInfoBlock *, fileInfoBlock, d2, \
  8078. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8079. + #define ExamineFH(fh, fib) \
  8080. +     LP2(0x186, BOOL, ExamineFH, BPTR, fh, d1, struct FileInfoBlock *, fib, d2, \
  8081. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8082. + #define Execute(string, file, file2) \
  8083. +     LP3(0xde, LONG, Execute, STRPTR, string, d1, BPTR, file, d2, BPTR, file2, d3, \
  8084. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8085. + #define Exit(returnCode) \
  8086. +     LP1NR(0x90, Exit, long, returnCode, d1, \
  8087. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8088. + #define FGetC(fh) \
  8089. +     LP1(0x132, LONG, FGetC, BPTR, fh, d1, \
  8090. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8091. + #define FGets(fh, buf, buflen) \
  8092. +     LP3(0x150, STRPTR, FGets, BPTR, fh, d1, STRPTR, buf, d2, unsigned long, buflen, d3, \
  8093. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8094. + #define FPutC(fh, ch) \
  8095. +     LP2(0x138, LONG, FPutC, BPTR, fh, d1, long, ch, d2, \
  8096. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8097. + #define FPuts(fh, str) \
  8098. +     LP2(0x156, LONG, FPuts, BPTR, fh, d1, STRPTR, str, d2, \
  8099. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8100. + #define FRead(fh, block, blocklen, number) \
  8101. +     LP4(0x144, LONG, FRead, BPTR, fh, d1, APTR, block, d2, unsigned long, blocklen, d3, unsigned long, number, d4, \
  8102. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8103. + #define FWrite(fh, block, blocklen, number) \
  8104. +     LP4(0x14a, LONG, FWrite, BPTR, fh, d1, APTR, block, d2, unsigned long, blocklen, d3, unsigned long, number, d4, \
  8105. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8106. + #define Fault(code, header, buffer, len) \
  8107. +     LP4(0x1d4, BOOL, Fault, long, code, d1, STRPTR, header, d2, STRPTR, buffer, d3, long, len, d4, \
  8108. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8109. + #define FilePart(path) \
  8110. +     LP1(0x366, STRPTR, FilePart, STRPTR, path, d1, \
  8111. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8112. + #define FindArg(keyword, arg_template) \
  8113. +     LP2(0x324, LONG, FindArg, STRPTR, keyword, d1, STRPTR, arg_template, d2, \
  8114. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8115. + #define FindCliProc(num) \
  8116. +     LP1(0x222, struct Process *, FindCliProc, unsigned long, num, d1, \
  8117. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8118. + #define FindDosEntry(dlist, name, flags) \
  8119. +     LP3(0x2ac, struct DosList *, FindDosEntry, struct DosList *, dlist, d1, STRPTR, name, d2, unsigned long, flags, d3, \
  8120. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8121. + #define FindSegment(name, seg, system) \
  8122. +     LP3(0x30c, struct Segment *, FindSegment, STRPTR, name, d1, struct Segment *, seg, d2, long, system, d3, \
  8123. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8124. + #define FindVar(name, type) \
  8125. +     LP2(0x396, struct LocalVar *, FindVar, STRPTR, name, d1, unsigned long, type, d2, \
  8126. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8127. + #define Flush(fh) \
  8128. +     LP1(0x168, LONG, Flush, BPTR, fh, d1, \
  8129. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8130. + #define Format(filesystem, volumename, dostype) \
  8131. +     LP3(0x2ca, BOOL, Format, STRPTR, filesystem, d1, STRPTR, volumename, d2, unsigned long, dostype, d3, \
  8132. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8133. + #define FreeArgs(args) \
  8134. +     LP1NR(0x35a, FreeArgs, struct RDArgs *, args, d1, \
  8135. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8136. + #define FreeDeviceProc(dp) \
  8137. +     LP1NR(0x288, FreeDeviceProc, struct DevProc *, dp, d1, \
  8138. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8139. + #define FreeDosEntry(dlist) \
  8140. +     LP1NR(0x2be, FreeDosEntry, struct DosList *, dlist, d1, \
  8141. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8142. + #define FreeDosObject(type, ptr) \
  8143. +     LP2NR(0xea, FreeDosObject, unsigned long, type, d1, APTR, ptr, d2, \
  8144. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8145. + #define GetArgStr() \
  8146. +     LP0(0x216, STRPTR, GetArgStr, \
  8147. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8148. + #define GetConsoleTask() \
  8149. +     LP0(0x1fe, struct MsgPort *, GetConsoleTask, \
  8150. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8151. + #define GetCurrentDirName(buf, len) \
  8152. +     LP2(0x234, BOOL, GetCurrentDirName, STRPTR, buf, d1, long, len, d2, \
  8153. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8154. + #define GetDeviceProc(name, dp) \
  8155. +     LP2(0x282, struct DevProc *, GetDeviceProc, STRPTR, name, d1, struct DevProc *, dp, d2, \
  8156. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8157. + #define GetFileSysTask() \
  8158. +     LP0(0x20a, struct MsgPort *, GetFileSysTask, \
  8159. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8160. + #define GetProgramDir() \
  8161. +     LP0(0x258, BPTR, GetProgramDir, \
  8162. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8163. + #define GetProgramName(buf, len) \
  8164. +     LP2(0x240, BOOL, GetProgramName, STRPTR, buf, d1, long, len, d2, \
  8165. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8166. + #define GetPrompt(buf, len) \
  8167. +     LP2(0x24c, BOOL, GetPrompt, STRPTR, buf, d1, long, len, d2, \
  8168. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8169. + #define GetVar(name, buffer, size, flags) \
  8170. +     LP4(0x38a, LONG, GetVar, STRPTR, name, d1, STRPTR, buffer, d2, long, size, d3, long, flags, d4, \
  8171. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8172. + #define Info(lock, parameterBlock) \
  8173. +     LP2(0x72, LONG, Info, BPTR, lock, d1, struct InfoData *, parameterBlock, d2, \
  8174. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8175. + #define Inhibit(name, onoff) \
  8176. +     LP2(0x2d6, LONG, Inhibit, STRPTR, name, d1, long, onoff, d2, \
  8177. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8178. + #define Input() \
  8179. +     LP0(0x36, BPTR, Input, \
  8180. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8181. + #define InternalLoadSeg(fh, table, funcarray, stack) \
  8182. +     LP4(0x2f4, BPTR, InternalLoadSeg, BPTR, fh, d0, BPTR, table, a0, LONG *, funcarray, a1, LONG *, stack, a2, \
  8183. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8184. + #define InternalUnLoadSeg(seglist, freefunc) \
  8185. +     LP2FP(0x2fa, BOOL, InternalUnLoadSeg, BPTR, seglist, d1, __fpt, freefunc, a1, \
  8186. +     , DOS_BASE_NAME, void (*__fpt)(), IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8187. + #define IoErr() \
  8188. +     LP0(0x84, LONG, IoErr, \
  8189. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8190. + #define IsFileSystem(name) \
  8191. +     LP1(0x2c4, BOOL, IsFileSystem, STRPTR, name, d1, \
  8192. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8193. + #define IsInteractive(file) \
  8194. +     LP1(0xd8, LONG, IsInteractive, BPTR, file, d1, \
  8195. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8196. + #define LoadSeg(name) \
  8197. +     LP1(0x96, BPTR, LoadSeg, STRPTR, name, d1, \
  8198. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8199. + #define Lock(name, type) \
  8200. +     LP2(0x54, BPTR, Lock, STRPTR, name, d1, long, type, d2, \
  8201. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8202. + #define LockDosList(flags) \
  8203. +     LP1(0x28e, struct DosList *, LockDosList, unsigned long, flags, d1, \
  8204. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8205. + #define LockRecord(fh, offset, length, mode, timeout) \
  8206. +     LP5(0x10e, BOOL, LockRecord, BPTR, fh, d1, unsigned long, offset, d2, unsigned long, length, d3, unsigned long, mode, d4, unsigned long, timeout, d5, \
  8207. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8208. + #define LockRecords(recArray, timeout) \
  8209. +     LP2(0x114, BOOL, LockRecords, struct RecordLock *, recArray, d1, unsigned long, timeout, d2, \
  8210. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8211. + #define MakeDosEntry(name, type) \
  8212. +     LP2(0x2b8, struct DosList *, MakeDosEntry, STRPTR, name, d1, long, type, d2, \
  8213. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8214. + #define MakeLink(name, dest, soft) \
  8215. +     LP3(0x1bc, LONG, MakeLink, STRPTR, name, d1, long, dest, d2, long, soft, d3, \
  8216. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8217. + #define MatchEnd(anchor) \
  8218. +     LP1NR(0x342, MatchEnd, struct AnchorPath *, anchor, d1, \
  8219. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8220. + #define MatchFirst(pat, anchor) \
  8221. +     LP2(0x336, LONG, MatchFirst, STRPTR, pat, d1, struct AnchorPath *, anchor, d2, \
  8222. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8223. + #define MatchNext(anchor) \
  8224. +     LP1(0x33c, LONG, MatchNext, struct AnchorPath *, anchor, d1, \
  8225. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8226. + #define MatchPattern(pat, str) \
  8227. +     LP2(0x34e, BOOL, MatchPattern, STRPTR, pat, d1, STRPTR, str, d2, \
  8228. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8229. + #define MatchPatternNoCase(pat, str) \
  8230. +     LP2(0x3cc, BOOL, MatchPatternNoCase, STRPTR, pat, d1, STRPTR, str, d2, \
  8231. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8232. + #define MaxCli() \
  8233. +     LP0(0x228, ULONG, MaxCli, \
  8234. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8235. + #define NameFromFH(fh, buffer, len) \
  8236. +     LP3(0x198, LONG, NameFromFH, BPTR, fh, d1, STRPTR, buffer, d2, long, len, d3, \
  8237. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8238. + #define NameFromLock(lock, buffer, len) \
  8239. +     LP3(0x192, LONG, NameFromLock, BPTR, lock, d1, STRPTR, buffer, d2, long, len, d3, \
  8240. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8241. + #define NewLoadSeg(file, tags) \
  8242. +     LP2(0x300, BPTR, NewLoadSeg, STRPTR, file, d1, struct TagItem *, tags, d2, \
  8243. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8244. + #define NewLoadSegTagList(a0, a1) NewLoadSeg ((a0), (a1))
  8245. + #ifndef NO_PPCINLINE_STDARG
  8246. + #define NewLoadSegTags(a0, tags...) \
  8247. +     ({ULONG _tags[] = { tags }; NewLoadSeg((a0), (struct TagItem *)_tags);})
  8248. + #endif /* !NO_PPCINLINE_STDARG */
  8249. + #define NextDosEntry(dlist, flags) \
  8250. +     LP2(0x2b2, struct DosList *, NextDosEntry, struct DosList *, dlist, d1, unsigned long, flags, d2, \
  8251. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8252. + #define Open(name, accessMode) \
  8253. +     LP2(0x1e, BPTR, Open, STRPTR, name, d1, long, accessMode, d2, \
  8254. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8255. + #define OpenFromLock(lock) \
  8256. +     LP1(0x17a, BPTR, OpenFromLock, BPTR, lock, d1, \
  8257. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8258. + #define Output() \
  8259. +     LP0(0x3c, BPTR, Output, \
  8260. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8261. + #define ParentDir(lock) \
  8262. +     LP1(0xd2, BPTR, ParentDir, BPTR, lock, d1, \
  8263. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8264. + #define ParentOfFH(fh) \
  8265. +     LP1(0x180, BPTR, ParentOfFH, BPTR, fh, d1, \
  8266. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8267. + #define ParsePattern(pat, buf, buflen) \
  8268. +     LP3(0x348, LONG, ParsePattern, STRPTR, pat, d1, STRPTR, buf, d2, long, buflen, d3, \
  8269. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8270. + #define ParsePatternNoCase(pat, buf, buflen) \
  8271. +     LP3(0x3c6, LONG, ParsePatternNoCase, STRPTR, pat, d1, STRPTR, buf, d2, long, buflen, d3, \
  8272. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8273. + #define PathPart(path) \
  8274. +     LP1(0x36c, STRPTR, PathPart, STRPTR, path, d1, \
  8275. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8276. + #define PrintFault(code, header) \
  8277. +     LP2(0x1da, BOOL, PrintFault, long, code, d1, STRPTR, header, d2, \
  8278. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8279. + #define PutStr(str) \
  8280. +     LP1(0x3b4, LONG, PutStr, STRPTR, str, d1, \
  8281. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8282. + #define Read(file, buffer, length) \
  8283. +     LP3(0x2a, LONG, Read, BPTR, file, d1, APTR, buffer, d2, long, length, d3, \
  8284. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8285. + #define ReadArgs(arg_template, array, args) \
  8286. +     LP3(0x31e, struct RDArgs *, ReadArgs, STRPTR, arg_template, d1, LONG *, array, d2, struct RDArgs *, args, d3, \
  8287. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8288. + #define ReadItem(name, maxchars, cSource) \
  8289. +     LP3(0x32a, LONG, ReadItem, STRPTR, name, d1, long, maxchars, d2, struct CSource *, cSource, d3, \
  8290. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8291. + #define ReadLink(port, lock, path, buffer, size) \
  8292. +     LP5(0x1b6, LONG, ReadLink, struct MsgPort *, port, d1, BPTR, lock, d2, STRPTR, path, d3, STRPTR, buffer, d4, unsigned long, size, d5, \
  8293. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8294. + #define Relabel(drive, newname) \
  8295. +     LP2(0x2d0, LONG, Relabel, STRPTR, drive, d1, STRPTR, newname, d2, \
  8296. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8297. + #define RemAssignList(name, lock) \
  8298. +     LP2(0x27c, LONG, RemAssignList, STRPTR, name, d1, BPTR, lock, d2, \
  8299. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8300. + #define RemDosEntry(dlist) \
  8301. +     LP1(0x2a0, BOOL, RemDosEntry, struct DosList *, dlist, d1, \
  8302. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8303. + #define RemSegment(seg) \
  8304. +     LP1(0x312, LONG, RemSegment, struct Segment *, seg, d1, \
  8305. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8306. + #define Rename(oldName, newName) \
  8307. +     LP2(0x4e, LONG, Rename, STRPTR, oldName, d1, STRPTR, newName, d2, \
  8308. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8309. + #define ReplyPkt(dp, res1, res2) \
  8310. +     LP3NR(0x102, ReplyPkt, struct DosPacket *, dp, d1, long, res1, d2, long, res2, d3, \
  8311. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8312. + #define RunCommand(seg, stack, paramptr, paramlen) \
  8313. +     LP4(0x1f8, LONG, RunCommand, BPTR, seg, d1, long, stack, d2, STRPTR, paramptr, d3, long, paramlen, d4, \
  8314. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8315. + #define SameDevice(lock1, lock2) \
  8316. +     LP2(0x3d8, BOOL, SameDevice, BPTR, lock1, d1, BPTR, lock2, d2, \
  8317. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8318. + #define SameLock(lock1, lock2) \
  8319. +     LP2(0x1a4, LONG, SameLock, BPTR, lock1, d1, BPTR, lock2, d2, \
  8320. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8321. + #define Seek(file, position, offset) \
  8322. +     LP3(0x42, LONG, Seek, BPTR, file, d1, long, position, d2, long, offset, d3, \
  8323. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8324. + #define SelectInput(fh) \
  8325. +     LP1(0x126, BPTR, SelectInput, BPTR, fh, d1, \
  8326. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8327. + #define SelectOutput(fh) \
  8328. +     LP1(0x12c, BPTR, SelectOutput, BPTR, fh, d1, \
  8329. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8330. + #define SendPkt(dp, port, replyport) \
  8331. +     LP3NR(0xf6, SendPkt, struct DosPacket *, dp, d1, struct MsgPort *, port, d2, struct MsgPort *, replyport, d3, \
  8332. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8333. + #define SetArgStr(string) \
  8334. +     LP1(0x21c, BOOL, SetArgStr, STRPTR, string, d1, \
  8335. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8336. + #define SetComment(name, comment) \
  8337. +     LP2(0xb4, LONG, SetComment, STRPTR, name, d1, STRPTR, comment, d2, \
  8338. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8339. + #define SetConsoleTask(task) \
  8340. +     LP1(0x204, struct MsgPort *, SetConsoleTask, struct MsgPort *, task, d1, \
  8341. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8342. + #define SetCurrentDirName(name) \
  8343. +     LP1(0x22e, BOOL, SetCurrentDirName, STRPTR, name, d1, \
  8344. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8345. + #define SetFileDate(name, date) \
  8346. +     LP2(0x18c, LONG, SetFileDate, STRPTR, name, d1, struct DateStamp *, date, d2, \
  8347. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8348. + #define SetFileSize(fh, pos, mode) \
  8349. +     LP3(0x1c8, LONG, SetFileSize, BPTR, fh, d1, long, pos, d2, long, mode, d3, \
  8350. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8351. + #define SetFileSysTask(task) \
  8352. +     LP1(0x210, struct MsgPort *, SetFileSysTask, struct MsgPort *, task, d1, \
  8353. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8354. + #define SetIoErr(result) \
  8355. +     LP1(0x1ce, LONG, SetIoErr, long, result, d1, \
  8356. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8357. + #define SetMode(fh, mode) \
  8358. +     LP2(0x1aa, LONG, SetMode, BPTR, fh, d1, long, mode, d2, \
  8359. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8360. + #define SetOwner(name, owner_info) \
  8361. +     LP2(0x3e4, BOOL, SetOwner, STRPTR, name, d1, long, owner_info, d2, \
  8362. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8363. + #define SetProgramDir(lock) \
  8364. +     LP1(0x252, BPTR, SetProgramDir, BPTR, lock, d1, \
  8365. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8366. + #define SetProgramName(name) \
  8367. +     LP1(0x23a, BOOL, SetProgramName, STRPTR, name, d1, \
  8368. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8369. + #define SetPrompt(name) \
  8370. +     LP1(0x246, BOOL, SetPrompt, STRPTR, name, d1, \
  8371. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8372. + #define SetProtection(name, protect) \
  8373. +     LP2(0xba, LONG, SetProtection, STRPTR, name, d1, long, protect, d2, \
  8374. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8375. + #define SetVBuf(fh, buff, type, size) \
  8376. +     LP4(0x16e, LONG, SetVBuf, BPTR, fh, d1, STRPTR, buff, d2, long, type, d3, long, size, d4, \
  8377. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8378. + #define SetVar(name, buffer, size, flags) \
  8379. +     LP4(0x384, BOOL, SetVar, STRPTR, name, d1, STRPTR, buffer, d2, long, size, d3, long, flags, d4, \
  8380. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8381. + #define SplitName(name, seperator, buf, oldpos, size) \
  8382. +     LP5(0x19e, WORD, SplitName, STRPTR, name, d1, unsigned long, seperator, d2, STRPTR, buf, d3, long, oldpos, d4, long, size, d5, \
  8383. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8384. + #define StartNotify(notify) \
  8385. +     LP1(0x378, BOOL, StartNotify, struct NotifyRequest *, notify, d1, \
  8386. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8387. + #define StrToDate(datetime) \
  8388. +     LP1(0x2ee, LONG, StrToDate, struct DateTime *, datetime, d1, \
  8389. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8390. + #define StrToLong(string, value) \
  8391. +     LP2(0x330, LONG, StrToLong, STRPTR, string, d1, LONG *, value, d2, \
  8392. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8393. + #define SystemTagList(command, tags) \
  8394. +     LP2(0x25e, LONG, SystemTagList, STRPTR, command, d1, struct TagItem *, tags, d2, \
  8395. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8396. + #define System(a0, a1) SystemTagList ((a0), (a1))
  8397. + #ifndef NO_PPCINLINE_STDARG
  8398. + #define SystemTags(a0, tags...) \
  8399. +     ({ULONG _tags[] = { tags }; SystemTagList((a0), (struct TagItem *)_tags);})
  8400. + #endif /* !NO_PPCINLINE_STDARG */
  8401. + #define UnGetC(fh, character) \
  8402. +     LP2(0x13e, LONG, UnGetC, BPTR, fh, d1, long, character, d2, \
  8403. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8404. + #define UnLoadSeg(seglist) \
  8405. +     LP1NR(0x9c, UnLoadSeg, BPTR, seglist, d1, \
  8406. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8407. + #define UnLock(lock) \
  8408. +     LP1NR(0x5a, UnLock, BPTR, lock, d1, \
  8409. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8410. + #define UnLockDosList(flags) \
  8411. +     LP1NR(0x294, UnLockDosList, unsigned long, flags, d1, \
  8412. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8413. + #define UnLockRecord(fh, offset, length) \
  8414. +     LP3(0x11a, BOOL, UnLockRecord, BPTR, fh, d1, unsigned long, offset, d2, unsigned long, length, d3, \
  8415. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8416. + #define UnLockRecords(recArray) \
  8417. +     LP1(0x120, BOOL, UnLockRecords, struct RecordLock *, recArray, d1, \
  8418. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8419. + #define VFPrintf(fh, format, argarray) \
  8420. +     LP3(0x162, LONG, VFPrintf, BPTR, fh, d1, STRPTR, format, d2, APTR, argarray, d3, \
  8421. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8422. + #ifndef NO_PPCINLINE_STDARG
  8423. + #define FPrintf(a0, a1, tags...) \
  8424. +     ({ULONG _tags[] = { tags }; VFPrintf((a0), (a1), (APTR)_tags);})
  8425. + #endif /* !NO_PPCINLINE_STDARG */
  8426. + #define VFWritef(fh, format, argarray) \
  8427. +     LP3NR(0x15c, VFWritef, BPTR, fh, d1, STRPTR, format, d2, LONG *, argarray, d3, \
  8428. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8429. + #ifndef NO_PPCINLINE_STDARG
  8430. + #define FWritef(a0, a1, tags...) \
  8431. +     ({ULONG _tags[] = { tags }; VFWritef((a0), (a1), (LONG *)_tags);})
  8432. + #endif /* !NO_PPCINLINE_STDARG */
  8433. + #define VPrintf(format, argarray) \
  8434. +     LP2(0x3ba, LONG, VPrintf, STRPTR, format, d1, APTR, argarray, d2, \
  8435. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8436. + #ifndef NO_PPCINLINE_STDARG
  8437. + #define Printf(a0, tags...) \
  8438. +     ({ULONG _tags[] = { tags }; VPrintf((a0), (APTR)_tags);})
  8439. + #endif /* !NO_PPCINLINE_STDARG */
  8440. + #define WaitForChar(file, timeout) \
  8441. +     LP2(0xcc, LONG, WaitForChar, BPTR, file, d1, long, timeout, d2, \
  8442. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8443. + #define WaitPkt() \
  8444. +     LP0(0xfc, struct DosPacket *, WaitPkt, \
  8445. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8446. + #define Write(file, buffer, length) \
  8447. +     LP3(0x30, LONG, Write, BPTR, file, d1, APTR, buffer, d2, long, length, d3, \
  8448. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8449. + #define WriteChars(buf, buflen) \
  8450. +     LP2(0x3ae, LONG, WriteChars, STRPTR, buf, d1, unsigned long, buflen, d2, \
  8451. +     , DOS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8452. + #endif /* !_PPCINLINE_DOS_H */
  8453. diff -c2 -d -P -r include_h/powerup/ppcinline/dtclass.h includenew/powerup/ppcinline/dtclass.h
  8454. *** include_h/powerup/ppcinline/dtclass.h    Thu Jan  1 00:00:00 1970
  8455. --- includenew/powerup/ppcinline/dtclass.h    Wed Feb 14 02:41:19 2001
  8456. ***************
  8457. *** 0 ****
  8458. --- 1,18 ----
  8459. + /* Automatically generated header! Do not edit! */
  8460. + #ifndef _PPCINLINE_DTCLASS_H
  8461. + #define _PPCINLINE_DTCLASS_H
  8462. + #ifndef __PPCINLINE_MACROS_H
  8463. + #include <powerup/ppcinline/macros.h>
  8464. + #endif /* !__PPCINLINE_MACROS_H */
  8465. + #ifndef DTCLASS_BASE_NAME
  8466. + #define DTCLASS_BASE_NAME DTClassBase
  8467. + #endif /* !DTCLASS_BASE_NAME */
  8468. + #define ObtainEngine() \
  8469. +     LP0(0x1e, Class *, ObtainEngine, \
  8470. +     , DTCLASS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8471. + #endif /* !_PPCINLINE_DTCLASS_H */
  8472. diff -c2 -d -P -r include_h/powerup/ppcinline/exec.h includenew/powerup/ppcinline/exec.h
  8473. *** include_h/powerup/ppcinline/exec.h    Thu Jan  1 00:00:00 1970
  8474. --- includenew/powerup/ppcinline/exec.h    Wed Feb 14 02:41:19 2001
  8475. ***************
  8476. *** 0 ****
  8477. --- 1,486 ----
  8478. + /* Automatically generated header! Do not edit! */
  8479. + #ifndef _PPCINLINE_EXEC_H
  8480. + #define _PPCINLINE_EXEC_H
  8481. + #ifndef __PPCINLINE_MACROS_H
  8482. + #include <powerup/ppcinline/macros.h>
  8483. + #endif /* !__PPCINLINE_MACROS_H */
  8484. + #ifndef EXEC_BASE_NAME
  8485. + #define EXEC_BASE_NAME SysBase
  8486. + #endif /* !EXEC_BASE_NAME */
  8487. + #define AbortIO(ioRequest) \
  8488. +     LP1NR(0x1e0, AbortIO, struct IORequest *, ioRequest, a1, \
  8489. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8490. + #define AddDevice(device) \
  8491. +     LP1NR(0x1b0, AddDevice, struct Device *, device, a1, \
  8492. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8493. + #define AddHead(list, node) \
  8494. +     LP2NR(0xf0, AddHead, struct List *, list, a0, struct Node *, node, a1, \
  8495. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8496. + #define AddIntServer(intNumber, interrupt) \
  8497. +     LP2NR(0xa8, AddIntServer, long, intNumber, d0, struct Interrupt *, interrupt, a1, \
  8498. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8499. + #define AddLibrary(library) \
  8500. +     LP1NR(0x18c, AddLibrary, struct Library *, library, a1, \
  8501. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8502. + #define AddMemHandler(memhand) \
  8503. +     LP1NR(0x306, AddMemHandler, struct Interrupt *, memhand, a1, \
  8504. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8505. + #define AddMemList(size, attributes, pri, base, name) \
  8506. +     LP5NR(0x26a, AddMemList, unsigned long, size, d0, unsigned long, attributes, d1, long, pri, d2, APTR, base, a0, UBYTE *, name, a1, \
  8507. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8508. + #define AddPort(port) \
  8509. +     LP1NR(0x162, AddPort, struct MsgPort *, port, a1, \
  8510. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8511. + #define AddResource(resource) \
  8512. +     LP1NR(0x1e6, AddResource, APTR, resource, a1, \
  8513. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8514. + #define AddSemaphore(sigSem) \
  8515. +     LP1NR(0x258, AddSemaphore, struct SignalSemaphore *, sigSem, a1, \
  8516. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8517. + #define AddTail(list, node) \
  8518. +     LP2NR(0xf6, AddTail, struct List *, list, a0, struct Node *, node, a1, \
  8519. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8520. + #define AddTask(task, initPC, finalPC) \
  8521. +     LP3(0x11a, APTR, AddTask, struct Task *, task, a1, APTR, initPC, a2, APTR, finalPC, a3, \
  8522. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8523. + #define Alert(alertNum) \
  8524. +     LP1NR(0x6c, Alert, unsigned long, alertNum, d7, \
  8525. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8526. + #define AllocAbs(byteSize, location) \
  8527. +     LP2(0xcc, APTR, AllocAbs, unsigned long, byteSize, d0, APTR, location, a1, \
  8528. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8529. + #define AllocEntry(entry) \
  8530. +     LP1(0xde, struct MemList *, AllocEntry, struct MemList *, entry, a0, \
  8531. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8532. + #define AllocMem(byteSize, requirements) \
  8533. +     LP2(0xc6, APTR, AllocMem, unsigned long, byteSize, d0, unsigned long, requirements, d1, \
  8534. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8535. + #define AllocPooled(poolHeader, memSize) \
  8536. +     LP2(0x2c4, APTR, AllocPooled, APTR, poolHeader, a0, unsigned long, memSize, d0, \
  8537. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8538. + #define AllocSignal(signalNum) \
  8539. +     LP1(0x14a, BYTE, AllocSignal, long, signalNum, d0, \
  8540. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8541. + #define AllocTrap(trapNum) \
  8542. +     LP1(0x156, LONG, AllocTrap, long, trapNum, d0, \
  8543. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8544. + #define AllocVec(byteSize, requirements) \
  8545. +     LP2(0x2ac, APTR, AllocVec, unsigned long, byteSize, d0, unsigned long, requirements, d1, \
  8546. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8547. + #define Allocate(freeList, byteSize) \
  8548. +     LP2(0xba, APTR, Allocate, struct MemHeader *, freeList, a0, unsigned long, byteSize, d0, \
  8549. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8550. + #define AttemptSemaphore(sigSem) \
  8551. +     LP1(0x240, ULONG, AttemptSemaphore, struct SignalSemaphore *, sigSem, a0, \
  8552. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8553. + #define AttemptSemaphoreShared(sigSem) \
  8554. +     LP1(0x2d0, ULONG, AttemptSemaphoreShared, struct SignalSemaphore *, sigSem, a0, \
  8555. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8556. + #define AvailMem(requirements) \
  8557. +     LP1(0xd8, ULONG, AvailMem, unsigned long, requirements, d1, \
  8558. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8559. + #define CacheClearE(address, length, caches) \
  8560. +     LP3NR(0x282, CacheClearE, APTR, address, a0, unsigned long, length, d0, unsigned long, caches, d1, \
  8561. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8562. + #define CacheClearU() \
  8563. +     LP0NR(0x27c, CacheClearU, \
  8564. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8565. + #define CacheControl(cacheBits, cacheMask) \
  8566. +     LP2(0x288, ULONG, CacheControl, unsigned long, cacheBits, d0, unsigned long, cacheMask, d1, \
  8567. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8568. + #define CachePostDMA(address, length, flags) \
  8569. +     LP3NR(0x300, CachePostDMA, APTR, address, a0, ULONG *, length, a1, unsigned long, flags, d0, \
  8570. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8571. + #define CachePreDMA(address, length, flags) \
  8572. +     LP3(0x2fa, APTR, CachePreDMA, APTR, address, a0, ULONG *, length, a1, unsigned long, flags, d0, \
  8573. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8574. + #define Cause(interrupt) \
  8575. +     LP1NR(0xb4, Cause, struct Interrupt *, interrupt, a1, \
  8576. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8577. + #define CheckIO(ioRequest) \
  8578. +     LP1(0x1d4, struct IORequest *, CheckIO, struct IORequest *, ioRequest, a1, \
  8579. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8580. + #define ChildFree(tid) \
  8581. +     LP1NR(0x2e2, ChildFree, APTR, tid, d0, \
  8582. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8583. + #define ChildOrphan(tid) \
  8584. +     LP1NR(0x2e8, ChildOrphan, APTR, tid, d0, \
  8585. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8586. + #define ChildStatus(tid) \
  8587. +     LP1NR(0x2ee, ChildStatus, APTR, tid, d0, \
  8588. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8589. + #define ChildWait(tid) \
  8590. +     LP1NR(0x2f4, ChildWait, APTR, tid, d0, \
  8591. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8592. + #define CloseDevice(ioRequest) \
  8593. +     LP1NR(0x1c2, CloseDevice, struct IORequest *, ioRequest, a1, \
  8594. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8595. + #define CloseLibrary(library) \
  8596. +     LP1NR(0x19e, CloseLibrary, struct Library *, library, a1, \
  8597. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8598. + #define ColdReboot() \
  8599. +     LP0NR(0x2d6, ColdReboot, \
  8600. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8601. + #define CopyMem(source, dest, size) \
  8602. +     LP3NR(0x270, CopyMem, APTR, source, a0, APTR, dest, a1, unsigned long, size, d0, \
  8603. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8604. + #define CopyMemQuick(source, dest, size) \
  8605. +     LP3NR(0x276, CopyMemQuick, APTR, source, a0, APTR, dest, a1, unsigned long, size, d0, \
  8606. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8607. + #define CreateIORequest(port, size) \
  8608. +     LP2(0x28e, APTR, CreateIORequest, struct MsgPort *, port, a0, unsigned long, size, d0, \
  8609. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8610. + #define CreateMsgPort() \
  8611. +     LP0(0x29a, struct MsgPort *, CreateMsgPort, \
  8612. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8613. + #define CreatePool(requirements, puddleSize, threshSize) \
  8614. +     LP3(0x2b8, APTR, CreatePool, unsigned long, requirements, d0, unsigned long, puddleSize, d1, unsigned long, threshSize, d2, \
  8615. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8616. + #define Deallocate(freeList, memoryBlock, byteSize) \
  8617. +     LP3NR(0xc0, Deallocate, struct MemHeader *, freeList, a0, APTR, memoryBlock, a1, unsigned long, byteSize, d0, \
  8618. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8619. + #define Debug(flags) \
  8620. +     LP1NR(0x72, Debug, unsigned long, flags, d0, \
  8621. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8622. + #define DeleteIORequest(iorequest) \
  8623. +     LP1NR(0x294, DeleteIORequest, APTR, iorequest, a0, \
  8624. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8625. + #define DeleteMsgPort(port) \
  8626. +     LP1NR(0x2a0, DeleteMsgPort, struct MsgPort *, port, a0, \
  8627. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8628. + #define DeletePool(poolHeader) \
  8629. +     LP1NR(0x2be, DeletePool, APTR, poolHeader, a0, \
  8630. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8631. + #define Disable() \
  8632. +     LP0NR(0x78, Disable, \
  8633. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8634. + #define DoIO(ioRequest) \
  8635. +     LP1(0x1c8, BYTE, DoIO, struct IORequest *, ioRequest, a1, \
  8636. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8637. + #define Enable() \
  8638. +     LP0NR(0x7e, Enable, \
  8639. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8640. + #define Enqueue(list, node) \
  8641. +     LP2NR(0x10e, Enqueue, struct List *, list, a0, struct Node *, node, a1, \
  8642. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8643. + #define FindName(list, name) \
  8644. +     LP2(0x114, struct Node *, FindName, struct List *, list, a0, UBYTE *, name, a1, \
  8645. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8646. + #define FindPort(name) \
  8647. +     LP1(0x186, struct MsgPort *, FindPort, UBYTE *, name, a1, \
  8648. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8649. + #define FindResident(name) \
  8650. +     LP1(0x60, struct Resident *, FindResident, UBYTE *, name, a1, \
  8651. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8652. + #define FindSemaphore(sigSem) \
  8653. +     LP1(0x252, struct SignalSemaphore *, FindSemaphore, UBYTE *, sigSem, a1, \
  8654. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8655. + #define FindTask(name) \
  8656. +     LP1(0x126, struct Task *, FindTask, UBYTE *, name, a1, \
  8657. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8658. + #define Forbid() \
  8659. +     LP0NR(0x84, Forbid, \
  8660. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8661. + #define FreeEntry(entry) \
  8662. +     LP1NR(0xe4, FreeEntry, struct MemList *, entry, a0, \
  8663. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8664. + #define FreeMem(memoryBlock, byteSize) \
  8665. +     LP2NR(0xd2, FreeMem, APTR, memoryBlock, a1, unsigned long, byteSize, d0, \
  8666. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8667. + #define FreePooled(poolHeader, memory, memSize) \
  8668. +     LP3NR(0x2ca, FreePooled, APTR, poolHeader, a0, APTR, memory, a1, unsigned long, memSize, d0, \
  8669. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8670. + #define FreeSignal(signalNum) \
  8671. +     LP1NR(0x150, FreeSignal, long, signalNum, d0, \
  8672. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8673. + #define FreeTrap(trapNum) \
  8674. +     LP1NR(0x15c, FreeTrap, long, trapNum, d0, \
  8675. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8676. + #define FreeVec(memoryBlock) \
  8677. +     LP1NR(0x2b2, FreeVec, APTR, memoryBlock, a1, \
  8678. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8679. + #define GetCC() \
  8680. +     LP0(0x210, ULONG, GetCC, \
  8681. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8682. + #define GetMsg(port) \
  8683. +     LP1(0x174, struct Message *, GetMsg, struct MsgPort *, port, a0, \
  8684. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8685. + #define InitCode(startClass, version) \
  8686. +     LP2NR(0x48, InitCode, unsigned long, startClass, d0, unsigned long, version, d1, \
  8687. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8688. + #define InitResident(resident, segList) \
  8689. +     LP2(0x66, APTR, InitResident, struct Resident *, resident, a1, unsigned long, segList, d1, \
  8690. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8691. + #define InitSemaphore(sigSem) \
  8692. +     LP1NR(0x22e, InitSemaphore, struct SignalSemaphore *, sigSem, a0, \
  8693. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8694. + #define InitStruct(initTable, memory, size) \
  8695. +     LP3NR(0x4e, InitStruct, APTR, initTable, a1, APTR, memory, a2, unsigned long, size, d0, \
  8696. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8697. + #define Insert(list, node, pred) \
  8698. +     LP3NR(0xea, Insert, struct List *, list, a0, struct Node *, node, a1, struct Node *, pred, a2, \
  8699. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8700. + #define MakeFunctions(target, functionArray, funcDispBase) \
  8701. +     LP3NR(0x5a, MakeFunctions, APTR, target, a0, APTR, functionArray, a1, unsigned long, funcDispBase, a2, \
  8702. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8703. + #define MakeLibrary(funcInit, structInit, libInit, dataSize, segList) \
  8704. +     LP5FP(0x54, struct Library *, MakeLibrary, APTR, funcInit, a0, APTR, structInit, a1, __fpt, libInit, a2, unsigned long, dataSize, d0, unsigned long, segList, d1, \
  8705. +     , EXEC_BASE_NAME, unsigned long (*__fpt)(), IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8706. + #define ObtainQuickVector(interruptCode) \
  8707. +     LP1(0x312, ULONG, ObtainQuickVector, APTR, interruptCode, a0, \
  8708. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8709. + #define ObtainSemaphore(sigSem) \
  8710. +     LP1NR(0x234, ObtainSemaphore, struct SignalSemaphore *, sigSem, a0, \
  8711. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8712. + #define ObtainSemaphoreList(sigSem) \
  8713. +     LP1NR(0x246, ObtainSemaphoreList, struct List *, sigSem, a0, \
  8714. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8715. + #define ObtainSemaphoreShared(sigSem) \
  8716. +     LP1NR(0x2a6, ObtainSemaphoreShared, struct SignalSemaphore *, sigSem, a0, \
  8717. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8718. + #define OldOpenLibrary(libName) \
  8719. +     LP1(0x198, struct Library *, OldOpenLibrary, UBYTE *, libName, a1, \
  8720. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8721. + #define OpenDevice(devName, unit, ioRequest, flags) \
  8722. +     LP4(0x1bc, BYTE, OpenDevice, UBYTE *, devName, a0, unsigned long, unit, d0, struct IORequest *, ioRequest, a1, unsigned long, flags, d1, \
  8723. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8724. + #define OpenLibrary(libName, version) \
  8725. +     LP2(0x228, struct Library *, OpenLibrary, UBYTE *, libName, a1, unsigned long, version, d0, \
  8726. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8727. + #define OpenResource(resName) \
  8728. +     LP1(0x1f2, APTR, OpenResource, UBYTE *, resName, a1, \
  8729. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8730. + #define Permit() \
  8731. +     LP0NR(0x8a, Permit, \
  8732. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8733. + #define Procure(sigSem, bidMsg) \
  8734. +     LP2(0x21c, ULONG, Procure, struct SignalSemaphore *, sigSem, a0, struct SemaphoreMessage *, bidMsg, a1, \
  8735. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8736. + #define PutMsg(port, message) \
  8737. +     LP2NR(0x16e, PutMsg, struct MsgPort *, port, a0, struct Message *, message, a1, \
  8738. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8739. + #define RawDoFmt(formatString, dataStream, putChProc, putChData) \
  8740. +     LP4FP(0x20a, APTR, RawDoFmt, UBYTE *, formatString, a0, APTR, dataStream, a1, __fpt, putChProc, a2, APTR, putChData, a3, \
  8741. +     , EXEC_BASE_NAME, void (*__fpt)(), IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8742. + #define ReleaseSemaphore(sigSem) \
  8743. +     LP1NR(0x23a, ReleaseSemaphore, struct SignalSemaphore *, sigSem, a0, \
  8744. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8745. + #define ReleaseSemaphoreList(sigSem) \
  8746. +     LP1NR(0x24c, ReleaseSemaphoreList, struct List *, sigSem, a0, \
  8747. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8748. + #define RemDevice(device) \
  8749. +     LP1NR(0x1b6, RemDevice, struct Device *, device, a1, \
  8750. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8751. + #define RemHead(list) \
  8752. +     LP1(0x102, struct Node *, RemHead, struct List *, list, a0, \
  8753. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8754. + #define RemIntServer(intNumber, interrupt) \
  8755. +     LP2NR(0xae, RemIntServer, long, intNumber, d0, struct Interrupt *, interrupt, a1, \
  8756. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8757. + #define RemLibrary(library) \
  8758. +     LP1NR(0x192, RemLibrary, struct Library *, library, a1, \
  8759. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8760. + #define RemMemHandler(memhand) \
  8761. +     LP1NR(0x30c, RemMemHandler, struct Interrupt *, memhand, a1, \
  8762. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8763. + #define RemPort(port) \
  8764. +     LP1NR(0x168, RemPort, struct MsgPort *, port, a1, \
  8765. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8766. + #define RemResource(resource) \
  8767. +     LP1NR(0x1ec, RemResource, APTR, resource, a1, \
  8768. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8769. + #define RemSemaphore(sigSem) \
  8770. +     LP1NR(0x25e, RemSemaphore, struct SignalSemaphore *, sigSem, a1, \
  8771. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8772. + #define RemTail(list) \
  8773. +     LP1(0x108, struct Node *, RemTail, struct List *, list, a0, \
  8774. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8775. + #define RemTask(task) \
  8776. +     LP1NR(0x120, RemTask, struct Task *, task, a1, \
  8777. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8778. + #define Remove(node) \
  8779. +     LP1NR(0xfc, Remove, struct Node *, node, a1, \
  8780. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8781. + #define ReplyMsg(message) \
  8782. +     LP1NR(0x17a, ReplyMsg, struct Message *, message, a1, \
  8783. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8784. + #define SendIO(ioRequest) \
  8785. +     LP1NR(0x1ce, SendIO, struct IORequest *, ioRequest, a1, \
  8786. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8787. + #define SetExcept(newSignals, signalSet) \
  8788. +     LP2(0x138, ULONG, SetExcept, unsigned long, newSignals, d0, unsigned long, signalSet, d1, \
  8789. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8790. + #define SetFunction(library, funcOffset, newFunction) \
  8791. +     LP3FP(0x1a4, APTR, SetFunction, struct Library *, library, a1, long, funcOffset, a0, __fpt, newFunction, d0, \
  8792. +     , EXEC_BASE_NAME, unsigned long (*__fpt)(), IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8793. + #define SetIntVector(intNumber, interrupt) \
  8794. +     LP2(0xa2, struct Interrupt *, SetIntVector, long, intNumber, d0, struct Interrupt *, interrupt, a1, \
  8795. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8796. + #define SetSR(newSR, mask) \
  8797. +     LP2(0x90, ULONG, SetSR, unsigned long, newSR, d0, unsigned long, mask, d1, \
  8798. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8799. + #define SetSignal(newSignals, signalSet) \
  8800. +     LP2(0x132, ULONG, SetSignal, unsigned long, newSignals, d0, unsigned long, signalSet, d1, \
  8801. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8802. + #define SetTaskPri(task, priority) \
  8803. +     LP2(0x12c, BYTE, SetTaskPri, struct Task *, task, a1, long, priority, d0, \
  8804. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8805. + #define Signal(task, signalSet) \
  8806. +     LP2NR(0x144, Signal, struct Task *, task, a1, unsigned long, signalSet, d0, \
  8807. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8808. + #define StackSwap(newStack) \
  8809. +     LP1NR(0x2dc, StackSwap, struct StackSwapStruct *, newStack, a0, \
  8810. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8811. + #define SumKickData() \
  8812. +     LP0(0x264, ULONG, SumKickData, \
  8813. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8814. + #define SumLibrary(library) \
  8815. +     LP1NR(0x1aa, SumLibrary, struct Library *, library, a1, \
  8816. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8817. + #define SuperState() \
  8818. +     LP0(0x96, APTR, SuperState, \
  8819. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8820. + #define Supervisor(userFunction) \
  8821. +     LP1A5FP(0x1e, ULONG, Supervisor, __fpt, userFunction, a5, \
  8822. +     , EXEC_BASE_NAME, unsigned long (*__fpt)(), IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8823. + #define TypeOfMem(address) \
  8824. +     LP1(0x216, ULONG, TypeOfMem, APTR, address, a1, \
  8825. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8826. + #define UserState(sysStack) \
  8827. +     LP1NR(0x9c, UserState, APTR, sysStack, d0, \
  8828. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8829. + #define Vacate(sigSem, bidMsg) \
  8830. +     LP2NR(0x222, Vacate, struct SignalSemaphore *, sigSem, a0, struct SemaphoreMessage *, bidMsg, a1, \
  8831. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8832. + #define Wait(signalSet) \
  8833. +     LP1(0x13e, ULONG, Wait, unsigned long, signalSet, d0, \
  8834. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8835. + #define WaitIO(ioRequest) \
  8836. +     LP1(0x1da, BYTE, WaitIO, struct IORequest *, ioRequest, a1, \
  8837. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8838. + #define WaitPort(port) \
  8839. +     LP1(0x180, struct Message *, WaitPort, struct MsgPort *, port, a0, \
  8840. +     , EXEC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8841. + #endif /* !_PPCINLINE_EXEC_H */
  8842. diff -c2 -d -P -r include_h/powerup/ppcinline/expansion.h includenew/powerup/ppcinline/expansion.h
  8843. *** include_h/powerup/ppcinline/expansion.h    Thu Jan  1 00:00:00 1970
  8844. --- includenew/powerup/ppcinline/expansion.h    Wed Feb 14 02:41:19 2001
  8845. ***************
  8846. *** 0 ****
  8847. --- 1,98 ----
  8848. + /* Automatically generated header! Do not edit! */
  8849. + #ifndef _PPCINLINE_EXPANSION_H
  8850. + #define _PPCINLINE_EXPANSION_H
  8851. + #ifndef __PPCINLINE_MACROS_H
  8852. + #include <powerup/ppcinline/macros.h>
  8853. + #endif /* !__PPCINLINE_MACROS_H */
  8854. + #ifndef EXPANSION_BASE_NAME
  8855. + #define EXPANSION_BASE_NAME ExpansionBase
  8856. + #endif /* !EXPANSION_BASE_NAME */
  8857. + #define AddBootNode(bootPri, flags, deviceNode, configDev) \
  8858. +     LP4(0x24, BOOL, AddBootNode, long, bootPri, d0, unsigned long, flags, d1, struct DeviceNode *, deviceNode, a0, struct ConfigDev *, configDev, a1, \
  8859. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8860. + #define AddConfigDev(configDev) \
  8861. +     LP1NR(0x1e, AddConfigDev, struct ConfigDev *, configDev, a0, \
  8862. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8863. + #define AddDosNode(bootPri, flags, deviceNode) \
  8864. +     LP3(0x96, BOOL, AddDosNode, long, bootPri, d0, unsigned long, flags, d1, struct DeviceNode *, deviceNode, a0, \
  8865. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8866. + #define AllocBoardMem(slotSpec) \
  8867. +     LP1NR(0x2a, AllocBoardMem, unsigned long, slotSpec, d0, \
  8868. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8869. + #define AllocConfigDev() \
  8870. +     LP0(0x30, struct ConfigDev *, AllocConfigDev, \
  8871. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8872. + #define AllocExpansionMem(numSlots, slotAlign) \
  8873. +     LP2(0x36, APTR, AllocExpansionMem, unsigned long, numSlots, d0, unsigned long, slotAlign, d1, \
  8874. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8875. + #define ConfigBoard(board, configDev) \
  8876. +     LP2NR(0x3c, ConfigBoard, APTR, board, a0, struct ConfigDev *, configDev, a1, \
  8877. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8878. + #define ConfigChain(baseAddr) \
  8879. +     LP1NR(0x42, ConfigChain, APTR, baseAddr, a0, \
  8880. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8881. + #define FindConfigDev(oldConfigDev, manufacturer, product) \
  8882. +     LP3(0x48, struct ConfigDev *, FindConfigDev, struct ConfigDev *, oldConfigDev, a0, long, manufacturer, d0, long, product, d1, \
  8883. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8884. + #define FreeBoardMem(startSlot, slotSpec) \
  8885. +     LP2NR(0x4e, FreeBoardMem, unsigned long, startSlot, d0, unsigned long, slotSpec, d1, \
  8886. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8887. + #define FreeConfigDev(configDev) \
  8888. +     LP1NR(0x54, FreeConfigDev, struct ConfigDev *, configDev, a0, \
  8889. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8890. + #define FreeExpansionMem(startSlot, numSlots) \
  8891. +     LP2NR(0x5a, FreeExpansionMem, unsigned long, startSlot, d0, unsigned long, numSlots, d1, \
  8892. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8893. + #define GetCurrentBinding(currentBinding, bindingSize) \
  8894. +     LP2(0x8a, ULONG, GetCurrentBinding, struct CurrentBinding *, currentBinding, a0, unsigned long, bindingSize, d0, \
  8895. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8896. + #define MakeDosNode(parmPacket) \
  8897. +     LP1(0x90, struct DeviceNode *, MakeDosNode, APTR, parmPacket, a0, \
  8898. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8899. + #define ObtainConfigBinding() \
  8900. +     LP0NR(0x78, ObtainConfigBinding, \
  8901. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8902. + #define ReadExpansionByte(board, offset) \
  8903. +     LP2(0x60, UBYTE, ReadExpansionByte, APTR, board, a0, unsigned long, offset, d0, \
  8904. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8905. + #define ReadExpansionRom(board, configDev) \
  8906. +     LP2NR(0x66, ReadExpansionRom, APTR, board, a0, struct ConfigDev *, configDev, a1, \
  8907. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8908. + #define ReleaseConfigBinding() \
  8909. +     LP0NR(0x7e, ReleaseConfigBinding, \
  8910. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8911. + #define RemConfigDev(configDev) \
  8912. +     LP1NR(0x6c, RemConfigDev, struct ConfigDev *, configDev, a0, \
  8913. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8914. + #define SetCurrentBinding(currentBinding, bindingSize) \
  8915. +     LP2NR(0x84, SetCurrentBinding, struct CurrentBinding *, currentBinding, a0, unsigned long, bindingSize, d0, \
  8916. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8917. + #define WriteExpansionByte(board, offset, byte) \
  8918. +     LP3NR(0x72, WriteExpansionByte, APTR, board, a0, unsigned long, offset, d0, unsigned long, byte, d1, \
  8919. +     , EXPANSION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8920. + #endif /* !_PPCINLINE_EXPANSION_H */
  8921. diff -c2 -d -P -r include_h/powerup/ppcinline/gadtools.h includenew/powerup/ppcinline/gadtools.h
  8922. *** include_h/powerup/ppcinline/gadtools.h    Thu Jan  1 00:00:00 1970
  8923. --- includenew/powerup/ppcinline/gadtools.h    Wed Feb 14 02:41:19 2001
  8924. ***************
  8925. *** 0 ****
  8926. --- 1,130 ----
  8927. + /* Automatically generated header! Do not edit! */
  8928. + #ifndef _PPCINLINE_GADTOOLS_H
  8929. + #define _PPCINLINE_GADTOOLS_H
  8930. + #ifndef __PPCINLINE_MACROS_H
  8931. + #include <powerup/ppcinline/macros.h>
  8932. + #endif /* !__PPCINLINE_MACROS_H */
  8933. + #ifndef GADTOOLS_BASE_NAME
  8934. + #define GADTOOLS_BASE_NAME GadToolsBase
  8935. + #endif /* !GADTOOLS_BASE_NAME */
  8936. + #define CreateContext(glistptr) \
  8937. +     LP1(0x72, struct Gadget *, CreateContext, struct Gadget **, glistptr, a0, \
  8938. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8939. + #define CreateGadgetA(kind, gad, ng, taglist) \
  8940. +     LP4(0x1e, struct Gadget *, CreateGadgetA, unsigned long, kind, d0, struct Gadget *, gad, a0, struct NewGadget *, ng, a1, struct TagItem *, taglist, a2, \
  8941. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8942. + #ifndef NO_PPCINLINE_STDARG
  8943. + #define CreateGadget(a0, a1, a2, tags...) \
  8944. +     ({ULONG _tags[] = { tags }; CreateGadgetA((a0), (a1), (a2), (struct TagItem *)_tags);})
  8945. + #endif /* !NO_PPCINLINE_STDARG */
  8946. + #define CreateMenusA(newmenu, taglist) \
  8947. +     LP2(0x30, struct Menu *, CreateMenusA, struct NewMenu *, newmenu, a0, struct TagItem *, taglist, a1, \
  8948. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8949. + #ifndef NO_PPCINLINE_STDARG
  8950. + #define CreateMenus(a0, tags...) \
  8951. +     ({ULONG _tags[] = { tags }; CreateMenusA((a0), (struct TagItem *)_tags);})
  8952. + #endif /* !NO_PPCINLINE_STDARG */
  8953. + #define DrawBevelBoxA(rport, left, top, width, height, taglist) \
  8954. +     LP6NR(0x78, DrawBevelBoxA, struct RastPort *, rport, a0, long, left, d0, long, top, d1, long, width, d2, long, height, d3, struct TagItem *, taglist, a1, \
  8955. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8956. + #ifndef NO_PPCINLINE_STDARG
  8957. + #define DrawBevelBox(a0, a1, a2, a3, a4, tags...) \
  8958. +     ({ULONG _tags[] = { tags }; DrawBevelBoxA((a0), (a1), (a2), (a3), (a4), (struct TagItem *)_tags);})
  8959. + #endif /* !NO_PPCINLINE_STDARG */
  8960. + #define FreeGadgets(gad) \
  8961. +     LP1NR(0x24, FreeGadgets, struct Gadget *, gad, a0, \
  8962. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8963. + #define FreeMenus(menu) \
  8964. +     LP1NR(0x36, FreeMenus, struct Menu *, menu, a0, \
  8965. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8966. + #define FreeVisualInfo(vi) \
  8967. +     LP1NR(0x84, FreeVisualInfo, APTR, vi, a0, \
  8968. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8969. + #define GT_BeginRefresh(win) \
  8970. +     LP1NR(0x5a, GT_BeginRefresh, struct Window *, win, a0, \
  8971. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8972. + #define GT_EndRefresh(win, complete) \
  8973. +     LP2NR(0x60, GT_EndRefresh, struct Window *, win, a0, long, complete, d0, \
  8974. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8975. + #define GT_FilterIMsg(imsg) \
  8976. +     LP1(0x66, struct IntuiMessage *, GT_FilterIMsg, struct IntuiMessage *, imsg, a1, \
  8977. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8978. + #define GT_GetGadgetAttrsA(gad, win, req, taglist) \
  8979. +     LP4(0xae, LONG, GT_GetGadgetAttrsA, struct Gadget *, gad, a0, struct Window *, win, a1, struct Requester *, req, a2, struct TagItem *, taglist, a3, \
  8980. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8981. + #ifndef NO_PPCINLINE_STDARG
  8982. + #define GT_GetGadgetAttrs(a0, a1, a2, tags...) \
  8983. +     ({ULONG _tags[] = { tags }; GT_GetGadgetAttrsA((a0), (a1), (a2), (struct TagItem *)_tags);})
  8984. + #endif /* !NO_PPCINLINE_STDARG */
  8985. + #define GT_GetIMsg(iport) \
  8986. +     LP1(0x48, struct IntuiMessage *, GT_GetIMsg, struct MsgPort *, iport, a0, \
  8987. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8988. + #define GT_PostFilterIMsg(imsg) \
  8989. +     LP1(0x6c, struct IntuiMessage *, GT_PostFilterIMsg, struct IntuiMessage *, imsg, a1, \
  8990. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8991. + #define GT_RefreshWindow(win, req) \
  8992. +     LP2NR(0x54, GT_RefreshWindow, struct Window *, win, a0, struct Requester *, req, a1, \
  8993. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8994. + #define GT_ReplyIMsg(imsg) \
  8995. +     LP1NR(0x4e, GT_ReplyIMsg, struct IntuiMessage *, imsg, a1, \
  8996. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  8997. + #define GT_SetGadgetAttrsA(gad, win, req, taglist) \
  8998. +     LP4NR(0x2a, GT_SetGadgetAttrsA, struct Gadget *, gad, a0, struct Window *, win, a1, struct Requester *, req, a2, struct TagItem *, taglist, a3, \
  8999. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9000. + #ifndef NO_PPCINLINE_STDARG
  9001. + #define GT_SetGadgetAttrs(a0, a1, a2, tags...) \
  9002. +     ({ULONG _tags[] = { tags }; GT_SetGadgetAttrsA((a0), (a1), (a2), (struct TagItem *)_tags);})
  9003. + #endif /* !NO_PPCINLINE_STDARG */
  9004. + #define GetVisualInfoA(screen, taglist) \
  9005. +     LP2(0x7e, APTR, GetVisualInfoA, struct Screen *, screen, a0, struct TagItem *, taglist, a1, \
  9006. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9007. + #ifndef NO_PPCINLINE_STDARG
  9008. + #define GetVisualInfo(a0, tags...) \
  9009. +     ({ULONG _tags[] = { tags }; GetVisualInfoA((a0), (struct TagItem *)_tags);})
  9010. + #endif /* !NO_PPCINLINE_STDARG */
  9011. + #define LayoutMenuItemsA(firstitem, vi, taglist) \
  9012. +     LP3(0x3c, BOOL, LayoutMenuItemsA, struct MenuItem *, firstitem, a0, APTR, vi, a1, struct TagItem *, taglist, a2, \
  9013. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9014. + #ifndef NO_PPCINLINE_STDARG
  9015. + #define LayoutMenuItems(a0, a1, tags...) \
  9016. +     ({ULONG _tags[] = { tags }; LayoutMenuItemsA((a0), (a1), (struct TagItem *)_tags);})
  9017. + #endif /* !NO_PPCINLINE_STDARG */
  9018. + #define LayoutMenusA(firstmenu, vi, taglist) \
  9019. +     LP3(0x42, BOOL, LayoutMenusA, struct Menu *, firstmenu, a0, APTR, vi, a1, struct TagItem *, taglist, a2, \
  9020. +     , GADTOOLS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9021. + #ifndef NO_PPCINLINE_STDARG
  9022. + #define LayoutMenus(a0, a1, tags...) \
  9023. +     ({ULONG _tags[] = { tags }; LayoutMenusA((a0), (a1), (struct TagItem *)_tags);})
  9024. + #endif /* !NO_PPCINLINE_STDARG */
  9025. + #endif /* !_PPCINLINE_GADTOOLS_H */
  9026. diff -c2 -d -P -r include_h/powerup/ppcinline/graphics.h includenew/powerup/ppcinline/graphics.h
  9027. *** include_h/powerup/ppcinline/graphics.h    Thu Jan  1 00:00:00 1970
  9028. --- includenew/powerup/ppcinline/graphics.h    Wed Feb 14 02:41:20 2001
  9029. ***************
  9030. *** 0 ****
  9031. --- 1,693 ----
  9032. + /* Automatically generated header! Do not edit! */
  9033. + #ifndef _PPCINLINE_GRAPHICS_H
  9034. + #define _PPCINLINE_GRAPHICS_H
  9035. + #ifndef __PPCINLINE_MACROS_H
  9036. + #include <powerup/ppcinline/macros.h>
  9037. + #endif /* !__PPCINLINE_MACROS_H */
  9038. + #ifndef GRAPHICS_BASE_NAME
  9039. + #define GRAPHICS_BASE_NAME GfxBase
  9040. + #endif /* !GRAPHICS_BASE_NAME */
  9041. + #define AddAnimOb(anOb, anKey, rp) \
  9042. +     LP3NR(0x9c, AddAnimOb, struct AnimOb *, anOb, a0, struct AnimOb **, anKey, a1, struct RastPort *, rp, a2, \
  9043. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9044. + #define AddBob(bob, rp) \
  9045. +     LP2NR(0x60, AddBob, struct Bob *, bob, a0, struct RastPort *, rp, a1, \
  9046. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9047. + #define AddFont(textFont) \
  9048. +     LP1NR(0x1e0, AddFont, struct TextFont *, textFont, a1, \
  9049. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9050. + #define AddVSprite(vSprite, rp) \
  9051. +     LP2NR(0x66, AddVSprite, struct VSprite *, vSprite, a0, struct RastPort *, rp, a1, \
  9052. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9053. + #define AllocBitMap(sizex, sizey, depth, flags, friend_bitmap) \
  9054. +     LP5(0x396, struct BitMap *, AllocBitMap, unsigned long, sizex, d0, unsigned long, sizey, d1, unsigned long, depth, d2, unsigned long, flags, d3, struct BitMap *, friend_bitmap, a0, \
  9055. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9056. + #define AllocDBufInfo(vp) \
  9057. +     LP1(0x3c6, struct DBufInfo *, AllocDBufInfo, struct ViewPort *, vp, a0, \
  9058. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9059. + #define AllocRaster(width, height) \
  9060. +     LP2(0x1ec, PLANEPTR, AllocRaster, unsigned long, width, d0, unsigned long, height, d1, \
  9061. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9062. + #define AllocSpriteDataA(bm, tags) \
  9063. +     LP2(0x3fc, struct ExtSprite *, AllocSpriteDataA, struct BitMap *, bm, a2, struct TagItem *, tags, a1, \
  9064. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9065. + #ifndef NO_PPCINLINE_STDARG
  9066. + #define AllocSpriteData(a0, tags...) \
  9067. +     ({ULONG _tags[] = { tags }; AllocSpriteDataA((a0), (struct TagItem *)_tags);})
  9068. + #endif /* !NO_PPCINLINE_STDARG */
  9069. + #define AndRectRegion(region, rectangle) \
  9070. +     LP2NR(0x1f8, AndRectRegion, struct Region *, region, a0, struct Rectangle *, rectangle, a1, \
  9071. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9072. + #define AndRegionRegion(srcRegion, destRegion) \
  9073. +     LP2(0x270, BOOL, AndRegionRegion, struct Region *, srcRegion, a0, struct Region *, destRegion, a1, \
  9074. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9075. + #define Animate(anKey, rp) \
  9076. +     LP2NR(0xa2, Animate, struct AnimOb **, anKey, a0, struct RastPort *, rp, a1, \
  9077. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9078. + #define AreaDraw(rp, x, y) \
  9079. +     LP3(0x102, LONG, AreaDraw, struct RastPort *, rp, a1, long, x, d0, long, y, d1, \
  9080. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9081. + #define AreaEllipse(rp, xCenter, yCenter, a, b) \
  9082. +     LP5(0xba, LONG, AreaEllipse, struct RastPort *, rp, a1, long, xCenter, d0, long, yCenter, d1, long, a, d2, long, b, d3, \
  9083. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9084. + #define AreaEnd(rp) \
  9085. +     LP1(0x108, LONG, AreaEnd, struct RastPort *, rp, a1, \
  9086. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9087. + #define AreaMove(rp, x, y) \
  9088. +     LP3(0xfc, LONG, AreaMove, struct RastPort *, rp, a1, long, x, d0, long, y, d1, \
  9089. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9090. + #define AskFont(rp, textAttr) \
  9091. +     LP2NR(0x1da, AskFont, struct RastPort *, rp, a1, struct TextAttr *, textAttr, a0, \
  9092. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9093. + #define AskSoftStyle(rp) \
  9094. +     LP1(0x54, ULONG, AskSoftStyle, struct RastPort *, rp, a1, \
  9095. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9096. + #define AttachPalExtra(cm, vp) \
  9097. +     LP2(0x342, LONG, AttachPalExtra, struct ColorMap *, cm, a0, struct ViewPort *, vp, a1, \
  9098. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9099. + #define AttemptLockLayerRom(layer) \
  9100. +     LP1A5(0x28e, BOOL, AttemptLockLayerRom, struct Layer *, layer, d7, \
  9101. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9102. + #define BestModeIDA(tags) \
  9103. +     LP1(0x41a, ULONG, BestModeIDA, struct TagItem *, tags, a0, \
  9104. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9105. + #ifndef NO_PPCINLINE_STDARG
  9106. + #define BestModeID(tags...) \
  9107. +     ({ULONG _tags[] = { tags }; BestModeIDA((struct TagItem *)_tags);})
  9108. + #endif /* !NO_PPCINLINE_STDARG */
  9109. + #define BitMapScale(bitScaleArgs) \
  9110. +     LP1NR(0x2a6, BitMapScale, struct BitScaleArgs *, bitScaleArgs, a0, \
  9111. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9112. + #define BltBitMap(srcBitMap, xSrc, ySrc, destBitMap, xDest, yDest, xSize, ySize, minterm, mask, tempA) \
  9113. +     LP11(0x1e, LONG, BltBitMap, struct BitMap *, srcBitMap, a0, long, xSrc, d0, long, ySrc, d1, struct BitMap *, destBitMap, a1, long, xDest, d2, long, yDest, d3, long, xSize, d4, long, ySize, d5, unsigned long, minterm, d6, unsigned long, mask, d7, PLANEPTR, tempA, a2, \
  9114. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9115. + #define BltBitMapRastPort(srcBitMap, xSrc, ySrc, destRP, xDest, yDest, xSize, ySize, minterm) \
  9116. +     LP9NR(0x25e, BltBitMapRastPort, struct BitMap *, srcBitMap, a0, long, xSrc, d0, long, ySrc, d1, struct RastPort *, destRP, a1, long, xDest, d2, long, yDest, d3, long, xSize, d4, long, ySize, d5, unsigned long, minterm, d6, \
  9117. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9118. + #define BltClear(memBlock, byteCount, flags) \
  9119. +     LP3NR(0x12c, BltClear, PLANEPTR, memBlock, a1, unsigned long, byteCount, d0, unsigned long, flags, d1, \
  9120. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9121. + #define BltMaskBitMapRastPort(srcBitMap, xSrc, ySrc, destRP, xDest, yDest, xSize, ySize, minterm, bltMask) \
  9122. +     LP10NR(0x27c, BltMaskBitMapRastPort, struct BitMap *, srcBitMap, a0, long, xSrc, d0, long, ySrc, d1, struct RastPort *, destRP, a1, long, xDest, d2, long, yDest, d3, long, xSize, d4, long, ySize, d5, unsigned long, minterm, d6, PLANEPTR, bltMask, a2, \
  9123. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9124. + #define BltPattern(rp, mask, xMin, yMin, xMax, yMax, maskBPR) \
  9125. +     LP7NR(0x138, BltPattern, struct RastPort *, rp, a1, PLANEPTR, mask, a0, long, xMin, d0, long, yMin, d1, long, xMax, d2, long, yMax, d3, unsigned long, maskBPR, d4, \
  9126. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9127. + #define BltTemplate(source, xSrc, srcMod, destRP, xDest, yDest, xSize, ySize) \
  9128. +     LP8NR(0x24, BltTemplate, PLANEPTR, source, a0, long, xSrc, d0, long, srcMod, d1, struct RastPort *, destRP, a1, long, xDest, d2, long, yDest, d3, long, xSize, d4, long, ySize, d5, \
  9129. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9130. + #define CBump(copList) \
  9131. +     LP1NR(0x16e, CBump, struct UCopList *, copList, a1, \
  9132. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9133. + #define CMove(copList, destination, data) \
  9134. +     LP3NR(0x174, CMove, struct UCopList *, copList, a1, APTR, destination, d0, long, data, d1, \
  9135. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9136. + #define CWait(copList, v, h) \
  9137. +     LP3NR(0x17a, CWait, struct UCopList *, copList, a1, long, v, d0, long, h, d1, \
  9138. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9139. + #define CalcIVG(v, vp) \
  9140. +     LP2(0x33c, UWORD, CalcIVG, struct View *, v, a0, struct ViewPort *, vp, a1, \
  9141. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9142. + #define ChangeExtSpriteA(vp, oldsprite, newsprite, tags) \
  9143. +     LP4(0x402, LONG, ChangeExtSpriteA, struct ViewPort *, vp, a0, struct ExtSprite *, oldsprite, a1, struct ExtSprite *, newsprite, a2, struct TagItem *, tags, a3, \
  9144. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9145. + #ifndef NO_PPCINLINE_STDARG
  9146. + #define ChangeExtSprite(a0, a1, a2, tags...) \
  9147. +     ({ULONG _tags[] = { tags }; ChangeExtSpriteA((a0), (a1), (a2), (struct TagItem *)_tags);})
  9148. + #endif /* !NO_PPCINLINE_STDARG */
  9149. + #define ChangeSprite(vp, sprite, newData) \
  9150. +     LP3NR(0x1a4, ChangeSprite, struct ViewPort *, vp, a0, struct SimpleSprite *, sprite, a1, PLANEPTR, newData, a2, \
  9151. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9152. + #define ChangeVPBitMap(vp, bm, db) \
  9153. +     LP3NR(0x3ae, ChangeVPBitMap, struct ViewPort *, vp, a0, struct BitMap *, bm, a1, struct DBufInfo *, db, a2, \
  9154. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9155. + #define ClearEOL(rp) \
  9156. +     LP1NR(0x2a, ClearEOL, struct RastPort *, rp, a1, \
  9157. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9158. + #define ClearRectRegion(region, rectangle) \
  9159. +     LP2(0x20a, BOOL, ClearRectRegion, struct Region *, region, a0, struct Rectangle *, rectangle, a1, \
  9160. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9161. + #define ClearRegion(region) \
  9162. +     LP1NR(0x210, ClearRegion, struct Region *, region, a0, \
  9163. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9164. + #define ClearScreen(rp) \
  9165. +     LP1NR(0x30, ClearScreen, struct RastPort *, rp, a1, \
  9166. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9167. + #define ClipBlit(srcRP, xSrc, ySrc, destRP, xDest, yDest, xSize, ySize, minterm) \
  9168. +     LP9NR(0x228, ClipBlit, struct RastPort *, srcRP, a0, long, xSrc, d0, long, ySrc, d1, struct RastPort *, destRP, a1, long, xDest, d2, long, yDest, d3, long, xSize, d4, long, ySize, d5, unsigned long, minterm, d6, \
  9169. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9170. + #define CloseFont(textFont) \
  9171. +     LP1NR(0x4e, CloseFont, struct TextFont *, textFont, a1, \
  9172. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9173. + #define CloseMonitor(monitorSpec) \
  9174. +     LP1(0x2d0, BOOL, CloseMonitor, struct MonitorSpec *, monitorSpec, a0, \
  9175. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9176. + #define CoerceMode(vp, monitorid, flags) \
  9177. +     LP3(0x3a8, ULONG, CoerceMode, struct ViewPort *, vp, a0, unsigned long, monitorid, d0, unsigned long, flags, d1, \
  9178. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9179. + #define CopySBitMap(layer) \
  9180. +     LP1NR(0x1c2, CopySBitMap, struct Layer *, layer, a0, \
  9181. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9182. + #define DisownBlitter() \
  9183. +     LP0NR(0x1ce, DisownBlitter, \
  9184. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9185. + #define DisposeRegion(region) \
  9186. +     LP1NR(0x216, DisposeRegion, struct Region *, region, a0, \
  9187. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9188. + #define DoCollision(rp) \
  9189. +     LP1NR(0x6c, DoCollision, struct RastPort *, rp, a1, \
  9190. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9191. + #define Draw(rp, x, y) \
  9192. +     LP3NR(0xf6, Draw, struct RastPort *, rp, a1, long, x, d0, long, y, d1, \
  9193. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9194. + #define DrawEllipse(rp, xCenter, yCenter, a, b) \
  9195. +     LP5NR(0xb4, DrawEllipse, struct RastPort *, rp, a1, long, xCenter, d0, long, yCenter, d1, long, a, d2, long, b, d3, \
  9196. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9197. + #define DrawGList(rp, vp) \
  9198. +     LP2NR(0x72, DrawGList, struct RastPort *, rp, a1, struct ViewPort *, vp, a0, \
  9199. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9200. + #define EraseRect(rp, xMin, yMin, xMax, yMax) \
  9201. +     LP5NR(0x32a, EraseRect, struct RastPort *, rp, a1, long, xMin, d0, long, yMin, d1, long, xMax, d2, long, yMax, d3, \
  9202. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9203. + #define ExtendFont(font, fontTags) \
  9204. +     LP2(0x330, ULONG, ExtendFont, struct TextFont *, font, a0, struct TagItem *, fontTags, a1, \
  9205. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9206. + #ifndef NO_PPCINLINE_STDARG
  9207. + #define ExtendFontTags(a0, tags...) \
  9208. +     ({ULONG _tags[] = { tags }; ExtendFont((a0), (struct TagItem *)_tags);})
  9209. + #endif /* !NO_PPCINLINE_STDARG */
  9210. + #define FindColor(cm, r, g, b, maxcolor) \
  9211. +     LP5(0x3f0, LONG, FindColor, struct ColorMap *, cm, a3, unsigned long, r, d1, unsigned long, g, d2, unsigned long, b, d3, long, maxcolor, d4, \
  9212. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9213. + #define FindDisplayInfo(displayID) \
  9214. +     LP1(0x2d6, DisplayInfoHandle, FindDisplayInfo, unsigned long, displayID, d0, \
  9215. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9216. + #define Flood(rp, mode, x, y) \
  9217. +     LP4(0x14a, BOOL, Flood, struct RastPort *, rp, a1, unsigned long, mode, d2, long, x, d0, long, y, d1, \
  9218. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9219. + #define FontExtent(font, fontExtent) \
  9220. +     LP2NR(0x2fa, FontExtent, struct TextFont *, font, a0, struct TextExtent *, fontExtent, a1, \
  9221. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9222. + #define FreeBitMap(bm) \
  9223. +     LP1NR(0x39c, FreeBitMap, struct BitMap *, bm, a0, \
  9224. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9225. + #define FreeColorMap(colorMap) \
  9226. +     LP1NR(0x240, FreeColorMap, struct ColorMap *, colorMap, a0, \
  9227. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9228. + #define FreeCopList(copList) \
  9229. +     LP1NR(0x222, FreeCopList, struct CopList *, copList, a0, \
  9230. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9231. + #define FreeCprList(cprList) \
  9232. +     LP1NR(0x234, FreeCprList, struct cprlist *, cprList, a0, \
  9233. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9234. + #define FreeDBufInfo(dbi) \
  9235. +     LP1NR(0x3cc, FreeDBufInfo, struct DBufInfo *, dbi, a1, \
  9236. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9237. + #define FreeGBuffers(anOb, rp, flag) \
  9238. +     LP3NR(0x258, FreeGBuffers, struct AnimOb *, anOb, a0, struct RastPort *, rp, a1, long, flag, d0, \
  9239. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9240. + #define FreeRaster(p, width, height) \
  9241. +     LP3NR(0x1f2, FreeRaster, PLANEPTR, p, a0, unsigned long, width, d0, unsigned long, height, d1, \
  9242. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9243. + #define FreeSprite(num) \
  9244. +     LP1NR(0x19e, FreeSprite, long, num, d0, \
  9245. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9246. + #define FreeSpriteData(sp) \
  9247. +     LP1NR(0x408, FreeSpriteData, struct ExtSprite *, sp, a2, \
  9248. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9249. + #define FreeVPortCopLists(vp) \
  9250. +     LP1NR(0x21c, FreeVPortCopLists, struct ViewPort *, vp, a0, \
  9251. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9252. + #define GetAPen(rp) \
  9253. +     LP1(0x35a, ULONG, GetAPen, struct RastPort *, rp, a0, \
  9254. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9255. + #define GetBPen(rp) \
  9256. +     LP1(0x360, ULONG, GetBPen, struct RastPort *, rp, a0, \
  9257. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9258. + #define GetBitMapAttr(bm, attrnum) \
  9259. +     LP2(0x3c0, ULONG, GetBitMapAttr, struct BitMap *, bm, a0, unsigned long, attrnum, d1, \
  9260. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9261. + #define GetColorMap(entries) \
  9262. +     LP1(0x23a, struct ColorMap *, GetColorMap, long, entries, d0, \
  9263. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9264. + #define GetDisplayInfoData(handle, buf, size, tagID, displayID) \
  9265. +     LP5(0x2f4, ULONG, GetDisplayInfoData, DisplayInfoHandle, handle, a0, UBYTE *, buf, a1, unsigned long, size, d0, unsigned long, tagID, d1, unsigned long, displayID, d2, \
  9266. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9267. + #define GetDrMd(rp) \
  9268. +     LP1(0x366, ULONG, GetDrMd, struct RastPort *, rp, a0, \
  9269. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9270. + #define GetExtSpriteA(ss, tags) \
  9271. +     LP2(0x3a2, LONG, GetExtSpriteA, struct ExtSprite *, ss, a2, struct TagItem *, tags, a1, \
  9272. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9273. + #ifndef NO_PPCINLINE_STDARG
  9274. + #define GetExtSprite(a0, tags...) \
  9275. +     ({ULONG _tags[] = { tags }; GetExtSpriteA((a0), (struct TagItem *)_tags);})
  9276. + #endif /* !NO_PPCINLINE_STDARG */
  9277. + #define GetGBuffers(anOb, rp, flag) \
  9278. +     LP3(0xa8, BOOL, GetGBuffers, struct AnimOb *, anOb, a0, struct RastPort *, rp, a1, long, flag, d0, \
  9279. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9280. + #define GetOutlinePen(rp) \
  9281. +     LP1(0x36c, ULONG, GetOutlinePen, struct RastPort *, rp, a0, \
  9282. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9283. + #define GetRGB32(cm, firstcolor, ncolors, table) \
  9284. +     LP4NR(0x384, GetRGB32, struct ColorMap *, cm, a0, unsigned long, firstcolor, d0, unsigned long, ncolors, d1, ULONG *, table, a1, \
  9285. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9286. + #define GetRGB4(colorMap, entry) \
  9287. +     LP2(0x246, ULONG, GetRGB4, struct ColorMap *, colorMap, a0, long, entry, d0, \
  9288. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9289. + #define GetRPAttrsA(rp, tags) \
  9290. +     LP2NR(0x414, GetRPAttrsA, struct RastPort *, rp, a0, struct TagItem *, tags, a1, \
  9291. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9292. + #ifndef NO_PPCINLINE_STDARG
  9293. + #define GetRPAttrs(a0, tags...) \
  9294. +     ({ULONG _tags[] = { tags }; GetRPAttrsA((a0), (struct TagItem *)_tags);})
  9295. + #endif /* !NO_PPCINLINE_STDARG */
  9296. + #define GetSprite(sprite, num) \
  9297. +     LP2(0x198, WORD, GetSprite, struct SimpleSprite *, sprite, a0, long, num, d0, \
  9298. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9299. + #define GetVPModeID(vp) \
  9300. +     LP1(0x318, LONG, GetVPModeID, struct ViewPort *, vp, a0, \
  9301. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9302. + #define GfxAssociate(associateNode, gfxNodePtr) \
  9303. +     LP2NR(0x2a0, GfxAssociate, APTR, associateNode, a0, APTR, gfxNodePtr, a1, \
  9304. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9305. + #define GfxFree(gfxNodePtr) \
  9306. +     LP1NR(0x29a, GfxFree, APTR, gfxNodePtr, a0, \
  9307. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9308. + #define GfxLookUp(associateNode) \
  9309. +     LP1(0x2be, APTR, GfxLookUp, APTR, associateNode, a0, \
  9310. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9311. + #define GfxNew(gfxNodeType) \
  9312. +     LP1(0x294, APTR, GfxNew, unsigned long, gfxNodeType, d0, \
  9313. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9314. + #define InitArea(areaInfo, vectorBuffer, maxVectors) \
  9315. +     LP3NR(0x11a, InitArea, struct AreaInfo *, areaInfo, a0, APTR, vectorBuffer, a1, long, maxVectors, d0, \
  9316. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9317. + #define InitBitMap(bitMap, depth, width, height) \
  9318. +     LP4NR(0x186, InitBitMap, struct BitMap *, bitMap, a0, long, depth, d0, long, width, d1, long, height, d2, \
  9319. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9320. + #define InitGMasks(anOb) \
  9321. +     LP1NR(0xae, InitGMasks, struct AnimOb *, anOb, a0, \
  9322. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9323. + #define InitGels(head, tail, gelsInfo) \
  9324. +     LP3NR(0x78, InitGels, struct VSprite *, head, a0, struct VSprite *, tail, a1, struct GelsInfo *, gelsInfo, a2, \
  9325. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9326. + #define InitMasks(vSprite) \
  9327. +     LP1NR(0x7e, InitMasks, struct VSprite *, vSprite, a0, \
  9328. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9329. + #define InitRastPort(rp) \
  9330. +     LP1NR(0xc6, InitRastPort, struct RastPort *, rp, a1, \
  9331. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9332. + #define InitTmpRas(tmpRas, buffer, size) \
  9333. +     LP3(0x1d4, struct TmpRas *, InitTmpRas, struct TmpRas *, tmpRas, a0, PLANEPTR, buffer, a1, long, size, d0, \
  9334. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9335. + #define InitVPort(vp) \
  9336. +     LP1NR(0xcc, InitVPort, struct ViewPort *, vp, a0, \
  9337. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9338. + #define InitView(view) \
  9339. +     LP1NR(0x168, InitView, struct View *, view, a1, \
  9340. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9341. + #define LoadRGB32(vp, table) \
  9342. +     LP2NR(0x372, LoadRGB32, struct ViewPort *, vp, a0, ULONG *, table, a1, \
  9343. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9344. + #define LoadRGB4(vp, colors, count) \
  9345. +     LP3NR(0xc0, LoadRGB4, struct ViewPort *, vp, a0, UWORD *, colors, a1, long, count, d0, \
  9346. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9347. + #define LoadView(view) \
  9348. +     LP1NR(0xde, LoadView, struct View *, view, a1, \
  9349. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9350. + #define LockLayerRom(layer) \
  9351. +     LP1NRA5(0x1b0, LockLayerRom, struct Layer *, layer, d7, \
  9352. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9353. + #define MakeVPort(view, vp) \
  9354. +     LP2(0xd8, ULONG, MakeVPort, struct View *, view, a0, struct ViewPort *, vp, a1, \
  9355. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9356. + #define ModeNotAvailable(modeID) \
  9357. +     LP1(0x31e, LONG, ModeNotAvailable, unsigned long, modeID, d0, \
  9358. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9359. + #define Move(rp, x, y) \
  9360. +     LP3NR(0xf0, Move, struct RastPort *, rp, a1, long, x, d0, long, y, d1, \
  9361. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9362. + #define MoveSprite(vp, sprite, x, y) \
  9363. +     LP4NR(0x1aa, MoveSprite, struct ViewPort *, vp, a0, struct SimpleSprite *, sprite, a1, long, x, d0, long, y, d1, \
  9364. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9365. + #define MrgCop(view) \
  9366. +     LP1(0xd2, ULONG, MrgCop, struct View *, view, a1, \
  9367. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9368. + #define NewRegion() \
  9369. +     LP0(0x204, struct Region *, NewRegion, \
  9370. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9371. + #define NextDisplayInfo(displayID) \
  9372. +     LP1(0x2dc, ULONG, NextDisplayInfo, unsigned long, displayID, d0, \
  9373. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9374. + #define ObtainBestPenA(cm, r, g, b, tags) \
  9375. +     LP5(0x348, LONG, ObtainBestPenA, struct ColorMap *, cm, a0, unsigned long, r, d1, unsigned long, g, d2, unsigned long, b, d3, struct TagItem *, tags, a1, \
  9376. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9377. + #ifndef NO_PPCINLINE_STDARG
  9378. + #define ObtainBestPen(a0, a1, a2, a3, tags...) \
  9379. +     ({ULONG _tags[] = { tags }; ObtainBestPenA((a0), (a1), (a2), (a3), (struct TagItem *)_tags);})
  9380. + #endif /* !NO_PPCINLINE_STDARG */
  9381. + #define ObtainPen(cm, n, r, g, b, f) \
  9382. +     LP6(0x3ba, ULONG, ObtainPen, struct ColorMap *, cm, a0, unsigned long, n, d0, unsigned long, r, d1, unsigned long, g, d2, unsigned long, b, d3, long, f, d4, \
  9383. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9384. + #define OpenFont(textAttr) \
  9385. +     LP1(0x48, struct TextFont *, OpenFont, struct TextAttr *, textAttr, a0, \
  9386. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9387. + #define OpenMonitor(monitorName, displayID) \
  9388. +     LP2(0x2ca, struct MonitorSpec *, OpenMonitor, STRPTR, monitorName, a1, unsigned long, displayID, d0, \
  9389. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9390. + #define OrRectRegion(region, rectangle) \
  9391. +     LP2(0x1fe, BOOL, OrRectRegion, struct Region *, region, a0, struct Rectangle *, rectangle, a1, \
  9392. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9393. + #define OrRegionRegion(srcRegion, destRegion) \
  9394. +     LP2(0x264, BOOL, OrRegionRegion, struct Region *, srcRegion, a0, struct Region *, destRegion, a1, \
  9395. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9396. + #define OwnBlitter() \
  9397. +     LP0NR(0x1c8, OwnBlitter, \
  9398. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9399. + #define PolyDraw(rp, count, polyTable) \
  9400. +     LP3NR(0x150, PolyDraw, struct RastPort *, rp, a1, long, count, d0, WORD *, polyTable, a0, \
  9401. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9402. + #define QBSBlit(blit) \
  9403. +     LP1NR(0x126, QBSBlit, struct bltnode *, blit, a1, \
  9404. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9405. + #define QBlit(blit) \
  9406. +     LP1NR(0x114, QBlit, struct bltnode *, blit, a1, \
  9407. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9408. + #define ReadPixel(rp, x, y) \
  9409. +     LP3(0x13e, ULONG, ReadPixel, struct RastPort *, rp, a1, long, x, d0, long, y, d1, \
  9410. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9411. + #define ReadPixelArray8(rp, xstart, ystart, xstop, ystop, array, temprp) \
  9412. +     LP7(0x30c, LONG, ReadPixelArray8, struct RastPort *, rp, a0, unsigned long, xstart, d0, unsigned long, ystart, d1, unsigned long, xstop, d2, unsigned long, ystop, d3, UBYTE *, array, a2, struct RastPort *, temprp, a1, \
  9413. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9414. + #define ReadPixelLine8(rp, xstart, ystart, width, array, tempRP) \
  9415. +     LP6(0x300, LONG, ReadPixelLine8, struct RastPort *, rp, a0, unsigned long, xstart, d0, unsigned long, ystart, d1, unsigned long, width, d2, UBYTE *, array, a2, struct RastPort *, tempRP, a1, \
  9416. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9417. + #define RectFill(rp, xMin, yMin, xMax, yMax) \
  9418. +     LP5NR(0x132, RectFill, struct RastPort *, rp, a1, long, xMin, d0, long, yMin, d1, long, xMax, d2, long, yMax, d3, \
  9419. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9420. + #define ReleasePen(cm, n) \
  9421. +     LP2NR(0x3b4, ReleasePen, struct ColorMap *, cm, a0, unsigned long, n, d0, \
  9422. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9423. + #define RemFont(textFont) \
  9424. +     LP1NR(0x1e6, RemFont, struct TextFont *, textFont, a1, \
  9425. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9426. + #define RemIBob(bob, rp, vp) \
  9427. +     LP3NR(0x84, RemIBob, struct Bob *, bob, a0, struct RastPort *, rp, a1, struct ViewPort *, vp, a2, \
  9428. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9429. + #define RemVSprite(vSprite) \
  9430. +     LP1NR(0x8a, RemVSprite, struct VSprite *, vSprite, a0, \
  9431. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9432. + #define ScalerDiv(factor, numerator, denominator) \
  9433. +     LP3(0x2ac, UWORD, ScalerDiv, unsigned long, factor, d0, unsigned long, numerator, d1, unsigned long, denominator, d2, \
  9434. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9435. + #define ScrollRaster(rp, dx, dy, xMin, yMin, xMax, yMax) \
  9436. +     LP7NR(0x18c, ScrollRaster, struct RastPort *, rp, a1, long, dx, d0, long, dy, d1, long, xMin, d2, long, yMin, d3, long, xMax, d4, long, yMax, d5, \
  9437. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9438. + #define ScrollRasterBF(rp, dx, dy, xMin, yMin, xMax, yMax) \
  9439. +     LP7NR(0x3ea, ScrollRasterBF, struct RastPort *, rp, a1, long, dx, d0, long, dy, d1, long, xMin, d2, long, yMin, d3, long, xMax, d4, long, yMax, d5, \
  9440. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9441. + #define ScrollVPort(vp) \
  9442. +     LP1NR(0x24c, ScrollVPort, struct ViewPort *, vp, a0, \
  9443. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9444. + #define SetABPenDrMd(rp, apen, bpen, drawmode) \
  9445. +     LP4NR(0x37e, SetABPenDrMd, struct RastPort *, rp, a1, unsigned long, apen, d0, unsigned long, bpen, d1, unsigned long, drawmode, d2, \
  9446. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9447. + #define SetAPen(rp, pen) \
  9448. +     LP2NR(0x156, SetAPen, struct RastPort *, rp, a1, unsigned long, pen, d0, \
  9449. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9450. + #define SetBPen(rp, pen) \
  9451. +     LP2NR(0x15c, SetBPen, struct RastPort *, rp, a1, unsigned long, pen, d0, \
  9452. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9453. + #define SetChipRev(want) \
  9454. +     LP1(0x378, ULONG, SetChipRev, unsigned long, want, d0, \
  9455. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9456. + #define SetCollision(num, routine, gelsInfo) \
  9457. +     LP3NRFP(0x90, SetCollision, unsigned long, num, d0, __fpt, routine, a0, struct GelsInfo *, gelsInfo, a1, \
  9458. +     , GRAPHICS_BASE_NAME, void (*__fpt)(struct VSprite *vSprite, APTR), IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9459. + #define SetDrMd(rp, drawMode) \
  9460. +     LP2NR(0x162, SetDrMd, struct RastPort *, rp, a1, unsigned long, drawMode, d0, \
  9461. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9462. + #define SetFont(rp, textFont) \
  9463. +     LP2(0x42, LONG, SetFont, struct RastPort *, rp, a1, struct TextFont *, textFont, a0, \
  9464. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9465. + #define SetMaxPen(rp, maxpen) \
  9466. +     LP2NR(0x3de, SetMaxPen, struct RastPort *, rp, a0, unsigned long, maxpen, d0, \
  9467. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9468. + #define SetOutlinePen(rp, pen) \
  9469. +     LP2(0x3d2, ULONG, SetOutlinePen, struct RastPort *, rp, a0, unsigned long, pen, d0, \
  9470. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9471. + #define SetRGB32(vp, n, r, g, b) \
  9472. +     LP5NR(0x354, SetRGB32, struct ViewPort *, vp, a0, unsigned long, n, d0, unsigned long, r, d1, unsigned long, g, d2, unsigned long, b, d3, \
  9473. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9474. + #define SetRGB32CM(cm, n, r, g, b) \
  9475. +     LP5NR(0x3e4, SetRGB32CM, struct ColorMap *, cm, a0, unsigned long, n, d0, unsigned long, r, d1, unsigned long, g, d2, unsigned long, b, d3, \
  9476. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9477. + #define SetRGB4(vp, index, red, green, blue) \
  9478. +     LP5NR(0x120, SetRGB4, struct ViewPort *, vp, a0, long, index, d0, unsigned long, red, d1, unsigned long, green, d2, unsigned long, blue, d3, \
  9479. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9480. + #define SetRGB4CM(colorMap, index, red, green, blue) \
  9481. +     LP5NR(0x276, SetRGB4CM, struct ColorMap *, colorMap, a0, long, index, d0, unsigned long, red, d1, unsigned long, green, d2, unsigned long, blue, d3, \
  9482. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9483. + #define SetRPAttrsA(rp, tags) \
  9484. +     LP2NR(0x40e, SetRPAttrsA, struct RastPort *, rp, a0, struct TagItem *, tags, a1, \
  9485. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9486. + #ifndef NO_PPCINLINE_STDARG
  9487. + #define SetRPAttrs(a0, tags...) \
  9488. +     ({ULONG _tags[] = { tags }; SetRPAttrsA((a0), (struct TagItem *)_tags);})
  9489. + #endif /* !NO_PPCINLINE_STDARG */
  9490. + #define SetRast(rp, pen) \
  9491. +     LP2NR(0xea, SetRast, struct RastPort *, rp, a1, unsigned long, pen, d0, \
  9492. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9493. + #define SetSoftStyle(rp, style, enable) \
  9494. +     LP3(0x5a, ULONG, SetSoftStyle, struct RastPort *, rp, a1, unsigned long, style, d0, unsigned long, enable, d1, \
  9495. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9496. + #define SetWriteMask(rp, msk) \
  9497. +     LP2(0x3d8, ULONG, SetWriteMask, struct RastPort *, rp, a0, unsigned long, msk, d0, \
  9498. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9499. + #define SortGList(rp) \
  9500. +     LP1NR(0x96, SortGList, struct RastPort *, rp, a1, \
  9501. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9502. + #define StripFont(font) \
  9503. +     LP1NR(0x336, StripFont, struct TextFont *, font, a0, \
  9504. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9505. + #define SyncSBitMap(layer) \
  9506. +     LP1NR(0x1bc, SyncSBitMap, struct Layer *, layer, a0, \
  9507. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9508. + #define Text(rp, string, count) \
  9509. +     LP3(0x3c, LONG, Text, struct RastPort *, rp, a1, STRPTR, string, a0, unsigned long, count, d0, \
  9510. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9511. + #define TextExtent(rp, string, count, textExtent) \
  9512. +     LP4(0x2b2, WORD, TextExtent, struct RastPort *, rp, a1, STRPTR, string, a0, long, count, d0, struct TextExtent *, textExtent, a2, \
  9513. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9514. + #define TextFit(rp, string, strLen, textExtent, constrainingExtent, strDirection, constrainingBitWidth, constrainingBitHeight) \
  9515. +     LP8(0x2b8, ULONG, TextFit, struct RastPort *, rp, a1, STRPTR, string, a0, unsigned long, strLen, d0, struct TextExtent *, textExtent, a2, struct TextExtent *, constrainingExtent, a3, long, strDirection, d1, unsigned long, constrainingBitWidth, d2, unsigned long, constrainingBitHeight, d3, \
  9516. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9517. + #define TextLength(rp, string, count) \
  9518. +     LP3(0x36, WORD, TextLength, struct RastPort *, rp, a1, STRPTR, string, a0, unsigned long, count, d0, \
  9519. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9520. + #define UCopperListInit(uCopList, n) \
  9521. +     LP2(0x252, struct CopList *, UCopperListInit, struct UCopList *, uCopList, a0, long, n, d0, \
  9522. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9523. + #define UnlockLayerRom(layer) \
  9524. +     LP1NRA5(0x1b6, UnlockLayerRom, struct Layer *, layer, d7, \
  9525. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9526. + #define VBeamPos() \
  9527. +     LP0(0x180, LONG, VBeamPos, \
  9528. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9529. + #define VideoControl(colorMap, tagarray) \
  9530. +     LP2(0x2c4, BOOL, VideoControl, struct ColorMap *, colorMap, a0, struct TagItem *, tagarray, a1, \
  9531. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9532. + #ifndef NO_PPCINLINE_STDARG
  9533. + #define VideoControlTags(a0, tags...) \
  9534. +     ({ULONG _tags[] = { tags }; VideoControl((a0), (struct TagItem *)_tags);})
  9535. + #endif /* !NO_PPCINLINE_STDARG */
  9536. + #define WaitBOVP(vp) \
  9537. +     LP1NR(0x192, WaitBOVP, struct ViewPort *, vp, a0, \
  9538. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9539. + #define WaitBlit() \
  9540. +     LP0NR(0xe4, WaitBlit, \
  9541. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9542. + #define WaitTOF() \
  9543. +     LP0NR(0x10e, WaitTOF, \
  9544. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9545. + #define WeighTAMatch(reqTextAttr, targetTextAttr, targetTags) \
  9546. +     LP3(0x324, WORD, WeighTAMatch, struct TextAttr *, reqTextAttr, a0, struct TextAttr *, targetTextAttr, a1, struct TagItem *, targetTags, a2, \
  9547. +     , GRAPHICS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9548. + #ifndef NO_PPCINLINE_STDARG
  9549. + #define WeighTAMatchTags(a0, a1, tags...) \
  9550. +     ({ULONG _tags[] = { tags }; WeighTAMatch((a0), (a1), (struct TagItem *)_tags);})
  9551. + #endif /* !NO_PPCINLINE_STDARG */
  9552. + #define WriteChunkyPixels(rp, xstart, ystart, xstop, ystop, array, bytesperrow) \
  9553. +     LP7NR(0x420, WriteChunkyPixels, struct RastPort *, rp, a0, unsigned long, xstart, d0, unsigned long, ystart, d1, unsigned long, xstop, d2, unsigned long, ys
  9554. \ No newline at end of file
  9555. diff -c2 -d -P -r include_h/powerup/ppcinline/icon.h includenew/powerup/ppcinline/icon.h
  9556. *** include_h/powerup/ppcinline/icon.h    Thu Jan  1 00:00:00 1970
  9557. --- includenew/powerup/ppcinline/icon.h    Wed Feb 14 02:41:20 2001
  9558. ***************
  9559. *** 0 ****
  9560. --- 1,62 ----
  9561. + /* Automatically generated header! Do not edit! */
  9562. + #ifndef _PPCINLINE_ICON_H
  9563. + #define _PPCINLINE_ICON_H
  9564. + #ifndef __PPCINLINE_MACROS_H
  9565. + #include <powerup/ppcinline/macros.h>
  9566. + #endif /* !__PPCINLINE_MACROS_H */
  9567. + #ifndef ICON_BASE_NAME
  9568. + #define ICON_BASE_NAME IconBase
  9569. + #endif /* !ICON_BASE_NAME */
  9570. + #define AddFreeList(freelist, mem, size) \
  9571. +     LP3(0x48, BOOL, AddFreeList, struct FreeList *, freelist, a0, APTR, mem, a1, unsigned long, size, a2, \
  9572. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9573. + #define BumpRevision(newname, oldname) \
  9574. +     LP2(0x6c, UBYTE *, BumpRevision, UBYTE *, newname, a0, UBYTE *, oldname, a1, \
  9575. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9576. + #define DeleteDiskObject(name) \
  9577. +     LP1(0x8a, BOOL, DeleteDiskObject, UBYTE *, name, a0, \
  9578. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9579. + #define FindToolType(toolTypeArray, typeName) \
  9580. +     LP2(0x60, UBYTE *, FindToolType, UBYTE **, toolTypeArray, a0, UBYTE *, typeName, a1, \
  9581. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9582. + #define FreeDiskObject(diskobj) \
  9583. +     LP1NR(0x5a, FreeDiskObject, struct DiskObject *, diskobj, a0, \
  9584. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9585. + #define FreeFreeList(freelist) \
  9586. +     LP1NR(0x36, FreeFreeList, struct FreeList *, freelist, a0, \
  9587. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9588. + #define GetDefDiskObject(type) \
  9589. +     LP1(0x78, struct DiskObject *, GetDefDiskObject, long, type, d0, \
  9590. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9591. + #define GetDiskObject(name) \
  9592. +     LP1(0x4e, struct DiskObject *, GetDiskObject, UBYTE *, name, a0, \
  9593. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9594. + #define GetDiskObjectNew(name) \
  9595. +     LP1(0x84, struct DiskObject *, GetDiskObjectNew, UBYTE *, name, a0, \
  9596. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9597. + #define MatchToolValue(typeString, value) \
  9598. +     LP2(0x66, BOOL, MatchToolValue, UBYTE *, typeString, a0, UBYTE *, value, a1, \
  9599. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9600. + #define PutDefDiskObject(diskObject) \
  9601. +     LP1(0x7e, BOOL, PutDefDiskObject, struct DiskObject *, diskObject, a0, \
  9602. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9603. + #define PutDiskObject(name, diskobj) \
  9604. +     LP2(0x54, BOOL, PutDiskObject, UBYTE *, name, a0, struct DiskObject *, diskobj, a1, \
  9605. +     , ICON_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9606. + #endif /* !_PPCINLINE_ICON_H */
  9607. diff -c2 -d -P -r include_h/powerup/ppcinline/iffparse.h includenew/powerup/ppcinline/iffparse.h
  9608. *** include_h/powerup/ppcinline/iffparse.h    Thu Jan  1 00:00:00 1970
  9609. --- includenew/powerup/ppcinline/iffparse.h    Wed Feb 14 02:41:20 2001
  9610. ***************
  9611. *** 0 ****
  9612. --- 1,174 ----
  9613. + /* Automatically generated header! Do not edit! */
  9614. + #ifndef _PPCINLINE_IFFPARSE_H
  9615. + #define _PPCINLINE_IFFPARSE_H
  9616. + #ifndef __PPCINLINE_MACROS_H
  9617. + #include <powerup/ppcinline/macros.h>
  9618. + #endif /* !__PPCINLINE_MACROS_H */
  9619. + #ifndef IFFPARSE_BASE_NAME
  9620. + #define IFFPARSE_BASE_NAME IFFParseBase
  9621. + #endif /* !IFFPARSE_BASE_NAME */
  9622. + #define AllocIFF() \
  9623. +     LP0(0x1e, struct IFFHandle *, AllocIFF, \
  9624. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9625. + #define AllocLocalItem(type, id, ident, dataSize) \
  9626. +     LP4(0xba, struct LocalContextItem *, AllocLocalItem, long, type, d0, long, id, d1, long, ident, d2, long, dataSize, d3, \
  9627. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9628. + #define CloseClipboard(clipHandle) \
  9629. +     LP1NR(0xfc, CloseClipboard, struct ClipboardHandle *, clipHandle, a0, \
  9630. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9631. + #define CloseIFF(iff) \
  9632. +     LP1NR(0x30, CloseIFF, struct IFFHandle *, iff, a0, \
  9633. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9634. + #define CollectionChunk(iff, type, id) \
  9635. +     LP3(0x8a, LONG, CollectionChunk, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  9636. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9637. + #define CollectionChunks(iff, propArray, numPairs) \
  9638. +     LP3(0x90, LONG, CollectionChunks, struct IFFHandle *, iff, a0, LONG *, propArray, a1, long, numPairs, d0, \
  9639. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9640. + #define CurrentChunk(iff) \
  9641. +     LP1(0xae, struct ContextNode *, CurrentChunk, struct IFFHandle *, iff, a0, \
  9642. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9643. + #define EntryHandler(iff, type, id, position, handler, object) \
  9644. +     LP6(0x66, LONG, EntryHandler, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, long, position, d2, struct Hook *, handler, a1, APTR, object, a2, \
  9645. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9646. + #define ExitHandler(iff, type, id, position, handler, object) \
  9647. +     LP6(0x6c, LONG, ExitHandler, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, long, position, d2, struct Hook *, handler, a1, APTR, object, a2, \
  9648. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9649. + #define FindCollection(iff, type, id) \
  9650. +     LP3(0xa2, struct CollectionItem *, FindCollection, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  9651. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9652. + #define FindLocalItem(iff, type, id, ident) \
  9653. +     LP4(0xd2, struct LocalContextItem *, FindLocalItem, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, long, ident, d2, \
  9654. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9655. + #define FindProp(iff, type, id) \
  9656. +     LP3(0x9c, struct StoredProperty *, FindProp, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  9657. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9658. + #define FindPropContext(iff) \
  9659. +     LP1(0xa8, struct ContextNode *, FindPropContext, struct IFFHandle *, iff, a0, \
  9660. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9661. + #define FreeIFF(iff) \
  9662. +     LP1NR(0x36, FreeIFF, struct IFFHandle *, iff, a0, \
  9663. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9664. + #define FreeLocalItem(localItem) \
  9665. +     LP1NR(0xcc, FreeLocalItem, struct LocalContextItem *, localItem, a0, \
  9666. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9667. + #define GoodID(id) \
  9668. +     LP1(0x102, LONG, GoodID, long, id, d0, \
  9669. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9670. + #define GoodType(type) \
  9671. +     LP1(0x108, LONG, GoodType, long, type, d0, \
  9672. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9673. + #define IDtoStr(id, buf) \
  9674. +     LP2(0x10e, STRPTR, IDtoStr, long, id, d0, STRPTR, buf, a0, \
  9675. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9676. + #define InitIFF(iff, flags, streamHook) \
  9677. +     LP3NR(0xe4, InitIFF, struct IFFHandle *, iff, a0, long, flags, d0, struct Hook *, streamHook, a1, \
  9678. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9679. + #define InitIFFasClip(iff) \
  9680. +     LP1NR(0xf0, InitIFFasClip, struct IFFHandle *, iff, a0, \
  9681. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9682. + #define InitIFFasDOS(iff) \
  9683. +     LP1NR(0xea, InitIFFasDOS, struct IFFHandle *, iff, a0, \
  9684. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9685. + #define LocalItemData(localItem) \
  9686. +     LP1(0xc0, APTR, LocalItemData, struct LocalContextItem *, localItem, a0, \
  9687. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9688. + #define OpenClipboard(unitNumber) \
  9689. +     LP1(0xf6, struct ClipboardHandle *, OpenClipboard, long, unitNumber, d0, \
  9690. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9691. + #define OpenIFF(iff, rwMode) \
  9692. +     LP2(0x24, LONG, OpenIFF, struct IFFHandle *, iff, a0, long, rwMode, d0, \
  9693. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9694. + #define ParentChunk(contextNode) \
  9695. +     LP1(0xb4, struct ContextNode *, ParentChunk, struct ContextNode *, contextNode, a0, \
  9696. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9697. + #define ParseIFF(iff, control) \
  9698. +     LP2(0x2a, LONG, ParseIFF, struct IFFHandle *, iff, a0, long, control, d0, \
  9699. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9700. + #define PopChunk(iff) \
  9701. +     LP1(0x5a, LONG, PopChunk, struct IFFHandle *, iff, a0, \
  9702. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9703. + #define PropChunk(iff, type, id) \
  9704. +     LP3(0x72, LONG, PropChunk, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  9705. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9706. + #define PropChunks(iff, propArray, numPairs) \
  9707. +     LP3(0x78, LONG, PropChunks, struct IFFHandle *, iff, a0, LONG *, propArray, a1, long, numPairs, d0, \
  9708. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9709. + #define PushChunk(iff, type, id, size) \
  9710. +     LP4(0x54, LONG, PushChunk, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, long, size, d2, \
  9711. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9712. + #define ReadChunkBytes(iff, buf, numBytes) \
  9713. +     LP3(0x3c, LONG, ReadChunkBytes, struct IFFHandle *, iff, a0, APTR, buf, a1, long, numBytes, d0, \
  9714. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9715. + #define ReadChunkRecords(iff, buf, bytesPerRecord, numRecords) \
  9716. +     LP4(0x48, LONG, ReadChunkRecords, struct IFFHandle *, iff, a0, APTR, buf, a1, long, bytesPerRecord, d0, long, numRecords, d1, \
  9717. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9718. + #define SetLocalItemPurge(localItem, purgeHook) \
  9719. +     LP2NR(0xc6, SetLocalItemPurge, struct LocalContextItem *, localItem, a0, struct Hook *, purgeHook, a1, \
  9720. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9721. + #define StopChunk(iff, type, id) \
  9722. +     LP3(0x7e, LONG, StopChunk, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  9723. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9724. + #define StopChunks(iff, propArray, numPairs) \
  9725. +     LP3(0x84, LONG, StopChunks, struct IFFHandle *, iff, a0, LONG *, propArray, a1, long, numPairs, d0, \
  9726. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9727. + #define StopOnExit(iff, type, id) \
  9728. +     LP3(0x96, LONG, StopOnExit, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  9729. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9730. + #define StoreItemInContext(iff, localItem, contextNode) \
  9731. +     LP3NR(0xde, StoreItemInContext, struct IFFHandle *, iff, a0, struct LocalContextItem *, localItem, a1, struct ContextNode *, contextNode, a2, \
  9732. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9733. + #define StoreLocalItem(iff, localItem, position) \
  9734. +     LP3(0xd8, LONG, StoreLocalItem, struct IFFHandle *, iff, a0, struct LocalContextItem *, localItem, a1, long, position, d0, \
  9735. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9736. + #define WriteChunkBytes(iff, buf, numBytes) \
  9737. +     LP3(0x42, LONG, WriteChunkBytes, struct IFFHandle *, iff, a0, APTR, buf, a1, long, numBytes, d0, \
  9738. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9739. + #define WriteChunkRecords(iff, buf, bytesPerRecord, numRecords) \
  9740. +     LP4(0x4e, LONG, WriteChunkRecords, struct IFFHandle *, iff, a0, APTR, buf, a1, long, bytesPerRecord, d0, long, numRecords, d1, \
  9741. +     , IFFPARSE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9742. + #endif /* !_PPCINLINE_IFFPARSE_H */
  9743. diff -c2 -d -P -r include_h/powerup/ppcinline/input.h includenew/powerup/ppcinline/input.h
  9744. *** include_h/powerup/ppcinline/input.h    Thu Jan  1 00:00:00 1970
  9745. --- includenew/powerup/ppcinline/input.h    Wed Feb 14 02:41:20 2001
  9746. ***************
  9747. *** 0 ****
  9748. --- 1,18 ----
  9749. + /* Automatically generated header! Do not edit! */
  9750. + #ifndef _PPCINLINE_INPUT_H
  9751. + #define _PPCINLINE_INPUT_H
  9752. + #ifndef __PPCINLINE_MACROS_H
  9753. + #include <powerup/ppcinline/macros.h>
  9754. + #endif /* !__PPCINLINE_MACROS_H */
  9755. + #ifndef INPUT_BASE_NAME
  9756. + #define INPUT_BASE_NAME InputBase
  9757. + #endif /* !INPUT_BASE_NAME */
  9758. + #define PeekQualifier() \
  9759. +     LP0(0x2a, UWORD, PeekQualifier, \
  9760. +     , INPUT_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9761. + #endif /* !_PPCINLINE_INPUT_H */
  9762. diff -c2 -d -P -r include_h/powerup/ppcinline/intuition.h includenew/powerup/ppcinline/intuition.h
  9763. *** include_h/powerup/ppcinline/intuition.h    Thu Jan  1 00:00:00 1970
  9764. --- includenew/powerup/ppcinline/intuition.h    Wed Feb 14 02:41:20 2001
  9765. ***************
  9766. *** 0 ****
  9767. --- 1,555 ----
  9768. + /* Automatically generated header! Do not edit! */
  9769. + #ifndef _PPCINLINE_INTUITION_H
  9770. + #define _PPCINLINE_INTUITION_H
  9771. + #ifndef __PPCINLINE_MACROS_H
  9772. + #include <powerup/ppcinline/macros.h>
  9773. + #endif /* !__PPCINLINE_MACROS_H */
  9774. + #ifndef INTUITION_BASE_NAME
  9775. + #define INTUITION_BASE_NAME IntuitionBase
  9776. + #endif /* !INTUITION_BASE_NAME */
  9777. + #define ActivateGadget(gadgets, window, requester) \
  9778. +     LP3(0x1ce, BOOL, ActivateGadget, struct Gadget *, gadgets, a0, struct Window *, window, a1, struct Requester *, requester, a2, \
  9779. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9780. + #define ActivateWindow(window) \
  9781. +     LP1NR(0x1c2, ActivateWindow, struct Window *, window, a0, \
  9782. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9783. + #define AddClass(classPtr) \
  9784. +     LP1NR(0x2ac, AddClass, struct IClass *, classPtr, a0, \
  9785. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9786. + #define AddGList(window, gadget, position, numGad, requester) \
  9787. +     LP5(0x1b6, UWORD, AddGList, struct Window *, window, a0, struct Gadget *, gadget, a1, unsigned long, position, d0, long, numGad, d1, struct Requester *, requester, a2, \
  9788. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9789. + #define AddGadget(window, gadget, position) \
  9790. +     LP3(0x2a, UWORD, AddGadget, struct Window *, window, a0, struct Gadget *, gadget, a1, unsigned long, position, d0, \
  9791. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9792. + #define AllocRemember(rememberKey, size, flags) \
  9793. +     LP3(0x18c, APTR, AllocRemember, struct Remember **, rememberKey, a0, unsigned long, size, d0, unsigned long, flags, d1, \
  9794. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9795. + #define AllocScreenBuffer(sc, bm, flags) \
  9796. +     LP3(0x300, struct ScreenBuffer *, AllocScreenBuffer, struct Screen *, sc, a0, struct BitMap *, bm, a1, unsigned long, flags, d0, \
  9797. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9798. + #define AlohaWorkbench(wbport) \
  9799. +     LP1NR(0x192, AlohaWorkbench, long, wbport, a0, \
  9800. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9801. + #define AutoRequest(window, body, posText, negText, pFlag, nFlag, width, height) \
  9802. +     LP8(0x15c, BOOL, AutoRequest, struct Window *, window, a0, struct IntuiText *, body, a1, struct IntuiText *, posText, a2, struct IntuiText *, negText, a3, unsigned long, pFlag, d0, unsigned long, nFlag, d1, unsigned long, width, d2, unsigned long, height, d3, \
  9803. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9804. + #define BeginRefresh(window) \
  9805. +     LP1NR(0x162, BeginRefresh, struct Window *, window, a0, \
  9806. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9807. + #define BuildEasyRequestArgs(window, easyStruct, idcmp, args) \
  9808. +     LP4(0x252, struct Window *, BuildEasyRequestArgs, struct Window *, window, a0, struct EasyStruct *, easyStruct, a1, unsigned long, idcmp, d0, APTR, args, a3, \
  9809. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9810. + #ifndef NO_PPCINLINE_STDARG
  9811. + #define BuildEasyRequest(a0, a1, a2, tags...) \
  9812. +     ({ULONG _tags[] = { tags }; BuildEasyRequestArgs((a0), (a1), (a2), (APTR)_tags);})
  9813. + #endif /* !NO_PPCINLINE_STDARG */
  9814. + #define BuildSysRequest(window, body, posText, negText, flags, width, height) \
  9815. +     LP7(0x168, struct Window *, BuildSysRequest, struct Window *, window, a0, struct IntuiText *, body, a1, struct IntuiText *, posText, a2, struct IntuiText *, negText, a3, unsigned long, flags, d0, unsigned long, width, d1, unsigned long, height, d2, \
  9816. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9817. + #define ChangeScreenBuffer(sc, sb) \
  9818. +     LP2(0x30c, ULONG, ChangeScreenBuffer, struct Screen *, sc, a0, struct ScreenBuffer *, sb, a1, \
  9819. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9820. + #define ChangeWindowBox(window, left, top, width, height) \
  9821. +     LP5NR(0x1e6, ChangeWindowBox, struct Window *, window, a0, long, left, d0, long, top, d1, long, width, d2, long, height, d3, \
  9822. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9823. + #define ClearDMRequest(window) \
  9824. +     LP1(0x30, BOOL, ClearDMRequest, struct Window *, window, a0, \
  9825. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9826. + #define ClearMenuStrip(window) \
  9827. +     LP1NR(0x36, ClearMenuStrip, struct Window *, window, a0, \
  9828. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9829. + #define ClearPointer(window) \
  9830. +     LP1NR(0x3c, ClearPointer, struct Window *, window, a0, \
  9831. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9832. + #define CloseScreen(screen) \
  9833. +     LP1(0x42, BOOL, CloseScreen, struct Screen *, screen, a0, \
  9834. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9835. + #define CloseWindow(window) \
  9836. +     LP1NR(0x48, CloseWindow, struct Window *, window, a0, \
  9837. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9838. + #define CloseWorkBench() \
  9839. +     LP0(0x4e, LONG, CloseWorkBench, \
  9840. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9841. + #define CurrentTime(seconds, micros) \
  9842. +     LP2NR(0x54, CurrentTime, ULONG *, seconds, a0, ULONG *, micros, a1, \
  9843. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9844. + #define DisplayAlert(alertNumber, string, height) \
  9845. +     LP3(0x5a, BOOL, DisplayAlert, unsigned long, alertNumber, d0, UBYTE *, string, a0, unsigned long, height, d1, \
  9846. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9847. + #define DisplayBeep(screen) \
  9848. +     LP1NR(0x60, DisplayBeep, struct Screen *, screen, a0, \
  9849. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9850. + #define DisposeObject(object) \
  9851. +     LP1NR(0x282, DisposeObject, APTR, object, a0, \
  9852. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9853. + #define DoGadgetMethodA(gad, win, req, message) \
  9854. +     LP4(0x32a, ULONG, DoGadgetMethodA, struct Gadget *, gad, a0, struct Window *, win, a1, struct Requester *, req, a2, Msg, message, a3, \
  9855. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9856. + #ifndef NO_PPCINLINE_STDARG
  9857. + #define DoGadgetMethod(a0, a1, a2, tags...) \
  9858. +     ({ULONG _tags[] = { tags }; DoGadgetMethodA((a0), (a1), (a2), (Msg)_tags);})
  9859. + #endif /* !NO_PPCINLINE_STDARG */
  9860. + #define DoubleClick(sSeconds, sMicros, cSeconds, cMicros) \
  9861. +     LP4(0x66, BOOL, DoubleClick, unsigned long, sSeconds, d0, unsigned long, sMicros, d1, unsigned long, cSeconds, d2, unsigned long, cMicros, d3, \
  9862. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9863. + #define DrawBorder(rp, border, leftOffset, topOffset) \
  9864. +     LP4NR(0x6c, DrawBorder, struct RastPort *, rp, a0, struct Border *, border, a1, long, leftOffset, d0, long, topOffset, d1, \
  9865. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9866. + #define DrawImage(rp, image, leftOffset, topOffset) \
  9867. +     LP4NR(0x72, DrawImage, struct RastPort *, rp, a0, struct Image *, image, a1, long, leftOffset, d0, long, topOffset, d1, \
  9868. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9869. + #define DrawImageState(rp, image, leftOffset, topOffset, state, drawInfo) \
  9870. +     LP6NR(0x26a, DrawImageState, struct RastPort *, rp, a0, struct Image *, image, a1, long, leftOffset, d0, long, topOffset, d1, unsigned long, state, d2, struct DrawInfo *, drawInfo, a2, \
  9871. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9872. + #define EasyRequestArgs(window, easyStruct, idcmpPtr, args) \
  9873. +     LP4(0x24c, LONG, EasyRequestArgs, struct Window *, window, a0, struct EasyStruct *, easyStruct, a1, ULONG *, idcmpPtr, a2, APTR, args, a3, \
  9874. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9875. + #ifndef NO_PPCINLINE_STDARG
  9876. + #define EasyRequest(a0, a1, a2, tags...) \
  9877. +     ({ULONG _tags[] = { tags }; EasyRequestArgs((a0), (a1), (a2), (APTR)_tags);})
  9878. + #endif /* !NO_PPCINLINE_STDARG */
  9879. + #define EndRefresh(window, complete) \
  9880. +     LP2NR(0x16e, EndRefresh, struct Window *, window, a0, long, complete, d0, \
  9881. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9882. + #define EndRequest(requester, window) \
  9883. +     LP2NR(0x78, EndRequest, struct Requester *, requester, a0, struct Window *, window, a1, \
  9884. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9885. + #define EraseImage(rp, image, leftOffset, topOffset) \
  9886. +     LP4NR(0x276, EraseImage, struct RastPort *, rp, a0, struct Image *, image, a1, long, leftOffset, d0, long, topOffset, d1, \
  9887. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9888. + #define FreeClass(classPtr) \
  9889. +     LP1(0x2ca, BOOL, FreeClass, struct IClass *, classPtr, a0, \
  9890. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9891. + #define FreeRemember(rememberKey, reallyForget) \
  9892. +     LP2NR(0x198, FreeRemember, struct Remember **, rememberKey, a0, long, reallyForget, d0, \
  9893. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9894. + #define FreeScreenBuffer(sc, sb) \
  9895. +     LP2NR(0x306, FreeScreenBuffer, struct Screen *, sc, a0, struct ScreenBuffer *, sb, a1, \
  9896. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9897. + #define FreeScreenDrawInfo(screen, drawInfo) \
  9898. +     LP2NR(0x2b8, FreeScreenDrawInfo, struct Screen *, screen, a0, struct DrawInfo *, drawInfo, a1, \
  9899. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9900. + #define FreeSysRequest(window) \
  9901. +     LP1NR(0x174, FreeSysRequest, struct Window *, window, a0, \
  9902. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9903. + #define GadgetMouse(gadget, gInfo, mousePoint) \
  9904. +     LP3NR(0x23a, GadgetMouse, struct Gadget *, gadget, a0, struct GadgetInfo *, gInfo, a1, WORD *, mousePoint, a2, \
  9905. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9906. + #define GetAttr(attrID, object, storagePtr) \
  9907. +     LP3(0x28e, ULONG, GetAttr, unsigned long, attrID, d0, APTR, object, a0, ULONG *, storagePtr, a1, \
  9908. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9909. + #define GetDefPrefs(preferences, size) \
  9910. +     LP2(0x7e, struct Preferences *, GetDefPrefs, struct Preferences *, preferences, a0, long, size, d0, \
  9911. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9912. + #define GetDefaultPubScreen(nameBuffer) \
  9913. +     LP1NR(0x246, GetDefaultPubScreen, UBYTE *, nameBuffer, a0, \
  9914. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9915. + #define GetPrefs(preferences, size) \
  9916. +     LP2(0x84, struct Preferences *, GetPrefs, struct Preferences *, preferences, a0, long, size, d0, \
  9917. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9918. + #define GetScreenData(buffer, size, type, screen) \
  9919. +     LP4(0x1aa, LONG, GetScreenData, APTR, buffer, a0, unsigned long, size, d0, unsigned long, type, d1, struct Screen *, screen, a1, \
  9920. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9921. + #define GetScreenDrawInfo(screen) \
  9922. +     LP1(0x2b2, struct DrawInfo *, GetScreenDrawInfo, struct Screen *, screen, a0, \
  9923. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9924. + #define HelpControl(win, flags) \
  9925. +     LP2NR(0x33c, HelpControl, struct Window *, win, a0, unsigned long, flags, d0, \
  9926. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9927. + #define InitRequester(requester) \
  9928. +     LP1NR(0x8a, InitRequester, struct Requester *, requester, a0, \
  9929. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9930. + #define IntuiTextLength(iText) \
  9931. +     LP1(0x14a, LONG, IntuiTextLength, struct IntuiText *, iText, a0, \
  9932. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9933. + #define Intuition(iEvent) \
  9934. +     LP1NR(0x24, Intuition, struct InputEvent *, iEvent, a0, \
  9935. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9936. + #define ItemAddress(menuStrip, menuNumber) \
  9937. +     LP2(0x90, struct MenuItem *, ItemAddress, struct Menu *, menuStrip, a0, unsigned long, menuNumber, d0, \
  9938. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9939. + #define LendMenus(fromwindow, towindow) \
  9940. +     LP2NR(0x324, LendMenus, struct Window *, fromwindow, a0, struct Window *, towindow, a1, \
  9941. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9942. + #define LockIBase(dontknow) \
  9943. +     LP1(0x19e, ULONG, LockIBase, unsigned long, dontknow, d0, \
  9944. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9945. + #define LockPubScreen(name) \
  9946. +     LP1(0x1fe, struct Screen *, LockPubScreen, UBYTE *, name, a0, \
  9947. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9948. + #define LockPubScreenList() \
  9949. +     LP0(0x20a, struct List *, LockPubScreenList, \
  9950. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9951. + #define MakeClass(classID, superClassID, superClassPtr, instanceSize, flags) \
  9952. +     LP5(0x2a6, struct IClass *, MakeClass, UBYTE *, classID, a0, UBYTE *, superClassID, a1, struct IClass *, superClassPtr, a2, unsigned long, instanceSize, d0, unsigned long, flags, d1, \
  9953. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9954. + #define MakeScreen(screen) \
  9955. +     LP1(0x17a, LONG, MakeScreen, struct Screen *, screen, a0, \
  9956. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9957. + #define ModifyIDCMP(window, flags) \
  9958. +     LP2(0x96, BOOL, ModifyIDCMP, struct Window *, window, a0, unsigned long, flags, d0, \
  9959. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9960. + #define ModifyProp(gadget, window, requester, flags, horizPot, vertPot, horizBody, vertBody) \
  9961. +     LP8NR(0x9c, ModifyProp, struct Gadget *, gadget, a0, struct Window *, window, a1, struct Requester *, requester, a2, unsigned long, flags, d0, unsigned long, horizPot, d1, unsigned long, vertPot, d2, unsigned long, horizBody, d3, unsigned long, vertBody, d4, \
  9962. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9963. + #define MoveScreen(screen, dx, dy) \
  9964. +     LP3NR(0xa2, MoveScreen, struct Screen *, screen, a0, long, dx, d0, long, dy, d1, \
  9965. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9966. + #define MoveWindow(window, dx, dy) \
  9967. +     LP3NR(0xa8, MoveWindow, struct Window *, window, a0, long, dx, d0, long, dy, d1, \
  9968. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9969. + #define MoveWindowInFrontOf(window, behindWindow) \
  9970. +     LP2NR(0x1e0, MoveWindowInFrontOf, struct Window *, window, a0, struct Window *, behindWindow, a1, \
  9971. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9972. + #define NewModifyProp(gadget, window, requester, flags, horizPot, vertPot, horizBody, vertBody, numGad) \
  9973. +     LP9NR(0x1d4, NewModifyProp, struct Gadget *, gadget, a0, struct Window *, window, a1, struct Requester *, requester, a2, unsigned long, flags, d0, unsigned long, horizPot, d1, unsigned long, vertPot, d2, unsigned long, horizBody, d3, unsigned long, vertBody, d4, long, numGad, d5, \
  9974. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9975. + #define NewObjectA(classPtr, classID, tagList) \
  9976. +     LP3(0x27c, APTR, NewObjectA, struct IClass *, classPtr, a0, UBYTE *, classID, a1, struct TagItem *, tagList, a2, \
  9977. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9978. + #ifndef NO_PPCINLINE_STDARG
  9979. + #define NewObject(a0, a1, tags...) \
  9980. +     ({ULONG _tags[] = { tags }; NewObjectA((a0), (a1), (struct TagItem *)_tags);})
  9981. + #endif /* !NO_PPCINLINE_STDARG */
  9982. + #define NextObject(objectPtrPtr) \
  9983. +     LP1(0x29a, APTR, NextObject, APTR, objectPtrPtr, a0, \
  9984. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9985. + #define NextPubScreen(screen, namebuf) \
  9986. +     LP2(0x216, UBYTE *, NextPubScreen, struct Screen *, screen, a0, UBYTE *, namebuf, a1, \
  9987. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9988. + #define ObtainGIRPort(gInfo) \
  9989. +     LP1(0x22e, struct RastPort *, ObtainGIRPort, struct GadgetInfo *, gInfo, a0, \
  9990. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9991. + #define OffGadget(gadget, window, requester) \
  9992. +     LP3NR(0xae, OffGadget, struct Gadget *, gadget, a0, struct Window *, window, a1, struct Requester *, requester, a2, \
  9993. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9994. + #define OffMenu(window, menuNumber) \
  9995. +     LP2NR(0xb4, OffMenu, struct Window *, window, a0, unsigned long, menuNumber, d0, \
  9996. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  9997. + #define OnGadget(gadget, window, requester) \
  9998. +     LP3NR(0xba, OnGadget, struct Gadget *, gadget, a0, struct Window *, window, a1, struct Requester *, requester, a2, \
  9999. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10000. + #define OnMenu(window, menuNumber) \
  10001. +     LP2NR(0xc0, OnMenu, struct Window *, window, a0, unsigned long, menuNumber, d0, \
  10002. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10003. + #define OpenIntuition() \
  10004. +     LP0NR(0x1e, OpenIntuition, \
  10005. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10006. + #define OpenScreen(newScreen) \
  10007. +     LP1(0xc6, struct Screen *, OpenScreen, struct NewScreen *, newScreen, a0, \
  10008. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10009. + #define OpenScreenTagList(newScreen, tagList) \
  10010. +     LP2(0x264, struct Screen *, OpenScreenTagList, struct NewScreen *, newScreen, a0, struct TagItem *, tagList, a1, \
  10011. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10012. + #ifndef NO_PPCINLINE_STDARG
  10013. + #define OpenScreenTags(a0, tags...) \
  10014. +     ({ULONG _tags[] = { tags }; OpenScreenTagList((a0), (struct TagItem *)_tags);})
  10015. + #endif /* !NO_PPCINLINE_STDARG */
  10016. + #define OpenWindow(newWindow) \
  10017. +     LP1(0xcc, struct Window *, OpenWindow, struct NewWindow *, newWindow, a0, \
  10018. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10019. + #define OpenWindowTagList(newWindow, tagList) \
  10020. +     LP2(0x25e, struct Window *, OpenWindowTagList, struct NewWindow *, newWindow, a0, struct TagItem *, tagList, a1, \
  10021. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10022. + #ifndef NO_PPCINLINE_STDARG
  10023. + #define OpenWindowTags(a0, tags...) \
  10024. +     ({ULONG _tags[] = { tags }; OpenWindowTagList((a0), (struct TagItem *)_tags);})
  10025. + #endif /* !NO_PPCINLINE_STDARG */
  10026. + #define OpenWorkBench() \
  10027. +     LP0(0xd2, ULONG, OpenWorkBench, \
  10028. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10029. + #define PointInImage(point, image) \
  10030. +     LP2(0x270, BOOL, PointInImage, unsigned long, point, d0, struct Image *, image, a0, \
  10031. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10032. + #define PrintIText(rp, iText, left, top) \
  10033. +     LP4NR(0xd8, PrintIText, struct RastPort *, rp, a0, struct IntuiText *, iText, a1, long, left, d0, long, top, d1, \
  10034. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10035. + #define PubScreenStatus(screen, statusFlags) \
  10036. +     LP2(0x228, UWORD, PubScreenStatus, struct Screen *, screen, a0, unsigned long, statusFlags, d0, \
  10037. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10038. + #define QueryOverscan(displayID, rect, oScanType) \
  10039. +     LP3(0x1da, LONG, QueryOverscan, unsigned long, displayID, a0, struct Rectangle *, rect, a1, long, oScanType, d0, \
  10040. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10041. + #define RefreshGList(gadgets, window, requester, numGad) \
  10042. +     LP4NR(0x1b0, RefreshGList, struct Gadget *, gadgets, a0, struct Window *, window, a1, struct Requester *, requester, a2, long, numGad, d0, \
  10043. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10044. + #define RefreshGadgets(gadgets, window, requester) \
  10045. +     LP3NR(0xde, RefreshGadgets, struct Gadget *, gadgets, a0, struct Window *, window, a1, struct Requester *, requester, a2, \
  10046. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10047. + #define RefreshWindowFrame(window) \
  10048. +     LP1NR(0x1c8, RefreshWindowFrame, struct Window *, window, a0, \
  10049. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10050. + #define ReleaseGIRPort(rp) \
  10051. +     LP1NR(0x234, ReleaseGIRPort, struct RastPort *, rp, a0, \
  10052. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10053. + #define RemakeDisplay() \
  10054. +     LP0(0x180, LONG, RemakeDisplay, \
  10055. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10056. + #define RemoveClass(classPtr) \
  10057. +     LP1NR(0x2c4, RemoveClass, struct IClass *, classPtr, a0, \
  10058. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10059. + #define RemoveGList(remPtr, gadget, numGad) \
  10060. +     LP3(0x1bc, UWORD, RemoveGList, struct Window *, remPtr, a0, struct Gadget *, gadget, a1, long, numGad, d0, \
  10061. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10062. + #define RemoveGadget(window, gadget) \
  10063. +     LP2(0xe4, UWORD, RemoveGadget, struct Window *, window, a0, struct Gadget *, gadget, a1, \
  10064. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10065. + #define ReportMouse(flag, window) \
  10066. +     LP2NR(0xea, ReportMouse, long, flag, d0, struct Window *, window, a0, \
  10067. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10068. + #define Request(requester, window) \
  10069. +     LP2(0xf0, BOOL, Request, struct Requester *, requester, a0, struct Window *, window, a1, \
  10070. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10071. + #define ResetMenuStrip(window, menu) \
  10072. +     LP2(0x2be, BOOL, ResetMenuStrip, struct Window *, window, a0, struct Menu *, menu, a1, \
  10073. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10074. + #define RethinkDisplay() \
  10075. +     LP0(0x186, LONG, RethinkDisplay, \
  10076. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10077. + #define ScreenDepth(screen, flags, reserved) \
  10078. +     LP3NR(0x312, ScreenDepth, struct Screen *, screen, a0, unsigned long, flags, d0, APTR, reserved, a1, \
  10079. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10080. + #define ScreenPosition(screen, flags, x1, y1, x2, y2) \
  10081. +     LP6NR(0x318, ScreenPosition, struct Screen *, screen, a0, unsigned long, flags, d0, long, x1, d1, long, y1, d2, long, x2, d3, long, y2, d4, \
  10082. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10083. + #define ScreenToBack(screen) \
  10084. +     LP1NR(0xf6, ScreenToBack, struct Screen *, screen, a0, \
  10085. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10086. + #define ScreenToFront(screen) \
  10087. +     LP1NR(0xfc, ScreenToFront, struct Screen *, screen, a0, \
  10088. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10089. + #define ScrollWindowRaster(win, dx, dy, xMin, yMin, xMax, yMax) \
  10090. +     LP7NR(0x31e, ScrollWindowRaster, struct Window *, win, a1, long, dx, d0, long, dy, d1, long, xMin, d2, long, yMin, d3, long, xMax, d4, long, yMax, d5, \
  10091. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10092. + #define SetAttrsA(object, tagList) \
  10093. +     LP2(0x288, ULONG, SetAttrsA, APTR, object, a0, struct TagItem *, tagList, a1, \
  10094. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10095. + #ifndef NO_PPCINLINE_STDARG
  10096. + #define SetAttrs(a0, tags...) \
  10097. +     ({ULONG _tags[] = { tags }; SetAttrsA((a0), (struct TagItem *)_tags);})
  10098. + #endif /* !NO_PPCINLINE_STDARG */
  10099. + #define SetDMRequest(window, requester) \
  10100. +     LP2(0x102, BOOL, SetDMRequest, struct Window *, window, a0, struct Requester *, requester, a1, \
  10101. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10102. + #define SetDefaultPubScreen(name) \
  10103. +     LP1NR(0x21c, SetDefaultPubScreen, UBYTE *, name, a0, \
  10104. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10105. + #define SetEditHook(hook) \
  10106. +     LP1(0x1ec, struct Hook *, SetEditHook, struct Hook *, hook, a0, \
  10107. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10108. + #define SetGadgetAttrsA(gadget, window, requester, tagList) \
  10109. +     LP4(0x294, ULONG, SetGadgetAttrsA, struct Gadget *, gadget, a0, struct Window *, window, a1, struct Requester *, requester, a2, struct TagItem *, tagList, a3, \
  10110. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10111. + #ifndef NO_PPCINLINE_STDARG
  10112. + #define SetGadgetAttrs(a0, a1, a2, tags...) \
  10113. +     ({ULONG _tags[] = { tags }; SetGadgetAttrsA((a0), (a1), (a2), (struct TagItem *)_tags);})
  10114. + #endif /* !NO_PPCINLINE_STDARG */
  10115. + #define SetMenuStrip(window, menu) \
  10116. +     LP2(0x108, BOOL, SetMenuStrip, struct Window *, window, a0, struct Menu *, menu, a1, \
  10117. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10118. + #define SetMouseQueue(window, queueLength) \
  10119. +     LP2(0x1f2, LONG, SetMouseQueue, struct Window *, window, a0, unsigned long, queueLength, d0, \
  10120. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10121. + #define SetPointer(window, pointer, height, width, xOffset, yOffset) \
  10122. +     LP6NR(0x10e, SetPointer, struct Window *, window, a0, UWORD *, pointer, a1, long, height, d0, long, width, d1, long, xOffset, d2, long, yOffset, d3, \
  10123. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10124. + #define SetPrefs(preferences, size, inform) \
  10125. +     LP3(0x144, struct Preferences *, SetPrefs, struct Preferences *, preferences, a0, long, size, d0, long, inform, d1, \
  10126. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10127. + #define SetPubScreenModes(modes) \
  10128. +     LP1(0x222, UWORD, SetPubScreenModes, unsigned long, modes, d0, \
  10129. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10130. + #define SetWindowPointerA(win, taglist) \
  10131. +     LP2NR(0x330, SetWindowPointerA, struct Window *, win, a0, struct TagItem *, taglist, a1, \
  10132. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10133. + #ifndef NO_PPCINLINE_STDARG
  10134. + #define SetWindowPointer(a0, tags...) \
  10135. +     ({ULONG _tags[] = { tags }; SetWindowPointerA((a0), (struct TagItem *)_tags);})
  10136. + #endif /* !NO_PPCINLINE_STDARG */
  10137. + #define SetWindowTitles(window, windowTitle, screenTitle) \
  10138. +     LP3NR(0x114, SetWindowTitles, struct Window *, window, a0, UBYTE *, windowTitle, a1, UBYTE *, screenTitle, a2, \
  10139. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10140. + #define ShowTitle(screen, showIt) \
  10141. +     LP2NR(0x11a, ShowTitle, struct Screen *, screen, a0, long, showIt, d0, \
  10142. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10143. + #define SizeWindow(window, dx, dy) \
  10144. +     LP3NR(0x120, SizeWindow, struct Window *, window, a0, long, dx, d0, long, dy, d1, \
  10145. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10146. + #define SysReqHandler(window, idcmpPtr, waitInput) \
  10147. +     LP3(0x258, LONG, SysReqHandler, struct Window *, window, a0, ULONG *, idcmpPtr, a1, long, waitInput, d0, \
  10148. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10149. + #define TimedDisplayAlert(alertNumber, string, height, time) \
  10150. +     LP4(0x336, BOOL, TimedDisplayAlert, unsigned long, alertNumber, d0, UBYTE *, string, a0, unsigned long, height, d1, unsigned long, time, a1, \
  10151. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10152. + #define UnlockIBase(ibLock) \
  10153. +     LP1NR(0x1a4, UnlockIBase, unsigned long, ibLock, a0, \
  10154. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10155. + #define UnlockPubScreen(name, screen) \
  10156. +     LP2NR(0x204, UnlockPubScreen, UBYTE *, name, a0, struct Screen *, screen, a1, \
  10157. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10158. + #define UnlockPubScreenList() \
  10159. +     LP0NR(0x210, UnlockPubScreenList, \
  10160. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10161. + #define ViewAddress() \
  10162. +     LP0(0x126, struct View *, ViewAddress, \
  10163. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10164. + #define ViewPortAddress(window) \
  10165. +     LP1(0x12c, struct ViewPort *, ViewPortAddress, struct Window *, window, a0, \
  10166. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10167. + #define WBenchToBack() \
  10168. +     LP0(0x150, BOOL, WBenchToBack, \
  10169. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10170. + #define WBenchToFront() \
  10171. +     LP0(0x156, BOOL, WBenchToFront, \
  10172. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10173. + #define WindowLimits(window, widthMin, heightMin, widthMax, heightMax) \
  10174. +     LP5(0x13e, BOOL, WindowLimits, struct Window *, window, a0, long, widthMin, d0, long, heightMin, d1, unsigned long, widthMax, d2, unsigned long, heightMax, d3, \
  10175. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10176. + #define WindowToBack(window) \
  10177. +     LP1NR(0x132, WindowToBack, struct Window *, window, a0, \
  10178. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10179. + #define WindowToFront(window) \
  10180. +     LP1NR(0x138, WindowToFront, struct Window *, window, a0, \
  10181. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10182. + #define ZipWindow(window) \
  10183. +     LP1NR(0x1f8, ZipWindow, struct Window *, window, a0, \
  10184. +     , INTUITION_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10185. + #endif /* !_PPCINLINE_INTUITION_H */
  10186. diff -c2 -d -P -r include_h/powerup/ppcinline/keymap.h includenew/powerup/ppcinline/keymap.h
  10187. *** include_h/powerup/ppcinline/keymap.h    Thu Jan  1 00:00:00 1970
  10188. --- includenew/powerup/ppcinline/keymap.h    Wed Feb 14 02:41:20 2001
  10189. ***************
  10190. *** 0 ****
  10191. --- 1,30 ----
  10192. + /* Automatically generated header! Do not edit! */
  10193. + #ifndef _PPCINLINE_KEYMAP_H
  10194. + #define _PPCINLINE_KEYMAP_H
  10195. + #ifndef __PPCINLINE_MACROS_H
  10196. + #include <powerup/ppcinline/macros.h>
  10197. + #endif /* !__PPCINLINE_MACROS_H */
  10198. + #ifndef KEYMAP_BASE_NAME
  10199. + #define KEYMAP_BASE_NAME KeymapBase
  10200. + #endif /* !KEYMAP_BASE_NAME */
  10201. + #define AskKeyMapDefault() \
  10202. +     LP0(0x24, struct KeyMap *, AskKeyMapDefault, \
  10203. +     , KEYMAP_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10204. + #define MapANSI(string, count, buffer, length, keyMap) \
  10205. +     LP5(0x30, LONG, MapANSI, STRPTR, string, a0, long, count, d0, STRPTR, buffer, a1, long, length, d1, struct KeyMap *, keyMap, a2, \
  10206. +     , KEYMAP_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10207. + #define MapRawKey(event, buffer, length, keyMap) \
  10208. +     LP4(0x2a, WORD, MapRawKey, struct InputEvent *, event, a0, STRPTR, buffer, a1, long, length, d1, struct KeyMap *, keyMap, a2, \
  10209. +     , KEYMAP_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10210. + #define SetKeyMapDefault(keyMap) \
  10211. +     LP1NR(0x1e, SetKeyMapDefault, struct KeyMap *, keyMap, a0, \
  10212. +     , KEYMAP_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10213. + #endif /* !_PPCINLINE_KEYMAP_H */
  10214. diff -c2 -d -P -r include_h/powerup/ppcinline/layers.h includenew/powerup/ppcinline/layers.h
  10215. *** include_h/powerup/ppcinline/layers.h    Thu Jan  1 00:00:00 1970
  10216. --- includenew/powerup/ppcinline/layers.h    Wed Feb 14 02:41:20 2001
  10217. ***************
  10218. *** 0 ****
  10219. --- 1,142 ----
  10220. + /* Automatically generated header! Do not edit! */
  10221. + #ifndef _PPCINLINE_LAYERS_H
  10222. + #define _PPCINLINE_LAYERS_H
  10223. + #ifndef __PPCINLINE_MACROS_H
  10224. + #include <powerup/ppcinline/macros.h>
  10225. + #endif /* !__PPCINLINE_MACROS_H */
  10226. + #ifndef LAYERS_BASE_NAME
  10227. + #define LAYERS_BASE_NAME LayersBase
  10228. + #endif /* !LAYERS_BASE_NAME */
  10229. + #define BeginUpdate(l) \
  10230. +     LP1(0x4e, LONG, BeginUpdate, struct Layer *, l, a0, \
  10231. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10232. + #define BehindLayer(dummy, layer) \
  10233. +     LP2(0x36, LONG, BehindLayer, long, dummy, a0, struct Layer *, layer, a1, \
  10234. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10235. + #define CreateBehindHookLayer(li, bm, x0, y0, x1, y1, flags, hook, bm2) \
  10236. +     LP9(0xc0, struct Layer *, CreateBehindHookLayer, struct Layer_Info *, li, a0, struct BitMap *, bm, a1, long, x0, d0, long, y0, d1, long, x1, d2, long, y1, d3, long, flags, d4, struct Hook *, hook, a3, struct BitMap *, bm2, a2, \
  10237. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10238. + #define CreateBehindLayer(li, bm, x0, y0, x1, y1, flags, bm2) \
  10239. +     LP8(0x2a, struct Layer *, CreateBehindLayer, struct Layer_Info *, li, a0, struct BitMap *, bm, a1, long, x0, d0, long, y0, d1, long, x1, d2, long, y1, d3, long, flags, d4, struct BitMap *, bm2, a2, \
  10240. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10241. + #define CreateUpfrontHookLayer(li, bm, x0, y0, x1, y1, flags, hook, bm2) \
  10242. +     LP9(0xba, struct Layer *, CreateUpfrontHookLayer, struct Layer_Info *, li, a0, struct BitMap *, bm, a1, long, x0, d0, long, y0, d1, long, x1, d2, long, y1, d3, long, flags, d4, struct Hook *, hook, a3, struct BitMap *, bm2, a2, \
  10243. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10244. + #define CreateUpfrontLayer(li, bm, x0, y0, x1, y1, flags, bm2) \
  10245. +     LP8(0x24, struct Layer *, CreateUpfrontLayer, struct Layer_Info *, li, a0, struct BitMap *, bm, a1, long, x0, d0, long, y0, d1, long, x1, d2, long, y1, d3, long, flags, d4, struct BitMap *, bm2, a2, \
  10246. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10247. + #define DeleteLayer(dummy, layer) \
  10248. +     LP2(0x5a, LONG, DeleteLayer, long, dummy, a0, struct Layer *, layer, a1, \
  10249. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10250. + #define DisposeLayerInfo(li) \
  10251. +     LP1NR(0x96, DisposeLayerInfo, struct Layer_Info *, li, a0, \
  10252. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10253. + #define DoHookClipRects(hook, rport, rect) \
  10254. +     LP3NR(0xd8, DoHookClipRects, struct Hook *, hook, a0, struct RastPort *, rport, a1, struct Rectangle *, rect, a2, \
  10255. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10256. + #define EndUpdate(layer, flag) \
  10257. +     LP2NR(0x54, EndUpdate, struct Layer *, layer, a0, unsigned long, flag, d0, \
  10258. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10259. + #define FattenLayerInfo(li) \
  10260. +     LP1(0x9c, LONG, FattenLayerInfo, struct Layer_Info *, li, a0, \
  10261. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10262. + #define InitLayers(li) \
  10263. +     LP1NR(0x1e, InitLayers, struct Layer_Info *, li, a0, \
  10264. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10265. + #define InstallClipRegion(layer, region) \
  10266. +     LP2(0xae, struct Region *, InstallClipRegion, struct Layer *, layer, a0, struct Region *, region, a1, \
  10267. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10268. + #define InstallLayerHook(layer, hook) \
  10269. +     LP2(0xc6, struct Hook *, InstallLayerHook, struct Layer *, layer, a0, struct Hook *, hook, a1, \
  10270. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10271. + #define InstallLayerInfoHook(li, hook) \
  10272. +     LP2(0xcc, struct Hook *, InstallLayerInfoHook, struct Layer_Info *, li, a0, struct Hook *, hook, a1, \
  10273. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10274. + #define LockLayer(dummy, layer) \
  10275. +     LP2NR(0x60, LockLayer, long, dummy, a0, struct Layer *, layer, a1, \
  10276. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10277. + #define LockLayerInfo(li) \
  10278. +     LP1NR(0x78, LockLayerInfo, struct Layer_Info *, li, a0, \
  10279. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10280. + #define LockLayers(li) \
  10281. +     LP1NR(0x6c, LockLayers, struct Layer_Info *, li, a0, \
  10282. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10283. + #define MoveLayer(dummy, layer, dx, dy) \
  10284. +     LP4(0x3c, LONG, MoveLayer, long, dummy, a0, struct Layer *, layer, a1, long, dx, d0, long, dy, d1, \
  10285. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10286. + #define MoveLayerInFrontOf(layer_to_move, other_layer) \
  10287. +     LP2(0xa8, LONG, MoveLayerInFrontOf, struct Layer *, layer_to_move, a0, struct Layer *, other_layer, a1, \
  10288. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10289. + #define MoveSizeLayer(layer, dx, dy, dw, dh) \
  10290. +     LP5(0xb4, LONG, MoveSizeLayer, struct Layer *, layer, a0, long, dx, d0, long, dy, d1, long, dw, d2, long, dh, d3, \
  10291. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10292. + #define NewLayerInfo() \
  10293. +     LP0(0x90, struct Layer_Info *, NewLayerInfo, \
  10294. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10295. + #define ScrollLayer(dummy, layer, dx, dy) \
  10296. +     LP4NR(0x48, ScrollLayer, long, dummy, a0, struct Layer *, layer, a1, long, dx, d0, long, dy, d1, \
  10297. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10298. + #define SizeLayer(dummy, layer, dx, dy) \
  10299. +     LP4(0x42, LONG, SizeLayer, long, dummy, a0, struct Layer *, layer, a1, long, dx, d0, long, dy, d1, \
  10300. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10301. + #define SortLayerCR(layer, dx, dy) \
  10302. +     LP3NR(0xd2, SortLayerCR, struct Layer *, layer, a0, long, dx, d0, long, dy, d1, \
  10303. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10304. + #define SwapBitsRastPortClipRect(rp, cr) \
  10305. +     LP2NR(0x7e, SwapBitsRastPortClipRect, struct RastPort *, rp, a0, struct ClipRect *, cr, a1, \
  10306. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10307. + #define ThinLayerInfo(li) \
  10308. +     LP1NR(0xa2, ThinLayerInfo, struct Layer_Info *, li, a0, \
  10309. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10310. + #define UnlockLayer(layer) \
  10311. +     LP1NR(0x66, UnlockLayer, struct Layer *, layer, a0, \
  10312. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10313. + #define UnlockLayerInfo(li) \
  10314. +     LP1NR(0x8a, UnlockLayerInfo, struct Layer_Info *, li, a0, \
  10315. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10316. + #define UnlockLayers(li) \
  10317. +     LP1NR(0x72, UnlockLayers, struct Layer_Info *, li, a0, \
  10318. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10319. + #define UpfrontLayer(dummy, layer) \
  10320. +     LP2(0x30, LONG, UpfrontLayer, long, dummy, a0, struct Layer *, layer, a1, \
  10321. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10322. + #define WhichLayer(li, x, y) \
  10323. +     LP3(0x84, struct Layer *, WhichLayer, struct Layer_Info *, li, a0, long, x, d0, long, y, d1, \
  10324. +     , LAYERS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10325. + #endif /* !_PPCINLINE_LAYERS_H */
  10326. diff -c2 -d -P -r include_h/powerup/ppcinline/locale.h includenew/powerup/ppcinline/locale.h
  10327. *** include_h/powerup/ppcinline/locale.h    Thu Jan  1 00:00:00 1970
  10328. --- includenew/powerup/ppcinline/locale.h    Wed Feb 14 02:41:20 2001
  10329. ***************
  10330. *** 0 ****
  10331. --- 1,115 ----
  10332. + /* Automatically generated header! Do not edit! */
  10333. + #ifndef _PPCINLINE_LOCALE_H
  10334. + #define _PPCINLINE_LOCALE_H
  10335. + #ifndef __PPCINLINE_MACROS_H
  10336. + #include <powerup/ppcinline/macros.h>
  10337. + #endif /* !__PPCINLINE_MACROS_H */
  10338. + #ifndef LOCALE_BASE_NAME
  10339. + #define LOCALE_BASE_NAME LocaleBase
  10340. + #endif /* !LOCALE_BASE_NAME */
  10341. + #define CloseCatalog(catalog) \
  10342. +     LP1NR(0x24, CloseCatalog, struct Catalog *, catalog, a0, \
  10343. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10344. + #define CloseLocale(locale) \
  10345. +     LP1NR(0x2a, CloseLocale, struct Locale *, locale, a0, \
  10346. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10347. + #define ConvToLower(locale, character) \
  10348. +     LP2(0x30, ULONG, ConvToLower, struct Locale *, locale, a0, unsigned long, character, d0, \
  10349. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10350. + #define ConvToUpper(locale, character) \
  10351. +     LP2(0x36, ULONG, ConvToUpper, struct Locale *, locale, a0, unsigned long, character, d0, \
  10352. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10353. + #define FormatDate(locale, fmtTemplate, date, putCharFunc) \
  10354. +     LP4NR(0x3c, FormatDate, struct Locale *, locale, a0, STRPTR, fmtTemplate, a1, struct DateStamp *, date, a2, struct Hook *, putCharFunc, a3, \
  10355. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10356. + #define FormatString(locale, fmtTemplate, dataStream, putCharFunc) \
  10357. +     LP4(0x42, APTR, FormatString, struct Locale *, locale, a0, STRPTR, fmtTemplate, a1, APTR, dataStream, a2, struct Hook *, putCharFunc, a3, \
  10358. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10359. + #define GetCatalogStr(catalog, stringNum, defaultString) \
  10360. +     LP3(0x48, STRPTR, GetCatalogStr, struct Catalog *, catalog, a0, long, stringNum, d0, STRPTR, defaultString, a1, \
  10361. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10362. + #define GetLocaleStr(locale, stringNum) \
  10363. +     LP2(0x4e, STRPTR, GetLocaleStr, struct Locale *, locale, a0, unsigned long, stringNum, d0, \
  10364. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10365. + #define IsAlNum(locale, character) \
  10366. +     LP2(0x54, BOOL, IsAlNum, struct Locale *, locale, a0, unsigned long, character, d0, \
  10367. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10368. + #define IsAlpha(locale, character) \
  10369. +     LP2(0x5a, BOOL, IsAlpha, struct Locale *, locale, a0, unsigned long, character, d0, \
  10370. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10371. + #define IsCntrl(locale, character) \
  10372. +     LP2(0x60, BOOL, IsCntrl, struct Locale *, locale, a0, unsigned long, character, d0, \
  10373. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10374. + #define IsDigit(locale, character) \
  10375. +     LP2(0x66, BOOL, IsDigit, struct Locale *, locale, a0, unsigned long, character, d0, \
  10376. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10377. + #define IsGraph(locale, character) \
  10378. +     LP2(0x6c, BOOL, IsGraph, struct Locale *, locale, a0, unsigned long, character, d0, \
  10379. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10380. + #define IsLower(locale, character) \
  10381. +     LP2(0x72, BOOL, IsLower, struct Locale *, locale, a0, unsigned long, character, d0, \
  10382. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10383. + #define IsPrint(locale, character) \
  10384. +     LP2(0x78, BOOL, IsPrint, struct Locale *, locale, a0, unsigned long, character, d0, \
  10385. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10386. + #define IsPunct(locale, character) \
  10387. +     LP2(0x7e, BOOL, IsPunct, struct Locale *, locale, a0, unsigned long, character, d0, \
  10388. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10389. + #define IsSpace(locale, character) \
  10390. +     LP2(0x84, BOOL, IsSpace, struct Locale *, locale, a0, unsigned long, character, d0, \
  10391. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10392. + #define IsUpper(locale, character) \
  10393. +     LP2(0x8a, BOOL, IsUpper, struct Locale *, locale, a0, unsigned long, character, d0, \
  10394. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10395. + #define IsXDigit(locale, character) \
  10396. +     LP2(0x90, BOOL, IsXDigit, struct Locale *, locale, a0, unsigned long, character, d0, \
  10397. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10398. + #define OpenCatalogA(locale, name, tags) \
  10399. +     LP3(0x96, struct Catalog *, OpenCatalogA, struct Locale *, locale, a0, STRPTR, name, a1, struct TagItem *, tags, a2, \
  10400. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10401. + #ifndef NO_PPCINLINE_STDARG
  10402. + #define OpenCatalog(a0, a1, tags...) \
  10403. +     ({ULONG _tags[] = { tags }; OpenCatalogA((a0), (a1), (struct TagItem *)_tags);})
  10404. + #endif /* !NO_PPCINLINE_STDARG */
  10405. + #define OpenLocale(name) \
  10406. +     LP1(0x9c, struct Locale *, OpenLocale, STRPTR, name, a0, \
  10407. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10408. + #define ParseDate(locale, date, fmtTemplate, getCharFunc) \
  10409. +     LP4(0xa2, BOOL, ParseDate, struct Locale *, locale, a0, struct DateStamp *, date, a1, STRPTR, fmtTemplate, a2, struct Hook *, getCharFunc, a3, \
  10410. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10411. + #define StrConvert(locale, string, buffer, bufferSize, type) \
  10412. +     LP5(0xae, ULONG, StrConvert, struct Locale *, locale, a0, STRPTR, string, a1, APTR, buffer, a2, unsigned long, bufferSize, d0, unsigned long, type, d1, \
  10413. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10414. + #define StrnCmp(locale, string1, string2, length, type) \
  10415. +     LP5(0xb4, LONG, StrnCmp, struct Locale *, locale, a0, STRPTR, string1, a1, STRPTR, string2, a2, long, length, d0, unsigned long, type, d1, \
  10416. +     , LOCALE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10417. + #endif /* !_PPCINLINE_LOCALE_H */
  10418. diff -c2 -d -P -r include_h/powerup/ppcinline/lowlevel.h includenew/powerup/ppcinline/lowlevel.h
  10419. *** include_h/powerup/ppcinline/lowlevel.h    Thu Jan  1 00:00:00 1970
  10420. --- includenew/powerup/ppcinline/lowlevel.h    Wed Feb 14 02:41:20 2001
  10421. ***************
  10422. *** 0 ****
  10423. --- 1,84 ----
  10424. + /* Automatically generated header! Do not edit! */
  10425. + #ifndef _PPCINLINE_LOWLEVEL_H
  10426. + #define _PPCINLINE_LOWLEVEL_H
  10427. + #ifndef __PPCINLINE_MACROS_H
  10428. + #include <powerup/ppcinline/macros.h>
  10429. + #endif /* !__PPCINLINE_MACROS_H */
  10430. + #ifndef LOWLEVEL_BASE_NAME
  10431. + #define LOWLEVEL_BASE_NAME LowLevelBase
  10432. + #endif /* !LOWLEVEL_BASE_NAME */
  10433. + #define AddKBInt(intRoutine, intData) \
  10434. +     LP2(0x3c, APTR, AddKBInt, APTR, intRoutine, a0, APTR, intData, a1, \
  10435. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10436. + #define AddTimerInt(intRoutine, intData) \
  10437. +     LP2(0x4e, APTR, AddTimerInt, APTR, intRoutine, a0, APTR, intData, a1, \
  10438. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10439. + #define AddVBlankInt(intRoutine, intData) \
  10440. +     LP2(0x6c, APTR, AddVBlankInt, APTR, intRoutine, a0, APTR, intData, a1, \
  10441. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10442. + #define ElapsedTime(context) \
  10443. +     LP1(0x66, ULONG, ElapsedTime, struct EClockVal *, context, a0, \
  10444. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10445. + #define GetKey() \
  10446. +     LP0(0x30, ULONG, GetKey, \
  10447. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10448. + #define GetLanguageSelection() \
  10449. +     LP0(0x24, UBYTE, GetLanguageSelection, \
  10450. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10451. + #define QueryKeys(queryArray, arraySize) \
  10452. +     LP2NR(0x36, QueryKeys, struct KeyQuery *, queryArray, a0, unsigned long, arraySize, d1, \
  10453. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10454. + #define ReadJoyPort(port) \
  10455. +     LP1(0x1e, ULONG, ReadJoyPort, unsigned long, port, d0, \
  10456. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10457. + #define RemKBInt(intHandle) \
  10458. +     LP1NR(0x42, RemKBInt, APTR, intHandle, a1, \
  10459. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10460. + #define RemTimerInt(intHandle) \
  10461. +     LP1NR(0x54, RemTimerInt, APTR, intHandle, a1, \
  10462. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10463. + #define RemVBlankInt(intHandle) \
  10464. +     LP1NR(0x72, RemVBlankInt, APTR, intHandle, a1, \
  10465. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10466. + #define SetJoyPortAttrsA(portNumber, tagList) \
  10467. +     LP2(0x84, BOOL, SetJoyPortAttrsA, unsigned long, portNumber, d0, struct TagItem *, tagList, a1, \
  10468. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10469. + #ifndef NO_PPCINLINE_STDARG
  10470. + #define SetJoyPortAttrs(a0, tags...) \
  10471. +     ({ULONG _tags[] = { tags }; SetJoyPortAttrsA((a0), (struct TagItem *)_tags);})
  10472. + #endif /* !NO_PPCINLINE_STDARG */
  10473. + #define StartTimerInt(intHandle, timeInterval, continuous) \
  10474. +     LP3NR(0x60, StartTimerInt, APTR, intHandle, a1, unsigned long, timeInterval, d0, long, continuous, d1, \
  10475. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10476. + #define StopTimerInt(intHandle) \
  10477. +     LP1NR(0x5a, StopTimerInt, APTR, intHandle, a1, \
  10478. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10479. + #define SystemControlA(tagList) \
  10480. +     LP1(0x48, ULONG, SystemControlA, struct TagItem *, tagList, a1, \
  10481. +     , LOWLEVEL_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  10482. + #ifndef NO_PPCINLINE_STDARG
  10483. + #define SystemControl(tags...) \
  10484. +     ({ULONG _tags[] = { tags }; SystemControlA((struct TagItem *)_tags);})
  10485. + #endif /* !NO_PPCINLINE_STDARG */
  10486. + #endif /* !_PPCINLINE_LOWLEVEL_H */
  10487. diff -c2 -d -P -r include_h/powerup/ppcinline/macros.h includenew/powerup/ppcinline/macros.h
  10488. *** include_h/powerup/ppcinline/macros.h    Thu Jan  1 00:00:00 1970
  10489. --- includenew/powerup/ppcinline/macros.h    Wed Feb 14 02:41:20 2001
  10490. ***************
  10491. *** 0 ****
  10492. --- 1,1025 ----
  10493. + #ifndef __INLINE_MACROS_H
  10494. + #define __INLINE_MACROS_H
  10495. + #include <powerup/gcclib/powerup_protos.h>
  10496. + /* Use these macros to calculate cache flush start address and cache flush
  10497. + length. */
  10498. + #define __CACHE_START(start) ((void *) ((unsigned long int) (start) & ~31))
  10499. + #define __CACHE_LENGTH(start,length) ((((length) + (unsigned long int) (start) + 31) & ~31) - ((unsigned long int) (start) & ~31))
  10500. + /*
  10501. +    General macros for Amiga function calls. Not all the possibilities have
  10502. +    been created - only the ones which exist in OS 3.1. Third party libraries
  10503. +    and future versions of AmigaOS will maybe need some new ones...
  10504. +    LPX - functions that take X arguments.
  10505. +    Modifiers (variations are possible):
  10506. +    NR - no return (void),
  10507. +    A4, A5 - "a4" or "a5" is used as one of the arguments,
  10508. +    UB - base will be given explicitly by user (see cia.resource).
  10509. +    FP - one of the parameters has type "pointer to function".
  10510. +    "bt" arguments are not used - they are provided for backward compatibility
  10511. +    only.
  10512. +    Actually..the "bt" parameter is needed because otherwise the macro doesn`t
  10513. +    work for some reason i don`t know gcc puts an empty argument at the position
  10514. +    before the argument bn and without the placeholder "bt".
  10515. +    I think it has something to do with #define *_BASE_NAME
  10516. +    the (cm1==IF_CACHEFLUSHAREA) conditional is optimized away
  10517. + */
  10518. + #ifndef __INLINE_STUB_H
  10519. + #include <powerup/ppcinline/stubs.h>
  10520. + #endif
  10521. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  10522. + #include <powerup/ppclib/interface.h>
  10523. + #endif
  10524. + #define LP0(offs, rt, name, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10525. + ({                                \
  10526. +    struct Caos MyCaos;                        \
  10527. +    {                                \
  10528. +       rt _##name##_re;                        \
  10529. +       MyCaos.a6        = (ULONG) bn;            \
  10530. +       MyCaos.M68kCacheMode    =    cm1;            \
  10531. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10532. +       {                                \
  10533. +         MyCaos.M68kStart    =    cs1;            \
  10534. +         MyCaos.M68kLength    =    cl1;            \
  10535. +       }                                \
  10536. +       MyCaos.PPCCacheMode    =    cm2;            \
  10537. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10538. +       {                                \
  10539. +         MyCaos.PPCStart    =    cs2;            \
  10540. +         MyCaos.PPCLength    =    cl2;            \
  10541. +       }                                \
  10542. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10543. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  10544. +       _##name##_re;                        \
  10545. +    }                                \
  10546. + })
  10547. + #define LP0NR(offs, name, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10548. + ({                                \
  10549. +    struct Caos MyCaos;                        \
  10550. +    {                                \
  10551. +       MyCaos.a6        = (ULONG) bn;            \
  10552. +       MyCaos.M68kCacheMode    =    cm1;            \
  10553. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10554. +       {                                \
  10555. +         MyCaos.M68kStart    =    cs1;            \
  10556. +         MyCaos.M68kLength    =    cl1;            \
  10557. +       }                                \
  10558. +       MyCaos.PPCCacheMode    =    cm2;            \
  10559. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10560. +       {                                \
  10561. +         MyCaos.PPCStart    =    cs2;            \
  10562. +         MyCaos.PPCLength    =    cl2;            \
  10563. +       }                                \
  10564. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10565. +       PPCCallOS(&MyCaos);                    \
  10566. +    }                                \
  10567. + })
  10568. + #define LP1(offs, rt, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10569. + ({                                \
  10570. +    struct Caos MyCaos;                        \
  10571. +    {                                \
  10572. +       rt _##name##_re;                        \
  10573. +       MyCaos.##r1        = (ULONG) v1;            \
  10574. +       MyCaos.a6        = (ULONG) bn;            \
  10575. +       MyCaos.M68kCacheMode    =    cm1;            \
  10576. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10577. +       {                                \
  10578. +         MyCaos.M68kStart    =    cs1;            \
  10579. +         MyCaos.M68kLength    =    cl1;            \
  10580. +       }                                \
  10581. +       MyCaos.PPCCacheMode    =    cm2;            \
  10582. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10583. +       {                                \
  10584. +         MyCaos.PPCStart    =    cs2;            \
  10585. +         MyCaos.PPCLength    =    cl2;            \
  10586. +       }                                \
  10587. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10588. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  10589. +       _##name##_re;                        \
  10590. +    }                                \
  10591. + })
  10592. + #define LP1NR(offs, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10593. + ({                                \
  10594. +    struct Caos MyCaos;                        \
  10595. +    {                                \
  10596. +       MyCaos.##r1        = (ULONG) v1;            \
  10597. +       MyCaos.a6        = (ULONG) bn;            \
  10598. +       MyCaos.M68kCacheMode    =    cm1;            \
  10599. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10600. +       {                                \
  10601. +         MyCaos.M68kStart    =    cs1;            \
  10602. +         MyCaos.M68kLength    =    cl1;            \
  10603. +       }                                \
  10604. +       MyCaos.PPCCacheMode    =    cm2;            \
  10605. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10606. +       {                                \
  10607. +         MyCaos.PPCStart    =    cs2;            \
  10608. +         MyCaos.PPCLength    =    cl2;            \
  10609. +       }                                \
  10610. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10611. +       PPCCallOS(&MyCaos);                    \
  10612. +    }                                \
  10613. + })
  10614. + /* Only graphics.library/AttemptLockLayerRom() */
  10615. + #define LP1A5(offs, rt, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10616. + ({                                \
  10617. +    struct Caos MyCaos;                        \
  10618. +    {                                \
  10619. +       rt _##name##_re;                        \
  10620. +       MyCaos.##r1        = (ULONG) v1;            \
  10621. +       MyCaos.a6        = (ULONG) bn;            \
  10622. +       MyCaos.M68kCacheMode    =    cm1;            \
  10623. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10624. +       {                                \
  10625. +         MyCaos.M68kStart    =    cs1;            \
  10626. +         MyCaos.M68kLength    =    cl1;            \
  10627. +       }                                \
  10628. +       MyCaos.PPCCacheMode    =    cm2;            \
  10629. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10630. +       {                                \
  10631. +         MyCaos.PPCStart    =    cs2;            \
  10632. +         MyCaos.PPCLength    =    cl2;            \
  10633. +       }                                \
  10634. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10635. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  10636. +       _##name##_re;                        \
  10637. +    }                                \
  10638. + })
  10639. + /* Only graphics.library/LockLayerRom() and graphics.library/UnlockLayerRom() */
  10640. + #define LP1NRA5(offs, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10641. + ({                                \
  10642. +    struct Caos MyCaos;                        \
  10643. +    {                                \
  10644. +       MyCaos.##r1        = (ULONG) v1;            \
  10645. +       MyCaos.a6        = (ULONG) bn;            \
  10646. +       MyCaos.M68kCacheMode    =    cm1;            \
  10647. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10648. +       {                                \
  10649. +         MyCaos.M68kStart    =    cs1;            \
  10650. +         MyCaos.M68kLength    =    cl1;            \
  10651. +       }                                \
  10652. +       MyCaos.PPCCacheMode    =    cm2;            \
  10653. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10654. +       {                                \
  10655. +         MyCaos.PPCStart    =    cs2;            \
  10656. +         MyCaos.PPCLength    =    cl2;            \
  10657. +       }                                \
  10658. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10659. +       PPCCallOS(&MyCaos);                    \
  10660. +    }                                \
  10661. + })
  10662. + /* Only exec.library/Supervisor() */
  10663. + #define LP1A5FP(offs, rt, name, t1, v1, r1, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10664. + ({                                \
  10665. +    typedef fpt;                            \
  10666. +    struct Caos MyCaos;                        \
  10667. +    {                                \
  10668. +       rt _##name##_re;                        \
  10669. +       MyCaos.##r1        = (ULONG) v1;            \
  10670. +       MyCaos.a6        = (ULONG) bn;            \
  10671. +       MyCaos.M68kCacheMode    =    cm1;            \
  10672. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10673. +       {                                \
  10674. +         MyCaos.M68kStart    =    cs1;            \
  10675. +         MyCaos.M68kLength    =    cl1;            \
  10676. +       }                                \
  10677. +       MyCaos.PPCCacheMode    =    cm2;            \
  10678. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10679. +       {                                \
  10680. +         MyCaos.PPCStart    =    cs2;            \
  10681. +         MyCaos.PPCLength    =    cl2;            \
  10682. +       }                                \
  10683. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10684. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  10685. +       _##name##_re;                        \
  10686. +    }                                \
  10687. + })
  10688. + #define LP2(offs, rt, name, t1, v1, r1, t2, v2, r2, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10689. + ({                                \
  10690. +    struct Caos MyCaos;                        \
  10691. +    {                                \
  10692. +       rt _##name##_re;                        \
  10693. +       MyCaos.##r1        = (ULONG) v1;            \
  10694. +       MyCaos.##r2        = (ULONG) v2;            \
  10695. +       MyCaos.a6        = (ULONG) bn;            \
  10696. +       MyCaos.M68kCacheMode    =    cm1;            \
  10697. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10698. +       {                                \
  10699. +         MyCaos.M68kStart    =    cs1;            \
  10700. +         MyCaos.M68kLength    =    cl1;            \
  10701. +       }                                \
  10702. +       MyCaos.PPCCacheMode    =    cm2;            \
  10703. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10704. +       {                                \
  10705. +         MyCaos.PPCStart    =    cs2;            \
  10706. +         MyCaos.PPCLength    =    cl2;            \
  10707. +       }                                \
  10708. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10709. +       _##name##_re = (rt) PPCCallOS(&MyCaos);                      \
  10710. +       _##name##_re;                        \
  10711. +    }                                \
  10712. + })
  10713. + #define LP2NR(offs, name, t1, v1, r1, t2, v2, r2, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10714. + ({                                \
  10715. +    struct Caos MyCaos;                        \
  10716. +    {                                \
  10717. +       MyCaos.##r1        = (ULONG) v1;            \
  10718. +       MyCaos.##r2        = (ULONG) v2;            \
  10719. +       MyCaos.a6        = (ULONG) bn;            \
  10720. +       MyCaos.M68kCacheMode    =    cm1;            \
  10721. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10722. +       {                                \
  10723. +         MyCaos.M68kStart    =    cs1;            \
  10724. +         MyCaos.M68kLength    =    cl1;            \
  10725. +       }                                \
  10726. +       MyCaos.PPCCacheMode    =    cm2;            \
  10727. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10728. +       {                                \
  10729. +         MyCaos.PPCStart    =    cs2;            \
  10730. +         MyCaos.PPCLength    =    cl2;            \
  10731. +       }                                \
  10732. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10733. +       PPCCallOS(&MyCaos);                    \
  10734. +    }                                \
  10735. + })
  10736. + /* Only cia.resource/AbleICR() and cia.resource/SetICR() */
  10737. + #define LP2UB(offs, rt, name, t1, v1, r1, t2, v2, r2, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10738. + ({                                \
  10739. +    struct Caos MyCaos;                        \
  10740. +    {                                \
  10741. +       rt _##name##_re;                        \
  10742. +       MyCaos.##r1        = (ULONG) v1;            \
  10743. +       MyCaos.##r2        = (ULONG) v2;            \
  10744. +       MyCaos.M68kCacheMode    =    cm1;            \
  10745. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10746. +       {                                \
  10747. +         MyCaos.M68kStart    =    cs1;            \
  10748. +         MyCaos.M68kLength    =    cl1;            \
  10749. +       }                                \
  10750. +       MyCaos.PPCCacheMode    =    cm2;            \
  10751. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10752. +       {                                \
  10753. +         MyCaos.PPCStart    =    cs2;            \
  10754. +         MyCaos.PPCLength    =    cl2;            \
  10755. +       }                                \
  10756. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10757. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  10758. +       _##name##_re;                        \
  10759. +    }                                \
  10760. + })
  10761. + /* Only dos.library/InternalUnLoadSeg() */
  10762. + #define LP2FP(offs, rt, name, t1, v1, r1, t2, v2, r2, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10763. + ({                                \
  10764. +    typedef fpt;                            \
  10765. +    struct Caos MyCaos;                        \
  10766. +    {                                \
  10767. +       rt _##name##_re;                        \
  10768. +       MyCaos.##r1        = (ULONG) v1;            \
  10769. +       MyCaos.##r2        = (ULONG) v2;            \
  10770. +       MyCaos.a6        = (ULONG) bn;            \
  10771. +       MyCaos.M68kCacheMode    =    cm1;            \
  10772. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10773. +       {                                \
  10774. +         MyCaos.M68kStart    =    cs1;            \
  10775. +         MyCaos.M68kLength    =    cl1;            \
  10776. +       }                                \
  10777. +       MyCaos.PPCCacheMode    =    cm2;            \
  10778. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10779. +       {                                \
  10780. +         MyCaos.PPCStart    =    cs2;            \
  10781. +         MyCaos.PPCLength    =    cl2;            \
  10782. +       }                                \
  10783. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10784. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  10785. +       _##name##_re;                        \
  10786. +    }                                \
  10787. + })
  10788. + #define LP3(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10789. + ({                                \
  10790. +    struct Caos MyCaos;                        \
  10791. +    {                                \
  10792. +       rt _##name##_re;                        \
  10793. +       MyCaos.##r1        = (ULONG) v1;            \
  10794. +       MyCaos.##r2        = (ULONG) v2;            \
  10795. +       MyCaos.##r3        = (ULONG) v3;            \
  10796. +       MyCaos.a6        = (ULONG) bn;            \
  10797. +       MyCaos.M68kCacheMode    =    cm1;            \
  10798. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10799. +       {                                \
  10800. +         MyCaos.M68kStart    =    cs1;            \
  10801. +         MyCaos.M68kLength    =    cl1;            \
  10802. +       }                                \
  10803. +       MyCaos.PPCCacheMode    =    cm2;            \
  10804. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10805. +       {                                \
  10806. +         MyCaos.PPCStart    =    cs2;            \
  10807. +         MyCaos.PPCLength    =    cl2;            \
  10808. +       }                                \
  10809. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10810. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  10811. +       _##name##_re;                        \
  10812. +    }                                \
  10813. + })
  10814. + #define LP3NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10815. + ({                                \
  10816. +    struct Caos MyCaos;                        \
  10817. +    {                                \
  10818. +       MyCaos.##r1        = (ULONG) v1;            \
  10819. +       MyCaos.##r2        = (ULONG) v2;            \
  10820. +       MyCaos.##r3        = (ULONG) v3;            \
  10821. +       MyCaos.a6        = (ULONG) bn;            \
  10822. +       MyCaos.M68kCacheMode    =    cm1;            \
  10823. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10824. +       {                                \
  10825. +         MyCaos.M68kStart    =    cs1;            \
  10826. +         MyCaos.M68kLength    =    cl1;            \
  10827. +       }                                \
  10828. +       MyCaos.PPCCacheMode    =    cm2;            \
  10829. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10830. +       {                                \
  10831. +         MyCaos.PPCStart    =    cs2;            \
  10832. +         MyCaos.PPCLength    =    cl2;            \
  10833. +       }                                \
  10834. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10835. +       PPCCallOS(&MyCaos);                    \
  10836. +    }                                \
  10837. + })
  10838. + /* Only cia.resource/AddICRVector() */
  10839. + #define LP3UB(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10840. + ({                                \
  10841. +    struct Caos MyCaos;                        \
  10842. +    {                                \
  10843. +       rt _##name##_re;                        \
  10844. +       MyCaos.##r1        = (ULONG) v1;            \
  10845. +       MyCaos.##r2        = (ULONG) v2;            \
  10846. +       MyCaos.##r3        = (ULONG) v3;            \
  10847. +       MyCaos.M68kCacheMode    =    cm1;            \
  10848. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10849. +       {                                \
  10850. +         MyCaos.M68kStart    =    cs1;            \
  10851. +         MyCaos.M68kLength    =    cl1;            \
  10852. +       }                                \
  10853. +       MyCaos.PPCCacheMode    =    cm2;            \
  10854. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10855. +       {                                \
  10856. +         MyCaos.PPCStart    =    cs2;            \
  10857. +         MyCaos.PPCLength    =    cl2;            \
  10858. +       }                                \
  10859. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10860. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  10861. +       _##name##_re;                        \
  10862. +    }                                \
  10863. + })
  10864. + /* Only cia.resource/RemICRVector() */
  10865. + #define LP3NRUB(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10866. + ({                                \
  10867. +    struct Caos MyCaos;                        \
  10868. +    {                                \
  10869. +       MyCaos.##r1        = (ULONG) v1;            \
  10870. +       MyCaos.##r2        = (ULONG) v2;            \
  10871. +       MyCaos.##r3        = (ULONG) v3;            \
  10872. +       MyCaos.M68kCacheMode    =    cm1;            \
  10873. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10874. +       {                                \
  10875. +         MyCaos.M68kStart    =    cs1;            \
  10876. +         MyCaos.M68kLength    =    cl1;            \
  10877. +       }                                \
  10878. +       MyCaos.PPCCacheMode    =    cm2;            \
  10879. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10880. +       {                                \
  10881. +         MyCaos.PPCStart    =    cs2;            \
  10882. +         MyCaos.PPCLength    =    cl2;            \
  10883. +       }                                \
  10884. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10885. +       PPCCallOS(&MyCaos);                    \
  10886. +    }                                \
  10887. + })
  10888. + /* Only exec.library/SetFunction() */
  10889. + #define LP3FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10890. + ({                                \
  10891. +    typedef fpt;                            \
  10892. +    struct Caos MyCaos;                        \
  10893. +    {                                \
  10894. +       rt _##name##_re;                        \
  10895. +       MyCaos.##r1        = (ULONG) v1;            \
  10896. +       MyCaos.##r2        = (ULONG) v2;            \
  10897. +       MyCaos.##r3        = (ULONG) v3;            \
  10898. +       MyCaos.a6        = (ULONG) bn;            \
  10899. +       MyCaos.M68kCacheMode    =    cm1;            \
  10900. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10901. +       {                                \
  10902. +         MyCaos.M68kStart    =    cs1;            \
  10903. +         MyCaos.M68kLength    =    cl1;            \
  10904. +       }                                \
  10905. +       MyCaos.PPCCacheMode    =    cm2;            \
  10906. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10907. +       {                                \
  10908. +         MyCaos.PPCStart    =    cs2;            \
  10909. +         MyCaos.PPCLength    =    cl2;            \
  10910. +       }                                \
  10911. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10912. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  10913. +       _##name##_re;                        \
  10914. +    }                                \
  10915. + })
  10916. + /* Only graphics.library/SetCollision() */
  10917. + #define LP3NRFP(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10918. + ({                                \
  10919. +    typedef fpt;                            \
  10920. +    struct Caos MyCaos;                        \
  10921. +    {                                \
  10922. +       MyCaos.##r1        = (ULONG) v1;            \
  10923. +       MyCaos.##r2        = (ULONG) v2;            \
  10924. +       MyCaos.##r3        = (ULONG) v3;            \
  10925. +       MyCaos.a6        = (ULONG) bn;            \
  10926. +       MyCaos.M68kCacheMode    =    cm1;            \
  10927. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10928. +       {                                \
  10929. +         MyCaos.M68kStart    =    cs1;            \
  10930. +         MyCaos.M68kLength    =    cl1;            \
  10931. +       }                                \
  10932. +       MyCaos.PPCCacheMode    =    cm2;            \
  10933. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10934. +       {                                \
  10935. +         MyCaos.PPCStart    =    cs2;            \
  10936. +         MyCaos.PPCLength    =    cl2;            \
  10937. +       }                                \
  10938. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10939. +       PPCCallOS(&MyCaos);                    \
  10940. +    }                                \
  10941. + })
  10942. + #define LP4(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10943. + ({                                \
  10944. +    struct Caos MyCaos;                        \
  10945. +    {                                \
  10946. +       rt _##name##_re;                        \
  10947. +       MyCaos.##r1        = (ULONG) v1;            \
  10948. +       MyCaos.##r2        = (ULONG) v2;            \
  10949. +       MyCaos.##r3        = (ULONG) v3;            \
  10950. +       MyCaos.##r4        = (ULONG) v4;            \
  10951. +       MyCaos.a6        = (ULONG) bn;            \
  10952. +       MyCaos.M68kCacheMode    =    cm1;            \
  10953. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10954. +       {                                \
  10955. +         MyCaos.M68kStart    =    cs1;            \
  10956. +         MyCaos.M68kLength    =    cl1;            \
  10957. +       }                                \
  10958. +       MyCaos.PPCCacheMode    =    cm2;            \
  10959. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10960. +       {                                \
  10961. +         MyCaos.PPCStart    =    cs2;            \
  10962. +         MyCaos.PPCLength    =    cl2;            \
  10963. +       }                                \
  10964. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10965. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  10966. +       _##name##_re;                        \
  10967. +    }                                \
  10968. + })
  10969. + #define LP4NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10970. + ({                                \
  10971. +    struct Caos MyCaos;                        \
  10972. +    {                                \
  10973. +       MyCaos.##r1        = (ULONG) v1;            \
  10974. +       MyCaos.##r2        = (ULONG) v2;            \
  10975. +       MyCaos.##r3        = (ULONG) v3;            \
  10976. +       MyCaos.##r4        = (ULONG) v4;            \
  10977. +       MyCaos.a6        = (ULONG) bn;            \
  10978. +       MyCaos.M68kCacheMode    =    cm1;            \
  10979. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  10980. +       {                                \
  10981. +         MyCaos.M68kStart    =    cs1;            \
  10982. +         MyCaos.M68kLength    =    cl1;            \
  10983. +       }                                \
  10984. +       MyCaos.PPCCacheMode    =    cm2;            \
  10985. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  10986. +       {                                \
  10987. +         MyCaos.PPCStart    =    cs2;            \
  10988. +         MyCaos.PPCLength    =    cl2;            \
  10989. +       }                                \
  10990. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  10991. +       PPCCallOS(&MyCaos);                    \
  10992. +    }                                \
  10993. + })
  10994. + /* Only exec.library/RawDoFmt() */
  10995. + #define LP4FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  10996. + ({                                \
  10997. +    typedef fpt;                            \
  10998. +    struct Caos MyCaos;                        \
  10999. +    {                                \
  11000. +       rt _##name##_re;                        \
  11001. +       MyCaos.##r1        = (ULONG) v1;            \
  11002. +       MyCaos.##r2        = (ULONG) v2;            \
  11003. +       MyCaos.##r3        = (ULONG) v3;            \
  11004. +       MyCaos.##r4        = (ULONG) v4;            \
  11005. +       MyCaos.a6        = (ULONG) bn;            \
  11006. +       MyCaos.M68kCacheMode    =    cm1;            \
  11007. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11008. +       {                                \
  11009. +         MyCaos.M68kStart    =    cs1;            \
  11010. +         MyCaos.M68kLength    =    cl1;            \
  11011. +       }                                \
  11012. +       MyCaos.PPCCacheMode    =    cm2;            \
  11013. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11014. +       {                                \
  11015. +         MyCaos.PPCStart    =    cs2;            \
  11016. +         MyCaos.PPCLength    =    cl2;            \
  11017. +       }                                \
  11018. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11019. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  11020. +       _##name##_re;                        \
  11021. +    }                                \
  11022. + })
  11023. + #define LP5(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11024. + ({                                \
  11025. +    struct Caos MyCaos;                        \
  11026. +    {                                \
  11027. +       rt _##name##_re;                        \
  11028. +       MyCaos.##r1        = (ULONG) v1;            \
  11029. +       MyCaos.##r2        = (ULONG) v2;            \
  11030. +       MyCaos.##r3        = (ULONG) v3;            \
  11031. +       MyCaos.##r4        = (ULONG) v4;            \
  11032. +       MyCaos.##r5        = (ULONG) v5;            \
  11033. +       MyCaos.a6        = (ULONG) bn;            \
  11034. +       MyCaos.M68kCacheMode    =    cm1;            \
  11035. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11036. +       {                                \
  11037. +         MyCaos.M68kStart    =    cs1;            \
  11038. +         MyCaos.M68kLength    =    cl1;            \
  11039. +       }                                \
  11040. +       MyCaos.PPCCacheMode    =    cm2;            \
  11041. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11042. +       {                                \
  11043. +         MyCaos.PPCStart    =    cs2;            \
  11044. +         MyCaos.PPCLength    =    cl2;            \
  11045. +       }                                \
  11046. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11047. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  11048. +       _##name##_re;                        \
  11049. +    }                                \
  11050. + })
  11051. + #define LP5NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11052. + ({                                \
  11053. +    struct Caos MyCaos;                        \
  11054. +    {                                \
  11055. +       MyCaos.##r1        = (ULONG) v1;            \
  11056. +       MyCaos.##r2        = (ULONG) v2;            \
  11057. +       MyCaos.##r3        = (ULONG) v3;            \
  11058. +       MyCaos.##r4        = (ULONG) v4;            \
  11059. +       MyCaos.##r5        = (ULONG) v5;            \
  11060. +       MyCaos.a6        = (ULONG) bn;            \
  11061. +       MyCaos.M68kCacheMode    =    cm1;            \
  11062. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11063. +       {                                \
  11064. +         MyCaos.M68kStart    =    cs1;            \
  11065. +         MyCaos.M68kLength    =    cl1;            \
  11066. +       }                                \
  11067. +       MyCaos.PPCCacheMode    =    cm2;            \
  11068. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11069. +       {                                \
  11070. +         MyCaos.PPCStart    =    cs2;            \
  11071. +         MyCaos.PPCLength    =    cl2;            \
  11072. +       }                                \
  11073. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11074. +       PPCCallOS(&MyCaos);                    \
  11075. +    }                                \
  11076. + })
  11077. + /* Only exec.library/MakeLibrary() */
  11078. + #define LP5FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11079. + ({                                \
  11080. +    typedef fpt;                            \
  11081. +    struct Caos MyCaos;                        \
  11082. +    {                                \
  11083. +       rt _##name##_re;                        \
  11084. +       MyCaos.##r1        = (ULONG) v1;            \
  11085. +       MyCaos.##r2        = (ULONG) v2;            \
  11086. +       MyCaos.##r3        = (ULONG) v3;            \
  11087. +       MyCaos.##r4        = (ULONG) v4;            \
  11088. +       MyCaos.##r5        = (ULONG) v5;            \
  11089. +       MyCaos.a6        = (ULONG) bn;            \
  11090. +       MyCaos.M68kCacheMode    =    cm1;            \
  11091. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11092. +       {                                \
  11093. +         MyCaos.M68kStart    =    cs1;            \
  11094. +         MyCaos.M68kLength    =    cl1;            \
  11095. +       }                                \
  11096. +       MyCaos.PPCCacheMode    =    cm2;            \
  11097. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11098. +       {                                \
  11099. +         MyCaos.PPCStart    =    cs2;            \
  11100. +         MyCaos.PPCLength    =    cl2;            \
  11101. +       }                                \
  11102. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11103. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  11104. +       _##name##_re;                        \
  11105. +    }                                \
  11106. + })
  11107. + #define LP6(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11108. + ({                                \
  11109. +    struct Caos MyCaos;                        \
  11110. +    {                                \
  11111. +       rt _##name##_re;                        \
  11112. +       MyCaos.##r1        = (ULONG) v1;            \
  11113. +       MyCaos.##r2        = (ULONG) v2;            \
  11114. +       MyCaos.##r3        = (ULONG) v3;            \
  11115. +       MyCaos.##r4        = (ULONG) v4;            \
  11116. +       MyCaos.##r5        = (ULONG) v5;            \
  11117. +       MyCaos.##r6        = (ULONG) v6;            \
  11118. +       MyCaos.a6        = (ULONG) bn;            \
  11119. +       MyCaos.M68kCacheMode    =    cm1;            \
  11120. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11121. +       {                                \
  11122. +         MyCaos.M68kStart    =    cs1;            \
  11123. +         MyCaos.M68kLength    =    cl1;            \
  11124. +       }                                \
  11125. +       MyCaos.PPCCacheMode    =    cm2;            \
  11126. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11127. +       {                                \
  11128. +         MyCaos.PPCStart    =    cs2;            \
  11129. +         MyCaos.PPCLength    =    cl2;            \
  11130. +       }                                \
  11131. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11132. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  11133. +       _##name##_re;                        \
  11134. +    }                                \
  11135. + })
  11136. + #define LP6NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11137. + ({                                \
  11138. +    struct Caos MyCaos;                        \
  11139. +    {                                \
  11140. +       MyCaos.##r1        = (ULONG) v1;            \
  11141. +       MyCaos.##r2        = (ULONG) v2;            \
  11142. +       MyCaos.##r3        = (ULONG) v3;            \
  11143. +       MyCaos.##r4        = (ULONG) v4;            \
  11144. +       MyCaos.##r5        = (ULONG) v5;            \
  11145. +       MyCaos.##r6        = (ULONG) v6;            \
  11146. +       MyCaos.a6        = (ULONG) bn;            \
  11147. +       MyCaos.M68kCacheMode    =    cm1;            \
  11148. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11149. +       {                                \
  11150. +         MyCaos.M68kStart    =    cs1;            \
  11151. +         MyCaos.M68kLength    =    cl1;            \
  11152. +       }                                \
  11153. +       MyCaos.PPCCacheMode    =    cm2;            \
  11154. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11155. +       {                                \
  11156. +         MyCaos.PPCStart    =    cs2;            \
  11157. +         MyCaos.PPCLength    =    cl2;            \
  11158. +       }                                \
  11159. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11160. +       PPCCallOS(&MyCaos);                    \
  11161. +    }                                \
  11162. + })
  11163. + #define LP7(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11164. + ({                                \
  11165. +    struct Caos MyCaos;                        \
  11166. +    {                                \
  11167. +       rt _##name##_re;                        \
  11168. +       MyCaos.##r1        = (ULONG) v1;            \
  11169. +       MyCaos.##r2        = (ULONG) v2;            \
  11170. +       MyCaos.##r3        = (ULONG) v3;            \
  11171. +       MyCaos.##r4        = (ULONG) v4;            \
  11172. +       MyCaos.##r5        = (ULONG) v5;            \
  11173. +       MyCaos.##r6        = (ULONG) v6;            \
  11174. +       MyCaos.##r7        = (ULONG) v7;            \
  11175. +       MyCaos.a6        = (ULONG) bn;            \
  11176. +       MyCaos.M68kCacheMode    =    cm1;            \
  11177. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11178. +       {                                \
  11179. +         MyCaos.M68kStart    =    cs1;            \
  11180. +         MyCaos.M68kLength    =    cl1;            \
  11181. +       }                                \
  11182. +       MyCaos.PPCCacheMode    =    cm2;            \
  11183. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11184. +       {                                \
  11185. +         MyCaos.PPCStart    =    cs2;            \
  11186. +         MyCaos.PPCLength    =    cl2;            \
  11187. +       }                                \
  11188. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11189. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  11190. +       _##name##_re;                        \
  11191. +    }                                \
  11192. + })
  11193. + #define LP7NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11194. + ({                                \
  11195. +    struct Caos MyCaos;                        \
  11196. +    {                                \
  11197. +       MyCaos.##r1        = (ULONG) v1;            \
  11198. +       MyCaos.##r2        = (ULONG) v2;            \
  11199. +       MyCaos.##r3        = (ULONG) v3;            \
  11200. +       MyCaos.##r4        = (ULONG) v4;            \
  11201. +       MyCaos.##r5        = (ULONG) v5;            \
  11202. +       MyCaos.##r6        = (ULONG) v6;            \
  11203. +       MyCaos.##r7        = (ULONG) v7;            \
  11204. +       MyCaos.a6        = (ULONG) bn;            \
  11205. +       MyCaos.M68kCacheMode    =    cm1;            \
  11206. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11207. +       {                                \
  11208. +         MyCaos.M68kStart    =    cs1;            \
  11209. +         MyCaos.M68kLength    =    cl1;            \
  11210. +       }                                \
  11211. +       MyCaos.PPCCacheMode    =    cm2;            \
  11212. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11213. +       {                                \
  11214. +         MyCaos.PPCStart    =    cs2;            \
  11215. +         MyCaos.PPCLength    =    cl2;            \
  11216. +       }                                \
  11217. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11218. +       PPCCallOS(&MyCaos);                    \
  11219. +    }                                \
  11220. + })
  11221. + /* Only workbench.library/AddAppIconA() */
  11222. + #define LP7A4(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11223. + ({                                \
  11224. +    struct Caos MyCaos;                        \
  11225. +    {                                \
  11226. +       rt _##name##_re;                        \
  11227. +       MyCaos.##r1        = (ULONG) v1;            \
  11228. +       MyCaos.##r2        = (ULONG) v2;            \
  11229. +       MyCaos.##r3        = (ULONG) v3;            \
  11230. +       MyCaos.##r4        = (ULONG) v4;            \
  11231. +       MyCaos.##r5        = (ULONG) v5;            \
  11232. +       MyCaos.##r6        = (ULONG) v6;            \
  11233. +       MyCaos.##r7        = (ULONG) v7;            \
  11234. +       MyCaos.a6        = (ULONG) bn;            \
  11235. +       MyCaos.M68kCacheMode    =    cm1;            \
  11236. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11237. +       {                                \
  11238. +         MyCaos.M68kStart    =    cs1;            \
  11239. +         MyCaos.M68kLength    =    cl1;            \
  11240. +       }                                \
  11241. +       MyCaos.PPCCacheMode    =    cm2;            \
  11242. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11243. +       {                                \
  11244. +         MyCaos.PPCStart    =    cs2;            \
  11245. +         MyCaos.PPCLength    =    cl2;            \
  11246. +       }                                \
  11247. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11248. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  11249. +       _##name##_re;                        \
  11250. +    }                                \
  11251. + })
  11252. + /* Would you believe that there really are beasts that need more than 7
  11253. +    arguments? :-) */
  11254. + /* For example intuition.library/AutoRequest() */
  11255. + #define LP8(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11256. + ({                                \
  11257. +    struct Caos MyCaos;                        \
  11258. +    {                                \
  11259. +       rt _##name##_re;                        \
  11260. +       MyCaos.##r1        = (ULONG) v1;            \
  11261. +       MyCaos.##r2        = (ULONG) v2;            \
  11262. +       MyCaos.##r3        = (ULONG) v3;            \
  11263. +       MyCaos.##r4        = (ULONG) v4;            \
  11264. +       MyCaos.##r5        = (ULONG) v5;            \
  11265. +       MyCaos.##r6        = (ULONG) v6;            \
  11266. +       MyCaos.##r7        = (ULONG) v7;            \
  11267. +       MyCaos.##r8        = (ULONG) v8;            \
  11268. +       MyCaos.a6        = (ULONG) bn;            \
  11269. +       MyCaos.M68kCacheMode    =    cm1;            \
  11270. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11271. +       {                                \
  11272. +         MyCaos.M68kStart    =    cs1;            \
  11273. +         MyCaos.M68kLength    =    cl1;            \
  11274. +       }                                \
  11275. +       MyCaos.PPCCacheMode    =    cm2;            \
  11276. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11277. +       {                                \
  11278. +         MyCaos.PPCStart    =    cs2;            \
  11279. +         MyCaos.PPCLength    =    cl2;            \
  11280. +       }                                \
  11281. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11282. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  11283. +       _##name##_re;                        \
  11284. +    }                                \
  11285. + })
  11286. + /* For example intuition.library/ModifyProp() */
  11287. + #define LP8NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11288. + ({                                \
  11289. +    struct Caos MyCaos;                        \
  11290. +    {                                \
  11291. +       MyCaos.##r1        = (ULONG) v1;            \
  11292. +       MyCaos.##r2        = (ULONG) v2;            \
  11293. +       MyCaos.##r3        = (ULONG) v3;            \
  11294. +       MyCaos.##r4        = (ULONG) v4;            \
  11295. +       MyCaos.##r5        = (ULONG) v5;            \
  11296. +       MyCaos.##r6        = (ULONG) v6;            \
  11297. +       MyCaos.##r7        = (ULONG) v7;            \
  11298. +       MyCaos.##r8        = (ULONG) v8;            \
  11299. +       MyCaos.a6        = (ULONG) bn;            \
  11300. +       MyCaos.M68kCacheMode    =    cm1;            \
  11301. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11302. +       {                                \
  11303. +         MyCaos.M68kStart    =    cs1;            \
  11304. +         MyCaos.M68kLength    =    cl1;            \
  11305. +       }                                \
  11306. +       MyCaos.PPCCacheMode    =    cm2;            \
  11307. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11308. +       {                                \
  11309. +         MyCaos.PPCStart    =    cs2;            \
  11310. +         MyCaos.PPCLength    =    cl2;            \
  11311. +       }                                \
  11312. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11313. +       PPCCallOS(&MyCaos);                    \
  11314. +    }                                \
  11315. + })
  11316. + /* For example layers.library/CreateUpfrontHookLayer() */
  11317. + #define LP9(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11318. + ({                                \
  11319. +    struct Caos MyCaos;                        \
  11320. +    {                                \
  11321. +       rt _##name##_re;                        \
  11322. +       MyCaos.##r1        = (ULONG) v1;            \
  11323. +       MyCaos.##r2        = (ULONG) v2;            \
  11324. +       MyCaos.##r3        = (ULONG) v3;            \
  11325. +       MyCaos.##r4        = (ULONG) v4;            \
  11326. +       MyCaos.##r5        = (ULONG) v5;            \
  11327. +       MyCaos.##r6        = (ULONG) v6;            \
  11328. +       MyCaos.##r7        = (ULONG) v7;            \
  11329. +       MyCaos.##r8        = (ULONG) v8;            \
  11330. +       MyCaos.##r9        = (ULONG) v9;            \
  11331. +       MyCaos.a6        = (ULONG) bn;            \
  11332. +       MyCaos.M68kCacheMode    =    cm1;            \
  11333. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11334. +       {                                \
  11335. +         MyCaos.M68kStart    =    cs1;            \
  11336. +         MyCaos.M68kLength    =    cl1;            \
  11337. +       }                                \
  11338. +       MyCaos.PPCCacheMode    =    cm2;            \
  11339. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11340. +       {                                \
  11341. +         MyCaos.PPCStart    =    cs2;            \
  11342. +         MyCaos.PPCLength    =    cl2;            \
  11343. +       }                                \
  11344. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11345. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  11346. +       _##name##_re;                        \
  11347. +    }                                \
  11348. + })
  11349. + /* For example intuition.library/NewModifyProp() */
  11350. + #define LP9NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11351. + ({                                \
  11352. +    struct Caos MyCaos;                        \
  11353. +    {                                \
  11354. +       MyCaos.##r1        = (ULONG) v1;            \
  11355. +       MyCaos.##r2        = (ULONG) v2;            \
  11356. +       MyCaos.##r3        = (ULONG) v3;            \
  11357. +       MyCaos.##r4        = (ULONG) v4;            \
  11358. +       MyCaos.##r5        = (ULONG) v5;            \
  11359. +       MyCaos.##r6        = (ULONG) v6;            \
  11360. +       MyCaos.##r7        = (ULONG) v7;            \
  11361. +       MyCaos.##r8        = (ULONG) v8;            \
  11362. +       MyCaos.##r9        = (ULONG) v9;            \
  11363. +       MyCaos.a6        = (ULONG) bn;            \
  11364. +       MyCaos.M68kCacheMode    =    cm1;            \
  11365. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11366. +       {                                \
  11367. +         MyCaos.M68kStart    =    cs1;            \
  11368. +         MyCaos.M68kLength    =    cl1;            \
  11369. +       }                                \
  11370. +       MyCaos.PPCCacheMode    =    cm2;            \
  11371. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11372. +       {                                \
  11373. +         MyCaos.PPCStart    =    cs2;            \
  11374. +         MyCaos.PPCLength    =    cl2;            \
  11375. +       }                                \
  11376. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11377. +       PPCCallOS(&MyCaos);                    \
  11378. +    }                                \
  11379. + })
  11380. + /* LP10 not needed... */
  11381. + /* Kriton Kyrimis <kyrimis@cti.gr> says CyberGraphics needs the following */
  11382. + #define LP10(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, t10, v10, r10, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11383. + ({                                \
  11384. +    struct Caos MyCaos;                        \
  11385. +    {                                \
  11386. +       rt _##name##_re;                        \
  11387. +       MyCaos.##r1        = (ULONG) v1;            \
  11388. +       MyCaos.##r2        = (ULONG) v2;            \
  11389. +       MyCaos.##r3        = (ULONG) v3;            \
  11390. +       MyCaos.##r4        = (ULONG) v4;            \
  11391. +       MyCaos.##r5        = (ULONG) v5;            \
  11392. +       MyCaos.##r6        = (ULONG) v6;            \
  11393. +       MyCaos.##r7        = (ULONG) v7;            \
  11394. +       MyCaos.##r8        = (ULONG) v8;            \
  11395. +       MyCaos.##r9        = (ULONG) v9;            \
  11396. +       MyCaos.##r10        = (ULONG) v10;            \
  11397. +       MyCaos.a6        = (ULONG) bn;            \
  11398. +       MyCaos.M68kCacheMode    =    cm1;            \
  11399. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11400. +       {                                \
  11401. +         MyCaos.M68kStart    =    cs1;            \
  11402. +         MyCaos.M68kLength    =    cl1;            \
  11403. +       }                                \
  11404. +       MyCaos.PPCCacheMode    =    cm2;            \
  11405. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11406. +       {                                \
  11407. +         MyCaos.PPCStart    =    cs2;            \
  11408. +         MyCaos.PPCLength    =    cl2;            \
  11409. +       }                                \
  11410. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11411. +       _##name##_re = (rt) PPCCallOS(&MyCaos);            \
  11412. +       _##name##_re;                        \
  11413. +    }                                \
  11414. + })
  11415. + /* Only graphics.library/BltMaskBitMapRastPort() */
  11416. + #define LP10NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, t10, v10, r10, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11417. + ({                                \
  11418. +    struct Caos MyCaos;                        \
  11419. +    {                                \
  11420. +       MyCaos.##r1        = (ULONG) v1;            \
  11421. +       MyCaos.##r2        = (ULONG) v2;            \
  11422. +       MyCaos.##r3        = (ULONG) v3;            \
  11423. +       MyCaos.##r4        = (ULONG) v4;            \
  11424. +       MyCaos.##r5        = (ULONG) v5;            \
  11425. +       MyCaos.##r6        = (ULONG) v6;            \
  11426. +       MyCaos.##r7        = (ULONG) v7;            \
  11427. +       MyCaos.##r8        = (ULONG) v8;            \
  11428. +       MyCaos.##r9        = (ULONG) v9;            \
  11429. +       MyCaos.##r10        = (ULONG) v10;            \
  11430. +       MyCaos.a6        = (ULONG) bn;            \
  11431. +       MyCaos.M68kCacheMode    =    cm1;            \
  11432. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11433. +       {                                \
  11434. +         MyCaos.M68kStart    =    cs1;            \
  11435. +         MyCaos.M68kLength    =    cl1;            \
  11436. +       }                                \
  11437. +       MyCaos.PPCCacheMode    =    cm2;            \
  11438. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11439. +       {                                \
  11440. +         MyCaos.PPCStart    =    cs2;            \
  11441. +         MyCaos.PPCLength    =    cl2;            \
  11442. +       }                                \
  11443. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  11444. +       PPCCallOS(&MyCaos);                    \
  11445. +    }                                \
  11446. + })
  11447. + /* Only graphics.library/BltBitMap() */
  11448. + #define LP11(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, t10, v10, r10, t11, v11, r11, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11449. + ({                                \
  11450. +    struct Caos MyCaos;                        \
  11451. +    {                                \
  11452. +       rt _##name##_re;                        \
  11453. +       MyCaos.##r1        = (ULONG) v1;            \
  11454. +       MyCaos.##r2        = (ULONG) v2;            \
  11455. +       MyCaos.##r3        = (ULONG) v3;            \
  11456. +       MyCaos.##r4        = (ULONG) v4;            \
  11457. +       MyCaos.##r5        = (ULONG) v5;            \
  11458. +       MyCaos.##r6        = (ULONG) v6;            \
  11459. +       MyCaos.##r7        = (ULONG) v7;            \
  11460. +       MyCaos.##r8        = (ULONG) v8;            \
  11461. +       MyCaos.##r9        = (ULONG) v9;            \
  11462. +       MyCaos.##r10        = (ULONG) v10;            \
  11463. +       MyCaos.##r11        = (ULONG) v11;            \
  11464. +       MyCaos.a6        = (ULONG) bn;            \
  11465. +       MyCaos.M68kCacheMode    =    cm1;            \
  11466. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11467. +       {                                \
  11468. +         MyCaos.M68kStart    =    cs1;            \
  11469. +         MyCaos.M68kLength    =    cl1;            \
  11470. +       }                                \
  11471. +       MyCaos.PPCCacheMode    =    cm2;        
  11472. \ No newline at end of file
  11473. diff -c2 -d -P -r include_h/powerup/ppcinline/macros.h_old0 includenew/powerup/ppcinline/macros.h_old0
  11474. *** include_h/powerup/ppcinline/macros.h_old0    Thu Jan  1 00:00:00 1970
  11475. --- includenew/powerup/ppcinline/macros.h_old0    Wed Feb 14 02:41:20 2001
  11476. ***************
  11477. *** 0 ****
  11478. --- 1,1072 ----
  11479. + #ifndef __INLINE_MACROS_H
  11480. + #define __INLINE_MACROS_H
  11481. + #include <powerup/gcclib/powerup_protos.h>
  11482. + /* Use these macros to calculate cache flush start address and cache flush
  11483. + length. */
  11484. + #define __CACHE_START(start) ((void *) ((unsigned long int) (start) & ~31))
  11485. + #define __CACHE_LENGTH(start,length) ((((length) + (unsigned long int) (start) + 31) & ~31) - ((unsigned long int) (start) & ~31))
  11486. + /*
  11487. +    General macros for Amiga function calls. Not all the possibilities have
  11488. +    been created - only the ones which exist in OS 3.1. Third party libraries
  11489. +    and future versions of AmigaOS will maybe need some new ones...
  11490. +    LPX - functions that take X arguments.
  11491. +    Modifiers (variations are possible):
  11492. +    NR - no return (void),
  11493. +    A4, A5 - "a4" or "a5" is used as one of the arguments,
  11494. +    UB - base will be given explicitly by user (see cia.resource).
  11495. +    FP - one of the parameters has type "pointer to function".
  11496. +    "bt" arguments are not used - they are provided for backward compatibility
  11497. +    only.
  11498. +    Actually..the "bt" parameter is needed because otherwise the macro doesn`t
  11499. +    work for some reason i don`t know gcc puts an empty argument at the position
  11500. +    before the argument bn and without the placeholder "bt".
  11501. +    I think it has something to do with #define *_BASE_NAME
  11502. +    the (cm1==IF_CACHEFLUSHAREA) conditional is optimized away
  11503. + */
  11504. + #ifndef __INLINE_STUB_H
  11505. + #include <powerup/ppcinline/stubs.h>
  11506. + #endif
  11507. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  11508. + #include <powerup/ppclib/interface.h>
  11509. + #endif
  11510. + #define LP0(offs, rt, name, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11511. + ({                                \
  11512. +    struct Caos *MyCaos;                        \
  11513. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11514. +    {                                \
  11515. +       rt _##name##_re;                        \
  11516. +       MyCaos->a6        = (ULONG) bn;            \
  11517. +       MyCaos->M68kCacheMode    =    cm1;            \
  11518. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11519. +       {                                \
  11520. +         MyCaos->M68kStart    =    cs1;            \
  11521. +         MyCaos->M68kLength    =    cl1;            \
  11522. +       }                                \
  11523. +       MyCaos->PPCCacheMode    =    cm2;            \
  11524. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11525. +       {                                \
  11526. +         MyCaos->PPCStart    =    cs2;            \
  11527. +         MyCaos->PPCLength    =    cl2;            \
  11528. +       }                                \
  11529. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11530. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  11531. +       _##name##_re;                        \
  11532. +    }                                \
  11533. + })
  11534. + #define LP0NR(offs, name, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11535. + ({                                \
  11536. +    struct Caos *MyCaos;                        \
  11537. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11538. +    {                                \
  11539. +       MyCaos->a6        = (ULONG) bn;            \
  11540. +       MyCaos->M68kCacheMode    =    cm1;            \
  11541. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11542. +       {                                \
  11543. +         MyCaos->M68kStart    =    cs1;            \
  11544. +         MyCaos->M68kLength    =    cl1;            \
  11545. +       }                                \
  11546. +       MyCaos->PPCCacheMode    =    cm2;            \
  11547. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11548. +       {                                \
  11549. +         MyCaos->PPCStart    =    cs2;            \
  11550. +         MyCaos->PPCLength    =    cl2;            \
  11551. +       }                                \
  11552. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11553. +       PPCCallOS (MyCaos);                    \
  11554. +    }                                \
  11555. + })
  11556. + #define LP1(offs, rt, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11557. + ({                                \
  11558. +    struct Caos *MyCaos;                        \
  11559. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11560. +    {                                \
  11561. +       rt _##name##_re;                        \
  11562. +       MyCaos->##r1        = (ULONG) v1;            \
  11563. +       MyCaos->a6        = (ULONG) bn;            \
  11564. +       MyCaos->M68kCacheMode    =    cm1;            \
  11565. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11566. +       {                                \
  11567. +         MyCaos->M68kStart    =    cs1;            \
  11568. +         MyCaos->M68kLength    =    cl1;            \
  11569. +       }                                \
  11570. +       MyCaos->PPCCacheMode    =    cm2;            \
  11571. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11572. +       {                                \
  11573. +         MyCaos->PPCStart    =    cs2;            \
  11574. +         MyCaos->PPCLength    =    cl2;            \
  11575. +       }                                \
  11576. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11577. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  11578. +       _##name##_re;                        \
  11579. +    }                                \
  11580. + })
  11581. + #define LP1NR(offs, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11582. + ({                                \
  11583. +    struct Caos *MyCaos;                        \
  11584. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11585. +    {                                \
  11586. +       MyCaos->##r1        = (ULONG) v1;            \
  11587. +       MyCaos->a6        = (ULONG) bn;            \
  11588. +       MyCaos->M68kCacheMode    =    cm1;            \
  11589. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11590. +       {                                \
  11591. +         MyCaos->M68kStart    =    cs1;            \
  11592. +         MyCaos->M68kLength    =    cl1;            \
  11593. +       }                                \
  11594. +       MyCaos->PPCCacheMode    =    cm2;            \
  11595. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11596. +       {                                \
  11597. +         MyCaos->PPCStart    =    cs2;            \
  11598. +         MyCaos->PPCLength    =    cl2;            \
  11599. +       }                                \
  11600. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11601. +       PPCCallOS (MyCaos);                    \
  11602. +    }                                \
  11603. + })
  11604. + /* Only graphics.library/AttemptLockLayerRom() */
  11605. + #define LP1A5(offs, rt, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11606. + ({                                \
  11607. +    struct Caos *MyCaos;                        \
  11608. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11609. +    {                                \
  11610. +       rt _##name##_re;                        \
  11611. +       MyCaos->##r1        = (ULONG) v1;            \
  11612. +       MyCaos->a6        = (ULONG) bn;            \
  11613. +       MyCaos->M68kCacheMode    =    cm1;            \
  11614. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11615. +       {                                \
  11616. +         MyCaos->M68kStart    =    cs1;            \
  11617. +         MyCaos->M68kLength    =    cl1;            \
  11618. +       }                                \
  11619. +       MyCaos->PPCCacheMode    =    cm2;            \
  11620. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11621. +       {                                \
  11622. +         MyCaos->PPCStart    =    cs2;            \
  11623. +         MyCaos->PPCLength    =    cl2;            \
  11624. +       }                                \
  11625. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11626. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  11627. +       _##name##_re;                        \
  11628. +    }                                \
  11629. + })
  11630. + /* Only graphics.library/LockLayerRom() and graphics.library/UnlockLayerRom() */
  11631. + #define LP1NRA5(offs, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11632. + ({                                \
  11633. +    struct Caos *MyCaos;                        \
  11634. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11635. +    {                                \
  11636. +       MyCaos->##r1        = (ULONG) v1;            \
  11637. +       MyCaos->a6        = (ULONG) bn;            \
  11638. +       MyCaos->M68kCacheMode    =    cm1;            \
  11639. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11640. +       {                                \
  11641. +         MyCaos->M68kStart    =    cs1;            \
  11642. +         MyCaos->M68kLength    =    cl1;            \
  11643. +       }                                \
  11644. +       MyCaos->PPCCacheMode    =    cm2;            \
  11645. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11646. +       {                                \
  11647. +         MyCaos->PPCStart    =    cs2;            \
  11648. +         MyCaos->PPCLength    =    cl2;            \
  11649. +       }                                \
  11650. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11651. +       PPCCallOS (MyCaos);                    \
  11652. +    }                                \
  11653. + })
  11654. + /* Only exec.library/Supervisor() */
  11655. + #define LP1A5FP(offs, rt, name, t1, v1, r1, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11656. + ({                                \
  11657. +    typedef fpt;                            \
  11658. +    struct Caos *MyCaos;                        \
  11659. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11660. +    {                                \
  11661. +       rt _##name##_re;                        \
  11662. +       MyCaos->##r1        = (ULONG) v1;            \
  11663. +       MyCaos->a6        = (ULONG) bn;            \
  11664. +       MyCaos->M68kCacheMode    =    cm1;            \
  11665. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11666. +       {                                \
  11667. +         MyCaos->M68kStart    =    cs1;            \
  11668. +         MyCaos->M68kLength    =    cl1;            \
  11669. +       }                                \
  11670. +       MyCaos->PPCCacheMode    =    cm2;            \
  11671. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11672. +       {                                \
  11673. +         MyCaos->PPCStart    =    cs2;            \
  11674. +         MyCaos->PPCLength    =    cl2;            \
  11675. +       }                                \
  11676. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11677. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  11678. +       _##name##_re;                        \
  11679. +    }                                \
  11680. + })
  11681. + #define LP2(offs, rt, name, t1, v1, r1, t2, v2, r2, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11682. + ({                                \
  11683. +    struct Caos *MyCaos;                        \
  11684. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11685. +    {                                \
  11686. +       rt _##name##_re;                        \
  11687. +       MyCaos->##r1        = (ULONG) v1;            \
  11688. +       MyCaos->##r2        = (ULONG) v2;            \
  11689. +       MyCaos->a6        = (ULONG) bn;            \
  11690. +       MyCaos->M68kCacheMode    =    cm1;            \
  11691. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11692. +       {                                \
  11693. +         MyCaos->M68kStart    =    cs1;            \
  11694. +         MyCaos->M68kLength    =    cl1;            \
  11695. +       }                                \
  11696. +       MyCaos->PPCCacheMode    =    cm2;            \
  11697. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11698. +       {                                \
  11699. +         MyCaos->PPCStart    =    cs2;            \
  11700. +         MyCaos->PPCLength    =    cl2;            \
  11701. +       }                                \
  11702. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11703. +       _##name##_re = (rt) PPCCallOS (MyCaos);                      \
  11704. +       _##name##_re;                        \
  11705. +    }                                \
  11706. + })
  11707. + #define LP2NR(offs, name, t1, v1, r1, t2, v2, r2, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11708. + ({                                \
  11709. +    struct Caos *MyCaos;                        \
  11710. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11711. +    {                                \
  11712. +       MyCaos->##r1        = (ULONG) v1;            \
  11713. +       MyCaos->##r2        = (ULONG) v2;            \
  11714. +       MyCaos->a6        = (ULONG) bn;            \
  11715. +       MyCaos->M68kCacheMode    =    cm1;            \
  11716. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11717. +       {                                \
  11718. +         MyCaos->M68kStart    =    cs1;            \
  11719. +         MyCaos->M68kLength    =    cl1;            \
  11720. +       }                                \
  11721. +       MyCaos->PPCCacheMode    =    cm2;            \
  11722. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11723. +       {                                \
  11724. +         MyCaos->PPCStart    =    cs2;            \
  11725. +         MyCaos->PPCLength    =    cl2;            \
  11726. +       }                                \
  11727. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11728. +       PPCCallOS (MyCaos);                    \
  11729. +    }                                \
  11730. + })
  11731. + /* Only cia.resource/AbleICR() and cia.resource/SetICR() */
  11732. + #define LP2UB(offs, rt, name, t1, v1, r1, t2, v2, r2, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11733. + ({                                \
  11734. +    struct Caos *MyCaos;                        \
  11735. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11736. +    {                                \
  11737. +       rt _##name##_re;                        \
  11738. +       MyCaos->##r1        = (ULONG) v1;            \
  11739. +       MyCaos->##r2        = (ULONG) v2;            \
  11740. +       MyCaos->M68kCacheMode    =    cm1;            \
  11741. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11742. +       {                                \
  11743. +         MyCaos->M68kStart    =    cs1;            \
  11744. +         MyCaos->M68kLength    =    cl1;            \
  11745. +       }                                \
  11746. +       MyCaos->PPCCacheMode    =    cm2;            \
  11747. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11748. +       {                                \
  11749. +         MyCaos->PPCStart    =    cs2;            \
  11750. +         MyCaos->PPCLength    =    cl2;            \
  11751. +       }                                \
  11752. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11753. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  11754. +       _##name##_re;                        \
  11755. +    }                                \
  11756. + })
  11757. + /* Only dos.library/InternalUnLoadSeg() */
  11758. + #define LP2FP(offs, rt, name, t1, v1, r1, t2, v2, r2, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11759. + ({                                \
  11760. +    typedef fpt;                            \
  11761. +    struct Caos *MyCaos;                        \
  11762. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11763. +    {                                \
  11764. +       rt _##name##_re;                        \
  11765. +       MyCaos->##r1        = (ULONG) v1;            \
  11766. +       MyCaos->##r2        = (ULONG) v2;            \
  11767. +       MyCaos->a6        = (ULONG) bn;            \
  11768. +       MyCaos->M68kCacheMode    =    cm1;            \
  11769. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11770. +       {                                \
  11771. +         MyCaos->M68kStart    =    cs1;            \
  11772. +         MyCaos->M68kLength    =    cl1;            \
  11773. +       }                                \
  11774. +       MyCaos->PPCCacheMode    =    cm2;            \
  11775. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11776. +       {                                \
  11777. +         MyCaos->PPCStart    =    cs2;            \
  11778. +         MyCaos->PPCLength    =    cl2;            \
  11779. +       }                                \
  11780. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11781. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  11782. +       _##name##_re;                        \
  11783. +    }                                \
  11784. + })
  11785. + #define LP3(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11786. + ({                                \
  11787. +    struct Caos *MyCaos;                        \
  11788. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11789. +    {                                \
  11790. +       rt _##name##_re;                        \
  11791. +       MyCaos->##r1        = (ULONG) v1;            \
  11792. +       MyCaos->##r2        = (ULONG) v2;            \
  11793. +       MyCaos->##r3        = (ULONG) v3;            \
  11794. +       MyCaos->a6        = (ULONG) bn;            \
  11795. +       MyCaos->M68kCacheMode    =    cm1;            \
  11796. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11797. +       {                                \
  11798. +         MyCaos->M68kStart    =    cs1;            \
  11799. +         MyCaos->M68kLength    =    cl1;            \
  11800. +       }                                \
  11801. +       MyCaos->PPCCacheMode    =    cm2;            \
  11802. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11803. +       {                                \
  11804. +         MyCaos->PPCStart    =    cs2;            \
  11805. +         MyCaos->PPCLength    =    cl2;            \
  11806. +       }                                \
  11807. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11808. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  11809. +       _##name##_re;                        \
  11810. +    }                                \
  11811. + })
  11812. + #define LP3NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11813. + ({                                \
  11814. +    struct Caos *MyCaos;                        \
  11815. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11816. +    {                                \
  11817. +       MyCaos->##r1        = (ULONG) v1;            \
  11818. +       MyCaos->##r2        = (ULONG) v2;            \
  11819. +       MyCaos->##r3        = (ULONG) v3;            \
  11820. +       MyCaos->a6        = (ULONG) bn;            \
  11821. +       MyCaos->M68kCacheMode    =    cm1;            \
  11822. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11823. +       {                                \
  11824. +         MyCaos->M68kStart    =    cs1;            \
  11825. +         MyCaos->M68kLength    =    cl1;            \
  11826. +       }                                \
  11827. +       MyCaos->PPCCacheMode    =    cm2;            \
  11828. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11829. +       {                                \
  11830. +         MyCaos->PPCStart    =    cs2;            \
  11831. +         MyCaos->PPCLength    =    cl2;            \
  11832. +       }                                \
  11833. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11834. +       PPCCallOS (MyCaos);                    \
  11835. +    }                                \
  11836. + })
  11837. + /* Only cia.resource/AddICRVector() */
  11838. + #define LP3UB(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11839. + ({                                \
  11840. +    struct Caos *MyCaos;                        \
  11841. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11842. +    {                                \
  11843. +       rt _##name##_re;                        \
  11844. +       MyCaos->##r1        = (ULONG) v1;            \
  11845. +       MyCaos->##r2        = (ULONG) v2;            \
  11846. +       MyCaos->##r3        = (ULONG) v3;            \
  11847. +       MyCaos->M68kCacheMode    =    cm1;            \
  11848. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11849. +       {                                \
  11850. +         MyCaos->M68kStart    =    cs1;            \
  11851. +         MyCaos->M68kLength    =    cl1;            \
  11852. +       }                                \
  11853. +       MyCaos->PPCCacheMode    =    cm2;            \
  11854. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11855. +       {                                \
  11856. +         MyCaos->PPCStart    =    cs2;            \
  11857. +         MyCaos->PPCLength    =    cl2;            \
  11858. +       }                                \
  11859. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11860. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  11861. +       _##name##_re;                        \
  11862. +    }                                \
  11863. + })
  11864. + /* Only cia.resource/RemICRVector() */
  11865. + #define LP3NRUB(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11866. + ({                                \
  11867. +    struct Caos *MyCaos;                        \
  11868. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11869. +    {                                \
  11870. +       MyCaos->##r1        = (ULONG) v1;            \
  11871. +       MyCaos->##r2        = (ULONG) v2;            \
  11872. +       MyCaos->##r3        = (ULONG) v3;            \
  11873. +       MyCaos->M68kCacheMode    =    cm1;            \
  11874. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11875. +       {                                \
  11876. +         MyCaos->M68kStart    =    cs1;            \
  11877. +         MyCaos->M68kLength    =    cl1;            \
  11878. +       }                                \
  11879. +       MyCaos->PPCCacheMode    =    cm2;            \
  11880. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11881. +       {                                \
  11882. +         MyCaos->PPCStart    =    cs2;            \
  11883. +         MyCaos->PPCLength    =    cl2;            \
  11884. +       }                                \
  11885. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11886. +       PPCCallOS (MyCaos);                    \
  11887. +    }                                \
  11888. + })
  11889. + /* Only exec.library/SetFunction() */
  11890. + #define LP3FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11891. + ({                                \
  11892. +    typedef fpt;                            \
  11893. +    struct Caos *MyCaos;                        \
  11894. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11895. +    {                                \
  11896. +       rt _##name##_re;                        \
  11897. +       MyCaos->##r1        = (ULONG) v1;            \
  11898. +       MyCaos->##r2        = (ULONG) v2;            \
  11899. +       MyCaos->##r3        = (ULONG) v3;            \
  11900. +       MyCaos->a6        = (ULONG) bn;            \
  11901. +       MyCaos->M68kCacheMode    =    cm1;            \
  11902. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11903. +       {                                \
  11904. +         MyCaos->M68kStart    =    cs1;            \
  11905. +         MyCaos->M68kLength    =    cl1;            \
  11906. +       }                                \
  11907. +       MyCaos->PPCCacheMode    =    cm2;            \
  11908. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11909. +       {                                \
  11910. +         MyCaos->PPCStart    =    cs2;            \
  11911. +         MyCaos->PPCLength    =    cl2;            \
  11912. +       }                                \
  11913. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11914. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  11915. +       _##name##_re;                        \
  11916. +    }                                \
  11917. + })
  11918. + /* Only graphics.library/SetCollision() */
  11919. + #define LP3NRFP(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11920. + ({                                \
  11921. +    typedef fpt;                            \
  11922. +    struct Caos *MyCaos;                        \
  11923. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11924. +    {                                \
  11925. +       MyCaos->##r1        = (ULONG) v1;            \
  11926. +       MyCaos->##r2        = (ULONG) v2;            \
  11927. +       MyCaos->##r3        = (ULONG) v3;            \
  11928. +       MyCaos->a6        = (ULONG) bn;            \
  11929. +       MyCaos->M68kCacheMode    =    cm1;            \
  11930. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11931. +       {                                \
  11932. +         MyCaos->M68kStart    =    cs1;            \
  11933. +         MyCaos->M68kLength    =    cl1;            \
  11934. +       }                                \
  11935. +       MyCaos->PPCCacheMode    =    cm2;            \
  11936. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11937. +       {                                \
  11938. +         MyCaos->PPCStart    =    cs2;            \
  11939. +         MyCaos->PPCLength    =    cl2;            \
  11940. +       }                                \
  11941. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11942. +       PPCCallOS (MyCaos);                    \
  11943. +    }                                \
  11944. + })
  11945. + #define LP4(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11946. + ({                                \
  11947. +    struct Caos *MyCaos;                        \
  11948. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11949. +    {                                \
  11950. +       rt _##name##_re;                        \
  11951. +       MyCaos->##r1        = (ULONG) v1;            \
  11952. +       MyCaos->##r2        = (ULONG) v2;            \
  11953. +       MyCaos->##r3        = (ULONG) v3;            \
  11954. +       MyCaos->##r4        = (ULONG) v4;            \
  11955. +       MyCaos->a6        = (ULONG) bn;            \
  11956. +       MyCaos->M68kCacheMode    =    cm1;            \
  11957. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11958. +       {                                \
  11959. +         MyCaos->M68kStart    =    cs1;            \
  11960. +         MyCaos->M68kLength    =    cl1;            \
  11961. +       }                                \
  11962. +       MyCaos->PPCCacheMode    =    cm2;            \
  11963. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11964. +       {                                \
  11965. +         MyCaos->PPCStart    =    cs2;            \
  11966. +         MyCaos->PPCLength    =    cl2;            \
  11967. +       }                                \
  11968. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11969. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  11970. +       _##name##_re;                        \
  11971. +    }                                \
  11972. + })
  11973. + #define LP4NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  11974. + ({                                \
  11975. +    struct Caos *MyCaos;                        \
  11976. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  11977. +    {                                \
  11978. +       MyCaos->##r1        = (ULONG) v1;            \
  11979. +       MyCaos->##r2        = (ULONG) v2;            \
  11980. +       MyCaos->##r3        = (ULONG) v3;            \
  11981. +       MyCaos->##r4        = (ULONG) v4;            \
  11982. +       MyCaos->a6        = (ULONG) bn;            \
  11983. +       MyCaos->M68kCacheMode    =    cm1;            \
  11984. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  11985. +       {                                \
  11986. +         MyCaos->M68kStart    =    cs1;            \
  11987. +         MyCaos->M68kLength    =    cl1;            \
  11988. +       }                                \
  11989. +       MyCaos->PPCCacheMode    =    cm2;            \
  11990. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  11991. +       {                                \
  11992. +         MyCaos->PPCStart    =    cs2;            \
  11993. +         MyCaos->PPCLength    =    cl2;            \
  11994. +       }                                \
  11995. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  11996. +       PPCCallOS (MyCaos);                    \
  11997. +    }                                \
  11998. + })
  11999. + /* Only exec.library/RawDoFmt() */
  12000. + #define LP4FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12001. + ({                                \
  12002. +    typedef fpt;                            \
  12003. +    struct Caos *MyCaos;                        \
  12004. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12005. +    {                                \
  12006. +       rt _##name##_re;                        \
  12007. +       MyCaos->##r1        = (ULONG) v1;            \
  12008. +       MyCaos->##r2        = (ULONG) v2;            \
  12009. +       MyCaos->##r3        = (ULONG) v3;            \
  12010. +       MyCaos->##r4        = (ULONG) v4;            \
  12011. +       MyCaos->a6        = (ULONG) bn;            \
  12012. +       MyCaos->M68kCacheMode    =    cm1;            \
  12013. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12014. +       {                                \
  12015. +         MyCaos->M68kStart    =    cs1;            \
  12016. +         MyCaos->M68kLength    =    cl1;            \
  12017. +       }                                \
  12018. +       MyCaos->PPCCacheMode    =    cm2;            \
  12019. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12020. +       {                                \
  12021. +         MyCaos->PPCStart    =    cs2;            \
  12022. +         MyCaos->PPCLength    =    cl2;            \
  12023. +       }                                \
  12024. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12025. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12026. +       _##name##_re;                        \
  12027. +    }                                \
  12028. + })
  12029. + #define LP5(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12030. + ({                                \
  12031. +    struct Caos *MyCaos;                        \
  12032. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12033. +    {                                \
  12034. +       rt _##name##_re;                        \
  12035. +       MyCaos->##r1        = (ULONG) v1;            \
  12036. +       MyCaos->##r2        = (ULONG) v2;            \
  12037. +       MyCaos->##r3        = (ULONG) v3;            \
  12038. +       MyCaos->##r4        = (ULONG) v4;            \
  12039. +       MyCaos->##r5        = (ULONG) v5;            \
  12040. +       MyCaos->a6        = (ULONG) bn;            \
  12041. +       MyCaos->M68kCacheMode    =    cm1;            \
  12042. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12043. +       {                                \
  12044. +         MyCaos->M68kStart    =    cs1;            \
  12045. +         MyCaos->M68kLength    =    cl1;            \
  12046. +       }                                \
  12047. +       MyCaos->PPCCacheMode    =    cm2;            \
  12048. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12049. +       {                                \
  12050. +         MyCaos->PPCStart    =    cs2;            \
  12051. +         MyCaos->PPCLength    =    cl2;            \
  12052. +       }                                \
  12053. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12054. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12055. +       _##name##_re;                        \
  12056. +    }                                \
  12057. + })
  12058. + #define LP5NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12059. + ({                                \
  12060. +    struct Caos *MyCaos;                        \
  12061. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12062. +    {                                \
  12063. +       MyCaos->##r1        = (ULONG) v1;            \
  12064. +       MyCaos->##r2        = (ULONG) v2;            \
  12065. +       MyCaos->##r3        = (ULONG) v3;            \
  12066. +       MyCaos->##r4        = (ULONG) v4;            \
  12067. +       MyCaos->##r5        = (ULONG) v5;            \
  12068. +       MyCaos->a6        = (ULONG) bn;            \
  12069. +       MyCaos->M68kCacheMode    =    cm1;            \
  12070. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12071. +       {                                \
  12072. +         MyCaos->M68kStart    =    cs1;            \
  12073. +         MyCaos->M68kLength    =    cl1;            \
  12074. +       }                                \
  12075. +       MyCaos->PPCCacheMode    =    cm2;            \
  12076. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12077. +       {                                \
  12078. +         MyCaos->PPCStart    =    cs2;            \
  12079. +         MyCaos->PPCLength    =    cl2;            \
  12080. +       }                                \
  12081. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12082. +       PPCCallOS (MyCaos);                    \
  12083. +    }                                \
  12084. + })
  12085. + /* Only exec.library/MakeLibrary() */
  12086. + #define LP5FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12087. + ({                                \
  12088. +    typedef fpt;                            \
  12089. +    struct Caos *MyCaos;                        \
  12090. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12091. +    {                                \
  12092. +       rt _##name##_re;                        \
  12093. +       MyCaos->##r1        = (ULONG) v1;            \
  12094. +       MyCaos->##r2        = (ULONG) v2;            \
  12095. +       MyCaos->##r3        = (ULONG) v3;            \
  12096. +       MyCaos->##r4        = (ULONG) v4;            \
  12097. +       MyCaos->##r5        = (ULONG) v5;            \
  12098. +       MyCaos->a6        = (ULONG) bn;            \
  12099. +       MyCaos->M68kCacheMode    =    cm1;            \
  12100. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12101. +       {                                \
  12102. +         MyCaos->M68kStart    =    cs1;            \
  12103. +         MyCaos->M68kLength    =    cl1;            \
  12104. +       }                                \
  12105. +       MyCaos->PPCCacheMode    =    cm2;            \
  12106. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12107. +       {                                \
  12108. +         MyCaos->PPCStart    =    cs2;            \
  12109. +         MyCaos->PPCLength    =    cl2;            \
  12110. +       }                                \
  12111. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12112. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12113. +       _##name##_re;                        \
  12114. +    }                                \
  12115. + })
  12116. + #define LP6(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12117. + ({                                \
  12118. +    struct Caos *MyCaos;                        \
  12119. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12120. +    {                                \
  12121. +       rt _##name##_re;                        \
  12122. +       MyCaos->##r1        = (ULONG) v1;            \
  12123. +       MyCaos->##r2        = (ULONG) v2;            \
  12124. +       MyCaos->##r3        = (ULONG) v3;            \
  12125. +       MyCaos->##r4        = (ULONG) v4;            \
  12126. +       MyCaos->##r5        = (ULONG) v5;            \
  12127. +       MyCaos->##r6        = (ULONG) v6;            \
  12128. +       MyCaos->a6        = (ULONG) bn;            \
  12129. +       MyCaos->M68kCacheMode    =    cm1;            \
  12130. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12131. +       {                                \
  12132. +         MyCaos->M68kStart    =    cs1;            \
  12133. +         MyCaos->M68kLength    =    cl1;            \
  12134. +       }                                \
  12135. +       MyCaos->PPCCacheMode    =    cm2;            \
  12136. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12137. +       {                                \
  12138. +         MyCaos->PPCStart    =    cs2;            \
  12139. +         MyCaos->PPCLength    =    cl2;            \
  12140. +       }                                \
  12141. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12142. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12143. +       _##name##_re;                        \
  12144. +    }                                \
  12145. + })
  12146. + #define LP6NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12147. + ({                                \
  12148. +    struct Caos *MyCaos;                        \
  12149. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12150. +    {                                \
  12151. +       MyCaos->##r1        = (ULONG) v1;            \
  12152. +       MyCaos->##r2        = (ULONG) v2;            \
  12153. +       MyCaos->##r3        = (ULONG) v3;            \
  12154. +       MyCaos->##r4        = (ULONG) v4;            \
  12155. +       MyCaos->##r5        = (ULONG) v5;            \
  12156. +       MyCaos->##r6        = (ULONG) v6;            \
  12157. +       MyCaos->a6        = (ULONG) bn;            \
  12158. +       MyCaos->M68kCacheMode    =    cm1;            \
  12159. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12160. +       {                                \
  12161. +         MyCaos->M68kStart    =    cs1;            \
  12162. +         MyCaos->M68kLength    =    cl1;            \
  12163. +       }                                \
  12164. +       MyCaos->PPCCacheMode    =    cm2;            \
  12165. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12166. +       {                                \
  12167. +         MyCaos->PPCStart    =    cs2;            \
  12168. +         MyCaos->PPCLength    =    cl2;            \
  12169. +       }                                \
  12170. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12171. +       PPCCallOS (MyCaos);                    \
  12172. +    }                                \
  12173. + })
  12174. + #define LP7(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12175. + ({                                \
  12176. +    struct Caos *MyCaos;                        \
  12177. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12178. +    {                                \
  12179. +       rt _##name##_re;                        \
  12180. +       MyCaos->##r1        = (ULONG) v1;            \
  12181. +       MyCaos->##r2        = (ULONG) v2;            \
  12182. +       MyCaos->##r3        = (ULONG) v3;            \
  12183. +       MyCaos->##r4        = (ULONG) v4;            \
  12184. +       MyCaos->##r5        = (ULONG) v5;            \
  12185. +       MyCaos->##r6        = (ULONG) v6;            \
  12186. +       MyCaos->##r7        = (ULONG) v7;            \
  12187. +       MyCaos->a6        = (ULONG) bn;            \
  12188. +       MyCaos->M68kCacheMode    =    cm1;            \
  12189. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12190. +       {                                \
  12191. +         MyCaos->M68kStart    =    cs1;            \
  12192. +         MyCaos->M68kLength    =    cl1;            \
  12193. +       }                                \
  12194. +       MyCaos->PPCCacheMode    =    cm2;            \
  12195. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12196. +       {                                \
  12197. +         MyCaos->PPCStart    =    cs2;            \
  12198. +         MyCaos->PPCLength    =    cl2;            \
  12199. +       }                                \
  12200. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12201. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12202. +       _##name##_re;                        \
  12203. +    }                                \
  12204. + })
  12205. + #define LP7NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12206. + ({                                \
  12207. +    struct Caos *MyCaos;                        \
  12208. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12209. +    {                                \
  12210. +       MyCaos->##r1        = (ULONG) v1;            \
  12211. +       MyCaos->##r2        = (ULONG) v2;            \
  12212. +       MyCaos->##r3        = (ULONG) v3;            \
  12213. +       MyCaos->##r4        = (ULONG) v4;            \
  12214. +       MyCaos->##r5        = (ULONG) v5;            \
  12215. +       MyCaos->##r6        = (ULONG) v6;            \
  12216. +       MyCaos->##r7        = (ULONG) v7;            \
  12217. +       MyCaos->a6        = (ULONG) bn;            \
  12218. +       MyCaos->M68kCacheMode    =    cm1;            \
  12219. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12220. +       {                                \
  12221. +         MyCaos->M68kStart    =    cs1;            \
  12222. +         MyCaos->M68kLength    =    cl1;            \
  12223. +       }                                \
  12224. +       MyCaos->PPCCacheMode    =    cm2;            \
  12225. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12226. +       {                                \
  12227. +         MyCaos->PPCStart    =    cs2;            \
  12228. +         MyCaos->PPCLength    =    cl2;            \
  12229. +       }                                \
  12230. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12231. +       PPCCallOS (MyCaos);                    \
  12232. +    }                                \
  12233. + })
  12234. + /* Only workbench.library/AddAppIconA() */
  12235. + #define LP7A4(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12236. + ({                                \
  12237. +    struct Caos *MyCaos;                        \
  12238. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12239. +    {                                \
  12240. +       rt _##name##_re;                        \
  12241. +       MyCaos->##r1        = (ULONG) v1;            \
  12242. +       MyCaos->##r2        = (ULONG) v2;            \
  12243. +       MyCaos->##r3        = (ULONG) v3;            \
  12244. +       MyCaos->##r4        = (ULONG) v4;            \
  12245. +       MyCaos->##r5        = (ULONG) v5;            \
  12246. +       MyCaos->##r6        = (ULONG) v6;            \
  12247. +       MyCaos->##r7        = (ULONG) v7;            \
  12248. +       MyCaos->a6        = (ULONG) bn;            \
  12249. +       MyCaos->M68kCacheMode    =    cm1;            \
  12250. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12251. +       {                                \
  12252. +         MyCaos->M68kStart    =    cs1;            \
  12253. +         MyCaos->M68kLength    =    cl1;            \
  12254. +       }                                \
  12255. +       MyCaos->PPCCacheMode    =    cm2;            \
  12256. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12257. +       {                                \
  12258. +         MyCaos->PPCStart    =    cs2;            \
  12259. +         MyCaos->PPCLength    =    cl2;            \
  12260. +       }                                \
  12261. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12262. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12263. +       _##name##_re;                        \
  12264. +    }                                \
  12265. + })
  12266. + /* Would you believe that there really are beasts that need more than 7
  12267. +    arguments? :-) */
  12268. + /* For example intuition.library/AutoRequest() */
  12269. + #define LP8(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12270. + ({                                \
  12271. +    struct Caos *MyCaos;                        \
  12272. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12273. +    {                                \
  12274. +       rt _##name##_re;                        \
  12275. +       MyCaos->##r1        = (ULONG) v1;            \
  12276. +       MyCaos->##r2        = (ULONG) v2;            \
  12277. +       MyCaos->##r3        = (ULONG) v3;            \
  12278. +       MyCaos->##r4        = (ULONG) v4;            \
  12279. +       MyCaos->##r5        = (ULONG) v5;            \
  12280. +       MyCaos->##r6        = (ULONG) v6;            \
  12281. +       MyCaos->##r7        = (ULONG) v7;            \
  12282. +       MyCaos->##r8        = (ULONG) v8;            \
  12283. +       MyCaos->a6        = (ULONG) bn;            \
  12284. +       MyCaos->M68kCacheMode    =    cm1;            \
  12285. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12286. +       {                                \
  12287. +         MyCaos->M68kStart    =    cs1;            \
  12288. +         MyCaos->M68kLength    =    cl1;            \
  12289. +       }                                \
  12290. +       MyCaos->PPCCacheMode    =    cm2;            \
  12291. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12292. +       {                                \
  12293. +         MyCaos->PPCStart    =    cs2;            \
  12294. +         MyCaos->PPCLength    =    cl2;            \
  12295. +       }                                \
  12296. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12297. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12298. +       _##name##_re;                        \
  12299. +    }                                \
  12300. + })
  12301. + /* For example intuition.library/ModifyProp() */
  12302. + #define LP8NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12303. + ({                                \
  12304. +    struct Caos *MyCaos;                        \
  12305. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12306. +    {                                \
  12307. +       MyCaos->##r1        = (ULONG) v1;            \
  12308. +       MyCaos->##r2        = (ULONG) v2;            \
  12309. +       MyCaos->##r3        = (ULONG) v3;            \
  12310. +       MyCaos->##r4        = (ULONG) v4;            \
  12311. +       MyCaos->##r5        = (ULONG) v5;            \
  12312. +       MyCaos->##r6        = (ULONG) v6;            \
  12313. +       MyCaos->##r7        = (ULONG) v7;            \
  12314. +       MyCaos->##r8        = (ULONG) v8;            \
  12315. +       MyCaos->a6        = (ULONG) bn;            \
  12316. +       MyCaos->M68kCacheMode    =    cm1;            \
  12317. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12318. +       {                                \
  12319. +         MyCaos->M68kStart    =    cs1;            \
  12320. +         MyCaos->M68kLength    =    cl1;            \
  12321. +       }                                \
  12322. +       MyCaos->PPCCacheMode    =    cm2;            \
  12323. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12324. +       {                                \
  12325. +         MyCaos->PPCStart    =    cs2;            \
  12326. +         MyCaos->PPCLength    =    cl2;            \
  12327. +       }                                \
  12328. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12329. +       PPCCallOS (MyCaos);                    \
  12330. +    }                                \
  12331. + })
  12332. + /* For example layers.library/CreateUpfrontHookLayer() */
  12333. + #define LP9(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12334. + ({                                \
  12335. +    struct Caos *MyCaos;                        \
  12336. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12337. +    {                                \
  12338. +       rt _##name##_re;                        \
  12339. +       MyCaos->##r1        = (ULONG) v1;            \
  12340. +       MyCaos->##r2        = (ULONG) v2;            \
  12341. +       MyCaos->##r3        = (ULONG) v3;            \
  12342. +       MyCaos->##r4        = (ULONG) v4;            \
  12343. +       MyCaos->##r5        = (ULONG) v5;            \
  12344. +       MyCaos->##r6        = (ULONG) v6;            \
  12345. +       MyCaos->##r7        = (ULONG) v7;            \
  12346. +       MyCaos->##r8        = (ULONG) v8;            \
  12347. +       MyCaos->##r9        = (ULONG) v9;            \
  12348. +       MyCaos->a6        = (ULONG) bn;            \
  12349. +       MyCaos->M68kCacheMode    =    cm1;            \
  12350. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12351. +       {                                \
  12352. +         MyCaos->M68kStart    =    cs1;            \
  12353. +         MyCaos->M68kLength    =    cl1;            \
  12354. +       }                                \
  12355. +       MyCaos->PPCCacheMode    =    cm2;            \
  12356. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12357. +       {                                \
  12358. +         MyCaos->PPCStart    =    cs2;            \
  12359. +         MyCaos->PPCLength    =    cl2;            \
  12360. +       }                                \
  12361. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12362. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12363. +       _##name##_re;                        \
  12364. +    }                                \
  12365. + })
  12366. + /* For example intuition.library/NewModifyProp() */
  12367. + #define LP9NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12368. + ({                                \
  12369. +    struct Caos *MyCaos;                        \
  12370. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12371. +    {                                \
  12372. +       MyCaos->##r1        = (ULONG) v1;            \
  12373. +       MyCaos->##r2        = (ULONG) v2;            \
  12374. +       MyCaos->##r3        = (ULONG) v3;            \
  12375. +       MyCaos->##r4        = (ULONG) v4;            \
  12376. +       MyCaos->##r5        = (ULONG) v5;            \
  12377. +       MyCaos->##r6        = (ULONG) v6;            \
  12378. +       MyCaos->##r7        = (ULONG) v7;            \
  12379. +       MyCaos->##r8        = (ULONG) v8;            \
  12380. +       MyCaos->##r9        = (ULONG) v9;            \
  12381. +       MyCaos->a6        = (ULONG) bn;            \
  12382. +       MyCaos->M68kCacheMode    =    cm1;            \
  12383. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12384. +       {                                \
  12385. +         MyCaos->M68kStart    =    cs1;            \
  12386. +         MyCaos->M68kLength    =    cl1;            \
  12387. +       }                                \
  12388. +       MyCaos->PPCCacheMode    =    cm2;            \
  12389. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12390. +       {                                \
  12391. +         MyCaos->PPCStart    =    cs2;            \
  12392. +         MyCaos->PPCLength    =    cl2;            \
  12393. +       }                                \
  12394. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12395. +       PPCCallOS (MyCaos);                    \
  12396. +    }                                \
  12397. + })
  12398. + /* LP10 not needed... */
  12399. + /* Kriton Kyrimis <kyrimis@cti.gr> says CyberGraphics needs the following */
  12400. + #define LP10(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, t10, v10, r10, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12401. + ({                                \
  12402. +    struct Caos *MyCaos;                        \
  12403. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12404. +    {                                \
  12405. +       rt _##name##_re;                        \
  12406. +       MyCaos->##r1        = (ULONG) v1;            \
  12407. +       MyCaos->##r2        = (ULONG) v2;            \
  12408. +       MyCaos->##r3        = (ULONG) v3;            \
  12409. +       MyCaos->##r4        = (ULONG) v4;            \
  12410. +       MyCaos->##r5        = (ULONG) v5;            \
  12411. +       MyCaos->##r6        = (ULONG) v6;            \
  12412. +       MyCaos->##r7        = (ULONG) v7;            \
  12413. +       MyCaos->##r8        = (ULONG) v8;            \
  12414. +       MyCaos->##r9        = (ULONG) v9;            \
  12415. +       MyCaos->##r10        = (ULONG) v10;            \
  12416. +       MyCaos->a6        = (ULONG) bn;            \
  12417. +       MyCaos->M68kCacheMode    =    cm1;            \
  12418. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12419. +       {                                \
  12420. +         MyCaos->M68kStart    =    cs1;            \
  12421. +         MyCaos->M68kLength    =    cl1;            \
  12422. +       }                                \
  12423. +       MyCaos->PPCCacheMode    =    cm2;            \
  12424. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12425. +       {                                \
  12426. +         MyCaos->PPCStart    =    cs2;            \
  12427. +         MyCaos->PPCLength    =    cl2;            \
  12428. +       }                                \
  12429. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12430. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12431. +       _##name##_re;                        \
  12432. +    }                                \
  12433. + })
  12434. + /* Only graphics.library/BltMaskBitMapRastPort() */
  12435. + #define LP10NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, t10, v10, r10, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12436. + ({                                \
  12437. +    struct Caos *MyCaos;                        \
  12438. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12439. +    {                                \
  12440. +       MyCaos->##r1        = (ULONG) v1;            \
  12441. +       MyCaos->##r2        = (ULONG) v2;            \
  12442. +       MyCaos->##r3        = (ULONG) v3;            \
  12443. +       MyCaos->##r4        = (ULONG) v4;            \
  12444. +       MyCaos->##r5        = (ULONG) v5;            \
  12445. +       MyCaos->##r6        = (ULONG) v6;            \
  12446. +       MyCaos->##r7        = (ULONG) v7;            \
  12447. +       MyCaos->##r8        = (ULONG) v8;            \
  12448. +       MyCaos->##r9        = (ULONG) v9;            \
  12449. +       MyCaos->##r10        = (ULONG) v10;            \
  12450. +       MyCaos->a6        = (ULONG) bn;            \
  12451. +       MyCaos->M68kCacheMode    =    cm1;            \
  12452. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12453. +       {                                \
  12454. +         MyCaos->M68kStart    =    cs1;            \
  12455. +         MyCaos->M68kLength    =    cl1;            \
  12456. +       }                                \
  12457. +       MyCaos->PPCCacheMode    =    cm2;            \
  12458. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12459. +       {                                \
  12460. +         MyCaos->PPCStart    =    cs2;            \
  12461. +         MyCaos->PPCLength    =    cl2;            \
  12462. +       }                                \
  12463. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12464. +       PPCCallOS (MyCaos);                    \
  12465. +    }                                \
  12466. + })
  12467. + /* Only graphics.library/BltBitMap() */
  12468. + #define LP11(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, t10, v10, r10, t11, v11, r11, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12469. + ({                                \
  12470. +    struct Caos *MyCaos;                        \
  12471. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12472. +    {                                \
  12473. +       rt _##name##_re;                        \
  12474. +       MyCaos->##r1        = (ULONG) v1;            \
  12475. +       MyCaos->##r2        = (ULONG) v2;            \
  12476. +       MyCaos->##r3        = (ULONG) v3;            \
  12477. +       MyCaos->##r4        = (ULONG) v4;            \
  12478. +       MyCaos->##r5        = (ULONG) v5;            \
  12479. +       MyCaos->##r6        = (ULONG) v6;            \
  12480. +       MyCaos->##r7        = (ULONG) v7;            \
  12481. +       MyCaos->##r8        = (ULONG) v8;            \
  12482. +       MyCaos->##r9        = (ULONG) v9;            \
  12483. +       MyCaos->##r10        = (ULONG) v10;            \
  12484. +       MyCaos->##r11        = (ULONG) v11;            \
  12485. +       MyCaos->a6        = (ULONG) bn;            \
  12486. +       MyCaos->M68kCacheMode    =    cm1;            \
  12487. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12488. +       {                                \
  12489. +         MyCaos->M68kStart    =    cs1;            \
  12490. +         MyCaos->M68kLength    =    cl1;            \
  12491. +       }                                \
  12492. +       MyCaos->PPCCacheMode    =    cm2;            \
  12493. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12494. +       {                                \
  12495. +         MyCaos->PPCStart    =    cs2;            \
  12496. +         MyCaos->PPCLength    =    cl2;            \
  12497. +       }                                \
  12498. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12499. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12500. +       _##name##_re;                        \
  12501. +    }                                \
  12502. + })
  12503. + #endif /* __INLINE_MACROS_H */
  12504. diff -c2 -d -P -r include_h/powerup/ppcinline/macros.h_old1 includenew/powerup/ppcinline/macros.h_old1
  12505. *** include_h/powerup/ppcinline/macros.h_old1    Thu Jan  1 00:00:00 1970
  12506. --- includenew/powerup/ppcinline/macros.h_old1    Wed Feb 14 02:41:20 2001
  12507. ***************
  12508. *** 0 ****
  12509. --- 1,1039 ----
  12510. + #ifndef __INLINE_MACROS_H
  12511. + #define __INLINE_MACROS_H
  12512. + #include <powerup/gcclib/powerup_protos.h>
  12513. + /* Use these macros to calculate cache flush start address and cache flush
  12514. + length. */
  12515. + #define __CACHE_START(start) ((void *) ((unsigned long int) (start) & ~31))
  12516. + #define __CACHE_LENGTH(start,length) ((((length) + (unsigned long int) (start) + 31) & ~31) - ((unsigned long int) (start) & ~31))
  12517. + /*
  12518. +    General macros for Amiga function calls. Not all the possibilities have
  12519. +    been created - only the ones which exist in OS 3.1. Third party libraries
  12520. +    and future versions of AmigaOS will maybe need some new ones...
  12521. +    LPX - functions that take X arguments.
  12522. +    Modifiers (variations are possible):
  12523. +    NR - no return (void),
  12524. +    A4, A5 - "a4" or "a5" is used as one of the arguments,
  12525. +    UB - base will be given explicitly by user (see cia.resource).
  12526. +    FP - one of the parameters has type "pointer to function".
  12527. +    "bt" arguments are not used - they are provided for backward compatibility
  12528. +    only.
  12529. +    Actually..the "bt" parameter is needed because otherwise the macro doesn`t
  12530. +    work for some reason i don`t know gcc puts an empty argument at the position
  12531. +    before the argument bn and without the placeholder "bt".
  12532. +    I think it has something to do with #define *_BASE_NAME
  12533. +    the (cm1==IF_CACHEFLUSHAREA) conditional is optimized away
  12534. + */
  12535. + #ifndef __INLINE_STUB_H
  12536. + #include <powerup/ppcinline/stubs.h>
  12537. + #endif
  12538. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  12539. + #include <powerup/ppclib/interface.h>
  12540. + #endif
  12541. + #define LP0(offs, rt, name, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12542. + ({                                \
  12543. +    struct Caos *MyCaos;                        \
  12544. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12545. +    {                                \
  12546. +       rt _##name##_re;                        \
  12547. +       MyCaos->a6        = (ULONG) bn;            \
  12548. +       MyCaos->M68kCacheMode    =    cm1;            \
  12549. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12550. +       {                                \
  12551. +         MyCaos->M68kStart    =    cs1;            \
  12552. +         MyCaos->M68kLength    =    cl1;            \
  12553. +       }                                \
  12554. +       MyCaos->PPCCacheMode    =    cm2;            \
  12555. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12556. +       {                                \
  12557. +         MyCaos->PPCStart    =    cs2;            \
  12558. +         MyCaos->PPCLength    =    cl2;            \
  12559. +       }                                \
  12560. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12561. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12562. +       _##name##_re;                        \
  12563. +    }                                \
  12564. + })
  12565. + #define LP0NR(offs, name, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12566. + ({                                \
  12567. +    struct Caos *MyCaos;                        \
  12568. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12569. +    {                                \
  12570. +       MyCaos->a6        = (ULONG) bn;            \
  12571. +       MyCaos->M68kCacheMode    =    cm1;            \
  12572. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12573. +       {                                \
  12574. +         MyCaos->M68kStart    =    cs1;            \
  12575. +         MyCaos->M68kLength    =    cl1;            \
  12576. +       }                                \
  12577. +       MyCaos->PPCCacheMode    =    cm2;            \
  12578. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12579. +       {                                \
  12580. +         MyCaos->PPCStart    =    cs2;            \
  12581. +         MyCaos->PPCLength    =    cl2;            \
  12582. +       }                                \
  12583. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12584. +       PPCCallOS (MyCaos);                    \
  12585. +    }                                \
  12586. + })
  12587. + #define LP1(offs, rt, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12588. + ({                                \
  12589. +    struct Caos *MyCaos;                        \
  12590. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12591. +    {                                \
  12592. +       rt _##name##_re;                        \
  12593. +       MyCaos->##r1        = (ULONG) v1;            \
  12594. +       MyCaos->a6        = (ULONG) bn;            \
  12595. +       MyCaos->M68kCacheMode    =    cm1;            \
  12596. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12597. +       {                                \
  12598. +         MyCaos->M68kStart    =    cs1;            \
  12599. +         MyCaos->M68kLength    =    cl1;            \
  12600. +       }                                \
  12601. +       MyCaos->PPCCacheMode    =    cm2;            \
  12602. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12603. +       {                                \
  12604. +         MyCaos->PPCStart    =    cs2;            \
  12605. +         MyCaos->PPCLength    =    cl2;            \
  12606. +       }                                \
  12607. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12608. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12609. +       _##name##_re;                        \
  12610. +    }                                \
  12611. + })
  12612. + #define LP1NR(offs, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12613. + ({                                \
  12614. +    struct Caos *MyCaos;                        \
  12615. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12616. +    {                                \
  12617. +       MyCaos->##r1        = (ULONG) v1;            \
  12618. +       MyCaos->a6        = (ULONG) bn;            \
  12619. +       MyCaos->M68kCacheMode    =    cm1;            \
  12620. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12621. +       {                                \
  12622. +         MyCaos->M68kStart    =    cs1;            \
  12623. +         MyCaos->M68kLength    =    cl1;            \
  12624. +       }                                \
  12625. +       MyCaos->PPCCacheMode    =    cm2;            \
  12626. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12627. +       {                                \
  12628. +         MyCaos->PPCStart    =    cs2;            \
  12629. +         MyCaos->PPCLength    =    cl2;            \
  12630. +       }                                \
  12631. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12632. +       PPCCallOS (MyCaos);                    \
  12633. +    }                                \
  12634. + })
  12635. + /* Only graphics.library/AttemptLockLayerRom() */
  12636. + #define LP1A5(offs, rt, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12637. + ({                                \
  12638. +    struct Caos *MyCaos;                        \
  12639. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12640. +    {                                \
  12641. +       rt _##name##_re;                        \
  12642. +       MyCaos->##r1        = (ULONG) v1;            \
  12643. +       MyCaos->a6        = (ULONG) bn;            \
  12644. +       MyCaos->M68kCacheMode    =    cm1;            \
  12645. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12646. +       {                                \
  12647. +         MyCaos->M68kStart    =    cs1;            \
  12648. +         MyCaos->M68kLength    =    cl1;            \
  12649. +       }                                \
  12650. +       MyCaos->PPCCacheMode    =    cm2;            \
  12651. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12652. +       {                                \
  12653. +         MyCaos->PPCStart    =    cs2;            \
  12654. +         MyCaos->PPCLength    =    cl2;            \
  12655. +       }                                \
  12656. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12657. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12658. +       _##name##_re;                        \
  12659. +    }                                \
  12660. + })
  12661. + /* Only graphics.library/LockLayerRom() and graphics.library/UnlockLayerRom() */
  12662. + #define LP1NRA5(offs, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12663. + ({                                \
  12664. +    struct Caos *MyCaos;                        \
  12665. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12666. +    {                                \
  12667. +       MyCaos->##r1        = (ULONG) v1;            \
  12668. +       MyCaos->a6        = (ULONG) bn;            \
  12669. +       MyCaos->M68kCacheMode    =    cm1;            \
  12670. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12671. +       {                                \
  12672. +         MyCaos->M68kStart    =    cs1;            \
  12673. +         MyCaos->M68kLength    =    cl1;            \
  12674. +       }                                \
  12675. +       MyCaos->PPCCacheMode    =    cm2;            \
  12676. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12677. +       {                                \
  12678. +         MyCaos->PPCStart    =    cs2;            \
  12679. +         MyCaos->PPCLength    =    cl2;            \
  12680. +       }                                \
  12681. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12682. +       PPCCallOS (MyCaos);                    \
  12683. +    }                                \
  12684. + })
  12685. + /* Only exec.library/Supervisor() */
  12686. + #define LP1A5FP(offs, rt, name, t1, v1, r1, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12687. + ({                                \
  12688. +    typedef fpt;                            \
  12689. +    struct Caos *MyCaos;                        \
  12690. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12691. +    {                                \
  12692. +       rt _##name##_re;                        \
  12693. +       MyCaos->##r1        = (ULONG) v1;            \
  12694. +       MyCaos->a6        = (ULONG) bn;            \
  12695. +       MyCaos->M68kCacheMode    =    cm1;            \
  12696. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12697. +       {                                \
  12698. +         MyCaos->M68kStart    =    cs1;            \
  12699. +         MyCaos->M68kLength    =    cl1;            \
  12700. +       }                                \
  12701. +       MyCaos->PPCCacheMode    =    cm2;            \
  12702. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12703. +       {                                \
  12704. +         MyCaos->PPCStart    =    cs2;            \
  12705. +         MyCaos->PPCLength    =    cl2;            \
  12706. +       }                                \
  12707. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12708. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12709. +       _##name##_re;                        \
  12710. +    }                                \
  12711. + })
  12712. + #define LP2(offs, rt, name, t1, v1, r1, t2, v2, r2, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12713. + ({                                \
  12714. +    struct Caos *MyCaos;                        \
  12715. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12716. +    {                                \
  12717. +       rt _##name##_re;                        \
  12718. +       MyCaos->##r1        = (ULONG) v1;            \
  12719. +       MyCaos->##r2        = (ULONG) v2;            \
  12720. +       MyCaos->a6        = (ULONG) bn;            \
  12721. +       MyCaos->M68kCacheMode    =    cm1;            \
  12722. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12723. +       {                                \
  12724. +         MyCaos->M68kStart    =    cs1;            \
  12725. +         MyCaos->M68kLength    =    cl1;            \
  12726. +       }                                \
  12727. +       MyCaos->PPCCacheMode    =    cm2;            \
  12728. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12729. +       {                                \
  12730. +         MyCaos->PPCStart    =    cs2;            \
  12731. +         MyCaos->PPCLength    =    cl2;            \
  12732. +       }                                \
  12733. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12734. +       _##name##_re = (rt) PPCCallOS (MyCaos);                      \
  12735. +       _##name##_re;                        \
  12736. +    }                                \
  12737. + })
  12738. + #define LP2NR(offs, name, t1, v1, r1, t2, v2, r2, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12739. + ({                                \
  12740. +    struct Caos *MyCaos;                        \
  12741. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12742. +    {                                \
  12743. +       MyCaos->##r1        = (ULONG) v1;            \
  12744. +       MyCaos->##r2        = (ULONG) v2;            \
  12745. +       MyCaos->a6        = (ULONG) bn;            \
  12746. +       MyCaos->M68kCacheMode    =    cm1;            \
  12747. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12748. +       {                                \
  12749. +         MyCaos->M68kStart    =    cs1;            \
  12750. +         MyCaos->M68kLength    =    cl1;            \
  12751. +       }                                \
  12752. +       MyCaos->PPCCacheMode    =    cm2;            \
  12753. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12754. +       {                                \
  12755. +         MyCaos->PPCStart    =    cs2;            \
  12756. +         MyCaos->PPCLength    =    cl2;            \
  12757. +       }                                \
  12758. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12759. +       PPCCallOS (MyCaos);                    \
  12760. +    }                                \
  12761. + })
  12762. + /* Only cia.resource/AbleICR() and cia.resource/SetICR() */
  12763. + #define LP2UB(offs, rt, name, t1, v1, r1, t2, v2, r2, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12764. + ({                                \
  12765. +    struct Caos *MyCaos;                        \
  12766. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12767. +    {                                \
  12768. +       rt _##name##_re;                        \
  12769. +       MyCaos->##r1        = (ULONG) v1;            \
  12770. +       MyCaos->##r2        = (ULONG) v2;            \
  12771. +       MyCaos->M68kCacheMode    =    cm1;            \
  12772. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12773. +       {                                \
  12774. +         MyCaos->M68kStart    =    cs1;            \
  12775. +         MyCaos->M68kLength    =    cl1;            \
  12776. +       }                                \
  12777. +       MyCaos->PPCCacheMode    =    cm2;            \
  12778. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12779. +       {                                \
  12780. +         MyCaos->PPCStart    =    cs2;            \
  12781. +         MyCaos->PPCLength    =    cl2;            \
  12782. +       }                                \
  12783. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12784. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12785. +       _##name##_re;                        \
  12786. +    }                                \
  12787. + })
  12788. + /* Only dos.library/InternalUnLoadSeg() */
  12789. + #define LP2FP(offs, rt, name, t1, v1, r1, t2, v2, r2, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12790. + ({                                \
  12791. +    typedef fpt;                            \
  12792. +    struct Caos *MyCaos;                        \
  12793. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12794. +    {                                \
  12795. +       rt _##name##_re;                        \
  12796. +       MyCaos->##r1        = (ULONG) v1;            \
  12797. +       MyCaos->##r2        = (ULONG) v2;            \
  12798. +       MyCaos->a6        = (ULONG) bn;            \
  12799. +       MyCaos->M68kCacheMode    =    cm1;            \
  12800. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12801. +       {                                \
  12802. +         MyCaos->M68kStart    =    cs1;            \
  12803. +         MyCaos->M68kLength    =    cl1;            \
  12804. +       }                                \
  12805. +       MyCaos->PPCCacheMode    =    cm2;            \
  12806. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12807. +       {                                \
  12808. +         MyCaos->PPCStart    =    cs2;            \
  12809. +         MyCaos->PPCLength    =    cl2;            \
  12810. +       }                                \
  12811. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12812. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12813. +       _##name##_re;                        \
  12814. +    }                                \
  12815. + })
  12816. + #define LP3(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12817. + ({                                \
  12818. +    struct Caos *MyCaos;                        \
  12819. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12820. +    {                                \
  12821. +       rt _##name##_re;                        \
  12822. +       MyCaos->##r1        = (ULONG) v1;            \
  12823. +       MyCaos->##r2        = (ULONG) v2;            \
  12824. +       MyCaos->##r3        = (ULONG) v3;            \
  12825. +       MyCaos->a6        = (ULONG) bn;            \
  12826. +       MyCaos->M68kCacheMode    =    cm1;            \
  12827. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12828. +       {                                \
  12829. +         MyCaos->M68kStart    =    cs1;            \
  12830. +         MyCaos->M68kLength    =    cl1;            \
  12831. +       }                                \
  12832. +       MyCaos->PPCCacheMode    =    cm2;            \
  12833. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12834. +       {                                \
  12835. +         MyCaos->PPCStart    =    cs2;            \
  12836. +         MyCaos->PPCLength    =    cl2;            \
  12837. +       }                                \
  12838. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12839. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12840. +       _##name##_re;                        \
  12841. +    }                                \
  12842. + })
  12843. + #define LP3NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12844. + ({                                \
  12845. +    struct Caos *MyCaos;                        \
  12846. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12847. +    {                                \
  12848. +       MyCaos->##r1        = (ULONG) v1;            \
  12849. +       MyCaos->##r2        = (ULONG) v2;            \
  12850. +       MyCaos->##r3        = (ULONG) v3;            \
  12851. +       MyCaos->a6        = (ULONG) bn;            \
  12852. +       MyCaos->M68kCacheMode    =    cm1;            \
  12853. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12854. +       {                                \
  12855. +         MyCaos->M68kStart    =    cs1;            \
  12856. +         MyCaos->M68kLength    =    cl1;            \
  12857. +       }                                \
  12858. +       MyCaos->PPCCacheMode    =    cm2;            \
  12859. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12860. +       {                                \
  12861. +         MyCaos->PPCStart    =    cs2;            \
  12862. +         MyCaos->PPCLength    =    cl2;            \
  12863. +       }                                \
  12864. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12865. +       PPCCallOS (MyCaos);                    \
  12866. +    }                                \
  12867. + })
  12868. + /* Only cia.resource/AddICRVector() */
  12869. + #define LP3UB(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12870. + ({                                \
  12871. +    struct Caos *MyCaos;                        \
  12872. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12873. +    {                                \
  12874. +       rt _##name##_re;                        \
  12875. +       MyCaos->##r1        = (ULONG) v1;            \
  12876. +       MyCaos->##r2        = (ULONG) v2;            \
  12877. +       MyCaos->##r3        = (ULONG) v3;            \
  12878. +       MyCaos->M68kCacheMode    =    cm1;            \
  12879. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12880. +       {                                \
  12881. +         MyCaos->M68kStart    =    cs1;            \
  12882. +         MyCaos->M68kLength    =    cl1;            \
  12883. +       }                                \
  12884. +       MyCaos->PPCCacheMode    =    cm2;            \
  12885. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12886. +       {                                \
  12887. +         MyCaos->PPCStart    =    cs2;            \
  12888. +         MyCaos->PPCLength    =    cl2;            \
  12889. +       }                                \
  12890. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12891. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12892. +       _##name##_re;                        \
  12893. +    }                                \
  12894. + })
  12895. + /* Only cia.resource/RemICRVector() */
  12896. + #define LP3NRUB(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12897. + ({                                \
  12898. +    struct Caos *MyCaos;                        \
  12899. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12900. +    {                                \
  12901. +       MyCaos->##r1        = (ULONG) v1;            \
  12902. +       MyCaos->##r2        = (ULONG) v2;            \
  12903. +       MyCaos->##r3        = (ULONG) v3;            \
  12904. +       MyCaos->M68kCacheMode    =    cm1;            \
  12905. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12906. +       {                                \
  12907. +         MyCaos->M68kStart    =    cs1;            \
  12908. +         MyCaos->M68kLength    =    cl1;            \
  12909. +       }                                \
  12910. +       MyCaos->PPCCacheMode    =    cm2;            \
  12911. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12912. +       {                                \
  12913. +         MyCaos->PPCStart    =    cs2;            \
  12914. +         MyCaos->PPCLength    =    cl2;            \
  12915. +       }                                \
  12916. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12917. +       PPCCallOS (MyCaos);                    \
  12918. +    }                                \
  12919. + })
  12920. + /* Only exec.library/SetFunction() */
  12921. + #define LP3FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12922. + ({                                \
  12923. +    typedef fpt;                            \
  12924. +    struct Caos *MyCaos;                        \
  12925. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12926. +    {                                \
  12927. +       rt _##name##_re;                        \
  12928. +       MyCaos->##r1        = (ULONG) v1;            \
  12929. +       MyCaos->##r2        = (ULONG) v2;            \
  12930. +       MyCaos->##r3        = (ULONG) v3;            \
  12931. +       MyCaos->a6        = (ULONG) bn;            \
  12932. +       MyCaos->M68kCacheMode    =    cm1;            \
  12933. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12934. +       {                                \
  12935. +         MyCaos->M68kStart    =    cs1;            \
  12936. +         MyCaos->M68kLength    =    cl1;            \
  12937. +       }                                \
  12938. +       MyCaos->PPCCacheMode    =    cm2;            \
  12939. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12940. +       {                                \
  12941. +         MyCaos->PPCStart    =    cs2;            \
  12942. +         MyCaos->PPCLength    =    cl2;            \
  12943. +       }                                \
  12944. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12945. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  12946. +       _##name##_re;                        \
  12947. +    }                                \
  12948. + })
  12949. + /* Only graphics.library/SetCollision() */
  12950. + #define LP3NRFP(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12951. + ({                                \
  12952. +    typedef fpt;                            \
  12953. +    struct Caos *MyCaos;                        \
  12954. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12955. +    {                                \
  12956. +       MyCaos->##r1        = (ULONG) v1;            \
  12957. +       MyCaos->##r2        = (ULONG) v2;            \
  12958. +       MyCaos->##r3        = (ULONG) v3;            \
  12959. +       MyCaos->a6        = (ULONG) bn;            \
  12960. +       MyCaos->M68kCacheMode    =    cm1;            \
  12961. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12962. +       {                                \
  12963. +         MyCaos->M68kStart    =    cs1;            \
  12964. +         MyCaos->M68kLength    =    cl1;            \
  12965. +       }                                \
  12966. +       MyCaos->PPCCacheMode    =    cm2;            \
  12967. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12968. +       {                                \
  12969. +         MyCaos->PPCStart    =    cs2;            \
  12970. +         MyCaos->PPCLength    =    cl2;            \
  12971. +       }                                \
  12972. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  12973. +       PPCCallOS (MyCaos);                    \
  12974. +    }                                \
  12975. + })
  12976. + #define LP4(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  12977. + ({                                \
  12978. +    struct Caos *MyCaos;                        \
  12979. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  12980. +    {                                \
  12981. +       rt _##name##_re;                        \
  12982. +       MyCaos->##r1        = (ULONG) v1;            \
  12983. +       MyCaos->##r2        = (ULONG) v2;            \
  12984. +       MyCaos->##r3        = (ULONG) v3;            \
  12985. +       MyCaos->##r4        = (ULONG) v4;            \
  12986. +       MyCaos->a6        = (ULONG) bn;            \
  12987. +       MyCaos->M68kCacheMode    =    cm1;            \
  12988. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  12989. +       {                                \
  12990. +         MyCaos->M68kStart    =    cs1;            \
  12991. +         MyCaos->M68kLength    =    cl1;            \
  12992. +       }                                \
  12993. +       MyCaos->PPCCacheMode    =    cm2;            \
  12994. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  12995. +       {                                \
  12996. +         MyCaos->PPCStart    =    cs2;            \
  12997. +         MyCaos->PPCLength    =    cl2;            \
  12998. +       }                                \
  12999. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13000. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  13001. +       _##name##_re;                        \
  13002. +    }                                \
  13003. + })
  13004. + #define LP4NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13005. + ({                                \
  13006. +    struct Caos *MyCaos;                        \
  13007. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13008. +    {                                \
  13009. +       MyCaos->##r1        = (ULONG) v1;            \
  13010. +       MyCaos->##r2        = (ULONG) v2;            \
  13011. +       MyCaos->##r3        = (ULONG) v3;            \
  13012. +       MyCaos->##r4        = (ULONG) v4;            \
  13013. +       MyCaos->a6        = (ULONG) bn;            \
  13014. +       MyCaos->M68kCacheMode    =    cm1;            \
  13015. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13016. +       {                                \
  13017. +         MyCaos->M68kStart    =    cs1;            \
  13018. +         MyCaos->M68kLength    =    cl1;            \
  13019. +       }                                \
  13020. +       MyCaos->PPCCacheMode    =    cm2;            \
  13021. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13022. +       {                                \
  13023. +         MyCaos->PPCStart    =    cs2;            \
  13024. +         MyCaos->PPCLength    =    cl2;            \
  13025. +       }                                \
  13026. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13027. +       PPCCallOS (MyCaos);                    \
  13028. +    }                                \
  13029. + })
  13030. + /* Only exec.library/RawDoFmt() */
  13031. + #define LP4FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13032. + ({                                \
  13033. +    typedef fpt;                            \
  13034. +    struct Caos *MyCaos;                        \
  13035. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13036. +    {                                \
  13037. +       rt _##name##_re;                        \
  13038. +       MyCaos->##r1        = (ULONG) v1;            \
  13039. +       MyCaos->##r2        = (ULONG) v2;            \
  13040. +       MyCaos->##r3        = (ULONG) v3;            \
  13041. +       MyCaos->##r4        = (ULONG) v4;            \
  13042. +       MyCaos->a6        = (ULONG) bn;            \
  13043. +       MyCaos->M68kCacheMode    =    cm1;            \
  13044. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13045. +       {                                \
  13046. +         MyCaos->M68kStart    =    cs1;            \
  13047. +         MyCaos->M68kLength    =    cl1;            \
  13048. +       }                                \
  13049. +       MyCaos->PPCCacheMode    =    cm2;            \
  13050. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13051. +       {                                \
  13052. +         MyCaos->PPCStart    =    cs2;            \
  13053. +         MyCaos->PPCLength    =    cl2;            \
  13054. +       }                                \
  13055. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13056. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  13057. +       _##name##_re;                        \
  13058. +    }                                \
  13059. + })
  13060. + #define LP5(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13061. + ({                                \
  13062. +    struct Caos *MyCaos;                        \
  13063. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13064. +    {                                \
  13065. +       rt _##name##_re;                        \
  13066. +       MyCaos->##r1        = (ULONG) v1;            \
  13067. +       MyCaos->##r2        = (ULONG) v2;            \
  13068. +       MyCaos->##r3        = (ULONG) v3;            \
  13069. +       MyCaos->##r4        = (ULONG) v4;            \
  13070. +       MyCaos->##r5        = (ULONG) v5;            \
  13071. +       MyCaos->a6        = (ULONG) bn;            \
  13072. +       MyCaos->M68kCacheMode    =    cm1;            \
  13073. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13074. +       {                                \
  13075. +         MyCaos->M68kStart    =    cs1;            \
  13076. +         MyCaos->M68kLength    =    cl1;            \
  13077. +       }                                \
  13078. +       MyCaos->PPCCacheMode    =    cm2;            \
  13079. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13080. +       {                                \
  13081. +         MyCaos->PPCStart    =    cs2;            \
  13082. +         MyCaos->PPCLength    =    cl2;            \
  13083. +       }                                \
  13084. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13085. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  13086. +       _##name##_re;                        \
  13087. +    }                                \
  13088. + })
  13089. + #define LP5NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13090. + ({                                \
  13091. +    struct Caos *MyCaos;                        \
  13092. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13093. +    {                                \
  13094. +       MyCaos->##r1        = (ULONG) v1;            \
  13095. +       MyCaos->##r2        = (ULONG) v2;            \
  13096. +       MyCaos->##r3        = (ULONG) v3;            \
  13097. +       MyCaos->##r4        = (ULONG) v4;            \
  13098. +       MyCaos->##r5        = (ULONG) v5;            \
  13099. +       MyCaos->a6        = (ULONG) bn;            \
  13100. +       MyCaos->M68kCacheMode    =    cm1;            \
  13101. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13102. +       {                                \
  13103. +         MyCaos->M68kStart    =    cs1;            \
  13104. +         MyCaos->M68kLength    =    cl1;            \
  13105. +       }                                \
  13106. +       MyCaos->PPCCacheMode    =    cm2;            \
  13107. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13108. +       {                                \
  13109. +         MyCaos->PPCStart    =    cs2;            \
  13110. +         MyCaos->PPCLength    =    cl2;            \
  13111. +       }                                \
  13112. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13113. +       PPCCallOS (MyCaos);                    \
  13114. +    }                                \
  13115. + })
  13116. + /* Only exec.library/MakeLibrary() */
  13117. + #define LP5FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13118. + ({                                \
  13119. +    typedef fpt;                            \
  13120. +    struct Caos *MyCaos;                        \
  13121. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13122. +    {                                \
  13123. +       rt _##name##_re;                        \
  13124. +       MyCaos->##r1        = (ULONG) v1;            \
  13125. +       MyCaos->##r2        = (ULONG) v2;            \
  13126. +       MyCaos->##r3        = (ULONG) v3;            \
  13127. +       MyCaos->##r4        = (ULONG) v4;            \
  13128. +       MyCaos->##r5        = (ULONG) v5;            \
  13129. +       MyCaos->a6        = (ULONG) bn;            \
  13130. +       MyCaos->M68kCacheMode    =    cm1;            \
  13131. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13132. +       {                                \
  13133. +         MyCaos->M68kStart    =    cs1;            \
  13134. +         MyCaos->M68kLength    =    cl1;            \
  13135. +       }                                \
  13136. +       MyCaos->PPCCacheMode    =    cm2;            \
  13137. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13138. +       {                                \
  13139. +         MyCaos->PPCStart    =    cs2;            \
  13140. +         MyCaos->PPCLength    =    cl2;            \
  13141. +       }                                \
  13142. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13143. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  13144. +       _##name##_re;                        \
  13145. +    }                                \
  13146. + })
  13147. + #define LP6(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13148. + ({                                \
  13149. +    struct Caos *MyCaos;                        \
  13150. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13151. +    {                                \
  13152. +       rt _##name##_re;                        \
  13153. +       MyCaos->##r1        = (ULONG) v1;            \
  13154. +       MyCaos->##r2        = (ULONG) v2;            \
  13155. +       MyCaos->##r3        = (ULONG) v3;            \
  13156. +       MyCaos->##r4        = (ULONG) v4;            \
  13157. +       MyCaos->##r5        = (ULONG) v5;            \
  13158. +       MyCaos->##r6        = (ULONG) v6;            \
  13159. +       MyCaos->a6        = (ULONG) bn;            \
  13160. +       MyCaos->M68kCacheMode    =    cm1;            \
  13161. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13162. +       {                                \
  13163. +         MyCaos->M68kStart    =    cs1;            \
  13164. +         MyCaos->M68kLength    =    cl1;            \
  13165. +       }                                \
  13166. +       MyCaos->PPCCacheMode    =    cm2;            \
  13167. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13168. +       {                                \
  13169. +         MyCaos->PPCStart    =    cs2;            \
  13170. +         MyCaos->PPCLength    =    cl2;            \
  13171. +       }                                \
  13172. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13173. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  13174. +       _##name##_re;                        \
  13175. +    }                                \
  13176. + })
  13177. + #define LP6NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13178. + ({                                \
  13179. +    struct Caos *MyCaos;                        \
  13180. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13181. +    {                                \
  13182. +       MyCaos->##r1        = (ULONG) v1;            \
  13183. +       MyCaos->##r2        = (ULONG) v2;            \
  13184. +       MyCaos->##r3        = (ULONG) v3;            \
  13185. +       MyCaos->##r4        = (ULONG) v4;            \
  13186. +       MyCaos->##r5        = (ULONG) v5;            \
  13187. +       MyCaos->##r6        = (ULONG) v6;            \
  13188. +       MyCaos->a6        = (ULONG) bn;            \
  13189. +       MyCaos->M68kCacheMode    =    cm1;            \
  13190. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13191. +       {                                \
  13192. +         MyCaos->M68kStart    =    cs1;            \
  13193. +         MyCaos->M68kLength    =    cl1;            \
  13194. +       }                                \
  13195. +       MyCaos->PPCCacheMode    =    cm2;            \
  13196. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13197. +       {                                \
  13198. +         MyCaos->PPCStart    =    cs2;            \
  13199. +         MyCaos->PPCLength    =    cl2;            \
  13200. +       }                                \
  13201. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13202. +       PPCCallOS (MyCaos);                    \
  13203. +    }                                \
  13204. + })
  13205. + #define LP7(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13206. + ({                                \
  13207. +    struct Caos *MyCaos;                        \
  13208. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13209. +    {                                \
  13210. +       rt _##name##_re;                        \
  13211. +       MyCaos->##r1        = (ULONG) v1;            \
  13212. +       MyCaos->##r2        = (ULONG) v2;            \
  13213. +       MyCaos->##r3        = (ULONG) v3;            \
  13214. +       MyCaos->##r4        = (ULONG) v4;            \
  13215. +       MyCaos->##r5        = (ULONG) v5;            \
  13216. +       MyCaos->##r6        = (ULONG) v6;            \
  13217. +       MyCaos->##r7        = (ULONG) v7;            \
  13218. +       MyCaos->a6        = (ULONG) bn;            \
  13219. +       MyCaos->M68kCacheMode    =    cm1;            \
  13220. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13221. +       {                                \
  13222. +         MyCaos->M68kStart    =    cs1;            \
  13223. +         MyCaos->M68kLength    =    cl1;            \
  13224. +       }                                \
  13225. +       MyCaos->PPCCacheMode    =    cm2;            \
  13226. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13227. +       {                                \
  13228. +         MyCaos->PPCStart    =    cs2;            \
  13229. +         MyCaos->PPCLength    =    cl2;            \
  13230. +       }                                \
  13231. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13232. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  13233. +       _##name##_re;                        \
  13234. +    }                                \
  13235. + })
  13236. + #define LP7NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13237. + ({                                \
  13238. +    struct Caos *MyCaos;                        \
  13239. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13240. +    {                                \
  13241. +       MyCaos->##r1        = (ULONG) v1;            \
  13242. +       MyCaos->##r2        = (ULONG) v2;            \
  13243. +       MyCaos->##r3        = (ULONG) v3;            \
  13244. +       MyCaos->##r4        = (ULONG) v4;            \
  13245. +       MyCaos->##r5        = (ULONG) v5;            \
  13246. +       MyCaos->##r6        = (ULONG) v6;            \
  13247. +       MyCaos->##r7        = (ULONG) v7;            \
  13248. +       MyCaos->a6        = (ULONG) bn;            \
  13249. +       MyCaos->M68kCacheMode    =    cm1;            \
  13250. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13251. +       {                                \
  13252. +         MyCaos->M68kStart    =    cs1;            \
  13253. +         MyCaos->M68kLength    =    cl1;            \
  13254. +       }                                \
  13255. +       MyCaos->PPCCacheMode    =    cm2;            \
  13256. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13257. +       {                                \
  13258. +         MyCaos->PPCStart    =    cs2;            \
  13259. +         MyCaos->PPCLength    =    cl2;            \
  13260. +       }                                \
  13261. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13262. +       PPCCallOS (MyCaos);                    \
  13263. +    }                                \
  13264. + })
  13265. + /* Only workbench.library/AddAppIconA() */
  13266. + #define LP7A4(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13267. + ({                                \
  13268. +    struct Caos *MyCaos;                        \
  13269. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13270. +    {                                \
  13271. +       rt _##name##_re;                        \
  13272. +       MyCaos->##r1        = (ULONG) v1;            \
  13273. +       MyCaos->##r2        = (ULONG) v2;            \
  13274. +       MyCaos->##r3        = (ULONG) v3;            \
  13275. +       MyCaos->##r4        = (ULONG) v4;            \
  13276. +       MyCaos->##r5        = (ULONG) v5;            \
  13277. +       MyCaos->##r6        = (ULONG) v6;            \
  13278. +       MyCaos->##r7        = (ULONG) v7;            \
  13279. +       MyCaos->a6        = (ULONG) bn;            \
  13280. +       MyCaos->M68kCacheMode    =    cm1;            \
  13281. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13282. +       {                                \
  13283. +         MyCaos->M68kStart    =    cs1;            \
  13284. +         MyCaos->M68kLength    =    cl1;            \
  13285. +       }                                \
  13286. +       MyCaos->PPCCacheMode    =    cm2;            \
  13287. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13288. +       {                                \
  13289. +         MyCaos->PPCStart    =    cs2;            \
  13290. +         MyCaos->PPCLength    =    cl2;            \
  13291. +       }                                \
  13292. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13293. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  13294. +       _##name##_re;                        \
  13295. +    }                                \
  13296. + })
  13297. + /* Would you believe that there really are beasts that need more than 7
  13298. +    arguments? :-) */
  13299. + /* For example intuition.library/AutoRequest() */
  13300. + #define LP8(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13301. + ({                                \
  13302. +    struct Caos *MyCaos;                        \
  13303. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13304. +    {                                \
  13305. +       rt _##name##_re;                        \
  13306. +       MyCaos->##r1        = (ULONG) v1;            \
  13307. +       MyCaos->##r2        = (ULONG) v2;            \
  13308. +       MyCaos->##r3        = (ULONG) v3;            \
  13309. +       MyCaos->##r4        = (ULONG) v4;            \
  13310. +       MyCaos->##r5        = (ULONG) v5;            \
  13311. +       MyCaos->##r6        = (ULONG) v6;            \
  13312. +       MyCaos->##r7        = (ULONG) v7;            \
  13313. +       MyCaos->##r8        = (ULONG) v8;            \
  13314. +       MyCaos->a6        = (ULONG) bn;            \
  13315. +       MyCaos->M68kCacheMode    =    cm1;            \
  13316. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13317. +       {                                \
  13318. +         MyCaos->M68kStart    =    cs1;            \
  13319. +         MyCaos->M68kLength    =    cl1;            \
  13320. +       }                                \
  13321. +       MyCaos->PPCCacheMode    =    cm2;            \
  13322. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13323. +       {                                \
  13324. +         MyCaos->PPCStart    =    cs2;            \
  13325. +         MyCaos->PPCLength    =    cl2;            \
  13326. +       }                                \
  13327. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13328. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  13329. +       _##name##_re;                        \
  13330. +    }                                \
  13331. + })
  13332. + /* For example intuition.library/ModifyProp() */
  13333. + #define LP8NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13334. + ({                                \
  13335. +    struct Caos *MyCaos;                        \
  13336. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13337. +    {                                \
  13338. +       MyCaos->##r1        = (ULONG) v1;            \
  13339. +       MyCaos->##r2        = (ULONG) v2;            \
  13340. +       MyCaos->##r3        = (ULONG) v3;            \
  13341. +       MyCaos->##r4        = (ULONG) v4;            \
  13342. +       MyCaos->##r5        = (ULONG) v5;            \
  13343. +       MyCaos->##r6        = (ULONG) v6;            \
  13344. +       MyCaos->##r7        = (ULONG) v7;            \
  13345. +       MyCaos->##r8        = (ULONG) v8;            \
  13346. +       MyCaos->a6        = (ULONG) bn;            \
  13347. +       MyCaos->M68kCacheMode    =    cm1;            \
  13348. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13349. +       {                                \
  13350. +         MyCaos->M68kStart    =    cs1;            \
  13351. +         MyCaos->M68kLength    =    cl1;            \
  13352. +       }                                \
  13353. +       MyCaos->PPCCacheMode    =    cm2;            \
  13354. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13355. +       {                                \
  13356. +         MyCaos->PPCStart    =    cs2;            \
  13357. +         MyCaos->PPCLength    =    cl2;            \
  13358. +       }                                \
  13359. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13360. +       PPCCallOS (MyCaos);                    \
  13361. +    }                                \
  13362. + })
  13363. + /* For example layers.library/CreateUpfrontHookLayer() */
  13364. + #define LP9(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13365. + ({                                \
  13366. +    struct Caos *MyCaos;                        \
  13367. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13368. +    {                                \
  13369. +       rt _##name##_re;                        \
  13370. +       MyCaos->##r1        = (ULONG) v1;            \
  13371. +       MyCaos->##r2        = (ULONG) v2;            \
  13372. +       MyCaos->##r3        = (ULONG) v3;            \
  13373. +       MyCaos->##r4        = (ULONG) v4;            \
  13374. +       MyCaos->##r5        = (ULONG) v5;            \
  13375. +       MyCaos->##r6        = (ULONG) v6;            \
  13376. +       MyCaos->##r7        = (ULONG) v7;            \
  13377. +       MyCaos->##r8        = (ULONG) v8;            \
  13378. +       MyCaos->##r9        = (ULONG) v9;            \
  13379. +       MyCaos->a6        = (ULONG) bn;            \
  13380. +       MyCaos->M68kCacheMode    =    cm1;            \
  13381. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13382. +       {                                \
  13383. +         MyCaos->M68kStart    =    cs1;            \
  13384. +         MyCaos->M68kLength    =    cl1;            \
  13385. +       }                                \
  13386. +       MyCaos->PPCCacheMode    =    cm2;            \
  13387. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13388. +       {                                \
  13389. +         MyCaos->PPCStart    =    cs2;            \
  13390. +         MyCaos->PPCLength    =    cl2;            \
  13391. +       }                                \
  13392. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13393. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  13394. +       _##name##_re;                        \
  13395. +    }                                \
  13396. + })
  13397. + /* For example intuition.library/NewModifyProp() */
  13398. + #define LP9NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13399. + ({                                \
  13400. +    struct Caos *MyCaos;                        \
  13401. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13402. +    {                                \
  13403. +       MyCaos->##r1        = (ULONG) v1;            \
  13404. +       MyCaos->##r2        = (ULONG) v2;            \
  13405. +       MyCaos->##r3        = (ULONG) v3;            \
  13406. +       MyCaos->##r4        = (ULONG) v4;            \
  13407. +       MyCaos->##r5        = (ULONG) v5;            \
  13408. +       MyCaos->##r6        = (ULONG) v6;            \
  13409. +       MyCaos->##r7        = (ULONG) v7;            \
  13410. +       MyCaos->##r8        = (ULONG) v8;            \
  13411. +       MyCaos->##r9        = (ULONG) v9;            \
  13412. +       MyCaos->a6        = (ULONG) bn;            \
  13413. +       MyCaos->M68kCacheMode    =    cm1;            \
  13414. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13415. +       {                                \
  13416. +         MyCaos->M68kStart    =    cs1;            \
  13417. +         MyCaos->M68kLength    =    cl1;            \
  13418. +       }                                \
  13419. +       MyCaos->PPCCacheMode    =    cm2;            \
  13420. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13421. +       {                                \
  13422. +         MyCaos->PPCStart    =    cs2;            \
  13423. +         MyCaos->PPCLength    =    cl2;            \
  13424. +       }                                \
  13425. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13426. +       PPCCallOS (MyCaos);                    \
  13427. +    }                                \
  13428. + })
  13429. + /* LP10 not needed... */
  13430. + /* Only graphics.library/BltMaskBitMapRastPort() */
  13431. + #define LP10NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, t10, v10, r10, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13432. + ({                                \
  13433. +    struct Caos *MyCaos;                        \
  13434. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13435. +    {                                \
  13436. +       MyCaos->##r1        = (ULONG) v1;            \
  13437. +       MyCaos->##r2        = (ULONG) v2;            \
  13438. +       MyCaos->##r3        = (ULONG) v3;            \
  13439. +       MyCaos->##r4        = (ULONG) v4;            \
  13440. +       MyCaos->##r5        = (ULONG) v5;            \
  13441. +       MyCaos->##r6        = (ULONG) v6;            \
  13442. +       MyCaos->##r7        = (ULONG) v7;            \
  13443. +       MyCaos->##r8        = (ULONG) v8;            \
  13444. +       MyCaos->##r9        = (ULONG) v9;            \
  13445. +       MyCaos->##r10        = (ULONG) v10;            \
  13446. +       MyCaos->a6        = (ULONG) bn;            \
  13447. +       MyCaos->M68kCacheMode    =    cm1;            \
  13448. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13449. +       {                                \
  13450. +         MyCaos->M68kStart    =    cs1;            \
  13451. +         MyCaos->M68kLength    =    cl1;            \
  13452. +       }                                \
  13453. +       MyCaos->PPCCacheMode    =    cm2;            \
  13454. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13455. +       {                                \
  13456. +         MyCaos->PPCStart    =    cs2;            \
  13457. +         MyCaos->PPCLength    =    cl2;            \
  13458. +       }                                \
  13459. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13460. +       PPCCallOS (MyCaos);                    \
  13461. +    }                                \
  13462. + })
  13463. + /* Only graphics.library/BltBitMap() */
  13464. + #define LP11(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, t10, v10, r10, t11, v11, r11, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13465. + ({                                \
  13466. +    struct Caos *MyCaos;                        \
  13467. +    MyCaos = (struct Caos *) ((unsigned long int) ((char *) alloca (sizeof (struct Caos) + 31) + 31) & ~31); \
  13468. +    {                                \
  13469. +       rt _##name##_re;                        \
  13470. +       MyCaos->##r1        = (ULONG) v1;            \
  13471. +       MyCaos->##r2        = (ULONG) v2;            \
  13472. +       MyCaos->##r3        = (ULONG) v3;            \
  13473. +       MyCaos->##r4        = (ULONG) v4;            \
  13474. +       MyCaos->##r5        = (ULONG) v5;            \
  13475. +       MyCaos->##r6        = (ULONG) v6;            \
  13476. +       MyCaos->##r7        = (ULONG) v7;            \
  13477. +       MyCaos->##r8        = (ULONG) v8;            \
  13478. +       MyCaos->##r9        = (ULONG) v9;            \
  13479. +       MyCaos->##r10        = (ULONG) v10;            \
  13480. +       MyCaos->##r11        = (ULONG) v11;            \
  13481. +       MyCaos->a6        = (ULONG) bn;            \
  13482. +       MyCaos->M68kCacheMode    =    cm1;            \
  13483. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13484. +       {                                \
  13485. +         MyCaos->M68kStart    =    cs1;            \
  13486. +         MyCaos->M68kLength    =    cl1;            \
  13487. +       }                                \
  13488. +       MyCaos->PPCCacheMode    =    cm2;            \
  13489. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13490. +       {                                \
  13491. +         MyCaos->PPCStart    =    cs2;            \
  13492. +         MyCaos->PPCLength    =    cl2;            \
  13493. +       }                                \
  13494. +       MyCaos->caos_Un.Offset    =    (-offs);        \
  13495. +       _##name##_re = (rt) PPCCallOS (MyCaos);            \
  13496. +       _##name##_re;                        \
  13497. +    }                                \
  13498. + })
  13499. + #endif /* __INLINE_MACROS_H */
  13500. diff -c2 -d -P -r include_h/powerup/ppcinline/macros.h_old2 includenew/powerup/ppcinline/macros.h_old2
  13501. *** include_h/powerup/ppcinline/macros.h_old2    Thu Jan  1 00:00:00 1970
  13502. --- includenew/powerup/ppcinline/macros.h_old2    Wed Feb 14 02:41:21 2001
  13503. ***************
  13504. *** 0 ****
  13505. --- 1,1132 ----
  13506. + #ifndef __INLINE_MACROS_H
  13507. + #define __INLINE_MACROS_H
  13508. + /*
  13509. +    General macros for Amiga function calls. Not all the possibilities have
  13510. +    been created - only the ones which exist in OS 3.1. Third party libraries
  13511. +    and future versions of AmigaOS will maybe need some new ones...
  13512. +    LPX - functions that take X arguments.
  13513. +    Modifiers (variations are possible):
  13514. +    NR - no return (void),
  13515. +    A4, A5 - "a4" or "a5" is used as one of the arguments,
  13516. +    UB - base will be given explicitly by user (see cia.resource).
  13517. +    FP - one of the parameters has type "pointer to function".
  13518. +    "bt" arguments are not used - they are provided for backward compatibility
  13519. +    only.
  13520. +    Actually..the "bt" parameter is needed because otherwise the macro doesn`t
  13521. +    work for some reason i don`t know gcc puts an empty argument at the position
  13522. +    before the argument bn and without the placeholder "bt".
  13523. +    I think it has something to do with #define *_BASE_NAME
  13524. +    the (cm1==IF_CACHEFLUSHAREA) conditional is optimized away
  13525. + */
  13526. + #ifndef __INLINE_STUB_H
  13527. + #include <powerup/ppcinline/stubs.h>
  13528. + #endif
  13529. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  13530. + #include <powerup/ppclib/interface.h>
  13531. + #endif
  13532. + #define LP0(offs, rt, name, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13533. + ({                                \
  13534. +    struct Caos    MyCaos;                        \
  13535. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13536. +    {                                \
  13537. +       register rt _##name##_re __asm("r3");            \
  13538. +       MyCaos.a6            =(ULONG) bn;            \
  13539. +       MyCaos.M68kCacheMode    =    cm1;            \
  13540. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13541. +       {                                \
  13542. +         MyCaos.M68kStart    =    cs1;            \
  13543. +         MyCaos.M68kLength    =    cl1;            \
  13544. +       }                                \
  13545. +       MyCaos.PPCCacheMode    =    cm2;            \
  13546. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13547. +       {                                \
  13548. +         MyCaos.PPCStart        =    cs2;            \
  13549. +         MyCaos.PPCLength    =    cl2;            \
  13550. +       }                                \
  13551. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13552. +       __asm volatile ("bl PPCCallOS"                \
  13553. +       : "=r" (_##name##_re)                    \
  13554. +       : "r" (MyCaosReg)                      \
  13555. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13556. +       _##name##_re;                        \
  13557. +    }                                \
  13558. + })
  13559. + #define LP0NR(offs, name, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13560. + ({                                \
  13561. +    struct Caos    MyCaos;                        \
  13562. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13563. +    {                                \
  13564. +       MyCaos.a6            =(ULONG) bn;            \
  13565. +       MyCaos.M68kCacheMode    =    cm1;            \
  13566. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13567. +       {                                \
  13568. +         MyCaos.M68kStart    =    cs1;            \
  13569. +         MyCaos.M68kLength    =    cl1;            \
  13570. +       }                                \
  13571. +       MyCaos.PPCCacheMode    =    cm2;            \
  13572. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13573. +       {                                \
  13574. +         MyCaos.PPCStart        =    cs2;            \
  13575. +         MyCaos.PPCLength    =    cl2;            \
  13576. +       }                                \
  13577. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13578. +       __asm volatile ("bl PPCCallOS"                \
  13579. +       :                                \
  13580. +       : "r" (MyCaosReg)                      \
  13581. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13582. +    }                                \
  13583. + })
  13584. + #define LP1(offs, rt, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13585. + ({                                \
  13586. +    struct Caos    MyCaos;                        \
  13587. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13588. +    {                                \
  13589. +       register rt _##name##_re __asm("r3");            \
  13590. +       MyCaos.##r1        =(ULONG) v1;            \
  13591. +       MyCaos.a6            =(ULONG) bn;            \
  13592. +       MyCaos.M68kCacheMode    =    cm1;            \
  13593. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13594. +       {                                \
  13595. +         MyCaos.M68kStart    =    cs1;            \
  13596. +         MyCaos.M68kLength    =    cl1;            \
  13597. +       }                                \
  13598. +       MyCaos.PPCCacheMode    =    cm2;            \
  13599. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13600. +       {                                \
  13601. +         MyCaos.PPCStart        =    cs2;            \
  13602. +         MyCaos.PPCLength    =    cl2;            \
  13603. +       }                                \
  13604. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13605. +       __asm volatile ("bl PPCCallOS"                \
  13606. +       : "=r" (_##name##_re)                    \
  13607. +       : "r" (MyCaosReg)                      \
  13608. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13609. +       _##name##_re;                        \
  13610. +    }                                \
  13611. + })
  13612. + #define LP1NR(offs, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13613. + ({                                \
  13614. +    struct Caos    MyCaos;                        \
  13615. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13616. +    {                                \
  13617. +       MyCaos.##r1        =(ULONG) v1;            \
  13618. +       MyCaos.a6            =(ULONG) bn;            \
  13619. +       MyCaos.M68kCacheMode    =    cm1;            \
  13620. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13621. +       {                                \
  13622. +         MyCaos.M68kStart    =    cs1;            \
  13623. +         MyCaos.M68kLength    =    cl1;            \
  13624. +       }                                \
  13625. +       MyCaos.PPCCacheMode    =    cm2;            \
  13626. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13627. +       {                                \
  13628. +         MyCaos.PPCStart        =    cs2;            \
  13629. +         MyCaos.PPCLength    =    cl2;            \
  13630. +       }                                \
  13631. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13632. +       __asm volatile ("bl PPCCallOS"                \
  13633. +       :                                \
  13634. +       : "r" (MyCaosReg)                      \
  13635. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13636. +    }                                \
  13637. + })
  13638. + /* Only graphics.library/AttemptLockLayerRom() */
  13639. + #define LP1A5(offs, rt, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13640. + ({                                \
  13641. +    struct Caos    MyCaos;                        \
  13642. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13643. +    {                                \
  13644. +       register rt _##name##_re __asm("r3");            \
  13645. +       MyCaos.##r1        =(ULONG) v1;            \
  13646. +       MyCaos.a6            =(ULONG) bn;            \
  13647. +       MyCaos.M68kCacheMode    =    cm1;            \
  13648. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13649. +       {                                \
  13650. +         MyCaos.M68kStart    =    cs1;            \
  13651. +         MyCaos.M68kLength    =    cl1;            \
  13652. +       }                                \
  13653. +       MyCaos.PPCCacheMode    =    cm2;            \
  13654. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13655. +       {                                \
  13656. +         MyCaos.PPCStart        =    cs2;            \
  13657. +         MyCaos.PPCLength    =    cl2;            \
  13658. +       }                                \
  13659. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13660. +       __asm volatile ("bl PPCCallOS"                \
  13661. +       : "=r" (_##name##_re)                    \
  13662. +       : "r" (MyCaosReg)                      \
  13663. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13664. +       _##name##_re;                        \
  13665. +    }                                \
  13666. + })
  13667. + /* Only graphics.library/LockLayerRom() and graphics.library/UnlockLayerRom() */
  13668. + #define LP1NRA5(offs, name, t1, v1, r1, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13669. + ({                                \
  13670. +    struct Caos    MyCaos;                        \
  13671. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13672. +    {                                \
  13673. +       MyCaos.##r1        =(ULONG) v1;            \
  13674. +       MyCaos.a6            =(ULONG) bn;            \
  13675. +       MyCaos.M68kCacheMode    =    cm1;            \
  13676. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13677. +       {                                \
  13678. +         MyCaos.M68kStart    =    cs1;            \
  13679. +         MyCaos.M68kLength    =    cl1;            \
  13680. +       }                                \
  13681. +       MyCaos.PPCCacheMode    =    cm2;            \
  13682. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13683. +       {                                \
  13684. +         MyCaos.PPCStart        =    cs2;            \
  13685. +         MyCaos.PPCLength    =    cl2;            \
  13686. +       }                                \
  13687. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13688. +       __asm volatile ("bl PPCCallOS"                \
  13689. +       :                                \
  13690. +       : "r" (MyCaosReg)                      \
  13691. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13692. +    }                                \
  13693. + })
  13694. + /* Only exec.library/Supervisor() */
  13695. + #define LP1A5FP(offs, rt, name, t1, v1, r1, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13696. + ({                                \
  13697. +    typedef fpt;                            \
  13698. +    struct Caos    MyCaos;                        \
  13699. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13700. +    {                                \
  13701. +       register rt _##name##_re __asm("r3");            \
  13702. +       MyCaos.##r1        =(ULONG) v1;            \
  13703. +       MyCaos.a6            =(ULONG) bn;            \
  13704. +       MyCaos.M68kCacheMode    =    cm1;            \
  13705. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13706. +       {                                \
  13707. +         MyCaos.M68kStart    =    cs1;            \
  13708. +         MyCaos.M68kLength    =    cl1;            \
  13709. +       }                                \
  13710. +       MyCaos.PPCCacheMode    =    cm2;            \
  13711. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13712. +       {                                \
  13713. +         MyCaos.PPCStart        =    cs2;            \
  13714. +         MyCaos.PPCLength    =    cl2;            \
  13715. +       }                                \
  13716. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13717. +       __asm volatile ("bl PPCCallOS"                \
  13718. +       : "=r" (_##name##_re)                    \
  13719. +       : "r" (MyCaosReg)                      \
  13720. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13721. +       _##name##_re;                        \
  13722. +    }                                \
  13723. + })
  13724. + #define LP2(offs, rt, name, t1, v1, r1, t2, v2, r2, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13725. + ({                                \
  13726. +    struct Caos    MyCaos;                        \
  13727. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13728. +    {                                \
  13729. +       register rt _##name##_re __asm("r3");            \
  13730. +       MyCaos.##r1        =(ULONG) v1;            \
  13731. +       MyCaos.##r2        =(ULONG) v2;            \
  13732. +       MyCaos.a6            =(ULONG) bn;            \
  13733. +       MyCaos.M68kCacheMode    =    cm1;            \
  13734. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13735. +       {                                \
  13736. +         MyCaos.M68kStart    =    cs1;            \
  13737. +         MyCaos.M68kLength    =    cl1;            \
  13738. +       }                                \
  13739. +       MyCaos.PPCCacheMode    =    cm2;            \
  13740. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13741. +       {                                \
  13742. +         MyCaos.PPCStart        =    cs2;            \
  13743. +         MyCaos.PPCLength    =    cl2;            \
  13744. +       }                                \
  13745. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13746. +       __asm volatile ("bl PPCCallOS"                \
  13747. +       : "=r" (_##name##_re)                    \
  13748. +       : "r" (MyCaosReg)                      \
  13749. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13750. +       _##name##_re;                        \
  13751. +    }                                \
  13752. + })
  13753. + #define LP2NR(offs, name, t1, v1, r1, t2, v2, r2, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13754. + ({                                \
  13755. +    struct Caos    MyCaos;                        \
  13756. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13757. +    {                                \
  13758. +       MyCaos.##r1        =(ULONG) v1;            \
  13759. +       MyCaos.##r2        =(ULONG) v2;            \
  13760. +       MyCaos.a6            =(ULONG) bn;            \
  13761. +       MyCaos.M68kCacheMode    =    cm1;            \
  13762. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13763. +       {                                \
  13764. +         MyCaos.M68kStart    =    cs1;            \
  13765. +         MyCaos.M68kLength    =    cl1;            \
  13766. +       }                                \
  13767. +       MyCaos.PPCCacheMode    =    cm2;            \
  13768. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13769. +       {                                \
  13770. +         MyCaos.PPCStart        =    cs2;            \
  13771. +         MyCaos.PPCLength    =    cl2;            \
  13772. +       }                                \
  13773. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13774. +       __asm volatile ("bl PPCCallOS"                \
  13775. +       :                                \
  13776. +       : "r" (MyCaosReg)                      \
  13777. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13778. +    }                                \
  13779. + })
  13780. + /* Only cia.resource/AbleICR() and cia.resource/SetICR() */
  13781. + #define LP2UB(offs, rt, name, t1, v1, r1, t2, v2, r2, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13782. + ({                                \
  13783. +    struct Caos    MyCaos;                        \
  13784. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13785. +    {                                \
  13786. +       register rt _##name##_re __asm("r3");            \
  13787. +       MyCaos.##r1        =(ULONG) v1;            \
  13788. +       MyCaos.##r2        =(ULONG) v2;            \
  13789. +       MyCaos.M68kCacheMode    =    cm1;            \
  13790. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13791. +       {                                \
  13792. +         MyCaos.M68kStart    =    cs1;            \
  13793. +         MyCaos.M68kLength    =    cl1;            \
  13794. +       }                                \
  13795. +       MyCaos.PPCCacheMode    =    cm2;            \
  13796. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13797. +       {                                \
  13798. +         MyCaos.PPCStart        =    cs2;            \
  13799. +         MyCaos.PPCLength    =    cl2;            \
  13800. +       }                                \
  13801. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13802. +       __asm volatile ("bl PPCCallOS"                \
  13803. +       : "=r" (_##name##_re)                    \
  13804. +       : "r" (MyCaosReg)                      \
  13805. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13806. +       _##name##_re;                        \
  13807. +    }                                \
  13808. + })
  13809. + /* Only dos.library/InternalUnLoadSeg() */
  13810. + #define LP2FP(offs, rt, name, t1, v1, r1, t2, v2, r2, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13811. + ({                                \
  13812. +    typedef fpt;                            \
  13813. +    struct Caos    MyCaos;                        \
  13814. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13815. +    {                                \
  13816. +       register rt _##name##_re __asm("r3");            \
  13817. +       MyCaos.##r1        =(ULONG) v1;            \
  13818. +       MyCaos.##r2        =(ULONG) v2;            \
  13819. +       MyCaos.a6            =(ULONG) bn;            \
  13820. +       MyCaos.M68kCacheMode    =    cm1;            \
  13821. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13822. +       {                                \
  13823. +         MyCaos.M68kStart    =    cs1;            \
  13824. +         MyCaos.M68kLength    =    cl1;            \
  13825. +       }                                \
  13826. +       MyCaos.PPCCacheMode    =    cm2;            \
  13827. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13828. +       {                                \
  13829. +         MyCaos.PPCStart        =    cs2;            \
  13830. +         MyCaos.PPCLength    =    cl2;            \
  13831. +       }                                \
  13832. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13833. +       __asm volatile ("bl PPCCallOS"                \
  13834. +       : "=r" (_##name##_re)                    \
  13835. +       : "r" (MyCaosReg)                      \
  13836. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13837. +       _##name##_re;                        \
  13838. +    }                                \
  13839. + })
  13840. + #define LP3(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13841. + ({                                \
  13842. +    struct Caos    MyCaos;                        \
  13843. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13844. +    {                                \
  13845. +       register rt _##name##_re __asm("r3");            \
  13846. +       MyCaos.##r1        =(ULONG) v1;            \
  13847. +       MyCaos.##r2        =(ULONG) v2;            \
  13848. +       MyCaos.##r3        =(ULONG) v3;            \
  13849. +       MyCaos.a6            =(ULONG) bn;            \
  13850. +       MyCaos.M68kCacheMode    =    cm1;            \
  13851. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13852. +       {                                \
  13853. +         MyCaos.M68kStart    =    cs1;            \
  13854. +         MyCaos.M68kLength    =    cl1;            \
  13855. +       }                                \
  13856. +       MyCaos.PPCCacheMode    =    cm2;            \
  13857. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13858. +       {                                \
  13859. +         MyCaos.PPCStart        =    cs2;            \
  13860. +         MyCaos.PPCLength    =    cl2;            \
  13861. +       }                                \
  13862. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13863. +       __asm volatile ("bl PPCCallOS"                \
  13864. +       : "=r" (_##name##_re)                    \
  13865. +       : "r" (MyCaosReg)                      \
  13866. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13867. +       _##name##_re;                        \
  13868. +    }                                \
  13869. + })
  13870. + #define LP3NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13871. + ({                                \
  13872. +    struct Caos    MyCaos;                        \
  13873. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13874. +    {                                \
  13875. +       MyCaos.##r1        =(ULONG) v1;            \
  13876. +       MyCaos.##r2        =(ULONG) v2;            \
  13877. +       MyCaos.##r3        =(ULONG) v3;            \
  13878. +       MyCaos.a6            =(ULONG) bn;            \
  13879. +       MyCaos.M68kCacheMode    =    cm1;            \
  13880. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13881. +       {                                \
  13882. +         MyCaos.M68kStart    =    cs1;            \
  13883. +         MyCaos.M68kLength    =    cl1;            \
  13884. +       }                                \
  13885. +       MyCaos.PPCCacheMode    =    cm2;            \
  13886. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13887. +       {                                \
  13888. +         MyCaos.PPCStart        =    cs2;            \
  13889. +         MyCaos.PPCLength    =    cl2;            \
  13890. +       }                                \
  13891. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13892. +       __asm volatile ("bl PPCCallOS"                \
  13893. +       :                                \
  13894. +       : "r" (MyCaosReg)                      \
  13895. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13896. +    }                                \
  13897. + })
  13898. + /* Only cia.resource/AddICRVector() */
  13899. + #define LP3UB(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13900. + ({                                \
  13901. +    struct Caos    MyCaos;                        \
  13902. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13903. +    {                                \
  13904. +       register rt _##name##_re __asm("r3");            \
  13905. +       MyCaos.##r1        =(ULONG) v1;            \
  13906. +       MyCaos.##r2        =(ULONG) v2;            \
  13907. +       MyCaos.##r3        =(ULONG) v3;            \
  13908. +       MyCaos.M68kCacheMode    =    cm1;            \
  13909. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13910. +       {                                \
  13911. +         MyCaos.M68kStart    =    cs1;            \
  13912. +         MyCaos.M68kLength    =    cl1;            \
  13913. +       }                                \
  13914. +       MyCaos.PPCCacheMode    =    cm2;            \
  13915. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13916. +       {                                \
  13917. +         MyCaos.PPCStart        =    cs2;            \
  13918. +         MyCaos.PPCLength    =    cl2;            \
  13919. +       }                                \
  13920. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13921. +       __asm volatile ("bl PPCCallOS"                \
  13922. +       : "=r" (_##name##_re)                    \
  13923. +       : "r" (MyCaosReg)                      \
  13924. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13925. +       _##name##_re;                        \
  13926. +    }                                \
  13927. + })
  13928. + /* Only cia.resource/RemICRVector() */
  13929. + #define LP3NRUB(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13930. + ({                                \
  13931. +    struct Caos    MyCaos;                        \
  13932. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13933. +    {                                \
  13934. +       MyCaos.##r1        =(ULONG) v1;            \
  13935. +       MyCaos.##r2        =(ULONG) v2;            \
  13936. +       MyCaos.##r3        =(ULONG) v3;            \
  13937. +       MyCaos.M68kCacheMode    =    cm1;            \
  13938. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13939. +       {                                \
  13940. +         MyCaos.M68kStart    =    cs1;            \
  13941. +         MyCaos.M68kLength    =    cl1;            \
  13942. +       }                                \
  13943. +       MyCaos.PPCCacheMode    =    cm2;            \
  13944. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13945. +       {                                \
  13946. +         MyCaos.PPCStart        =    cs2;            \
  13947. +         MyCaos.PPCLength    =    cl2;            \
  13948. +       }                                \
  13949. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13950. +       __asm volatile ("bl PPCCallOS"                \
  13951. +       :                                \
  13952. +       : "r" (MyCaosReg)                      \
  13953. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13954. +    }                                \
  13955. + })
  13956. + /* Only exec.library/SetFunction() */
  13957. + #define LP3FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13958. + ({                                \
  13959. +    typedef fpt;                            \
  13960. +    struct Caos    MyCaos;                        \
  13961. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13962. +    {                                \
  13963. +       register rt _##name##_re __asm("r3");            \
  13964. +       MyCaos.##r1        =(ULONG) v1;            \
  13965. +       MyCaos.##r2        =(ULONG) v2;            \
  13966. +       MyCaos.##r3        =(ULONG) v3;            \
  13967. +       MyCaos.a6            =(ULONG) bn;            \
  13968. +       MyCaos.M68kCacheMode    =    cm1;            \
  13969. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  13970. +       {                                \
  13971. +         MyCaos.M68kStart    =    cs1;            \
  13972. +         MyCaos.M68kLength    =    cl1;            \
  13973. +       }                                \
  13974. +       MyCaos.PPCCacheMode    =    cm2;            \
  13975. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  13976. +       {                                \
  13977. +         MyCaos.PPCStart        =    cs2;            \
  13978. +         MyCaos.PPCLength    =    cl2;            \
  13979. +       }                                \
  13980. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  13981. +       __asm volatile ("bl PPCCallOS"                \
  13982. +       : "=r" (_##name##_re)                    \
  13983. +       : "r" (MyCaosReg)                      \
  13984. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  13985. +       _##name##_re;                        \
  13986. +    }                                \
  13987. + })
  13988. + /* Only graphics.library/SetCollision() */
  13989. + #define LP3NRFP(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  13990. + ({                                \
  13991. +    typedef fpt;                            \
  13992. +    struct Caos    MyCaos;                        \
  13993. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  13994. +    {                                \
  13995. +       MyCaos.##r1        =(ULONG) v1;            \
  13996. +       MyCaos.##r2        =(ULONG) v2;            \
  13997. +       MyCaos.##r3        =(ULONG) v3;            \
  13998. +       MyCaos.a6            =(ULONG) bn;            \
  13999. +       MyCaos.M68kCacheMode    =    cm1;            \
  14000. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14001. +       {                                \
  14002. +         MyCaos.M68kStart    =    cs1;            \
  14003. +         MyCaos.M68kLength    =    cl1;            \
  14004. +       }                                \
  14005. +       MyCaos.PPCCacheMode    =    cm2;            \
  14006. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14007. +       {                                \
  14008. +         MyCaos.PPCStart        =    cs2;            \
  14009. +         MyCaos.PPCLength    =    cl2;            \
  14010. +       }                                \
  14011. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14012. +       __asm volatile ("bl PPCCallOS"                \
  14013. +       :                                \
  14014. +       : "r" (MyCaosReg)                      \
  14015. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14016. +    }                                \
  14017. + })
  14018. + #define LP4(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14019. + ({                                \
  14020. +    struct Caos    MyCaos;                        \
  14021. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14022. +    {                                \
  14023. +       register rt _##name##_re __asm("r3");            \
  14024. +       MyCaos.##r1        =(ULONG) v1;            \
  14025. +       MyCaos.##r2        =(ULONG) v2;            \
  14026. +       MyCaos.##r3        =(ULONG) v3;            \
  14027. +       MyCaos.##r4        =(ULONG) v4;            \
  14028. +       MyCaos.a6            =(ULONG) bn;            \
  14029. +       MyCaos.M68kCacheMode    =    cm1;            \
  14030. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14031. +       {                                \
  14032. +         MyCaos.M68kStart    =    cs1;            \
  14033. +         MyCaos.M68kLength    =    cl1;            \
  14034. +       }                                \
  14035. +       MyCaos.PPCCacheMode    =    cm2;            \
  14036. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14037. +       {                                \
  14038. +         MyCaos.PPCStart        =    cs2;            \
  14039. +         MyCaos.PPCLength    =    cl2;            \
  14040. +       }                                \
  14041. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14042. +       __asm volatile ("bl PPCCallOS"                \
  14043. +       : "=r" (_##name##_re)                    \
  14044. +       : "r" (MyCaosReg)                      \
  14045. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14046. +       _##name##_re;                        \
  14047. +    }                                \
  14048. + })
  14049. + #define LP4NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14050. + ({                                \
  14051. +    struct Caos    MyCaos;                        \
  14052. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14053. +    {                                \
  14054. +       MyCaos.##r1        =(ULONG) v1;            \
  14055. +       MyCaos.##r2        =(ULONG) v2;            \
  14056. +       MyCaos.##r3        =(ULONG) v3;            \
  14057. +       MyCaos.##r4        =(ULONG) v4;            \
  14058. +       MyCaos.a6            =(ULONG) bn;            \
  14059. +       MyCaos.M68kCacheMode    =    cm1;            \
  14060. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14061. +       {                                \
  14062. +         MyCaos.M68kStart    =    cs1;            \
  14063. +         MyCaos.M68kLength    =    cl1;            \
  14064. +       }                                \
  14065. +       MyCaos.PPCCacheMode    =    cm2;            \
  14066. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14067. +       {                                \
  14068. +         MyCaos.PPCStart        =    cs2;            \
  14069. +         MyCaos.PPCLength    =    cl2;            \
  14070. +       }                                \
  14071. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14072. +       __asm volatile ("bl PPCCallOS"                \
  14073. +       :                                \
  14074. +       : "r" (MyCaosReg)                      \
  14075. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14076. +    }                                \
  14077. + })
  14078. + /* Only exec.library/RawDoFmt() */
  14079. + #define LP4FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14080. + ({                                \
  14081. +    typedef fpt;                            \
  14082. +    struct Caos    MyCaos;                        \
  14083. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14084. +    {                                \
  14085. +       register rt _##name##_re __asm("r3");            \
  14086. +       MyCaos.##r1        =(ULONG) v1;            \
  14087. +       MyCaos.##r2        =(ULONG) v2;            \
  14088. +       MyCaos.##r3        =(ULONG) v3;            \
  14089. +       MyCaos.##r4        =(ULONG) v4;            \
  14090. +       MyCaos.a6            =(ULONG) bn;            \
  14091. +       MyCaos.M68kCacheMode    =    cm1;            \
  14092. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14093. +       {                                \
  14094. +         MyCaos.M68kStart    =    cs1;            \
  14095. +         MyCaos.M68kLength    =    cl1;            \
  14096. +       }                                \
  14097. +       MyCaos.PPCCacheMode    =    cm2;            \
  14098. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14099. +       {                                \
  14100. +         MyCaos.PPCStart        =    cs2;            \
  14101. +         MyCaos.PPCLength    =    cl2;            \
  14102. +       }                                \
  14103. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14104. +       __asm volatile ("bl PPCCallOS"                \
  14105. +       : "=r" (_##name##_re)                    \
  14106. +       : "r" (MyCaosReg)                      \
  14107. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14108. +       _##name##_re;                        \
  14109. +    }                                \
  14110. + })
  14111. + #define LP5(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14112. + ({                                \
  14113. +    struct Caos    MyCaos;                        \
  14114. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14115. +    {                                \
  14116. +       register rt _##name##_re __asm("r3");            \
  14117. +       MyCaos.##r1        =(ULONG) v1;            \
  14118. +       MyCaos.##r2        =(ULONG) v2;            \
  14119. +       MyCaos.##r3        =(ULONG) v3;            \
  14120. +       MyCaos.##r4        =(ULONG) v4;            \
  14121. +       MyCaos.##r5        =(ULONG) v5;            \
  14122. +       MyCaos.a6            =(ULONG) bn;            \
  14123. +       MyCaos.M68kCacheMode    =    cm1;            \
  14124. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14125. +       {                                \
  14126. +         MyCaos.M68kStart    =    cs1;            \
  14127. +         MyCaos.M68kLength    =    cl1;            \
  14128. +       }                                \
  14129. +       MyCaos.PPCCacheMode    =    cm2;            \
  14130. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14131. +       {                                \
  14132. +         MyCaos.PPCStart        =    cs2;            \
  14133. +         MyCaos.PPCLength    =    cl2;            \
  14134. +       }                                \
  14135. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14136. +       __asm volatile ("bl PPCCallOS"                \
  14137. +       : "=r" (_##name##_re)                    \
  14138. +       : "r" (MyCaosReg)                      \
  14139. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14140. +       _##name##_re;                        \
  14141. +    }                                \
  14142. + })
  14143. + #define LP5NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14144. + ({                                \
  14145. +    struct Caos    MyCaos;                        \
  14146. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14147. +    {                                \
  14148. +       MyCaos.##r1        =(ULONG) v1;            \
  14149. +       MyCaos.##r2        =(ULONG) v2;            \
  14150. +       MyCaos.##r3        =(ULONG) v3;            \
  14151. +       MyCaos.##r4        =(ULONG) v4;            \
  14152. +       MyCaos.##r5        =(ULONG) v5;            \
  14153. +       MyCaos.a6            =(ULONG) bn;            \
  14154. +       MyCaos.M68kCacheMode    =    cm1;            \
  14155. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14156. +       {                                \
  14157. +         MyCaos.M68kStart    =    cs1;            \
  14158. +         MyCaos.M68kLength    =    cl1;            \
  14159. +       }                                \
  14160. +       MyCaos.PPCCacheMode    =    cm2;            \
  14161. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14162. +       {                                \
  14163. +         MyCaos.PPCStart        =    cs2;            \
  14164. +         MyCaos.PPCLength    =    cl2;            \
  14165. +       }                                \
  14166. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14167. +       __asm volatile ("bl PPCCallOS"                \
  14168. +       :                                \
  14169. +       : "r" (MyCaosReg)                      \
  14170. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14171. +    }                                \
  14172. + })
  14173. + /* Only exec.library/MakeLibrary() */
  14174. + #define LP5FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, bt, bn, fpt, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14175. + ({                                \
  14176. +    typedef fpt;                            \
  14177. +    struct Caos    MyCaos;                        \
  14178. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14179. +    {                                \
  14180. +       register rt _##name##_re __asm("r3");            \
  14181. +       MyCaos.##r1        =(ULONG) v1;            \
  14182. +       MyCaos.##r2        =(ULONG) v2;            \
  14183. +       MyCaos.##r3        =(ULONG) v3;            \
  14184. +       MyCaos.##r4        =(ULONG) v4;            \
  14185. +       MyCaos.##r5        =(ULONG) v5;            \
  14186. +       MyCaos.a6            =(ULONG) bn;            \
  14187. +       MyCaos.M68kCacheMode    =    cm1;            \
  14188. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14189. +       {                                \
  14190. +         MyCaos.M68kStart    =    cs1;            \
  14191. +         MyCaos.M68kLength    =    cl1;            \
  14192. +       }                                \
  14193. +       MyCaos.PPCCacheMode    =    cm2;            \
  14194. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14195. +       {                                \
  14196. +         MyCaos.PPCStart        =    cs2;            \
  14197. +         MyCaos.PPCLength    =    cl2;            \
  14198. +       }                                \
  14199. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14200. +       __asm volatile ("bl PPCCallOS"                \
  14201. +       : "=r" (_##name##_re)                    \
  14202. +       : "r" (MyCaosReg)                      \
  14203. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14204. +       _##name##_re;                        \
  14205. +    }                                \
  14206. + })
  14207. + #define LP6(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14208. + ({                                \
  14209. +    struct Caos    MyCaos;                        \
  14210. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14211. +    {                                \
  14212. +       register rt _##name##_re __asm("r3");            \
  14213. +       MyCaos.##r1        =(ULONG) v1;            \
  14214. +       MyCaos.##r2        =(ULONG) v2;            \
  14215. +       MyCaos.##r3        =(ULONG) v3;            \
  14216. +       MyCaos.##r4        =(ULONG) v4;            \
  14217. +       MyCaos.##r5        =(ULONG) v5;            \
  14218. +       MyCaos.##r6        =(ULONG) v6;            \
  14219. +       MyCaos.a6            =(ULONG) bn;            \
  14220. +       MyCaos.M68kCacheMode    =    cm1;            \
  14221. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14222. +       {                                \
  14223. +         MyCaos.M68kStart    =    cs1;            \
  14224. +         MyCaos.M68kLength    =    cl1;            \
  14225. +       }                                \
  14226. +       MyCaos.PPCCacheMode    =    cm2;            \
  14227. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14228. +       {                                \
  14229. +         MyCaos.PPCStart        =    cs2;            \
  14230. +         MyCaos.PPCLength    =    cl2;            \
  14231. +       }                                \
  14232. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14233. +       __asm volatile ("bl PPCCallOS"                \
  14234. +       : "=r" (_##name##_re)                    \
  14235. +       : "r" (MyCaosReg)                      \
  14236. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14237. +       _##name##_re;                        \
  14238. +    }                                \
  14239. + })
  14240. + #define LP6NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14241. + ({                                \
  14242. +    struct Caos    MyCaos;                        \
  14243. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14244. +    {                                \
  14245. +       MyCaos.##r1        =(ULONG) v1;            \
  14246. +       MyCaos.##r2        =(ULONG) v2;            \
  14247. +       MyCaos.##r3        =(ULONG) v3;            \
  14248. +       MyCaos.##r4        =(ULONG) v4;            \
  14249. +       MyCaos.##r5        =(ULONG) v5;            \
  14250. +       MyCaos.##r6        =(ULONG) v6;            \
  14251. +       MyCaos.a6            =(ULONG) bn;            \
  14252. +       MyCaos.M68kCacheMode    =    cm1;            \
  14253. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14254. +       {                                \
  14255. +         MyCaos.M68kStart    =    cs1;            \
  14256. +         MyCaos.M68kLength    =    cl1;            \
  14257. +       }                                \
  14258. +       MyCaos.PPCCacheMode    =    cm2;            \
  14259. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14260. +       {                                \
  14261. +         MyCaos.PPCStart        =    cs2;            \
  14262. +         MyCaos.PPCLength    =    cl2;            \
  14263. +       }                                \
  14264. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14265. +       __asm volatile ("bl PPCCallOS"                \
  14266. +       :                                \
  14267. +       : "r" (MyCaosReg)                      \
  14268. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14269. +    }                                \
  14270. + })
  14271. + #define LP7(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14272. + ({                                \
  14273. +    struct Caos    MyCaos;                        \
  14274. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14275. +    {                                \
  14276. +       register rt _##name##_re __asm("r3");            \
  14277. +       MyCaos.##r1        =(ULONG) v1;            \
  14278. +       MyCaos.##r2        =(ULONG) v2;            \
  14279. +       MyCaos.##r3        =(ULONG) v3;            \
  14280. +       MyCaos.##r4        =(ULONG) v4;            \
  14281. +       MyCaos.##r5        =(ULONG) v5;            \
  14282. +       MyCaos.##r6        =(ULONG) v6;            \
  14283. +       MyCaos.##r7        =(ULONG) v7;            \
  14284. +       MyCaos.a6            =(ULONG) bn;            \
  14285. +       MyCaos.M68kCacheMode    =    cm1;            \
  14286. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14287. +       {                                \
  14288. +         MyCaos.M68kStart    =    cs1;            \
  14289. +         MyCaos.M68kLength    =    cl1;            \
  14290. +       }                                \
  14291. +       MyCaos.PPCCacheMode    =    cm2;            \
  14292. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14293. +       {                                \
  14294. +         MyCaos.PPCStart        =    cs2;            \
  14295. +         MyCaos.PPCLength    =    cl2;            \
  14296. +       }                                \
  14297. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14298. +       __asm volatile ("bl PPCCallOS"                \
  14299. +       : "=r" (_##name##_re)                    \
  14300. +       : "r" (MyCaosReg)                      \
  14301. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14302. +       _##name##_re;                        \
  14303. +    }                                \
  14304. + })
  14305. + #define LP7NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14306. + ({                                \
  14307. +    struct Caos    MyCaos;                        \
  14308. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14309. +    {                                \
  14310. +       MyCaos.##r1        =(ULONG) v1;            \
  14311. +       MyCaos.##r2        =(ULONG) v2;            \
  14312. +       MyCaos.##r3        =(ULONG) v3;            \
  14313. +       MyCaos.##r4        =(ULONG) v4;            \
  14314. +       MyCaos.##r5        =(ULONG) v5;            \
  14315. +       MyCaos.##r6        =(ULONG) v6;            \
  14316. +       MyCaos.##r7        =(ULONG) v7;            \
  14317. +       MyCaos.a6            =(ULONG) bn;            \
  14318. +       MyCaos.M68kCacheMode    =    cm1;            \
  14319. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14320. +       {                                \
  14321. +         MyCaos.M68kStart    =    cs1;            \
  14322. +         MyCaos.M68kLength    =    cl1;            \
  14323. +       }                                \
  14324. +       MyCaos.PPCCacheMode    =    cm2;            \
  14325. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14326. +       {                                \
  14327. +         MyCaos.PPCStart        =    cs2;            \
  14328. +         MyCaos.PPCLength    =    cl2;            \
  14329. +       }                                \
  14330. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14331. +       __asm volatile ("bl PPCCallOS"                \
  14332. +       :                                \
  14333. +       : "r" (MyCaosReg)                      \
  14334. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14335. +    }                                \
  14336. + })
  14337. + /* Only workbench.library/AddAppIconA() */
  14338. + #define LP7A4(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14339. + ({                                \
  14340. +    struct Caos    MyCaos;                        \
  14341. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14342. +    {                                \
  14343. +       register rt _##name##_re __asm("r3");            \
  14344. +       MyCaos.##r1        =(ULONG) v1;            \
  14345. +       MyCaos.##r2        =(ULONG) v2;            \
  14346. +       MyCaos.##r3        =(ULONG) v3;            \
  14347. +       MyCaos.##r4        =(ULONG) v4;            \
  14348. +       MyCaos.##r5        =(ULONG) v5;            \
  14349. +       MyCaos.##r6        =(ULONG) v6;            \
  14350. +       MyCaos.##r7        =(ULONG) v7;            \
  14351. +       MyCaos.a6            =(ULONG) bn;            \
  14352. +       MyCaos.M68kCacheMode    =    cm1;            \
  14353. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14354. +       {                                \
  14355. +         MyCaos.M68kStart    =    cs1;            \
  14356. +         MyCaos.M68kLength    =    cl1;            \
  14357. +       }                                \
  14358. +       MyCaos.PPCCacheMode    =    cm2;            \
  14359. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14360. +       {                                \
  14361. +         MyCaos.PPCStart        =    cs2;            \
  14362. +         MyCaos.PPCLength    =    cl2;            \
  14363. +       }                                \
  14364. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14365. +       __asm volatile ("bl PPCCallOS"                \
  14366. +       : "=r" (_##name##_re)                    \
  14367. +       : "r" (MyCaosReg)                      \
  14368. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14369. +       _##name##_re;                        \
  14370. +    }                                \
  14371. + })
  14372. + /* Would you believe that there really are beasts that need more than 7
  14373. +    arguments? :-) */
  14374. + /* For example intuition.library/AutoRequest() */
  14375. + #define LP8(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14376. + ({                                \
  14377. +    struct Caos    MyCaos;                        \
  14378. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14379. +    {                                \
  14380. +       register rt _##name##_re __asm("r3");            \
  14381. +       MyCaos.##r1        =(ULONG) v1;            \
  14382. +       MyCaos.##r2        =(ULONG) v2;            \
  14383. +       MyCaos.##r3        =(ULONG) v3;            \
  14384. +       MyCaos.##r4        =(ULONG) v4;            \
  14385. +       MyCaos.##r5        =(ULONG) v5;            \
  14386. +       MyCaos.##r6        =(ULONG) v6;            \
  14387. +       MyCaos.##r7        =(ULONG) v7;            \
  14388. +       MyCaos.##r8        =(ULONG) v8;            \
  14389. +       MyCaos.a6            =(ULONG) bn;            \
  14390. +       MyCaos.M68kCacheMode    =    cm1;            \
  14391. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14392. +       {                                \
  14393. +         MyCaos.M68kStart    =    cs1;            \
  14394. +         MyCaos.M68kLength    =    cl1;            \
  14395. +       }                                \
  14396. +       MyCaos.PPCCacheMode    =    cm2;            \
  14397. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14398. +       {                                \
  14399. +         MyCaos.PPCStart        =    cs2;            \
  14400. +         MyCaos.PPCLength    =    cl2;            \
  14401. +       }                                \
  14402. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14403. +       __asm volatile ("bl PPCCallOS"                \
  14404. +       : "=r" (_##name##_re)                    \
  14405. +       : "r" (MyCaosReg)                      \
  14406. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14407. +       _##name##_re;                        \
  14408. +    }                                \
  14409. + })
  14410. + /* For example intuition.library/ModifyProp() */
  14411. + #define LP8NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14412. + ({                                \
  14413. +    struct Caos    MyCaos;                        \
  14414. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14415. +    {                                \
  14416. +       MyCaos.##r1        =(ULONG) v1;            \
  14417. +       MyCaos.##r2        =(ULONG) v2;            \
  14418. +       MyCaos.##r3        =(ULONG) v3;            \
  14419. +       MyCaos.##r4        =(ULONG) v4;            \
  14420. +       MyCaos.##r5        =(ULONG) v5;            \
  14421. +       MyCaos.##r6        =(ULONG) v6;            \
  14422. +       MyCaos.##r7        =(ULONG) v7;            \
  14423. +       MyCaos.##r8        =(ULONG) v8;            \
  14424. +       MyCaos.a6            =(ULONG) bn;            \
  14425. +       MyCaos.M68kCacheMode    =    cm1;            \
  14426. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14427. +       {                                \
  14428. +         MyCaos.M68kStart    =    cs1;            \
  14429. +         MyCaos.M68kLength    =    cl1;            \
  14430. +       }                                \
  14431. +       MyCaos.PPCCacheMode    =    cm2;            \
  14432. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14433. +       {                                \
  14434. +         MyCaos.PPCStart        =    cs2;            \
  14435. +         MyCaos.PPCLength    =    cl2;            \
  14436. +       }                                \
  14437. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14438. +       __asm volatile ("bl PPCCallOS"                \
  14439. +       :                                \
  14440. +       : "r" (MyCaosReg)                      \
  14441. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14442. +    }                                \
  14443. + })
  14444. + /* For example layers.library/CreateUpfrontHookLayer() */
  14445. + #define LP9(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14446. + ({                                \
  14447. +    struct Caos    MyCaos;                        \
  14448. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14449. +    {                                \
  14450. +       register rt _##name##_re __asm("r3");            \
  14451. +       MyCaos.##r1        =(ULONG) v1;            \
  14452. +       MyCaos.##r2        =(ULONG) v2;            \
  14453. +       MyCaos.##r3        =(ULONG) v3;            \
  14454. +       MyCaos.##r4        =(ULONG) v4;            \
  14455. +       MyCaos.##r5        =(ULONG) v5;            \
  14456. +       MyCaos.##r6        =(ULONG) v6;            \
  14457. +       MyCaos.##r7        =(ULONG) v7;            \
  14458. +       MyCaos.##r8        =(ULONG) v8;            \
  14459. +       MyCaos.##r9        =(ULONG) v9;            \
  14460. +       MyCaos.a6            =(ULONG) bn;            \
  14461. +       MyCaos.M68kCacheMode    =    cm1;            \
  14462. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14463. +       {                                \
  14464. +         MyCaos.M68kStart    =    cs1;            \
  14465. +         MyCaos.M68kLength    =    cl1;            \
  14466. +       }                                \
  14467. +       MyCaos.PPCCacheMode    =    cm2;            \
  14468. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14469. +       {                                \
  14470. +         MyCaos.PPCStart        =    cs2;            \
  14471. +         MyCaos.PPCLength    =    cl2;            \
  14472. +       }                                \
  14473. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14474. +       __asm volatile ("bl PPCCallOS"                \
  14475. +       : "=r" (_##name##_re)                    \
  14476. +       : "r" (MyCaosReg)                      \
  14477. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14478. +       _##name##_re;                        \
  14479. +    }                                \
  14480. + })
  14481. + /* For example intuition.library/NewModifyProp() */
  14482. + #define LP9NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14483. + ({                                \
  14484. +    struct Caos    MyCaos;                        \
  14485. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14486. +    {                                \
  14487. +       MyCaos.##r1        =(ULONG) v1;            \
  14488. +       MyCaos.##r2        =(ULONG) v2;            \
  14489. +       MyCaos.##r3        =(ULONG) v3;            \
  14490. +       MyCaos.##r4        =(ULONG) v4;            \
  14491. +       MyCaos.##r5        =(ULONG) v5;            \
  14492. +       MyCaos.##r6        =(ULONG) v6;            \
  14493. +       MyCaos.##r7        =(ULONG) v7;            \
  14494. +       MyCaos.##r8        =(ULONG) v8;            \
  14495. +       MyCaos.##r9        =(ULONG) v9;            \
  14496. +       MyCaos.a6            =(ULONG) bn;            \
  14497. +       MyCaos.M68kCacheMode    =    cm1;            \
  14498. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14499. +       {                                \
  14500. +         MyCaos.M68kStart    =    cs1;            \
  14501. +         MyCaos.M68kLength    =    cl1;            \
  14502. +       }                                \
  14503. +       MyCaos.PPCCacheMode    =    cm2;            \
  14504. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14505. +       {                                \
  14506. +         MyCaos.PPCStart        =    cs2;            \
  14507. +         MyCaos.PPCLength    =    cl2;            \
  14508. +       }                                \
  14509. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14510. +       __asm volatile ("bl PPCCallOS"                \
  14511. +       :                                \
  14512. +       : "r" (MyCaosReg)                      \
  14513. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14514. +    }                                \
  14515. + })
  14516. + /* LP10 not needed... */
  14517. + /* Only graphics.library/BltMaskBitMapRastPort() */
  14518. + #define LP10NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, t10, v10, r10, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14519. + ({                                \
  14520. +    struct Caos    MyCaos;                        \
  14521. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14522. +    {                                \
  14523. +       MyCaos.##r1        =(ULONG) v1;            \
  14524. +       MyCaos.##r2        =(ULONG) v2;            \
  14525. +       MyCaos.##r3        =(ULONG) v3;            \
  14526. +       MyCaos.##r4        =(ULONG) v4;            \
  14527. +       MyCaos.##r5        =(ULONG) v5;            \
  14528. +       MyCaos.##r6        =(ULONG) v6;            \
  14529. +       MyCaos.##r7        =(ULONG) v7;            \
  14530. +       MyCaos.##r8        =(ULONG) v8;            \
  14531. +       MyCaos.##r9        =(ULONG) v9;            \
  14532. +       MyCaos.##r10        =(ULONG) v10;            \
  14533. +       MyCaos.a6            =(ULONG) bn;            \
  14534. +       MyCaos.M68kCacheMode    =    cm1;            \
  14535. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14536. +       {                                \
  14537. +         MyCaos.M68kStart    =    cs1;            \
  14538. +         MyCaos.M68kLength    =    cl1;            \
  14539. +       }                                \
  14540. +       MyCaos.PPCCacheMode    =    cm2;            \
  14541. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14542. +       {                                \
  14543. +         MyCaos.PPCStart        =    cs2;            \
  14544. +         MyCaos.PPCLength    =    cl2;            \
  14545. +       }                                \
  14546. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14547. +       __asm volatile ("bl PPCCallOS"                \
  14548. +       :                                \
  14549. +       : "r" (MyCaosReg)                      \
  14550. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14551. +    }                                \
  14552. + })
  14553. + /* Only graphics.library/BltBitMap() */
  14554. + #define LP11(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, t4, v4, r4, t5, v5, r5, t6, v6, r6, t7, v7, r7, t8, v8, r8, t9, v9, r9, t10, v10, r10, t11, v11, r11, bt, bn, cm1, cs1, cl1, cm2, cs2, cl2 )    \
  14555. + ({                                \
  14556. +    struct Caos    MyCaos;                        \
  14557. +    register struct Caos *MyCaosReg __asm("r3") = &MyCaos;    \
  14558. +    {                                \
  14559. +       register rt _##name##_re __asm("r3");            \
  14560. +       MyCaos.##r1        =(ULONG) v1;            \
  14561. +       MyCaos.##r2        =(ULONG) v2;            \
  14562. +       MyCaos.##r3        =(ULONG) v3;            \
  14563. +       MyCaos.##r4        =(ULONG) v4;            \
  14564. +       MyCaos.##r5        =(ULONG) v5;            \
  14565. +       MyCaos.##r6        =(ULONG) v6;            \
  14566. +       MyCaos.##r7        =(ULONG) v7;            \
  14567. +       MyCaos.##r8        =(ULONG) v8;            \
  14568. +       MyCaos.##r9        =(ULONG) v9;            \
  14569. +       MyCaos.##r10        =(ULONG) v10;            \
  14570. +       MyCaos.##r11        =(ULONG) v11;            \
  14571. +       MyCaos.a6            =(ULONG) bn;            \
  14572. +       MyCaos.M68kCacheMode    =    cm1;            \
  14573. +       if ((cm1==IF_CACHEFLUSHAREA) || (cm1==IF_CACHEINVALIDAREA))    \
  14574. +       {                                \
  14575. +         MyCaos.M68kStart    =    cs1;            \
  14576. +         MyCaos.M68kLength    =    cl1;            \
  14577. +       }                                \
  14578. +       MyCaos.PPCCacheMode    =    cm2;            \
  14579. +       if ((cm2==IF_CACHEFLUSHAREA) || (cm2==IF_CACHEINVALIDAREA))    \
  14580. +       {                                \
  14581. +         MyCaos.PPCStart        =    cs2;            \
  14582. +         MyCaos.PPCLength    =    cl2;            \
  14583. +       }                                \
  14584. +       MyCaos.caos_Un.Offset    =    (-offs);        \
  14585. +       __asm volatile ("bl PPCCallOS"                \
  14586. +       : "=r" (_##name##_re)                    \
  14587. +       : "r" (MyCaosReg)                      \
  14588. +       : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12",  "lr", "ctr", "cc", "memory");    \
  14589. +       _##name##_re;                        \
  14590. +    }                                \
  14591. + })
  14592. + #endif /* __INLINE_MACROS_H */
  14593. diff -c2 -d -P -r include_h/powerup/ppcinline/mathieeedoubbas.h includenew/powerup/ppcinline/mathieeedoubbas.h
  14594. *** include_h/powerup/ppcinline/mathieeedoubbas.h    Thu Jan  1 00:00:00 1970
  14595. --- includenew/powerup/ppcinline/mathieeedoubbas.h    Wed Feb 14 02:41:21 2001
  14596. ***************
  14597. *** 0 ****
  14598. --- 1,62 ----
  14599. + /* Automatically generated header! Do not edit! */
  14600. + #ifndef _PPCINLINE_MATHIEEEDOUBBAS_H
  14601. + #define _PPCINLINE_MATHIEEEDOUBBAS_H
  14602. + #ifndef __PPCINLINE_MACROS_H
  14603. + #include <powerup/ppcinline/macros.h>
  14604. + #endif /* !__PPCINLINE_MACROS_H */
  14605. + #ifndef MATHIEEEDOUBBAS_BASE_NAME
  14606. + #define MATHIEEEDOUBBAS_BASE_NAME MathIeeeDoubBasBase
  14607. + #endif /* !MATHIEEEDOUBBAS_BASE_NAME */
  14608. + #define IEEEDPAbs(parm) \
  14609. +     LP1(0x36, DOUBLE, IEEEDPAbs, DOUBLE, parm, d0, \
  14610. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14611. + #define IEEEDPAdd(leftParm, rightParm) \
  14612. +     LP2(0x42, DOUBLE, IEEEDPAdd, DOUBLE, leftParm, d0, DOUBLE, rightParm, d2, \
  14613. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14614. + #define IEEEDPCeil(parm) \
  14615. +     LP1(0x60, DOUBLE, IEEEDPCeil, DOUBLE, parm, d0, \
  14616. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14617. + #define IEEEDPCmp(leftParm, rightParm) \
  14618. +     LP2(0x2a, LONG, IEEEDPCmp, DOUBLE, leftParm, d0, DOUBLE, rightParm, d2, \
  14619. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14620. + #define IEEEDPDiv(dividend, divisor) \
  14621. +     LP2(0x54, DOUBLE, IEEEDPDiv, DOUBLE, dividend, d0, DOUBLE, divisor, d2, \
  14622. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14623. + #define IEEEDPFix(parm) \
  14624. +     LP1(0x1e, LONG, IEEEDPFix, DOUBLE, parm, d0, \
  14625. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14626. + #define IEEEDPFloor(parm) \
  14627. +     LP1(0x5a, DOUBLE, IEEEDPFloor, DOUBLE, parm, d0, \
  14628. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14629. + #define IEEEDPFlt(integer) \
  14630. +     LP1(0x24, DOUBLE, IEEEDPFlt, long, integer, d0, \
  14631. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14632. + #define IEEEDPMul(factor1, factor2) \
  14633. +     LP2(0x4e, DOUBLE, IEEEDPMul, DOUBLE, factor1, d0, DOUBLE, factor2, d2, \
  14634. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14635. + #define IEEEDPNeg(parm) \
  14636. +     LP1(0x3c, DOUBLE, IEEEDPNeg, DOUBLE, parm, d0, \
  14637. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14638. + #define IEEEDPSub(leftParm, rightParm) \
  14639. +     LP2(0x48, DOUBLE, IEEEDPSub, DOUBLE, leftParm, d0, DOUBLE, rightParm, d2, \
  14640. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14641. + #define IEEEDPTst(parm) \
  14642. +     LP1(0x30, LONG, IEEEDPTst, DOUBLE, parm, d0, \
  14643. +     , MATHIEEEDOUBBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14644. + #endif /* !_PPCINLINE_MATHIEEEDOUBBAS_H */
  14645. diff -c2 -d -P -r include_h/powerup/ppcinline/mathieeedoubtrans.h includenew/powerup/ppcinline/mathieeedoubtrans.h
  14646. *** include_h/powerup/ppcinline/mathieeedoubtrans.h    Thu Jan  1 00:00:00 1970
  14647. --- includenew/powerup/ppcinline/mathieeedoubtrans.h    Wed Feb 14 02:41:21 2001
  14648. ***************
  14649. *** 0 ****
  14650. --- 1,82 ----
  14651. + /* Automatically generated header! Do not edit! */
  14652. + #ifndef _PPCINLINE_MATHIEEEDOUBTRANS_H
  14653. + #define _PPCINLINE_MATHIEEEDOUBTRANS_H
  14654. + #ifndef __PPCINLINE_MACROS_H
  14655. + #include <powerup/ppcinline/macros.h>
  14656. + #endif /* !__PPCINLINE_MACROS_H */
  14657. + #ifndef MATHIEEEDOUBTRANS_BASE_NAME
  14658. + #define MATHIEEEDOUBTRANS_BASE_NAME MathIeeeDoubTransBase
  14659. + #endif /* !MATHIEEEDOUBTRANS_BASE_NAME */
  14660. + #define IEEEDPAcos(parm) \
  14661. +     LP1(0x78, DOUBLE, IEEEDPAcos, DOUBLE, parm, d0, \
  14662. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14663. + #define IEEEDPAsin(parm) \
  14664. +     LP1(0x72, DOUBLE, IEEEDPAsin, DOUBLE, parm, d0, \
  14665. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14666. + #define IEEEDPAtan(parm) \
  14667. +     LP1(0x1e, DOUBLE, IEEEDPAtan, DOUBLE, parm, d0, \
  14668. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14669. + #define IEEEDPCos(parm) \
  14670. +     LP1(0x2a, DOUBLE, IEEEDPCos, DOUBLE, parm, d0, \
  14671. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14672. + #define IEEEDPCosh(parm) \
  14673. +     LP1(0x42, DOUBLE, IEEEDPCosh, DOUBLE, parm, d0, \
  14674. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14675. + #define IEEEDPExp(parm) \
  14676. +     LP1(0x4e, DOUBLE, IEEEDPExp, DOUBLE, parm, d0, \
  14677. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14678. + #define IEEEDPFieee(single) \
  14679. +     LP1(0x6c, DOUBLE, IEEEDPFieee, FLOAT, single, d0, \
  14680. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14681. + #define IEEEDPLog(parm) \
  14682. +     LP1(0x54, DOUBLE, IEEEDPLog, DOUBLE, parm, d0, \
  14683. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14684. + #define IEEEDPLog10(parm) \
  14685. +     LP1(0x7e, DOUBLE, IEEEDPLog10, DOUBLE, parm, d0, \
  14686. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14687. + #define IEEEDPPow(exp, arg) \
  14688. +     LP2(0x5a, DOUBLE, IEEEDPPow, DOUBLE, exp, d2, DOUBLE, arg, d0, \
  14689. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14690. + #define IEEEDPSin(parm) \
  14691. +     LP1(0x24, DOUBLE, IEEEDPSin, DOUBLE, parm, d0, \
  14692. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14693. + #define IEEEDPSincos(pf2, parm) \
  14694. +     LP2(0x36, DOUBLE, IEEEDPSincos, DOUBLE *, pf2, a0, DOUBLE, parm, d0, \
  14695. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14696. + #define IEEEDPSinh(parm) \
  14697. +     LP1(0x3c, DOUBLE, IEEEDPSinh, DOUBLE, parm, d0, \
  14698. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14699. + #define IEEEDPSqrt(parm) \
  14700. +     LP1(0x60, DOUBLE, IEEEDPSqrt, DOUBLE, parm, d0, \
  14701. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14702. + #define IEEEDPTan(parm) \
  14703. +     LP1(0x30, DOUBLE, IEEEDPTan, DOUBLE, parm, d0, \
  14704. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14705. + #define IEEEDPTanh(parm) \
  14706. +     LP1(0x48, DOUBLE, IEEEDPTanh, DOUBLE, parm, d0, \
  14707. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14708. + #define IEEEDPTieee(parm) \
  14709. +     LP1(0x66, FLOAT, IEEEDPTieee, DOUBLE, parm, d0, \
  14710. +     , MATHIEEEDOUBTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14711. + #endif /* !_PPCINLINE_MATHIEEEDOUBTRANS_H */
  14712. diff -c2 -d -P -r include_h/powerup/ppcinline/mathieeesingbas.h includenew/powerup/ppcinline/mathieeesingbas.h
  14713. *** include_h/powerup/ppcinline/mathieeesingbas.h    Thu Jan  1 00:00:00 1970
  14714. --- includenew/powerup/ppcinline/mathieeesingbas.h    Wed Feb 14 02:41:21 2001
  14715. ***************
  14716. *** 0 ****
  14717. --- 1,62 ----
  14718. + /* Automatically generated header! Do not edit! */
  14719. + #ifndef _PPCINLINE_MATHIEEESINGBAS_H
  14720. + #define _PPCINLINE_MATHIEEESINGBAS_H
  14721. + #ifndef __PPCINLINE_MACROS_H
  14722. + #include <powerup/ppcinline/macros.h>
  14723. + #endif /* !__PPCINLINE_MACROS_H */
  14724. + #ifndef MATHIEEESINGBAS_BASE_NAME
  14725. + #define MATHIEEESINGBAS_BASE_NAME MathIeeeSingBasBase
  14726. + #endif /* !MATHIEEESINGBAS_BASE_NAME */
  14727. + #define IEEESPAbs(parm) \
  14728. +     LP1(0x36, FLOAT, IEEESPAbs, FLOAT, parm, d0, \
  14729. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14730. + #define IEEESPAdd(leftParm, rightParm) \
  14731. +     LP2(0x42, FLOAT, IEEESPAdd, FLOAT, leftParm, d0, FLOAT, rightParm, d1, \
  14732. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14733. + #define IEEESPCeil(parm) \
  14734. +     LP1(0x60, FLOAT, IEEESPCeil, FLOAT, parm, d0, \
  14735. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14736. + #define IEEESPCmp(leftParm, rightParm) \
  14737. +     LP2(0x2a, LONG, IEEESPCmp, FLOAT, leftParm, d0, FLOAT, rightParm, d1, \
  14738. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14739. + #define IEEESPDiv(dividend, divisor) \
  14740. +     LP2(0x54, FLOAT, IEEESPDiv, FLOAT, dividend, d0, FLOAT, divisor, d1, \
  14741. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14742. + #define IEEESPFix(parm) \
  14743. +     LP1(0x1e, LONG, IEEESPFix, FLOAT, parm, d0, \
  14744. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14745. + #define IEEESPFloor(parm) \
  14746. +     LP1(0x5a, FLOAT, IEEESPFloor, FLOAT, parm, d0, \
  14747. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14748. + #define IEEESPFlt(integer) \
  14749. +     LP1(0x24, FLOAT, IEEESPFlt, long, integer, d0, \
  14750. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14751. + #define IEEESPMul(leftParm, rightParm) \
  14752. +     LP2(0x4e, FLOAT, IEEESPMul, FLOAT, leftParm, d0, FLOAT, rightParm, d1, \
  14753. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14754. + #define IEEESPNeg(parm) \
  14755. +     LP1(0x3c, FLOAT, IEEESPNeg, FLOAT, parm, d0, \
  14756. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14757. + #define IEEESPSub(leftParm, rightParm) \
  14758. +     LP2(0x48, FLOAT, IEEESPSub, FLOAT, leftParm, d0, FLOAT, rightParm, d1, \
  14759. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14760. + #define IEEESPTst(parm) \
  14761. +     LP1(0x30, LONG, IEEESPTst, FLOAT, parm, d0, \
  14762. +     , MATHIEEESINGBAS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14763. + #endif /* !_PPCINLINE_MATHIEEESINGBAS_H */
  14764. diff -c2 -d -P -r include_h/powerup/ppcinline/mathieeesingtrans.h includenew/powerup/ppcinline/mathieeesingtrans.h
  14765. *** include_h/powerup/ppcinline/mathieeesingtrans.h    Thu Jan  1 00:00:00 1970
  14766. --- includenew/powerup/ppcinline/mathieeesingtrans.h    Wed Feb 14 02:41:21 2001
  14767. ***************
  14768. *** 0 ****
  14769. --- 1,82 ----
  14770. + /* Automatically generated header! Do not edit! */
  14771. + #ifndef _PPCINLINE_MATHIEEESINGTRANS_H
  14772. + #define _PPCINLINE_MATHIEEESINGTRANS_H
  14773. + #ifndef __PPCINLINE_MACROS_H
  14774. + #include <powerup/ppcinline/macros.h>
  14775. + #endif /* !__PPCINLINE_MACROS_H */
  14776. + #ifndef MATHIEEESINGTRANS_BASE_NAME
  14777. + #define MATHIEEESINGTRANS_BASE_NAME MathIeeeSingTransBase
  14778. + #endif /* !MATHIEEESINGTRANS_BASE_NAME */
  14779. + #define IEEESPAcos(parm) \
  14780. +     LP1(0x78, FLOAT, IEEESPAcos, FLOAT, parm, d0, \
  14781. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14782. + #define IEEESPAsin(parm) \
  14783. +     LP1(0x72, FLOAT, IEEESPAsin, FLOAT, parm, d0, \
  14784. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14785. + #define IEEESPAtan(parm) \
  14786. +     LP1(0x1e, FLOAT, IEEESPAtan, FLOAT, parm, d0, \
  14787. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14788. + #define IEEESPCos(parm) \
  14789. +     LP1(0x2a, FLOAT, IEEESPCos, FLOAT, parm, d0, \
  14790. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14791. + #define IEEESPCosh(parm) \
  14792. +     LP1(0x42, FLOAT, IEEESPCosh, FLOAT, parm, d0, \
  14793. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14794. + #define IEEESPExp(parm) \
  14795. +     LP1(0x4e, FLOAT, IEEESPExp, FLOAT, parm, d0, \
  14796. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14797. + #define IEEESPFieee(parm) \
  14798. +     LP1(0x6c, FLOAT, IEEESPFieee, FLOAT, parm, d0, \
  14799. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14800. + #define IEEESPLog(parm) \
  14801. +     LP1(0x54, FLOAT, IEEESPLog, FLOAT, parm, d0, \
  14802. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14803. + #define IEEESPLog10(parm) \
  14804. +     LP1(0x7e, FLOAT, IEEESPLog10, FLOAT, parm, d0, \
  14805. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14806. + #define IEEESPPow(exp, arg) \
  14807. +     LP2(0x5a, FLOAT, IEEESPPow, FLOAT, exp, d1, FLOAT, arg, d0, \
  14808. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14809. + #define IEEESPSin(parm) \
  14810. +     LP1(0x24, FLOAT, IEEESPSin, FLOAT, parm, d0, \
  14811. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14812. + #define IEEESPSincos(cosptr, parm) \
  14813. +     LP2(0x36, FLOAT, IEEESPSincos, FLOAT *, cosptr, a0, FLOAT, parm, d0, \
  14814. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14815. + #define IEEESPSinh(parm) \
  14816. +     LP1(0x3c, FLOAT, IEEESPSinh, FLOAT, parm, d0, \
  14817. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14818. + #define IEEESPSqrt(parm) \
  14819. +     LP1(0x60, FLOAT, IEEESPSqrt, FLOAT, parm, d0, \
  14820. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14821. + #define IEEESPTan(parm) \
  14822. +     LP1(0x30, FLOAT, IEEESPTan, FLOAT, parm, d0, \
  14823. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14824. + #define IEEESPTanh(parm) \
  14825. +     LP1(0x48, FLOAT, IEEESPTanh, FLOAT, parm, d0, \
  14826. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14827. + #define IEEESPTieee(parm) \
  14828. +     LP1(0x66, FLOAT, IEEESPTieee, FLOAT, parm, d0, \
  14829. +     , MATHIEEESINGTRANS_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14830. + #endif /* !_PPCINLINE_MATHIEEESINGTRANS_H */
  14831. diff -c2 -d -P -r include_h/powerup/ppcinline/misc.h includenew/powerup/ppcinline/misc.h
  14832. *** include_h/powerup/ppcinline/misc.h    Thu Jan  1 00:00:00 1970
  14833. --- includenew/powerup/ppcinline/misc.h    Wed Feb 14 02:41:21 2001
  14834. ***************
  14835. *** 0 ****
  14836. --- 1,22 ----
  14837. + /* Automatically generated header! Do not edit! */
  14838. + #ifndef _PPCINLINE_MISC_H
  14839. + #define _PPCINLINE_MISC_H
  14840. + #ifndef __PPCINLINE_MACROS_H
  14841. + #include <powerup/ppcinline/macros.h>
  14842. + #endif /* !__PPCINLINE_MACROS_H */
  14843. + #ifndef MISC_BASE_NAME
  14844. + #define MISC_BASE_NAME MiscBase
  14845. + #endif /* !MISC_BASE_NAME */
  14846. + #define AllocMiscResource(unitNum, name) \
  14847. +     LP2(0x6, UBYTE *, AllocMiscResource, unsigned long, unitNum, d0, UBYTE *, name, a1, \
  14848. +     , MISC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14849. + #define FreeMiscResource(unitNum) \
  14850. +     LP1NR(0xc, FreeMiscResource, unsigned long, unitNum, d0, \
  14851. +     , MISC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14852. + #endif /* !_PPCINLINE_MISC_H */
  14853. diff -c2 -d -P -r include_h/powerup/ppcinline/nonvolatile.h includenew/powerup/ppcinline/nonvolatile.h
  14854. *** include_h/powerup/ppcinline/nonvolatile.h    Thu Jan  1 00:00:00 1970
  14855. --- includenew/powerup/ppcinline/nonvolatile.h    Wed Feb 14 02:41:21 2001
  14856. ***************
  14857. *** 0 ****
  14858. --- 1,42 ----
  14859. + /* Automatically generated header! Do not edit! */
  14860. + #ifndef _PPCINLINE_NONVOLATILE_H
  14861. + #define _PPCINLINE_NONVOLATILE_H
  14862. + #ifndef __PPCINLINE_MACROS_H
  14863. + #include <powerup/ppcinline/macros.h>
  14864. + #endif /* !__PPCINLINE_MACROS_H */
  14865. + #ifndef NONVOLATILE_BASE_NAME
  14866. + #define NONVOLATILE_BASE_NAME NVBase
  14867. + #endif /* !NONVOLATILE_BASE_NAME */
  14868. + #define DeleteNV(appName, itemName, killRequesters) \
  14869. +     LP3(0x30, BOOL, DeleteNV, STRPTR, appName, a0, STRPTR, itemName, a1, long, killRequesters, d1, \
  14870. +     , NONVOLATILE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14871. + #define FreeNVData(data) \
  14872. +     LP1NR(0x24, FreeNVData, APTR, data, a0, \
  14873. +     , NONVOLATILE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14874. + #define GetCopyNV(appName, itemName, killRequesters) \
  14875. +     LP3(0x1e, APTR, GetCopyNV, STRPTR, appName, a0, STRPTR, itemName, a1, long, killRequesters, d1, \
  14876. +     , NONVOLATILE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14877. + #define GetNVInfo(killRequesters) \
  14878. +     LP1(0x36, struct NVInfo *, GetNVInfo, long, killRequesters, d1, \
  14879. +     , NONVOLATILE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14880. + #define GetNVList(appName, killRequesters) \
  14881. +     LP2(0x3c, struct MinList *, GetNVList, STRPTR, appName, a0, long, killRequesters, d1, \
  14882. +     , NONVOLATILE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14883. + #define SetNVProtection(appName, itemName, mask, killRequesters) \
  14884. +     LP4(0x42, BOOL, SetNVProtection, STRPTR, appName, a0, STRPTR, itemName, a1, long, mask, d2, long, killRequesters, d1, \
  14885. +     , NONVOLATILE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14886. + #define StoreNV(appName, itemName, data, length, killRequesters) \
  14887. +     LP5(0x2a, UWORD, StoreNV, STRPTR, appName, a0, STRPTR, itemName, a1, APTR, data, a2, unsigned long, length, d0, long, killRequesters, d1, \
  14888. +     , NONVOLATILE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14889. + #endif /* !_PPCINLINE_NONVOLATILE_H */
  14890. diff -c2 -d -P -r include_h/powerup/ppcinline/potgo.h includenew/powerup/ppcinline/potgo.h
  14891. *** include_h/powerup/ppcinline/potgo.h    Thu Jan  1 00:00:00 1970
  14892. --- includenew/powerup/ppcinline/potgo.h    Wed Feb 14 02:41:21 2001
  14893. ***************
  14894. *** 0 ****
  14895. --- 1,26 ----
  14896. + /* Automatically generated header! Do not edit! */
  14897. + #ifndef _PPCINLINE_POTGO_H
  14898. + #define _PPCINLINE_POTGO_H
  14899. + #ifndef __PPCINLINE_MACROS_H
  14900. + #include <powerup/ppcinline/macros.h>
  14901. + #endif /* !__PPCINLINE_MACROS_H */
  14902. + #ifndef POTGO_BASE_NAME
  14903. + #define POTGO_BASE_NAME PotgoBase
  14904. + #endif /* !POTGO_BASE_NAME */
  14905. + #define AllocPotBits(bits) \
  14906. +     LP1(0x6, UWORD, AllocPotBits, unsigned long, bits, d0, \
  14907. +     , POTGO_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14908. + #define FreePotBits(bits) \
  14909. +     LP1NR(0xc, FreePotBits, unsigned long, bits, d0, \
  14910. +     , POTGO_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14911. + #define WritePotgo(word, mask) \
  14912. +     LP2NR(0x12, WritePotgo, unsigned long, word, d0, unsigned long, mask, d1, \
  14913. +     , POTGO_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14914. + #endif /* !_PPCINLINE_POTGO_H */
  14915. diff -c2 -d -P -r include_h/powerup/ppcinline/ramdrive.h includenew/powerup/ppcinline/ramdrive.h
  14916. *** include_h/powerup/ppcinline/ramdrive.h    Thu Jan  1 00:00:00 1970
  14917. --- includenew/powerup/ppcinline/ramdrive.h    Wed Feb 14 02:41:21 2001
  14918. ***************
  14919. *** 0 ****
  14920. --- 1,22 ----
  14921. + /* Automatically generated header! Do not edit! */
  14922. + #ifndef _PPCINLINE_RAMDRIVE_H
  14923. + #define _PPCINLINE_RAMDRIVE_H
  14924. + #ifndef __PPCINLINE_MACROS_H
  14925. + #include <powerup/ppcinline/macros.h>
  14926. + #endif /* !__PPCINLINE_MACROS_H */
  14927. + #ifndef RAMDRIVE_BASE_NAME
  14928. + #define RAMDRIVE_BASE_NAME RamdriveDevice
  14929. + #endif /* !RAMDRIVE_BASE_NAME */
  14930. + #define KillRAD(unit) \
  14931. +     LP1(0x30, STRPTR, KillRAD, unsigned long, unit, d0, \
  14932. +     , RAMDRIVE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14933. + #define KillRAD0() \
  14934. +     LP0(0x2a, STRPTR, KillRAD0, \
  14935. +     , RAMDRIVE_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14936. + #endif /* !_PPCINLINE_RAMDRIVE_H */
  14937. diff -c2 -d -P -r include_h/powerup/ppcinline/realtime.h includenew/powerup/ppcinline/realtime.h
  14938. *** include_h/powerup/ppcinline/realtime.h    Thu Jan  1 00:00:00 1970
  14939. --- includenew/powerup/ppcinline/realtime.h    Wed Feb 14 02:41:21 2001
  14940. ***************
  14941. *** 0 ****
  14942. --- 1,69 ----
  14943. + /* Automatically generated header! Do not edit! */
  14944. + #ifndef _PPCINLINE_REALTIME_H
  14945. + #define _PPCINLINE_REALTIME_H
  14946. + #ifndef __PPCINLINE_MACROS_H
  14947. + #include <powerup/ppcinline/macros.h>
  14948. + #endif /* !__PPCINLINE_MACROS_H */
  14949. + #ifndef REALTIME_BASE_NAME
  14950. + #define REALTIME_BASE_NAME RealTimeBase
  14951. + #endif /* !REALTIME_BASE_NAME */
  14952. + #define CreatePlayerA(tagList) \
  14953. +     LP1(0x2a, struct Player *, CreatePlayerA, struct TagItem *, tagList, a0, \
  14954. +     , REALTIME_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14955. + #ifndef NO_PPCINLINE_STDARG
  14956. + #define CreatePlayer(tags...) \
  14957. +     ({ULONG _tags[] = { tags }; CreatePlayerA((struct TagItem *)_tags);})
  14958. + #endif /* !NO_PPCINLINE_STDARG */
  14959. + #define DeletePlayer(player) \
  14960. +     LP1NR(0x30, DeletePlayer, struct Player *, player, a0, \
  14961. +     , REALTIME_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14962. + #define ExternalSync(player, minTime, maxTime) \
  14963. +     LP3(0x42, BOOL, ExternalSync, struct Player *, player, a0, long, minTime, d0, long, maxTime, d1, \
  14964. +     , REALTIME_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14965. + #define FindConductor(name) \
  14966. +     LP1(0x4e, struct Conductor *, FindConductor, STRPTR, name, a0, \
  14967. +     , REALTIME_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14968. + #define GetPlayerAttrsA(player, tagList) \
  14969. +     LP2(0x54, ULONG, GetPlayerAttrsA, struct Player *, player, a0, struct TagItem *, tagList, a1, \
  14970. +     , REALTIME_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14971. + #ifndef NO_PPCINLINE_STDARG
  14972. + #define GetPlayerAttrs(a0, tags...) \
  14973. +     ({ULONG _tags[] = { tags }; GetPlayerAttrsA((a0), (struct TagItem *)_tags);})
  14974. + #endif /* !NO_PPCINLINE_STDARG */
  14975. + #define LockRealTime(lockType) \
  14976. +     LP1(0x1e, APTR, LockRealTime, unsigned long, lockType, d0, \
  14977. +     , REALTIME_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14978. + #define NextConductor(previousConductor) \
  14979. +     LP1(0x48, struct Conductor *, NextConductor, struct Conductor *, previousConductor, a0, \
  14980. +     , REALTIME_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14981. + #define SetConductorState(player, state, time) \
  14982. +     LP3(0x3c, LONG, SetConductorState, struct Player *, player, a0, unsigned long, state, d0, long, time, d1, \
  14983. +     , REALTIME_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14984. + #define SetPlayerAttrsA(player, tagList) \
  14985. +     LP2(0x36, BOOL, SetPlayerAttrsA, struct Player *, player, a0, struct TagItem *, tagList, a1, \
  14986. +     , REALTIME_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14987. + #ifndef NO_PPCINLINE_STDARG
  14988. + #define SetPlayerAttrs(a0, tags...) \
  14989. +     ({ULONG _tags[] = { tags }; SetPlayerAttrsA((a0), (struct TagItem *)_tags);})
  14990. + #endif /* !NO_PPCINLINE_STDARG */
  14991. + #define UnlockRealTime(lock) \
  14992. +     LP1NR(0x24, UnlockRealTime, APTR, lock, a0, \
  14993. +     , REALTIME_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  14994. + #endif /* !_PPCINLINE_REALTIME_H */
  14995. diff -c2 -d -P -r include_h/powerup/ppcinline/rexxsyslib.h includenew/powerup/ppcinline/rexxsyslib.h
  14996. *** include_h/powerup/ppcinline/rexxsyslib.h    Thu Jan  1 00:00:00 1970
  14997. --- includenew/powerup/ppcinline/rexxsyslib.h    Wed Feb 14 02:41:21 2001
  14998. ***************
  14999. *** 0 ****
  15000. --- 1,54 ----
  15001. + /* Automatically generated header! Do not edit! */
  15002. + #ifndef _PPCINLINE_REXXSYSLIB_H
  15003. + #define _PPCINLINE_REXXSYSLIB_H
  15004. + #ifndef __PPCINLINE_MACROS_H
  15005. + #include <powerup/ppcinline/macros.h>
  15006. + #endif /* !__PPCINLINE_MACROS_H */
  15007. + #ifndef REXXSYSLIB_BASE_NAME
  15008. + #define REXXSYSLIB_BASE_NAME RexxSysBase
  15009. + #endif /* !REXXSYSLIB_BASE_NAME */
  15010. + #define ClearRexxMsg(msgptr, count) \
  15011. +     LP2NR(0x9c, ClearRexxMsg, struct RexxMsg *, msgptr, a0, unsigned long, count, d0, \
  15012. +     , REXXSYSLIB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15013. + #define CreateArgstring(string, length) \
  15014. +     LP2(0x7e, UBYTE *, CreateArgstring, UBYTE *, string, a0, unsigned long, length, d0, \
  15015. +     , REXXSYSLIB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15016. + #define CreateRexxMsg(port, extension, host) \
  15017. +     LP3(0x90, struct RexxMsg *, CreateRexxMsg, struct MsgPort *, port, a0, UBYTE *, extension, a1, UBYTE *, host, d0, \
  15018. +     , REXXSYSLIB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15019. + #define DeleteArgstring(argstring) \
  15020. +     LP1NR(0x84, DeleteArgstring, UBYTE *, argstring, a0, \
  15021. +     , REXXSYSLIB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15022. + #define DeleteRexxMsg(packet) \
  15023. +     LP1NR(0x96, DeleteRexxMsg, struct RexxMsg *, packet, a0, \
  15024. +     , REXXSYSLIB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15025. + #define FillRexxMsg(msgptr, count, mask) \
  15026. +     LP3(0xa2, BOOL, FillRexxMsg, struct RexxMsg *, msgptr, a0, unsigned long, count, d0, unsigned long, mask, d1, \
  15027. +     , REXXSYSLIB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15028. + #define IsRexxMsg(msgptr) \
  15029. +     LP1(0xa8, BOOL, IsRexxMsg, struct RexxMsg *, msgptr, a0, \
  15030. +     , REXXSYSLIB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15031. + #define LengthArgstring(argstring) \
  15032. +     LP1(0x8a, ULONG, LengthArgstring, UBYTE *, argstring, a0, \
  15033. +     , REXXSYSLIB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15034. + #define LockRexxBase(resource) \
  15035. +     LP1NR(0x1c2, LockRexxBase, unsigned long, resource, d0, \
  15036. +     , REXXSYSLIB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15037. + #define UnlockRexxBase(resource) \
  15038. +     LP1NR(0x1c8, UnlockRexxBase, unsigned long, resource, d0, \
  15039. +     , REXXSYSLIB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15040. + #endif /* !_PPCINLINE_REXXSYSLIB_H */
  15041. diff -c2 -d -P -r include_h/powerup/ppcinline/stubs.h includenew/powerup/ppcinline/stubs.h
  15042. *** include_h/powerup/ppcinline/stubs.h    Thu Jan  1 00:00:00 1970
  15043. --- includenew/powerup/ppcinline/stubs.h    Wed Feb 14 02:41:21 2001
  15044. ***************
  15045. *** 0 ****
  15046. --- 1,141 ----
  15047. + #ifndef __INLINE_STUB_H
  15048. + #define __INLINE_STUB_H
  15049. + #ifndef EXEC_TYPES_H
  15050. + #include <exec/types.h>
  15051. + #endif
  15052. + #ifndef EXEC_NODES_H
  15053. + #include <exec/lists.h>
  15054. + #endif
  15055. + #ifndef DOS_DOS_H
  15056. + #include <dos/dos.h>
  15057. + #endif
  15058. + #ifndef INTUITION_CLASSES_H
  15059. + #include <intuition/classes.h>
  15060. + #endif
  15061. + #ifndef GRAPHICS_DISPLAYINFO_H
  15062. + #include <graphics/displayinfo.h>
  15063. + #endif
  15064. + #ifndef LIBRARIES_COMMODITIES_H
  15065. + #include <libraries/commodities.h>
  15066. + #endif
  15067. + struct AnchorPath;
  15068. + struct AnimOb;
  15069. + struct AreaInfo;
  15070. + struct BitMap;
  15071. + struct BitScaleArgs;
  15072. + struct Bob;
  15073. + struct Border;
  15074. + struct Catalog;
  15075. + struct CardHandle;
  15076. + struct ClipboardHandle;
  15077. + struct ClipRect;
  15078. + struct ClockData;
  15079. + struct ColorMap;
  15080. + struct ColorWheelRGB;
  15081. + struct ColorWheelHSB;
  15082. + struct ConfigDev;
  15083. + struct CSource;
  15084. + struct CopList;
  15085. + struct CurrentBinding;
  15086. + struct DataBase;
  15087. + struct DateStamp;
  15088. + struct DateTime;
  15089. + struct Device;
  15090. + struct DeviceNode;
  15091. + struct DeviceTData;
  15092. + struct DiskObject;
  15093. + struct DosLibrary;
  15094. + struct DosList;
  15095. + struct DevProc;
  15096. + struct DosPacket;
  15097. + struct DrawInfo;
  15098. + struct EasyStruct;
  15099. + struct EClockVal;
  15100. + struct ExAllControl;
  15101. + struct ExAllData;
  15102. + struct ExecBase;
  15103. + struct ExpansionBase;
  15104. + struct FileInfoBlock;
  15105. + struct FileLock;
  15106. + struct FileRequester;
  15107. + struct FontContentsHeader;
  15108. + struct FreeList;
  15109. + struct Gadget;
  15110. + struct GadgetInfo;
  15111. + struct GelsInfo;
  15112. + struct GlyphEngine;
  15113. + struct GlyphMap;
  15114. + struct GfxBase;
  15115. + struct HelpNode;
  15116. + struct Hook;
  15117. + struct IClass;
  15118. + struct Image;
  15119. + struct InfoData;
  15120. + struct InputEvent;
  15121. + struct Interrupt;
  15122. + struct IntuiText;
  15123. + struct IntuitionBase;
  15124. + struct IORequest;
  15125. + struct KeyMap;
  15126. + struct KeyQuery;
  15127. + struct Layer;
  15128. + struct Layer_Info;
  15129. + struct Library;
  15130. + struct List;
  15131. + struct Locale;
  15132. + struct LocaleBase;
  15133. + struct MathIEEEBase;
  15134. + struct MemHeader;
  15135. + struct MemList;
  15136. + struct Menu;
  15137. + struct MenuItem;
  15138. + struct Message;
  15139. + struct MiscResource;
  15140. + struct MsgPort;
  15141. + struct NamedObject;
  15142. + struct Node;
  15143. + struct NewAmigaGuide;
  15144. + struct NewGadget;
  15145. + struct NewMenu;
  15146. + struct NewScreen;
  15147. + struct NewWindow;
  15148. + struct NotifyRequest;
  15149. + struct Preferences;
  15150. + struct RDArgs;
  15151. + struct RastPort;
  15152. + struct RealTimeBase;
  15153. + struct RecordLock;
  15154. + struct Rectangle;
  15155. + struct Region;
  15156. + struct Remember;
  15157. + struct Requester;
  15158. + struct ReqToolsBase;
  15159. + struct Resident;
  15160. + struct RexxMsg;
  15161. + struct RomBootBase;
  15162. + struct RxsLib;
  15163. + struct Screen;
  15164. + struct Semaphore;
  15165. + struct SignalSemaphore;
  15166. + struct SimpleSprite;
  15167. + struct TagItem;
  15168. + struct Task;
  15169. + struct TextAttr;
  15170. + struct TextExtent;
  15171. + struct TextFont;
  15172. + struct timeval;
  15173. + struct UCopList;
  15174. + struct View;
  15175. + struct ViewPort;
  15176. + struct VSprite;
  15177. + struct WBObject;
  15178. + struct Window;
  15179. + struct bltnode;
  15180. + struct cprlist;
  15181. + struct gpLayout;
  15182. + struct dtPrint;
  15183. + #endif /* __INLINE_STUB_H */
  15184. diff -c2 -d -P -r include_h/powerup/ppcinline/timer.h includenew/powerup/ppcinline/timer.h
  15185. *** include_h/powerup/ppcinline/timer.h    Thu Jan  1 00:00:00 1970
  15186. --- includenew/powerup/ppcinline/timer.h    Wed Feb 14 02:41:21 2001
  15187. ***************
  15188. *** 0 ****
  15189. --- 1,34 ----
  15190. + /* Automatically generated header! Do not edit! */
  15191. + #ifndef _PPCINLINE_TIMER_H
  15192. + #define _PPCINLINE_TIMER_H
  15193. + #ifndef __PPCINLINE_MACROS_H
  15194. + #include <powerup/ppcinline/macros.h>
  15195. + #endif /* !__PPCINLINE_MACROS_H */
  15196. + #ifndef TIMER_BASE_NAME
  15197. + #define TIMER_BASE_NAME TimerBase
  15198. + #endif /* !TIMER_BASE_NAME */
  15199. + #define AddTime(dest, src) \
  15200. +     LP2NR(0x2a, AddTime, struct timeval *, dest, a0, struct timeval *, src, a1, \
  15201. +     , TIMER_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15202. + #define CmpTime(dest, src) \
  15203. +     LP2(0x36, LONG, CmpTime, struct timeval *, dest, a0, struct timeval *, src, a1, \
  15204. +     , TIMER_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15205. + #define GetSysTime(dest) \
  15206. +     LP1NR(0x42, GetSysTime, struct timeval *, dest, a0, \
  15207. +     , TIMER_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15208. + #define ReadEClock(dest) \
  15209. +     LP1(0x3c, ULONG, ReadEClock, struct EClockVal *, dest, a0, \
  15210. +     , TIMER_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15211. + #define SubTime(dest, src) \
  15212. +     LP2NR(0x30, SubTime, struct timeval *, dest, a0, struct timeval *, src, a1, \
  15213. +     , TIMER_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15214. + #endif /* !_PPCINLINE_TIMER_H */
  15215. diff -c2 -d -P -r include_h/powerup/ppcinline/translator.h includenew/powerup/ppcinline/translator.h
  15216. *** include_h/powerup/ppcinline/translator.h    Thu Jan  1 00:00:00 1970
  15217. --- includenew/powerup/ppcinline/translator.h    Wed Feb 14 02:41:21 2001
  15218. ***************
  15219. *** 0 ****
  15220. --- 1,18 ----
  15221. + /* Automatically generated header! Do not edit! */
  15222. + #ifndef _PPCINLINE_TRANSLATOR_H
  15223. + #define _PPCINLINE_TRANSLATOR_H
  15224. + #ifndef __PPCINLINE_MACROS_H
  15225. + #include <powerup/ppcinline/macros.h>
  15226. + #endif /* !__PPCINLINE_MACROS_H */
  15227. + #ifndef TRANSLATOR_BASE_NAME
  15228. + #define TRANSLATOR_BASE_NAME TranslatorBase
  15229. + #endif /* !TRANSLATOR_BASE_NAME */
  15230. + #define Translate(inputString, inputLength, outputBuffer, bufferSize) \
  15231. +     LP4(0x1e, LONG, Translate, STRPTR, inputString, a0, long, inputLength, d0, STRPTR, outputBuffer, a1, long, bufferSize, d1, \
  15232. +     , TRANSLATOR_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15233. + #endif /* !_PPCINLINE_TRANSLATOR_H */
  15234. diff -c2 -d -P -r include_h/powerup/ppcinline/utility.h includenew/powerup/ppcinline/utility.h
  15235. *** include_h/powerup/ppcinline/utility.h    Thu Jan  1 00:00:00 1970
  15236. --- includenew/powerup/ppcinline/utility.h    Wed Feb 14 02:41:21 2001
  15237. ***************
  15238. *** 0 ****
  15239. --- 1,171 ----
  15240. + /* Automatically generated header! Do not edit! */
  15241. + #ifndef _PPCINLINE_UTILITY_H
  15242. + #define _PPCINLINE_UTILITY_H
  15243. + #ifndef __PPCINLINE_MACROS_H
  15244. + #include <powerup/ppcinline/macros.h>
  15245. + #endif /* !__PPCINLINE_MACROS_H */
  15246. + #ifndef UTILITY_BASE_NAME
  15247. + #define UTILITY_BASE_NAME UtilityBase
  15248. + #endif /* !UTILITY_BASE_NAME */
  15249. + #define AddNamedObject(nameSpace, object) \
  15250. +     LP2(0xde, BOOL, AddNamedObject, struct NamedObject *, nameSpace, a0, struct NamedObject *, object, a1, \
  15251. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15252. + #define AllocNamedObjectA(name, tagList) \
  15253. +     LP2(0xe4, struct NamedObject *, AllocNamedObjectA, STRPTR, name, a0, struct TagItem *, tagList, a1, \
  15254. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15255. + #ifndef NO_PPCINLINE_STDARG
  15256. + #define AllocNamedObject(a0, tags...) \
  15257. +     ({ULONG _tags[] = { tags }; AllocNamedObjectA((a0), (struct TagItem *)_tags);})
  15258. + #endif /* !NO_PPCINLINE_STDARG */
  15259. + #define AllocateTagItems(numTags) \
  15260. +     LP1(0x42, struct TagItem *, AllocateTagItems, unsigned long, numTags, d0, \
  15261. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15262. + #define Amiga2Date(seconds, result) \
  15263. +     LP2NR(0x78, Amiga2Date, unsigned long, seconds, d0, struct ClockData *, result, a0, \
  15264. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15265. + #define ApplyTagChanges(list, changeList) \
  15266. +     LP2NR(0xba, ApplyTagChanges, struct TagItem *, list, a0, struct TagItem *, changeList, a1, \
  15267. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15268. + #define AttemptRemNamedObject(object) \
  15269. +     LP1(0xea, LONG, AttemptRemNamedObject, struct NamedObject *, object, a0, \
  15270. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15271. + #define CallHookPkt(hook, object, paramPacket) \
  15272. +     LP3(0x66, ULONG, CallHookPkt, struct Hook *, hook, a0, APTR, object, a2, APTR, paramPacket, a1, \
  15273. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15274. + #define CheckDate(date) \
  15275. +     LP1(0x84, ULONG, CheckDate, struct ClockData *, date, a0, \
  15276. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15277. + #define CloneTagItems(tagList) \
  15278. +     LP1(0x48, struct TagItem *, CloneTagItems, struct TagItem *, tagList, a0, \
  15279. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15280. + #define Date2Amiga(date) \
  15281. +     LP1(0x7e, ULONG, Date2Amiga, struct ClockData *, date, a0, \
  15282. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15283. + #define FilterTagChanges(changeList, originalList, apply) \
  15284. +     LP3NR(0x36, FilterTagChanges, struct TagItem *, changeList, a0, struct TagItem *, originalList, a1, unsigned long, apply, d0, \
  15285. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15286. + #define FilterTagItems(tagList, filterArray, logic) \
  15287. +     LP3(0x60, ULONG, FilterTagItems, struct TagItem *, tagList, a0, Tag *, filterArray, a1, unsigned long, logic, d0, \
  15288. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15289. + #define FindNamedObject(nameSpace, name, lastObject) \
  15290. +     LP3(0xf0, struct NamedObject *, FindNamedObject, struct NamedObject *, nameSpace, a0, STRPTR, name, a1, struct NamedObject *, lastObject, a2, \
  15291. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15292. + #define FindTagItem(tagVal, tagList) \
  15293. +     LP2(0x1e, struct TagItem *, FindTagItem, Tag, tagVal, d0, struct TagItem *, tagList, a0, \
  15294. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15295. + #define FreeNamedObject(object) \
  15296. +     LP1NR(0xf6, FreeNamedObject, struct NamedObject *, object, a0, \
  15297. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15298. + #define FreeTagItems(tagList) \
  15299. +     LP1NR(0x4e, FreeTagItems, struct TagItem *, tagList, a0, \
  15300. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15301. + #define GetTagData(tagValue, defaultVal, tagList) \
  15302. +     LP3(0x24, ULONG, GetTagData, Tag, tagValue, d0, unsigned long, defaultVal, d1, struct TagItem *, tagList, a0, \
  15303. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15304. + #define GetUniqueID() \
  15305. +     LP0(0x10e, ULONG, GetUniqueID, \
  15306. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15307. + #define MapTags(tagList, mapList, mapType) \
  15308. +     LP3NR(0x3c, MapTags, struct TagItem *, tagList, a0, struct TagItem *, mapList, a1, unsigned long, mapType, d0, \
  15309. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15310. + #define NamedObjectName(object) \
  15311. +     LP1(0xfc, STRPTR, NamedObjectName, struct NamedObject *, object, a0, \
  15312. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15313. + #define NextTagItem(tagListPtr) \
  15314. +     LP1(0x30, struct TagItem *, NextTagItem, struct TagItem **, tagListPtr, a0, \
  15315. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15316. + #define PackBoolTags(initialFlags, tagList, boolMap) \
  15317. +     LP3(0x2a, ULONG, PackBoolTags, unsigned long, initialFlags, d0, struct TagItem *, tagList, a0, struct TagItem *, boolMap, a1, \
  15318. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15319. + #define PackStructureTags(pack, packTable, tagList) \
  15320. +     LP3(0xd2, ULONG, PackStructureTags, APTR, pack, a0, ULONG *, packTable, a1, struct TagItem *, tagList, a2, \
  15321. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15322. + #define RefreshTagItemClones(clone, original) \
  15323. +     LP2NR(0x54, RefreshTagItemClones, struct TagItem *, clone, a0, struct TagItem *, original, a1, \
  15324. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15325. + #define ReleaseNamedObject(object) \
  15326. +     LP1NR(0x102, ReleaseNamedObject, struct NamedObject *, object, a0, \
  15327. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15328. + #define RemNamedObject(object, message) \
  15329. +     LP2NR(0x108, RemNamedObject, struct NamedObject *, object, a0, struct Message *, message, a1, \
  15330. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15331. + #define SDivMod32(dividend, divisor) \
  15332. +     LP2(0x96, LONG, SDivMod32, long, dividend, d0, long, divisor, d1, \
  15333. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15334. + #define SMult32(arg1, arg2) \
  15335. +     LP2(0x8a, LONG, SMult32, long, arg1, d0, long, arg2, d1, \
  15336. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15337. + #define SMult64(arg1, arg2) \
  15338. +     LP2(0xc6, LONG, SMult64, long, arg1, d0, long, arg2, d1, \
  15339. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15340. + #define Stricmp(string1, string2) \
  15341. +     LP2(0xa2, LONG, Stricmp, STRPTR, string1, a0, STRPTR, string2, a1, \
  15342. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15343. + #define Strnicmp(string1, string2, length) \
  15344. +     LP3(0xa8, LONG, Strnicmp, STRPTR, string1, a0, STRPTR, string2, a1, long, length, d0, \
  15345. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15346. + #define TagInArray(tagValue, tagArray) \
  15347. +     LP2(0x5a, BOOL, TagInArray, Tag, tagValue, d0, Tag *, tagArray, a0, \
  15348. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15349. + #define ToLower(character) \
  15350. +     LP1(0xb4, UBYTE, ToLower, unsigned long, character, d0, \
  15351. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15352. + #define ToUpper(character) \
  15353. +     LP1(0xae, UBYTE, ToUpper, unsigned long, character, d0, \
  15354. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15355. + #define UDivMod32(dividend, divisor) \
  15356. +     LP2(0x9c, ULONG, UDivMod32, unsigned long, dividend, d0, unsigned long, divisor, d1, \
  15357. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15358. + #define UMult32(arg1, arg2) \
  15359. +     LP2(0x90, ULONG, UMult32, unsigned long, arg1, d0, unsigned long, arg2, d1, \
  15360. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15361. + #define UMult64(arg1, arg2) \
  15362. +     LP2(0xcc, ULONG, UMult64, unsigned long, arg1, d0, unsigned long, arg2, d1, \
  15363. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15364. + #define UnpackStructureTags(pack, packTable, tagList) \
  15365. +     LP3(0xd8, ULONG, UnpackStructureTags, APTR, pack, a0, ULONG *, packTable, a1, struct TagItem *, tagList, a2, \
  15366. +     , UTILITY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15367. + #endif /* !_PPCINLINE_UTILITY_H */
  15368. diff -c2 -d -P -r include_h/powerup/ppcinline/wb.h includenew/powerup/ppcinline/wb.h
  15369. *** include_h/powerup/ppcinline/wb.h    Thu Jan  1 00:00:00 1970
  15370. --- includenew/powerup/ppcinline/wb.h    Wed Feb 14 02:41:22 2001
  15371. ***************
  15372. *** 0 ****
  15373. --- 1,57 ----
  15374. + /* Automatically generated header! Do not edit! */
  15375. + #ifndef _PPCINLINE_WB_H
  15376. + #define _PPCINLINE_WB_H
  15377. + #ifndef __PPCINLINE_MACROS_H
  15378. + #include <powerup/ppcinline/macros.h>
  15379. + #endif /* !__PPCINLINE_MACROS_H */
  15380. + #ifndef WB_BASE_NAME
  15381. + #define WB_BASE_NAME WorkbenchBase
  15382. + #endif /* !WB_BASE_NAME */
  15383. + #define AddAppIconA(id, userdata, text, msgport, lock, diskobj, taglist) \
  15384. +     LP7A4(0x3c, struct AppIcon *, AddAppIconA, unsigned long, id, d0, unsigned long, userdata, d1, UBYTE *, text, a0, struct MsgPort *, msgport, a1, struct FileLock *, lock, a2, struct DiskObject *, diskobj, a3, struct TagItem *, taglist, d7, \
  15385. +     , WB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15386. + #ifndef NO_PPCINLINE_STDARG
  15387. + #define AddAppIcon(a0, a1, a2, a3, a4, a5, tags...) \
  15388. +     ({ULONG _tags[] = { tags }; AddAppIconA((a0), (a1), (a2), (a3), (a4), (a5), (struct TagItem *)_tags);})
  15389. + #endif /* !NO_PPCINLINE_STDARG */
  15390. + #define AddAppMenuItemA(id, userdata, text, msgport, taglist) \
  15391. +     LP5(0x48, struct AppMenuItem *, AddAppMenuItemA, unsigned long, id, d0, unsigned long, userdata, d1, UBYTE *, text, a0, struct MsgPort *, msgport, a1, struct TagItem *, taglist, a2, \
  15392. +     , WB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15393. + #ifndef NO_PPCINLINE_STDARG
  15394. + #define AddAppMenuItem(a0, a1, a2, a3, tags...) \
  15395. +     ({ULONG _tags[] = { tags }; AddAppMenuItemA((a0), (a1), (a2), (a3), (struct TagItem *)_tags);})
  15396. + #endif /* !NO_PPCINLINE_STDARG */
  15397. + #define AddAppWindowA(id, userdata, window, msgport, taglist) \
  15398. +     LP5(0x30, struct AppWindow *, AddAppWindowA, unsigned long, id, d0, unsigned long, userdata, d1, struct Window *, window, a0, struct MsgPort *, msgport, a1, struct TagItem *, taglist, a2, \
  15399. +     , WB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15400. + #ifndef NO_PPCINLINE_STDARG
  15401. + #define AddAppWindow(a0, a1, a2, a3, tags...) \
  15402. +     ({ULONG _tags[] = { tags }; AddAppWindowA((a0), (a1), (a2), (a3), (struct TagItem *)_tags);})
  15403. + #endif /* !NO_PPCINLINE_STDARG */
  15404. + #define RemoveAppIcon(appIcon) \
  15405. +     LP1(0x42, BOOL, RemoveAppIcon, struct AppIcon *, appIcon, a0, \
  15406. +     , WB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15407. + #define RemoveAppMenuItem(appMenuItem) \
  15408. +     LP1(0x4e, BOOL, RemoveAppMenuItem, struct AppMenuItem *, appMenuItem, a0, \
  15409. +     , WB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15410. + #define RemoveAppWindow(appWindow) \
  15411. +     LP1(0x36, BOOL, RemoveAppWindow, struct AppWindow *, appWindow, a0, \
  15412. +     , WB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15413. + #define WBInfo(lock, name, screen) \
  15414. +     LP3NR(0x5a, WBInfo, BPTR, lock, a0, STRPTR, name, a1, struct Screen *, screen, a2, \
  15415. +     , WB_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  15416. + #endif /* !_PPCINLINE_WB_H */
  15417. diff -c2 -d -P -r include_h/powerup/ppclib/interface.h includenew/powerup/ppclib/interface.h
  15418. *** include_h/powerup/ppclib/interface.h    Thu Jan  1 00:00:00 1970
  15419. --- includenew/powerup/ppclib/interface.h    Wed Feb 14 02:41:22 2001
  15420. ***************
  15421. *** 0 ****
  15422. --- 1,166 ----
  15423. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  15424. + #define POWERUP_PPCLIB_INTERFACE_H
  15425. + #include <exec/types.h>
  15426. + /*
  15427. +  * Structure which is used on the PPC side to call
  15428. +  * AmigaOS library functions or sub routines.
  15429. +  *
  15430. +  */
  15431. + /*****************************/
  15432. + /* About the CacheMode field */
  15433. + /*****************************/
  15434. + /*
  15435. +  * For calling functions from the PPC under M68k AmigaOS or for
  15436. +  * calling functions on the PPC Supervisor mode you have to care
  15437. +  * for the cache issues. Please read the Cache chapter in the
  15438. +  * docs/powerup.guide about the cache problems involved.
  15439. +  * If you do something wrong here you can expect that you loose
  15440. +  * data, get wrong data or simply crash the machine.
  15441. +  *
  15442. +  * IF_CACHEFLUSHNO:
  15443. +  * You use this mode for the cpu if your function
  15444. +  * touches no memory both cpus use.
  15445. +  *
  15446. +  * Example: Close(File)
  15447. +  *          If you call this function by the PPC there`s no need
  15448. +  *          to flush the cache because the PPC isn`t allowed to
  15449. +  *          touch any memory which has to do with the File BPTR.
  15450. +  * ATTENTION:
  15451. +  *          The PPC MUST NOT be used to poke into AmigaOS system
  15452. +  *          structures.
  15453. +  *
  15454. +  * IF_CACHEFLUSHALL:
  15455. +  * You use this mode for the cpu if your function
  15456. +  * touches memory both cpus use and it`s no simple memory area
  15457. +  * which may be flushed individually. This should be used by default.
  15458. +  *
  15459. +  * Example: OpenWindowTagList(NewWindow,TagList)
  15460. +  *          Here you pass a complex data structure which may use
  15461. +  *          memory areas at several different areas.
  15462. +  *
  15463. +  * IF_CACHEFLUSHAREA:
  15464. +  * You use this mode for the cpu if your function
  15465. +  * touches memory both cpus use and it`s a memory area which isn`t
  15466. +  * very big. It depends on the size and how many lines are dirty
  15467. +  * if this is faster than IF_CACHEFLUSHALL.
  15468. +  * With the Start and Length fields of each cpu you can define
  15469. +  * the area.
  15470. +  *
  15471. +  * Example: Write(File,Address,Length)
  15472. +  *          When the PPC runs this function the PPC must make sure
  15473. +  *          that all data in the to be written memory area is in
  15474. +  *          in the memory and not only in the cache.
  15475. +  *
  15476. +  * IF_CACHEINVALIDAREA: (V45)
  15477. +  * You use this mode for the cpu if your function
  15478. +  * touches memory both cpus use and it`s a memory area where you
  15479. +  * don`t care for valid data anymore.
  15480. +  * With the Start and Length fields of each cpu you can define
  15481. +  * the area.
  15482. +  *
  15483. +  * Example: Read(File,Address,Length)
  15484. +  *          When the PPC runs this function the PPC has no need
  15485. +  *          anymore for anything which is in its cache for the
  15486. +  *          area the Address and Length define, so you could
  15487. +  *          invalidate this instead of doing a cacheflush which
  15488. +  *          may write back dirty lines.
  15489. +  *          Be VERY careful about this.
  15490. +  *
  15491. +  * ATTENTION! The Address must be 32Byte aligned, so you should always
  15492. +  * use PPCAllocMem for data which is used on the M68k and PPC
  15493. +  * You are NOT allowed to use normal pools for exchanging data between
  15494. +  * the M68k and PPC.
  15495. +  *
  15496. +  * IF_ASYNC: (V45)
  15497. +  * If you use this flag, the function is called asynchronous and
  15498. +  * the PPC doesn`t have to wait for a result.
  15499. +  * This flag is only checked in the M68kCacheMode field.
  15500. +  * This also means that the result of the PPCCall#? function
  15501. +  * is meaningless.
  15502. +  * Normally this flag doesn`t really fit into a CacheMode flag, but
  15503. +  * well..too bad i haven`t declared another flag field there.
  15504. +  */
  15505. + struct Caos
  15506. + {
  15507. +     union
  15508. +     {
  15509. +         int    Offset;
  15510. +         APTR    Function;
  15511. +     } caos_Un;
  15512. +     ULONG    M68kCacheMode;
  15513. +     APTR    M68kStart;
  15514. +     ULONG    M68kLength;
  15515. +     ULONG    PPCCacheMode;
  15516. +     APTR    PPCStart;
  15517. +     ULONG    PPCLength;
  15518. +     ULONG    d0;
  15519. +     ULONG    d1;
  15520. +     ULONG    d2;
  15521. +     ULONG    d3;
  15522. +     ULONG    d4;
  15523. +     ULONG    d5;
  15524. +     ULONG    d6;
  15525. +     ULONG    d7;
  15526. +     ULONG    a0;
  15527. +     ULONG    a1;
  15528. +     ULONG    a2;
  15529. +     ULONG    a3;
  15530. +     ULONG    a4;
  15531. +     ULONG    a5;
  15532. + /*
  15533. +  * here you have to put the LibBasePtr if you want
  15534. +  * to call a Library.
  15535. +  */
  15536. +     ULONG    a6;
  15537. + };
  15538. + #define    IF_CACHEFLUSHNO        0
  15539. + #define    IF_CACHEFLUSHALL    1
  15540. + #define    IF_CACHEFLUSHAREA    2
  15541. + #define    IF_CACHEINVALIDAREA    4
  15542. + #define    IF_ASYNC        0x10000
  15543. + /*
  15544. +  * Structure which is used on the M68k side to run
  15545. +  * a Kernel Supervisor ElfObject. During this time
  15546. +  * the multitasking on the PPC stops
  15547. +  * PPCRunKernelModule() ONLY !!!!!!!!!!!!!!!!!!!!!
  15548. +  * If you set IF_CACHEASYNC in PPCCacheMode the operation
  15549. +  * doesn`t return a valid result as it`s asynchron.
  15550. +  */
  15551. + struct ModuleArgs
  15552. + {
  15553. +     ULONG    M68kCacheMode;
  15554. +     APTR    M68kStart;
  15555. +     ULONG    M68kLength;
  15556. +     ULONG    PPCCacheMode;
  15557. +     APTR    PPCStart;
  15558. +     ULONG    PPCLength;
  15559. +     ULONG    Arg1;    /* GPR3=C Integer Arg1  */
  15560. +     ULONG    Arg2;    /* GPR4=C Integer Arg2  */
  15561. +     ULONG    Arg3;    /* GPR5=C Integer Arg3  */
  15562. +     ULONG    Arg4;    /* GPR6=C Integer Arg4  */
  15563. +     ULONG    Arg5;    /* GPR7=C Integer Arg5  */
  15564. +     ULONG    Arg6;    /* GPR8=C Integer Arg6  */
  15565. +     ULONG    Arg7;    /* GPR9=C Integer Arg7  */
  15566. +     ULONG    Arg8;    /* GPR10=C Integer Arg8 */
  15567. +     DOUBLE    FArg1;    /* FPR1=C FPU Arg1 */
  15568. +     DOUBLE    FArg2;    /* FPR2=C FPU Arg2 */
  15569. +     DOUBLE    FArg3;    /* FPR3=C FPU Arg3 */
  15570. +     DOUBLE    FArg4;    /* FPR4=C FPU Arg4 */
  15571. +     DOUBLE    FArg5;    /* FPR5=C FPU Arg5 */
  15572. +     DOUBLE    FArg6;    /* FPR6=C FPU Arg6 */
  15573. +     DOUBLE    FArg7;    /* FPR7=C FPU Arg7 */
  15574. +     DOUBLE    FArg8;    /* FPR8=C FPU Arg8 */
  15575. + };
  15576. + #endif
  15577. diff -c2 -d -P -r include_h/powerup/ppclib/interface.i includenew/powerup/ppclib/interface.i
  15578. *** include_h/powerup/ppclib/interface.i    Thu Jan  1 00:00:00 1970
  15579. --- includenew/powerup/ppclib/interface.i    Wed Feb 14 02:41:22 2001
  15580. ***************
  15581. *** 0 ****
  15582. --- 1,157 ----
  15583. +     IFND POWERUP_PPCLIB_INTERFACES_I
  15584. + POWERUP_PPCLIB_INTERFACES_I    SET    1
  15585. +     include    "exec/types.i"
  15586. + ;/*
  15587. + ; * Structure which is used on the PPC side to call
  15588. + ; * AmigaOS library functions or sub routines.
  15589. + ; *
  15590. + ; */
  15591. + ;/*****************************/
  15592. + ;/* About the CacheMode field */
  15593. + ;/*****************************/
  15594. + ;/*
  15595. + ; * For calling functions from the PPC under M68k AmigaOS or for
  15596. + ; * calling functions on the PPC Supervisor mode you have to care
  15597. + ; * for the cache issues. Please read the Cache chapter in the
  15598. + ; * docs/powerup.guide about the cache problems involved.
  15599. + ; * If you do something wrong here you can expect that you loose
  15600. + ; * data, get wrong data or simply crash the machine.
  15601. + ; *
  15602. + ; * IF_CACHEFLUSHNO:
  15603. + ; * You use this mode for the cpu if your function
  15604. + ; * touches no memory both cpus use.
  15605. + ; *
  15606. + ; * Example: Close(File)
  15607. + ; *          If you call this function by the PPC there`s no need
  15608. + ; *          to flush the cache because the PPC isn`t allowed to
  15609. + ; *          touch any memory which has to do with the File BPTR.
  15610. + ; * ATTENTION:
  15611. + ; *          The PPC MUST NOT be used to poke into AmigaOS system
  15612. + ; *          structures.
  15613. + ; *
  15614. + ; * IF_CACHEFLUSHALL:
  15615. + ; * You use this mode for the cpu if your function
  15616. + ; * touches memory both cpus use and it`s no simple memory area
  15617. + ; * which may be flushed individually. This should be used by default.
  15618. + ; *
  15619. + ; * Example: OpenWindowTagList(NewWindow,TagList)
  15620. + ; *          Here you pass a complex data structure which may use
  15621. + ; *          memory areas at several different areas.
  15622. + ; *
  15623. + ; * IF_CACHEFLUSHAREA:
  15624. + ; * You use this mode for the cpu if your function
  15625. + ; * touches memory both cpus use and it`s a memory area which isn`t
  15626. + ; * very big. It depends on the size and how many lines are dirty
  15627. + ; * if this is faster than IF_CACHEFLUSHALL.
  15628. + ; * With the Start and Length fields of each cpu you can define
  15629. + ; * the area.
  15630. + ; *
  15631. + ; * Example: Write(File,Address,Length)
  15632. + ; *          When the PPC runs this function the PPC must make sure
  15633. + ; *          that all data in the to be written memory area is in
  15634. + ; *          in the memory and not only in the cache.
  15635. + ; *
  15636. + ; * IF_CACHEINVALIDAREA: (V45)
  15637. + ; * You use this mode for the cpu if your function
  15638. + ; * touches memory both cpus use and it`s a memory area where you
  15639. + ; * don`t care for valid data anymore.
  15640. + ; * With the Start and Length fields of each cpu you can define
  15641. + ; * the area.
  15642. + ; *
  15643. + ; * Example: Read(File,Address,Length)
  15644. + ; *          When the PPC runs this function the PPC has no need
  15645. + ; *          anymore for anything which is in its cache for the
  15646. + ; *          area the Address and Length define, so you could
  15647. + ; *          invalidate this instead of doing a cacheflush which
  15648. + ; *          may write back dirty lines.
  15649. + ; *          Be VERY careful about this.
  15650. + ; *
  15651. + ; * ATTENTION! The Address must be 32Byte aligned, so you should always
  15652. + ; * use PPCAllocMem for data which is used on the M68k and PPC
  15653. + ; * You are NOT allowed to use normal pools for exchanging data between
  15654. + ; * the M68k and PPC.
  15655. + ; *
  15656. + ; * IF_ASYNC: (V45)
  15657. + ; * If you use this flag, the function is called asynchronous and
  15658. + ; * the PPC doesn`t have to wait for a result.
  15659. + ; * This flag is only checked in the M68kCacheMode field.
  15660. + ; * This also means that the result of the PPCCall#? function
  15661. + ; * is meaningless.
  15662. + ; * Normally this flag doesn`t really fit into a CacheMode flag, but
  15663. + ; * well..too bad i haven`t declared another flag field there.
  15664. + ; */
  15665. +     STRUCTURE    Caos,0
  15666. +     LABEL    caos_Function
  15667. +     LONG    caos_Offset
  15668. +     ULONG    caos_M68kCacheMode;
  15669. +     APTR    caos_M68kStart;
  15670. +     ULONG    caos_M68kLength;
  15671. +     ULONG    caos_PPCCacheMode;
  15672. +     APTR    caos_PPCStart;
  15673. +     ULONG    caos_PPCLength;
  15674. +     ULONG    caos_d0
  15675. +     ULONG    caos_d1
  15676. +     ULONG    caos_d2
  15677. +     ULONG    caos_d3
  15678. +     ULONG    caos_d4
  15679. +     ULONG    caos_d5
  15680. +     ULONG    caos_d6
  15681. +     ULONG    caos_d7
  15682. +     ULONG    caos_a0
  15683. +     ULONG    caos_a1
  15684. +     ULONG    caos_a2
  15685. +     ULONG    caos_a3
  15686. +     ULONG    caos_a4
  15687. +     ULONG    caos_a5
  15688. +     ULONG    caos_a6
  15689. +     LABEL    caos_SIZE
  15690. + IF_CACHEFLUSHNO        =    0
  15691. + IF_CACHEFLUSHALL    =    1
  15692. + IF_CACHEFLUSHAREA    =    2
  15693. + IF_CACHEINVALIDAREA    =    4
  15694. + IF_ASYNC        =    $10000
  15695. + ;/*
  15696. + ; * Structure which is used on the M68k side to run
  15697. + ; * a Kernel Supervisor ElfObject. During this time
  15698. + ; * the multitasking on the PPC stop
  15699. + ; * Better allocate this struct by PPCAllocMem to get
  15700. + ; * a Cache Line and FPU data alignment which is an
  15701. + ; * automatic effect
  15702. + ; * PPCRunKernelModule() ONLY !!!!!!!!!!!!!!!!!!!!!
  15703. + ; * If you set IF_CACHEASYNC in PPCCacheMode the operation
  15704. + ; * doesn`t return a valid result as it`s asynchron.
  15705. + ; */
  15706. +     STRUCTURE    ModuleArgs,0
  15707. +     ULONG        ma_M68kCacheMode;
  15708. +     APTR        ma_M68kStart;
  15709. +     ULONG        ma_M68kLength;
  15710. +     ULONG        ma_PPCCacheMode;
  15711. +     APTR        ma_PPCStart;
  15712. +     ULONG        ma_PPCLength;
  15713. +     ULONG        ma_Arg1    ;/* Gpr3=C Arg1 */
  15714. +     ULONG        ma_Arg2    ;/* Gpr4=C Arg2  */
  15715. +     ULONG        ma_Arg3    ;/* Gpr5=C Arg3  */
  15716. +     ULONG        ma_Arg4    ;/* Gpr6=C Arg4  */
  15717. +     ULONG        ma_Arg5    ;/* Gpr7=C Arg5  */
  15718. +     ULONG        ma_Arg6    ;/* Gpr8=C Arg6  */
  15719. +     ULONG        ma_Arg7    ;/* Gpr9=C Arg7  */
  15720. +     ULONG        ma_Arg8    ;/* Gpr10=C Arg8 */
  15721. +     DOUBLE        ma_FArg1;/* FPR1=C FPU Arg1 */
  15722. +     DOUBLE        ma_FArg2;/* FPR2=C FPU Arg2 */
  15723. +     DOUBLE        ma_FArg3;/* FPR3=C FPU Arg3 */
  15724. +     DOUBLE        ma_FArg4;/* FPR4=C FPU Arg4 */
  15725. +     DOUBLE        ma_FArg5;/* FPR5=C FPU Arg5 */
  15726. +     DOUBLE        ma_FArg6;/* FPR6=C FPU Arg6 */
  15727. +     DOUBLE        ma_FArg7;/* FPR7=C FPU Arg7 */
  15728. +     DOUBLE        ma_FArg8;/* FPR8=C FPU Arg8 */
  15729. +     LABEL        ModuleArgs_SIZEOF
  15730. +     ENDC
  15731. diff -c2 -d -P -r include_h/powerup/ppclib/memory.h includenew/powerup/ppclib/memory.h
  15732. *** include_h/powerup/ppclib/memory.h    Thu Jan  1 00:00:00 1970
  15733. --- includenew/powerup/ppclib/memory.h    Wed Feb 14 02:41:22 2001
  15734. ***************
  15735. *** 0 ****
  15736. --- 1,58 ----
  15737. + #ifndef POWERUP_PPCLIB_MEMORY_H
  15738. + #define POWERUP_PPCLIB_MEMORY_H
  15739. + /* Allocate Memory with the Pages marked as writethrough
  15740. +    on the PPC. This means the whole memory size which is allocated
  15741. +    is aligned to 4k pages. So you better use Pools.
  15742. +  */
  15743. +    
  15744. + #define MEMF_WRITETHROUGHPPC    (1L<<22)    /* WriteThrough Pools */
  15745. + /* Allocate Memory with the Pages marked as writethrough
  15746. +    on the PPC. This means the whole memory size which is allocated
  15747. +    is aligned to 4k pages. So you better use Pools.
  15748. +    (V46)
  15749. +  */
  15750. +    
  15751. + #define MEMF_WRITETHROUGHM68K    (1L<<23)    /* WriteThrough Pools */
  15752. + /* Allocate Memory with the Pages marked as NOCACHE (not synchronisized)
  15753. +    on the PPC. This means the whole memory size which is allocated
  15754. +    is aligned to 4k pages. So you better use Pools.
  15755. +    (V46)
  15756. +  */
  15757. +    
  15758. + #define MEMF_NOCACHEPPC        (1L<<24)    /* NoCache Pools */
  15759. + /* Allocate Memory with the Pages marked as NOCACHE
  15760. +    on the M68k. This means the whole memory size which is allocated
  15761. +    is aligned to 4k pages. So you better use Pools.
  15762. +    (V46)
  15763. +  */
  15764. + #define MEMF_NOCACHEM68K    (1L<<25)    /* NoCache Pools */
  15765. + /* Allocate Memory with the Pages marked as NOCACHE GUARD(synchronisized)
  15766. +    on the PPC. This means the whole memory size which is allocated
  15767. +    is aligned to 4k pages. So you better use Pools.
  15768. +    (V46)
  15769. +  */
  15770. +    
  15771. + #define MEMF_NOCACHESYNCPPC    (1L<<29)    /* NoCache synchronized Pools */
  15772. + /* Allocate Memory with the Pages marked as NOCACHE synchronisized
  15773. +    on the M68k. This means the whole memory size which is allocated
  15774. +    is aligned to 4k pages. So you better use Pools.
  15775. +  */
  15776. + #define MEMF_NOCACHESYNCM68K    (1L<<30)    /* NoCache synchronized Pools */
  15777. + #define MEMF_PPCMASK        (MEMF_NOCACHEPPC |        \
  15778. +                                  MEMF_NOCACHEM68K |        \
  15779. +                                  MEMF_NOCACHESYNCPPC |        \
  15780. +                                  MEMF_NOCACHESYNCM68K |        \
  15781. +                                  MEMF_WRITETHROUGHPPC |        \
  15782. +                                  MEMF_WRITETHROUGHM68K)
  15783. + #endif
  15784. diff -c2 -d -P -r include_h/powerup/ppclib/message.h includenew/powerup/ppclib/message.h
  15785. *** include_h/powerup/ppclib/message.h    Thu Jan  1 00:00:00 1970
  15786. --- includenew/powerup/ppclib/message.h    Wed Feb 14 02:41:22 2001
  15787. ***************
  15788. *** 0 ****
  15789. --- 1,54 ----
  15790. + #ifndef POWERUP_PPCLIB_MESSAGE_H
  15791. + #define POWERUP_PPCLIB_MESSAGE_H
  15792. + #include <utility/tagitem.h>
  15793. + /* This file should be used under SAS and GCC
  15794. +  */
  15795. + #define    PPCPORTTAG_Dummy    (TAG_USER + 0x24000)
  15796. + #define    PPCPORTTAG_NAME        (PPCPORTTAG_Dummy + 0)
  15797. + #define    PPCPORTTAG_ERROR    (PPCPORTTAG_Dummy + 1)
  15798. + /*
  15799. +  * PPCObtainPort()
  15800. +  */
  15801. + /* To define a different network timeout
  15802. +  * if PPCPORTTAG_MACHINE is used
  15803. +  * Not supported yet
  15804. +  */
  15805. + #define    PPCPORTTAG_TIMEOUT    (PPCPORTTAG_Dummy + 2)
  15806. + /* To define a machine in the network
  15807. +  * Not supported yet
  15808. +  */
  15809. + #define    PPCPORTTAG_MACHINE    (PPCPORTTAG_Dummy + 3)
  15810. + /* Search port on the local processor
  15811. +  * Not supported yet
  15812. +  */
  15813. + #define    PPCPORTTAG_LOCAL    (PPCPORTTAG_Dummy + 4)
  15814. + /* Search port on all processors
  15815. +  * Not supported yet
  15816. +  */
  15817. + #define    PPCPORTTAG_GLOBAL    (PPCPORTTAG_Dummy + 5)
  15818. + #define    PPCMSGTAG_Dummy        (TAG_USER + 0x25000)
  15819. + #define    PPCMSGTAG_DATA        (PPCMSGTAG_Dummy + 0)
  15820. + #define    PPCMSGTAG_DATALENGTH    (PPCMSGTAG_Dummy + 1)
  15821. + #define    PPCMSGTAG_MSGID        (PPCMSGTAG_Dummy + 2)
  15822. + /* Returns NT_REPLYMSG or NT_MESSAGE or NT_FREEMSG */
  15823. + #define    PPCMSGTAG_MSGTYPE    (PPCMSGTAG_Dummy + 3)
  15824. + #define    PPCPORTERROR_OK        0
  15825. + #define    PPCPORTERROR_MEMORY    1
  15826. + #define    PPCPORTERROR_SIGNAL    2
  15827. + #define    PPCPORTERROR_PORTEXISTS    3
  15828. + #define    PPCPORTERROR_NOTFOUND    4
  15829. + #define    PPCPORTERROR_TIMEOUT    5
  15830. + #define    PPCPORTLISTTAG_Dummy        (TAG_USER + 0x26000)
  15831. + #define    PPCPORTLISTTAG_EXTENDEDSIGNALS    (PPCPORTLISTTAG_Dummy + 0)
  15832. + #define    PPCPORTLISTTAG_RECEIVEDSIGNALS    (PPCPORTLISTTAG_Dummy + 1)
  15833. + #endif
  15834. diff -c2 -d -P -r include_h/powerup/ppclib/message.i includenew/powerup/ppclib/message.i
  15835. *** include_h/powerup/ppclib/message.i    Thu Jan  1 00:00:00 1970
  15836. --- includenew/powerup/ppclib/message.i    Wed Feb 14 02:41:22 2001
  15837. ***************
  15838. *** 0 ****
  15839. --- 1,55 ----
  15840. +     IFND POWERUP_PPCLIB_MESSAGE_I
  15841. + POWERUP_PPCLIB_MESSAGE_I    SET    1
  15842. +     include "utility/tagitem.i"
  15843. + ;/* This file should be used under SAS and GCC
  15844. + ; */
  15845. + PPCPORTTAG_Dummy    =    (TAG_USER+$24000)
  15846. + PPCPORTTAG_NAME        =    (PPCPORTTAG_Dummy+0)
  15847. + PPCPORTTAG_ERROR    =    (PPCPORTTAG_Dummy+1)
  15848. + ;/*
  15849. + ; * PPCObtainPort()
  15850. + ; */
  15851. + ;/* To define a different network timeout
  15852. + ; * if PPCPORTTAG_MACHINE is used
  15853. + ; * Not supported yet
  15854. + ; */
  15855. + PPCPORTTAG_TIMEOUT    =    (PPCPORTTAG_Dummy+2)
  15856. + ;/* To define a machine in the network
  15857. + ; * Not supported yet
  15858. + ; */
  15859. + PPCPORTTAG_MACHINE    =    (PPCPORTTAG_Dummy+3)
  15860. + ;/* Search port on the local processor
  15861. + ; * Not supported yet
  15862. + ; */
  15863. + PPCPORTTAG_LOCAL    =    (PPCPORTTAG_Dummy+4)
  15864. + ;/* Search port on all processors
  15865. + ; * Not supported yet
  15866. + ; */
  15867. + PPCPORTTAG_GLOBAL    =    (PPCPORTTAG_Dummy+5)
  15868. + PPCMSGTAG_Dummy        =    (TAG_USER+$25000)
  15869. + PPCMSGTAG_DATA        =    (PPCMSGTAG_Dummy+0)
  15870. + PPCMSGTAG_DATALENGTH    =    (PPCMSGTAG_Dummy+1)
  15871. + PPCMSGTAG_MSGID        =    (PPCMSGTAG_Dummy+2)
  15872. + ;/* Returns NT_REPLYMSG or NT_MESSAGE or NT_FREEMSG */
  15873. + PPCMSGTAG_MSGTYPE    =    (PPCMSGTAG_Dummy+3)
  15874. + PPCPORTERROR_OK        =    0
  15875. + PPCPORTERROR_MEMORY    =    1
  15876. + PPCPORTERROR_SIGNAL    =    2
  15877. + PPCPORTERROR_PORTEXISTS    =    3
  15878. + PPCPORTERROR_NOTFOUND    =    4
  15879. + PPCPORTERROR_TIMEOUT    =    5
  15880. + PPCPORTLISTTAG_Dummy        =    (TAG_USER+$26000)
  15881. + PPCPORTLISTTAG_EXTENDEDSIGNALS    =    (PPCPORTLISTTAG_Dummy+0)
  15882. + PPCPORTLISTTAG_RECEIVEDSIGNALS    =    (PPCPORTLISTTAG_Dummy+1)
  15883. +     ENDC
  15884. diff -c2 -d -P -r include_h/powerup/ppclib/object.h includenew/powerup/ppclib/object.h
  15885. *** include_h/powerup/ppclib/object.h    Thu Jan  1 00:00:00 1970
  15886. --- includenew/powerup/ppclib/object.h    Wed Feb 14 02:41:22 2001
  15887. ***************
  15888. *** 0 ****
  15889. --- 1,254 ----
  15890. + #ifndef POWERUP_PPCLIB_OBJECT_H
  15891. + #define POWERUP_PPCLIB_OBJECT_H
  15892. + /**************************************************
  15893. +  *
  15894. +  *
  15895. +  *              PPCLoadElfObjectTags()
  15896. +  *
  15897. +  *
  15898. +  **************************************************/
  15899. + #define    PPCELFLOADOBJECTTAG_DUMMY    (TAG_USER + 0x23300)
  15900. + /* pointer to a filename of the elf file */
  15901. + #define    PPCELFLOADTAG_ELFNAME        (PPCELFLOADOBJECTTAG_DUMMY + 0x0)
  15902. + /* pointer to the elf stream resident in memory.
  15903. +  * PPCELFLOADTAG_ELFNAME and PPCELFLOADTAG_ELFADDRESS
  15904. +  * are mutually exclusive
  15905. +  */
  15906. + #define    PPCELFLOADTAG_ELFADDRESS    (PPCELFLOADOBJECTTAG_DUMMY + 0x1)
  15907. + /* length of the elf stream. This tag is optional
  15908. +  */
  15909. + #define    PPCELFLOADTAG_ELFLENGTH        (PPCELFLOADOBJECTTAG_DUMMY + 0x2)
  15910. + /* Stream IO Hook
  15911. +  * so you can implement your own loader system
  15912. +  * BOOL CallHookPkt(hook,Handle,&Msg);
  15913. +  *
  15914. +  */
  15915. + #define    PPCELFLOADTAG_HOOK        (PPCELFLOADOBJECTTAG_DUMMY + 0x3)
  15916. + /* Load an ElfObject as a SharedLib Module
  15917. +  * BOOL
  15918. +  */
  15919. + #define    PPCELFLOADTAG_LIBRARY        (PPCELFLOADOBJECTTAG_DUMMY + 0x4)
  15920. + /* File Ptr
  15921. +  * BPTR
  15922. +  */
  15923. + #define    PPCELFLOADTAG_FILE        (PPCELFLOADOBJECTTAG_DUMMY + 0x5)
  15924. + /* pointer to THE name of the elf lib */
  15925. + #define    PPCELFLOADTAG_ELFLIBNAME    (PPCELFLOADOBJECTTAG_DUMMY + 0x6)
  15926. + /* Ask for at least version x of a SharedLib Module
  15927. +  * ULONG
  15928. +  */
  15929. + #define    PPCELFLOADTAG_LIBVERSION    (PPCELFLOADOBJECTTAG_DUMMY + 0x7)
  15930. + /* Ask for at least revision x of a SharedLib Module
  15931. +  * ULONG
  15932. +  */
  15933. + #define    PPCELFLOADTAG_LIBREVISION    (PPCELFLOADOBJECTTAG_DUMMY + 0x8)
  15934. + /* Ask for the specific version of a SharedLib Module
  15935. +  * BOOL
  15936. +  */
  15937. + #define    PPCELFLOADTAG_LIBEXACTVERSION    (PPCELFLOADOBJECTTAG_DUMMY + 0x9)
  15938. + #define    PPCELFLOADTAG_LIBEXACTREVISION    (PPCELFLOADOBJECTTAG_DUMMY + 0xa)
  15939. + struct ElfStreamMsg
  15940. + {
  15941. +     ULONG    Type;
  15942. +     ULONG    Arg1;    /* Open->No Meaning,Close->No Meaning,Read->Address,Seek->Offset */
  15943. +     ULONG    Arg2;    /* Open->No Meaning,Close->No Meaning,Read->Length,Seek->Type */
  15944. + };
  15945. + /* The Result must be a Handle */
  15946. + #define    PPCELFLOADTYPE_OPEN    0
  15947. + /* The Result must be a boolean */
  15948. + #define    PPCELFLOADTYPE_CLOSE    1
  15949. + /* The Result must be the read length or -1 */
  15950. + #define    PPCELFLOADTYPE_READ    2
  15951. + /* The Result must be the old offset or -1 */
  15952. + #define    PPCELFLOADTYPE_SEEK    3
  15953. + /**************************************************
  15954. +  *
  15955. +  *
  15956. +  *              PPCGetElfInfos() Tags
  15957. +  *
  15958. +  *
  15959. +  **************************************************/
  15960. + #define    PPCELFINFOTAG_DUMMY        (TAG_USER + 0x23000)
  15961. + /* Returns the name of an elfobject */
  15962. + #define    PPCELFINFOTAG_NAME        (PPCELFINFOTAG_DUMMY + 0x0)
  15963. + /* Returns infos about a reloc instead of a symbol
  15964. +  * A special PPCSymbolStruct is passed by ti_Data
  15965. +  * which tells if you search for a symbol name
  15966. +  * or wanna find a symbol for a certain address.
  15967. +  * Result=TRUE if the search was successful and then
  15968. +  * the SymbolStruct contains other important infos
  15969. +  */
  15970. + #define    PPCELFINFOTAG_RELOC        (PPCELFINFOTAG_DUMMY + 0x1)
  15971. + /* Set this Boolean if you want the infos global.
  15972. +    Then all Elfobjects are searched.
  15973. +  */
  15974. + #define    PPCELFINFOTAG_GLOBAL        (PPCELFINFOTAG_DUMMY + 0x2)
  15975. + /* Define this Hook if you wanna get informations about every
  15976. +    Symbol in a specific ElfObject or in all.
  15977. +    (ElfObject==NULL || PPCELFINFOTAG_GLOBAL=TRUE)
  15978. +    That`s the way how the PPCGetObjectInfo() calls your hook.
  15979. +    MyInfo contains the passed infos, so you could show all
  15980. +    important symbols or relocs if possible.
  15981. +    CallHookPkt(ScanSymbolHook,
  15982. +                (APTR) ElfSubStructure, // Not really useful
  15983. +                (APTR) MyInfo);
  15984. +  */
  15985. + #define    PPCELFINFOTAG_SCANSYMBOLHOOK    (PPCELFINFOTAG_DUMMY + 0x3)
  15986. + struct    PPCObjectInfo
  15987. + {
  15988. +     ULONG    Address;
  15989. + /* Name of the Object
  15990. +  * If this is set PPCGetElfInfo search for the Name
  15991. +  * Otherwise Address is used to search for an object
  15992. +  */
  15993. +     char    *Name;
  15994. + /* Type of the object
  15995. +  */
  15996. +     ULONG    Type;
  15997. + /* Subtype of the object
  15998. +  * Symbol:
  15999. +  * COMMON=BSS
  16000. +  * FUNCTION
  16001. +  * ...
  16002. +  * Section:
  16003. +  *
  16004. +  * Reloc:
  16005. +  * Relocation Type
  16006. +  */
  16007. +     ULONG    SubType;
  16008. + /* Symbol:
  16009. +  * Local,Global,Weak
  16010. +  * Section:
  16011. +  *
  16012. +  */
  16013. +     ULONG    Binding;
  16014. + /* Size of the object
  16015. +  */
  16016. +     ULONG    Size;
  16017. + };
  16018. + #define    PPCELFINFOTYPE_SECTION        0
  16019. + /* A Symbol whose SubType defines the real
  16020. +    symbol Type and Binding contains the
  16021. +    state of the symbol.
  16022. +  */
  16023. + #define    PPCELFINFOTYPE_SYMBOL        1
  16024. + /* A common section(BSS) symbol whose SubType
  16025. +    defines the real symbol Type and Binding
  16026. +    contains the state of the symbol.
  16027. +  */
  16028. + #define    PPCELFINFOTYPE_COMSYMBOL    2
  16029. + /* A reloc entry is quite simular to a symbol.
  16030. +    It`s only useful to connect certain instruction
  16031. +    addresses with certain symbols where you can`t
  16032. +    calculate the symbol value in an easy way.
  16033. +    i.e 16 bit PPC addressmodes..ADDR16_HI,HA
  16034. +  */
  16035. + #define    PPCELFINFOTYPE_RELOC        3
  16036. + /*------------------------------------------------------------------------*/
  16037. + /*  definition of the symbol types`                                            */
  16038. + /*------------------------------------------------------------------------*/
  16039. + #define    STT_NOTYPE    0
  16040. + #define    STT_OBJECT    1
  16041. + #define    STT_FUNC    2
  16042. + #define    STT_SECTION    3
  16043. + #define    STT_FILE    4
  16044. + #define    STT_LOPROC    13
  16045. + #define    STT_HIPROC    15
  16046. + /*------------------------------------------------------------------------*/
  16047. + /*  definition of the symbol bindings                                        */
  16048. + /*------------------------------------------------------------------------*/
  16049. + #define    STB_LOCAL        0
  16050. + #define    STB_GLOBAL        1
  16051. + #define    STB_WEAK        2
  16052. + #define    STB_LOPROC        13
  16053. + #define    STB_HIPROC        15
  16054. + /*------------------------------------------------------------------------*/
  16055. + /*  definition of the supported elf.rela types                            */
  16056. + /*------------------------------------------------------------------------*/
  16057. + #define  R_PPC_NONE            0
  16058. + #define  R_PPC_ADDR32            1
  16059. + #define  R_PPC_ADDR24            2
  16060. + #define  R_PPC_ADDR16            3
  16061. + #define  R_PPC_ADDR16_L            4
  16062. + #define  R_PPC_ADDR16_HI        5
  16063. + #define  R_PPC_ADDR16_HA        6
  16064. + #define  R_PPC_ADDR14            7
  16065. + #define  R_PPC_ADDR14_BRTAKEN        8
  16066. + #define  R_PPC_ADDR14_BRNTAKEN        9
  16067. + #define  R_PPC_REL24            10
  16068. + #define  R_PPC_REL14            11
  16069. + #define  R_PPC_REL14_BRTAKEN        12
  16070. + #define  R_PPC_REL14_BRNTAKEN        13
  16071. + #define  R_PPC_GOT16            14
  16072. + #define  R_PPC_GOT16_LO            15
  16073. + #define  R_PPC_GOT16_HI            16
  16074. + #define  R_PPC_GOT16_HA            17
  16075. + #define  R_PPC_PLTREL24            18
  16076. + #define  R_PPC_COPY            19
  16077. + #define  R_PPC_GLOB_DAT            20
  16078. + #define  R_PPC_JMP_SLOT            21
  16079. + #define  R_PPC_RELATIVE            22
  16080. + #define  R_PPC_LOCAL24PC        23
  16081. + #define  R_PPC_UADDR32            24
  16082. + #define  R_PPC_UADDR16            25
  16083. + #define  R_PPC_REL32            26
  16084. + #define  R_PPC_PLT32            27
  16085. + #define  R_PPC_PLTREL32            28
  16086. + #define  R_PPC_PLT16_LO            29
  16087. + #define  R_PPC_PLT16_HI            30
  16088. + #define  R_PPC_PLT16_HA            31
  16089. + #define  R_PPC_SDAREL16            32
  16090. + #define  R_PPC_SECTOFF            33
  16091. + #define  R_PPC_SECTOFF_LO        34
  16092. + #define  R_PPC_SECTOFF_HI        35
  16093. + #define  R_PPC_SECTOFF_HA        34
  16094. + #endif
  16095. diff -c2 -d -P -r include_h/powerup/ppclib/ppc.h includenew/powerup/ppclib/ppc.h
  16096. *** include_h/powerup/ppclib/ppc.h    Thu Jan  1 00:00:00 1970
  16097. --- includenew/powerup/ppclib/ppc.h    Wed Feb 14 02:41:22 2001
  16098. ***************
  16099. *** 0 ****
  16100. --- 1,112 ----
  16101. + #ifndef POWERUP_PPCLIB_PPC_H
  16102. + #define POWERUP_PPCLIB_PPC_H
  16103. + #include <utility/tagitem.h>
  16104. + /* PPCGetInfo() Tags */
  16105. + #define    PPCINFOTAG_Dummy        (TAG_USER + 0x1f000)
  16106. + /* Version of the CPU
  16107. +  * (Get)
  16108. +  */
  16109. + #define    PPCINFOTAG_CPU            (PPCINFOTAG_Dummy + 0x1)
  16110. + /* CPU Count
  16111. +  * (Get)
  16112. +  */
  16113. + #define    PPCINFOTAG_CPUCOUNT        (PPCINFOTAG_Dummy + 0x2)
  16114. + /* Clock of the CPU
  16115. +  * (Get)
  16116. +  */
  16117. + #define    PPCINFOTAG_CPUCLOCK        (PPCINFOTAG_Dummy + 0x3)
  16118. + /* Revision of the CPU
  16119. +  * (Get)
  16120. +  */
  16121. + #define    PPCINFOTAG_CPUREV        (PPCINFOTAG_Dummy + 0x4)
  16122. + /* Default ExceptionHook
  16123. +  * If you want to install an ExceptionHook
  16124. +  * to catch all exceptions by a debugger for example
  16125. +  * (Get/Set)
  16126. +  */
  16127. + #define    PPCINFOTAG_EXCEPTIONHOOK    (PPCINFOTAG_Dummy + 0x5)
  16128. + /* Add PPCCreateTask Hook (V45)
  16129. +  * If you want to be notified when a new PPC Task
  16130. +  * is created. Usable for a debugger or a Task Viewer.
  16131. +  *
  16132. +  * BOOL CallHookPkt(YourHookHook, TaskObject, TaskHookMsg);
  16133. +  *
  16134. +  * If you want to install a new TrapHandler you can do it
  16135. +  * now in your Hook function. Or tell the Task to stop at the
  16136. +  * first instruction.
  16137. +  * The PPC Task is initiated after all Hook functions complete.
  16138. +  * The result defines if potential hooks should not be called.
  16139. +  * If you return TRUE no other hooks are called.
  16140. +  * (Set)
  16141. +  */
  16142. + #define    PPCINFOTAG_TASKHOOK    (PPCINFOTAG_Dummy + 0x6)
  16143. + /* Remove a TaskHook (V45)
  16144. +  * (Set)
  16145. +  */
  16146. + #define    PPCINFOTAG_REMTASKHOOK    (PPCINFOTAG_Dummy + 0x7)
  16147. + /* PLL Devider of the CPU (V45)
  16148. +  * (Get)
  16149. +  */
  16150. + #define    PPCINFOTAG_CPUPLL    (PPCINFOTAG_Dummy + 0x8)
  16151. + /* BusClock of the CPU (V47)
  16152. +  * (Get)
  16153. +  */
  16154. + #define    PPCINFOTAG_CPUBUSCLOCK    (PPCINFOTAG_Dummy + 0x9)
  16155. + struct TaskHookMsg_Create
  16156. + {
  16157. +     ULONG        MethodID;
  16158. +     ULONG        Version;
  16159. +     void        *ElfObject;
  16160. +     struct TagItem    *Tags;
  16161. + };
  16162. + struct TaskHookMsg_Delete
  16163. + {
  16164. +     ULONG        MethodID;
  16165. +     ULONG        Version;
  16166. + };
  16167. + struct TaskHookMsg_Get
  16168. + {
  16169. +     ULONG        MethodID;
  16170. +     ULONG        Version;
  16171. +     struct TagItem    *Tags;
  16172. + };
  16173. + struct TaskHookMsg_Set
  16174. + {
  16175. +     ULONG        MethodID;
  16176. +     ULONG        Version;
  16177. +     struct TagItem    *Tags;
  16178. + };
  16179. + #define    PPCTASKHOOKMETHOD_CREATE    0
  16180. + #define    PPCTASKHOOKMETHOD_DELETE    1
  16181. + #define    PPCTASKHOOKMETHOD_GET        2
  16182. + #define    PPCTASKHOOKMETHOD_SET        3
  16183. + /* Current known PowerPC CPU versions */
  16184. + #define    CPU_603        3
  16185. + #define    CPU_604        4
  16186. + #define    CPU_602        5
  16187. + #define    CPU_603e    6
  16188. + #define    CPU_603p    7
  16189. + #define    CPU_604e    9
  16190. + #endif
  16191. diff -c2 -d -P -r include_h/powerup/ppclib/ppc.i includenew/powerup/ppclib/ppc.i
  16192. *** include_h/powerup/ppclib/ppc.i    Thu Jan  1 00:00:00 1970
  16193. --- includenew/powerup/ppclib/ppc.i    Wed Feb 14 02:41:22 2001
  16194. ***************
  16195. *** 0 ****
  16196. --- 1,108 ----
  16197. +     IFND POWERUP_PPCLIB_PPC_I
  16198. + POWERUP_PPCLIB_PPC_I    SET    1
  16199. +     include "utility/tagitem.i"
  16200. + ;/* PPCGetInfo() Tags */
  16201. + PPCINFOTAG_Dummy    =    (TAG_USER+$1f000)
  16202. + ;/* Version of the CPU
  16203. + ; * (Get)
  16204. + ; */
  16205. + PPCINFOTAG_CPU        =    (PPCINFOTAG_Dummy+$1)
  16206. + ;/* CPU Count
  16207. + ; * (Get)
  16208. + ; */
  16209. + PPCINFOTAG_CPUCOUNT    =    (PPCINFOTAG_Dummy+$2)
  16210. + ;/* Clock of the CPU
  16211. + ; * (Get)
  16212. + ; */
  16213. + PPCINFOTAG_CPUCLOCK    =    (PPCINFOTAG_Dummy+$3)
  16214. + ;/* Revision of the CPU
  16215. + ; * (Get)
  16216. + ; */
  16217. + PPCINFOTAG_CPUREV    =    (PPCINFOTAG_Dummy+$4)
  16218. + ;/* Default ExceptionHook
  16219. + ; * If you want to install an ExceptionHook
  16220. + ; * to catch all exceptions by a debugger for example
  16221. + ; * (Get/Set)
  16222. + ; */
  16223. + ; */
  16224. + PPCINFOTAG_EXCEPTIONHOOK=    (PPCINFOTAG_Dummy+$5)
  16225. + ;/* Add PPCCreateTask Hook (V45)
  16226. + ; * If you want to be notified when a new PPC Task
  16227. + ; * is created. Usable for a debugger or a Task Viewer.
  16228. + ; *
  16229. + ; * BOOL CallHookPkt(DeleteTaskHook, MyTaskObject, TaskHookMsg);
  16230. + ; *
  16231. + ; * If you want to install a new TrapHandler you can do it
  16232. + ; * now in your Hook function. Or tell the Task to stop at the
  16233. + ; * first instruction.
  16234. + ; * The PPC Task is initiated after all Hook functions complete.
  16235. + ; * The result defines if potential hooks should not be called.
  16236. + ; * If you return TRUE no other hooks are called.
  16237. + ; * (Set)
  16238. + ; */
  16239. + PPCINFOTAG_TASKHOOK=    (PPCINFOTAG_Dummy+$6)
  16240. + ;/* Remove a TaskHook (V45)
  16241. + ; * (Set)
  16242. + ; */
  16243. + PPCINFOTAG_REMTASKHOOK=    (PPCINFOTAG_Dummy+$7)
  16244. + ;/* PLL Devider of the CPU (V45)
  16245. + ; * (Get)
  16246. + ; */
  16247. + PPCINFOTAG_CPUPLL    =    (PPCINFOTAG_Dummy+$8)
  16248. + ;/* BusClock of the CPU (V47)
  16249. + ; * (Get)
  16250. + ; */
  16251. + PPCINFOTAG_CPUBUSCLOCK    =    (PPCINFOTAG_Dummy + $9)
  16252. +     STRUCTURE    TaskHookMsg_Create,0
  16253. +     ULONG        mc_MethodID
  16254. +     ULONG        mc_Version
  16255. +     APTR        mc_ElfObject
  16256. +     APTR        mc_Tags
  16257. +     LABEL        TaskHookMsg_Create_SIZEOF
  16258. +     STRUCTURE    TaskHookMsg_Delete,0
  16259. +     ULONG        md_MethodID
  16260. +     ULONG        md_Version
  16261. +     LABEL        TaskHookMsg_Delete_SIZEOF
  16262. +     STRUCTURE    TaskHookMsg_Get,0
  16263. +     ULONG        mg_MethodID
  16264. +     ULONG        mg_Version
  16265. +     APTR        mg_Tags
  16266. +     LABEL        TaskHookMsg_Get_SIZEOF
  16267. +     STRUCTURE    TaskHookMsg_Set,0
  16268. +     ULONG        ms_MethodID
  16269. +     ULONG        ms_Version
  16270. +     APTR        ms_Tags
  16271. +     LABEL        TaskHookMsg_Set_SIZEOF
  16272. + PPCTASKHOOKMETHOD_CREATE    =    0
  16273. + PPCTASKHOOKMETHOD_DELETE    =    1
  16274. + PPCTASKHOOKMETHOD_GET        =    2
  16275. + PPCTASKHOOKMETHOD_SET        =    3
  16276. + ;/* Current known PowerPC CPU versions */
  16277. + CPU_603        =    3
  16278. + CPU_604        =    4
  16279. + CPU_602        =    5
  16280. + CPU_603e    =    6
  16281. + CPU_603p    =    7
  16282. + CPU_604e    =    9
  16283. +     ENDC
  16284. diff -c2 -d -P -r include_h/powerup/ppclib/semaphore.h includenew/powerup/ppclib/semaphore.h
  16285. *** include_h/powerup/ppclib/semaphore.h    Thu Jan  1 00:00:00 1970
  16286. --- includenew/powerup/ppclib/semaphore.h    Wed Feb 14 02:41:22 2001
  16287. ***************
  16288. *** 0 ****
  16289. --- 1,23 ----
  16290. + #ifndef POWERUP_PPCLIB_SEMAPHORE_H
  16291. + #define POWERUP_PPCLIB_SEMAPHORE_H
  16292. + #include <utility/tagitem.h>
  16293. + #define    PPCSEMAPHORETAG_BASE    (TAG_USER + 0x25000)
  16294. + /* Sets the Name for the Semaphore and automaticly adds the Semaphore to
  16295. +    the public List
  16296. +  */
  16297. + #define    PPCSEMAPHORETAG_NAME    (PPCSEMAPHORETAG_BASE+0)
  16298. + #define    PPCSEMAPHORETAG_ERROR    (PPCSEMAPHORETAG_BASE+1)
  16299. + #define    PPCSEMAPHOREERROR_OK        0
  16300. + #define    PPCSEMAPHOREERROR_MEMORY    1
  16301. + #define    PPCSEMAPHOREERROR_ALREDYEXISTS    2
  16302. + #define    PPCSEMAPHOREERROR_NOTFOUND    3
  16303. + #define    PPCSEMAPHOREERROR_OBTAINED    4
  16304. + #define    PPCSEMAPHOREERROR_NONAME    5
  16305. + #endif
  16306. diff -c2 -d -P -r include_h/powerup/ppclib/semaphore.i includenew/powerup/ppclib/semaphore.i
  16307. *** include_h/powerup/ppclib/semaphore.i    Thu Jan  1 00:00:00 1970
  16308. --- includenew/powerup/ppclib/semaphore.i    Wed Feb 14 02:41:23 2001
  16309. ***************
  16310. *** 0 ****
  16311. --- 1,24 ----
  16312. +     IFND POWERUP_PPCLIB_SEMAPHORE_I
  16313. + POWERUP_PPCLIB_SEMAPHORE_I    SET    1
  16314. +     include "utility/tagitem.i"
  16315. + PPCSEMAPHORETAG_BASE        =    (TAG_USER+$25000)
  16316. + ;/* Sets the Name for the Semaphore and automaticly adds the Semaphore to
  16317. + ;   the public List
  16318. + ; */
  16319. + PPCSEMAPHORETAG_NAME        =    (PPCSEMAPHORETAG_BASE+0)
  16320. + PPCSEMAPHORETAG_ERROR        =    (PPCSEMAPHORETAG_BASE+1)
  16321. + PPCSEMAPHOREERROR_OK        =    0
  16322. + PPCSEMAPHOREERROR_MEMORY    =    1
  16323. + PPCSEMAPHOREERROR_ALREDYEXISTS    =    2
  16324. + PPCSEMAPHOREERROR_NOTFOUND    =    3
  16325. + PPCSEMAPHOREERROR_OBTAINED    =    4
  16326. + PPCSEMAPHOREERROR_NONAME    =    5
  16327. +     ENDC
  16328. diff -c2 -d -P -r include_h/powerup/ppclib/tasks.h includenew/powerup/ppclib/tasks.h
  16329. *** include_h/powerup/ppclib/tasks.h    Thu Jan  1 00:00:00 1970
  16330. --- includenew/powerup/ppclib/tasks.h    Wed Feb 14 02:41:23 2001
  16331. ***************
  16332. *** 0 ****
  16333. --- 1,556 ----
  16334. + #ifndef POWERUP_PPCLIB_TASKS_H
  16335. + #define POWERUP_PPCLIB_TASKS_H
  16336. + /**************************************************
  16337. +  *
  16338. +  *
  16339. +  *              PPCCreateTask() Tags
  16340. +  *
  16341. +  *
  16342. +  **************************************************/
  16343. + #define    PPCTASKTAG_DUMMY    (TAG_USER + 0x20000)
  16344. + /* ElfObject which discribes the PPC program
  16345. +  * Needed to start one.
  16346. +  */
  16347. + #define    PPCTASKTAG_ELFOBJECT    (PPCTASKTAG_DUMMY + 0x1)
  16348. + /* Name of the new Task. */
  16349. + #define    PPCTASKTAG_NAME        (PPCTASKTAG_DUMMY + 0x2)
  16350. + /* First Argument..gpr3 */
  16351. + #define    PPCTASKTAG_ARG1        (PPCTASKTAG_DUMMY + 0x3)
  16352. + /* First Argument..gpr4 */
  16353. + #define    PPCTASKTAG_ARG2        (PPCTASKTAG_DUMMY + 0x4)
  16354. + /* First Argument..gpr5 */
  16355. + #define    PPCTASKTAG_ARG3        (PPCTASKTAG_DUMMY + 0x5)
  16356. + /* First Argument..gpr6 */
  16357. + #define    PPCTASKTAG_ARG4        (PPCTASKTAG_DUMMY + 0x6)
  16358. + /* First Argument..gpr7 */
  16359. + #define    PPCTASKTAG_ARG5        (PPCTASKTAG_DUMMY + 0x7)
  16360. + /* First Argument..gpr8 */
  16361. + #define    PPCTASKTAG_ARG6        (PPCTASKTAG_DUMMY + 0x8)
  16362. + /* First Argument..gpr9 */
  16363. + #define    PPCTASKTAG_ARG7        (PPCTASKTAG_DUMMY + 0x9)
  16364. + /* First Argument..gpr10 */
  16365. + #define    PPCTASKTAG_ARG8        (PPCTASKTAG_DUMMY + 0xa)
  16366. + /* Default=TRUE means that the cacheflush is handled automaticly
  16367. +  * You need cacheflushs when you use OS functions to share data.
  16368. +  * If you know it better than the stupid cacheflush routine you
  16369. +  * can handle that yourself and optimize your routines.
  16370. +  */
  16371. + #define    PPCTASKTAG_CACHEFLUSH    (PPCTASKTAG_DUMMY + 0xb)
  16372. + /* Ptr to an ULONG Errorfield where a better error description
  16373. +  * can be stored.
  16374. +  */
  16375. + #define    PPCTASKTAG_ERROR    (PPCTASKTAG_DUMMY + 0xc)
  16376. + /* PPC Stacksize...Default 8192
  16377. +  * Supported by PowerUP's PPCGetTaskAttr() (V45)
  16378. +  */
  16379. + #define    PPCTASKTAG_STACKSIZE    (PPCTASKTAG_DUMMY + 0xd)
  16380. + /* Task Priority..Default 0 */
  16381. + #define    PPCTASKTAG_PRIORITY    (PPCTASKTAG_DUMMY + 0xe)
  16382. + /* Input Handle..Default Open("Nil:")
  16383. +  * The handle is closed when the PPC task completes
  16384. +  */
  16385. + #define    PPCTASKTAG_INPUTHANDLE    (PPCTASKTAG_DUMMY + 0xf)
  16386. + /* Output Handle..Default Open("Nil:")
  16387. +  * The handle is closed when the PPC task completes
  16388. +  */
  16389. + #define    PPCTASKTAG_OUTPUTHANDLE    (PPCTASKTAG_DUMMY + 0x10)
  16390. + /* Error Handle..Default Open("Nil:")
  16391. +  * The handle is closed when the PPC task completes
  16392. +  */
  16393. + #define    PPCTASKTAG_ERRORHANDLE    (PPCTASKTAG_DUMMY + 0x11)
  16394. + /*
  16395. +  * When you set this Tag the Task is stopped
  16396. +  * before the first instruction is executed
  16397. +  * Only useful for debuggers
  16398. +  */
  16399. + #define    PPCTASKTAG_STOPTASK    (PPCTASKTAG_DUMMY + 0x12)
  16400. + /* ExceptionHook
  16401. +  * The M68k Hook is called when a PPC TaskObject gets an
  16402. +  * exception which can be processor or software(Kernel Msg)
  16403. +  * related.
  16404. +  * That`s the way the ppc.library calls the Hook:
  16405. +  *
  16406. +  * BOOL CallHookPkt(hook,TaskObject,ExceptionMsg);
  16407. +  *
  16408. +  * The Hook Function is NOT allowed to call PPCLibBase
  16409. +  * functions to avoid deadlocks.
  16410. +  * And after the Hook function returns the ExceptionMsg
  16411. +  * contents IS NOT valid anymore.
  16412. +  * So you should copy the ExceptionMsg contents to a private
  16413. +  * buffer and then signal your debugger control task about
  16414. +  * the event.
  16415. +  * The Hook return BOOL should tell the ppc.library if all
  16416. +  * worked fine.
  16417. +  */
  16418. + #define    PPCTASKTAG_EXCEPTIONHOOK    (PPCTASKTAG_DUMMY + 0x13)
  16419. + /* If you want that the PPCTask gets a MsgPort you can tell
  16420. +  * PPCCreateTask by a TRUE that you want one.
  16421. +  * I made this optional because it may cause an initial speed
  16422. +  * loss if you only need a ppc task for a quick run job where
  16423. +  * the init latency may be a serious issue.
  16424. +  * Supported by PowerUP's PPCGetTaskAttr()
  16425. +  */
  16426. + #define    PPCTASKTAG_MSGPORT        (PPCTASKTAG_DUMMY + 0x14)
  16427. + /* If you wanna provide the ppc a startup msg. This msg will
  16428. +  * be replied by the ppc.library after the PPC Task ends so
  16429. +  * you can use this to know that the PPCTask is gone so a
  16430. +  * PPCUnloadObject() is save now.
  16431. +  * Supported by PowerUP's PPCGetTaskAttr()
  16432. +  */
  16433. + #define    PPCTASKTAG_STARTUP_MSG        (PPCTASKTAG_DUMMY + 0x15)
  16434. + /* The Data field for the PPCMessage
  16435. +  * Supported by PowerUP's PPCGetTaskAttr()
  16436. +  */
  16437. + #define    PPCTASKTAG_STARTUP_MSGDATA    (PPCTASKTAG_DUMMY + 0x16)
  16438. + /* The Length field for the PPCMessage
  16439. +  * Supported by PowerUP's PPCGetTaskAttr()
  16440. +  */
  16441. + #define    PPCTASKTAG_STARTUP_MSGLENGTH    (PPCTASKTAG_DUMMY + 0x17)
  16442. + /* The MsgID field for the PPCMessage
  16443. +  * Supported by PowerUP's PPCGetTaskAttr()
  16444. +  */
  16445. + #define    PPCTASKTAG_STARTUP_MSGID    (PPCTASKTAG_DUMMY + 0x18)
  16446. + /* The flag to activate the CTRL-C;D;E;F gateway to
  16447. +  * the PPC Task by PPCSignalTask();
  16448. +  */
  16449. + #define    PPCTASKTAG_BREAKSIGNAL        (PPCTASKTAG_DUMMY + 0x19)
  16450. + /* The CPU number the task should start on.
  16451. +  * This is only a hint and no gurantee.
  16452. +  */
  16453. + #define    PPCTASKTAG_CPUHINT        (PPCTASKTAG_DUMMY + 0x1a)
  16454. + /* Ptr to ixemul UserData
  16455. +  * ONLY supported by PowerUP's PPCGetTaskAttr(),PPCSetTaskAttr()
  16456. +  */
  16457. + #define    PPCTASKTAG_EXTUSERDATA        (PPCTASKTAG_DUMMY + 0x1b)
  16458. + /* Run Task Synchron Flag which means that the PPCCreateTask
  16459. +  * doesn`t return until the task completes and the return
  16460. +  * value is not the TaskObject but the Task`s return value.
  16461. +  * To check if the task runned correctly check out the
  16462. +  * PPCTASKTAG_ERROR fieldptr.
  16463. +  * With this Tag you can do the same what the old RunTaskObject
  16464. +  * does which interface is a bit limited(compatibility to the
  16465. +  * first ppc.library version)
  16466. +  */
  16467. + #define    PPCTASKTAG_WAITFINISH    (PPCTASKTAG_DUMMY + 0x31)
  16468. + /* 
  16469. +  * PPCTASKTAG_ERROR types
  16470. +  */
  16471. + #define    ERROR_OK        0
  16472. + #define    ERROR_MEMORY        1
  16473. + #define    ERROR_NOPC        2
  16474. + #define    ERROR_CREATEMSGINTASK    3
  16475. + #define    ERROR_INPUTHANDLE    4
  16476. + #define    ERROR_OUTPUTHANDLE    5
  16477. + #define    ERROR_ERRORHANDLE    6
  16478. + /**************************************************
  16479. +  *
  16480. +  *
  16481. +  * PPCGetTaskAttrs(), PPCSetTaskAttrs() Tags
  16482. +  *
  16483. +  *
  16484. +  **************************************************/
  16485. + /*
  16486. +  * V45 adds the ti_Data data Set/Get passing if it`s possible
  16487. +  */
  16488. + #define    PPCTASKINFOTAG_DUMMY        (TAG_USER + 0x21000)
  16489. + /* (Get) */
  16490. + #define    PPCTASKINFOTAG_NAME        (PPCTASKINFOTAG_DUMMY + 0x1)
  16491. + /* (Get/Set) */
  16492. + #define    PPCTASKINFOTAG_PRIORITY        (PPCTASKINFOTAG_DUMMY + 0x2)
  16493. + /* (Get/Set) */
  16494. + #define    PPCTASKINFOTAG_CACHEFLUSH    (PPCTASKINFOTAG_DUMMY + 0x3)
  16495. + /* (Get) */
  16496. + #define    PPCTASKINFOTAG_STACKSIZE    (PPCTASKINFOTAG_DUMMY + 0x4)
  16497. + /* (Get) */
  16498. + #define    PPCTASKINFOTAG_STATE        (PPCTASKINFOTAG_DUMMY + 0x5)
  16499. + /* (Get/Set) */
  16500. + #define    PPCTASKINFOTAG_TASK        (PPCTASKINFOTAG_DUMMY + 0x6)
  16501. + /* This means the HOOK function is called for every Task */
  16502. + #define    PPCTASKINFOTAG_ALLTASK        (PPCTASKINFOTAG_DUMMY + 0x7)
  16503. + /* Hook function which is called for a task so you can ask special fields
  16504. +  * you may want to use.
  16505. +  * Msg Parameter is NULL for now.
  16506. +  * Object Parameter is the TaskObject
  16507. +  *
  16508. +  *    HookFunc(Hook, TaskObject, NULL)
  16509. +  */
  16510. + #define    PPCTASKINFOTAG_HOOK        (PPCTASKINFOTAG_DUMMY + 0x8)
  16511. + /* (Get) */
  16512. + #define    PPCTASKINFOTAG_SIGALLOC        (PPCTASKINFOTAG_DUMMY + 0x9)
  16513. + /* (Get) */
  16514. + #define    PPCTASKINFOTAG_SIGWAIT        (PPCTASKINFOTAG_DUMMY + 0xa)
  16515. + /* (Get) */
  16516. + #define    PPCTASKINFOTAG_SIGRECVD        (PPCTASKINFOTAG_DUMMY + 0xb)
  16517. + /* (Get) */
  16518. + #define    PPCTASKINFOTAG_USEDSTACKSIZE    (PPCTASKINFOTAG_DUMMY + 0xc)
  16519. + /* (Get/Set) */
  16520. + #define    PPCTASKINFOTAG_INPUTHANDLE    (PPCTASKINFOTAG_DUMMY + 0xd)
  16521. + /* (Get/Set) */
  16522. + #define    PPCTASKINFOTAG_OUTPUTHANDLE    (PPCTASKINFOTAG_DUMMY + 0xe)
  16523. + /* (Get/Set) */
  16524. + #define    PPCTASKINFOTAG_ERRORHANDLE    (PPCTASKINFOTAG_DUMMY + 0xf)
  16525. + /* Return the ElfObject of a Task
  16526. +  * (Get)
  16527. +  * (V45)
  16528. +  */
  16529. + #define    PPCTASKINFOTAG_ELFOBJECT    (PPCTASKINFOTAG_DUMMY + 0x10)
  16530. + /* See equal PPCTASKTAG_EXCEPTIONHOOK
  16531. +  * (V45)
  16532. +  * (Set)
  16533. +  */
  16534. + #define    PPCTASKINFOTAG_EXCEPTIONHOOK        (PPCTASKINFOTAG_DUMMY + 0x11)
  16535. + /* Tell the task to stop at the first instruction.
  16536. +  * Only allowed to be used when you get a TaskHookMsg
  16537. +  * with the MethodID PPCTASKHOOKMETHOD_CREATE.
  16538. +  * It must not be called while a PPC Task runs.
  16539. +  * (V45)
  16540. +  * (Set)
  16541. +  */
  16542. + #define    PPCTASKINFOTAG_STOPTASK            (PPCTASKINFOTAG_DUMMY + 0x12)
  16543. + /* See equal PPCTASKTAG_MSGPORT
  16544. +  * (V45)
  16545. +  */
  16546. + #define    PPCTASKINFOTAG_MSGPORT            (PPCTASKINFOTAG_DUMMY + 0x13)
  16547. + /* See equal PPCTASKTAG_STARTUP_MSG
  16548. +  * (V45)
  16549. +  */
  16550. + #define    PPCTASKINFOTAG_STARTUP_MSG        (PPCTASKINFOTAG_DUMMY + 0x14)
  16551. + /* See equal PPCTASKTAG_STARTUP_MSGDATA
  16552. +  * (V45)
  16553. +  */
  16554. + #define    PPCTASKINFOTAG_STARTUP_MSGDATA        (PPCTASKINFOTAG_DUMMY + 0x15)
  16555. + /* See equal PPCTASKTAG_STARTUP_MSGLENGTH
  16556. +  * (V45)
  16557. +  */
  16558. + #define    PPCTASKINFOTAG_STARTUP_MSGLENGTH    (PPCTASKINFOTAG_DUMMY + 0x16)
  16559. + /* See equal PPCTASKTAG_STARTUP_MSGID
  16560. +  * (V45)
  16561. +  */
  16562. + #define    PPCTASKINFOTAG_STARTUP_MSGID        (PPCTASKINFOTAG_DUMMY + 0x17)
  16563. + /*
  16564. +  * All Register Tags only accept Ptrs at ti_Data so I don`t have to
  16565. +  * change the API when there`s a 64Bit PPC some time.
  16566. +  */
  16567. + /* SRR0=PC
  16568. +  * Get/Set through ti_Data or PPCTASKINFOTAG_VALUEPTR
  16569. +  * (Get/Set)
  16570. +  */
  16571. + #define    PPCTASKINFOTAG_PC        (PPCTASKINFOTAG_DUMMY + 0x20)
  16572. + /* SRR1=MSR
  16573. +  * Get/Set through ti_Data or PPCTASKINFOTAG_VALUEPTR
  16574. +  * (Get/Set)
  16575. +  */
  16576. + #define    PPCTASKINFOTAG_MSR        (PPCTASKINFOTAG_DUMMY + 0x21)
  16577. + /* 32bit value in function Result
  16578. +  * Get/Set through ti_Data
  16579. +  * (Get/Set)
  16580. +  */
  16581. + #define    PPCTASKINFOTAG_CR        (PPCTASKINFOTAG_DUMMY + 0x22)
  16582. + /* 32bit value in function Result
  16583. +  * Get/Set through ti_Data
  16584. +  * (Get/Set)
  16585. +  */
  16586. + #define    PPCTASKINFOTAG_XER        (PPCTASKINFOTAG_DUMMY + 0x23)
  16587. + /* Result by PPCTASKINFOTAG_VALUEPTR
  16588. +  * Get/Set through ti_Data or PPCTASKINFOTAG_VALUEPTR
  16589. +  * (Get/Set)
  16590. +  */
  16591. + #define    PPCTASKINFOTAG_LR        (PPCTASKINFOTAG_DUMMY + 0x24)
  16592. + /* Result by PPCTASKINFOTAG_VALUEPTR
  16593. +  * Get/Set through ti_Data or PPCTASKINFOTAG_VALUEPTR
  16594. +  * (Get/Set)
  16595. +  */
  16596. + #define    PPCTASKINFOTAG_CTR        (PPCTASKINFOTAG_DUMMY + 0x25)
  16597. + /* Result by PPCTASKINFOTAG_VALUEPTR
  16598. +  * Get/Set through ti_Data or PPCTASKINFOTAG_VALUEPTR
  16599. +  * (Get/Set)
  16600. +  */
  16601. + #define    PPCTASKINFOTAG_FPSCR        (PPCTASKINFOTAG_DUMMY + 0x26)
  16602. + /* ti_Data=Register Number
  16603. +  * Get/Set through PPCTASKINFOTAG_VALUEPTR
  16604. +  * (Get/Set)
  16605. +  */
  16606. + #define    PPCTASKINFOTAG_GPR        (PPCTASKINFOTAG_DUMMY + 0x30)
  16607. + /* ti_Data=Register Number
  16608. +  * Get/Set through PPCTASKINFOTAG_VALUEPTR
  16609. +  * (Get/Set)
  16610. +  */
  16611. + #define    PPCTASKINFOTAG_FPR        (PPCTASKINFOTAG_DUMMY + 0x31)
  16612. + /* Address where to read/write the register value from.
  16613. +  * I use a ptr to be size indepent with the registers
  16614. +  * (Get/Set)
  16615. +  */
  16616. + #define    PPCTASKINFOTAG_VALUEPTR        (PPCTASKINFOTAG_DUMMY + 0x32)
  16617. + /* With PPCTASKINFOTAG_WAITFINISHTASK
  16618. +  * it returns the parent process in which you created
  16619. +  * a synchron PPC Task. Synchron PPC Task`s are created
  16620. +  * with the PPCTASKTAG_WAITINFISH,TRUE or outdated a
  16621. +  * PPCRunObject.
  16622. +  * The reason for this function is to find the shell
  16623. +  * task easily and check for a CTRL-C for example.
  16624. +  * (Get)
  16625. +  * (V45)
  16626. +  */
  16627. + #define    PPCTASKINFOTAG_WAITFINISHTASK    (PPCTASKTAG_DUMMY + 0x33)
  16628. + /**************************************************
  16629. +  *
  16630. +  *
  16631. +  *           TaskObject ExceptionHook
  16632. +  *
  16633. +  *
  16634. +  **************************************************/
  16635. + struct    ExceptionMsg
  16636. + {
  16637. +     ULONG            Version;
  16638. +     ULONG            Type;
  16639. +     ULONG            GPR[32];
  16640. +     DOUBLE            FPR[32];
  16641. +     ULONG            SR[16];
  16642. +     ULONG            CR;
  16643. +     DOUBLE            FPSCR;
  16644. +     ULONG            XER;
  16645. +     ULONG            LR;
  16646. +     ULONG            CTR;
  16647. +     ULONG            PVR;
  16648. +     ULONG            IBAT0U;
  16649. +     ULONG            IBAT0L;
  16650. +     ULONG            IBAT1U;
  16651. +     ULONG            IBAT1L;
  16652. +     ULONG            IBAT2U;
  16653. +     ULONG            IBAT2L;
  16654. +     ULONG            IBAT3U;
  16655. +     ULONG            IBAT3L;
  16656. +     ULONG            DBAT0U;
  16657. +     ULONG            DBAT0L;
  16658. +     ULONG            DBAT1U;
  16659. +     ULONG            DBAT1L;
  16660. +     ULONG            DBAT2U;
  16661. +     ULONG            DBAT2L;
  16662. +     ULONG            DBAT3U;
  16663. +     ULONG            DBAT3L;
  16664. +     ULONG            SDR1;
  16665. +     ULONG            ASR;
  16666. +     ULONG            DAR;
  16667. +     ULONG            DSISR;
  16668. +     ULONG            SRR0;
  16669. +     ULONG            SRR1;
  16670. +     ULONG            SPRG0;
  16671. +     ULONG            SPRG1;
  16672. +     ULONG            SPRG2;
  16673. +     ULONG            SPRG3;
  16674. +     ULONG            TBL;
  16675. +     ULONG            TBU;
  16676. +     ULONG            DEC;
  16677. +     ULONG            DABR;
  16678. +     /* 603 special registers */
  16679. +     ULONG            DMISS;
  16680. +     ULONG            DCMP;
  16681. +     ULONG            HASH1;
  16682. +     ULONG            HASH2;
  16683. +     ULONG            IMISS;
  16684. +     ULONG            ICMP;
  16685. +     ULONG            RPA;
  16686. +     /* 604e special registers */
  16687. +     /* Version 0 ends here */
  16688. +     ULONG            MSR;
  16689. +     /* Version 1 ends here */
  16690. +     /* Size depends on Version */
  16691. + };
  16692. + /* Current supported Version
  16693. +  */
  16694. + #define    EXCEPTIONMSG_VERSION    1
  16695. + /*
  16696. +  * Current supported Types
  16697. +  */
  16698. + /*
  16699. +  * These are the processor exceptions
  16700. +  */
  16701. + #define    EXCEPTION_UNKNOWN        0    /* Won`t happen */
  16702. + #define    EXCEPTION_RESET            1    /* Won`t happen */
  16703. + #define    EXCEPTION_MACHINECHECK        2    /* Won`t happen */
  16704. + #define    EXCEPTION_DATAACCESS        3
  16705. + #define    EXCEPTION_INSTRUCTIONACCESS    4
  16706. + #define    EXCEPTION_EXTERNALINTERRUPT    5    /* Won`t happen */
  16707. + #define    EXCEPTION_ALIGNMENT        6
  16708. + #define    EXCEPTION_PROGRAM        7
  16709. + #define    EXCEPTION_FPUUNAVAILABLE    8
  16710. + #define    EXCEPTION_DECREMENTER        9
  16711. + #define    EXCEPTION_INTERFACEERROR    10
  16712. + #define    EXCEPTION_RESERVED_B        11
  16713. + #define    EXCEPTION_SYSTEMCALL        12
  16714. + #define    EXCEPTION_TRACE            13
  16715. + #define    EXCEPTION_FPUASSIST        14
  16716. + #define    EXCEPTION_RESERVED_F        15
  16717. + #define    EXCEPTION_IMISS            16
  16718. + #define    EXCEPTION_DLOADMISS        17
  16719. + #define    EXCEPTION_DSTOREMISS        18
  16720. + #define    EXCEPTION_IADDRESSBREAK        19
  16721. + #define    EXCEPTION_SYSTEMMANAGEMENTINT    20
  16722. + /*
  16723. +  * These are the kernel exceptions
  16724. +  * to signal certain events
  16725. +  */
  16726. + #define    EXCEPTION_MSG            0x80000000
  16727. + /*
  16728. +  * You receive this exception type
  16729. +  * when the Kernel could stop a Task
  16730. +  * successfully after a Stop or Trace
  16731. +  * operation.
  16732. +  * Look at PPCTASKTAG_STOPTASK for example
  16733. +  */
  16734. + #define    EXCEPTION_STOPTASK        (EXCEPTION_MSG + 0x0)
  16735. + /*
  16736. +  * You receive this exception type
  16737. +  * when the task completes.
  16738. +  * In this case the ONLY valid fields in the
  16739. +  * ExceptionMsg are the Version field and the
  16740. +  * the Message type.
  16741. +  */
  16742. + #define    EXCEPTION_FINISHTASK        (EXCEPTION_MSG + 0x1)
  16743. + /**************************************************
  16744. +  *
  16745. +  *
  16746. +  *              PPCStartTask() Tags
  16747. +  *
  16748. +  *
  16749. +  **************************************************/
  16750. + #define    PPCTASKSTARTTAG_DUMMY        (TAG_USER + 0x22000)
  16751. + /* Just run a Task again
  16752. +  * ti_Data=BOOL
  16753. +  */
  16754. + #define    PPCTASKSTARTTAG_RUN        (PPCTASKSTARTTAG_DUMMY + 0x0)
  16755. + /* Single Step the next instruction
  16756. +  * ti_Data=BOOL
  16757. +  */
  16758. + #define    PPCTASKSTARTTAG_TRACE        (PPCTASKSTARTTAG_DUMMY + 0x1)
  16759. + /* Branch until a Trace instruction
  16760. +  * Processor dependent
  16761. +  * ti_Data=BOOL
  16762. +  * NOT SUPPORTED YET
  16763. +  */
  16764. + #define    PPCTASKSTARTTAG_BRANCHTRACE    (PPCTASKSTARTTAG_DUMMY + 0x2)
  16765. + /* Run until Instruction hit
  16766. +  * the Breakpoint Address
  16767. +  * Processor dependent
  16768. +  * ti_Data=BOOL
  16769. +  * NOT SUPPORTED YET
  16770. +  */
  16771. + #define    PPCTASKSTARTTAG_IBREAK        (PPCTASKSTARTTAG_DUMMY + 0x3)
  16772. + /* Run until DataAccess hit
  16773. +  * the Breakpoint Address
  16774. +  * Processor dependent
  16775. +  * ti_Data=BOOL
  16776. +  * NOT SUPPORTED YET
  16777. +  */
  16778. + #define    PPCTASKSTARTTAG_DBREAK        (PPCTASKSTARTTAG_DUMMY + 0x4)
  16779. + #endif
  16780. diff -c2 -d -P -r include_h/powerup/ppclib/tasks.i includenew/powerup/ppclib/tasks.i
  16781. *** include_h/powerup/ppclib/tasks.i    Thu Jan  1 00:00:00 1970
  16782. --- includenew/powerup/ppclib/tasks.i    Wed Feb 14 02:41:23 2001
  16783. ***************
  16784. *** 0 ****
  16785. --- 1,532 ----
  16786. +     IFND POWERUP_PPCLIB_TASKS_I
  16787. + POWERUP_PPCLIB_TASKS_I    SET    1
  16788. + ;/**************************************************
  16789. + ; *
  16790. + ; *
  16791. + ; *              PPCCreateTask() Tags
  16792. + ; *
  16793. + ; *
  16794. + ; **************************************************/
  16795. + PPCTASKTAG_DUMMY    =(TAG_USER+$20000)
  16796. + ;/* Program Counter Start of the Task; */
  16797. + PPCTASKTAG_ELFOBJECT    =(PPCTASKTAG_DUMMY+$1)
  16798. + ;/* Name of the new Task.; */
  16799. + PPCTASKTAG_NAME        =(PPCTASKTAG_DUMMY+$2)
  16800. + ;/* First Argument..gpr3; */
  16801. + PPCTASKTAG_ARG1        =(PPCTASKTAG_DUMMY+$3)
  16802. + ;/* First Argument..gpr4; */
  16803. + PPCTASKTAG_ARG2        =(PPCTASKTAG_DUMMY+$4)
  16804. + ;/* First Argument..gpr5; */
  16805. + PPCTASKTAG_ARG3        =(PPCTASKTAG_DUMMY+$5)
  16806. + ;/* First Argument..gpr6; */
  16807. + PPCTASKTAG_ARG4        =(PPCTASKTAG_DUMMY+$6)
  16808. + ;/* First Argument..gpr7; */
  16809. + PPCTASKTAG_ARG5        =(PPCTASKTAG_DUMMY+$7)
  16810. + ;/* First Argument..gpr8; */
  16811. + PPCTASKTAG_ARG6        =(PPCTASKTAG_DUMMY+$8)
  16812. + ;/* First Argument..gpr9; */
  16813. + PPCTASKTAG_ARG7        =(PPCTASKTAG_DUMMY+$9)
  16814. + ;/* First Argument..gpr10; */
  16815. + PPCTASKTAG_ARG8        =(PPCTASKTAG_DUMMY+$a)
  16816. + ;/* Default=TRUE means that the cacheflush is handled automaticly
  16817. + ; * You need cacheflushs when you use OS functions to share data.
  16818. + ; * If you know it better than the stupid cacheflush routine you
  16819. + ; * can handle that yourself and optimize your routines.
  16820. + ; */
  16821. + PPCTASKTAG_CACHEFLUSH    =(PPCTASKTAG_DUMMY+$b)
  16822. + ;/* Ptr to an ULONG Errorfield where a better error description
  16823. + ; * can be stored.
  16824. + ; */
  16825. + PPCTASKTAG_ERROR    =(PPCTASKTAG_DUMMY+$c)
  16826. + ;/* PPC Stacksize...Default 8192;
  16827. + ; * Supported by PowerUP's PPCGetTaskAttr() (V45)
  16828. + ; */
  16829. + PPCTASKTAG_STACKSIZE    =(PPCTASKTAG_DUMMY+$d)
  16830. + ;/* Task Priority..Default 0; */
  16831. + PPCTASKTAG_PRIORITY    =(PPCTASKTAG_DUMMY+$e)
  16832. + ;/* Input Handle..Default Open("Nil:")
  16833. + ; * The handle is closed when the PPC task completes
  16834. + ; */
  16835. + PPCTASKTAG_INPUTHANDLE    =(PPCTASKTAG_DUMMY+$f)
  16836. + ;/* Output Handle..Default Open("Nil:")
  16837. + ; * The handle is closed when the PPC task completes
  16838. + ; */
  16839. + PPCTASKTAG_OUTPUTHANDLE    =(PPCTASKTAG_DUMMY+$10)
  16840. + ;/* Error Handle..Default Open("Nil:")
  16841. + ; * The handle is closed when the PPC task completes
  16842. + ; */
  16843. + PPCTASKTAG_ERRORHANDLE    =(PPCTASKTAG_DUMMY+$11)
  16844. + ;/*
  16845. + ; * When you set this Tag the Task is stopped
  16846. + ; * before the first instruction is executed
  16847. + ; * Only useful for debuggers
  16848. + ; */
  16849. + PPCTASKTAG_STOPTASK    =(PPCTASKTAG_DUMMY+$12)
  16850. + ;/* ExceptionHook
  16851. + ; * The M68k Hook is called when a PPC TaskObject gets an
  16852. + ; * exception which can be processor or software(Kernel Msg)
  16853. + ; * related.
  16854. + ; * That`s the way the ppc.library calls the Hook:
  16855. + ; *
  16856. + ; * BOOL CallHookPkt(hook,TaskObject,ExceptionMsg);
  16857. + ; *
  16858. + ; * The Hook Function is NOT allowed to call PPCLibBase
  16859. + ; * functions to avoid deadlocks.
  16860. + ; * And after the Hook function returns the ExceptionMsg
  16861. + ; * contents IS NOT valid anymore.
  16862. + ; * So you should copy the ExceptionMsg contents to a private
  16863. + ; * buffer and then signal your debugger control task about
  16864. + ; * the event.
  16865. + ; * The Hook return BOOL should tell the ppc.library if all
  16866. + ; * worked fine.
  16867. + ; */
  16868. + PPCTASKTAG_EXCEPTIONHOOK    =(PPCTASKTAG_DUMMY+$13)
  16869. + ;/* If you want that the PPCPort gets a MsgPort you can tell
  16870. + ; * PPCCreateTask by a TRUE that you want one.
  16871. + ; * I made this optional because it may cause an initial speed
  16872. + ; * loss if you only need a ppc task for a quick run job where
  16873. + ; * the init latency may be a serious issue.
  16874. + ; * Supported by PowerUP's PPCGetTaskAttr()
  16875. + ; */
  16876. + PPCTASKTAG_MSGPORT        =(PPCTASKTAG_DUMMY+$14)
  16877. + ;/* If you wanna provide the ppc a startup msg. This msg will
  16878. + ; * be replied by the ppc.library after the PPC Task ends so
  16879. + ; * you can use this to abitrate your PPCUnloadObject()
  16880. + ; * Supported by PowerUP's PPCGetTaskAttr()
  16881. + ; */
  16882. + PPCTASKTAG_STARTUP_MSG        =(PPCTASKTAG_DUMMY+$15)
  16883. + ;/* The Data field for the PPCMessage
  16884. + ; * Supported by PowerUP's PPCGetTaskAttr()
  16885. + ; */
  16886. + PPCTASKTAG_STARTUP_MSGDATA    =(PPCTASKTAG_DUMMY+$16)
  16887. + ;/* The Length field for the PPCMessage
  16888. + ; * Supported by PowerUP's PPCGetTaskAttr()
  16889. + ; */
  16890. + PPCTASKTAG_STARTUP_MSGLENGTH    =(PPCTASKTAG_DUMMY+$17)
  16891. + ;/* The MsgID field for the PPCMessage
  16892. + ; * Supported by PowerUP's PPCGetTaskAttr()
  16893. + ; */
  16894. + PPCTASKTAG_STARTUP_MSGID    =(PPCTASKTAG_DUMMY+$18)
  16895. + ;/* The flag to activate the CTRL-C;D;E;F gateway to
  16896. + ; * the PPC Task by PPCSendSignal();
  16897. + ; */
  16898. + PPCTASKTAG_BREAKSIGNAL        =(PPCTASKTAG_DUMMY+$19)
  16899. + ;/* The CPU number the task should start on.
  16900. + ; * This is only a hint and no gurantee.
  16901. + ; */
  16902. + PPCTASKTAG_CPUHINT        =(PPCTASKTAG_DUMMY+$1a)
  16903. + ;/* Ptr to ixemul UserData
  16904. + ; * ONLY supported by PowerUP's PPCGetTaskAttr(),PPCSetTaskAttr()
  16905. + ; */
  16906. + PPCTASKTAG_EXTUSERDATA        =(PPCTASKTAG_DUMMY+$1b)
  16907. + ;/* Run Task Synchron Flag which means that the PPCCreateTask
  16908. + ; * doesn`t return until the task completes and the return
  16909. + ; * value is not the TaskObject but the Task`s return value.
  16910. + ; * To check if the task runned correctly check out the
  16911. + ; * PPCTASKTAG_ERROR fieldptr.
  16912. + ; * With this Tag you can do the same what the old RunTaskObject
  16913. + ; * does which interface is a bit limited(compatibility to the
  16914. + ; * first ppc.library version)
  16915. + ; */
  16916. + PPCTASKTAG_WAITFINISH    =(PPCTASKTAG_DUMMY+$31)
  16917. + ;/* 
  16918. + ; * PPCTAGTAG_ERROR types
  16919. + ; */
  16920. + ERROR_OK        =0
  16921. + ERROR_MEMORY        =1
  16922. + ERROR_NOPC        =2
  16923. + ERROR_CREATEMSGINTASK    =3
  16924. + ERROR_INPUTHANDLE    =4
  16925. + ERROR_OUTPUTHANDLE    =5
  16926. + ERROR_ERRORHANDLE    =6
  16927. + ;/**************************************************
  16928. + ; *
  16929. + ; *
  16930. + ; *             PPCGetTaskInfo() Tags
  16931. + ; *
  16932. + ; *
  16933. + ; **************************************************/
  16934. + ;/*
  16935. + ; * V45 adds the ti_Data data Set/Get passing if it`s possible
  16936. + ; */
  16937. + PPCTASKINFOTAG_DUMMY        =(TAG_USER+$21000)
  16938. + PPCTASKINFOTAG_NAME        =(PPCTASKINFOTAG_DUMMY+$1)
  16939. + PPCTASKINFOTAG_PRIORITY        =(PPCTASKINFOTAG_DUMMY+$2)
  16940. + PPCTASKINFOTAG_CACHEFLUSH    =(PPCTASKINFOTAG_DUMMY+$3)
  16941. + PPCTASKINFOTAG_STACKSIZE    =(PPCTASKINFOTAG_DUMMY+$4)
  16942. + PPCTASKINFOTAG_STATE        =(PPCTASKINFOTAG_DUMMY+$5)
  16943. + PPCTASKINFOTAG_TASK        =(PPCTASKINFOTAG_DUMMY+$6)
  16944. + ;/* This means the HOOK function is called for every Task; */
  16945. + PPCTASKINFOTAG_ALLTASK        =(PPCTASKINFOTAG_DUMMY+$7)
  16946. + ;/* Hook function which is called for a task so you can ask special fields
  16947. + ; * you may want to use.
  16948. + ; * Msg Parameter is NULL for now.
  16949. + ; * Object Parameter is the TaskObject
  16950. + ; *
  16951. + ; *    HookFunc(Hook, TaskObject, NULL)
  16952. + ; */
  16953. + PPCTASKINFOTAG_HOOK        =(PPCTASKINFOTAG_DUMMY+$8)
  16954. + PPCTASKINFOTAG_SIGALLOC        =(PPCTASKINFOTAG_DUMMY+$9)
  16955. + PPCTASKINFOTAG_SIGWAIT        =(PPCTASKINFOTAG_DUMMY+$a)
  16956. + PPCTASKINFOTAG_SIGRECVD        =(PPCTASKINFOTAG_DUMMY+$b)
  16957. + PPCTASKINFOTAG_USEDSTACKSIZE    =(PPCTASKINFOTAG_DUMMY+$c)
  16958. + PPCTASKINFOTAG_INPUTHANDLE    =(PPCTASKINFOTAG_DUMMY+$d)
  16959. + PPCTASKINFOTAG_OUTPUTHANDLE    =(PPCTASKINFOTAG_DUMMY+$e)
  16960. + PPCTASKINFOTAG_ERRORHANDLE    =(PPCTASKINFOTAG_DUMMY+$f)
  16961. + ;/* Return the ElfObject of a Task
  16962. + ; * (Get)
  16963. + ; * (V45)
  16964. + ; */
  16965. + PPCTASKINFOTAG_ELFOBJECT        =(PPCTASKINFOTAG_DUMMY+$10)
  16966. + ;/* See equal PPCTASKTAG_EXCEPTIONHOOK
  16967. + ; * (V45)
  16968. + ; * (Set)
  16969. + ; */
  16970. + PPCTASKINFOTAG_EXCEPTIONHOOK        =(PPCTASKINFOTAG_DUMMY+$11)
  16971. + ;/* Tell the task to stop at the first instruction.
  16972. + ; * Only allowed to be used when you get a TaskHookMsg
  16973. + ; * with the MethodID PPCTASKHOOKMETHOD_CREATE.
  16974. + ; * It must not be called while a PPC Task runs.
  16975. + ; * (V45)
  16976. + ; * (Set)
  16977. + ; */
  16978. + PPCTASKINFOTAG_STOPTASK            =(PPCTASKINFOTAG_DUMMY+$12)
  16979. + ;/* See equal PPCTASKTAG_MSGPORT
  16980. + ; * (V45)
  16981. + ; */
  16982. + PPCTASKINFOTAG_MSGPORT            =(PPCTASKINFOTAG_DUMMY+$13)
  16983. + ;/* See equal PPCTASKTAG_STARTUP_MSG
  16984. + ; * (V45)
  16985. + ; */
  16986. + PPCTASKINFOTAG_STARTUP_MSG        =(PPCTASKINFOTAG_DUMMY+$14)
  16987. + ;/* See equal PPCTASKTAG_STARTUP_MSGDATA
  16988. + ; * (V45)
  16989. + ; */
  16990. + PPCTASKINFOTAG_STARTUP_MSGDATA        =(PPCTASKINFOTAG_DUMMY+$15)
  16991. + ;/* See equal PPCTASKTAG_STARTUP_MSGLENGTH
  16992. + ; * (V45)
  16993. + ; */
  16994. + PPCTASKINFOTAG_STARTUP_MSGLENGTH    =(PPCTASKINFOTAG_DUMMY+$16)
  16995. + ;/* See equal PPCTASKTAG_STARTUP_MSGID
  16996. + ; * (V45)
  16997. + ; */
  16998. + PPCTASKINFOTAG_STARTUP_MSGID        =(PPCTASKINFOTAG_DUMMY+$17)
  16999. + ;/*
  17000. + ; * All Register Tags only accept Ptrs at ti_Data so I don`t have to
  17001. + ; * change the API when there`s a 64Bit PPC some time.
  17002. + ; */
  17003. + ;/* SRR0=PC;
  17004. + ; * Get/Set through ti_Data or PPCTASKINFOTAG_VALUEPTR
  17005. + ; * (Get/Set)
  17006. + ; */
  17007. + PPCTASKINFOTAG_PC        =(PPCTASKINFOTAG_DUMMY+$20)
  17008. + ;/* SRR1=MSR;
  17009. + ; * Get/Set through ti_Data or PPCTASKINFOTAG_VALUEPTR
  17010. + ; * (Get/Set)
  17011. + ; */
  17012. + PPCTASKINFOTAG_MSR        =(PPCTASKINFOTAG_DUMMY+$21)
  17013. + ;/* 32bit value in function Result;
  17014. + ; * Get/Set through ti_Data
  17015. + ; * (Get/Set)
  17016. + ; */
  17017. + PPCTASKINFOTAG_CR        =(PPCTASKINFOTAG_DUMMY+$22)
  17018. + ;/* 32bit value in function Result;
  17019. + ; * Get/Set through ti_Data
  17020. + ; * (Get/Set)
  17021. + ; */
  17022. + PPCTASKINFOTAG_XER        =(PPCTASKINFOTAG_DUMMY+$23)
  17023. + ;/* Result by PPCTASKINFOTAG_VALUEPTR;
  17024. + ; * Get/Set through ti_Data or PPCTASKINFOTAG_VALUEPTR
  17025. + ; * (Get/Set)
  17026. + ; */
  17027. + PPCTASKINFOTAG_LR        =(PPCTASKINFOTAG_DUMMY+$24)
  17028. + ;/* Result by PPCTASKINFOTAG_VALUEPTR;
  17029. + ; * Get/Set through ti_Data or PPCTASKINFOTAG_VALUEPTR
  17030. + ; * (Get/Set)
  17031. + ; */
  17032. + PPCTASKINFOTAG_CTR        =(PPCTASKINFOTAG_DUMMY+$25)
  17033. + ;/* Result by PPCTASKINFOTAG_VALUEPTR;
  17034. + ; * Get/Set through ti_Data or PPCTASKINFOTAG_VALUEPTR
  17035. + ; * (Get/Set)
  17036. + ; */
  17037. + PPCTASKINFOTAG_FPSCR        =(PPCTASKINFOTAG_DUMMY+$26)
  17038. + ;/* ti_Data=Register Number
  17039. + ; * Get/Set through PPCTASKINFOTAG_VALUEPTR
  17040. + ; * (Get/Set)
  17041. + ; */
  17042. + PPCTASKINFOTAG_GPR        =(PPCTASKINFOTAG_DUMMY+$30)
  17043. + ;/* ti_Data=Register Number
  17044. + ; * Get/Set through PPCTASKINFOTAG_VALUEPTR
  17045. + ; * (Get/Set)
  17046. + ; */
  17047. + PPCTASKINFOTAG_FPR        =(PPCTASKINFOTAG_DUMMY+$31)
  17048. + ;/* Address where to read/write the register value from.
  17049. + ; * I use a ptr to be size indepent with the registers
  17050. + ; */
  17051. + PPCTASKINFOTAG_VALUEPTR        =(PPCTASKINFOTAG_DUMMY+$32)
  17052. + ;/* With PPCTASKINFOTAG_WAITFINISHTASK
  17053. + ; * it returns the parent process in which you created
  17054. + ; * a synchron PPC Task. Synchron PPC Task`s are created
  17055. + ; * with the PPCTASKTAG_WAITINFISH,TRUE or outdated a
  17056. + ; * PPCRunObject.
  17057. + ; * The reason for this function is to find the shell
  17058. + ; * task easily and check for a CTRL-C for example.
  17059. + ; * (Get)
  17060. + ; * (V45)
  17061. + ; */
  17062. + PPCTASKINFOTAG_WAITFINISHTASK    =(PPCTASKTAG_DUMMY+$33)
  17063. + ;/**************************************************
  17064. + ; *
  17065. + ; *
  17066. + ; *           TaskObject ExceptionHook
  17067. + ; *
  17068. + ; *
  17069. + ; **************************************************/
  17070. +     STRUCTURE    ExceptionMsg,0
  17071. +     ULONG            Version;
  17072. +     ULONG            Type;
  17073. +     STRUCT            GPR,32*4;
  17074. +     STRUCT            FPR,32*8;
  17075. +     STRUCT            SR,16*4;
  17076. +     ULONG            CR;
  17077. +     DOUBLE            FPSCR;
  17078. +     ULONG            XER;
  17079. +     ULONG            LR;
  17080. +     ULONG            CTR;
  17081. +     ULONG            PVR;
  17082. +     ULONG            IBAT0U;
  17083. +     ULONG            IBAT0L;
  17084. +     ULONG            IBAT1U;
  17085. +     ULONG            IBAT1L;
  17086. +     ULONG            IBAT2U;
  17087. +     ULONG            IBAT2L;
  17088. +     ULONG            IBAT3U;
  17089. +     ULONG            IBAT3L;
  17090. +     ULONG            DBAT0U;
  17091. +     ULONG            DBAT0L;
  17092. +     ULONG            DBAT1U;
  17093. +     ULONG            DBAT1L;
  17094. +     ULONG            DBAT2U;
  17095. +     ULONG            DBAT2L;
  17096. +     ULONG            DBAT3U;
  17097. +     ULONG            DBAT3L;
  17098. +     ULONG            SDR1;
  17099. +     ULONG            ASR;
  17100. +     ULONG            DAR;
  17101. +     ULONG            DSISR;
  17102. +     ULONG            SRR0;
  17103. +     ULONG            SRR1;
  17104. +     ULONG            SPRG0;
  17105. +     ULONG            SPRG1;
  17106. +     ULONG            SPRG2;
  17107. +     ULONG            SPRG3;
  17108. +     ULONG            TBL;
  17109. +     ULONG            TBU;
  17110. +     ULONG            DEC;
  17111. +     ULONG            DABR;
  17112. +     ;/* 603 special registers; */
  17113. +     ULONG            DMISS;
  17114. +     ULONG            DCMP;
  17115. +     ULONG            HASH1;
  17116. +     ULONG            HASH2;
  17117. +     ULONG            IMISS;
  17118. +     ULONG            ICMP;
  17119. +     ULONG            RPA;
  17120. +     ;/* 604e special registers; */
  17121. +     ;/* Version 0 ends here; */
  17122. +     ULONG            MSR;
  17123. +     ;/* Version 1 ends here */
  17124. +     ;/* Size depends on Version; */
  17125. + ;/* Current supported Version
  17126. + ; */
  17127. + EXCEPTIONMSG_VERSION    =    1
  17128. + ;/*
  17129. + ; * Current supported Types
  17130. + ; */
  17131. + ;/*
  17132. + ; * These are the processor exceptions
  17133. + ; */
  17134. + EXCEPTION_UNKNOWN        =0    ;/* Won`t happen; */
  17135. + EXCEPTION_RESET            =1    ;/* Won`t happen; */
  17136. + EXCEPTION_MACHINECHECK        =2    ;/* Won`t happen; */
  17137. + EXCEPTION_DATAACCESS        =3
  17138. + EXCEPTION_INSTRUCTIONACCESS    =4
  17139. + EXCEPTION_EXTERNALINTERRUPT    =5    ;/* Won`t happen; */
  17140. + EXCEPTION_ALIGNMENT        =6
  17141. + EXCEPTION_PROGRAM        =7
  17142. + EXCEPTION_FPUUNAVAILABLE    =8
  17143. + EXCEPTION_DECREMENTER        =9
  17144. + EXCEPTION_INTERFACEERROR    =10
  17145. + EXCEPTION_RESERVED_B        =11
  17146. + EXCEPTION_SYSTEMCALL        =12
  17147. + EXCEPTION_TRACE            =13
  17148. + EXCEPTION_FPUASSIST        =14
  17149. + EXCEPTION_RESERVED_F        =15
  17150. + EXCEPTION_IMISS            =16
  17151. + EXCEPTION_DLOADMISS        =17
  17152. + EXCEPTION_DSTOREMISS        =18
  17153. + EXCEPTION_IADDRESSBREAK        =19
  17154. + EXCEPTION_SYSTEMMANAGEMENTINT    =20
  17155. + ;/*
  17156. + ; * These are the kernel exceptions
  17157. + ; * to signal certain events
  17158. + ; */
  17159. + EXCEPTION_MSG            =$80000000
  17160. + ;/*
  17161. + ; * You receive this exception type
  17162. + ; * when the Kernel could stop a Task
  17163. + ; * successfully after a Stop or Trace
  17164. + ; * operation.
  17165. + ; * Look at PPCTASKTAG_STOPTASK for example
  17166. + ; */
  17167. + EXCEPTION_STOPTASK        =(EXCEPTION_MSG+$0)
  17168. + ;/*
  17169. + ; * You receive this exception type
  17170. + ; * when the task completes.
  17171. + ; * In this case the ONLY valid fields in the
  17172. + ; * ExceptionMsg are the Version field and the
  17173. + ; * the Message type.
  17174. + ; */
  17175. + EXCEPTION_FINISHTASK        =(EXCEPTION_MSG+$1)
  17176. + ;/**************************************************
  17177. + ; *
  17178. + ; *
  17179. + ; *              PPCStartTask() Tags
  17180. + ; *
  17181. + ; *
  17182. + ; **************************************************/
  17183. + PPCTASKSTARTTAG_DUMMY        =(TAG_USER+$22000)
  17184. + ;/* Just run a Task again
  17185. + ; * ti_Data=BOOL
  17186. + ; */
  17187. + PPCTASKSTARTTAG_RUN        =(PPCTASKSTARTTAG_DUMMY+$0)
  17188. + ;/* Single Step the next instruction
  17189. + ; * ti_Data=BOOL
  17190. + ; */
  17191. + PPCTASKSTARTTAG_TRACE        =(PPCTASKSTARTTAG_DUMMY+$1)
  17192. + ;/* Branch until a Trace instruction
  17193. + ; * Processor dependent
  17194. + ; * ti_Data=BOOL
  17195. + ; * NOT SUPPORTED YET
  17196. + ; */
  17197. + PPCTASKSTARTTAG_BRANCHTRACE    =(PPCTASKSTARTTAG_DUMMY+$2)
  17198. + ;/* Run until Instruction hit
  17199. + ; * the Breakpoint Address
  17200. + ; * Processor dependent
  17201. + ; * ti_Data=BOOL
  17202. + ; * NOT SUPPORTED YET
  17203. + ; */
  17204. + PPCTASKSTARTTAG_IBREAK        =(PPCTASKSTARTTAG_DUMMY+$3)
  17205. + ;/* Run until DataAccess hit
  17206. + ; * the Breakpoint Address
  17207. + ; * Processor dependent
  17208. + ; * ti_Data=BOOL
  17209. + ; * NOT SUPPORTED YET
  17210. + ; */
  17211. + PPCTASKSTARTTAG_DBREAK        =(PPCTASKSTARTTAG_DUMMY+$4)
  17212. +     ENDC
  17213. diff -c2 -d -P -r include_h/powerup/ppclib/time.h includenew/powerup/ppclib/time.h
  17214. *** include_h/powerup/ppclib/time.h    Thu Jan  1 00:00:00 1970
  17215. --- includenew/powerup/ppclib/time.h    Wed Feb 14 02:41:23 2001
  17216. ***************
  17217. *** 0 ****
  17218. --- 1,84 ----
  17219. + #ifndef POWERUP_PPCLIB_TIME_H
  17220. + #define POWERUP_PPCLIB_TIME_H
  17221. + #define    PPCTIMERTAG_Dummy        (TAG_USER + 0x24000)
  17222. + /* PPCCreateTimerObject Tags */
  17223. + /* ptr to an optional error reason field
  17224. +  */
  17225. + #define    PPCTIMERTAG_ERROR        (PPCTIMERTAG_Dummy + 0x0)
  17226. + /* use the CPU timer to do simple synchron
  17227. +  * timer based operations
  17228. +  */
  17229. + #define    PPCTIMERTAG_CPU            (PPCTIMERTAG_Dummy + 0x1)
  17230. + /* create a job in a 50Hz timer queue
  17231. +  * which will send your task a signal after
  17232. +  * the ticks you specified run to zero.
  17233. +  * You specify the number of 50Hz ticks
  17234. +  * with the Tag.
  17235. +  */
  17236. + #define    PPCTIMERTAG_50HZ        (PPCTIMERTAG_Dummy + 0x2)
  17237. + /* The signalmask necessary for the 50Hz
  17238. +  * timer to signal your task
  17239. +  */
  17240. + #define    PPCTIMERTAG_SIGNALMASK        (PPCTIMERTAG_Dummy + 0x3)
  17241. + /* After the ticks ran down and the task
  17242. +  * is signaled the timer request is removed from the queue.
  17243. +  */
  17244. + #define    PPCTIMERTAG_AUTOREMOVE        (PPCTIMERTAG_Dummy + 0x4)
  17245. + /* PPCSetTimerObject() Tags */
  17246. + /* Start Timer,Start Job(add to the joblist) or
  17247. +  * Start ticks for PPCGetTimerObject()
  17248. +  */
  17249. + #define    PPCTIMERTAG_START        (PPCTIMERTAG_Dummy + 0x11)
  17250. + /* Stop Timer,Stop Job(remove from the joblist) or
  17251. +  * Stop ticks for PPCGetTimerObject()
  17252. +  */
  17253. + #define    PPCTIMERTAG_STOP        (PPCTIMERTAG_Dummy + 0x12)
  17254. + /* PPCGetTimerObject() Tags */
  17255. + /* Get ticks per second */
  17256. + #define    PPCTIMERTAG_TICKSPERSEC        (PPCTIMERTAG_Dummy + 0x13)
  17257. + /* Get current ticks */
  17258. + #define    PPCTIMERTAG_CURRENTTICKS    (PPCTIMERTAG_Dummy + 0x14)
  17259. + /* Get diff ticks after a start and stop */
  17260. + #define    PPCTIMERTAG_DIFFTICKS        (PPCTIMERTAG_Dummy + 0x15)
  17261. + /* Get diff microseconds after a start and stop */
  17262. + #define    PPCTIMERTAG_DIFFMICRO        (PPCTIMERTAG_Dummy + 0x16)
  17263. + /* Get diff seconds after a start and stop */
  17264. + #define    PPCTIMERTAG_DIFFSECS        (PPCTIMERTAG_Dummy + 0x17)
  17265. + /* Get diff minutes after a start and stop */
  17266. + #define    PPCTIMERTAG_DIFFMINS        (PPCTIMERTAG_Dummy + 0x18)
  17267. + /* Get diff hours after a start and stop */
  17268. + #define    PPCTIMERTAG_DIFFHOURS        (PPCTIMERTAG_Dummy + 0x19)
  17269. + /* Get diff days after a start and stop */
  17270. + #define    PPCTIMERTAG_DIFFDAYS        (PPCTIMERTAG_Dummy + 0x1a)
  17271. + #define    PPCTIMERERROR_OK    0
  17272. + #define    PPCTIMERERROR_MEMORY    1
  17273. + #endif
  17274. diff -c2 -d -P -r include_h/powerup/ppcpragmas/amigaguide_pragmas.h includenew/powerup/ppcpragmas/amigaguide_pragmas.h
  17275. *** include_h/powerup/ppcpragmas/amigaguide_pragmas.h    Thu Jan  1 00:00:00 1970
  17276. --- includenew/powerup/ppcpragmas/amigaguide_pragmas.h    Wed Feb 14 02:41:23 2001
  17277. ***************
  17278. *** 0 ****
  17279. --- 1,405 ----
  17280. + /* Automatically generated header! Do not edit! */
  17281. + #ifndef _PPCPRAGMA_AMIGAGUIDE_H
  17282. + #define _PPCPRAGMA_AMIGAGUIDE_H
  17283. + #ifdef __GNUC__
  17284. + #ifndef _PPCINLINE__AMIGAGUIDE_H
  17285. + #include <powerup/ppcinline/amigaguide.h>
  17286. + #endif
  17287. + #else
  17288. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  17289. + #include <powerup/ppclib/interface.h>
  17290. + #endif
  17291. + #ifndef POWERUP_GCCLIB_PROTOS_H
  17292. + #include <powerup/gcclib/powerup_protos.h>
  17293. + #endif
  17294. + #ifndef NO_PPCINLINE_STDARG
  17295. + #define NO_PPCINLINE_STDARG
  17296. + #endif/* SAS C PPC inlines */
  17297. + #ifndef AMIGAGUIDE_BASE_NAME
  17298. + #define AMIGAGUIDE_BASE_NAME AmigaGuideBase
  17299. + #endif /* !AMIGAGUIDE_BASE_NAME */
  17300. + #define    AddAmigaGuideHostA(h, name, attrs)    _AddAmigaGuideHostA(AMIGAGUIDE_BASE_NAME, h, name, attrs)
  17301. + static __inline APTR
  17302. + _AddAmigaGuideHostA(void *AmigaGuideBase, struct Hook *h, STRPTR name, struct TagItem *attrs)
  17303. + {
  17304. + struct Caos    MyCaos;
  17305. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17306. + //    MyCaos.M68kStart    =    NULL;
  17307. + //    MyCaos.M68kSize        =    0;
  17308. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17309. + //    MyCaos.PPCStart        =    NULL;
  17310. + //    MyCaos.PPCSize        =    0;
  17311. +     MyCaos.a0        =(ULONG) h;
  17312. +     MyCaos.d0        =(ULONG) name;
  17313. +     MyCaos.a1        =(ULONG) attrs;
  17314. +     MyCaos.caos_Un.Offset    =    (-138);
  17315. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17316. +     return((APTR)PPCCallOS(&MyCaos));
  17317. + }
  17318. + #ifndef NO_PPCINLINE_STDARG
  17319. + #define AddAmigaGuideHost(a0, a1, tags...) \
  17320. +     ({ULONG _tags[] = { tags }; AddAmigaGuideHostA((a0), (a1), (struct TagItem *)_tags);})
  17321. + #endif /* !NO_PPCINLINE_STDARG */
  17322. + #define    AmigaGuideSignal(cl)    _AmigaGuideSignal(AMIGAGUIDE_BASE_NAME, cl)
  17323. + static __inline ULONG
  17324. + _AmigaGuideSignal(void *AmigaGuideBase, APTR cl)
  17325. + {
  17326. + struct Caos    MyCaos;
  17327. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17328. + //    MyCaos.M68kStart    =    NULL;
  17329. + //    MyCaos.M68kSize        =    0;
  17330. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17331. + //    MyCaos.PPCStart        =    NULL;
  17332. + //    MyCaos.PPCSize        =    0;
  17333. +     MyCaos.a0        =(ULONG) cl;
  17334. +     MyCaos.caos_Un.Offset    =    (-72);
  17335. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17336. +     return((ULONG)PPCCallOS(&MyCaos));
  17337. + }
  17338. + #define    CloseAmigaGuide(cl)    _CloseAmigaGuide(AMIGAGUIDE_BASE_NAME, cl)
  17339. + static __inline void
  17340. + _CloseAmigaGuide(void *AmigaGuideBase, APTR cl)
  17341. + {
  17342. + struct Caos    MyCaos;
  17343. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17344. + //    MyCaos.M68kStart    =    NULL;
  17345. + //    MyCaos.M68kSize        =    0;
  17346. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17347. + //    MyCaos.PPCStart        =    NULL;
  17348. + //    MyCaos.PPCSize        =    0;
  17349. +     MyCaos.a0        =(ULONG) cl;
  17350. +     MyCaos.caos_Un.Offset    =    (-66);
  17351. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17352. +     PPCCallOS(&MyCaos);
  17353. + }
  17354. + #define    ExpungeXRef()    _ExpungeXRef(AMIGAGUIDE_BASE_NAME)
  17355. + static __inline void
  17356. + _ExpungeXRef(void *AmigaGuideBase)
  17357. + {
  17358. + struct Caos    MyCaos;
  17359. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17360. + //    MyCaos.M68kStart    =    NULL;
  17361. + //    MyCaos.M68kSize        =    0;
  17362. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17363. + //    MyCaos.PPCStart        =    NULL;
  17364. + //    MyCaos.PPCSize        =    0;
  17365. +     MyCaos.caos_Un.Offset    =    (-132);
  17366. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17367. +     PPCCallOS(&MyCaos);
  17368. + }
  17369. + #define    GetAmigaGuideAttr(tag, cl, storage)    _GetAmigaGuideAttr(AMIGAGUIDE_BASE_NAME, tag, cl, storage)
  17370. + static __inline LONG
  17371. + _GetAmigaGuideAttr(void *AmigaGuideBase, Tag tag, APTR cl, ULONG *storage)
  17372. + {
  17373. + struct Caos    MyCaos;
  17374. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17375. + //    MyCaos.M68kStart    =    NULL;
  17376. + //    MyCaos.M68kSize        =    0;
  17377. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17378. + //    MyCaos.PPCStart        =    NULL;
  17379. + //    MyCaos.PPCSize        =    0;
  17380. +     MyCaos.d0        =(ULONG) tag;
  17381. +     MyCaos.a0        =(ULONG) cl;
  17382. +     MyCaos.a1        =(ULONG) storage;
  17383. +     MyCaos.caos_Un.Offset    =    (-114);
  17384. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17385. +     return((LONG)PPCCallOS(&MyCaos));
  17386. + }
  17387. + #define    GetAmigaGuideMsg(cl)    _GetAmigaGuideMsg(AMIGAGUIDE_BASE_NAME, cl)
  17388. + static __inline struct AmigaGuideMsg *
  17389. + _GetAmigaGuideMsg(void *AmigaGuideBase, APTR cl)
  17390. + {
  17391. + struct Caos    MyCaos;
  17392. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17393. + //    MyCaos.M68kStart    =    NULL;
  17394. + //    MyCaos.M68kSize        =    0;
  17395. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17396. + //    MyCaos.PPCStart        =    NULL;
  17397. + //    MyCaos.PPCSize        =    0;
  17398. +     MyCaos.a0        =(ULONG) cl;
  17399. +     MyCaos.caos_Un.Offset    =    (-78);
  17400. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17401. +     return((struct AmigaGuideMsg *)PPCCallOS(&MyCaos));
  17402. + }
  17403. + #define    GetAmigaGuideString(id)    _GetAmigaGuideString(AMIGAGUIDE_BASE_NAME, id)
  17404. + static __inline STRPTR
  17405. + _GetAmigaGuideString(void *AmigaGuideBase, long id)
  17406. + {
  17407. + struct Caos    MyCaos;
  17408. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17409. + //    MyCaos.M68kStart    =    NULL;
  17410. + //    MyCaos.M68kSize        =    0;
  17411. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17412. + //    MyCaos.PPCStart        =    NULL;
  17413. + //    MyCaos.PPCSize        =    0;
  17414. +     MyCaos.d0        =(ULONG) id;
  17415. +     MyCaos.caos_Un.Offset    =    (-210);
  17416. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17417. +     return((STRPTR)PPCCallOS(&MyCaos));
  17418. + }
  17419. + #define    LoadXRef(lock, name)    _LoadXRef(AMIGAGUIDE_BASE_NAME, lock, name)
  17420. + static __inline LONG
  17421. + _LoadXRef(void *AmigaGuideBase, BPTR lock, STRPTR name)
  17422. + {
  17423. + struct Caos    MyCaos;
  17424. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17425. + //    MyCaos.M68kStart    =    NULL;
  17426. + //    MyCaos.M68kSize        =    0;
  17427. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17428. + //    MyCaos.PPCStart        =    NULL;
  17429. + //    MyCaos.PPCSize        =    0;
  17430. +     MyCaos.a0        =(ULONG) lock;
  17431. +     MyCaos.a1        =(ULONG) name;
  17432. +     MyCaos.caos_Un.Offset    =    (-126);
  17433. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17434. +     return((LONG)PPCCallOS(&MyCaos));
  17435. + }
  17436. + #define    LockAmigaGuideBase(handle)    _LockAmigaGuideBase(AMIGAGUIDE_BASE_NAME, handle)
  17437. + static __inline LONG
  17438. + _LockAmigaGuideBase(void *AmigaGuideBase, APTR handle)
  17439. + {
  17440. + struct Caos    MyCaos;
  17441. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17442. + //    MyCaos.M68kStart    =    NULL;
  17443. + //    MyCaos.M68kSize        =    0;
  17444. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17445. + //    MyCaos.PPCStart        =    NULL;
  17446. + //    MyCaos.PPCSize        =    0;
  17447. +     MyCaos.a0        =(ULONG) handle;
  17448. +     MyCaos.caos_Un.Offset    =    (-36);
  17449. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17450. +     return((LONG)PPCCallOS(&MyCaos));
  17451. + }
  17452. + #define    OpenAmigaGuideA(nag, attrs)    _OpenAmigaGuideA(AMIGAGUIDE_BASE_NAME, nag, attrs)
  17453. + static __inline APTR
  17454. + _OpenAmigaGuideA(void *AmigaGuideBase, struct NewAmigaGuide *nag, struct TagItem *attrs)
  17455. + {
  17456. + struct Caos    MyCaos;
  17457. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17458. + //    MyCaos.M68kStart    =    NULL;
  17459. + //    MyCaos.M68kSize        =    0;
  17460. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17461. + //    MyCaos.PPCStart        =    NULL;
  17462. + //    MyCaos.PPCSize        =    0;
  17463. +     MyCaos.a0        =(ULONG) nag;
  17464. +     MyCaos.a1        =(ULONG) attrs;
  17465. +     MyCaos.caos_Un.Offset    =    (-54);
  17466. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17467. +     return((APTR)PPCCallOS(&MyCaos));
  17468. + }
  17469. + #ifndef NO_PPCINLINE_STDARG
  17470. + #define OpenAmigaGuide(a0, tags...) \
  17471. +     ({ULONG _tags[] = { tags }; OpenAmigaGuideA((a0), (struct TagItem *)_tags);})
  17472. + #endif /* !NO_PPCINLINE_STDARG */
  17473. + #define    OpenAmigaGuideAsyncA(nag, attrs)    _OpenAmigaGuideAsyncA(AMIGAGUIDE_BASE_NAME, nag, attrs)
  17474. + static __inline APTR
  17475. + _OpenAmigaGuideAsyncA(void *AmigaGuideBase, struct NewAmigaGuide *nag, struct TagItem *attrs)
  17476. + {
  17477. + struct Caos    MyCaos;
  17478. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17479. + //    MyCaos.M68kStart    =    NULL;
  17480. + //    MyCaos.M68kSize        =    0;
  17481. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17482. + //    MyCaos.PPCStart        =    NULL;
  17483. + //    MyCaos.PPCSize        =    0;
  17484. +     MyCaos.a0        =(ULONG) nag;
  17485. +     MyCaos.d0        =(ULONG) attrs;
  17486. +     MyCaos.caos_Un.Offset    =    (-60);
  17487. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17488. +     return((APTR)PPCCallOS(&MyCaos));
  17489. + }
  17490. + #ifndef NO_PPCINLINE_STDARG
  17491. + #define OpenAmigaGuideAsync(a0, tags...) \
  17492. +     ({ULONG _tags[] = { tags }; OpenAmigaGuideAsyncA((a0), (struct TagItem *)_tags);})
  17493. + #endif /* !NO_PPCINLINE_STDARG */
  17494. + #define    RemoveAmigaGuideHostA(hh, attrs)    _RemoveAmigaGuideHostA(AMIGAGUIDE_BASE_NAME, hh, attrs)
  17495. + static __inline LONG
  17496. + _RemoveAmigaGuideHostA(void *AmigaGuideBase, APTR hh, struct TagItem *attrs)
  17497. + {
  17498. + struct Caos    MyCaos;
  17499. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17500. + //    MyCaos.M68kStart    =    NULL;
  17501. + //    MyCaos.M68kSize        =    0;
  17502. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17503. + //    MyCaos.PPCStart        =    NULL;
  17504. + //    MyCaos.PPCSize        =    0;
  17505. +     MyCaos.a0        =(ULONG) hh;
  17506. +     MyCaos.a1        =(ULONG) attrs;
  17507. +     MyCaos.caos_Un.Offset    =    (-144);
  17508. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17509. +     return((LONG)PPCCallOS(&MyCaos));
  17510. + }
  17511. + #ifndef NO_PPCINLINE_STDARG
  17512. + #define RemoveAmigaGuideHost(a0, tags...) \
  17513. +     ({ULONG _tags[] = { tags }; RemoveAmigaGuideHostA((a0), (struct TagItem *)_tags);})
  17514. + #endif /* !NO_PPCINLINE_STDARG */
  17515. + #define    ReplyAmigaGuideMsg(amsg)    _ReplyAmigaGuideMsg(AMIGAGUIDE_BASE_NAME, amsg)
  17516. + static __inline void
  17517. + _ReplyAmigaGuideMsg(void *AmigaGuideBase, struct AmigaGuideMsg *amsg)
  17518. + {
  17519. + struct Caos    MyCaos;
  17520. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17521. + //    MyCaos.M68kStart    =    NULL;
  17522. + //    MyCaos.M68kSize        =    0;
  17523. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17524. + //    MyCaos.PPCStart        =    NULL;
  17525. + //    MyCaos.PPCSize        =    0;
  17526. +     MyCaos.a0        =(ULONG) amsg;
  17527. +     MyCaos.caos_Un.Offset    =    (-84);
  17528. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17529. +     PPCCallOS(&MyCaos);
  17530. + }
  17531. + #define    SendAmigaGuideCmdA(cl, cmd, attrs)    _SendAmigaGuideCmdA(AMIGAGUIDE_BASE_NAME, cl, cmd, attrs)
  17532. + static __inline LONG
  17533. + _SendAmigaGuideCmdA(void *AmigaGuideBase, APTR cl, STRPTR cmd, struct TagItem *attrs)
  17534. + {
  17535. + struct Caos    MyCaos;
  17536. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17537. + //    MyCaos.M68kStart    =    NULL;
  17538. + //    MyCaos.M68kSize        =    0;
  17539. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17540. + //    MyCaos.PPCStart        =    NULL;
  17541. + //    MyCaos.PPCSize        =    0;
  17542. +     MyCaos.a0        =(ULONG) cl;
  17543. +     MyCaos.d0        =(ULONG) cmd;
  17544. +     MyCaos.d1        =(ULONG) attrs;
  17545. +     MyCaos.caos_Un.Offset    =    (-102);
  17546. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17547. +     return((LONG)PPCCallOS(&MyCaos));
  17548. + }
  17549. + #ifndef NO_PPCINLINE_STDARG
  17550. + #define SendAmigaGuideCmd(a0, a1, tags...) \
  17551. +     ({ULONG _tags[] = { tags }; SendAmigaGuideCmdA((a0), (a1), (struct TagItem *)_tags);})
  17552. + #endif /* !NO_PPCINLINE_STDARG */
  17553. + #define    SendAmigaGuideContextA(cl, attrs)    _SendAmigaGuideContextA(AMIGAGUIDE_BASE_NAME, cl, attrs)
  17554. + static __inline LONG
  17555. + _SendAmigaGuideContextA(void *AmigaGuideBase, APTR cl, struct TagItem *attrs)
  17556. + {
  17557. + struct Caos    MyCaos;
  17558. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17559. + //    MyCaos.M68kStart    =    NULL;
  17560. + //    MyCaos.M68kSize        =    0;
  17561. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17562. + //    MyCaos.PPCStart        =    NULL;
  17563. + //    MyCaos.PPCSize        =    0;
  17564. +     MyCaos.a0        =(ULONG) cl;
  17565. +     MyCaos.d0        =(ULONG) attrs;
  17566. +     MyCaos.caos_Un.Offset    =    (-96);
  17567. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17568. +     return((LONG)PPCCallOS(&MyCaos));
  17569. + }
  17570. + #ifndef NO_PPCINLINE_STDARG
  17571. + #define SendAmigaGuideContext(a0, tags...) \
  17572. +     ({ULONG _tags[] = { tags }; SendAmigaGuideContextA((a0), (struct TagItem *)_tags);})
  17573. + #endif /* !NO_PPCINLINE_STDARG */
  17574. + #define    SetAmigaGuideAttrsA(cl, attrs)    _SetAmigaGuideAttrsA(AMIGAGUIDE_BASE_NAME, cl, attrs)
  17575. + static __inline LONG
  17576. + _SetAmigaGuideAttrsA(void *AmigaGuideBase, APTR cl, struct TagItem *attrs)
  17577. + {
  17578. + struct Caos    MyCaos;
  17579. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17580. + //    MyCaos.M68kStart    =    NULL;
  17581. + //    MyCaos.M68kSize        =    0;
  17582. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17583. + //    MyCaos.PPCStart        =    NULL;
  17584. + //    MyCaos.PPCSize        =    0;
  17585. +     MyCaos.a0        =(ULONG) cl;
  17586. +     MyCaos.a1        =(ULONG) attrs;
  17587. +     MyCaos.caos_Un.Offset    =    (-108);
  17588. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17589. +     return((LONG)PPCCallOS(&MyCaos));
  17590. + }
  17591. + #ifndef NO_PPCINLINE_STDARG
  17592. + #define SetAmigaGuideAttrs(a0, tags...) \
  17593. +     ({ULONG _tags[] = { tags }; SetAmigaGuideAttrsA((a0), (struct TagItem *)_tags);})
  17594. + #endif /* !NO_PPCINLINE_STDARG */
  17595. + #define    SetAmigaGuideContextA(cl, id, attrs)    _SetAmigaGuideContextA(AMIGAGUIDE_BASE_NAME, cl, id, attrs)
  17596. + static __inline LONG
  17597. + _SetAmigaGuideContextA(void *AmigaGuideBase, APTR cl, unsigned long id, struct TagItem *attrs)
  17598. + {
  17599. + struct Caos    MyCaos;
  17600. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17601. + //    MyCaos.M68kStart    =    NULL;
  17602. + //    MyCaos.M68kSize        =    0;
  17603. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17604. + //    MyCaos.PPCStart        =    NULL;
  17605. + //    MyCaos.PPCSize        =    0;
  17606. +     MyCaos.a0        =(ULONG) cl;
  17607. +     MyCaos.d0        =(ULONG) id;
  17608. +     MyCaos.d1        =(ULONG) attrs;
  17609. +     MyCaos.caos_Un.Offset    =    (-90);
  17610. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17611. +     return((LONG)PPCCallOS(&MyCaos));
  17612. + }
  17613. + #ifndef NO_PPCINLINE_STDARG
  17614. + #define SetAmigaGuideContext(a0, a1, tags...) \
  17615. +     ({ULONG _tags[] = { tags }; SetAmigaGuideContextA((a0), (a1), (struct TagItem *)_tags);})
  17616. + #endif /* !NO_PPCINLINE_STDARG */
  17617. + #define    UnlockAmigaGuideBase(key)    _UnlockAmigaGuideBase(AMIGAGUIDE_BASE_NAME, key)
  17618. + static __inline void
  17619. + _UnlockAmigaGuideBase(void *AmigaGuideBase, long key)
  17620. + {
  17621. + struct Caos    MyCaos;
  17622. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17623. + //    MyCaos.M68kStart    =    NULL;
  17624. + //    MyCaos.M68kSize        =    0;
  17625. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17626. + //    MyCaos.PPCStart        =    NULL;
  17627. + //    MyCaos.PPCSize        =    0;
  17628. +     MyCaos.d0        =(ULONG) key;
  17629. +     MyCaos.caos_Un.Offset    =    (-42);
  17630. +     MyCaos.a6        =(ULONG) AmigaGuideBase;    
  17631. +     PPCCallOS(&MyCaos);
  17632. + }
  17633. + #endif /* SASC Pragmas */
  17634. + #endif /* !_PPCPRAGMA_AMIGAGUIDE_H */
  17635. diff -c2 -d -P -r include_h/powerup/ppcpragmas/asl_pragmas.h includenew/powerup/ppcpragmas/asl_pragmas.h
  17636. *** include_h/powerup/ppcpragmas/asl_pragmas.h    Thu Jan  1 00:00:00 1970
  17637. --- includenew/powerup/ppcpragmas/asl_pragmas.h    Wed Feb 14 02:41:23 2001
  17638. ***************
  17639. *** 0 ****
  17640. --- 1,147 ----
  17641. + /* Automatically generated header! Do not edit! */
  17642. + #ifndef _PPCPRAGMA_ASL_H
  17643. + #define _PPCPRAGMA_ASL_H
  17644. + #ifdef __GNUC__
  17645. + #ifndef _PPCINLINE__ASL_H
  17646. + #include <powerup/ppcinline/asl.h>
  17647. + #endif
  17648. + #else
  17649. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  17650. + #include <powerup/ppclib/interface.h>
  17651. + #endif
  17652. + #ifndef POWERUP_GCCLIB_PROTOS_H
  17653. + #include <powerup/gcclib/powerup_protos.h>
  17654. + #endif
  17655. + #ifndef NO_PPCINLINE_STDARG
  17656. + #define NO_PPCINLINE_STDARG
  17657. + #endif/* SAS C PPC inlines */
  17658. + #ifndef ASL_BASE_NAME
  17659. + #define ASL_BASE_NAME AslBase
  17660. + #endif /* !ASL_BASE_NAME */
  17661. + #define    AllocAslRequest(reqType, tagList)    _AllocAslRequest(ASL_BASE_NAME, reqType, tagList)
  17662. + static __inline APTR
  17663. + _AllocAslRequest(void *AslBase, unsigned long reqType, struct TagItem *tagList)
  17664. + {
  17665. + struct Caos    MyCaos;
  17666. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17667. + //    MyCaos.M68kStart    =    NULL;
  17668. + //    MyCaos.M68kSize        =    0;
  17669. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17670. + //    MyCaos.PPCStart        =    NULL;
  17671. + //    MyCaos.PPCSize        =    0;
  17672. +     MyCaos.d0        =(ULONG) reqType;
  17673. +     MyCaos.a0        =(ULONG) tagList;
  17674. +     MyCaos.caos_Un.Offset    =    (-48);
  17675. +     MyCaos.a6        =(ULONG) AslBase;    
  17676. +     return((APTR)PPCCallOS(&MyCaos));
  17677. + }
  17678. + #ifndef NO_PPCINLINE_STDARG
  17679. + #define AllocAslRequestTags(a0, tags...) \
  17680. +     ({ULONG _tags[] = { tags }; AllocAslRequest((a0), (struct TagItem *)_tags);})
  17681. + #endif /* !NO_PPCINLINE_STDARG */
  17682. + #define    AllocFileRequest()    _AllocFileRequest(ASL_BASE_NAME)
  17683. + static __inline struct FileRequester *
  17684. + _AllocFileRequest(void *AslBase)
  17685. + {
  17686. + struct Caos    MyCaos;
  17687. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17688. + //    MyCaos.M68kStart    =    NULL;
  17689. + //    MyCaos.M68kSize        =    0;
  17690. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17691. + //    MyCaos.PPCStart        =    NULL;
  17692. + //    MyCaos.PPCSize        =    0;
  17693. +     MyCaos.caos_Un.Offset    =    (-30);
  17694. +     MyCaos.a6        =(ULONG) AslBase;    
  17695. +     return((struct FileRequester *)PPCCallOS(&MyCaos));
  17696. + }
  17697. + #define    AslRequest(requester, tagList)    _AslRequest(ASL_BASE_NAME, requester, tagList)
  17698. + static __inline BOOL
  17699. + _AslRequest(void *AslBase, APTR requester, struct TagItem *tagList)
  17700. + {
  17701. + struct Caos    MyCaos;
  17702. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17703. + //    MyCaos.M68kStart    =    NULL;
  17704. + //    MyCaos.M68kSize        =    0;
  17705. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17706. + //    MyCaos.PPCStart        =    NULL;
  17707. + //    MyCaos.PPCSize        =    0;
  17708. +     MyCaos.a0        =(ULONG) requester;
  17709. +     MyCaos.a1        =(ULONG) tagList;
  17710. +     MyCaos.caos_Un.Offset    =    (-60);
  17711. +     MyCaos.a6        =(ULONG) AslBase;    
  17712. +     return((BOOL)PPCCallOS(&MyCaos));
  17713. + }
  17714. + #ifndef NO_PPCINLINE_STDARG
  17715. + #define AslRequestTags(a0, tags...) \
  17716. +     ({ULONG _tags[] = { tags }; AslRequest((a0), (struct TagItem *)_tags);})
  17717. + #endif /* !NO_PPCINLINE_STDARG */
  17718. + #define    FreeAslRequest(requester)    _FreeAslRequest(ASL_BASE_NAME, requester)
  17719. + static __inline void
  17720. + _FreeAslRequest(void *AslBase, APTR requester)
  17721. + {
  17722. + struct Caos    MyCaos;
  17723. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17724. + //    MyCaos.M68kStart    =    NULL;
  17725. + //    MyCaos.M68kSize        =    0;
  17726. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17727. + //    MyCaos.PPCStart        =    NULL;
  17728. + //    MyCaos.PPCSize        =    0;
  17729. +     MyCaos.a0        =(ULONG) requester;
  17730. +     MyCaos.caos_Un.Offset    =    (-54);
  17731. +     MyCaos.a6        =(ULONG) AslBase;    
  17732. +     PPCCallOS(&MyCaos);
  17733. + }
  17734. + #define    FreeFileRequest(fileReq)    _FreeFileRequest(ASL_BASE_NAME, fileReq)
  17735. + static __inline void
  17736. + _FreeFileRequest(void *AslBase, struct FileRequester *fileReq)
  17737. + {
  17738. + struct Caos    MyCaos;
  17739. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17740. + //    MyCaos.M68kStart    =    NULL;
  17741. + //    MyCaos.M68kSize        =    0;
  17742. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17743. + //    MyCaos.PPCStart        =    NULL;
  17744. + //    MyCaos.PPCSize        =    0;
  17745. +     MyCaos.a0        =(ULONG) fileReq;
  17746. +     MyCaos.caos_Un.Offset    =    (-36);
  17747. +     MyCaos.a6        =(ULONG) AslBase;    
  17748. +     PPCCallOS(&MyCaos);
  17749. + }
  17750. + #define    RequestFile(fileReq)    _RequestFile(ASL_BASE_NAME, fileReq)
  17751. + static __inline BOOL
  17752. + _RequestFile(void *AslBase, struct FileRequester *fileReq)
  17753. + {
  17754. + struct Caos    MyCaos;
  17755. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17756. + //    MyCaos.M68kStart    =    NULL;
  17757. + //    MyCaos.M68kSize        =    0;
  17758. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17759. + //    MyCaos.PPCStart        =    NULL;
  17760. + //    MyCaos.PPCSize        =    0;
  17761. +     MyCaos.a0        =(ULONG) fileReq;
  17762. +     MyCaos.caos_Un.Offset    =    (-42);
  17763. +     MyCaos.a6        =(ULONG) AslBase;    
  17764. +     return((BOOL)PPCCallOS(&MyCaos));
  17765. + }
  17766. + #endif /* SASC Pragmas */
  17767. + #endif /* !_PPCPRAGMA_ASL_H */
  17768. diff -c2 -d -P -r include_h/powerup/ppcpragmas/battclock_pragmas.h includenew/powerup/ppcpragmas/battclock_pragmas.h
  17769. *** include_h/powerup/ppcpragmas/battclock_pragmas.h    Thu Jan  1 00:00:00 1970
  17770. --- includenew/powerup/ppcpragmas/battclock_pragmas.h    Wed Feb 14 02:41:23 2001
  17771. ***************
  17772. *** 0 ****
  17773. --- 1,80 ----
  17774. + /* Automatically generated header! Do not edit! */
  17775. + #ifndef _PPCPRAGMA_BATTCLOCK_H
  17776. + #define _PPCPRAGMA_BATTCLOCK_H
  17777. + #ifdef __GNUC__
  17778. + #ifndef _PPCINLINE__BATTCLOCK_H
  17779. + #include <powerup/ppcinline/battclock.h>
  17780. + #endif
  17781. + #else
  17782. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  17783. + #include <powerup/ppclib/interface.h>
  17784. + #endif
  17785. + #ifndef POWERUP_GCCLIB_PROTOS_H
  17786. + #include <powerup/gcclib/powerup_protos.h>
  17787. + #endif
  17788. + #ifndef NO_PPCINLINE_STDARG
  17789. + #define NO_PPCINLINE_STDARG
  17790. + #endif/* SAS C PPC inlines */
  17791. + #ifndef BATTCLOCK_BASE_NAME
  17792. + #define BATTCLOCK_BASE_NAME BattClockBase
  17793. + #endif /* !BATTCLOCK_BASE_NAME */
  17794. + #define    ReadBattClock()    _ReadBattClock(BATTCLOCK_BASE_NAME)
  17795. + static __inline ULONG
  17796. + _ReadBattClock(void *BattClockBase)
  17797. + {
  17798. + struct Caos    MyCaos;
  17799. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17800. + //    MyCaos.M68kStart    =    NULL;
  17801. + //    MyCaos.M68kSize        =    0;
  17802. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17803. + //    MyCaos.PPCStart        =    NULL;
  17804. + //    MyCaos.PPCSize        =    0;
  17805. +     MyCaos.caos_Un.Offset    =    (-12);
  17806. +     MyCaos.a6        =(ULONG) BattClockBase;    
  17807. +     return((ULONG)PPCCallOS(&MyCaos));
  17808. + }
  17809. + #define    ResetBattClock()    _ResetBattClock(BATTCLOCK_BASE_NAME)
  17810. + static __inline void
  17811. + _ResetBattClock(void *BattClockBase)
  17812. + {
  17813. + struct Caos    MyCaos;
  17814. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17815. + //    MyCaos.M68kStart    =    NULL;
  17816. + //    MyCaos.M68kSize        =    0;
  17817. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17818. + //    MyCaos.PPCStart        =    NULL;
  17819. + //    MyCaos.PPCSize        =    0;
  17820. +     MyCaos.caos_Un.Offset    =    (-6);
  17821. +     MyCaos.a6        =(ULONG) BattClockBase;    
  17822. +     PPCCallOS(&MyCaos);
  17823. + }
  17824. + #define    WriteBattClock(time)    _WriteBattClock(BATTCLOCK_BASE_NAME, time)
  17825. + static __inline void
  17826. + _WriteBattClock(void *BattClockBase, unsigned long time)
  17827. + {
  17828. + struct Caos    MyCaos;
  17829. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17830. + //    MyCaos.M68kStart    =    NULL;
  17831. + //    MyCaos.M68kSize        =    0;
  17832. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17833. + //    MyCaos.PPCStart        =    NULL;
  17834. + //    MyCaos.PPCSize        =    0;
  17835. +     MyCaos.d0        =(ULONG) time;
  17836. +     MyCaos.caos_Un.Offset    =    (-18);
  17837. +     MyCaos.a6        =(ULONG) BattClockBase;    
  17838. +     PPCCallOS(&MyCaos);
  17839. + }
  17840. + #endif /* SASC Pragmas */
  17841. + #endif /* !_PPCPRAGMA_BATTCLOCK_H */
  17842. diff -c2 -d -P -r include_h/powerup/ppcpragmas/battmem_pragmas.h includenew/powerup/ppcpragmas/battmem_pragmas.h
  17843. *** include_h/powerup/ppcpragmas/battmem_pragmas.h    Thu Jan  1 00:00:00 1970
  17844. --- includenew/powerup/ppcpragmas/battmem_pragmas.h    Wed Feb 14 02:41:23 2001
  17845. ***************
  17846. *** 0 ****
  17847. --- 1,102 ----
  17848. + /* Automatically generated header! Do not edit! */
  17849. + #ifndef _PPCPRAGMA_BATTMEM_H
  17850. + #define _PPCPRAGMA_BATTMEM_H
  17851. + #ifdef __GNUC__
  17852. + #ifndef _PPCINLINE__BATTMEM_H
  17853. + #include <powerup/ppcinline/battmem.h>
  17854. + #endif
  17855. + #else
  17856. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  17857. + #include <powerup/ppclib/interface.h>
  17858. + #endif
  17859. + #ifndef POWERUP_GCCLIB_PROTOS_H
  17860. + #include <powerup/gcclib/powerup_protos.h>
  17861. + #endif
  17862. + #ifndef NO_PPCINLINE_STDARG
  17863. + #define NO_PPCINLINE_STDARG
  17864. + #endif/* SAS C PPC inlines */
  17865. + #ifndef BATTMEM_BASE_NAME
  17866. + #define BATTMEM_BASE_NAME BattMemBase
  17867. + #endif /* !BATTMEM_BASE_NAME */
  17868. + #define    ObtainBattSemaphore()    _ObtainBattSemaphore(BATTMEM_BASE_NAME)
  17869. + static __inline void
  17870. + _ObtainBattSemaphore(void *BattMemBase)
  17871. + {
  17872. + struct Caos    MyCaos;
  17873. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17874. + //    MyCaos.M68kStart    =    NULL;
  17875. + //    MyCaos.M68kSize        =    0;
  17876. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17877. + //    MyCaos.PPCStart        =    NULL;
  17878. + //    MyCaos.PPCSize        =    0;
  17879. +     MyCaos.caos_Un.Offset    =    (-6);
  17880. +     MyCaos.a6        =(ULONG) BattMemBase;    
  17881. +     PPCCallOS(&MyCaos);
  17882. + }
  17883. + #define    ReadBattMem(buffer, offset, length)    _ReadBattMem(BATTMEM_BASE_NAME, buffer, offset, length)
  17884. + static __inline ULONG
  17885. + _ReadBattMem(void *BattMemBase, APTR buffer, unsigned long offset, unsigned long length)
  17886. + {
  17887. + struct Caos    MyCaos;
  17888. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17889. + //    MyCaos.M68kStart    =    NULL;
  17890. + //    MyCaos.M68kSize        =    0;
  17891. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17892. + //    MyCaos.PPCStart        =    NULL;
  17893. + //    MyCaos.PPCSize        =    0;
  17894. +     MyCaos.a0        =(ULONG) buffer;
  17895. +     MyCaos.d0        =(ULONG) offset;
  17896. +     MyCaos.d1        =(ULONG) length;
  17897. +     MyCaos.caos_Un.Offset    =    (-18);
  17898. +     MyCaos.a6        =(ULONG) BattMemBase;    
  17899. +     return((ULONG)PPCCallOS(&MyCaos));
  17900. + }
  17901. + #define    ReleaseBattSemaphore()    _ReleaseBattSemaphore(BATTMEM_BASE_NAME)
  17902. + static __inline void
  17903. + _ReleaseBattSemaphore(void *BattMemBase)
  17904. + {
  17905. + struct Caos    MyCaos;
  17906. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17907. + //    MyCaos.M68kStart    =    NULL;
  17908. + //    MyCaos.M68kSize        =    0;
  17909. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17910. + //    MyCaos.PPCStart        =    NULL;
  17911. + //    MyCaos.PPCSize        =    0;
  17912. +     MyCaos.caos_Un.Offset    =    (-12);
  17913. +     MyCaos.a6        =(ULONG) BattMemBase;    
  17914. +     PPCCallOS(&MyCaos);
  17915. + }
  17916. + #define    WriteBattMem(buffer, offset, length)    _WriteBattMem(BATTMEM_BASE_NAME, buffer, offset, length)
  17917. + static __inline ULONG
  17918. + _WriteBattMem(void *BattMemBase, APTR buffer, unsigned long offset, unsigned long length)
  17919. + {
  17920. + struct Caos    MyCaos;
  17921. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17922. + //    MyCaos.M68kStart    =    NULL;
  17923. + //    MyCaos.M68kSize        =    0;
  17924. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17925. + //    MyCaos.PPCStart        =    NULL;
  17926. + //    MyCaos.PPCSize        =    0;
  17927. +     MyCaos.a0        =(ULONG) buffer;
  17928. +     MyCaos.d0        =(ULONG) offset;
  17929. +     MyCaos.d1        =(ULONG) length;
  17930. +     MyCaos.caos_Un.Offset    =    (-24);
  17931. +     MyCaos.a6        =(ULONG) BattMemBase;    
  17932. +     return((ULONG)PPCCallOS(&MyCaos));
  17933. + }
  17934. + #endif /* SASC Pragmas */
  17935. + #endif /* !_PPCPRAGMA_BATTMEM_H */
  17936. diff -c2 -d -P -r include_h/powerup/ppcpragmas/bullet_pragmas.h includenew/powerup/ppcpragmas/bullet_pragmas.h
  17937. *** include_h/powerup/ppcpragmas/bullet_pragmas.h    Thu Jan  1 00:00:00 1970
  17938. --- includenew/powerup/ppcpragmas/bullet_pragmas.h    Wed Feb 14 02:41:23 2001
  17939. ***************
  17940. *** 0 ****
  17941. --- 1,135 ----
  17942. + /* Automatically generated header! Do not edit! */
  17943. + #ifndef _PPCPRAGMA_BULLET_H
  17944. + #define _PPCPRAGMA_BULLET_H
  17945. + #ifdef __GNUC__
  17946. + #ifndef _PPCINLINE__BULLET_H
  17947. + #include <powerup/ppcinline/bullet.h>
  17948. + #endif
  17949. + #else
  17950. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  17951. + #include <powerup/ppclib/interface.h>
  17952. + #endif
  17953. + #ifndef POWERUP_GCCLIB_PROTOS_H
  17954. + #include <powerup/gcclib/powerup_protos.h>
  17955. + #endif
  17956. + #ifndef NO_PPCINLINE_STDARG
  17957. + #define NO_PPCINLINE_STDARG
  17958. + #endif/* SAS C PPC inlines */
  17959. + #ifndef BULLET_BASE_NAME
  17960. + #define BULLET_BASE_NAME BulletBase
  17961. + #endif /* !BULLET_BASE_NAME */
  17962. + #define    CloseEngine(glyphEngine)    _CloseEngine(BULLET_BASE_NAME, glyphEngine)
  17963. + static __inline void
  17964. + _CloseEngine(void *BulletBase, struct GlyphEngine *glyphEngine)
  17965. + {
  17966. + struct Caos    MyCaos;
  17967. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17968. + //    MyCaos.M68kStart    =    NULL;
  17969. + //    MyCaos.M68kSize        =    0;
  17970. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17971. + //    MyCaos.PPCStart        =    NULL;
  17972. + //    MyCaos.PPCSize        =    0;
  17973. +     MyCaos.a0        =(ULONG) glyphEngine;
  17974. +     MyCaos.caos_Un.Offset    =    (-36);
  17975. +     MyCaos.a6        =(ULONG) BulletBase;    
  17976. +     PPCCallOS(&MyCaos);
  17977. + }
  17978. + #define    ObtainInfoA(glyphEngine, tagList)    _ObtainInfoA(BULLET_BASE_NAME, glyphEngine, tagList)
  17979. + static __inline ULONG
  17980. + _ObtainInfoA(void *BulletBase, struct GlyphEngine *glyphEngine, struct TagItem *tagList)
  17981. + {
  17982. + struct Caos    MyCaos;
  17983. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  17984. + //    MyCaos.M68kStart    =    NULL;
  17985. + //    MyCaos.M68kSize        =    0;
  17986. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  17987. + //    MyCaos.PPCStart        =    NULL;
  17988. + //    MyCaos.PPCSize        =    0;
  17989. +     MyCaos.a0        =(ULONG) glyphEngine;
  17990. +     MyCaos.a1        =(ULONG) tagList;
  17991. +     MyCaos.caos_Un.Offset    =    (-48);
  17992. +     MyCaos.a6        =(ULONG) BulletBase;    
  17993. +     return((ULONG)PPCCallOS(&MyCaos));
  17994. + }
  17995. + #ifndef NO_PPCINLINE_STDARG
  17996. + #define ObtainInfo(a0, tags...) \
  17997. +     ({ULONG _tags[] = { tags }; ObtainInfoA((a0), (struct TagItem *)_tags);})
  17998. + #endif /* !NO_PPCINLINE_STDARG */
  17999. + #define    OpenEngine()    _OpenEngine(BULLET_BASE_NAME)
  18000. + static __inline struct GlyphEngine *
  18001. + _OpenEngine(void *BulletBase)
  18002. + {
  18003. + struct Caos    MyCaos;
  18004. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18005. + //    MyCaos.M68kStart    =    NULL;
  18006. + //    MyCaos.M68kSize        =    0;
  18007. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18008. + //    MyCaos.PPCStart        =    NULL;
  18009. + //    MyCaos.PPCSize        =    0;
  18010. +     MyCaos.caos_Un.Offset    =    (-30);
  18011. +     MyCaos.a6        =(ULONG) BulletBase;    
  18012. +     return((struct GlyphEngine *)PPCCallOS(&MyCaos));
  18013. + }
  18014. + #define    ReleaseInfoA(glyphEngine, tagList)    _ReleaseInfoA(BULLET_BASE_NAME, glyphEngine, tagList)
  18015. + static __inline ULONG
  18016. + _ReleaseInfoA(void *BulletBase, struct GlyphEngine *glyphEngine, struct TagItem *tagList)
  18017. + {
  18018. + struct Caos    MyCaos;
  18019. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18020. + //    MyCaos.M68kStart    =    NULL;
  18021. + //    MyCaos.M68kSize        =    0;
  18022. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18023. + //    MyCaos.PPCStart        =    NULL;
  18024. + //    MyCaos.PPCSize        =    0;
  18025. +     MyCaos.a0        =(ULONG) glyphEngine;
  18026. +     MyCaos.a1        =(ULONG) tagList;
  18027. +     MyCaos.caos_Un.Offset    =    (-54);
  18028. +     MyCaos.a6        =(ULONG) BulletBase;    
  18029. +     return((ULONG)PPCCallOS(&MyCaos));
  18030. + }
  18031. + #ifndef NO_PPCINLINE_STDARG
  18032. + #define ReleaseInfo(a0, tags...) \
  18033. +     ({ULONG _tags[] = { tags }; ReleaseInfoA((a0), (struct TagItem *)_tags);})
  18034. + #endif /* !NO_PPCINLINE_STDARG */
  18035. + #define    SetInfoA(glyphEngine, tagList)    _SetInfoA(BULLET_BASE_NAME, glyphEngine, tagList)
  18036. + static __inline ULONG
  18037. + _SetInfoA(void *BulletBase, struct GlyphEngine *glyphEngine, struct TagItem *tagList)
  18038. + {
  18039. + struct Caos    MyCaos;
  18040. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18041. + //    MyCaos.M68kStart    =    NULL;
  18042. + //    MyCaos.M68kSize        =    0;
  18043. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18044. + //    MyCaos.PPCStart        =    NULL;
  18045. + //    MyCaos.PPCSize        =    0;
  18046. +     MyCaos.a0        =(ULONG) glyphEngine;
  18047. +     MyCaos.a1        =(ULONG) tagList;
  18048. +     MyCaos.caos_Un.Offset    =    (-42);
  18049. +     MyCaos.a6        =(ULONG) BulletBase;    
  18050. +     return((ULONG)PPCCallOS(&MyCaos));
  18051. + }
  18052. + #ifndef NO_PPCINLINE_STDARG
  18053. + #define SetInfo(a0, tags...) \
  18054. +     ({ULONG _tags[] = { tags }; SetInfoA((a0), (struct TagItem *)_tags);})
  18055. + #endif /* !NO_PPCINLINE_STDARG */
  18056. + #endif /* SASC Pragmas */
  18057. + #endif /* !_PPCPRAGMA_BULLET_H */
  18058. diff -c2 -d -P -r include_h/powerup/ppcpragmas/cardres_pragmas.h includenew/powerup/ppcpragmas/cardres_pragmas.h
  18059. *** include_h/powerup/ppcpragmas/cardres_pragmas.h    Thu Jan  1 00:00:00 1970
  18060. --- includenew/powerup/ppcpragmas/cardres_pragmas.h    Wed Feb 14 02:41:24 2001
  18061. ***************
  18062. *** 0 ****
  18063. --- 1,338 ----
  18064. + /* Automatically generated header! Do not edit! */
  18065. + #ifndef _PPCPRAGMA_CARDRES_H
  18066. + #define _PPCPRAGMA_CARDRES_H
  18067. + #ifdef __GNUC__
  18068. + #ifndef _PPCINLINE__CARDRES_H
  18069. + #include <powerup/ppcinline/cardres.h>
  18070. + #endif
  18071. + #else
  18072. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  18073. + #include <powerup/ppclib/interface.h>
  18074. + #endif
  18075. + #ifndef POWERUP_GCCLIB_PROTOS_H
  18076. + #include <powerup/gcclib/powerup_protos.h>
  18077. + #endif
  18078. + #ifndef NO_PPCINLINE_STDARG
  18079. + #define NO_PPCINLINE_STDARG
  18080. + #endif/* SAS C PPC inlines */
  18081. + #ifndef CARDRES_BASE_NAME
  18082. + #define CARDRES_BASE_NAME CardResource
  18083. + #endif /* !CARDRES_BASE_NAME */
  18084. + #define    BeginCardAccess(handle)    _BeginCardAccess(CARDRES_BASE_NAME, handle)
  18085. + static __inline BOOL
  18086. + _BeginCardAccess(void *CardResource, struct CardHandle *handle)
  18087. + {
  18088. + struct Caos    MyCaos;
  18089. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18090. + //    MyCaos.M68kStart    =    NULL;
  18091. + //    MyCaos.M68kSize        =    0;
  18092. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18093. + //    MyCaos.PPCStart        =    NULL;
  18094. + //    MyCaos.PPCSize        =    0;
  18095. +     MyCaos.a1        =(ULONG) handle;
  18096. +     MyCaos.caos_Un.Offset    =    (-24);
  18097. +     MyCaos.a6        =(ULONG) CardResource;    
  18098. +     return((BOOL)PPCCallOS(&MyCaos));
  18099. + }
  18100. + #define    CardAccessSpeed(handle, nanoseconds)    _CardAccessSpeed(CARDRES_BASE_NAME, handle, nanoseconds)
  18101. + static __inline ULONG
  18102. + _CardAccessSpeed(void *CardResource, struct CardHandle *handle, unsigned long nanoseconds)
  18103. + {
  18104. + struct Caos    MyCaos;
  18105. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18106. + //    MyCaos.M68kStart    =    NULL;
  18107. + //    MyCaos.M68kSize        =    0;
  18108. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18109. + //    MyCaos.PPCStart        =    NULL;
  18110. + //    MyCaos.PPCSize        =    0;
  18111. +     MyCaos.a1        =(ULONG) handle;
  18112. +     MyCaos.d0        =(ULONG) nanoseconds;
  18113. +     MyCaos.caos_Un.Offset    =    (-54);
  18114. +     MyCaos.a6        =(ULONG) CardResource;    
  18115. +     return((ULONG)PPCCallOS(&MyCaos));
  18116. + }
  18117. + #define    CardChangeCount()    _CardChangeCount(CARDRES_BASE_NAME)
  18118. + static __inline ULONG
  18119. + _CardChangeCount(void *CardResource)
  18120. + {
  18121. + struct Caos    MyCaos;
  18122. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18123. + //    MyCaos.M68kStart    =    NULL;
  18124. + //    MyCaos.M68kSize        =    0;
  18125. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18126. + //    MyCaos.PPCStart        =    NULL;
  18127. + //    MyCaos.PPCSize        =    0;
  18128. +     MyCaos.caos_Un.Offset    =    (-96);
  18129. +     MyCaos.a6        =(ULONG) CardResource;    
  18130. +     return((ULONG)PPCCallOS(&MyCaos));
  18131. + }
  18132. + #define    CardForceChange()    _CardForceChange(CARDRES_BASE_NAME)
  18133. + static __inline BOOL
  18134. + _CardForceChange(void *CardResource)
  18135. + {
  18136. + struct Caos    MyCaos;
  18137. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18138. + //    MyCaos.M68kStart    =    NULL;
  18139. + //    MyCaos.M68kSize        =    0;
  18140. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18141. + //    MyCaos.PPCStart        =    NULL;
  18142. + //    MyCaos.PPCSize        =    0;
  18143. +     MyCaos.caos_Un.Offset    =    (-90);
  18144. +     MyCaos.a6        =(ULONG) CardResource;    
  18145. +     return((BOOL)PPCCallOS(&MyCaos));
  18146. + }
  18147. + #define    CardInterface()    _CardInterface(CARDRES_BASE_NAME)
  18148. + static __inline ULONG
  18149. + _CardInterface(void *CardResource)
  18150. + {
  18151. + struct Caos    MyCaos;
  18152. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18153. + //    MyCaos.M68kStart    =    NULL;
  18154. + //    MyCaos.M68kSize        =    0;
  18155. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18156. + //    MyCaos.PPCStart        =    NULL;
  18157. + //    MyCaos.PPCSize        =    0;
  18158. +     MyCaos.caos_Un.Offset    =    (-102);
  18159. +     MyCaos.a6        =(ULONG) CardResource;    
  18160. +     return((ULONG)PPCCallOS(&MyCaos));
  18161. + }
  18162. + #define    CardMiscControl(handle, control_bits)    _CardMiscControl(CARDRES_BASE_NAME, handle, control_bits)
  18163. + static __inline UBYTE
  18164. + _CardMiscControl(void *CardResource, struct CardHandle *handle, unsigned long control_bits)
  18165. + {
  18166. + struct Caos    MyCaos;
  18167. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18168. + //    MyCaos.M68kStart    =    NULL;
  18169. + //    MyCaos.M68kSize        =    0;
  18170. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18171. + //    MyCaos.PPCStart        =    NULL;
  18172. + //    MyCaos.PPCSize        =    0;
  18173. +     MyCaos.a1        =(ULONG) handle;
  18174. +     MyCaos.d1        =(ULONG) control_bits;
  18175. +     MyCaos.caos_Un.Offset    =    (-48);
  18176. +     MyCaos.a6        =(ULONG) CardResource;    
  18177. +     return((UBYTE)PPCCallOS(&MyCaos));
  18178. + }
  18179. + #define    CardProgramVoltage(handle, voltage)    _CardProgramVoltage(CARDRES_BASE_NAME, handle, voltage)
  18180. + static __inline LONG
  18181. + _CardProgramVoltage(void *CardResource, struct CardHandle *handle, unsigned long voltage)
  18182. + {
  18183. + struct Caos    MyCaos;
  18184. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18185. + //    MyCaos.M68kStart    =    NULL;
  18186. + //    MyCaos.M68kSize        =    0;
  18187. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18188. + //    MyCaos.PPCStart        =    NULL;
  18189. + //    MyCaos.PPCSize        =    0;
  18190. +     MyCaos.a1        =(ULONG) handle;
  18191. +     MyCaos.d0        =(ULONG) voltage;
  18192. +     MyCaos.caos_Un.Offset    =    (-60);
  18193. +     MyCaos.a6        =(ULONG) CardResource;    
  18194. +     return((LONG)PPCCallOS(&MyCaos));
  18195. + }
  18196. + #define    CardResetCard(handle)    _CardResetCard(CARDRES_BASE_NAME, handle)
  18197. + static __inline BOOL
  18198. + _CardResetCard(void *CardResource, struct CardHandle *handle)
  18199. + {
  18200. + struct Caos    MyCaos;
  18201. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18202. + //    MyCaos.M68kStart    =    NULL;
  18203. + //    MyCaos.M68kSize        =    0;
  18204. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18205. + //    MyCaos.PPCStart        =    NULL;
  18206. + //    MyCaos.PPCSize        =    0;
  18207. +     MyCaos.a1        =(ULONG) handle;
  18208. +     MyCaos.caos_Un.Offset    =    (-66);
  18209. +     MyCaos.a6        =(ULONG) CardResource;    
  18210. +     return((BOOL)PPCCallOS(&MyCaos));
  18211. + }
  18212. + #define    CardResetRemove(handle, flag)    _CardResetRemove(CARDRES_BASE_NAME, handle, flag)
  18213. + static __inline BOOL
  18214. + _CardResetRemove(void *CardResource, struct CardHandle *handle, unsigned long flag)
  18215. + {
  18216. + struct Caos    MyCaos;
  18217. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18218. + //    MyCaos.M68kStart    =    NULL;
  18219. + //    MyCaos.M68kSize        =    0;
  18220. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18221. + //    MyCaos.PPCStart        =    NULL;
  18222. + //    MyCaos.PPCSize        =    0;
  18223. +     MyCaos.a1        =(ULONG) handle;
  18224. +     MyCaos.d0        =(ULONG) flag;
  18225. +     MyCaos.caos_Un.Offset    =    (-42);
  18226. +     MyCaos.a6        =(ULONG) CardResource;    
  18227. +     return((BOOL)PPCCallOS(&MyCaos));
  18228. + }
  18229. + #define    CopyTuple(handle, buffer, tuplecode, size)    _CopyTuple(CARDRES_BASE_NAME, handle, buffer, tuplecode, size)
  18230. + static __inline BOOL
  18231. + _CopyTuple(void *CardResource, struct CardHandle *handle, UBYTE *buffer, unsigned long tuplecode, unsigned long size)
  18232. + {
  18233. + struct Caos    MyCaos;
  18234. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18235. + //    MyCaos.M68kStart    =    NULL;
  18236. + //    MyCaos.M68kSize        =    0;
  18237. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18238. + //    MyCaos.PPCStart        =    NULL;
  18239. + //    MyCaos.PPCSize        =    0;
  18240. +     MyCaos.a1        =(ULONG) handle;
  18241. +     MyCaos.a0        =(ULONG) buffer;
  18242. +     MyCaos.d1        =(ULONG) tuplecode;
  18243. +     MyCaos.d0        =(ULONG) size;
  18244. +     MyCaos.caos_Un.Offset    =    (-72);
  18245. +     MyCaos.a6        =(ULONG) CardResource;    
  18246. +     return((BOOL)PPCCallOS(&MyCaos));
  18247. + }
  18248. + #define    DeviceTuple(tuple_data, storage)    _DeviceTuple(CARDRES_BASE_NAME, tuple_data, storage)
  18249. + static __inline ULONG
  18250. + _DeviceTuple(void *CardResource, UBYTE *tuple_data, struct DeviceTData *storage)
  18251. + {
  18252. + struct Caos    MyCaos;
  18253. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18254. + //    MyCaos.M68kStart    =    NULL;
  18255. + //    MyCaos.M68kSize        =    0;
  18256. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18257. + //    MyCaos.PPCStart        =    NULL;
  18258. + //    MyCaos.PPCSize        =    0;
  18259. +     MyCaos.a0        =(ULONG) tuple_data;
  18260. +     MyCaos.a1        =(ULONG) storage;
  18261. +     MyCaos.caos_Un.Offset    =    (-78);
  18262. +     MyCaos.a6        =(ULONG) CardResource;    
  18263. +     return((ULONG)PPCCallOS(&MyCaos));
  18264. + }
  18265. + #define    EndCardAccess(handle)    _EndCardAccess(CARDRES_BASE_NAME, handle)
  18266. + static __inline BOOL
  18267. + _EndCardAccess(void *CardResource, struct CardHandle *handle)
  18268. + {
  18269. + struct Caos    MyCaos;
  18270. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18271. + //    MyCaos.M68kStart    =    NULL;
  18272. + //    MyCaos.M68kSize        =    0;
  18273. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18274. + //    MyCaos.PPCStart        =    NULL;
  18275. + //    MyCaos.PPCSize        =    0;
  18276. +     MyCaos.a1        =(ULONG) handle;
  18277. +     MyCaos.caos_Un.Offset    =    (-30);
  18278. +     MyCaos.a6        =(ULONG) CardResource;    
  18279. +     return((BOOL)PPCCallOS(&MyCaos));
  18280. + }
  18281. + #define    GetCardMap()    _GetCardMap(CARDRES_BASE_NAME)
  18282. + static __inline struct CardMemoryMap *
  18283. + _GetCardMap(void *CardResource)
  18284. + {
  18285. + struct Caos    MyCaos;
  18286. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18287. + //    MyCaos.M68kStart    =    NULL;
  18288. + //    MyCaos.M68kSize        =    0;
  18289. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18290. + //    MyCaos.PPCStart        =    NULL;
  18291. + //    MyCaos.PPCSize        =    0;
  18292. +     MyCaos.caos_Un.Offset    =    (-18);
  18293. +     MyCaos.a6        =(ULONG) CardResource;    
  18294. +     return((struct CardMemoryMap *)PPCCallOS(&MyCaos));
  18295. + }
  18296. + #define    IfAmigaXIP(handle)    _IfAmigaXIP(CARDRES_BASE_NAME, handle)
  18297. + static __inline struct Resident *
  18298. + _IfAmigaXIP(void *CardResource, struct CardHandle *handle)
  18299. + {
  18300. + struct Caos    MyCaos;
  18301. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18302. + //    MyCaos.M68kStart    =    NULL;
  18303. + //    MyCaos.M68kSize        =    0;
  18304. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18305. + //    MyCaos.PPCStart        =    NULL;
  18306. + //    MyCaos.PPCSize        =    0;
  18307. +     MyCaos.a2        =(ULONG) handle;
  18308. +     MyCaos.caos_Un.Offset    =    (-84);
  18309. +     MyCaos.a6        =(ULONG) CardResource;    
  18310. +     return((struct Resident *)PPCCallOS(&MyCaos));
  18311. + }
  18312. + #define    OwnCard(handle)    _OwnCard(CARDRES_BASE_NAME, handle)
  18313. + static __inline struct CardHandle *
  18314. + _OwnCard(void *CardResource, struct CardHandle *handle)
  18315. + {
  18316. + struct Caos    MyCaos;
  18317. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18318. + //    MyCaos.M68kStart    =    NULL;
  18319. + //    MyCaos.M68kSize        =    0;
  18320. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18321. + //    MyCaos.PPCStart        =    NULL;
  18322. + //    MyCaos.PPCSize        =    0;
  18323. +     MyCaos.a1        =(ULONG) handle;
  18324. +     MyCaos.caos_Un.Offset    =    (-6);
  18325. +     MyCaos.a6        =(ULONG) CardResource;    
  18326. +     return((struct CardHandle *)PPCCallOS(&MyCaos));
  18327. + }
  18328. + #define    ReadCardStatus()    _ReadCardStatus(CARDRES_BASE_NAME)
  18329. + static __inline UBYTE
  18330. + _ReadCardStatus(void *CardResource)
  18331. + {
  18332. + struct Caos    MyCaos;
  18333. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18334. + //    MyCaos.M68kStart    =    NULL;
  18335. + //    MyCaos.M68kSize        =    0;
  18336. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18337. + //    MyCaos.PPCStart        =    NULL;
  18338. + //    MyCaos.PPCSize        =    0;
  18339. +     MyCaos.caos_Un.Offset    =    (-36);
  18340. +     MyCaos.a6        =(ULONG) CardResource;    
  18341. +     return((UBYTE)PPCCallOS(&MyCaos));
  18342. + }
  18343. + #define    ReleaseCard(handle, flags)    _ReleaseCard(CARDRES_BASE_NAME, handle, flags)
  18344. + static __inline void
  18345. + _ReleaseCard(void *CardResource, struct CardHandle *handle, unsigned long flags)
  18346. + {
  18347. + struct Caos    MyCaos;
  18348. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18349. + //    MyCaos.M68kStart    =    NULL;
  18350. + //    MyCaos.M68kSize        =    0;
  18351. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18352. + //    MyCaos.PPCStart        =    NULL;
  18353. + //    MyCaos.PPCSize        =    0;
  18354. +     MyCaos.a1        =(ULONG) handle;
  18355. +     MyCaos.d0        =(ULONG) flags;
  18356. +     MyCaos.caos_Un.Offset    =    (-12);
  18357. +     MyCaos.a6        =(ULONG) CardResource;    
  18358. +     PPCCallOS(&MyCaos);
  18359. + }
  18360. + #endif /* SASC Pragmas */
  18361. + #endif /* !_PPCPRAGMA_CARDRES_H */
  18362. diff -c2 -d -P -r include_h/powerup/ppcpragmas/cia_pragmas.h includenew/powerup/ppcpragmas/cia_pragmas.h
  18363. *** include_h/powerup/ppcpragmas/cia_pragmas.h    Thu Jan  1 00:00:00 1970
  18364. --- includenew/powerup/ppcpragmas/cia_pragmas.h    Wed Feb 14 02:41:24 2001
  18365. ***************
  18366. *** 0 ****
  18367. --- 1,98 ----
  18368. + /* Automatically generated header! Do not edit! */
  18369. + #ifndef _PPCPRAGMA_CIA_H
  18370. + #define _PPCPRAGMA_CIA_H
  18371. + #ifdef __GNUC__
  18372. + #ifndef _PPCINLINE__CIA_H
  18373. + #include <powerup/ppcinline/cia.h>
  18374. + #endif
  18375. + #else
  18376. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  18377. + #include <powerup/ppclib/interface.h>
  18378. + #endif
  18379. + #ifndef POWERUP_GCCLIB_PROTOS_H
  18380. + #include <powerup/gcclib/powerup_protos.h>
  18381. + #endif
  18382. + #ifndef NO_PPCINLINE_STDARG
  18383. + #define NO_PPCINLINE_STDARG
  18384. + #endif/* SAS C PPC inlines */
  18385. + #define    AbleICR(resource, mask)    _AbleICR(resource, mask)
  18386. + static __inline WORD
  18387. + _AbleICR(struct Library *resource, long mask)
  18388. + {
  18389. + struct Caos    MyCaos;
  18390. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18391. + //    MyCaos.M68kStart    =    NULL;
  18392. + //    MyCaos.M68kSize        =    0;
  18393. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18394. + //    MyCaos.PPCStart        =    NULL;
  18395. + //    MyCaos.PPCSize        =    0;
  18396. +     MyCaos.a6        =(ULONG) resource;
  18397. +     MyCaos.d0        =(ULONG) mask;
  18398. +     MyCaos.caos_Un.Offset    =    (-18);
  18399. +     return((WORD)PPCCallOS(&MyCaos));
  18400. + }
  18401. + #define    AddICRVector(resource, iCRBit, interrupt)    _AddICRVector(resource, iCRBit, interrupt)
  18402. + static __inline struct Interrupt *
  18403. + _AddICRVector(struct Library *resource, long iCRBit, struct Interrupt *interrupt)
  18404. + {
  18405. + struct Caos    MyCaos;
  18406. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18407. + //    MyCaos.M68kStart    =    NULL;
  18408. + //    MyCaos.M68kSize        =    0;
  18409. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18410. + //    MyCaos.PPCStart        =    NULL;
  18411. + //    MyCaos.PPCSize        =    0;
  18412. +     MyCaos.a6        =(ULONG) resource;
  18413. +     MyCaos.d0        =(ULONG) iCRBit;
  18414. +     MyCaos.a1        =(ULONG) interrupt;
  18415. +     MyCaos.caos_Un.Offset    =    (-6);
  18416. +     return((struct Interrupt *)PPCCallOS(&MyCaos));
  18417. + }
  18418. + #define    RemICRVector(resource, iCRBit, interrupt)    _RemICRVector(resource, iCRBit, interrupt)
  18419. + static __inline void
  18420. + _RemICRVector(struct Library *resource, long iCRBit, struct Interrupt *interrupt)
  18421. + {
  18422. + struct Caos    MyCaos;
  18423. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18424. + //    MyCaos.M68kStart    =    NULL;
  18425. + //    MyCaos.M68kSize        =    0;
  18426. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18427. + //    MyCaos.PPCStart        =    NULL;
  18428. + //    MyCaos.PPCSize        =    0;
  18429. +     MyCaos.a6        =(ULONG) resource;
  18430. +     MyCaos.d0        =(ULONG) iCRBit;
  18431. +     MyCaos.a1        =(ULONG) interrupt;
  18432. +     MyCaos.caos_Un.Offset    =    (-12);
  18433. +     PPCCallOS(&MyCaos);
  18434. + }
  18435. + #define    SetICR(resource, mask)    _SetICR(resource, mask)
  18436. + static __inline WORD
  18437. + _SetICR(struct Library *resource, long mask)
  18438. + {
  18439. + struct Caos    MyCaos;
  18440. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18441. + //    MyCaos.M68kStart    =    NULL;
  18442. + //    MyCaos.M68kSize        =    0;
  18443. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18444. + //    MyCaos.PPCStart        =    NULL;
  18445. + //    MyCaos.PPCSize        =    0;
  18446. +     MyCaos.a6        =(ULONG) resource;
  18447. +     MyCaos.d0        =(ULONG) mask;
  18448. +     MyCaos.caos_Un.Offset    =    (-24);
  18449. +     return((WORD)PPCCallOS(&MyCaos));
  18450. + }
  18451. + #endif /* SASC Pragmas */
  18452. + #endif /* !_PPCPRAGMA_CIA_H */
  18453. diff -c2 -d -P -r include_h/powerup/ppcpragmas/colorwheel_pragmas.h includenew/powerup/ppcpragmas/colorwheel_pragmas.h
  18454. *** include_h/powerup/ppcpragmas/colorwheel_pragmas.h    Thu Jan  1 00:00:00 1970
  18455. --- includenew/powerup/ppcpragmas/colorwheel_pragmas.h    Wed Feb 14 02:41:24 2001
  18456. ***************
  18457. *** 0 ****
  18458. --- 1,66 ----
  18459. + /* Automatically generated header! Do not edit! */
  18460. + #ifndef _PPCPRAGMA_COLORWHEEL_H
  18461. + #define _PPCPRAGMA_COLORWHEEL_H
  18462. + #ifdef __GNUC__
  18463. + #ifndef _PPCINLINE__COLORWHEEL_H
  18464. + #include <powerup/ppcinline/colorwheel.h>
  18465. + #endif
  18466. + #else
  18467. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  18468. + #include <powerup/ppclib/interface.h>
  18469. + #endif
  18470. + #ifndef POWERUP_GCCLIB_PROTOS_H
  18471. + #include <powerup/gcclib/powerup_protos.h>
  18472. + #endif
  18473. + #ifndef NO_PPCINLINE_STDARG
  18474. + #define NO_PPCINLINE_STDARG
  18475. + #endif/* SAS C PPC inlines */
  18476. + #ifndef COLORWHEEL_BASE_NAME
  18477. + #define COLORWHEEL_BASE_NAME ColorWheelBase
  18478. + #endif /* !COLORWHEEL_BASE_NAME */
  18479. + #define    ConvertHSBToRGB(hsb, rgb)    _ConvertHSBToRGB(COLORWHEEL_BASE_NAME, hsb, rgb)
  18480. + static __inline void
  18481. + _ConvertHSBToRGB(void *ColorWheelBase, struct ColorWheelHSB *hsb, struct ColorWheelRGB *rgb)
  18482. + {
  18483. + struct Caos    MyCaos;
  18484. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18485. + //    MyCaos.M68kStart    =    NULL;
  18486. + //    MyCaos.M68kSize        =    0;
  18487. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18488. + //    MyCaos.PPCStart        =    NULL;
  18489. + //    MyCaos.PPCSize        =    0;
  18490. +     MyCaos.a0        =(ULONG) hsb;
  18491. +     MyCaos.a1        =(ULONG) rgb;
  18492. +     MyCaos.caos_Un.Offset    =    (-30);
  18493. +     MyCaos.a6        =(ULONG) ColorWheelBase;    
  18494. +     PPCCallOS(&MyCaos);
  18495. + }
  18496. + #define    ConvertRGBToHSB(rgb, hsb)    _ConvertRGBToHSB(COLORWHEEL_BASE_NAME, rgb, hsb)
  18497. + static __inline void
  18498. + _ConvertRGBToHSB(void *ColorWheelBase, struct ColorWheelRGB *rgb, struct ColorWheelHSB *hsb)
  18499. + {
  18500. + struct Caos    MyCaos;
  18501. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18502. + //    MyCaos.M68kStart    =    NULL;
  18503. + //    MyCaos.M68kSize        =    0;
  18504. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18505. + //    MyCaos.PPCStart        =    NULL;
  18506. + //    MyCaos.PPCSize        =    0;
  18507. +     MyCaos.a0        =(ULONG) rgb;
  18508. +     MyCaos.a1        =(ULONG) hsb;
  18509. +     MyCaos.caos_Un.Offset    =    (-36);
  18510. +     MyCaos.a6        =(ULONG) ColorWheelBase;    
  18511. +     PPCCallOS(&MyCaos);
  18512. + }
  18513. + #endif /* SASC Pragmas */
  18514. + #endif /* !_PPCPRAGMA_COLORWHEEL_H */
  18515. diff -c2 -d -P -r include_h/powerup/ppcpragmas/commodities_pragmas.h includenew/powerup/ppcpragmas/commodities_pragmas.h
  18516. *** include_h/powerup/ppcpragmas/commodities_pragmas.h    Thu Jan  1 00:00:00 1970
  18517. --- includenew/powerup/ppcpragmas/commodities_pragmas.h    Wed Feb 14 02:41:24 2001
  18518. ***************
  18519. *** 0 ****
  18520. --- 1,515 ----
  18521. + /* Automatically generated header! Do not edit! */
  18522. + #ifndef _PPCPRAGMA_COMMODITIES_H
  18523. + #define _PPCPRAGMA_COMMODITIES_H
  18524. + #ifdef __GNUC__
  18525. + #ifndef _PPCINLINE__COMMODITIES_H
  18526. + #include <powerup/ppcinline/commodities.h>
  18527. + #endif
  18528. + #else
  18529. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  18530. + #include <powerup/ppclib/interface.h>
  18531. + #endif
  18532. + #ifndef POWERUP_GCCLIB_PROTOS_H
  18533. + #include <powerup/gcclib/powerup_protos.h>
  18534. + #endif
  18535. + #ifndef NO_PPCINLINE_STDARG
  18536. + #define NO_PPCINLINE_STDARG
  18537. + #endif/* SAS C PPC inlines */
  18538. + #ifndef COMMODITIES_BASE_NAME
  18539. + #define COMMODITIES_BASE_NAME CxBase
  18540. + #endif /* !COMMODITIES_BASE_NAME */
  18541. + #define    ActivateCxObj(co, tf)    _ActivateCxObj(COMMODITIES_BASE_NAME, co, tf)
  18542. + static __inline LONG
  18543. + _ActivateCxObj(void *CxBase, CxObj *co, long tf)
  18544. + {
  18545. + struct Caos    MyCaos;
  18546. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18547. + //    MyCaos.M68kStart    =    NULL;
  18548. + //    MyCaos.M68kSize        =    0;
  18549. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18550. + //    MyCaos.PPCStart        =    NULL;
  18551. + //    MyCaos.PPCSize        =    0;
  18552. +     MyCaos.a0        =(ULONG) co;
  18553. +     MyCaos.d0        =(ULONG) tf;
  18554. +     MyCaos.caos_Un.Offset    =    (-42);
  18555. +     MyCaos.a6        =(ULONG) CxBase;    
  18556. +     return((LONG)PPCCallOS(&MyCaos));
  18557. + }
  18558. + #define    AddIEvents(events)    _AddIEvents(COMMODITIES_BASE_NAME, events)
  18559. + static __inline void
  18560. + _AddIEvents(void *CxBase, struct InputEvent *events)
  18561. + {
  18562. + struct Caos    MyCaos;
  18563. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18564. + //    MyCaos.M68kStart    =    NULL;
  18565. + //    MyCaos.M68kSize        =    0;
  18566. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18567. + //    MyCaos.PPCStart        =    NULL;
  18568. + //    MyCaos.PPCSize        =    0;
  18569. +     MyCaos.a0        =(ULONG) events;
  18570. +     MyCaos.caos_Un.Offset    =    (-180);
  18571. +     MyCaos.a6        =(ULONG) CxBase;    
  18572. +     PPCCallOS(&MyCaos);
  18573. + }
  18574. + #define    AttachCxObj(headObj, co)    _AttachCxObj(COMMODITIES_BASE_NAME, headObj, co)
  18575. + static __inline void
  18576. + _AttachCxObj(void *CxBase, CxObj *headObj, CxObj *co)
  18577. + {
  18578. + struct Caos    MyCaos;
  18579. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18580. + //    MyCaos.M68kStart    =    NULL;
  18581. + //    MyCaos.M68kSize        =    0;
  18582. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18583. + //    MyCaos.PPCStart        =    NULL;
  18584. + //    MyCaos.PPCSize        =    0;
  18585. +     MyCaos.a0        =(ULONG) headObj;
  18586. +     MyCaos.a1        =(ULONG) co;
  18587. +     MyCaos.caos_Un.Offset    =    (-84);
  18588. +     MyCaos.a6        =(ULONG) CxBase;    
  18589. +     PPCCallOS(&MyCaos);
  18590. + }
  18591. + #define    ClearCxObjError(co)    _ClearCxObjError(COMMODITIES_BASE_NAME, co)
  18592. + static __inline void
  18593. + _ClearCxObjError(void *CxBase, CxObj *co)
  18594. + {
  18595. + struct Caos    MyCaos;
  18596. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18597. + //    MyCaos.M68kStart    =    NULL;
  18598. + //    MyCaos.M68kSize        =    0;
  18599. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18600. + //    MyCaos.PPCStart        =    NULL;
  18601. + //    MyCaos.PPCSize        =    0;
  18602. +     MyCaos.a0        =(ULONG) co;
  18603. +     MyCaos.caos_Un.Offset    =    (-72);
  18604. +     MyCaos.a6        =(ULONG) CxBase;    
  18605. +     PPCCallOS(&MyCaos);
  18606. + }
  18607. + #define    CreateCxObj(type, arg1, arg2)    _CreateCxObj(COMMODITIES_BASE_NAME, type, arg1, arg2)
  18608. + static __inline CxObj *
  18609. + _CreateCxObj(void *CxBase, unsigned long type, long arg1, long arg2)
  18610. + {
  18611. + struct Caos    MyCaos;
  18612. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18613. + //    MyCaos.M68kStart    =    NULL;
  18614. + //    MyCaos.M68kSize        =    0;
  18615. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18616. + //    MyCaos.PPCStart        =    NULL;
  18617. + //    MyCaos.PPCSize        =    0;
  18618. +     MyCaos.d0        =(ULONG) type;
  18619. +     MyCaos.a0        =(ULONG) arg1;
  18620. +     MyCaos.a1        =(ULONG) arg2;
  18621. +     MyCaos.caos_Un.Offset    =    (-30);
  18622. +     MyCaos.a6        =(ULONG) CxBase;    
  18623. +     return((CxObj *)PPCCallOS(&MyCaos));
  18624. + }
  18625. + #define    CxBroker(nb, error)    _CxBroker(COMMODITIES_BASE_NAME, nb, error)
  18626. + static __inline CxObj *
  18627. + _CxBroker(void *CxBase, struct NewBroker *nb, LONG *error)
  18628. + {
  18629. + struct Caos    MyCaos;
  18630. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18631. + //    MyCaos.M68kStart    =    NULL;
  18632. + //    MyCaos.M68kSize        =    0;
  18633. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18634. + //    MyCaos.PPCStart        =    NULL;
  18635. + //    MyCaos.PPCSize        =    0;
  18636. +     MyCaos.a0        =(ULONG) nb;
  18637. +     MyCaos.d0        =(ULONG) error;
  18638. +     MyCaos.caos_Un.Offset    =    (-36);
  18639. +     MyCaos.a6        =(ULONG) CxBase;    
  18640. +     return((CxObj *)PPCCallOS(&MyCaos));
  18641. + }
  18642. + #define    CxMsgData(cxm)    _CxMsgData(COMMODITIES_BASE_NAME, cxm)
  18643. + static __inline APTR
  18644. + _CxMsgData(void *CxBase, CxMsg *cxm)
  18645. + {
  18646. + struct Caos    MyCaos;
  18647. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18648. + //    MyCaos.M68kStart    =    NULL;
  18649. + //    MyCaos.M68kSize        =    0;
  18650. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18651. + //    MyCaos.PPCStart        =    NULL;
  18652. + //    MyCaos.PPCSize        =    0;
  18653. +     MyCaos.a0        =(ULONG) cxm;
  18654. +     MyCaos.caos_Un.Offset    =    (-144);
  18655. +     MyCaos.a6        =(ULONG) CxBase;    
  18656. +     return((APTR)PPCCallOS(&MyCaos));
  18657. + }
  18658. + #define    CxMsgID(cxm)    _CxMsgID(COMMODITIES_BASE_NAME, cxm)
  18659. + static __inline LONG
  18660. + _CxMsgID(void *CxBase, CxMsg *cxm)
  18661. + {
  18662. + struct Caos    MyCaos;
  18663. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18664. + //    MyCaos.M68kStart    =    NULL;
  18665. + //    MyCaos.M68kSize        =    0;
  18666. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18667. + //    MyCaos.PPCStart        =    NULL;
  18668. + //    MyCaos.PPCSize        =    0;
  18669. +     MyCaos.a0        =(ULONG) cxm;
  18670. +     MyCaos.caos_Un.Offset    =    (-150);
  18671. +     MyCaos.a6        =(ULONG) CxBase;    
  18672. +     return((LONG)PPCCallOS(&MyCaos));
  18673. + }
  18674. + #define    CxMsgType(cxm)    _CxMsgType(COMMODITIES_BASE_NAME, cxm)
  18675. + static __inline ULONG
  18676. + _CxMsgType(void *CxBase, CxMsg *cxm)
  18677. + {
  18678. + struct Caos    MyCaos;
  18679. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18680. + //    MyCaos.M68kStart    =    NULL;
  18681. + //    MyCaos.M68kSize        =    0;
  18682. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18683. + //    MyCaos.PPCStart        =    NULL;
  18684. + //    MyCaos.PPCSize        =    0;
  18685. +     MyCaos.a0        =(ULONG) cxm;
  18686. +     MyCaos.caos_Un.Offset    =    (-138);
  18687. +     MyCaos.a6        =(ULONG) CxBase;    
  18688. +     return((ULONG)PPCCallOS(&MyCaos));
  18689. + }
  18690. + #define    CxObjError(co)    _CxObjError(COMMODITIES_BASE_NAME, co)
  18691. + static __inline LONG
  18692. + _CxObjError(void *CxBase, CxObj *co)
  18693. + {
  18694. + struct Caos    MyCaos;
  18695. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18696. + //    MyCaos.M68kStart    =    NULL;
  18697. + //    MyCaos.M68kSize        =    0;
  18698. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18699. + //    MyCaos.PPCStart        =    NULL;
  18700. + //    MyCaos.PPCSize        =    0;
  18701. +     MyCaos.a0        =(ULONG) co;
  18702. +     MyCaos.caos_Un.Offset    =    (-66);
  18703. +     MyCaos.a6        =(ULONG) CxBase;    
  18704. +     return((LONG)PPCCallOS(&MyCaos));
  18705. + }
  18706. + #define    CxObjType(co)    _CxObjType(COMMODITIES_BASE_NAME, co)
  18707. + static __inline ULONG
  18708. + _CxObjType(void *CxBase, CxObj *co)
  18709. + {
  18710. + struct Caos    MyCaos;
  18711. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18712. + //    MyCaos.M68kStart    =    NULL;
  18713. + //    MyCaos.M68kSize        =    0;
  18714. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18715. + //    MyCaos.PPCStart        =    NULL;
  18716. + //    MyCaos.PPCSize        =    0;
  18717. +     MyCaos.a0        =(ULONG) co;
  18718. +     MyCaos.caos_Un.Offset    =    (-60);
  18719. +     MyCaos.a6        =(ULONG) CxBase;    
  18720. +     return((ULONG)PPCCallOS(&MyCaos));
  18721. + }
  18722. + #define    DeleteCxObj(co)    _DeleteCxObj(COMMODITIES_BASE_NAME, co)
  18723. + static __inline void
  18724. + _DeleteCxObj(void *CxBase, CxObj *co)
  18725. + {
  18726. + struct Caos    MyCaos;
  18727. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18728. + //    MyCaos.M68kStart    =    NULL;
  18729. + //    MyCaos.M68kSize        =    0;
  18730. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18731. + //    MyCaos.PPCStart        =    NULL;
  18732. + //    MyCaos.PPCSize        =    0;
  18733. +     MyCaos.a0        =(ULONG) co;
  18734. +     MyCaos.caos_Un.Offset    =    (-48);
  18735. +     MyCaos.a6        =(ULONG) CxBase;    
  18736. +     PPCCallOS(&MyCaos);
  18737. + }
  18738. + #define    DeleteCxObjAll(co)    _DeleteCxObjAll(COMMODITIES_BASE_NAME, co)
  18739. + static __inline void
  18740. + _DeleteCxObjAll(void *CxBase, CxObj *co)
  18741. + {
  18742. + struct Caos    MyCaos;
  18743. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18744. + //    MyCaos.M68kStart    =    NULL;
  18745. + //    MyCaos.M68kSize        =    0;
  18746. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18747. + //    MyCaos.PPCStart        =    NULL;
  18748. + //    MyCaos.PPCSize        =    0;
  18749. +     MyCaos.a0        =(ULONG) co;
  18750. +     MyCaos.caos_Un.Offset    =    (-54);
  18751. +     MyCaos.a6        =(ULONG) CxBase;    
  18752. +     PPCCallOS(&MyCaos);
  18753. + }
  18754. + #define    DisposeCxMsg(cxm)    _DisposeCxMsg(COMMODITIES_BASE_NAME, cxm)
  18755. + static __inline void
  18756. + _DisposeCxMsg(void *CxBase, CxMsg *cxm)
  18757. + {
  18758. + struct Caos    MyCaos;
  18759. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18760. + //    MyCaos.M68kStart    =    NULL;
  18761. + //    MyCaos.M68kSize        =    0;
  18762. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18763. + //    MyCaos.PPCStart        =    NULL;
  18764. + //    MyCaos.PPCSize        =    0;
  18765. +     MyCaos.a0        =(ULONG) cxm;
  18766. +     MyCaos.caos_Un.Offset    =    (-168);
  18767. +     MyCaos.a6        =(ULONG) CxBase;    
  18768. +     PPCCallOS(&MyCaos);
  18769. + }
  18770. + #define    DivertCxMsg(cxm, headObj, returnObj)    _DivertCxMsg(COMMODITIES_BASE_NAME, cxm, headObj, returnObj)
  18771. + static __inline void
  18772. + _DivertCxMsg(void *CxBase, CxMsg *cxm, CxObj *headObj, CxObj *returnObj)
  18773. + {
  18774. + struct Caos    MyCaos;
  18775. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18776. + //    MyCaos.M68kStart    =    NULL;
  18777. + //    MyCaos.M68kSize        =    0;
  18778. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18779. + //    MyCaos.PPCStart        =    NULL;
  18780. + //    MyCaos.PPCSize        =    0;
  18781. +     MyCaos.a0        =(ULONG) cxm;
  18782. +     MyCaos.a1        =(ULONG) headObj;
  18783. +     MyCaos.a2        =(ULONG) returnObj;
  18784. +     MyCaos.caos_Un.Offset    =    (-156);
  18785. +     MyCaos.a6        =(ULONG) CxBase;    
  18786. +     PPCCallOS(&MyCaos);
  18787. + }
  18788. + #define    EnqueueCxObj(headObj, co)    _EnqueueCxObj(COMMODITIES_BASE_NAME, headObj, co)
  18789. + static __inline void
  18790. + _EnqueueCxObj(void *CxBase, CxObj *headObj, CxObj *co)
  18791. + {
  18792. + struct Caos    MyCaos;
  18793. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18794. + //    MyCaos.M68kStart    =    NULL;
  18795. + //    MyCaos.M68kSize        =    0;
  18796. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18797. + //    MyCaos.PPCStart        =    NULL;
  18798. + //    MyCaos.PPCSize        =    0;
  18799. +     MyCaos.a0        =(ULONG) headObj;
  18800. +     MyCaos.a1        =(ULONG) co;
  18801. +     MyCaos.caos_Un.Offset    =    (-90);
  18802. +     MyCaos.a6        =(ULONG) CxBase;    
  18803. +     PPCCallOS(&MyCaos);
  18804. + }
  18805. + #define    InsertCxObj(headObj, co, pred)    _InsertCxObj(COMMODITIES_BASE_NAME, headObj, co, pred)
  18806. + static __inline void
  18807. + _InsertCxObj(void *CxBase, CxObj *headObj, CxObj *co, CxObj *pred)
  18808. + {
  18809. + struct Caos    MyCaos;
  18810. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18811. + //    MyCaos.M68kStart    =    NULL;
  18812. + //    MyCaos.M68kSize        =    0;
  18813. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18814. + //    MyCaos.PPCStart        =    NULL;
  18815. + //    MyCaos.PPCSize        =    0;
  18816. +     MyCaos.a0        =(ULONG) headObj;
  18817. +     MyCaos.a1        =(ULONG) co;
  18818. +     MyCaos.a2        =(ULONG) pred;
  18819. +     MyCaos.caos_Un.Offset    =    (-96);
  18820. +     MyCaos.a6        =(ULONG) CxBase;    
  18821. +     PPCCallOS(&MyCaos);
  18822. + }
  18823. + #define    InvertKeyMap(ansiCode, event, km)    _InvertKeyMap(COMMODITIES_BASE_NAME, ansiCode, event, km)
  18824. + static __inline BOOL
  18825. + _InvertKeyMap(void *CxBase, unsigned long ansiCode, struct InputEvent *event, struct KeyMap *km)
  18826. + {
  18827. + struct Caos    MyCaos;
  18828. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18829. + //    MyCaos.M68kStart    =    NULL;
  18830. + //    MyCaos.M68kSize        =    0;
  18831. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18832. + //    MyCaos.PPCStart        =    NULL;
  18833. + //    MyCaos.PPCSize        =    0;
  18834. +     MyCaos.d0        =(ULONG) ansiCode;
  18835. +     MyCaos.a0        =(ULONG) event;
  18836. +     MyCaos.a1        =(ULONG) km;
  18837. +     MyCaos.caos_Un.Offset    =    (-174);
  18838. +     MyCaos.a6        =(ULONG) CxBase;    
  18839. +     return((BOOL)PPCCallOS(&MyCaos));
  18840. + }
  18841. + #define    MatchIX(event, ix)    _MatchIX(COMMODITIES_BASE_NAME, event, ix)
  18842. + static __inline BOOL
  18843. + _MatchIX(void *CxBase, struct InputEvent *event, IX *ix)
  18844. + {
  18845. + struct Caos    MyCaos;
  18846. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18847. + //    MyCaos.M68kStart    =    NULL;
  18848. + //    MyCaos.M68kSize        =    0;
  18849. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18850. + //    MyCaos.PPCStart        =    NULL;
  18851. + //    MyCaos.PPCSize        =    0;
  18852. +     MyCaos.a0        =(ULONG) event;
  18853. +     MyCaos.a1        =(ULONG) ix;
  18854. +     MyCaos.caos_Un.Offset    =    (-204);
  18855. +     MyCaos.a6        =(ULONG) CxBase;    
  18856. +     return((BOOL)PPCCallOS(&MyCaos));
  18857. + }
  18858. + #define    ParseIX(description, ix)    _ParseIX(COMMODITIES_BASE_NAME, description, ix)
  18859. + static __inline LONG
  18860. + _ParseIX(void *CxBase, STRPTR description, IX *ix)
  18861. + {
  18862. + struct Caos    MyCaos;
  18863. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18864. + //    MyCaos.M68kStart    =    NULL;
  18865. + //    MyCaos.M68kSize        =    0;
  18866. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18867. + //    MyCaos.PPCStart        =    NULL;
  18868. + //    MyCaos.PPCSize        =    0;
  18869. +     MyCaos.a0        =(ULONG) description;
  18870. +     MyCaos.a1        =(ULONG) ix;
  18871. +     MyCaos.caos_Un.Offset    =    (-132);
  18872. +     MyCaos.a6        =(ULONG) CxBase;    
  18873. +     return((LONG)PPCCallOS(&MyCaos));
  18874. + }
  18875. + #define    RemoveCxObj(co)    _RemoveCxObj(COMMODITIES_BASE_NAME, co)
  18876. + static __inline void
  18877. + _RemoveCxObj(void *CxBase, CxObj *co)
  18878. + {
  18879. + struct Caos    MyCaos;
  18880. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18881. + //    MyCaos.M68kStart    =    NULL;
  18882. + //    MyCaos.M68kSize        =    0;
  18883. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18884. + //    MyCaos.PPCStart        =    NULL;
  18885. + //    MyCaos.PPCSize        =    0;
  18886. +     MyCaos.a0        =(ULONG) co;
  18887. +     MyCaos.caos_Un.Offset    =    (-102);
  18888. +     MyCaos.a6        =(ULONG) CxBase;    
  18889. +     PPCCallOS(&MyCaos);
  18890. + }
  18891. + #define    RouteCxMsg(cxm, co)    _RouteCxMsg(COMMODITIES_BASE_NAME, cxm, co)
  18892. + static __inline void
  18893. + _RouteCxMsg(void *CxBase, CxMsg *cxm, CxObj *co)
  18894. + {
  18895. + struct Caos    MyCaos;
  18896. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18897. + //    MyCaos.M68kStart    =    NULL;
  18898. + //    MyCaos.M68kSize        =    0;
  18899. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18900. + //    MyCaos.PPCStart        =    NULL;
  18901. + //    MyCaos.PPCSize        =    0;
  18902. +     MyCaos.a0        =(ULONG) cxm;
  18903. +     MyCaos.a1        =(ULONG) co;
  18904. +     MyCaos.caos_Un.Offset    =    (-162);
  18905. +     MyCaos.a6        =(ULONG) CxBase;    
  18906. +     PPCCallOS(&MyCaos);
  18907. + }
  18908. + #define    SetCxObjPri(co, pri)    _SetCxObjPri(COMMODITIES_BASE_NAME, co, pri)
  18909. + static __inline LONG
  18910. + _SetCxObjPri(void *CxBase, CxObj *co, long pri)
  18911. + {
  18912. + struct Caos    MyCaos;
  18913. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18914. + //    MyCaos.M68kStart    =    NULL;
  18915. + //    MyCaos.M68kSize        =    0;
  18916. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18917. + //    MyCaos.PPCStart        =    NULL;
  18918. + //    MyCaos.PPCSize        =    0;
  18919. +     MyCaos.a0        =(ULONG) co;
  18920. +     MyCaos.d0        =(ULONG) pri;
  18921. +     MyCaos.caos_Un.Offset    =    (-78);
  18922. +     MyCaos.a6        =(ULONG) CxBase;    
  18923. +     return((LONG)PPCCallOS(&MyCaos));
  18924. + }
  18925. + #define    SetFilter(filter, text)    _SetFilter(COMMODITIES_BASE_NAME, filter, text)
  18926. + static __inline void
  18927. + _SetFilter(void *CxBase, CxObj *filter, STRPTR text)
  18928. + {
  18929. + struct Caos    MyCaos;
  18930. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18931. + //    MyCaos.M68kStart    =    NULL;
  18932. + //    MyCaos.M68kSize        =    0;
  18933. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18934. + //    MyCaos.PPCStart        =    NULL;
  18935. + //    MyCaos.PPCSize        =    0;
  18936. +     MyCaos.a0        =(ULONG) filter;
  18937. +     MyCaos.a1        =(ULONG) text;
  18938. +     MyCaos.caos_Un.Offset    =    (-120);
  18939. +     MyCaos.a6        =(ULONG) CxBase;    
  18940. +     PPCCallOS(&MyCaos);
  18941. + }
  18942. + #define    SetFilterIX(filter, ix)    _SetFilterIX(COMMODITIES_BASE_NAME, filter, ix)
  18943. + static __inline void
  18944. + _SetFilterIX(void *CxBase, CxObj *filter, IX *ix)
  18945. + {
  18946. + struct Caos    MyCaos;
  18947. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18948. + //    MyCaos.M68kStart    =    NULL;
  18949. + //    MyCaos.M68kSize        =    0;
  18950. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18951. + //    MyCaos.PPCStart        =    NULL;
  18952. + //    MyCaos.PPCSize        =    0;
  18953. +     MyCaos.a0        =(ULONG) filter;
  18954. +     MyCaos.a1        =(ULONG) ix;
  18955. +     MyCaos.caos_Un.Offset    =    (-126);
  18956. +     MyCaos.a6        =(ULONG) CxBase;    
  18957. +     PPCCallOS(&MyCaos);
  18958. + }
  18959. + #define    SetTranslate(translator, events)    _SetTranslate(COMMODITIES_BASE_NAME, translator, events)
  18960. + static __inline void
  18961. + _SetTranslate(void *CxBase, CxObj *translator, struct InputEvent *events)
  18962. + {
  18963. + struct Caos    MyCaos;
  18964. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  18965. + //    MyCaos.M68kStart    =    NULL;
  18966. + //    MyCaos.M68kSize        =    0;
  18967. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  18968. + //    MyCaos.PPCStart        =    NULL;
  18969. + //    MyCaos.PPCSize        =    0;
  18970. +     MyCaos.a0        =(ULONG) translator;
  18971. +     MyCaos.a1        =(ULONG) events;
  18972. +     MyCaos.caos_Un.Offset    =    (-114);
  18973. +     MyCaos.a6        =(ULONG) CxBase;    
  18974. +     PPCCallOS(&MyCaos);
  18975. + }
  18976. + #endif /* SASC Pragmas */
  18977. + #endif /* !_PPCPRAGMA_COMMODITIES_H */
  18978. diff -c2 -d -P -r include_h/powerup/ppcpragmas/console_pragmas.h includenew/powerup/ppcpragmas/console_pragmas.h
  18979. *** include_h/powerup/ppcpragmas/console_pragmas.h    Thu Jan  1 00:00:00 1970
  18980. --- includenew/powerup/ppcpragmas/console_pragmas.h    Wed Feb 14 02:41:24 2001
  18981. ***************
  18982. *** 0 ****
  18983. --- 1,68 ----
  18984. + /* Automatically generated header! Do not edit! */
  18985. + #ifndef _PPCPRAGMA_CONSOLE_H
  18986. + #define _PPCPRAGMA_CONSOLE_H
  18987. + #ifdef __GNUC__
  18988. + #ifndef _PPCINLINE__CONSOLE_H
  18989. + #include <powerup/ppcinline/console.h>
  18990. + #endif
  18991. + #else
  18992. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  18993. + #include <powerup/ppclib/interface.h>
  18994. + #endif
  18995. + #ifndef POWERUP_GCCLIB_PROTOS_H
  18996. + #include <powerup/gcclib/powerup_protos.h>
  18997. + #endif
  18998. + #ifndef NO_PPCINLINE_STDARG
  18999. + #define NO_PPCINLINE_STDARG
  19000. + #endif/* SAS C PPC inlines */
  19001. + #ifndef CONSOLE_BASE_NAME
  19002. + #define CONSOLE_BASE_NAME ConsoleDevice
  19003. + #endif /* !CONSOLE_BASE_NAME */
  19004. + #define    CDInputHandler(events, consoleDevice)    _CDInputHandler(CONSOLE_BASE_NAME, events, consoleDevice)
  19005. + static __inline struct InputEvent *
  19006. + _CDInputHandler(void *ConsoleDevice, struct InputEvent *events, struct Library *consoleDevice)
  19007. + {
  19008. + struct Caos    MyCaos;
  19009. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19010. + //    MyCaos.M68kStart    =    NULL;
  19011. + //    MyCaos.M68kSize        =    0;
  19012. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19013. + //    MyCaos.PPCStart        =    NULL;
  19014. + //    MyCaos.PPCSize        =    0;
  19015. +     MyCaos.a0        =(ULONG) events;
  19016. +     MyCaos.a1        =(ULONG) consoleDevice;
  19017. +     MyCaos.caos_Un.Offset    =    (-42);
  19018. +     MyCaos.a6        =(ULONG) ConsoleDevice;    
  19019. +     return((struct InputEvent *)PPCCallOS(&MyCaos));
  19020. + }
  19021. + #define    RawKeyConvert(events, buffer, length, keyMap)    _RawKeyConvert(CONSOLE_BASE_NAME, events, buffer, length, keyMap)
  19022. + static __inline LONG
  19023. + _RawKeyConvert(void *ConsoleDevice, struct InputEvent *events, STRPTR buffer, long length, struct KeyMap *keyMap)
  19024. + {
  19025. + struct Caos    MyCaos;
  19026. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19027. + //    MyCaos.M68kStart    =    NULL;
  19028. + //    MyCaos.M68kSize        =    0;
  19029. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19030. + //    MyCaos.PPCStart        =    NULL;
  19031. + //    MyCaos.PPCSize        =    0;
  19032. +     MyCaos.a0        =(ULONG) events;
  19033. +     MyCaos.a1        =(ULONG) buffer;
  19034. +     MyCaos.d1        =(ULONG) length;
  19035. +     MyCaos.a2        =(ULONG) keyMap;
  19036. +     MyCaos.caos_Un.Offset    =    (-48);
  19037. +     MyCaos.a6        =(ULONG) ConsoleDevice;    
  19038. +     return((LONG)PPCCallOS(&MyCaos));
  19039. + }
  19040. + #endif /* SASC Pragmas */
  19041. + #endif /* !_PPCPRAGMA_CONSOLE_H */
  19042. diff -c2 -d -P -r include_h/powerup/ppcpragmas/datatypes_pragmas.h includenew/powerup/ppcpragmas/datatypes_pragmas.h
  19043. *** include_h/powerup/ppcpragmas/datatypes_pragmas.h    Thu Jan  1 00:00:00 1970
  19044. --- includenew/powerup/ppcpragmas/datatypes_pragmas.h    Wed Feb 14 02:41:24 2001
  19045. ***************
  19046. *** 0 ****
  19047. --- 1,354 ----
  19048. + /* Automatically generated header! Do not edit! */
  19049. + #ifndef _PPCPRAGMA_DATATYPES_H
  19050. + #define _PPCPRAGMA_DATATYPES_H
  19051. + #ifdef __GNUC__
  19052. + #ifndef _PPCINLINE__DATATYPES_H
  19053. + #include <powerup/ppcinline/datatypes.h>
  19054. + #endif
  19055. + #else
  19056. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  19057. + #include <powerup/ppclib/interface.h>
  19058. + #endif
  19059. + #ifndef POWERUP_GCCLIB_PROTOS_H
  19060. + #include <powerup/gcclib/powerup_protos.h>
  19061. + #endif
  19062. + #ifndef NO_PPCINLINE_STDARG
  19063. + #define NO_PPCINLINE_STDARG
  19064. + #endif/* SAS C PPC inlines */
  19065. + #ifndef DATATYPES_BASE_NAME
  19066. + #define DATATYPES_BASE_NAME DataTypesBase
  19067. + #endif /* !DATATYPES_BASE_NAME */
  19068. + #define    AddDTObject(win, req, o, pos)    _AddDTObject(DATATYPES_BASE_NAME, win, req, o, pos)
  19069. + static __inline LONG
  19070. + _AddDTObject(void *DataTypesBase, struct Window *win, struct Requester *req, Object *o, long pos)
  19071. + {
  19072. + struct Caos    MyCaos;
  19073. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19074. + //    MyCaos.M68kStart    =    NULL;
  19075. + //    MyCaos.M68kSize        =    0;
  19076. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19077. + //    MyCaos.PPCStart        =    NULL;
  19078. + //    MyCaos.PPCSize        =    0;
  19079. +     MyCaos.a0        =(ULONG) win;
  19080. +     MyCaos.a1        =(ULONG) req;
  19081. +     MyCaos.a2        =(ULONG) o;
  19082. +     MyCaos.d0        =(ULONG) pos;
  19083. +     MyCaos.caos_Un.Offset    =    (-72);
  19084. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19085. +     return((LONG)PPCCallOS(&MyCaos));
  19086. + }
  19087. + #define    DisposeDTObject(o)    _DisposeDTObject(DATATYPES_BASE_NAME, o)
  19088. + static __inline void
  19089. + _DisposeDTObject(void *DataTypesBase, Object *o)
  19090. + {
  19091. + struct Caos    MyCaos;
  19092. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19093. + //    MyCaos.M68kStart    =    NULL;
  19094. + //    MyCaos.M68kSize        =    0;
  19095. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19096. + //    MyCaos.PPCStart        =    NULL;
  19097. + //    MyCaos.PPCSize        =    0;
  19098. +     MyCaos.a0        =(ULONG) o;
  19099. +     MyCaos.caos_Un.Offset    =    (-54);
  19100. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19101. +     PPCCallOS(&MyCaos);
  19102. + }
  19103. + #define    DoAsyncLayout(o, gpl)    _DoAsyncLayout(DATATYPES_BASE_NAME, o, gpl)
  19104. + static __inline ULONG
  19105. + _DoAsyncLayout(void *DataTypesBase, Object *o, struct gpLayout *gpl)
  19106. + {
  19107. + struct Caos    MyCaos;
  19108. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19109. + //    MyCaos.M68kStart    =    NULL;
  19110. + //    MyCaos.M68kSize        =    0;
  19111. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19112. + //    MyCaos.PPCStart        =    NULL;
  19113. + //    MyCaos.PPCSize        =    0;
  19114. +     MyCaos.a0        =(ULONG) o;
  19115. +     MyCaos.a1        =(ULONG) gpl;
  19116. +     MyCaos.caos_Un.Offset    =    (-84);
  19117. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19118. +     return((ULONG)PPCCallOS(&MyCaos));
  19119. + }
  19120. + #define    DoDTMethodA(o, win, req, msg)    _DoDTMethodA(DATATYPES_BASE_NAME, o, win, req, msg)
  19121. + static __inline ULONG
  19122. + _DoDTMethodA(void *DataTypesBase, Object *o, struct Window *win, struct Requester *req, Msg msg)
  19123. + {
  19124. + struct Caos    MyCaos;
  19125. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19126. + //    MyCaos.M68kStart    =    NULL;
  19127. + //    MyCaos.M68kSize        =    0;
  19128. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19129. + //    MyCaos.PPCStart        =    NULL;
  19130. + //    MyCaos.PPCSize        =    0;
  19131. +     MyCaos.a0        =(ULONG) o;
  19132. +     MyCaos.a1        =(ULONG) win;
  19133. +     MyCaos.a2        =(ULONG) req;
  19134. +     MyCaos.a3        =(ULONG) msg;
  19135. +     MyCaos.caos_Un.Offset    =    (-90);
  19136. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19137. +     return((ULONG)PPCCallOS(&MyCaos));
  19138. + }
  19139. + #ifndef NO_PPCINLINE_STDARG
  19140. + #define DoDTMethod(a0, a1, a2, tags...) \
  19141. +     ({ULONG _tags[] = { tags }; DoDTMethodA((a0), (a1), (a2), (Msg)_tags);})
  19142. + #endif /* !NO_PPCINLINE_STDARG */
  19143. + #define    GetDTAttrsA(o, attrs)    _GetDTAttrsA(DATATYPES_BASE_NAME, o, attrs)
  19144. + static __inline ULONG
  19145. + _GetDTAttrsA(void *DataTypesBase, Object *o, struct TagItem *attrs)
  19146. + {
  19147. + struct Caos    MyCaos;
  19148. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19149. + //    MyCaos.M68kStart    =    NULL;
  19150. + //    MyCaos.M68kSize        =    0;
  19151. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19152. + //    MyCaos.PPCStart        =    NULL;
  19153. + //    MyCaos.PPCSize        =    0;
  19154. +     MyCaos.a0        =(ULONG) o;
  19155. +     MyCaos.a2        =(ULONG) attrs;
  19156. +     MyCaos.caos_Un.Offset    =    (-66);
  19157. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19158. +     return((ULONG)PPCCallOS(&MyCaos));
  19159. + }
  19160. + #ifndef NO_PPCINLINE_STDARG
  19161. + #define GetDTAttrs(a0, tags...) \
  19162. +     ({ULONG _tags[] = { tags }; GetDTAttrsA((a0), (struct TagItem *)_tags);})
  19163. + #endif /* !NO_PPCINLINE_STDARG */
  19164. + #define    GetDTMethods(object)    _GetDTMethods(DATATYPES_BASE_NAME, object)
  19165. + static __inline ULONG *
  19166. + _GetDTMethods(void *DataTypesBase, Object *object)
  19167. + {
  19168. + struct Caos    MyCaos;
  19169. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19170. + //    MyCaos.M68kStart    =    NULL;
  19171. + //    MyCaos.M68kSize        =    0;
  19172. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19173. + //    MyCaos.PPCStart        =    NULL;
  19174. + //    MyCaos.PPCSize        =    0;
  19175. +     MyCaos.a0        =(ULONG) object;
  19176. +     MyCaos.caos_Un.Offset    =    (-102);
  19177. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19178. +     return((ULONG *)PPCCallOS(&MyCaos));
  19179. + }
  19180. + #define    GetDTString(id)    _GetDTString(DATATYPES_BASE_NAME, id)
  19181. + static __inline STRPTR
  19182. + _GetDTString(void *DataTypesBase, unsigned long id)
  19183. + {
  19184. + struct Caos    MyCaos;
  19185. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19186. + //    MyCaos.M68kStart    =    NULL;
  19187. + //    MyCaos.M68kSize        =    0;
  19188. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19189. + //    MyCaos.PPCStart        =    NULL;
  19190. + //    MyCaos.PPCSize        =    0;
  19191. +     MyCaos.d0        =(ULONG) id;
  19192. +     MyCaos.caos_Un.Offset    =    (-138);
  19193. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19194. +     return((STRPTR)PPCCallOS(&MyCaos));
  19195. + }
  19196. + #define    GetDTTriggerMethods(object)    _GetDTTriggerMethods(DATATYPES_BASE_NAME, object)
  19197. + static __inline struct DTMethods *
  19198. + _GetDTTriggerMethods(void *DataTypesBase, Object *object)
  19199. + {
  19200. + struct Caos    MyCaos;
  19201. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19202. + //    MyCaos.M68kStart    =    NULL;
  19203. + //    MyCaos.M68kSize        =    0;
  19204. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19205. + //    MyCaos.PPCStart        =    NULL;
  19206. + //    MyCaos.PPCSize        =    0;
  19207. +     MyCaos.a0        =(ULONG) object;
  19208. +     MyCaos.caos_Un.Offset    =    (-108);
  19209. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19210. +     return((struct DTMethods *)PPCCallOS(&MyCaos));
  19211. + }
  19212. + #define    NewDTObjectA(name, attrs)    _NewDTObjectA(DATATYPES_BASE_NAME, name, attrs)
  19213. + static __inline Object *
  19214. + _NewDTObjectA(void *DataTypesBase, APTR name, struct TagItem *attrs)
  19215. + {
  19216. + struct Caos    MyCaos;
  19217. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19218. + //    MyCaos.M68kStart    =    NULL;
  19219. + //    MyCaos.M68kSize        =    0;
  19220. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19221. + //    MyCaos.PPCStart        =    NULL;
  19222. + //    MyCaos.PPCSize        =    0;
  19223. +     MyCaos.d0        =(ULONG) name;
  19224. +     MyCaos.a0        =(ULONG) attrs;
  19225. +     MyCaos.caos_Un.Offset    =    (-48);
  19226. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19227. +     return((Object *)PPCCallOS(&MyCaos));
  19228. + }
  19229. + #ifndef NO_PPCINLINE_STDARG
  19230. + #define NewDTObject(a0, tags...) \
  19231. +     ({ULONG _tags[] = { tags }; NewDTObjectA((a0), (struct TagItem *)_tags);})
  19232. + #endif /* !NO_PPCINLINE_STDARG */
  19233. + #define    ObtainDataTypeA(type, handle, attrs)    _ObtainDataTypeA(DATATYPES_BASE_NAME, type, handle, attrs)
  19234. + static __inline struct DataType *
  19235. + _ObtainDataTypeA(void *DataTypesBase, unsigned long type, APTR handle, struct TagItem *attrs)
  19236. + {
  19237. + struct Caos    MyCaos;
  19238. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19239. + //    MyCaos.M68kStart    =    NULL;
  19240. + //    MyCaos.M68kSize        =    0;
  19241. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19242. + //    MyCaos.PPCStart        =    NULL;
  19243. + //    MyCaos.PPCSize        =    0;
  19244. +     MyCaos.d0        =(ULONG) type;
  19245. +     MyCaos.a0        =(ULONG) handle;
  19246. +     MyCaos.a1        =(ULONG) attrs;
  19247. +     MyCaos.caos_Un.Offset    =    (-36);
  19248. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19249. +     return((struct DataType *)PPCCallOS(&MyCaos));
  19250. + }
  19251. + #ifndef NO_PPCINLINE_STDARG
  19252. + #define ObtainDataType(a0, a1, tags...) \
  19253. +     ({ULONG _tags[] = { tags }; ObtainDataTypeA((a0), (a1), (struct TagItem *)_tags);})
  19254. + #endif /* !NO_PPCINLINE_STDARG */
  19255. + #define    PrintDTObjectA(o, w, r, msg)    _PrintDTObjectA(DATATYPES_BASE_NAME, o, w, r, msg)
  19256. + static __inline ULONG
  19257. + _PrintDTObjectA(void *DataTypesBase, Object *o, struct Window *w, struct Requester *r, struct dtPrint *msg)
  19258. + {
  19259. + struct Caos    MyCaos;
  19260. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19261. + //    MyCaos.M68kStart    =    NULL;
  19262. + //    MyCaos.M68kSize        =    0;
  19263. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19264. + //    MyCaos.PPCStart        =    NULL;
  19265. + //    MyCaos.PPCSize        =    0;
  19266. +     MyCaos.a0        =(ULONG) o;
  19267. +     MyCaos.a1        =(ULONG) w;
  19268. +     MyCaos.a2        =(ULONG) r;
  19269. +     MyCaos.a3        =(ULONG) msg;
  19270. +     MyCaos.caos_Un.Offset    =    (-114);
  19271. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19272. +     return((ULONG)PPCCallOS(&MyCaos));
  19273. + }
  19274. + #ifndef NO_PPCINLINE_STDARG
  19275. + #define PrintDTObject(a0, a1, a2, tags...) \
  19276. +     ({ULONG _tags[] = { tags }; PrintDTObjectA((a0), (a1), (a2), (struct dtPrint *)_tags);})
  19277. + #endif /* !NO_PPCINLINE_STDARG */
  19278. + #define    RefreshDTObjectA(o, win, req, attrs)    _RefreshDTObjectA(DATATYPES_BASE_NAME, o, win, req, attrs)
  19279. + static __inline void
  19280. + _RefreshDTObjectA(void *DataTypesBase, Object *o, struct Window *win, struct Requester *req, struct TagItem *attrs)
  19281. + {
  19282. + struct Caos    MyCaos;
  19283. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19284. + //    MyCaos.M68kStart    =    NULL;
  19285. + //    MyCaos.M68kSize        =    0;
  19286. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19287. + //    MyCaos.PPCStart        =    NULL;
  19288. + //    MyCaos.PPCSize        =    0;
  19289. +     MyCaos.a0        =(ULONG) o;
  19290. +     MyCaos.a1        =(ULONG) win;
  19291. +     MyCaos.a2        =(ULONG) req;
  19292. +     MyCaos.a3        =(ULONG) attrs;
  19293. +     MyCaos.caos_Un.Offset    =    (-78);
  19294. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19295. +     PPCCallOS(&MyCaos);
  19296. + }
  19297. + #ifndef NO_PPCINLINE_STDARG
  19298. + #define RefreshDTObject(a0, a1, a2, tags...) \
  19299. +     ({ULONG _tags[] = { tags }; RefreshDTObjectA((a0), (a1), (a2), (struct TagItem *)_tags);})
  19300. + #endif /* !NO_PPCINLINE_STDARG */
  19301. + #define    ReleaseDataType(dt)    _ReleaseDataType(DATATYPES_BASE_NAME, dt)
  19302. + static __inline void
  19303. + _ReleaseDataType(void *DataTypesBase, struct DataType *dt)
  19304. + {
  19305. + struct Caos    MyCaos;
  19306. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19307. + //    MyCaos.M68kStart    =    NULL;
  19308. + //    MyCaos.M68kSize        =    0;
  19309. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19310. + //    MyCaos.PPCStart        =    NULL;
  19311. + //    MyCaos.PPCSize        =    0;
  19312. +     MyCaos.a0        =(ULONG) dt;
  19313. +     MyCaos.caos_Un.Offset    =    (-42);
  19314. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19315. +     PPCCallOS(&MyCaos);
  19316. + }
  19317. + #define    RemoveDTObject(win, o)    _RemoveDTObject(DATATYPES_BASE_NAME, win, o)
  19318. + static __inline LONG
  19319. + _RemoveDTObject(void *DataTypesBase, struct Window *win, Object *o)
  19320. + {
  19321. + struct Caos    MyCaos;
  19322. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19323. + //    MyCaos.M68kStart    =    NULL;
  19324. + //    MyCaos.M68kSize        =    0;
  19325. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19326. + //    MyCaos.PPCStart        =    NULL;
  19327. + //    MyCaos.PPCSize        =    0;
  19328. +     MyCaos.a0        =(ULONG) win;
  19329. +     MyCaos.a1        =(ULONG) o;
  19330. +     MyCaos.caos_Un.Offset    =    (-96);
  19331. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19332. +     return((LONG)PPCCallOS(&MyCaos));
  19333. + }
  19334. + #define    SetDTAttrsA(o, win, req, attrs)    _SetDTAttrsA(DATATYPES_BASE_NAME, o, win, req, attrs)
  19335. + static __inline ULONG
  19336. + _SetDTAttrsA(void *DataTypesBase, Object *o, struct Window *win, struct Requester *req, struct TagItem *attrs)
  19337. + {
  19338. + struct Caos    MyCaos;
  19339. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19340. + //    MyCaos.M68kStart    =    NULL;
  19341. + //    MyCaos.M68kSize        =    0;
  19342. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19343. + //    MyCaos.PPCStart        =    NULL;
  19344. + //    MyCaos.PPCSize        =    0;
  19345. +     MyCaos.a0        =(ULONG) o;
  19346. +     MyCaos.a1        =(ULONG) win;
  19347. +     MyCaos.a2        =(ULONG) req;
  19348. +     MyCaos.a3        =(ULONG) attrs;
  19349. +     MyCaos.caos_Un.Offset    =    (-60);
  19350. +     MyCaos.a6        =(ULONG) DataTypesBase;    
  19351. +     return((ULONG)PPCCallOS(&MyCaos));
  19352. + }
  19353. + #ifndef NO_PPCINLINE_STDARG
  19354. + #define SetDTAttrs(a0, a1, a2, tags...) \
  19355. +     ({ULONG _tags[] = { tags }; SetDTAttrsA((a0), (a1), (a2), (struct TagItem *)_tags);})
  19356. + #endif /* !NO_PPCINLINE_STDARG */
  19357. + #endif /* SASC Pragmas */
  19358. + #endif /* !_PPCPRAGMA_DATATYPES_H */
  19359. diff -c2 -d -P -r include_h/powerup/ppcpragmas/disk_pragmas.h includenew/powerup/ppcpragmas/disk_pragmas.h
  19360. *** include_h/powerup/ppcpragmas/disk_pragmas.h    Thu Jan  1 00:00:00 1970
  19361. --- includenew/powerup/ppcpragmas/disk_pragmas.h    Wed Feb 14 02:41:24 2001
  19362. ***************
  19363. *** 0 ****
  19364. --- 1,135 ----
  19365. + /* Automatically generated header! Do not edit! */
  19366. + #ifndef _PPCPRAGMA_DISK_H
  19367. + #define _PPCPRAGMA_DISK_H
  19368. + #ifdef __GNUC__
  19369. + #ifndef _PPCINLINE__DISK_H
  19370. + #include <powerup/ppcinline/disk.h>
  19371. + #endif
  19372. + #else
  19373. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  19374. + #include <powerup/ppclib/interface.h>
  19375. + #endif
  19376. + #ifndef POWERUP_GCCLIB_PROTOS_H
  19377. + #include <powerup/gcclib/powerup_protos.h>
  19378. + #endif
  19379. + #ifndef NO_PPCINLINE_STDARG
  19380. + #define NO_PPCINLINE_STDARG
  19381. + #endif/* SAS C PPC inlines */
  19382. + #ifndef DISK_BASE_NAME
  19383. + #define DISK_BASE_NAME DiskBase
  19384. + #endif /* !DISK_BASE_NAME */
  19385. + #define    AllocUnit(unitNum)    _AllocUnit(DISK_BASE_NAME, unitNum)
  19386. + static __inline BOOL
  19387. + _AllocUnit(void *DiskBase, long unitNum)
  19388. + {
  19389. + struct Caos    MyCaos;
  19390. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19391. + //    MyCaos.M68kStart    =    NULL;
  19392. + //    MyCaos.M68kSize        =    0;
  19393. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19394. + //    MyCaos.PPCStart        =    NULL;
  19395. + //    MyCaos.PPCSize        =    0;
  19396. +     MyCaos.d0        =(ULONG) unitNum;
  19397. +     MyCaos.caos_Un.Offset    =    (-6);
  19398. +     MyCaos.a6        =(ULONG) DiskBase;    
  19399. +     return((BOOL)PPCCallOS(&MyCaos));
  19400. + }
  19401. + #define    FreeUnit(unitNum)    _FreeUnit(DISK_BASE_NAME, unitNum)
  19402. + static __inline void
  19403. + _FreeUnit(void *DiskBase, long unitNum)
  19404. + {
  19405. + struct Caos    MyCaos;
  19406. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19407. + //    MyCaos.M68kStart    =    NULL;
  19408. + //    MyCaos.M68kSize        =    0;
  19409. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19410. + //    MyCaos.PPCStart        =    NULL;
  19411. + //    MyCaos.PPCSize        =    0;
  19412. +     MyCaos.d0        =(ULONG) unitNum;
  19413. +     MyCaos.caos_Un.Offset    =    (-12);
  19414. +     MyCaos.a6        =(ULONG) DiskBase;    
  19415. +     PPCCallOS(&MyCaos);
  19416. + }
  19417. + #define    GetUnit(unitPointer)    _GetUnit(DISK_BASE_NAME, unitPointer)
  19418. + static __inline struct DiskResourceUnit *
  19419. + _GetUnit(void *DiskBase, struct DiskResourceUnit *unitPointer)
  19420. + {
  19421. + struct Caos    MyCaos;
  19422. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19423. + //    MyCaos.M68kStart    =    NULL;
  19424. + //    MyCaos.M68kSize        =    0;
  19425. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19426. + //    MyCaos.PPCStart        =    NULL;
  19427. + //    MyCaos.PPCSize        =    0;
  19428. +     MyCaos.a1        =(ULONG) unitPointer;
  19429. +     MyCaos.caos_Un.Offset    =    (-18);
  19430. +     MyCaos.a6        =(ULONG) DiskBase;    
  19431. +     return((struct DiskResourceUnit *)PPCCallOS(&MyCaos));
  19432. + }
  19433. + #define    GetUnitID(unitNum)    _GetUnitID(DISK_BASE_NAME, unitNum)
  19434. + static __inline LONG
  19435. + _GetUnitID(void *DiskBase, long unitNum)
  19436. + {
  19437. + struct Caos    MyCaos;
  19438. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19439. + //    MyCaos.M68kStart    =    NULL;
  19440. + //    MyCaos.M68kSize        =    0;
  19441. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19442. + //    MyCaos.PPCStart        =    NULL;
  19443. + //    MyCaos.PPCSize        =    0;
  19444. +     MyCaos.d0        =(ULONG) unitNum;
  19445. +     MyCaos.caos_Un.Offset    =    (-30);
  19446. +     MyCaos.a6        =(ULONG) DiskBase;    
  19447. +     return((LONG)PPCCallOS(&MyCaos));
  19448. + }
  19449. + #define    GiveUnit()    _GiveUnit(DISK_BASE_NAME)
  19450. + static __inline void
  19451. + _GiveUnit(void *DiskBase)
  19452. + {
  19453. + struct Caos    MyCaos;
  19454. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19455. + //    MyCaos.M68kStart    =    NULL;
  19456. + //    MyCaos.M68kSize        =    0;
  19457. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19458. + //    MyCaos.PPCStart        =    NULL;
  19459. + //    MyCaos.PPCSize        =    0;
  19460. +     MyCaos.caos_Un.Offset    =    (-24);
  19461. +     MyCaos.a6        =(ULONG) DiskBase;    
  19462. +     PPCCallOS(&MyCaos);
  19463. + }
  19464. + #define    ReadUnitID(unitNum)    _ReadUnitID(DISK_BASE_NAME, unitNum)
  19465. + static __inline LONG
  19466. + _ReadUnitID(void *DiskBase, long unitNum)
  19467. + {
  19468. + struct Caos    MyCaos;
  19469. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19470. + //    MyCaos.M68kStart    =    NULL;
  19471. + //    MyCaos.M68kSize        =    0;
  19472. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19473. + //    MyCaos.PPCStart        =    NULL;
  19474. + //    MyCaos.PPCSize        =    0;
  19475. +     MyCaos.d0        =(ULONG) unitNum;
  19476. +     MyCaos.caos_Un.Offset    =    (-36);
  19477. +     MyCaos.a6        =(ULONG) DiskBase;    
  19478. +     return((LONG)PPCCallOS(&MyCaos));
  19479. + }
  19480. + #endif /* SASC Pragmas */
  19481. + #endif /* !_PPCPRAGMA_DISK_H */
  19482. diff -c2 -d -P -r include_h/powerup/ppcpragmas/diskfont_pragmas.h includenew/powerup/ppcpragmas/diskfont_pragmas.h
  19483. *** include_h/powerup/ppcpragmas/diskfont_pragmas.h    Thu Jan  1 00:00:00 1970
  19484. --- includenew/powerup/ppcpragmas/diskfont_pragmas.h    Wed Feb 14 02:41:24 2001
  19485. ***************
  19486. *** 0 ****
  19487. --- 1,122 ----
  19488. + /* Automatically generated header! Do not edit! */
  19489. + #ifndef _PPCPRAGMA_DISKFONT_H
  19490. + #define _PPCPRAGMA_DISKFONT_H
  19491. + #ifdef __GNUC__
  19492. + #ifndef _PPCINLINE__DISKFONT_H
  19493. + #include <powerup/ppcinline/diskfont.h>
  19494. + #endif
  19495. + #else
  19496. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  19497. + #include <powerup/ppclib/interface.h>
  19498. + #endif
  19499. + #ifndef POWERUP_GCCLIB_PROTOS_H
  19500. + #include <powerup/gcclib/powerup_protos.h>
  19501. + #endif
  19502. + #ifndef NO_PPCINLINE_STDARG
  19503. + #define NO_PPCINLINE_STDARG
  19504. + #endif/* SAS C PPC inlines */
  19505. + #ifndef DISKFONT_BASE_NAME
  19506. + #define DISKFONT_BASE_NAME DiskfontBase
  19507. + #endif /* !DISKFONT_BASE_NAME */
  19508. + #define    AvailFonts(buffer, bufBytes, flags)    _AvailFonts(DISKFONT_BASE_NAME, buffer, bufBytes, flags)
  19509. + static __inline LONG
  19510. + _AvailFonts(void *DiskfontBase, STRPTR buffer, long bufBytes, long flags)
  19511. + {
  19512. + struct Caos    MyCaos;
  19513. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19514. + //    MyCaos.M68kStart    =    NULL;
  19515. + //    MyCaos.M68kSize        =    0;
  19516. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19517. + //    MyCaos.PPCStart        =    NULL;
  19518. + //    MyCaos.PPCSize        =    0;
  19519. +     MyCaos.a0        =(ULONG) buffer;
  19520. +     MyCaos.d0        =(ULONG) bufBytes;
  19521. +     MyCaos.d1        =(ULONG) flags;
  19522. +     MyCaos.caos_Un.Offset    =    (-36);
  19523. +     MyCaos.a6        =(ULONG) DiskfontBase;    
  19524. +     return((LONG)PPCCallOS(&MyCaos));
  19525. + }
  19526. + #define    DisposeFontContents(fontContentsHeader)    _DisposeFontContents(DISKFONT_BASE_NAME, fontContentsHeader)
  19527. + static __inline void
  19528. + _DisposeFontContents(void *DiskfontBase, struct FontContentsHeader *fontContentsHeader)
  19529. + {
  19530. + struct Caos    MyCaos;
  19531. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19532. + //    MyCaos.M68kStart    =    NULL;
  19533. + //    MyCaos.M68kSize        =    0;
  19534. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19535. + //    MyCaos.PPCStart        =    NULL;
  19536. + //    MyCaos.PPCSize        =    0;
  19537. +     MyCaos.a1        =(ULONG) fontContentsHeader;
  19538. +     MyCaos.caos_Un.Offset    =    (-48);
  19539. +     MyCaos.a6        =(ULONG) DiskfontBase;    
  19540. +     PPCCallOS(&MyCaos);
  19541. + }
  19542. + #define    NewFontContents(fontsLock, fontName)    _NewFontContents(DISKFONT_BASE_NAME, fontsLock, fontName)
  19543. + static __inline struct FontContentsHeader *
  19544. + _NewFontContents(void *DiskfontBase, BPTR fontsLock, STRPTR fontName)
  19545. + {
  19546. + struct Caos    MyCaos;
  19547. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19548. + //    MyCaos.M68kStart    =    NULL;
  19549. + //    MyCaos.M68kSize        =    0;
  19550. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19551. + //    MyCaos.PPCStart        =    NULL;
  19552. + //    MyCaos.PPCSize        =    0;
  19553. +     MyCaos.a0        =(ULONG) fontsLock;
  19554. +     MyCaos.a1        =(ULONG) fontName;
  19555. +     MyCaos.caos_Un.Offset    =    (-42);
  19556. +     MyCaos.a6        =(ULONG) DiskfontBase;    
  19557. +     return((struct FontContentsHeader *)PPCCallOS(&MyCaos));
  19558. + }
  19559. + #define    NewScaledDiskFont(sourceFont, destTextAttr)    _NewScaledDiskFont(DISKFONT_BASE_NAME, sourceFont, destTextAttr)
  19560. + static __inline struct DiskFont *
  19561. + _NewScaledDiskFont(void *DiskfontBase, struct TextFont *sourceFont, struct TextAttr *destTextAttr)
  19562. + {
  19563. + struct Caos    MyCaos;
  19564. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19565. + //    MyCaos.M68kStart    =    NULL;
  19566. + //    MyCaos.M68kSize        =    0;
  19567. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19568. + //    MyCaos.PPCStart        =    NULL;
  19569. + //    MyCaos.PPCSize        =    0;
  19570. +     MyCaos.a0        =(ULONG) sourceFont;
  19571. +     MyCaos.a1        =(ULONG) destTextAttr;
  19572. +     MyCaos.caos_Un.Offset    =    (-54);
  19573. +     MyCaos.a6        =(ULONG) DiskfontBase;    
  19574. +     return((struct DiskFont *)PPCCallOS(&MyCaos));
  19575. + }
  19576. + #define    OpenDiskFont(textAttr)    _OpenDiskFont(DISKFONT_BASE_NAME, textAttr)
  19577. + static __inline struct TextFont *
  19578. + _OpenDiskFont(void *DiskfontBase, struct TextAttr *textAttr)
  19579. + {
  19580. + struct Caos    MyCaos;
  19581. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19582. + //    MyCaos.M68kStart    =    NULL;
  19583. + //    MyCaos.M68kSize        =    0;
  19584. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19585. + //    MyCaos.PPCStart        =    NULL;
  19586. + //    MyCaos.PPCSize        =    0;
  19587. +     MyCaos.a0        =(ULONG) textAttr;
  19588. +     MyCaos.caos_Un.Offset    =    (-30);
  19589. +     MyCaos.a6        =(ULONG) DiskfontBase;    
  19590. +     return((struct TextFont *)PPCCallOS(&MyCaos));
  19591. + }
  19592. + #endif /* SASC Pragmas */
  19593. + #endif /* !_PPCPRAGMA_DISKFONT_H */
  19594. diff -c2 -d -P -r include_h/powerup/ppcpragmas/dos_pragmas.h includenew/powerup/ppcpragmas/dos_pragmas.h
  19595. *** include_h/powerup/ppcpragmas/dos_pragmas.h    Thu Jan  1 00:00:00 1970
  19596. --- includenew/powerup/ppcpragmas/dos_pragmas.h    Wed Feb 14 02:41:24 2001
  19597. ***************
  19598. *** 0 ****
  19599. --- 1,3092 ----
  19600. + /* Automatically generated header! Do not edit! */
  19601. + #ifndef _PPCPRAGMA_DOS_H
  19602. + #define _PPCPRAGMA_DOS_H
  19603. + #ifdef __GNUC__
  19604. + #ifndef _PPCINLINE__DOS_H
  19605. + #include <powerup/ppcinline/dos.h>
  19606. + #endif
  19607. + #else
  19608. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  19609. + #include <powerup/ppclib/interface.h>
  19610. + #endif
  19611. + #ifndef POWERUP_GCCLIB_PROTOS_H
  19612. + #include <powerup/gcclib/powerup_protos.h>
  19613. + #endif
  19614. + #ifndef NO_PPCINLINE_STDARG
  19615. + #define NO_PPCINLINE_STDARG
  19616. + #endif/* SAS C PPC inlines */
  19617. + #ifndef DOS_BASE_NAME
  19618. + #define DOS_BASE_NAME DOSBase
  19619. + #endif /* !DOS_BASE_NAME */
  19620. + #define    AbortPkt(port, pkt)    _AbortPkt(DOS_BASE_NAME, port, pkt)
  19621. + static __inline void
  19622. + _AbortPkt(void *DOSBase, struct MsgPort *port, struct DosPacket *pkt)
  19623. + {
  19624. + struct Caos    MyCaos;
  19625. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19626. + //    MyCaos.M68kStart    =    NULL;
  19627. + //    MyCaos.M68kSize        =    0;
  19628. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19629. + //    MyCaos.PPCStart        =    NULL;
  19630. + //    MyCaos.PPCSize        =    0;
  19631. +     MyCaos.d1        =(ULONG) port;
  19632. +     MyCaos.d2        =(ULONG) pkt;
  19633. +     MyCaos.caos_Un.Offset    =    (-264);
  19634. +     MyCaos.a6        =(ULONG) DOSBase;    
  19635. +     PPCCallOS(&MyCaos);
  19636. + }
  19637. + #define    AddBuffers(name, number)    _AddBuffers(DOS_BASE_NAME, name, number)
  19638. + static __inline LONG
  19639. + _AddBuffers(void *DOSBase, STRPTR name, long number)
  19640. + {
  19641. + struct Caos    MyCaos;
  19642. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19643. + //    MyCaos.M68kStart    =    NULL;
  19644. + //    MyCaos.M68kSize        =    0;
  19645. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19646. + //    MyCaos.PPCStart        =    NULL;
  19647. + //    MyCaos.PPCSize        =    0;
  19648. +     MyCaos.d1        =(ULONG) name;
  19649. +     MyCaos.d2        =(ULONG) number;
  19650. +     MyCaos.caos_Un.Offset    =    (-732);
  19651. +     MyCaos.a6        =(ULONG) DOSBase;    
  19652. +     return((LONG)PPCCallOS(&MyCaos));
  19653. + }
  19654. + #define    AddDosEntry(dlist)    _AddDosEntry(DOS_BASE_NAME, dlist)
  19655. + static __inline LONG
  19656. + _AddDosEntry(void *DOSBase, struct DosList *dlist)
  19657. + {
  19658. + struct Caos    MyCaos;
  19659. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19660. + //    MyCaos.M68kStart    =    NULL;
  19661. + //    MyCaos.M68kSize        =    0;
  19662. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19663. + //    MyCaos.PPCStart        =    NULL;
  19664. + //    MyCaos.PPCSize        =    0;
  19665. +     MyCaos.d1        =(ULONG) dlist;
  19666. +     MyCaos.caos_Un.Offset    =    (-678);
  19667. +     MyCaos.a6        =(ULONG) DOSBase;    
  19668. +     return((LONG)PPCCallOS(&MyCaos));
  19669. + }
  19670. + #define    AddPart(dirname, filename, size)    _AddPart(DOS_BASE_NAME, dirname, filename, size)
  19671. + static __inline BOOL
  19672. + _AddPart(void *DOSBase, STRPTR dirname, STRPTR filename, unsigned long size)
  19673. + {
  19674. + struct Caos    MyCaos;
  19675. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19676. + //    MyCaos.M68kStart    =    NULL;
  19677. + //    MyCaos.M68kSize        =    0;
  19678. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19679. + //    MyCaos.PPCStart        =    NULL;
  19680. + //    MyCaos.PPCSize        =    0;
  19681. +     MyCaos.d1        =(ULONG) dirname;
  19682. +     MyCaos.d2        =(ULONG) filename;
  19683. +     MyCaos.d3        =(ULONG) size;
  19684. +     MyCaos.caos_Un.Offset    =    (-882);
  19685. +     MyCaos.a6        =(ULONG) DOSBase;    
  19686. +     return((BOOL)PPCCallOS(&MyCaos));
  19687. + }
  19688. + #define    AddSegment(name, seg, system)    _AddSegment(DOS_BASE_NAME, name, seg, system)
  19689. + static __inline LONG
  19690. + _AddSegment(void *DOSBase, STRPTR name, BPTR seg, long system)
  19691. + {
  19692. + struct Caos    MyCaos;
  19693. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19694. + //    MyCaos.M68kStart    =    NULL;
  19695. + //    MyCaos.M68kSize        =    0;
  19696. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19697. + //    MyCaos.PPCStart        =    NULL;
  19698. + //    MyCaos.PPCSize        =    0;
  19699. +     MyCaos.d1        =(ULONG) name;
  19700. +     MyCaos.d2        =(ULONG) seg;
  19701. +     MyCaos.d3        =(ULONG) system;
  19702. +     MyCaos.caos_Un.Offset    =    (-774);
  19703. +     MyCaos.a6        =(ULONG) DOSBase;    
  19704. +     return((LONG)PPCCallOS(&MyCaos));
  19705. + }
  19706. + #define    AllocDosObject(type, tags)    _AllocDosObject(DOS_BASE_NAME, type, tags)
  19707. + static __inline APTR
  19708. + _AllocDosObject(void *DOSBase, unsigned long type, struct TagItem *tags)
  19709. + {
  19710. + struct Caos    MyCaos;
  19711. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19712. + //    MyCaos.M68kStart    =    NULL;
  19713. + //    MyCaos.M68kSize        =    0;
  19714. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19715. + //    MyCaos.PPCStart        =    NULL;
  19716. + //    MyCaos.PPCSize        =    0;
  19717. +     MyCaos.d1        =(ULONG) type;
  19718. +     MyCaos.d2        =(ULONG) tags;
  19719. +     MyCaos.caos_Un.Offset    =    (-228);
  19720. +     MyCaos.a6        =(ULONG) DOSBase;    
  19721. +     return((APTR)PPCCallOS(&MyCaos));
  19722. + }
  19723. + #define AllocDosObjectTagList(a0, a1) AllocDosObject ((a0), (a1))
  19724. + #ifndef NO_PPCINLINE_STDARG
  19725. + #define AllocDosObjectTags(a0, tags...) \
  19726. +     ({ULONG _tags[] = { tags }; AllocDosObject((a0), (struct TagItem *)_tags);})
  19727. + #endif /* !NO_PPCINLINE_STDARG */
  19728. + #define    AssignAdd(name, lock)    _AssignAdd(DOS_BASE_NAME, name, lock)
  19729. + static __inline BOOL
  19730. + _AssignAdd(void *DOSBase, STRPTR name, BPTR lock)
  19731. + {
  19732. + struct Caos    MyCaos;
  19733. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19734. + //    MyCaos.M68kStart    =    NULL;
  19735. + //    MyCaos.M68kSize        =    0;
  19736. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19737. + //    MyCaos.PPCStart        =    NULL;
  19738. + //    MyCaos.PPCSize        =    0;
  19739. +     MyCaos.d1        =(ULONG) name;
  19740. +     MyCaos.d2        =(ULONG) lock;
  19741. +     MyCaos.caos_Un.Offset    =    (-630);
  19742. +     MyCaos.a6        =(ULONG) DOSBase;    
  19743. +     return((BOOL)PPCCallOS(&MyCaos));
  19744. + }
  19745. + #define    AssignLate(name, path)    _AssignLate(DOS_BASE_NAME, name, path)
  19746. + static __inline BOOL
  19747. + _AssignLate(void *DOSBase, STRPTR name, STRPTR path)
  19748. + {
  19749. + struct Caos    MyCaos;
  19750. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19751. + //    MyCaos.M68kStart    =    NULL;
  19752. + //    MyCaos.M68kSize        =    0;
  19753. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19754. + //    MyCaos.PPCStart        =    NULL;
  19755. + //    MyCaos.PPCSize        =    0;
  19756. +     MyCaos.d1        =(ULONG) name;
  19757. +     MyCaos.d2        =(ULONG) path;
  19758. +     MyCaos.caos_Un.Offset    =    (-618);
  19759. +     MyCaos.a6        =(ULONG) DOSBase;    
  19760. +     return((BOOL)PPCCallOS(&MyCaos));
  19761. + }
  19762. + #define    AssignLock(name, lock)    _AssignLock(DOS_BASE_NAME, name, lock)
  19763. + static __inline LONG
  19764. + _AssignLock(void *DOSBase, STRPTR name, BPTR lock)
  19765. + {
  19766. + struct Caos    MyCaos;
  19767. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19768. + //    MyCaos.M68kStart    =    NULL;
  19769. + //    MyCaos.M68kSize        =    0;
  19770. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19771. + //    MyCaos.PPCStart        =    NULL;
  19772. + //    MyCaos.PPCSize        =    0;
  19773. +     MyCaos.d1        =(ULONG) name;
  19774. +     MyCaos.d2        =(ULONG) lock;
  19775. +     MyCaos.caos_Un.Offset    =    (-612);
  19776. +     MyCaos.a6        =(ULONG) DOSBase;    
  19777. +     return((LONG)PPCCallOS(&MyCaos));
  19778. + }
  19779. + #define    AssignPath(name, path)    _AssignPath(DOS_BASE_NAME, name, path)
  19780. + static __inline BOOL
  19781. + _AssignPath(void *DOSBase, STRPTR name, STRPTR path)
  19782. + {
  19783. + struct Caos    MyCaos;
  19784. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19785. + //    MyCaos.M68kStart    =    NULL;
  19786. + //    MyCaos.M68kSize        =    0;
  19787. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19788. + //    MyCaos.PPCStart        =    NULL;
  19789. + //    MyCaos.PPCSize        =    0;
  19790. +     MyCaos.d1        =(ULONG) name;
  19791. +     MyCaos.d2        =(ULONG) path;
  19792. +     MyCaos.caos_Un.Offset    =    (-624);
  19793. +     MyCaos.a6        =(ULONG) DOSBase;    
  19794. +     return((BOOL)PPCCallOS(&MyCaos));
  19795. + }
  19796. + #define    AttemptLockDosList(flags)    _AttemptLockDosList(DOS_BASE_NAME, flags)
  19797. + static __inline struct DosList *
  19798. + _AttemptLockDosList(void *DOSBase, unsigned long flags)
  19799. + {
  19800. + struct Caos    MyCaos;
  19801. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19802. + //    MyCaos.M68kStart    =    NULL;
  19803. + //    MyCaos.M68kSize        =    0;
  19804. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19805. + //    MyCaos.PPCStart        =    NULL;
  19806. + //    MyCaos.PPCSize        =    0;
  19807. +     MyCaos.d1        =(ULONG) flags;
  19808. +     MyCaos.caos_Un.Offset    =    (-666);
  19809. +     MyCaos.a6        =(ULONG) DOSBase;    
  19810. +     return((struct DosList *)PPCCallOS(&MyCaos));
  19811. + }
  19812. + #define    ChangeMode(type, fh, newmode)    _ChangeMode(DOS_BASE_NAME, type, fh, newmode)
  19813. + static __inline LONG
  19814. + _ChangeMode(void *DOSBase, long type, BPTR fh, long newmode)
  19815. + {
  19816. + struct Caos    MyCaos;
  19817. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19818. + //    MyCaos.M68kStart    =    NULL;
  19819. + //    MyCaos.M68kSize        =    0;
  19820. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19821. + //    MyCaos.PPCStart        =    NULL;
  19822. + //    MyCaos.PPCSize        =    0;
  19823. +     MyCaos.d1        =(ULONG) type;
  19824. +     MyCaos.d2        =(ULONG) fh;
  19825. +     MyCaos.d3        =(ULONG) newmode;
  19826. +     MyCaos.caos_Un.Offset    =    (-450);
  19827. +     MyCaos.a6        =(ULONG) DOSBase;    
  19828. +     return((LONG)PPCCallOS(&MyCaos));
  19829. + }
  19830. + #define    CheckSignal(mask)    _CheckSignal(DOS_BASE_NAME, mask)
  19831. + static __inline LONG
  19832. + _CheckSignal(void *DOSBase, long mask)
  19833. + {
  19834. + struct Caos    MyCaos;
  19835. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19836. + //    MyCaos.M68kStart    =    NULL;
  19837. + //    MyCaos.M68kSize        =    0;
  19838. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19839. + //    MyCaos.PPCStart        =    NULL;
  19840. + //    MyCaos.PPCSize        =    0;
  19841. +     MyCaos.d1        =(ULONG) mask;
  19842. +     MyCaos.caos_Un.Offset    =    (-792);
  19843. +     MyCaos.a6        =(ULONG) DOSBase;    
  19844. +     return((LONG)PPCCallOS(&MyCaos));
  19845. + }
  19846. + #define    Cli()    _Cli(DOS_BASE_NAME)
  19847. + static __inline struct CommandLineInterface *
  19848. + _Cli(void *DOSBase)
  19849. + {
  19850. + struct Caos    MyCaos;
  19851. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19852. + //    MyCaos.M68kStart    =    NULL;
  19853. + //    MyCaos.M68kSize        =    0;
  19854. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19855. + //    MyCaos.PPCStart        =    NULL;
  19856. + //    MyCaos.PPCSize        =    0;
  19857. +     MyCaos.caos_Un.Offset    =    (-492);
  19858. +     MyCaos.a6        =(ULONG) DOSBase;    
  19859. +     return((struct CommandLineInterface *)PPCCallOS(&MyCaos));
  19860. + }
  19861. + #define    CliInitNewcli(dp)    _CliInitNewcli(DOS_BASE_NAME, dp)
  19862. + static __inline LONG
  19863. + _CliInitNewcli(void *DOSBase, struct DosPacket *dp)
  19864. + {
  19865. + struct Caos    MyCaos;
  19866. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19867. + //    MyCaos.M68kStart    =    NULL;
  19868. + //    MyCaos.M68kSize        =    0;
  19869. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19870. + //    MyCaos.PPCStart        =    NULL;
  19871. + //    MyCaos.PPCSize        =    0;
  19872. +     MyCaos.a0        =(ULONG) dp;
  19873. +     MyCaos.caos_Un.Offset    =    (-930);
  19874. +     MyCaos.a6        =(ULONG) DOSBase;    
  19875. +     return((LONG)PPCCallOS(&MyCaos));
  19876. + }
  19877. + #define    CliInitRun(dp)    _CliInitRun(DOS_BASE_NAME, dp)
  19878. + static __inline LONG
  19879. + _CliInitRun(void *DOSBase, struct DosPacket *dp)
  19880. + {
  19881. + struct Caos    MyCaos;
  19882. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19883. + //    MyCaos.M68kStart    =    NULL;
  19884. + //    MyCaos.M68kSize        =    0;
  19885. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19886. + //    MyCaos.PPCStart        =    NULL;
  19887. + //    MyCaos.PPCSize        =    0;
  19888. +     MyCaos.a0        =(ULONG) dp;
  19889. +     MyCaos.caos_Un.Offset    =    (-936);
  19890. +     MyCaos.a6        =(ULONG) DOSBase;    
  19891. +     return((LONG)PPCCallOS(&MyCaos));
  19892. + }
  19893. + #define    Close(file)    _Close(DOS_BASE_NAME, file)
  19894. + static __inline LONG
  19895. + _Close(void *DOSBase, BPTR file)
  19896. + {
  19897. + struct Caos    MyCaos;
  19898. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19899. + //    MyCaos.M68kStart    =    NULL;
  19900. + //    MyCaos.M68kSize        =    0;
  19901. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19902. + //    MyCaos.PPCStart        =    NULL;
  19903. + //    MyCaos.PPCSize        =    0;
  19904. +     MyCaos.d1        =(ULONG) file;
  19905. +     MyCaos.caos_Un.Offset    =    (-36);
  19906. +     MyCaos.a6        =(ULONG) DOSBase;    
  19907. +     return((LONG)PPCCallOS(&MyCaos));
  19908. + }
  19909. + #define    CompareDates(date1, date2)    _CompareDates(DOS_BASE_NAME, date1, date2)
  19910. + static __inline LONG
  19911. + _CompareDates(void *DOSBase, struct DateStamp *date1, struct DateStamp *date2)
  19912. + {
  19913. + struct Caos    MyCaos;
  19914. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19915. + //    MyCaos.M68kStart    =    NULL;
  19916. + //    MyCaos.M68kSize        =    0;
  19917. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19918. + //    MyCaos.PPCStart        =    NULL;
  19919. + //    MyCaos.PPCSize        =    0;
  19920. +     MyCaos.d1        =(ULONG) date1;
  19921. +     MyCaos.d2        =(ULONG) date2;
  19922. +     MyCaos.caos_Un.Offset    =    (-738);
  19923. +     MyCaos.a6        =(ULONG) DOSBase;    
  19924. +     return((LONG)PPCCallOS(&MyCaos));
  19925. + }
  19926. + #define    CreateDir(name)    _CreateDir(DOS_BASE_NAME, name)
  19927. + static __inline BPTR
  19928. + _CreateDir(void *DOSBase, STRPTR name)
  19929. + {
  19930. + struct Caos    MyCaos;
  19931. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19932. + //    MyCaos.M68kStart    =    NULL;
  19933. + //    MyCaos.M68kSize        =    0;
  19934. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19935. + //    MyCaos.PPCStart        =    NULL;
  19936. + //    MyCaos.PPCSize        =    0;
  19937. +     MyCaos.d1        =(ULONG) name;
  19938. +     MyCaos.caos_Un.Offset    =    (-120);
  19939. +     MyCaos.a6        =(ULONG) DOSBase;    
  19940. +     return((BPTR)PPCCallOS(&MyCaos));
  19941. + }
  19942. + #define    CreateNewProc(tags)    _CreateNewProc(DOS_BASE_NAME, tags)
  19943. + static __inline struct Process *
  19944. + _CreateNewProc(void *DOSBase, struct TagItem *tags)
  19945. + {
  19946. + struct Caos    MyCaos;
  19947. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19948. + //    MyCaos.M68kStart    =    NULL;
  19949. + //    MyCaos.M68kSize        =    0;
  19950. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19951. + //    MyCaos.PPCStart        =    NULL;
  19952. + //    MyCaos.PPCSize        =    0;
  19953. +     MyCaos.d1        =(ULONG) tags;
  19954. +     MyCaos.caos_Un.Offset    =    (-498);
  19955. +     MyCaos.a6        =(ULONG) DOSBase;    
  19956. +     return((struct Process *)PPCCallOS(&MyCaos));
  19957. + }
  19958. + #define CreateNewProcTagList(a0) CreateNewProc ((a0))
  19959. + #ifndef NO_PPCINLINE_STDARG
  19960. + #define CreateNewProcTags(tags...) \
  19961. +     ({ULONG _tags[] = { tags }; CreateNewProc((struct TagItem *)_tags);})
  19962. + #endif /* !NO_PPCINLINE_STDARG */
  19963. + #define    CreateProc(name, pri, segList, stackSize)    _CreateProc(DOS_BASE_NAME, name, pri, segList, stackSize)
  19964. + static __inline struct MsgPort *
  19965. + _CreateProc(void *DOSBase, STRPTR name, long pri, BPTR segList, long stackSize)
  19966. + {
  19967. + struct Caos    MyCaos;
  19968. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19969. + //    MyCaos.M68kStart    =    NULL;
  19970. + //    MyCaos.M68kSize        =    0;
  19971. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19972. + //    MyCaos.PPCStart        =    NULL;
  19973. + //    MyCaos.PPCSize        =    0;
  19974. +     MyCaos.d1        =(ULONG) name;
  19975. +     MyCaos.d2        =(ULONG) pri;
  19976. +     MyCaos.d3        =(ULONG) segList;
  19977. +     MyCaos.d4        =(ULONG) stackSize;
  19978. +     MyCaos.caos_Un.Offset    =    (-138);
  19979. +     MyCaos.a6        =(ULONG) DOSBase;    
  19980. +     return((struct MsgPort *)PPCCallOS(&MyCaos));
  19981. + }
  19982. + #define    CurrentDir(lock)    _CurrentDir(DOS_BASE_NAME, lock)
  19983. + static __inline BPTR
  19984. + _CurrentDir(void *DOSBase, BPTR lock)
  19985. + {
  19986. + struct Caos    MyCaos;
  19987. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  19988. + //    MyCaos.M68kStart    =    NULL;
  19989. + //    MyCaos.M68kSize        =    0;
  19990. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  19991. + //    MyCaos.PPCStart        =    NULL;
  19992. + //    MyCaos.PPCSize        =    0;
  19993. +     MyCaos.d1        =(ULONG) lock;
  19994. +     MyCaos.caos_Un.Offset    =    (-126);
  19995. +     MyCaos.a6        =(ULONG) DOSBase;    
  19996. +     return((BPTR)PPCCallOS(&MyCaos));
  19997. + }
  19998. + #define    DateStamp(date)    _DateStamp(DOS_BASE_NAME, date)
  19999. + static __inline struct DateStamp *
  20000. + _DateStamp(void *DOSBase, struct DateStamp *date)
  20001. + {
  20002. + struct Caos    MyCaos;
  20003. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20004. + //    MyCaos.M68kStart    =    NULL;
  20005. + //    MyCaos.M68kSize        =    0;
  20006. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20007. + //    MyCaos.PPCStart        =    NULL;
  20008. + //    MyCaos.PPCSize        =    0;
  20009. +     MyCaos.d1        =(ULONG) date;
  20010. +     MyCaos.caos_Un.Offset    =    (-192);
  20011. +     MyCaos.a6        =(ULONG) DOSBase;    
  20012. +     return((struct DateStamp *)PPCCallOS(&MyCaos));
  20013. + }
  20014. + #define    DateToStr(datetime)    _DateToStr(DOS_BASE_NAME, datetime)
  20015. + static __inline LONG
  20016. + _DateToStr(void *DOSBase, struct DateTime *datetime)
  20017. + {
  20018. + struct Caos    MyCaos;
  20019. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20020. + //    MyCaos.M68kStart    =    NULL;
  20021. + //    MyCaos.M68kSize        =    0;
  20022. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20023. + //    MyCaos.PPCStart        =    NULL;
  20024. + //    MyCaos.PPCSize        =    0;
  20025. +     MyCaos.d1        =(ULONG) datetime;
  20026. +     MyCaos.caos_Un.Offset    =    (-744);
  20027. +     MyCaos.a6        =(ULONG) DOSBase;    
  20028. +     return((LONG)PPCCallOS(&MyCaos));
  20029. + }
  20030. + #define    Delay(timeout)    _Delay(DOS_BASE_NAME, timeout)
  20031. + static __inline void
  20032. + _Delay(void *DOSBase, long timeout)
  20033. + {
  20034. + struct Caos    MyCaos;
  20035. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20036. + //    MyCaos.M68kStart    =    NULL;
  20037. + //    MyCaos.M68kSize        =    0;
  20038. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20039. + //    MyCaos.PPCStart        =    NULL;
  20040. + //    MyCaos.PPCSize        =    0;
  20041. +     MyCaos.d1        =(ULONG) timeout;
  20042. +     MyCaos.caos_Un.Offset    =    (-198);
  20043. +     MyCaos.a6        =(ULONG) DOSBase;    
  20044. +     PPCCallOS(&MyCaos);
  20045. + }
  20046. + #define    DeleteFile(name)    _DeleteFile(DOS_BASE_NAME, name)
  20047. + static __inline LONG
  20048. + _DeleteFile(void *DOSBase, STRPTR name)
  20049. + {
  20050. + struct Caos    MyCaos;
  20051. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20052. + //    MyCaos.M68kStart    =    NULL;
  20053. + //    MyCaos.M68kSize        =    0;
  20054. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20055. + //    MyCaos.PPCStart        =    NULL;
  20056. + //    MyCaos.PPCSize        =    0;
  20057. +     MyCaos.d1        =(ULONG) name;
  20058. +     MyCaos.caos_Un.Offset    =    (-72);
  20059. +     MyCaos.a6        =(ULONG) DOSBase;    
  20060. +     return((LONG)PPCCallOS(&MyCaos));
  20061. + }
  20062. + #define    DeleteVar(name, flags)    _DeleteVar(DOS_BASE_NAME, name, flags)
  20063. + static __inline LONG
  20064. + _DeleteVar(void *DOSBase, STRPTR name, unsigned long flags)
  20065. + {
  20066. + struct Caos    MyCaos;
  20067. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20068. + //    MyCaos.M68kStart    =    NULL;
  20069. + //    MyCaos.M68kSize        =    0;
  20070. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20071. + //    MyCaos.PPCStart        =    NULL;
  20072. + //    MyCaos.PPCSize        =    0;
  20073. +     MyCaos.d1        =(ULONG) name;
  20074. +     MyCaos.d2        =(ULONG) flags;
  20075. +     MyCaos.caos_Un.Offset    =    (-912);
  20076. +     MyCaos.a6        =(ULONG) DOSBase;    
  20077. +     return((LONG)PPCCallOS(&MyCaos));
  20078. + }
  20079. + #define    DeviceProc(name)    _DeviceProc(DOS_BASE_NAME, name)
  20080. + static __inline struct MsgPort *
  20081. + _DeviceProc(void *DOSBase, STRPTR name)
  20082. + {
  20083. + struct Caos    MyCaos;
  20084. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20085. + //    MyCaos.M68kStart    =    NULL;
  20086. + //    MyCaos.M68kSize        =    0;
  20087. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20088. + //    MyCaos.PPCStart        =    NULL;
  20089. + //    MyCaos.PPCSize        =    0;
  20090. +     MyCaos.d1        =(ULONG) name;
  20091. +     MyCaos.caos_Un.Offset    =    (-174);
  20092. +     MyCaos.a6        =(ULONG) DOSBase;    
  20093. +     return((struct MsgPort *)PPCCallOS(&MyCaos));
  20094. + }
  20095. + #define    DoPkt(port, action, arg1, arg2, arg3, arg4, arg5)    _DoPkt(DOS_BASE_NAME, port, action, arg1, arg2, arg3, arg4, arg5)
  20096. + static __inline LONG
  20097. + _DoPkt(void *DOSBase, struct MsgPort *port, long action, long arg1, long arg2, long arg3, long arg4, long arg5)
  20098. + {
  20099. + struct Caos    MyCaos;
  20100. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20101. + //    MyCaos.M68kStart    =    NULL;
  20102. + //    MyCaos.M68kSize        =    0;
  20103. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20104. + //    MyCaos.PPCStart        =    NULL;
  20105. + //    MyCaos.PPCSize        =    0;
  20106. +     MyCaos.d1        =(ULONG) port;
  20107. +     MyCaos.d2        =(ULONG) action;
  20108. +     MyCaos.d3        =(ULONG) arg1;
  20109. +     MyCaos.d4        =(ULONG) arg2;
  20110. +     MyCaos.d5        =(ULONG) arg3;
  20111. +     MyCaos.d6        =(ULONG) arg4;
  20112. +     MyCaos.d7        =(ULONG) arg5;
  20113. +     MyCaos.caos_Un.Offset    =    (-240);
  20114. +     MyCaos.a6        =(ULONG) DOSBase;    
  20115. +     return((LONG)PPCCallOS(&MyCaos));
  20116. + }
  20117. + #define    DoPkt0(port, action)    _DoPkt0(DOS_BASE_NAME, port, action)
  20118. + static __inline LONG
  20119. + _DoPkt0(void *DOSBase, struct MsgPort *port, long action)
  20120. + {
  20121. + struct Caos    MyCaos;
  20122. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20123. + //    MyCaos.M68kStart    =    NULL;
  20124. + //    MyCaos.M68kSize        =    0;
  20125. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20126. + //    MyCaos.PPCStart        =    NULL;
  20127. + //    MyCaos.PPCSize        =    0;
  20128. +     MyCaos.d1        =(ULONG) port;
  20129. +     MyCaos.d2        =(ULONG) action;
  20130. +     MyCaos.caos_Un.Offset    =    (-240);
  20131. +     MyCaos.a6        =(ULONG) DOSBase;    
  20132. +     return((LONG)PPCCallOS(&MyCaos));
  20133. + }
  20134. + #define    DoPkt1(port, action, arg1)    _DoPkt1(DOS_BASE_NAME, port, action, arg1)
  20135. + static __inline LONG
  20136. + _DoPkt1(void *DOSBase, struct MsgPort *port, long action, long arg1)
  20137. + {
  20138. + struct Caos    MyCaos;
  20139. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20140. + //    MyCaos.M68kStart    =    NULL;
  20141. + //    MyCaos.M68kSize        =    0;
  20142. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20143. + //    MyCaos.PPCStart        =    NULL;
  20144. + //    MyCaos.PPCSize        =    0;
  20145. +     MyCaos.d1        =(ULONG) port;
  20146. +     MyCaos.d2        =(ULONG) action;
  20147. +     MyCaos.d3        =(ULONG) arg1;
  20148. +     MyCaos.caos_Un.Offset    =    (-240);
  20149. +     MyCaos.a6        =(ULONG) DOSBase;    
  20150. +     return((LONG)PPCCallOS(&MyCaos));
  20151. + }
  20152. + #define    DoPkt2(port, action, arg1, arg2)    _DoPkt2(DOS_BASE_NAME, port, action, arg1, arg2)
  20153. + static __inline LONG
  20154. + _DoPkt2(void *DOSBase, struct MsgPort *port, long action, long arg1, long arg2)
  20155. + {
  20156. + struct Caos    MyCaos;
  20157. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20158. + //    MyCaos.M68kStart    =    NULL;
  20159. + //    MyCaos.M68kSize        =    0;
  20160. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20161. + //    MyCaos.PPCStart        =    NULL;
  20162. + //    MyCaos.PPCSize        =    0;
  20163. +     MyCaos.d1        =(ULONG) port;
  20164. +     MyCaos.d2        =(ULONG) action;
  20165. +     MyCaos.d3        =(ULONG) arg1;
  20166. +     MyCaos.d4        =(ULONG) arg2;
  20167. +     MyCaos.caos_Un.Offset    =    (-240);
  20168. +     MyCaos.a6        =(ULONG) DOSBase;    
  20169. +     return((LONG)PPCCallOS(&MyCaos));
  20170. + }
  20171. + #define    DoPkt3(port, action, arg1, arg2, arg3)    _DoPkt3(DOS_BASE_NAME, port, action, arg1, arg2, arg3)
  20172. + static __inline LONG
  20173. + _DoPkt3(void *DOSBase, struct MsgPort *port, long action, long arg1, long arg2, long arg3)
  20174. + {
  20175. + struct Caos    MyCaos;
  20176. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20177. + //    MyCaos.M68kStart    =    NULL;
  20178. + //    MyCaos.M68kSize        =    0;
  20179. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20180. + //    MyCaos.PPCStart        =    NULL;
  20181. + //    MyCaos.PPCSize        =    0;
  20182. +     MyCaos.d1        =(ULONG) port;
  20183. +     MyCaos.d2        =(ULONG) action;
  20184. +     MyCaos.d3        =(ULONG) arg1;
  20185. +     MyCaos.d4        =(ULONG) arg2;
  20186. +     MyCaos.d5        =(ULONG) arg3;
  20187. +     MyCaos.caos_Un.Offset    =    (-240);
  20188. +     MyCaos.a6        =(ULONG) DOSBase;    
  20189. +     return((LONG)PPCCallOS(&MyCaos));
  20190. + }
  20191. + #define    DoPkt4(port, action, arg1, arg2, arg3, arg4)    _DoPkt4(DOS_BASE_NAME, port, action, arg1, arg2, arg3, arg4)
  20192. + static __inline LONG
  20193. + _DoPkt4(void *DOSBase, struct MsgPort *port, long action, long arg1, long arg2, long arg3, long arg4)
  20194. + {
  20195. + struct Caos    MyCaos;
  20196. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20197. + //    MyCaos.M68kStart    =    NULL;
  20198. + //    MyCaos.M68kSize        =    0;
  20199. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20200. + //    MyCaos.PPCStart        =    NULL;
  20201. + //    MyCaos.PPCSize        =    0;
  20202. +     MyCaos.d1        =(ULONG) port;
  20203. +     MyCaos.d2        =(ULONG) action;
  20204. +     MyCaos.d3        =(ULONG) arg1;
  20205. +     MyCaos.d4        =(ULONG) arg2;
  20206. +     MyCaos.d5        =(ULONG) arg3;
  20207. +     MyCaos.d6        =(ULONG) arg4;
  20208. +     MyCaos.caos_Un.Offset    =    (-240);
  20209. +     MyCaos.a6        =(ULONG) DOSBase;    
  20210. +     return((LONG)PPCCallOS(&MyCaos));
  20211. + }
  20212. + #define    DupLock(lock)    _DupLock(DOS_BASE_NAME, lock)
  20213. + static __inline BPTR
  20214. + _DupLock(void *DOSBase, BPTR lock)
  20215. + {
  20216. + struct Caos    MyCaos;
  20217. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20218. + //    MyCaos.M68kStart    =    NULL;
  20219. + //    MyCaos.M68kSize        =    0;
  20220. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20221. + //    MyCaos.PPCStart        =    NULL;
  20222. + //    MyCaos.PPCSize        =    0;
  20223. +     MyCaos.d1        =(ULONG) lock;
  20224. +     MyCaos.caos_Un.Offset    =    (-96);
  20225. +     MyCaos.a6        =(ULONG) DOSBase;    
  20226. +     return((BPTR)PPCCallOS(&MyCaos));
  20227. + }
  20228. + #define    DupLockFromFH(fh)    _DupLockFromFH(DOS_BASE_NAME, fh)
  20229. + static __inline BPTR
  20230. + _DupLockFromFH(void *DOSBase, BPTR fh)
  20231. + {
  20232. + struct Caos    MyCaos;
  20233. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20234. + //    MyCaos.M68kStart    =    NULL;
  20235. + //    MyCaos.M68kSize        =    0;
  20236. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20237. + //    MyCaos.PPCStart        =    NULL;
  20238. + //    MyCaos.PPCSize        =    0;
  20239. +     MyCaos.d1        =(ULONG) fh;
  20240. +     MyCaos.caos_Un.Offset    =    (-372);
  20241. +     MyCaos.a6        =(ULONG) DOSBase;    
  20242. +     return((BPTR)PPCCallOS(&MyCaos));
  20243. + }
  20244. + #define    EndNotify(notify)    _EndNotify(DOS_BASE_NAME, notify)
  20245. + static __inline void
  20246. + _EndNotify(void *DOSBase, struct NotifyRequest *notify)
  20247. + {
  20248. + struct Caos    MyCaos;
  20249. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20250. + //    MyCaos.M68kStart    =    NULL;
  20251. + //    MyCaos.M68kSize        =    0;
  20252. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20253. + //    MyCaos.PPCStart        =    NULL;
  20254. + //    MyCaos.PPCSize        =    0;
  20255. +     MyCaos.d1        =(ULONG) notify;
  20256. +     MyCaos.caos_Un.Offset    =    (-894);
  20257. +     MyCaos.a6        =(ULONG) DOSBase;    
  20258. +     PPCCallOS(&MyCaos);
  20259. + }
  20260. + #define    ErrorReport(code, type, arg1, device)    _ErrorReport(DOS_BASE_NAME, code, type, arg1, device)
  20261. + static __inline LONG
  20262. + _ErrorReport(void *DOSBase, long code, long type, unsigned long arg1, struct MsgPort *device)
  20263. + {
  20264. + struct Caos    MyCaos;
  20265. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20266. + //    MyCaos.M68kStart    =    NULL;
  20267. + //    MyCaos.M68kSize        =    0;
  20268. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20269. + //    MyCaos.PPCStart        =    NULL;
  20270. + //    MyCaos.PPCSize        =    0;
  20271. +     MyCaos.d1        =(ULONG) code;
  20272. +     MyCaos.d2        =(ULONG) type;
  20273. +     MyCaos.d3        =(ULONG) arg1;
  20274. +     MyCaos.d4        =(ULONG) device;
  20275. +     MyCaos.caos_Un.Offset    =    (-480);
  20276. +     MyCaos.a6        =(ULONG) DOSBase;    
  20277. +     return((LONG)PPCCallOS(&MyCaos));
  20278. + }
  20279. + #define    ExAll(lock, buffer, size, data, control)    _ExAll(DOS_BASE_NAME, lock, buffer, size, data, control)
  20280. + static __inline LONG
  20281. + _ExAll(void *DOSBase, BPTR lock, struct ExAllData *buffer, long size, long data, struct ExAllControl *control)
  20282. + {
  20283. + struct Caos    MyCaos;
  20284. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20285. + //    MyCaos.M68kStart    =    NULL;
  20286. + //    MyCaos.M68kSize        =    0;
  20287. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20288. + //    MyCaos.PPCStart        =    NULL;
  20289. + //    MyCaos.PPCSize        =    0;
  20290. +     MyCaos.d1        =(ULONG) lock;
  20291. +     MyCaos.d2        =(ULONG) buffer;
  20292. +     MyCaos.d3        =(ULONG) size;
  20293. +     MyCaos.d4        =(ULONG) data;
  20294. +     MyCaos.d5        =(ULONG) control;
  20295. +     MyCaos.caos_Un.Offset    =    (-432);
  20296. +     MyCaos.a6        =(ULONG) DOSBase;    
  20297. +     return((LONG)PPCCallOS(&MyCaos));
  20298. + }
  20299. + #define    ExAllEnd(lock, buffer, size, data, control)    _ExAllEnd(DOS_BASE_NAME, lock, buffer, size, data, control)
  20300. + static __inline void
  20301. + _ExAllEnd(void *DOSBase, BPTR lock, struct ExAllData *buffer, long size, long data, struct ExAllControl *control)
  20302. + {
  20303. + struct Caos    MyCaos;
  20304. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20305. + //    MyCaos.M68kStart    =    NULL;
  20306. + //    MyCaos.M68kSize        =    0;
  20307. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20308. + //    MyCaos.PPCStart        =    NULL;
  20309. + //    MyCaos.PPCSize        =    0;
  20310. +     MyCaos.d1        =(ULONG) lock;
  20311. +     MyCaos.d2        =(ULONG) buffer;
  20312. +     MyCaos.d3        =(ULONG) size;
  20313. +     MyCaos.d4        =(ULONG) data;
  20314. +     MyCaos.d5        =(ULONG) control;
  20315. +     MyCaos.caos_Un.Offset    =    (-990);
  20316. +     MyCaos.a6        =(ULONG) DOSBase;    
  20317. +     PPCCallOS(&MyCaos);
  20318. + }
  20319. + #define    ExNext(lock, fileInfoBlock)    _ExNext(DOS_BASE_NAME, lock, fileInfoBlock)
  20320. + static __inline LONG
  20321. + _ExNext(void *DOSBase, BPTR lock, struct FileInfoBlock *fileInfoBlock)
  20322. + {
  20323. + struct Caos    MyCaos;
  20324. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20325. + //    MyCaos.M68kStart    =    NULL;
  20326. + //    MyCaos.M68kSize        =    0;
  20327. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20328. + //    MyCaos.PPCStart        =    NULL;
  20329. + //    MyCaos.PPCSize        =    0;
  20330. +     MyCaos.d1        =(ULONG) lock;
  20331. +     MyCaos.d2        =(ULONG) fileInfoBlock;
  20332. +     MyCaos.caos_Un.Offset    =    (-108);
  20333. +     MyCaos.a6        =(ULONG) DOSBase;    
  20334. +     return((LONG)PPCCallOS(&MyCaos));
  20335. + }
  20336. + #define    Examine(lock, fileInfoBlock)    _Examine(DOS_BASE_NAME, lock, fileInfoBlock)
  20337. + static __inline LONG
  20338. + _Examine(void *DOSBase, BPTR lock, struct FileInfoBlock *fileInfoBlock)
  20339. + {
  20340. + struct Caos    MyCaos;
  20341. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20342. + //    MyCaos.M68kStart    =    NULL;
  20343. + //    MyCaos.M68kSize        =    0;
  20344. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20345. + //    MyCaos.PPCStart        =    NULL;
  20346. + //    MyCaos.PPCSize        =    0;
  20347. +     MyCaos.d1        =(ULONG) lock;
  20348. +     MyCaos.d2        =(ULONG) fileInfoBlock;
  20349. +     MyCaos.caos_Un.Offset    =    (-102);
  20350. +     MyCaos.a6        =(ULONG) DOSBase;    
  20351. +     return((LONG)PPCCallOS(&MyCaos));
  20352. + }
  20353. + #define    ExamineFH(fh, fib)    _ExamineFH(DOS_BASE_NAME, fh, fib)
  20354. + static __inline BOOL
  20355. + _ExamineFH(void *DOSBase, BPTR fh, struct FileInfoBlock *fib)
  20356. + {
  20357. + struct Caos    MyCaos;
  20358. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20359. + //    MyCaos.M68kStart    =    NULL;
  20360. + //    MyCaos.M68kSize        =    0;
  20361. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20362. + //    MyCaos.PPCStart        =    NULL;
  20363. + //    MyCaos.PPCSize        =    0;
  20364. +     MyCaos.d1        =(ULONG) fh;
  20365. +     MyCaos.d2        =(ULONG) fib;
  20366. +     MyCaos.caos_Un.Offset    =    (-390);
  20367. +     MyCaos.a6        =(ULONG) DOSBase;    
  20368. +     return((BOOL)PPCCallOS(&MyCaos));
  20369. + }
  20370. + #define    Execute(string, file, file2)    _Execute(DOS_BASE_NAME, string, file, file2)
  20371. + static __inline LONG
  20372. + _Execute(void *DOSBase, STRPTR string, BPTR file, BPTR file2)
  20373. + {
  20374. + struct Caos    MyCaos;
  20375. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20376. + //    MyCaos.M68kStart    =    NULL;
  20377. + //    MyCaos.M68kSize        =    0;
  20378. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20379. + //    MyCaos.PPCStart        =    NULL;
  20380. + //    MyCaos.PPCSize        =    0;
  20381. +     MyCaos.d1        =(ULONG) string;
  20382. +     MyCaos.d2        =(ULONG) file;
  20383. +     MyCaos.d3        =(ULONG) file2;
  20384. +     MyCaos.caos_Un.Offset    =    (-222);
  20385. +     MyCaos.a6        =(ULONG) DOSBase;    
  20386. +     return((LONG)PPCCallOS(&MyCaos));
  20387. + }
  20388. + #define    Exit(returnCode)    _Exit(DOS_BASE_NAME, returnCode)
  20389. + static __inline void
  20390. + _Exit(void *DOSBase, long returnCode)
  20391. + {
  20392. + struct Caos    MyCaos;
  20393. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20394. + //    MyCaos.M68kStart    =    NULL;
  20395. + //    MyCaos.M68kSize        =    0;
  20396. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20397. + //    MyCaos.PPCStart        =    NULL;
  20398. + //    MyCaos.PPCSize        =    0;
  20399. +     MyCaos.d1        =(ULONG) returnCode;
  20400. +     MyCaos.caos_Un.Offset    =    (-144);
  20401. +     MyCaos.a6        =(ULONG) DOSBase;    
  20402. +     PPCCallOS(&MyCaos);
  20403. + }
  20404. + #define    FGetC(fh)    _FGetC(DOS_BASE_NAME, fh)
  20405. + static __inline LONG
  20406. + _FGetC(void *DOSBase, BPTR fh)
  20407. + {
  20408. + struct Caos    MyCaos;
  20409. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20410. + //    MyCaos.M68kStart    =    NULL;
  20411. + //    MyCaos.M68kSize        =    0;
  20412. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20413. + //    MyCaos.PPCStart        =    NULL;
  20414. + //    MyCaos.PPCSize        =    0;
  20415. +     MyCaos.d1        =(ULONG) fh;
  20416. +     MyCaos.caos_Un.Offset    =    (-306);
  20417. +     MyCaos.a6        =(ULONG) DOSBase;    
  20418. +     return((LONG)PPCCallOS(&MyCaos));
  20419. + }
  20420. + #define    FGets(fh, buf, buflen)    _FGets(DOS_BASE_NAME, fh, buf, buflen)
  20421. + static __inline STRPTR
  20422. + _FGets(void *DOSBase, BPTR fh, STRPTR buf, unsigned long buflen)
  20423. + {
  20424. + struct Caos    MyCaos;
  20425. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20426. + //    MyCaos.M68kStart    =    NULL;
  20427. + //    MyCaos.M68kSize        =    0;
  20428. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20429. + //    MyCaos.PPCStart        =    NULL;
  20430. + //    MyCaos.PPCSize        =    0;
  20431. +     MyCaos.d1        =(ULONG) fh;
  20432. +     MyCaos.d2        =(ULONG) buf;
  20433. +     MyCaos.d3        =(ULONG) buflen;
  20434. +     MyCaos.caos_Un.Offset    =    (-336);
  20435. +     MyCaos.a6        =(ULONG) DOSBase;    
  20436. +     return((STRPTR)PPCCallOS(&MyCaos));
  20437. + }
  20438. + #define    FPutC(fh, ch)    _FPutC(DOS_BASE_NAME, fh, ch)
  20439. + static __inline LONG
  20440. + _FPutC(void *DOSBase, BPTR fh, long ch)
  20441. + {
  20442. + struct Caos    MyCaos;
  20443. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20444. + //    MyCaos.M68kStart    =    NULL;
  20445. + //    MyCaos.M68kSize        =    0;
  20446. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20447. + //    MyCaos.PPCStart        =    NULL;
  20448. + //    MyCaos.PPCSize        =    0;
  20449. +     MyCaos.d1        =(ULONG) fh;
  20450. +     MyCaos.d2        =(ULONG) ch;
  20451. +     MyCaos.caos_Un.Offset    =    (-312);
  20452. +     MyCaos.a6        =(ULONG) DOSBase;    
  20453. +     return((LONG)PPCCallOS(&MyCaos));
  20454. + }
  20455. + #define    FPuts(fh, str)    _FPuts(DOS_BASE_NAME, fh, str)
  20456. + static __inline LONG
  20457. + _FPuts(void *DOSBase, BPTR fh, STRPTR str)
  20458. + {
  20459. + struct Caos    MyCaos;
  20460. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20461. + //    MyCaos.M68kStart    =    NULL;
  20462. + //    MyCaos.M68kSize        =    0;
  20463. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20464. + //    MyCaos.PPCStart        =    NULL;
  20465. + //    MyCaos.PPCSize        =    0;
  20466. +     MyCaos.d1        =(ULONG) fh;
  20467. +     MyCaos.d2        =(ULONG) str;
  20468. +     MyCaos.caos_Un.Offset    =    (-342);
  20469. +     MyCaos.a6        =(ULONG) DOSBase;    
  20470. +     return((LONG)PPCCallOS(&MyCaos));
  20471. + }
  20472. + #define    FRead(fh, block, blocklen, number)    _FRead(DOS_BASE_NAME, fh, block, blocklen, number)
  20473. + static __inline LONG
  20474. + _FRead(void *DOSBase, BPTR fh, APTR block, unsigned long blocklen, unsigned long number)
  20475. + {
  20476. + struct Caos    MyCaos;
  20477. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20478. + //    MyCaos.M68kStart    =    NULL;
  20479. + //    MyCaos.M68kSize        =    0;
  20480. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20481. + //    MyCaos.PPCStart        =    NULL;
  20482. + //    MyCaos.PPCSize        =    0;
  20483. +     MyCaos.d1        =(ULONG) fh;
  20484. +     MyCaos.d2        =(ULONG) block;
  20485. +     MyCaos.d3        =(ULONG) blocklen;
  20486. +     MyCaos.d4        =(ULONG) number;
  20487. +     MyCaos.caos_Un.Offset    =    (-324);
  20488. +     MyCaos.a6        =(ULONG) DOSBase;    
  20489. +     return((LONG)PPCCallOS(&MyCaos));
  20490. + }
  20491. + #define    FWrite(fh, block, blocklen, number)    _FWrite(DOS_BASE_NAME, fh, block, blocklen, number)
  20492. + static __inline LONG
  20493. + _FWrite(void *DOSBase, BPTR fh, APTR block, unsigned long blocklen, unsigned long number)
  20494. + {
  20495. + struct Caos    MyCaos;
  20496. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20497. + //    MyCaos.M68kStart    =    NULL;
  20498. + //    MyCaos.M68kSize        =    0;
  20499. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20500. + //    MyCaos.PPCStart        =    NULL;
  20501. + //    MyCaos.PPCSize        =    0;
  20502. +     MyCaos.d1        =(ULONG) fh;
  20503. +     MyCaos.d2        =(ULONG) block;
  20504. +     MyCaos.d3        =(ULONG) blocklen;
  20505. +     MyCaos.d4        =(ULONG) number;
  20506. +     MyCaos.caos_Un.Offset    =    (-330);
  20507. +     MyCaos.a6        =(ULONG) DOSBase;    
  20508. +     return((LONG)PPCCallOS(&MyCaos));
  20509. + }
  20510. + #define    Fault(code, header, buffer, len)    _Fault(DOS_BASE_NAME, code, header, buffer, len)
  20511. + static __inline BOOL
  20512. + _Fault(void *DOSBase, long code, STRPTR header, STRPTR buffer, long len)
  20513. + {
  20514. + struct Caos    MyCaos;
  20515. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20516. + //    MyCaos.M68kStart    =    NULL;
  20517. + //    MyCaos.M68kSize        =    0;
  20518. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20519. + //    MyCaos.PPCStart        =    NULL;
  20520. + //    MyCaos.PPCSize        =    0;
  20521. +     MyCaos.d1        =(ULONG) code;
  20522. +     MyCaos.d2        =(ULONG) header;
  20523. +     MyCaos.d3        =(ULONG) buffer;
  20524. +     MyCaos.d4        =(ULONG) len;
  20525. +     MyCaos.caos_Un.Offset    =    (-468);
  20526. +     MyCaos.a6        =(ULONG) DOSBase;    
  20527. +     return((BOOL)PPCCallOS(&MyCaos));
  20528. + }
  20529. + #define    FilePart(path)    _FilePart(DOS_BASE_NAME, path)
  20530. + static __inline STRPTR
  20531. + _FilePart(void *DOSBase, STRPTR path)
  20532. + {
  20533. + struct Caos    MyCaos;
  20534. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20535. + //    MyCaos.M68kStart    =    NULL;
  20536. + //    MyCaos.M68kSize        =    0;
  20537. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20538. + //    MyCaos.PPCStart        =    NULL;
  20539. + //    MyCaos.PPCSize        =    0;
  20540. +     MyCaos.d1        =(ULONG) path;
  20541. +     MyCaos.caos_Un.Offset    =    (-870);
  20542. +     MyCaos.a6        =(ULONG) DOSBase;    
  20543. +     return((STRPTR)PPCCallOS(&MyCaos));
  20544. + }
  20545. + #define    FindArg(keyword, arg_template)    _FindArg(DOS_BASE_NAME, keyword, arg_template)
  20546. + static __inline LONG
  20547. + _FindArg(void *DOSBase, STRPTR keyword, STRPTR arg_template)
  20548. + {
  20549. + struct Caos    MyCaos;
  20550. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20551. + //    MyCaos.M68kStart    =    NULL;
  20552. + //    MyCaos.M68kSize        =    0;
  20553. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20554. + //    MyCaos.PPCStart        =    NULL;
  20555. + //    MyCaos.PPCSize        =    0;
  20556. +     MyCaos.d1        =(ULONG) keyword;
  20557. +     MyCaos.d2        =(ULONG) arg_template;
  20558. +     MyCaos.caos_Un.Offset    =    (-804);
  20559. +     MyCaos.a6        =(ULONG) DOSBase;    
  20560. +     return((LONG)PPCCallOS(&MyCaos));
  20561. + }
  20562. + #define    FindCliProc(num)    _FindCliProc(DOS_BASE_NAME, num)
  20563. + static __inline struct Process *
  20564. + _FindCliProc(void *DOSBase, unsigned long num)
  20565. + {
  20566. + struct Caos    MyCaos;
  20567. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20568. + //    MyCaos.M68kStart    =    NULL;
  20569. + //    MyCaos.M68kSize        =    0;
  20570. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20571. + //    MyCaos.PPCStart        =    NULL;
  20572. + //    MyCaos.PPCSize        =    0;
  20573. +     MyCaos.d1        =(ULONG) num;
  20574. +     MyCaos.caos_Un.Offset    =    (-546);
  20575. +     MyCaos.a6        =(ULONG) DOSBase;    
  20576. +     return((struct Process *)PPCCallOS(&MyCaos));
  20577. + }
  20578. + #define    FindDosEntry(dlist, name, flags)    _FindDosEntry(DOS_BASE_NAME, dlist, name, flags)
  20579. + static __inline struct DosList *
  20580. + _FindDosEntry(void *DOSBase, struct DosList *dlist, STRPTR name, unsigned long flags)
  20581. + {
  20582. + struct Caos    MyCaos;
  20583. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20584. + //    MyCaos.M68kStart    =    NULL;
  20585. + //    MyCaos.M68kSize        =    0;
  20586. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20587. + //    MyCaos.PPCStart        =    NULL;
  20588. + //    MyCaos.PPCSize        =    0;
  20589. +     MyCaos.d1        =(ULONG) dlist;
  20590. +     MyCaos.d2        =(ULONG) name;
  20591. +     MyCaos.d3        =(ULONG) flags;
  20592. +     MyCaos.caos_Un.Offset    =    (-684);
  20593. +     MyCaos.a6        =(ULONG) DOSBase;    
  20594. +     return((struct DosList *)PPCCallOS(&MyCaos));
  20595. + }
  20596. + #define    FindSegment(name, seg, system)    _FindSegment(DOS_BASE_NAME, name, seg, system)
  20597. + static __inline struct Segment *
  20598. + _FindSegment(void *DOSBase, STRPTR name, struct Segment *seg, long system)
  20599. + {
  20600. + struct Caos    MyCaos;
  20601. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20602. + //    MyCaos.M68kStart    =    NULL;
  20603. + //    MyCaos.M68kSize        =    0;
  20604. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20605. + //    MyCaos.PPCStart        =    NULL;
  20606. + //    MyCaos.PPCSize        =    0;
  20607. +     MyCaos.d1        =(ULONG) name;
  20608. +     MyCaos.d2        =(ULONG) seg;
  20609. +     MyCaos.d3        =(ULONG) system;
  20610. +     MyCaos.caos_Un.Offset    =    (-780);
  20611. +     MyCaos.a6        =(ULONG) DOSBase;    
  20612. +     return((struct Segment *)PPCCallOS(&MyCaos));
  20613. + }
  20614. + #define    FindVar(name, type)    _FindVar(DOS_BASE_NAME, name, type)
  20615. + static __inline struct LocalVar *
  20616. + _FindVar(void *DOSBase, STRPTR name, unsigned long type)
  20617. + {
  20618. + struct Caos    MyCaos;
  20619. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20620. + //    MyCaos.M68kStart    =    NULL;
  20621. + //    MyCaos.M68kSize        =    0;
  20622. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20623. + //    MyCaos.PPCStart        =    NULL;
  20624. + //    MyCaos.PPCSize        =    0;
  20625. +     MyCaos.d1        =(ULONG) name;
  20626. +     MyCaos.d2        =(ULONG) type;
  20627. +     MyCaos.caos_Un.Offset    =    (-918);
  20628. +     MyCaos.a6        =(ULONG) DOSBase;    
  20629. +     return((struct LocalVar *)PPCCallOS(&MyCaos));
  20630. + }
  20631. + #define    Flush(fh)    _Flush(DOS_BASE_NAME, fh)
  20632. + static __inline LONG
  20633. + _Flush(void *DOSBase, BPTR fh)
  20634. + {
  20635. + struct Caos    MyCaos;
  20636. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20637. + //    MyCaos.M68kStart    =    NULL;
  20638. + //    MyCaos.M68kSize        =    0;
  20639. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20640. + //    MyCaos.PPCStart        =    NULL;
  20641. + //    MyCaos.PPCSize        =    0;
  20642. +     MyCaos.d1        =(ULONG) fh;
  20643. +     MyCaos.caos_Un.Offset    =    (-360);
  20644. +     MyCaos.a6        =(ULONG) DOSBase;    
  20645. +     return((LONG)PPCCallOS(&MyCaos));
  20646. + }
  20647. + #define    Format(filesystem, volumename, dostype)    _Format(DOS_BASE_NAME, filesystem, volumename, dostype)
  20648. + static __inline BOOL
  20649. + _Format(void *DOSBase, STRPTR filesystem, STRPTR volumename, unsigned long dostype)
  20650. + {
  20651. + struct Caos    MyCaos;
  20652. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20653. + //    MyCaos.M68kStart    =    NULL;
  20654. + //    MyCaos.M68kSize        =    0;
  20655. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20656. + //    MyCaos.PPCStart        =    NULL;
  20657. + //    MyCaos.PPCSize        =    0;
  20658. +     MyCaos.d1        =(ULONG) filesystem;
  20659. +     MyCaos.d2        =(ULONG) volumename;
  20660. +     MyCaos.d3        =(ULONG) dostype;
  20661. +     MyCaos.caos_Un.Offset    =    (-714);
  20662. +     MyCaos.a6        =(ULONG) DOSBase;    
  20663. +     return((BOOL)PPCCallOS(&MyCaos));
  20664. + }
  20665. + #define    FreeArgs(args)    _FreeArgs(DOS_BASE_NAME, args)
  20666. + static __inline void
  20667. + _FreeArgs(void *DOSBase, struct RDArgs *args)
  20668. + {
  20669. + struct Caos    MyCaos;
  20670. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20671. + //    MyCaos.M68kStart    =    NULL;
  20672. + //    MyCaos.M68kSize        =    0;
  20673. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20674. + //    MyCaos.PPCStart        =    NULL;
  20675. + //    MyCaos.PPCSize        =    0;
  20676. +     MyCaos.d1        =(ULONG) args;
  20677. +     MyCaos.caos_Un.Offset    =    (-858);
  20678. +     MyCaos.a6        =(ULONG) DOSBase;    
  20679. +     PPCCallOS(&MyCaos);
  20680. + }
  20681. + #define    FreeDeviceProc(dp)    _FreeDeviceProc(DOS_BASE_NAME, dp)
  20682. + static __inline void
  20683. + _FreeDeviceProc(void *DOSBase, struct DevProc *dp)
  20684. + {
  20685. + struct Caos    MyCaos;
  20686. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20687. + //    MyCaos.M68kStart    =    NULL;
  20688. + //    MyCaos.M68kSize        =    0;
  20689. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20690. + //    MyCaos.PPCStart        =    NULL;
  20691. + //    MyCaos.PPCSize        =    0;
  20692. +     MyCaos.d1        =(ULONG) dp;
  20693. +     MyCaos.caos_Un.Offset    =    (-648);
  20694. +     MyCaos.a6        =(ULONG) DOSBase;    
  20695. +     PPCCallOS(&MyCaos);
  20696. + }
  20697. + #define    FreeDosEntry(dlist)    _FreeDosEntry(DOS_BASE_NAME, dlist)
  20698. + static __inline void
  20699. + _FreeDosEntry(void *DOSBase, struct DosList *dlist)
  20700. + {
  20701. + struct Caos    MyCaos;
  20702. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20703. + //    MyCaos.M68kStart    =    NULL;
  20704. + //    MyCaos.M68kSize        =    0;
  20705. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20706. + //    MyCaos.PPCStart        =    NULL;
  20707. + //    MyCaos.PPCSize        =    0;
  20708. +     MyCaos.d1        =(ULONG) dlist;
  20709. +     MyCaos.caos_Un.Offset    =    (-702);
  20710. +     MyCaos.a6        =(ULONG) DOSBase;    
  20711. +     PPCCallOS(&MyCaos);
  20712. + }
  20713. + #define    FreeDosObject(type, ptr)    _FreeDosObject(DOS_BASE_NAME, type, ptr)
  20714. + static __inline void
  20715. + _FreeDosObject(void *DOSBase, unsigned long type, APTR ptr)
  20716. + {
  20717. + struct Caos    MyCaos;
  20718. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20719. + //    MyCaos.M68kStart    =    NULL;
  20720. + //    MyCaos.M68kSize        =    0;
  20721. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20722. + //    MyCaos.PPCStart        =    NULL;
  20723. + //    MyCaos.PPCSize        =    0;
  20724. +     MyCaos.d1        =(ULONG) type;
  20725. +     MyCaos.d2        =(ULONG) ptr;
  20726. +     MyCaos.caos_Un.Offset    =    (-234);
  20727. +     MyCaos.a6        =(ULONG) DOSBase;    
  20728. +     PPCCallOS(&MyCaos);
  20729. + }
  20730. + #define    GetArgStr()    _GetArgStr(DOS_BASE_NAME)
  20731. + static __inline STRPTR
  20732. + _GetArgStr(void *DOSBase)
  20733. + {
  20734. + struct Caos    MyCaos;
  20735. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20736. + //    MyCaos.M68kStart    =    NULL;
  20737. + //    MyCaos.M68kSize        =    0;
  20738. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20739. + //    MyCaos.PPCStart        =    NULL;
  20740. + //    MyCaos.PPCSize        =    0;
  20741. +     MyCaos.caos_Un.Offset    =    (-534);
  20742. +     MyCaos.a6        =(ULONG) DOSBase;    
  20743. +     return((STRPTR)PPCCallOS(&MyCaos));
  20744. + }
  20745. + #define    GetConsoleTask()    _GetConsoleTask(DOS_BASE_NAME)
  20746. + static __inline struct MsgPort *
  20747. + _GetConsoleTask(void *DOSBase)
  20748. + {
  20749. + struct Caos    MyCaos;
  20750. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20751. + //    MyCaos.M68kStart    =    NULL;
  20752. + //    MyCaos.M68kSize        =    0;
  20753. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20754. + //    MyCaos.PPCStart        =    NULL;
  20755. + //    MyCaos.PPCSize        =    0;
  20756. +     MyCaos.caos_Un.Offset    =    (-510);
  20757. +     MyCaos.a6        =(ULONG) DOSBase;    
  20758. +     return((struct MsgPort *)PPCCallOS(&MyCaos));
  20759. + }
  20760. + #define    GetCurrentDirName(buf, len)    _GetCurrentDirName(DOS_BASE_NAME, buf, len)
  20761. + static __inline BOOL
  20762. + _GetCurrentDirName(void *DOSBase, STRPTR buf, long len)
  20763. + {
  20764. + struct Caos    MyCaos;
  20765. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20766. + //    MyCaos.M68kStart    =    NULL;
  20767. + //    MyCaos.M68kSize        =    0;
  20768. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20769. + //    MyCaos.PPCStart        =    NULL;
  20770. + //    MyCaos.PPCSize        =    0;
  20771. +     MyCaos.d1        =(ULONG) buf;
  20772. +     MyCaos.d2        =(ULONG) len;
  20773. +     MyCaos.caos_Un.Offset    =    (-564);
  20774. +     MyCaos.a6        =(ULONG) DOSBase;    
  20775. +     return((BOOL)PPCCallOS(&MyCaos));
  20776. + }
  20777. + #define    GetDeviceProc(name, dp)    _GetDeviceProc(DOS_BASE_NAME, name, dp)
  20778. + static __inline struct DevProc *
  20779. + _GetDeviceProc(void *DOSBase, STRPTR name, struct DevProc *dp)
  20780. + {
  20781. + struct Caos    MyCaos;
  20782. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20783. + //    MyCaos.M68kStart    =    NULL;
  20784. + //    MyCaos.M68kSize        =    0;
  20785. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20786. + //    MyCaos.PPCStart        =    NULL;
  20787. + //    MyCaos.PPCSize        =    0;
  20788. +     MyCaos.d1        =(ULONG) name;
  20789. +     MyCaos.d2        =(ULONG) dp;
  20790. +     MyCaos.caos_Un.Offset    =    (-642);
  20791. +     MyCaos.a6        =(ULONG) DOSBase;    
  20792. +     return((struct DevProc *)PPCCallOS(&MyCaos));
  20793. + }
  20794. + #define    GetFileSysTask()    _GetFileSysTask(DOS_BASE_NAME)
  20795. + static __inline struct MsgPort *
  20796. + _GetFileSysTask(void *DOSBase)
  20797. + {
  20798. + struct Caos    MyCaos;
  20799. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20800. + //    MyCaos.M68kStart    =    NULL;
  20801. + //    MyCaos.M68kSize        =    0;
  20802. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20803. + //    MyCaos.PPCStart        =    NULL;
  20804. + //    MyCaos.PPCSize        =    0;
  20805. +     MyCaos.caos_Un.Offset    =    (-522);
  20806. +     MyCaos.a6        =(ULONG) DOSBase;    
  20807. +     return((struct MsgPort *)PPCCallOS(&MyCaos));
  20808. + }
  20809. + #define    GetProgramDir()    _GetProgramDir(DOS_BASE_NAME)
  20810. + static __inline BPTR
  20811. + _GetProgramDir(void *DOSBase)
  20812. + {
  20813. + struct Caos    MyCaos;
  20814. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20815. + //    MyCaos.M68kStart    =    NULL;
  20816. + //    MyCaos.M68kSize        =    0;
  20817. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20818. + //    MyCaos.PPCStart        =    NULL;
  20819. + //    MyCaos.PPCSize        =    0;
  20820. +     MyCaos.caos_Un.Offset    =    (-600);
  20821. +     MyCaos.a6        =(ULONG) DOSBase;    
  20822. +     return((BPTR)PPCCallOS(&MyCaos));
  20823. + }
  20824. + #define    GetProgramName(buf, len)    _GetProgramName(DOS_BASE_NAME, buf, len)
  20825. + static __inline BOOL
  20826. + _GetProgramName(void *DOSBase, STRPTR buf, long len)
  20827. + {
  20828. + struct Caos    MyCaos;
  20829. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20830. + //    MyCaos.M68kStart    =    NULL;
  20831. + //    MyCaos.M68kSize        =    0;
  20832. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20833. + //    MyCaos.PPCStart        =    NULL;
  20834. + //    MyCaos.PPCSize        =    0;
  20835. +     MyCaos.d1        =(ULONG) buf;
  20836. +     MyCaos.d2        =(ULONG) len;
  20837. +     MyCaos.caos_Un.Offset    =    (-576);
  20838. +     MyCaos.a6        =(ULONG) DOSBase;    
  20839. +     return((BOOL)PPCCallOS(&MyCaos));
  20840. + }
  20841. + #define    GetPrompt(buf, len)    _GetPrompt(DOS_BASE_NAME, buf, len)
  20842. + static __inline BOOL
  20843. + _GetPrompt(void *DOSBase, STRPTR buf, long len)
  20844. + {
  20845. + struct Caos    MyCaos;
  20846. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20847. + //    MyCaos.M68kStart    =    NULL;
  20848. + //    MyCaos.M68kSize        =    0;
  20849. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20850. + //    MyCaos.PPCStart        =    NULL;
  20851. + //    MyCaos.PPCSize        =    0;
  20852. +     MyCaos.d1        =(ULONG) buf;
  20853. +     MyCaos.d2        =(ULONG) len;
  20854. +     MyCaos.caos_Un.Offset    =    (-588);
  20855. +     MyCaos.a6        =(ULONG) DOSBase;    
  20856. +     return((BOOL)PPCCallOS(&MyCaos));
  20857. + }
  20858. + #define    GetVar(name, buffer, size, flags)    _GetVar(DOS_BASE_NAME, name, buffer, size, flags)
  20859. + static __inline LONG
  20860. + _GetVar(void *DOSBase, STRPTR name, STRPTR buffer, long size, long flags)
  20861. + {
  20862. + struct Caos    MyCaos;
  20863. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20864. + //    MyCaos.M68kStart    =    NULL;
  20865. + //    MyCaos.M68kSize        =    0;
  20866. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20867. + //    MyCaos.PPCStart        =    NULL;
  20868. + //    MyCaos.PPCSize        =    0;
  20869. +     MyCaos.d1        =(ULONG) name;
  20870. +     MyCaos.d2        =(ULONG) buffer;
  20871. +     MyCaos.d3        =(ULONG) size;
  20872. +     MyCaos.d4        =(ULONG) flags;
  20873. +     MyCaos.caos_Un.Offset    =    (-906);
  20874. +     MyCaos.a6        =(ULONG) DOSBase;    
  20875. +     return((LONG)PPCCallOS(&MyCaos));
  20876. + }
  20877. + #define    Info(lock, parameterBlock)    _Info(DOS_BASE_NAME, lock, parameterBlock)
  20878. + static __inline LONG
  20879. + _Info(void *DOSBase, BPTR lock, struct InfoData *parameterBlock)
  20880. + {
  20881. + struct Caos    MyCaos;
  20882. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20883. + //    MyCaos.M68kStart    =    NULL;
  20884. + //    MyCaos.M68kSize        =    0;
  20885. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20886. + //    MyCaos.PPCStart        =    NULL;
  20887. + //    MyCaos.PPCSize        =    0;
  20888. +     MyCaos.d1        =(ULONG) lock;
  20889. +     MyCaos.d2        =(ULONG) parameterBlock;
  20890. +     MyCaos.caos_Un.Offset    =    (-114);
  20891. +     MyCaos.a6        =(ULONG) DOSBase;    
  20892. +     return((LONG)PPCCallOS(&MyCaos));
  20893. + }
  20894. + #define    Inhibit(name, onoff)    _Inhibit(DOS_BASE_NAME, name, onoff)
  20895. + static __inline LONG
  20896. + _Inhibit(void *DOSBase, STRPTR name, long onoff)
  20897. + {
  20898. + struct Caos    MyCaos;
  20899. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20900. + //    MyCaos.M68kStart    =    NULL;
  20901. + //    MyCaos.M68kSize        =    0;
  20902. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20903. + //    MyCaos.PPCStart        =    NULL;
  20904. + //    MyCaos.PPCSize        =    0;
  20905. +     MyCaos.d1        =(ULONG) name;
  20906. +     MyCaos.d2        =(ULONG) onoff;
  20907. +     MyCaos.caos_Un.Offset    =    (-726);
  20908. +     MyCaos.a6        =(ULONG) DOSBase;    
  20909. +     return((LONG)PPCCallOS(&MyCaos));
  20910. + }
  20911. + #define    Input()    _Input(DOS_BASE_NAME)
  20912. + static __inline BPTR
  20913. + _Input(void *DOSBase)
  20914. + {
  20915. + struct Caos    MyCaos;
  20916. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20917. + //    MyCaos.M68kStart    =    NULL;
  20918. + //    MyCaos.M68kSize        =    0;
  20919. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20920. + //    MyCaos.PPCStart        =    NULL;
  20921. + //    MyCaos.PPCSize        =    0;
  20922. +     MyCaos.caos_Un.Offset    =    (-54);
  20923. +     MyCaos.a6        =(ULONG) DOSBase;    
  20924. +     return((BPTR)PPCCallOS(&MyCaos));
  20925. + }
  20926. + #define    InternalLoadSeg(fh, table, funcarray, stack)    _InternalLoadSeg(DOS_BASE_NAME, fh, table, funcarray, stack)
  20927. + static __inline BPTR
  20928. + _InternalLoadSeg(void *DOSBase, BPTR fh, BPTR table, LONG *funcarray, LONG *stack)
  20929. + {
  20930. + struct Caos    MyCaos;
  20931. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20932. + //    MyCaos.M68kStart    =    NULL;
  20933. + //    MyCaos.M68kSize        =    0;
  20934. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20935. + //    MyCaos.PPCStart        =    NULL;
  20936. + //    MyCaos.PPCSize        =    0;
  20937. +     MyCaos.d0        =(ULONG) fh;
  20938. +     MyCaos.a0        =(ULONG) table;
  20939. +     MyCaos.a1        =(ULONG) funcarray;
  20940. +     MyCaos.a2        =(ULONG) stack;
  20941. +     MyCaos.caos_Un.Offset    =    (-756);
  20942. +     MyCaos.a6        =(ULONG) DOSBase;    
  20943. +     return((BPTR)PPCCallOS(&MyCaos));
  20944. + }
  20945. + #define    InternalUnLoadSeg(seglist, freefunc)    _InternalUnLoadSeg(DOS_BASE_NAME, seglist, freefunc)
  20946. + static __inline BOOL
  20947. + _InternalUnLoadSeg(void *DOSBase, BPTR seglist, void (*freefunc)())
  20948. + {
  20949. + struct Caos    MyCaos;
  20950. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20951. + //    MyCaos.M68kStart    =    NULL;
  20952. + //    MyCaos.M68kSize        =    0;
  20953. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20954. + //    MyCaos.PPCStart        =    NULL;
  20955. + //    MyCaos.PPCSize        =    0;
  20956. +     MyCaos.d1        =(ULONG) seglist;
  20957. +     MyCaos.a1        =(ULONG) freefunc;
  20958. +     MyCaos.caos_Un.Offset    =    (-762);
  20959. +     MyCaos.a6        =(ULONG) DOSBase;    
  20960. +     return((BOOL)PPCCallOS(&MyCaos));
  20961. + }
  20962. + #define    IoErr()    _IoErr(DOS_BASE_NAME)
  20963. + static __inline LONG
  20964. + _IoErr(void *DOSBase)
  20965. + {
  20966. + struct Caos    MyCaos;
  20967. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20968. + //    MyCaos.M68kStart    =    NULL;
  20969. + //    MyCaos.M68kSize        =    0;
  20970. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20971. + //    MyCaos.PPCStart        =    NULL;
  20972. + //    MyCaos.PPCSize        =    0;
  20973. +     MyCaos.caos_Un.Offset    =    (-132);
  20974. +     MyCaos.a6        =(ULONG) DOSBase;    
  20975. +     return((LONG)PPCCallOS(&MyCaos));
  20976. + }
  20977. + #define    IsFileSystem(name)    _IsFileSystem(DOS_BASE_NAME, name)
  20978. + static __inline BOOL
  20979. + _IsFileSystem(void *DOSBase, STRPTR name)
  20980. + {
  20981. + struct Caos    MyCaos;
  20982. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20983. + //    MyCaos.M68kStart    =    NULL;
  20984. + //    MyCaos.M68kSize        =    0;
  20985. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  20986. + //    MyCaos.PPCStart        =    NULL;
  20987. + //    MyCaos.PPCSize        =    0;
  20988. +     MyCaos.d1        =(ULONG) name;
  20989. +     MyCaos.caos_Un.Offset    =    (-708);
  20990. +     MyCaos.a6        =(ULONG) DOSBase;    
  20991. +     return((BOOL)PPCCallOS(&MyCaos));
  20992. + }
  20993. + #define    IsInteractive(file)    _IsInteractive(DOS_BASE_NAME, file)
  20994. + static __inline LONG
  20995. + _IsInteractive(void *DOSBase, BPTR file)
  20996. + {
  20997. + struct Caos    MyCaos;
  20998. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  20999. + //    MyCaos.M68kStart    =    NULL;
  21000. + //    MyCaos.M68kSize        =    0;
  21001. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21002. + //    MyCaos.PPCStart        =    NULL;
  21003. + //    MyCaos.PPCSize        =    0;
  21004. +     MyCaos.d1        =(ULONG) file;
  21005. +     MyCaos.caos_Un.Offset    =    (-216);
  21006. +     MyCaos.a6        =(ULONG) DOSBase;    
  21007. +     return((LONG)PPCCallOS(&MyCaos));
  21008. + }
  21009. + #define    LoadSeg(name)    _LoadSeg(DOS_BASE_NAME, name)
  21010. + static __inline BPTR
  21011. + _LoadSeg(void *DOSBase, STRPTR name)
  21012. + {
  21013. + struct Caos    MyCaos;
  21014. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21015. + //    MyCaos.M68kStart    =    NULL;
  21016. + //    MyCaos.M68kSize        =    0;
  21017. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21018. + //    MyCaos.PPCStart        =    NULL;
  21019. + //    MyCaos.PPCSize        =    0;
  21020. +     MyCaos.d1        =(ULONG) name;
  21021. +     MyCaos.caos_Un.Offset    =    (-150);
  21022. +     MyCaos.a6        =(ULONG) DOSBase;    
  21023. +     return((BPTR)PPCCallOS(&MyCaos));
  21024. + }
  21025. + #define    Lock(name, type)    _Lock(DOS_BASE_NAME, name, type)
  21026. + static __inline BPTR
  21027. + _Lock(void *DOSBase, STRPTR name, long type)
  21028. + {
  21029. + struct Caos    MyCaos;
  21030. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21031. + //    MyCaos.M68kStart    =    NULL;
  21032. + //    MyCaos.M68kSize        =    0;
  21033. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21034. + //    MyCaos.PPCStart        =    NULL;
  21035. + //    MyCaos.PPCSize        =    0;
  21036. +     MyCaos.d1        =(ULONG) name;
  21037. +     MyCaos.d2        =(ULONG) type;
  21038. +     MyCaos.caos_Un.Offset    =    (-84);
  21039. +     MyCaos.a6        =(ULONG) DOSBase;    
  21040. +     return((BPTR)PPCCallOS(&MyCaos));
  21041. + }
  21042. + #define    LockDosList(flags)    _LockDosList(DOS_BASE_NAME, flags)
  21043. + static __inline struct DosList *
  21044. + _LockDosList(void *DOSBase, unsigned long flags)
  21045. + {
  21046. + struct Caos    MyCaos;
  21047. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21048. + //    MyCaos.M68kStart    =    NULL;
  21049. + //    MyCaos.M68kSize        =    0;
  21050. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21051. + //    MyCaos.PPCStart        =    NULL;
  21052. + //    MyCaos.PPCSize        =    0;
  21053. +     MyCaos.d1        =(ULONG) flags;
  21054. +     MyCaos.caos_Un.Offset    =    (-654);
  21055. +     MyCaos.a6        =(ULONG) DOSBase;    
  21056. +     return((struct DosList *)PPCCallOS(&MyCaos));
  21057. + }
  21058. + #define    LockRecord(fh, offset, length, mode, timeout)    _LockRecord(DOS_BASE_NAME, fh, offset, length, mode, timeout)
  21059. + static __inline BOOL
  21060. + _LockRecord(void *DOSBase, BPTR fh, unsigned long offset, unsigned long length, unsigned long mode, unsigned long timeout)
  21061. + {
  21062. + struct Caos    MyCaos;
  21063. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21064. + //    MyCaos.M68kStart    =    NULL;
  21065. + //    MyCaos.M68kSize        =    0;
  21066. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21067. + //    MyCaos.PPCStart        =    NULL;
  21068. + //    MyCaos.PPCSize        =    0;
  21069. +     MyCaos.d1        =(ULONG) fh;
  21070. +     MyCaos.d2        =(ULONG) offset;
  21071. +     MyCaos.d3        =(ULONG) length;
  21072. +     MyCaos.d4        =(ULONG) mode;
  21073. +     MyCaos.d5        =(ULONG) timeout;
  21074. +     MyCaos.caos_Un.Offset    =    (-270);
  21075. +     MyCaos.a6        =(ULONG) DOSBase;    
  21076. +     return((BOOL)PPCCallOS(&MyCaos));
  21077. + }
  21078. + #define    LockRecords(recArray, timeout)    _LockRecords(DOS_BASE_NAME, recArray, timeout)
  21079. + static __inline BOOL
  21080. + _LockRecords(void *DOSBase, struct RecordLock *recArray, unsigned long timeout)
  21081. + {
  21082. + struct Caos    MyCaos;
  21083. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21084. + //    MyCaos.M68kStart    =    NULL;
  21085. + //    MyCaos.M68kSize        =    0;
  21086. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21087. + //    MyCaos.PPCStart        =    NULL;
  21088. + //    MyCaos.PPCSize        =    0;
  21089. +     MyCaos.d1        =(ULONG) recArray;
  21090. +     MyCaos.d2        =(ULONG) timeout;
  21091. +     MyCaos.caos_Un.Offset    =    (-276);
  21092. +     MyCaos.a6        =(ULONG) DOSBase;    
  21093. +     return((BOOL)PPCCallOS(&MyCaos));
  21094. + }
  21095. + #define    MakeDosEntry(name, type)    _MakeDosEntry(DOS_BASE_NAME, name, type)
  21096. + static __inline struct DosList *
  21097. + _MakeDosEntry(void *DOSBase, STRPTR name, long type)
  21098. + {
  21099. + struct Caos    MyCaos;
  21100. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21101. + //    MyCaos.M68kStart    =    NULL;
  21102. + //    MyCaos.M68kSize        =    0;
  21103. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21104. + //    MyCaos.PPCStart        =    NULL;
  21105. + //    MyCaos.PPCSize        =    0;
  21106. +     MyCaos.d1        =(ULONG) name;
  21107. +     MyCaos.d2        =(ULONG) type;
  21108. +     MyCaos.caos_Un.Offset    =    (-696);
  21109. +     MyCaos.a6        =(ULONG) DOSBase;    
  21110. +     return((struct DosList *)PPCCallOS(&MyCaos));
  21111. + }
  21112. + #define    MakeLink(name, dest, soft)    _MakeLink(DOS_BASE_NAME, name, dest, soft)
  21113. + static __inline LONG
  21114. + _MakeLink(void *DOSBase, STRPTR name, long dest, long soft)
  21115. + {
  21116. + struct Caos    MyCaos;
  21117. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21118. + //    MyCaos.M68kStart    =    NULL;
  21119. + //    MyCaos.M68kSize        =    0;
  21120. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21121. + //    MyCaos.PPCStart        =    NULL;
  21122. + //    MyCaos.PPCSize        =    0;
  21123. +     MyCaos.d1        =(ULONG) name;
  21124. +     MyCaos.d2        =(ULONG) dest;
  21125. +     MyCaos.d3        =(ULONG) soft;
  21126. +     MyCaos.caos_Un.Offset    =    (-444);
  21127. +     MyCaos.a6        =(ULONG) DOSBase;    
  21128. +     return((LONG)PPCCallOS(&MyCaos));
  21129. + }
  21130. + #define    MatchEnd(anchor)    _MatchEnd(DOS_BASE_NAME, anchor)
  21131. + static __inline void
  21132. + _MatchEnd(void *DOSBase, struct AnchorPath *anchor)
  21133. + {
  21134. + struct Caos    MyCaos;
  21135. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21136. + //    MyCaos.M68kStart    =    NULL;
  21137. + //    MyCaos.M68kSize        =    0;
  21138. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21139. + //    MyCaos.PPCStart        =    NULL;
  21140. + //    MyCaos.PPCSize        =    0;
  21141. +     MyCaos.d1        =(ULONG) anchor;
  21142. +     MyCaos.caos_Un.Offset    =    (-834);
  21143. +     MyCaos.a6        =(ULONG) DOSBase;    
  21144. +     PPCCallOS(&MyCaos);
  21145. + }
  21146. + #define    MatchFirst(pat, anchor)    _MatchFirst(DOS_BASE_NAME, pat, anchor)
  21147. + static __inline LONG
  21148. + _MatchFirst(void *DOSBase, STRPTR pat, struct AnchorPath *anchor)
  21149. + {
  21150. + struct Caos    MyCaos;
  21151. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21152. + //    MyCaos.M68kStart    =    NULL;
  21153. + //    MyCaos.M68kSize        =    0;
  21154. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21155. + //    MyCaos.PPCStart        =    NULL;
  21156. + //    MyCaos.PPCSize        =    0;
  21157. +     MyCaos.d1        =(ULONG) pat;
  21158. +     MyCaos.d2        =(ULONG) anchor;
  21159. +     MyCaos.caos_Un.Offset    =    (-822);
  21160. +     MyCaos.a6        =(ULONG) DOSBase;    
  21161. +     return((LONG)PPCCallOS(&MyCaos));
  21162. + }
  21163. + #define    MatchNext(anchor)    _MatchNext(DOS_BASE_NAME, anchor)
  21164. + static __inline LONG
  21165. + _MatchNext(void *DOSBase, struct AnchorPath *anchor)
  21166. + {
  21167. + struct Caos    MyCaos;
  21168. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21169. + //    MyCaos.M68kStart    =    NULL;
  21170. + //    MyCaos.M68kSize        =    0;
  21171. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21172. + //    MyCaos.PPCStart        =    NULL;
  21173. + //    MyCaos.PPCSize        =    0;
  21174. +     MyCaos.d1        =(ULONG) anchor;
  21175. +     MyCaos.caos_Un.Offset    =    (-828);
  21176. +     MyCaos.a6        =(ULONG) DOSBase;    
  21177. +     return((LONG)PPCCallOS(&MyCaos));
  21178. + }
  21179. + #define    MatchPattern(pat, str)    _MatchPattern(DOS_BASE_NAME, pat, str)
  21180. + static __inline BOOL
  21181. + _MatchPattern(void *DOSBase, STRPTR pat, STRPTR str)
  21182. + {
  21183. + struct Caos    MyCaos;
  21184. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21185. + //    MyCaos.M68kStart    =    NULL;
  21186. + //    MyCaos.M68kSize        =    0;
  21187. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21188. + //    MyCaos.PPCStart        =    NULL;
  21189. + //    MyCaos.PPCSize        =    0;
  21190. +     MyCaos.d1        =(ULONG) pat;
  21191. +     MyCaos.d2        =(ULONG) str;
  21192. +     MyCaos.caos_Un.Offset    =    (-846);
  21193. +     MyCaos.a6        =(ULONG) DOSBase;    
  21194. +     return((BOOL)PPCCallOS(&MyCaos));
  21195. + }
  21196. + #define    MatchPatternNoCase(pat, str)    _MatchPatternNoCase(DOS_BASE_NAME, pat, str)
  21197. + static __inline BOOL
  21198. + _MatchPatternNoCase(void *DOSBase, STRPTR pat, STRPTR str)
  21199. + {
  21200. + struct Caos    MyCaos;
  21201. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21202. + //    MyCaos.M68kStart    =    NULL;
  21203. + //    MyCaos.M68kSize        =    0;
  21204. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21205. + //    MyCaos.PPCStart        =    NULL;
  21206. + //    MyCaos.PPCSize        =    0;
  21207. +     MyCaos.d1        =(ULONG) pat;
  21208. +     MyCaos.d2        =(ULONG) str;
  21209. +     MyCaos.caos_Un.Offset    =    (-972);
  21210. +     MyCaos.a6        =(ULONG) DOSBase;    
  21211. +     return((BOOL)PPCCallOS(&MyCaos));
  21212. + }
  21213. + #define    MaxCli()    _MaxCli(DOS_BASE_NAME)
  21214. + static __inline ULONG
  21215. + _MaxCli(void *DOSBase)
  21216. + {
  21217. + struct Caos    MyCaos;
  21218. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21219. + //    MyCaos.M68kStart    =    NULL;
  21220. + //    MyCaos.M68kSize        =    0;
  21221. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21222. + //    MyCaos.PPCStart        =    NULL;
  21223. + //    MyCaos.PPCSize        =    0;
  21224. +     MyCaos.caos_Un.Offset    =    (-552);
  21225. +     MyCaos.a6        =(ULONG) DOSBase;    
  21226. +     return((ULONG)PPCCallOS(&MyCaos));
  21227. + }
  21228. + #define    NameFromFH(fh, buffer, len)    _NameFromFH(DOS_BASE_NAME, fh, buffer, len)
  21229. + static __inline LONG
  21230. + _NameFromFH(void *DOSBase, BPTR fh, STRPTR buffer, long len)
  21231. + {
  21232. + struct Caos    MyCaos;
  21233. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21234. + //    MyCaos.M68kStart    =    NULL;
  21235. + //    MyCaos.M68kSize        =    0;
  21236. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21237. + //    MyCaos.PPCStart        =    NULL;
  21238. + //    MyCaos.PPCSize        =    0;
  21239. +     MyCaos.d1        =(ULONG) fh;
  21240. +     MyCaos.d2        =(ULONG) buffer;
  21241. +     MyCaos.d3        =(ULONG) len;
  21242. +     MyCaos.caos_Un.Offset    =    (-408);
  21243. +     MyCaos.a6        =(ULONG) DOSBase;    
  21244. +     return((LONG)PPCCallOS(&MyCaos));
  21245. + }
  21246. + #define    NameFromLock(lock, buffer, len)    _NameFromLock(DOS_BASE_NAME, lock, buffer, len)
  21247. + static __inline LONG
  21248. + _NameFromLock(void *DOSBase, BPTR lock, STRPTR buffer, long len)
  21249. + {
  21250. + struct Caos    MyCaos;
  21251. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21252. + //    MyCaos.M68kStart    =    NULL;
  21253. + //    MyCaos.M68kSize        =    0;
  21254. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21255. + //    MyCaos.PPCStart        =    NULL;
  21256. + //    MyCaos.PPCSize        =    0;
  21257. +     MyCaos.d1        =(ULONG) lock;
  21258. +     MyCaos.d2        =(ULONG) buffer;
  21259. +     MyCaos.d3        =(ULONG) len;
  21260. +     MyCaos.caos_Un.Offset    =    (-402);
  21261. +     MyCaos.a6        =(ULONG) DOSBase;    
  21262. +     return((LONG)PPCCallOS(&MyCaos));
  21263. + }
  21264. + #define    NewLoadSeg(file, tags)    _NewLoadSeg(DOS_BASE_NAME, file, tags)
  21265. + static __inline BPTR
  21266. + _NewLoadSeg(void *DOSBase, STRPTR file, struct TagItem *tags)
  21267. + {
  21268. + struct Caos    MyCaos;
  21269. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21270. + //    MyCaos.M68kStart    =    NULL;
  21271. + //    MyCaos.M68kSize        =    0;
  21272. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21273. + //    MyCaos.PPCStart        =    NULL;
  21274. + //    MyCaos.PPCSize        =    0;
  21275. +     MyCaos.d1        =(ULONG) file;
  21276. +     MyCaos.d2        =(ULONG) tags;
  21277. +     MyCaos.caos_Un.Offset    =    (-768);
  21278. +     MyCaos.a6        =(ULONG) DOSBase;    
  21279. +     return((BPTR)PPCCallOS(&MyCaos));
  21280. + }
  21281. + #define NewLoadSegTagList(a0, a1) NewLoadSeg ((a0), (a1))
  21282. + #ifndef NO_PPCINLINE_STDARG
  21283. + #define NewLoadSegTags(a0, tags...) \
  21284. +     ({ULONG _tags[] = { tags }; NewLoadSeg((a0), (struct TagItem *)_tags);})
  21285. + #endif /* !NO_PPCINLINE_STDARG */
  21286. + #define    NextDosEntry(dlist, flags)    _NextDosEntry(DOS_BASE_NAME, dlist, flags)
  21287. + static __inline struct DosList *
  21288. + _NextDosEntry(void *DOSBase, struct DosList *dlist, unsigned long flags)
  21289. + {
  21290. + struct Caos    MyCaos;
  21291. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21292. + //    MyCaos.M68kStart    =    NULL;
  21293. + //    MyCaos.M68kSize        =    0;
  21294. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21295. + //    MyCaos.PPCStart        =    NULL;
  21296. + //    MyCaos.PPCSize        =    0;
  21297. +     MyCaos.d1        =(ULONG) dlist;
  21298. +     MyCaos.d2        =(ULONG) flags;
  21299. +     MyCaos.caos_Un.Offset    =    (-690);
  21300. +     MyCaos.a6        =(ULONG) DOSBase;    
  21301. +     return((struct DosList *)PPCCallOS(&MyCaos));
  21302. + }
  21303. + #define    Open(name, accessMode)    _Open(DOS_BASE_NAME, name, accessMode)
  21304. + static __inline BPTR
  21305. + _Open(void *DOSBase, STRPTR name, long accessMode)
  21306. + {
  21307. + struct Caos    MyCaos;
  21308. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21309. + //    MyCaos.M68kStart    =    NULL;
  21310. + //    MyCaos.M68kSize        =    0;
  21311. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21312. + //    MyCaos.PPCStart        =    NULL;
  21313. + //    MyCaos.PPCSize        =    0;
  21314. +     MyCaos.d1        =(ULONG) name;
  21315. +     MyCaos.d2        =(ULONG) accessMode;
  21316. +     MyCaos.caos_Un.Offset    =    (-30);
  21317. +     MyCaos.a6        =(ULONG) DOSBase;    
  21318. +     return((BPTR)PPCCallOS(&MyCaos));
  21319. + }
  21320. + #define    OpenFromLock(lock)    _OpenFromLock(DOS_BASE_NAME, lock)
  21321. + static __inline BPTR
  21322. + _OpenFromLock(void *DOSBase, BPTR lock)
  21323. + {
  21324. + struct Caos    MyCaos;
  21325. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21326. + //    MyCaos.M68kStart    =    NULL;
  21327. + //    MyCaos.M68kSize        =    0;
  21328. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21329. + //    MyCaos.PPCStart        =    NULL;
  21330. + //    MyCaos.PPCSize        =    0;
  21331. +     MyCaos.d1        =(ULONG) lock;
  21332. +     MyCaos.caos_Un.Offset    =    (-378);
  21333. +     MyCaos.a6        =(ULONG) DOSBase;    
  21334. +     return((BPTR)PPCCallOS(&MyCaos));
  21335. + }
  21336. + #define    Output()    _Output(DOS_BASE_NAME)
  21337. + static __inline BPTR
  21338. + _Output(void *DOSBase)
  21339. + {
  21340. + struct Caos    MyCaos;
  21341. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21342. + //    MyCaos.M68kStart    =    NULL;
  21343. + //    MyCaos.M68kSize        =    0;
  21344. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21345. + //    MyCaos.PPCStart        =    NULL;
  21346. + //    MyCaos.PPCSize        =    0;
  21347. +     MyCaos.caos_Un.Offset    =    (-60);
  21348. +     MyCaos.a6        =(ULONG) DOSBase;    
  21349. +     return((BPTR)PPCCallOS(&MyCaos));
  21350. + }
  21351. + #define    ParentDir(lock)    _ParentDir(DOS_BASE_NAME, lock)
  21352. + static __inline BPTR
  21353. + _ParentDir(void *DOSBase, BPTR lock)
  21354. + {
  21355. + struct Caos    MyCaos;
  21356. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21357. + //    MyCaos.M68kStart    =    NULL;
  21358. + //    MyCaos.M68kSize        =    0;
  21359. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21360. + //    MyCaos.PPCStart        =    NULL;
  21361. + //    MyCaos.PPCSize        =    0;
  21362. +     MyCaos.d1        =(ULONG) lock;
  21363. +     MyCaos.caos_Un.Offset    =    (-210);
  21364. +     MyCaos.a6        =(ULONG) DOSBase;    
  21365. +     return((BPTR)PPCCallOS(&MyCaos));
  21366. + }
  21367. + #define    ParentOfFH(fh)    _ParentOfFH(DOS_BASE_NAME, fh)
  21368. + static __inline BPTR
  21369. + _ParentOfFH(void *DOSBase, BPTR fh)
  21370. + {
  21371. + struct Caos    MyCaos;
  21372. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21373. + //    MyCaos.M68kStart    =    NULL;
  21374. + //    MyCaos.M68kSize        =    0;
  21375. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21376. + //    MyCaos.PPCStart        =    NULL;
  21377. + //    MyCaos.PPCSize        =    0;
  21378. +     MyCaos.d1        =(ULONG) fh;
  21379. +     MyCaos.caos_Un.Offset    =    (-384);
  21380. +     MyCaos.a6        =(ULONG) DOSBase;    
  21381. +     return((BPTR)PPCCallOS(&MyCaos));
  21382. + }
  21383. + #define    ParsePattern(pat, buf, buflen)    _ParsePattern(DOS_BASE_NAME, pat, buf, buflen)
  21384. + static __inline LONG
  21385. + _ParsePattern(void *DOSBase, STRPTR pat, STRPTR buf, long buflen)
  21386. + {
  21387. + struct Caos    MyCaos;
  21388. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21389. + //    MyCaos.M68kStart    =    NULL;
  21390. + //    MyCaos.M68kSize        =    0;
  21391. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21392. + //    MyCaos.PPCStart        =    NULL;
  21393. + //    MyCaos.PPCSize        =    0;
  21394. +     MyCaos.d1        =(ULONG) pat;
  21395. +     MyCaos.d2        =(ULONG) buf;
  21396. +     MyCaos.d3        =(ULONG) buflen;
  21397. +     MyCaos.caos_Un.Offset    =    (-840);
  21398. +     MyCaos.a6        =(ULONG) DOSBase;    
  21399. +     return((LONG)PPCCallOS(&MyCaos));
  21400. + }
  21401. + #define    ParsePatternNoCase(pat, buf, buflen)    _ParsePatternNoCase(DOS_BASE_NAME, pat, buf, buflen)
  21402. + static __inline LONG
  21403. + _ParsePatternNoCase(void *DOSBase, STRPTR pat, STRPTR buf, long buflen)
  21404. + {
  21405. + struct Caos    MyCaos;
  21406. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21407. + //    MyCaos.M68kStart    =    NULL;
  21408. + //    MyCaos.M68kSize        =    0;
  21409. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21410. + //    MyCaos.PPCStart        =    NULL;
  21411. + //    MyCaos.PPCSize        =    0;
  21412. +     MyCaos.d1        =(ULONG) pat;
  21413. +     MyCaos.d2        =(ULONG) buf;
  21414. +     MyCaos.d3        =(ULONG) buflen;
  21415. +     MyCaos.caos_Un.Offset    =    (-966);
  21416. +     MyCaos.a6        =(ULONG) DOSBase;    
  21417. +     return((LONG)PPCCallOS(&MyCaos));
  21418. + }
  21419. + #define    PathPart(path)    _PathPart(DOS_BASE_NAME, path)
  21420. + static __inline STRPTR
  21421. + _PathPart(void *DOSBase, STRPTR path)
  21422. + {
  21423. + struct Caos    MyCaos;
  21424. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21425. + //    MyCaos.M68kStart    =    NULL;
  21426. + //    MyCaos.M68kSize        =    0;
  21427. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21428. + //    MyCaos.PPCStart        =    NULL;
  21429. + //    MyCaos.PPCSize        =    0;
  21430. +     MyCaos.d1        =(ULONG) path;
  21431. +     MyCaos.caos_Un.Offset    =    (-876);
  21432. +     MyCaos.a6        =(ULONG) DOSBase;    
  21433. +     return((STRPTR)PPCCallOS(&MyCaos));
  21434. + }
  21435. + #define    PrintFault(code, header)    _PrintFault(DOS_BASE_NAME, code, header)
  21436. + static __inline BOOL
  21437. + _PrintFault(void *DOSBase, long code, STRPTR header)
  21438. + {
  21439. + struct Caos    MyCaos;
  21440. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21441. + //    MyCaos.M68kStart    =    NULL;
  21442. + //    MyCaos.M68kSize        =    0;
  21443. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21444. + //    MyCaos.PPCStart        =    NULL;
  21445. + //    MyCaos.PPCSize        =    0;
  21446. +     MyCaos.d1        =(ULONG) code;
  21447. +     MyCaos.d2        =(ULONG) header;
  21448. +     MyCaos.caos_Un.Offset    =    (-474);
  21449. +     MyCaos.a6        =(ULONG) DOSBase;    
  21450. +     return((BOOL)PPCCallOS(&MyCaos));
  21451. + }
  21452. + #define    PutStr(str)    _PutStr(DOS_BASE_NAME, str)
  21453. + static __inline LONG
  21454. + _PutStr(void *DOSBase, STRPTR str)
  21455. + {
  21456. + struct Caos    MyCaos;
  21457. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21458. + //    MyCaos.M68kStart    =    NULL;
  21459. + //    MyCaos.M68kSize        =    0;
  21460. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21461. + //    MyCaos.PPCStart        =    NULL;
  21462. + //    MyCaos.PPCSize        =    0;
  21463. +     MyCaos.d1        =(ULONG) str;
  21464. +     MyCaos.caos_Un.Offset    =    (-948);
  21465. +     MyCaos.a6        =(ULONG) DOSBase;    
  21466. +     return((LONG)PPCCallOS(&MyCaos));
  21467. + }
  21468. + #define    Read(file, buffer, length)    _Read(DOS_BASE_NAME, file, buffer, length)
  21469. + static __inline LONG
  21470. + _Read(void *DOSBase, BPTR file, APTR buffer, long length)
  21471. + {
  21472. + struct Caos    MyCaos;
  21473. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21474. + //    MyCaos.M68kStart    =    NULL;
  21475. + //    MyCaos.M68kSize        =    0;
  21476. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21477. + //    MyCaos.PPCStart        =    NULL;
  21478. + //    MyCaos.PPCSize        =    0;
  21479. +     MyCaos.d1        =(ULONG) file;
  21480. +     MyCaos.d2        =(ULONG) buffer;
  21481. +     MyCaos.d3        =(ULONG) length;
  21482. +     MyCaos.caos_Un.Offset    =    (-42);
  21483. +     MyCaos.a6        =(ULONG) DOSBase;    
  21484. +     return((LONG)PPCCallOS(&MyCaos));
  21485. + }
  21486. + #define    ReadArgs(arg_template, array, args)    _ReadArgs(DOS_BASE_NAME, arg_template, array, args)
  21487. + static __inline struct RDArgs *
  21488. + _ReadArgs(void *DOSBase, STRPTR arg_template, LONG *array, struct RDArgs *args)
  21489. + {
  21490. + struct Caos    MyCaos;
  21491. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21492. + //    MyCaos.M68kStart    =    NULL;
  21493. + //    MyCaos.M68kSize        =    0;
  21494. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21495. + //    MyCaos.PPCStart        =    NULL;
  21496. + //    MyCaos.PPCSize        =    0;
  21497. +     MyCaos.d1        =(ULONG) arg_template;
  21498. +     MyCaos.d2        =(ULONG) array;
  21499. +     MyCaos.d3        =(ULONG) args;
  21500. +     MyCaos.caos_Un.Offset    =    (-798);
  21501. +     MyCaos.a6        =(ULONG) DOSBase;    
  21502. +     return((struct RDArgs *)PPCCallOS(&MyCaos));
  21503. + }
  21504. + #define    ReadItem(name, maxchars, cSource)    _ReadItem(DOS_BASE_NAME, name, maxchars, cSource)
  21505. + static __inline LONG
  21506. + _ReadItem(void *DOSBase, STRPTR name, long maxchars, struct CSource *cSource)
  21507. + {
  21508. + struct Caos    MyCaos;
  21509. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21510. + //    MyCaos.M68kStart    =    NULL;
  21511. + //    MyCaos.M68kSize        =    0;
  21512. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21513. + //    MyCaos.PPCStart        =    NULL;
  21514. + //    MyCaos.PPCSize        =    0;
  21515. +     MyCaos.d1        =(ULONG) name;
  21516. +     MyCaos.d2        =(ULONG) maxchars;
  21517. +     MyCaos.d3        =(ULONG) cSource;
  21518. +     MyCaos.caos_Un.Offset    =    (-810);
  21519. +     MyCaos.a6        =(ULONG) DOSBase;    
  21520. +     return((LONG)PPCCallOS(&MyCaos));
  21521. + }
  21522. + #define    ReadLink(port, lock, path, buffer, size)    _ReadLink(DOS_BASE_NAME, port, lock, path, buffer, size)
  21523. + static __inline LONG
  21524. + _ReadLink(void *DOSBase, struct MsgPort *port, BPTR lock, STRPTR path, STRPTR buffer, unsigned long size)
  21525. + {
  21526. + struct Caos    MyCaos;
  21527. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21528. + //    MyCaos.M68kStart    =    NULL;
  21529. + //    MyCaos.M68kSize        =    0;
  21530. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21531. + //    MyCaos.PPCStart        =    NULL;
  21532. + //    MyCaos.PPCSize        =    0;
  21533. +     MyCaos.d1        =(ULONG) port;
  21534. +     MyCaos.d2        =(ULONG) lock;
  21535. +     MyCaos.d3        =(ULONG) path;
  21536. +     MyCaos.d4        =(ULONG) buffer;
  21537. +     MyCaos.d5        =(ULONG) size;
  21538. +     MyCaos.caos_Un.Offset    =    (-438);
  21539. +     MyCaos.a6        =(ULONG) DOSBase;    
  21540. +     return((LONG)PPCCallOS(&MyCaos));
  21541. + }
  21542. + #define    Relabel(drive, newname)    _Relabel(DOS_BASE_NAME, drive, newname)
  21543. + static __inline LONG
  21544. + _Relabel(void *DOSBase, STRPTR drive, STRPTR newname)
  21545. + {
  21546. + struct Caos    MyCaos;
  21547. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21548. + //    MyCaos.M68kStart    =    NULL;
  21549. + //    MyCaos.M68kSize        =    0;
  21550. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21551. + //    MyCaos.PPCStart        =    NULL;
  21552. + //    MyCaos.PPCSize        =    0;
  21553. +     MyCaos.d1        =(ULONG) drive;
  21554. +     MyCaos.d2        =(ULONG) newname;
  21555. +     MyCaos.caos_Un.Offset    =    (-720);
  21556. +     MyCaos.a6        =(ULONG) DOSBase;    
  21557. +     return((LONG)PPCCallOS(&MyCaos));
  21558. + }
  21559. + #define    RemAssignList(name, lock)    _RemAssignList(DOS_BASE_NAME, name, lock)
  21560. + static __inline LONG
  21561. + _RemAssignList(void *DOSBase, STRPTR name, BPTR lock)
  21562. + {
  21563. + struct Caos    MyCaos;
  21564. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21565. + //    MyCaos.M68kStart    =    NULL;
  21566. + //    MyCaos.M68kSize        =    0;
  21567. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21568. + //    MyCaos.PPCStart        =    NULL;
  21569. + //    MyCaos.PPCSize        =    0;
  21570. +     MyCaos.d1        =(ULONG) name;
  21571. +     MyCaos.d2        =(ULONG) lock;
  21572. +     MyCaos.caos_Un.Offset    =    (-636);
  21573. +     MyCaos.a6        =(ULONG) DOSBase;    
  21574. +     return((LONG)PPCCallOS(&MyCaos));
  21575. + }
  21576. + #define    RemDosEntry(dlist)    _RemDosEntry(DOS_BASE_NAME, dlist)
  21577. + static __inline BOOL
  21578. + _RemDosEntry(void *DOSBase, struct DosList *dlist)
  21579. + {
  21580. + struct Caos    MyCaos;
  21581. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21582. + //    MyCaos.M68kStart    =    NULL;
  21583. + //    MyCaos.M68kSize        =    0;
  21584. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21585. + //    MyCaos.PPCStart        =    NULL;
  21586. + //    MyCaos.PPCSize        =    0;
  21587. +     MyCaos.d1        =(ULONG) dlist;
  21588. +     MyCaos.caos_Un.Offset    =    (-672);
  21589. +     MyCaos.a6        =(ULONG) DOSBase;    
  21590. +     return((BOOL)PPCCallOS(&MyCaos));
  21591. + }
  21592. + #define    RemSegment(seg)    _RemSegment(DOS_BASE_NAME, seg)
  21593. + static __inline LONG
  21594. + _RemSegment(void *DOSBase, struct Segment *seg)
  21595. + {
  21596. + struct Caos    MyCaos;
  21597. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21598. + //    MyCaos.M68kStart    =    NULL;
  21599. + //    MyCaos.M68kSize        =    0;
  21600. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21601. + //    MyCaos.PPCStart        =    NULL;
  21602. + //    MyCaos.PPCSize        =    0;
  21603. +     MyCaos.d1        =(ULONG) seg;
  21604. +     MyCaos.caos_Un.Offset    =    (-786);
  21605. +     MyCaos.a6        =(ULONG) DOSBase;    
  21606. +     return((LONG)PPCCallOS(&MyCaos));
  21607. + }
  21608. + #define    Rename(oldName, newName)    _Rename(DOS_BASE_NAME, oldName, newName)
  21609. + static __inline LONG
  21610. + _Rename(void *DOSBase, STRPTR oldName, STRPTR newName)
  21611. + {
  21612. + struct Caos    MyCaos;
  21613. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21614. + //    MyCaos.M68kStart    =    NULL;
  21615. + //    MyCaos.M68kSize        =    0;
  21616. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21617. + //    MyCaos.PPCStart        =    NULL;
  21618. + //    MyCaos.PPCSize        =    0;
  21619. +     MyCaos.d1        =(ULONG) oldName;
  21620. +     MyCaos.d2        =(ULONG) newName;
  21621. +     MyCaos.caos_Un.Offset    =    (-78);
  21622. +     MyCaos.a6        =(ULONG) DOSBase;    
  21623. +     return((LONG)PPCCallOS(&MyCaos));
  21624. + }
  21625. + #define    ReplyPkt(dp, res1, res2)    _ReplyPkt(DOS_BASE_NAME, dp, res1, res2)
  21626. + static __inline void
  21627. + _ReplyPkt(void *DOSBase, struct DosPacket *dp, long res1, long res2)
  21628. + {
  21629. + struct Caos    MyCaos;
  21630. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21631. + //    MyCaos.M68kStart    =    NULL;
  21632. + //    MyCaos.M68kSize        =    0;
  21633. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21634. + //    MyCaos.PPCStart        =    NULL;
  21635. + //    MyCaos.PPCSize        =    0;
  21636. +     MyCaos.d1        =(ULONG) dp;
  21637. +     MyCaos.d2        =(ULONG) res1;
  21638. +     MyCaos.d3        =(ULONG) res2;
  21639. +     MyCaos.caos_Un.Offset    =    (-258);
  21640. +     MyCaos.a6        =(ULONG) DOSBase;    
  21641. +     PPCCallOS(&MyCaos);
  21642. + }
  21643. + #define    RunCommand(seg, stack, paramptr, paramlen)    _RunCommand(DOS_BASE_NAME, seg, stack, paramptr, paramlen)
  21644. + static __inline LONG
  21645. + _RunCommand(void *DOSBase, BPTR seg, long stack, STRPTR paramptr, long paramlen)
  21646. + {
  21647. + struct Caos    MyCaos;
  21648. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21649. + //    MyCaos.M68kStart    =    NULL;
  21650. + //    MyCaos.M68kSize        =    0;
  21651. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21652. + //    MyCaos.PPCStart        =    NULL;
  21653. + //    MyCaos.PPCSize        =    0;
  21654. +     MyCaos.d1        =(ULONG) seg;
  21655. +     MyCaos.d2        =(ULONG) stack;
  21656. +     MyCaos.d3        =(ULONG) paramptr;
  21657. +     MyCaos.d4        =(ULONG) paramlen;
  21658. +     MyCaos.caos_Un.Offset    =    (-504);
  21659. +     MyCaos.a6        =(ULONG) DOSBase;    
  21660. +     return((LONG)PPCCallOS(&MyCaos));
  21661. + }
  21662. + #define    SameDevice(lock1, lock2)    _SameDevice(DOS_BASE_NAME, lock1, lock2)
  21663. + static __inline BOOL
  21664. + _SameDevice(void *DOSBase, BPTR lock1, BPTR lock2)
  21665. + {
  21666. + struct Caos    MyCaos;
  21667. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21668. + //    MyCaos.M68kStart    =    NULL;
  21669. + //    MyCaos.M68kSize        =    0;
  21670. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21671. + //    MyCaos.PPCStart        =    NULL;
  21672. + //    MyCaos.PPCSize        =    0;
  21673. +     MyCaos.d1        =(ULONG) lock1;
  21674. +     MyCaos.d2        =(ULONG) lock2;
  21675. +     MyCaos.caos_Un.Offset    =    (-984);
  21676. +     MyCaos.a6        =(ULONG) DOSBase;    
  21677. +     return((BOOL)PPCCallOS(&MyCaos));
  21678. + }
  21679. + #define    SameLock(lock1, lock2)    _SameLock(DOS_BASE_NAME, lock1, lock2)
  21680. + static __inline LONG
  21681. + _SameLock(void *DOSBase, BPTR lock1, BPTR lock2)
  21682. + {
  21683. + struct Caos    MyCaos;
  21684. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21685. + //    MyCaos.M68kStart    =    NULL;
  21686. + //    MyCaos.M68kSize        =    0;
  21687. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21688. + //    MyCaos.PPCStart        =    NULL;
  21689. + //    MyCaos.PPCSize        =    0;
  21690. +     MyCaos.d1        =(ULONG) lock1;
  21691. +     MyCaos.d2        =(ULONG) lock2;
  21692. +     MyCaos.caos_Un.Offset    =    (-420);
  21693. +     MyCaos.a6        =(ULONG) DOSBase;    
  21694. +     return((LONG)PPCCallOS(&MyCaos));
  21695. + }
  21696. + #define    Seek(file, position, offset)    _Seek(DOS_BASE_NAME, file, position, offset)
  21697. + static __inline LONG
  21698. + _Seek(void *DOSBase, BPTR file, long position, long offset)
  21699. + {
  21700. + struct Caos    MyCaos;
  21701. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21702. + //    MyCaos.M68kStart    =    NULL;
  21703. + //    MyCaos.M68kSize        =    0;
  21704. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21705. + //    MyCaos.PPCStart        =    NULL;
  21706. + //    MyCaos.PPCSize        =    0;
  21707. +     MyCaos.d1        =(ULONG) file;
  21708. +     MyCaos.d2        =(ULONG) position;
  21709. +     MyCaos.d3        =(ULONG) offset;
  21710. +     MyCaos.caos_Un.Offset    =    (-66);
  21711. +     MyCaos.a6        =(ULONG) DOSBase;    
  21712. +     return((LONG)PPCCallOS(&MyCaos));
  21713. + }
  21714. + #define    SelectInput(fh)    _SelectInput(DOS_BASE_NAME, fh)
  21715. + static __inline BPTR
  21716. + _SelectInput(void *DOSBase, BPTR fh)
  21717. + {
  21718. + struct Caos    MyCaos;
  21719. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21720. + //    MyCaos.M68kStart    =    NULL;
  21721. + //    MyCaos.M68kSize        =    0;
  21722. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21723. + //    MyCaos.PPCStart        =    NULL;
  21724. + //    MyCaos.PPCSize        =    0;
  21725. +     MyCaos.d1        =(ULONG) fh;
  21726. +     MyCaos.caos_Un.Offset    =    (-294);
  21727. +     MyCaos.a6        =(ULONG) DOSBase;    
  21728. +     return((BPTR)PPCCallOS(&MyCaos));
  21729. + }
  21730. + #define    SelectOutput(fh)    _SelectOutput(DOS_BASE_NAME, fh)
  21731. + static __inline BPTR
  21732. + _SelectOutput(void *DOSBase, BPTR fh)
  21733. + {
  21734. + struct Caos    MyCaos;
  21735. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21736. + //    MyCaos.M68kStart    =    NULL;
  21737. + //    MyCaos.M68kSize        =    0;
  21738. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21739. + //    MyCaos.PPCStart        =    NULL;
  21740. + //    MyCaos.PPCSize        =    0;
  21741. +     MyCaos.d1        =(ULONG) fh;
  21742. +     MyCaos.caos_Un.Offset    =    (-300);
  21743. +     MyCaos.a6        =(ULONG) DOSBase;    
  21744. +     return((BPTR)PPCCallOS(&MyCaos));
  21745. + }
  21746. + #define    SendPkt(dp, port, replyport)    _SendPkt(DOS_BASE_NAME, dp, port, replyport)
  21747. + static __inline void
  21748. + _SendPkt(void *DOSBase, struct DosPacket *dp, struct MsgPort *port, struct MsgPort *replyport)
  21749. + {
  21750. + struct Caos    MyCaos;
  21751. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21752. + //    MyCaos.M68kStart    =    NULL;
  21753. + //    MyCaos.M68kSize        =    0;
  21754. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21755. + //    MyCaos.PPCStart        =    NULL;
  21756. + //    MyCaos.PPCSize        =    0;
  21757. +     MyCaos.d1        =(ULONG) dp;
  21758. +     MyCaos.d2        =(ULONG) port;
  21759. +     MyCaos.d3        =(ULONG) replyport;
  21760. +     MyCaos.caos_Un.Offset    =    (-246);
  21761. +     MyCaos.a6        =(ULONG) DOSBase;    
  21762. +     PPCCallOS(&MyCaos);
  21763. + }
  21764. + #define    SetArgStr(string)    _SetArgStr(DOS_BASE_NAME, string)
  21765. + static __inline BOOL
  21766. + _SetArgStr(void *DOSBase, STRPTR string)
  21767. + {
  21768. + struct Caos    MyCaos;
  21769. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21770. + //    MyCaos.M68kStart    =    NULL;
  21771. + //    MyCaos.M68kSize        =    0;
  21772. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21773. + //    MyCaos.PPCStart        =    NULL;
  21774. + //    MyCaos.PPCSize        =    0;
  21775. +     MyCaos.d1        =(ULONG) string;
  21776. +     MyCaos.caos_Un.Offset    =    (-540);
  21777. +     MyCaos.a6        =(ULONG) DOSBase;    
  21778. +     return((BOOL)PPCCallOS(&MyCaos));
  21779. + }
  21780. + #define    SetComment(name, comment)    _SetComment(DOS_BASE_NAME, name, comment)
  21781. + static __inline LONG
  21782. + _SetComment(void *DOSBase, STRPTR name, STRPTR comment)
  21783. + {
  21784. + struct Caos    MyCaos;
  21785. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21786. + //    MyCaos.M68kStart    =    NULL;
  21787. + //    MyCaos.M68kSize        =    0;
  21788. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21789. + //    MyCaos.PPCStart        =    NULL;
  21790. + //    MyCaos.PPCSize        =    0;
  21791. +     MyCaos.d1        =(ULONG) name;
  21792. +     MyCaos.d2        =(ULONG) comment;
  21793. +     MyCaos.caos_Un.Offset    =    (-180);
  21794. +     MyCaos.a6        =(ULONG) DOSBase;    
  21795. +     return((LONG)PPCCallOS(&MyCaos));
  21796. + }
  21797. + #define    SetConsoleTask(task)    _SetConsoleTask(DOS_BASE_NAME, task)
  21798. + static __inline struct MsgPort *
  21799. + _SetConsoleTask(void *DOSBase, struct MsgPort *task)
  21800. + {
  21801. + struct Caos    MyCaos;
  21802. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21803. + //    MyCaos.M68kStart    =    NULL;
  21804. + //    MyCaos.M68kSize        =    0;
  21805. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21806. + //    MyCaos.PPCStart        =    NULL;
  21807. + //    MyCaos.PPCSize        =    0;
  21808. +     MyCaos.d1        =(ULONG) task;
  21809. +     MyCaos.caos_Un.Offset    =    (-516);
  21810. +     MyCaos.a6        =(ULONG) DOSBase;    
  21811. +     return((struct MsgPort *)PPCCallOS(&MyCaos));
  21812. + }
  21813. + #define    SetCurrentDirName(name)    _SetCurrentDirName(DOS_BASE_NAME, name)
  21814. + static __inline BOOL
  21815. + _SetCurrentDirName(void *DOSBase, STRPTR name)
  21816. + {
  21817. + struct Caos    MyCaos;
  21818. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21819. + //    MyCaos.M68kStart    =    NULL;
  21820. + //    MyCaos.M68kSize        =    0;
  21821. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21822. + //    MyCaos.PPCStart        =    NULL;
  21823. + //    MyCaos.PPCSize        =    0;
  21824. +     MyCaos.d1        =(ULONG) name;
  21825. +     MyCaos.caos_Un.Offset    =    (-558);
  21826. +     MyCaos.a6        =(ULONG) DOSBase;    
  21827. +     return((BOOL)PPCCallOS(&MyCaos));
  21828. + }
  21829. + #define    SetFileDate(name, date)    _SetFileDate(DOS_BASE_NAME, name, date)
  21830. + static __inline LONG
  21831. + _SetFileDate(void *DOSBase, STRPTR name, struct DateStamp *date)
  21832. + {
  21833. + struct Caos    MyCaos;
  21834. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21835. + //    MyCaos.M68kStart    =    NULL;
  21836. + //    MyCaos.M68kSize        =    0;
  21837. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21838. + //    MyCaos.PPCStart        =    NULL;
  21839. + //    MyCaos.PPCSize        =    0;
  21840. +     MyCaos.d1        =(ULONG) name;
  21841. +     MyCaos.d2        =(ULONG) date;
  21842. +     MyCaos.caos_Un.Offset    =    (-396);
  21843. +     MyCaos.a6        =(ULONG) DOSBase;    
  21844. +     return((LONG)PPCCallOS(&MyCaos));
  21845. + }
  21846. + #define    SetFileSize(fh, pos, mode)    _SetFileSize(DOS_BASE_NAME, fh, pos, mode)
  21847. + static __inline LONG
  21848. + _SetFileSize(void *DOSBase, BPTR fh, long pos, long mode)
  21849. + {
  21850. + struct Caos    MyCaos;
  21851. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21852. + //    MyCaos.M68kStart    =    NULL;
  21853. + //    MyCaos.M68kSize        =    0;
  21854. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21855. + //    MyCaos.PPCStart        =    NULL;
  21856. + //    MyCaos.PPCSize        =    0;
  21857. +     MyCaos.d1        =(ULONG) fh;
  21858. +     MyCaos.d2        =(ULONG) pos;
  21859. +     MyCaos.d3        =(ULONG) mode;
  21860. +     MyCaos.caos_Un.Offset    =    (-456);
  21861. +     MyCaos.a6        =(ULONG) DOSBase;    
  21862. +     return((LONG)PPCCallOS(&MyCaos));
  21863. + }
  21864. + #define    SetFileSysTask(task)    _SetFileSysTask(DOS_BASE_NAME, task)
  21865. + static __inline struct MsgPort *
  21866. + _SetFileSysTask(void *DOSBase, struct MsgPort *task)
  21867. + {
  21868. + struct Caos    MyCaos;
  21869. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21870. + //    MyCaos.M68kStart    =    NULL;
  21871. + //    MyCaos.M68kSize        =    0;
  21872. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21873. + //    MyCaos.PPCStart        =    NULL;
  21874. + //    MyCaos.PPCSize        =    0;
  21875. +     MyCaos.d1        =(ULONG) task;
  21876. +     MyCaos.caos_Un.Offset    =    (-528);
  21877. +     MyCaos.a6        =(ULONG) DOSBase;    
  21878. +     return((struct MsgPort *)PPCCallOS(&MyCaos));
  21879. + }
  21880. + #define    SetIoErr(result)    _SetIoErr(DOS_BASE_NAME, result)
  21881. + static __inline LONG
  21882. + _SetIoErr(void *DOSBase, long result)
  21883. + {
  21884. + struct Caos    MyCaos;
  21885. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21886. + //    MyCaos.M68kStart    =    NULL;
  21887. + //    MyCaos.M68kSize        =    0;
  21888. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21889. + //    MyCaos.PPCStart        =    NULL;
  21890. + //    MyCaos.PPCSize        =    0;
  21891. +     MyCaos.d1        =(ULONG) result;
  21892. +     MyCaos.caos_Un.Offset    =    (-462);
  21893. +     MyCaos.a6        =(ULONG) DOSBase;    
  21894. +     return((LONG)PPCCallOS(&MyCaos));
  21895. + }
  21896. + #define    SetMode(fh, mode)    _SetMode(DOS_BASE_NAME, fh, mode)
  21897. + static __inline LONG
  21898. + _SetMode(void *DOSBase, BPTR fh, long mode)
  21899. + {
  21900. + struct Caos    MyCaos;
  21901. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21902. + //    MyCaos.M68kStart    =    NULL;
  21903. + //    MyCaos.M68kSize        =    0;
  21904. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21905. + //    MyCaos.PPCStart        =    NULL;
  21906. + //    MyCaos.PPCSize        =    0;
  21907. +     MyCaos.d1        =(ULONG) fh;
  21908. +     MyCaos.d2        =(ULONG) mode;
  21909. +     MyCaos.caos_Un.Offset    =    (-426);
  21910. +     MyCaos.a6        =(ULONG) DOSBase;    
  21911. +     return((LONG)PPCCallOS(&MyCaos));
  21912. + }
  21913. + #define    SetOwner(name, owner_info)    _SetOwner(DOS_BASE_NAME, name, owner_info)
  21914. + static __inline BOOL
  21915. + _SetOwner(void *DOSBase, STRPTR name, long owner_info)
  21916. + {
  21917. + struct Caos    MyCaos;
  21918. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21919. + //    MyCaos.M68kStart    =    NULL;
  21920. + //    MyCaos.M68kSize        =    0;
  21921. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21922. + //    MyCaos.PPCStart        =    NULL;
  21923. + //    MyCaos.PPCSize        =    0;
  21924. +     MyCaos.d1        =(ULONG) name;
  21925. +     MyCaos.d2        =(ULONG) owner_info;
  21926. +     MyCaos.caos_Un.Offset    =    (-996);
  21927. +     MyCaos.a6        =(ULONG) DOSBase;    
  21928. +     return((BOOL)PPCCallOS(&MyCaos));
  21929. + }
  21930. + #define    SetProgramDir(lock)    _SetProgramDir(DOS_BASE_NAME, lock)
  21931. + static __inline BPTR
  21932. + _SetProgramDir(void *DOSBase, BPTR lock)
  21933. + {
  21934. + struct Caos    MyCaos;
  21935. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21936. + //    MyCaos.M68kStart    =    NULL;
  21937. + //    MyCaos.M68kSize        =    0;
  21938. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21939. + //    MyCaos.PPCStart        =    NULL;
  21940. + //    MyCaos.PPCSize        =    0;
  21941. +     MyCaos.d1        =(ULONG) lock;
  21942. +     MyCaos.caos_Un.Offset    =    (-594);
  21943. +     MyCaos.a6        =(ULONG) DOSBase;    
  21944. +     return((BPTR)PPCCallOS(&MyCaos));
  21945. + }
  21946. + #define    SetProgramName(name)    _SetProgramName(DOS_BASE_NAME, name)
  21947. + static __inline BOOL
  21948. + _SetProgramName(void *DOSBase, STRPTR name)
  21949. + {
  21950. + struct Caos    MyCaos;
  21951. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21952. + //    MyCaos.M68kStart    =    NULL;
  21953. + //    MyCaos.M68kSize        =    0;
  21954. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21955. + //    MyCaos.PPCStart        =    NULL;
  21956. + //    MyCaos.PPCSize        =    0;
  21957. +     MyCaos.d1        =(ULONG) name;
  21958. +     MyCaos.caos_Un.Offset    =    (-570);
  21959. +     MyCaos.a6        =(ULONG) DOSBase;    
  21960. +     return((BOOL)PPCCallOS(&MyCaos));
  21961. + }
  21962. + #define    SetPrompt(name)    _SetPrompt(DOS_BASE_NAME, name)
  21963. + static __inline BOOL
  21964. + _SetPrompt(void *DOSBase, STRPTR name)
  21965. + {
  21966. + struct Caos    MyCaos;
  21967. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21968. + //    MyCaos.M68kStart    =    NULL;
  21969. + //    MyCaos.M68kSize        =    0;
  21970. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21971. + //    MyCaos.PPCStart        =    NULL;
  21972. + //    MyCaos.PPCSize        =    0;
  21973. +     MyCaos.d1        =(ULONG) name;
  21974. +     MyCaos.caos_Un.Offset    =    (-582);
  21975. +     MyCaos.a6        =(ULONG) DOSBase;    
  21976. +     return((BOOL)PPCCallOS(&MyCaos));
  21977. + }
  21978. + #define    SetProtection(name, protect)    _SetProtection(DOS_BASE_NAME, name, protect)
  21979. + static __inline LONG
  21980. + _SetProtection(void *DOSBase, STRPTR name, long protect)
  21981. + {
  21982. + struct Caos    MyCaos;
  21983. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  21984. + //    MyCaos.M68kStart    =    NULL;
  21985. + //    MyCaos.M68kSize        =    0;
  21986. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  21987. + //    MyCaos.PPCStart        =    NULL;
  21988. + //    MyCaos.PPCSize        =    0;
  21989. +     MyCaos.d1        =(ULONG) name;
  21990. +     MyCaos.d2        =(ULONG) protect;
  21991. +     MyCaos.caos_Un.Offset    =    (-186);
  21992. +     MyCaos.a6        =(ULONG) DOSBase;    
  21993. +     return((LONG)PPCCallOS(&MyCaos));
  21994. + }
  21995. + #define    SetVBuf(fh, buff, type, size)    _SetVBuf(DOS_BASE_NAME, fh, buff, type, size)
  21996. + static __inline LONG
  21997. + _SetVBuf(void *DOSBase, BPTR fh, STRPTR buff, long type, long size)
  21998. + {
  21999. + struct Caos    MyCaos;
  22000. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22001. + //    MyCaos.M68kStart    =    NULL;
  22002. + //    MyCaos.M68kSize        =    0;
  22003. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22004. + //    MyCaos.PPCStart        =    NULL;
  22005. + //    MyCaos.PPCSize        =    0;
  22006. +     MyCaos.d1        =(ULONG) fh;
  22007. +     MyCaos.d2        =(ULONG) buff;
  22008. +     MyCaos.d3        =(ULONG) type;
  22009. +     MyCaos.d4        =(ULONG) size;
  22010. +     MyCaos.caos_Un.Offset    =    (-366);
  22011. +     MyCaos.a6        =(ULONG) DOSBase;    
  22012. +     return((LONG)PPCCallOS(&MyCaos));
  22013. + }
  22014. + #define    SetVar(name, buffer, size, flags)    _SetVar(DOS_BASE_NAME, name, buffer, size, flags)
  22015. + static __inline BOOL
  22016. + _SetVar(void *DOSBase, STRPTR name, STRPTR buffer, long size, long flags)
  22017. + {
  22018. + struct Caos    MyCaos;
  22019. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22020. + //    MyCaos.M68kStart    =    NULL;
  22021. + //    MyCaos.M68kSize        =    0;
  22022. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22023. + //    MyCaos.PPCStart        =    NULL;
  22024. + //    MyCaos.PPCSize        =    0;
  22025. +     MyCaos.d1        =(ULONG) name;
  22026. +     MyCaos.d2        =(ULONG) buffer;
  22027. +     MyCaos.d3        =(ULONG) size;
  22028. +     MyCaos.d4        =(ULONG) flags;
  22029. +     MyCaos.caos_Un.Offset    =    (-900);
  22030. +     MyCaos.a6        =(ULONG) DOSBase;    
  22031. +     return((BOOL)PPCCallOS(&MyCaos));
  22032. + }
  22033. + #define    SplitName(name, seperator, buf, oldpos, size)    _SplitName(DOS_BASE_NAME, name, seperator, buf, oldpos, size)
  22034. + static __inline WORD
  22035. + _SplitName(void *DOSBase, STRPTR name, unsigned long seperator, STRPTR buf, long oldpos, long size)
  22036. + {
  22037. + struct Caos    MyCaos;
  22038. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22039. + //    MyCaos.M68kStart    =    NULL;
  22040. + //    MyCaos.M68kSize        =    0;
  22041. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22042. + //    MyCaos.PPCStart        =    NULL;
  22043. + //    MyCaos.PPCSize        =    0;
  22044. +     MyCaos.d1        =(ULONG) name;
  22045. +     MyCaos.d2        =(ULONG) seperator;
  22046. +     MyCaos.d3        =(ULONG) buf;
  22047. +     MyCaos.d4        =(ULONG) oldpos;
  22048. +     MyCaos.d5        =(ULONG) size;
  22049. +     MyCaos.caos_Un.Offset    =    (-414);
  22050. +     MyCaos.a6        =(ULONG) DOSBase;    
  22051. +     return((WORD)PPCCallOS(&MyCaos));
  22052. + }
  22053. + #define    StartNotify(notify)    _StartNotify(DOS_BASE_NAME, notify)
  22054. + static __inline BOOL
  22055. + _StartNotify(void *DOSBase, struct NotifyRequest *notify)
  22056. + {
  22057. + struct Caos    MyCaos;
  22058. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22059. + //    MyCaos.M68kStart    =    NULL;
  22060. + //    MyCaos.M68kSize        =    0;
  22061. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22062. + //    MyCaos.PPCStart        =    NULL;
  22063. + //    MyCaos.PPCSize        =    0;
  22064. +     MyCaos.d1        =(ULONG) notify;
  22065. +     MyCaos.caos_Un.Offset    =    (-888);
  22066. +     MyCaos.a6        =(ULONG) DOSBase;    
  22067. +     return((BOOL)PPCCallOS(&MyCaos));
  22068. + }
  22069. + #define    StrToDate(datetime)    _StrToDate(DOS_BASE_NAME, datetime)
  22070. + static __inline LONG
  22071. + _StrToDate(void *DOSBase, struct DateTime *datetime)
  22072. + {
  22073. + struct Caos    MyCaos;
  22074. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22075. + //    MyCaos.M68kStart    =    NULL;
  22076. + //    MyCaos.M68kSize        =    0;
  22077. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22078. + //    MyCaos.PPCStart        =    NULL;
  22079. + //    MyCaos.PPCSize        =    0;
  22080. +     MyCaos.d1        =(ULONG) datetime;
  22081. +     MyCaos.caos_Un.Offset    =    (-750);
  22082. +     MyCaos.a6        =(ULONG) DOSBase;    
  22083. +     return((LONG)PPCCallOS(&MyCaos));
  22084. + }
  22085. + #define    StrToLong(string, value)    _StrToLong(DOS_BASE_NAME, string, value)
  22086. + static __inline LONG
  22087. + _StrToLong(void *DOSBase, STRPTR string, LONG *value)
  22088. + {
  22089. + struct Caos    MyCaos;
  22090. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22091. + //    MyCaos.M68kStart    =    NULL;
  22092. + //    MyCaos.M68kSize        =    0;
  22093. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22094. + //    MyCaos.PPCStart        =    NULL;
  22095. + //    MyCaos.PPCSize        =    0;
  22096. +     MyCaos.d1        =(ULONG) string;
  22097. +     MyCaos.d2        =(ULONG) value;
  22098. +     MyCaos.caos_Un.Offset    =    (-816);
  22099. +     MyCaos.a6        =(ULONG) DOSBase;    
  22100. +     return((LONG)PPCCallOS(&MyCaos));
  22101. + }
  22102. + #define    SystemTagList(command, tags)    _SystemTagList(DOS_BASE_NAME, command, tags)
  22103. + static __inline LONG
  22104. + _SystemTagList(void *DOSBase, STRPTR command, struct TagItem *tags)
  22105. + {
  22106. + struct Caos    MyCaos;
  22107. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22108. + //    MyCaos.M68kStart    =    NULL;
  22109. + //    MyCaos.M68kSize        =    0;
  22110. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22111. + //    MyCaos.PPCStart        =    NULL;
  22112. + //    MyCaos.PPCSize        =    0;
  22113. +     MyCaos.d1        =(ULONG) command;
  22114. +     MyCaos.d2        =(ULONG) tags;
  22115. +     MyCaos.caos_Un.Offset    =    (-606);
  22116. +     MyCaos.a6        =(ULONG) DOSBase;    
  22117. +     return((LONG)PPCCallOS(&MyCaos));
  22118. + }
  22119. + #define System(a0, a1) SystemTagList ((a0), (a1))
  22120. + #ifndef NO_PPCINLINE_STDARG
  22121. + #define SystemTags(a0, tags...) \
  22122. +     ({ULONG _tags[] = { tags }; SystemTagList((a0), (struct TagItem *)_tags);})
  22123. + #endif /* !NO_PPCINLINE_STDARG */
  22124. + #define    UnGetC(fh, character)    _UnGetC(DOS_BASE_NAME, fh, character)
  22125. + static __inline LONG
  22126. + _UnGetC(void *DOSBase, BPTR fh, long character)
  22127. + {
  22128. + struct Caos    MyCaos;
  22129. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22130. + //    MyCaos.M68kStart    =    NULL;
  22131. + //    MyCaos.M68kSize        =    0;
  22132. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22133. + //    MyCaos.PPCStart        =    NULL;
  22134. + //    MyCaos.PPCSize        =    0;
  22135. +     MyCaos.d1        =(ULONG) fh;
  22136. +     MyCaos.d2        =(ULONG) character;
  22137. +     MyCaos.caos_Un.Offset    =    (-318);
  22138. +     MyCaos.a6        =(ULONG) DOSBase;    
  22139. +     return((LONG)PPCCallOS(&MyCaos));
  22140. + }
  22141. + #define    UnLoadSeg(seglist)    _UnLoadSeg(DOS_BASE_NAME, seglist)
  22142. + static __inline void
  22143. + _UnLoadSeg(void *DOSBase, BPTR seglist)
  22144. + {
  22145. + struct Caos    MyCaos;
  22146. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22147. + //    MyCaos.M68kStart    =    NULL;
  22148. + //    MyCaos.M68kSize        =    0;
  22149. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22150. + //    MyCaos.PPCStart        =    NULL;
  22151. + //    MyCaos.PPCSize        =    0;
  22152. +     MyCaos.d1        =(ULONG) seglist;
  22153. +     MyCaos.caos_Un.Offset    =    (-156);
  22154. +     MyCaos.a6        =(ULONG) DOSBase;    
  22155. +     PPCCallOS(&MyCaos);
  22156. + }
  22157. + #define    UnLock(lock)    _UnLock(DOS_BASE_NAME, lock)
  22158. + static __inline void
  22159. + _UnLock(void *DOSBase, BPTR lock)
  22160. + {
  22161. + struct Caos    MyCaos;
  22162. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22163. + //    MyCaos.M68kStart    =    NULL;
  22164. + //    MyCaos.M68kSize        =    0;
  22165. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22166. + //    MyCaos.PPCStart        =    NULL;
  22167. + //    MyCaos.PPCSize        =    0;
  22168. +     MyCaos.d1        =(ULONG) lock;
  22169. +     MyCaos.caos_Un.Offset    =    (-90);
  22170. +     MyCaos.a6        =(ULONG) DOSBase;    
  22171. +     PPCCallOS(&MyCaos);
  22172. + }
  22173. + #define    UnLockDosList(flags)    _UnLockDosList(DOS_BASE_NAME, flags)
  22174. + static __inline void
  22175. + _UnLockDosList(void *DOSBase, unsigned long flags)
  22176. + {
  22177. + struct Caos    MyCaos;
  22178. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22179. + //    MyCaos.M68kStart    =    NULL;
  22180. + //    MyCaos.M68kSize        =    0;
  22181. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22182. + //    MyCaos.PPCStart        =    NULL;
  22183. + //    MyCaos.PPCSize        =    0;
  22184. +     MyCaos.d1        =(ULONG) flags;
  22185. +     MyCaos.caos_Un.Offset    =    (-660);
  22186. +     MyCaos.a6        =(ULONG) DOSBase;    
  22187. +     PPCCallOS(&MyCaos);
  22188. + }
  22189. + #define    UnLockRecord(fh, offset, length)    _UnLockRecord(DOS_BASE_NAME, fh, offset, length)
  22190. + static __inline BOOL
  22191. + _UnLockRecord(void *DOSBase, BPTR fh, unsigned long offset, unsigned long length)
  22192. + {
  22193. + struct Caos    MyCaos;
  22194. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22195. + //    MyCaos.M68kStart    =    NULL;
  22196. + //    MyCaos.M68kSize        =    0;
  22197. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22198. + //    MyCaos.PPCStart        =    NULL;
  22199. + //    MyCaos.PPCSize        =    0;
  22200. +     MyCaos.d1        =(ULONG) fh;
  22201. +     MyCaos.d2        =(ULONG) offset;
  22202. +     MyCaos.d3        =(ULONG) length;
  22203. +     MyCaos.caos_Un.Offset    =    (-282);
  22204. +     MyCaos.a6        =(ULONG) DOSBase;    
  22205. +     return((BOOL)PPCCallOS(&MyCaos));
  22206. + }
  22207. + #define    UnLockRecords(recArray)    _UnLockRecords(DOS_BASE_NAME, recArray)
  22208. + static __inline BOOL
  22209. + _UnLockRecords(void *DOSBase, struct RecordLock *recArray)
  22210. + {
  22211. + struct Caos    MyCaos;
  22212. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22213. + //    MyCaos.M68kStart    =    NULL;
  22214. + //    MyCaos.M68kSize        =    0;
  22215. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22216. + //    MyCaos.PPCStart        =    NULL;
  22217. + //    MyCaos.PPCSize        =    0;
  22218. +     MyCaos.d1        =(ULONG) recArray;
  22219. +     MyCaos.caos_Un.Offset    =    (-288);
  22220. +     MyCaos.a6        =(ULONG) DOSBase;    
  22221. +     return((BOOL)PPCCallOS(&MyCaos));
  22222. + }
  22223. + #define    VFPrintf(fh, format, argarray)    _VFPrintf(DOS_BASE_NAME, fh, format, argarray)
  22224. + static __inline LONG
  22225. + _VFPrintf(void *DOSBase, BPTR fh, STRPTR format, APTR argarray)
  22226. + {
  22227. + struct Caos    MyCaos;
  22228. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22229. + //    MyCaos.M68kStart    =    NULL;
  22230. + //    MyCaos.M68kSize        =    0;
  22231. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22232. + //    MyCaos.PPCStart        =    NULL;
  22233. + //    MyCaos.PPCSize        =    0;
  22234. +     MyCaos.d1        =(ULONG) fh;
  22235. +     MyCaos.d2        =(ULONG) format;
  22236. +     MyCaos.d3        =(ULONG) argarray;
  22237. +     MyCaos.caos_Un.Offset    =    (-354);
  22238. +     MyCaos.a6        =(ULONG) DOSBase;    
  22239. +     return((LONG)PPCCallOS(&MyCaos));
  22240. + }
  22241. + #ifndef NO_PPCINLINE_STDARG
  22242. + #define FPrintf(a0, a1, tags...) \
  22243. +     ({ULONG _tags[] = { tags }; VFPrintf((a0), (a1), (APTR)_tags);})
  22244. + #endif /* !NO_PPCINLINE_STDARG */
  22245. + #define    VFWritef(fh, format, argarray)    _VFWritef(DOS_BASE_NAME, fh, format, argarray)
  22246. + static __inline void
  22247. + _VFWritef(void *DOSBase, BPTR fh, STRPTR format, LONG *argarray)
  22248. + {
  22249. + struct Caos    MyCaos;
  22250. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22251. + //    MyCaos.M68kStart    =    NULL;
  22252. + //    MyCaos.M68kSize        =    0;
  22253. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22254. + //    MyCaos.PPCStart        =    NULL;
  22255. + //    MyCaos.PPCSize        =    0;
  22256. +     MyCaos.d1        =(ULONG) fh;
  22257. +     MyCaos.d2        =(ULONG) format;
  22258. +     MyCaos.d3        =(ULONG) argarray;
  22259. +     MyCaos.caos_Un.Offset    =    (-348);
  22260. +     MyCaos.a6        =(ULONG) DOSBase;    
  22261. +     PPCCallOS(&MyCaos);
  22262. + }
  22263. + #ifndef NO_PPCINLINE_STDARG
  22264. + #define FWritef(a0, a1, tags...) \
  22265. +     ({ULONG _tags[] = { tags }; VFWritef((a0), (a1), (LONG *)_tags);})
  22266. + #endif /* !NO_PPCINLINE_STDARG */
  22267. + #define    VPrintf(format, argarray)    _VPrintf(DOS_BASE_NAME, format, argarray)
  22268. + static __inline LONG
  22269. + _VPrintf(void *DOSBase, STRPTR format, APTR argarray)
  22270. + {
  22271. + struct Caos    MyCaos;
  22272. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22273. + //    MyCaos.M68kStart    =    NULL;
  22274. + //    MyCaos.M68kSize        =    0;
  22275. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22276. + //    MyCaos.PPCStart        =    NULL;
  22277. + //    MyCaos.PPCSize        =    0;
  22278. +     MyCaos.d1        =(ULONG) format;
  22279. +     MyCaos.d2        =(ULONG) argarray;
  22280. +     MyCaos.caos_Un.Offset    =    (-954);
  22281. +     MyCaos.a6        =(ULONG) DOSBase;    
  22282. +     return((LONG)PPCCallOS(&MyCaos));
  22283. + }
  22284. + #ifndef NO_PPCINLINE_STDARG
  22285. + #define Printf(a0, tags...) \
  22286. +     ({ULONG _tags[] = { tags }; VPrintf((a0), (APTR)_tags);})
  22287. + #endif /* !NO_PPCINLINE_STDARG */
  22288. + #define    WaitForChar(file, timeout)    _WaitForChar(DOS_BASE_NAME, file, timeout)
  22289. + static __inline LONG
  22290. + _WaitForChar(void *DOSBase, BPTR file, long timeout)
  22291. + {
  22292. + struct Caos    MyCaos;
  22293. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22294. + //    MyCaos.M68kStart    =    NULL;
  22295. + //    MyCaos.M68kSize        =    0;
  22296. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22297. + //    MyCaos.PPCStart        =    NULL;
  22298. + //    MyCaos.PPCSize        =    0;
  22299. +     MyCaos.d1        =(ULONG) file;
  22300. +     MyCaos.d2        =(ULONG) timeout;
  22301. +     MyCaos.caos_Un.Offset    =    (-204);
  22302. +     MyCaos.a6        =(ULONG) DOSBase;    
  22303. +     return((LONG)PPCCallOS(&MyCaos));
  22304. + }
  22305. + #define    WaitPkt()    _WaitPkt(DOS_BASE_NAME)
  22306. + static __inline struct DosPacket *
  22307. + _WaitPkt(void *DOSBase)
  22308. + {
  22309. + struct Caos    MyCaos;
  22310. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22311. + //    MyCaos.M68kStart    =    NULL;
  22312. + //    MyCaos.M68kSize        =    0;
  22313. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22314. + //    MyCaos.PPCStart        =    NULL;
  22315. + //    MyCaos.PPCSize        =    0;
  22316. +     MyCaos.caos_Un.Offset    =    (-252);
  22317. +     MyCaos.a6        =(ULONG) DOSBase;    
  22318. +     return((struct DosPacket *)PPCCallOS(&MyCaos));
  22319. + }
  22320. + #define    Write(file, buffer, length)    _Write(DOS_BASE_NAME, file, buffer, length)
  22321. + static __inline LONG
  22322. + _Write(void *DOSBase, BPTR file, APTR buffer, long length)
  22323. + {
  22324. + struct Caos    MyCaos;
  22325. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22326. + //    MyCaos.M68kStart    =    NULL;
  22327. + //    MyCaos.M68kSize        =    0;
  22328. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22329. + //    MyCaos.PPCStart        =    NULL;
  22330. + //    MyCaos.PPCSize        =    0;
  22331. +     MyCaos.d1        =(ULONG) file;
  22332. +     MyCaos.d2        =(ULONG) buffer;
  22333. +     MyCaos.d3        =(ULONG) length;
  22334. +     MyCaos.caos_Un.Offset    =    (-48);
  22335. +     MyCaos.a6        =(ULONG) DOSBase;    
  22336. +     return((LONG)PPCCallOS(&MyCaos));
  22337. + }
  22338. + #define    WriteChars(buf, buflen)    _WriteChars(DOS_BASE_NAME, buf, buflen)
  22339. + static __inline LONG
  22340. + _WriteChars(void *DOSBase, STRPTR buf, unsigned long buflen)
  22341. + {
  22342. + struct Caos    MyCaos;
  22343. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22344. + //    MyCaos.M68kStart    =    NULL;
  22345. + //    MyCaos.M68kSize        =    0;
  22346. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22347. + //    MyCaos.PPCStart        =    NULL;
  22348. + //    MyCaos.PPCSize        =    0;
  22349. +     MyCaos.d1        =(ULONG) buf;
  22350. +     MyCaos.d2        =(ULONG) buflen;
  22351. +     MyCaos.caos_Un.Offset    =    (-942);
  22352. +     MyCaos.a6        =(ULONG) DOSBase;    
  22353. +     return((LONG)PPCCallOS(&MyCaos));
  22354. + }
  22355. + #endif /* SASC Pragmas */
  22356. + #endif /* !_PPCPRAGMA_DOS_H */
  22357. diff -c2 -d -P -r include_h/powerup/ppcpragmas/dtclass_pragmas.h includenew/powerup/ppcpragmas/dtclass_pragmas.h
  22358. *** include_h/powerup/ppcpragmas/dtclass_pragmas.h    Thu Jan  1 00:00:00 1970
  22359. --- includenew/powerup/ppcpragmas/dtclass_pragmas.h    Wed Feb 14 02:41:24 2001
  22360. ***************
  22361. *** 0 ****
  22362. --- 1,45 ----
  22363. + /* Automatically generated header! Do not edit! */
  22364. + #ifndef _PPCPRAGMA_DTCLASS_H
  22365. + #define _PPCPRAGMA_DTCLASS_H
  22366. + #ifdef __GNUC__
  22367. + #ifndef _PPCINLINE__DTCLASS_H
  22368. + #include <powerup/ppcinline/dtclass.h>
  22369. + #endif
  22370. + #else
  22371. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  22372. + #include <powerup/ppclib/interface.h>
  22373. + #endif
  22374. + #ifndef POWERUP_GCCLIB_PROTOS_H
  22375. + #include <powerup/gcclib/powerup_protos.h>
  22376. + #endif
  22377. + #ifndef NO_PPCINLINE_STDARG
  22378. + #define NO_PPCINLINE_STDARG
  22379. + #endif/* SAS C PPC inlines */
  22380. + #ifndef DTCLASS_BASE_NAME
  22381. + #define DTCLASS_BASE_NAME DTClassBase
  22382. + #endif /* !DTCLASS_BASE_NAME */
  22383. + #define    ObtainEngine()    _ObtainEngine(DTCLASS_BASE_NAME)
  22384. + static __inline Class *
  22385. + _ObtainEngine(void *DTClassBase)
  22386. + {
  22387. + struct Caos    MyCaos;
  22388. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22389. + //    MyCaos.M68kStart    =    NULL;
  22390. + //    MyCaos.M68kSize        =    0;
  22391. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22392. + //    MyCaos.PPCStart        =    NULL;
  22393. + //    MyCaos.PPCSize        =    0;
  22394. +     MyCaos.caos_Un.Offset    =    (-30);
  22395. +     MyCaos.a6        =(ULONG) DTClassBase;    
  22396. +     return((Class *)PPCCallOS(&MyCaos));
  22397. + }
  22398. + #endif /* SASC Pragmas */
  22399. + #endif /* !_PPCPRAGMA_DTCLASS_H */
  22400. diff -c2 -d -P -r include_h/powerup/ppcpragmas/exec_pragmas.h includenew/powerup/ppcpragmas/exec_pragmas.h
  22401. *** include_h/powerup/ppcpragmas/exec_pragmas.h    Thu Jan  1 00:00:00 1970
  22402. --- includenew/powerup/ppcpragmas/exec_pragmas.h    Wed Feb 14 02:41:24 2001
  22403. ***************
  22404. *** 0 ****
  22405. --- 1,2208 ----
  22406. + /* Automatically generated header! Do not edit! */
  22407. + #ifndef _PPCPRAGMA_EXEC_H
  22408. + #define _PPCPRAGMA_EXEC_H
  22409. + #ifdef __GNUC__
  22410. + #ifndef _PPCINLINE__EXEC_H
  22411. + #include <powerup/ppcinline/exec.h>
  22412. + #endif
  22413. + #else
  22414. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  22415. + #include <powerup/ppclib/interface.h>
  22416. + #endif
  22417. + #ifndef POWERUP_GCCLIB_PROTOS_H
  22418. + #include <powerup/gcclib/powerup_protos.h>
  22419. + #endif
  22420. + #ifndef NO_PPCINLINE_STDARG
  22421. + #define NO_PPCINLINE_STDARG
  22422. + #endif/* SAS C PPC inlines */
  22423. + #ifndef EXEC_BASE_NAME
  22424. + #define EXEC_BASE_NAME SysBase
  22425. + #endif /* !EXEC_BASE_NAME */
  22426. + #define    AbortIO(ioRequest)    _AbortIO(EXEC_BASE_NAME, ioRequest)
  22427. + static __inline void
  22428. + _AbortIO(void *SysBase, struct IORequest *ioRequest)
  22429. + {
  22430. + struct Caos    MyCaos;
  22431. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22432. + //    MyCaos.M68kStart    =    NULL;
  22433. + //    MyCaos.M68kSize        =    0;
  22434. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22435. + //    MyCaos.PPCStart        =    NULL;
  22436. + //    MyCaos.PPCSize        =    0;
  22437. +     MyCaos.a1        =(ULONG) ioRequest;
  22438. +     MyCaos.caos_Un.Offset    =    (-480);
  22439. +     MyCaos.a6        =(ULONG) SysBase;    
  22440. +     PPCCallOS(&MyCaos);
  22441. + }
  22442. + #define    AddDevice(device)    _AddDevice(EXEC_BASE_NAME, device)
  22443. + static __inline void
  22444. + _AddDevice(void *SysBase, struct Device *device)
  22445. + {
  22446. + struct Caos    MyCaos;
  22447. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22448. + //    MyCaos.M68kStart    =    NULL;
  22449. + //    MyCaos.M68kSize        =    0;
  22450. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22451. + //    MyCaos.PPCStart        =    NULL;
  22452. + //    MyCaos.PPCSize        =    0;
  22453. +     MyCaos.a1        =(ULONG) device;
  22454. +     MyCaos.caos_Un.Offset    =    (-432);
  22455. +     MyCaos.a6        =(ULONG) SysBase;    
  22456. +     PPCCallOS(&MyCaos);
  22457. + }
  22458. + #define    AddHead(list, node)    _AddHead(EXEC_BASE_NAME, list, node)
  22459. + static __inline void
  22460. + _AddHead(void *SysBase, struct List *list, struct Node *node)
  22461. + {
  22462. + struct Caos    MyCaos;
  22463. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22464. + //    MyCaos.M68kStart    =    NULL;
  22465. + //    MyCaos.M68kSize        =    0;
  22466. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22467. + //    MyCaos.PPCStart        =    NULL;
  22468. + //    MyCaos.PPCSize        =    0;
  22469. +     MyCaos.a0        =(ULONG) list;
  22470. +     MyCaos.a1        =(ULONG) node;
  22471. +     MyCaos.caos_Un.Offset    =    (-240);
  22472. +     MyCaos.a6        =(ULONG) SysBase;    
  22473. +     PPCCallOS(&MyCaos);
  22474. + }
  22475. + #define    AddIntServer(intNumber, interrupt)    _AddIntServer(EXEC_BASE_NAME, intNumber, interrupt)
  22476. + static __inline void
  22477. + _AddIntServer(void *SysBase, long intNumber, struct Interrupt *interrupt)
  22478. + {
  22479. + struct Caos    MyCaos;
  22480. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22481. + //    MyCaos.M68kStart    =    NULL;
  22482. + //    MyCaos.M68kSize        =    0;
  22483. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22484. + //    MyCaos.PPCStart        =    NULL;
  22485. + //    MyCaos.PPCSize        =    0;
  22486. +     MyCaos.d0        =(ULONG) intNumber;
  22487. +     MyCaos.a1        =(ULONG) interrupt;
  22488. +     MyCaos.caos_Un.Offset    =    (-168);
  22489. +     MyCaos.a6        =(ULONG) SysBase;    
  22490. +     PPCCallOS(&MyCaos);
  22491. + }
  22492. + #define    AddLibrary(library)    _AddLibrary(EXEC_BASE_NAME, library)
  22493. + static __inline void
  22494. + _AddLibrary(void *SysBase, struct Library *library)
  22495. + {
  22496. + struct Caos    MyCaos;
  22497. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22498. + //    MyCaos.M68kStart    =    NULL;
  22499. + //    MyCaos.M68kSize        =    0;
  22500. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22501. + //    MyCaos.PPCStart        =    NULL;
  22502. + //    MyCaos.PPCSize        =    0;
  22503. +     MyCaos.a1        =(ULONG) library;
  22504. +     MyCaos.caos_Un.Offset    =    (-396);
  22505. +     MyCaos.a6        =(ULONG) SysBase;    
  22506. +     PPCCallOS(&MyCaos);
  22507. + }
  22508. + #define    AddMemHandler(memhand)    _AddMemHandler(EXEC_BASE_NAME, memhand)
  22509. + static __inline void
  22510. + _AddMemHandler(void *SysBase, struct Interrupt *memhand)
  22511. + {
  22512. + struct Caos    MyCaos;
  22513. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22514. + //    MyCaos.M68kStart    =    NULL;
  22515. + //    MyCaos.M68kSize        =    0;
  22516. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22517. + //    MyCaos.PPCStart        =    NULL;
  22518. + //    MyCaos.PPCSize        =    0;
  22519. +     MyCaos.a1        =(ULONG) memhand;
  22520. +     MyCaos.caos_Un.Offset    =    (-774);
  22521. +     MyCaos.a6        =(ULONG) SysBase;    
  22522. +     PPCCallOS(&MyCaos);
  22523. + }
  22524. + #define    AddMemList(size, attributes, pri, base, name)    _AddMemList(EXEC_BASE_NAME, size, attributes, pri, base, name)
  22525. + static __inline void
  22526. + _AddMemList(void *SysBase, unsigned long size, unsigned long attributes, long pri, APTR base, UBYTE *name)
  22527. + {
  22528. + struct Caos    MyCaos;
  22529. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22530. + //    MyCaos.M68kStart    =    NULL;
  22531. + //    MyCaos.M68kSize        =    0;
  22532. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22533. + //    MyCaos.PPCStart        =    NULL;
  22534. + //    MyCaos.PPCSize        =    0;
  22535. +     MyCaos.d0        =(ULONG) size;
  22536. +     MyCaos.d1        =(ULONG) attributes;
  22537. +     MyCaos.d2        =(ULONG) pri;
  22538. +     MyCaos.a0        =(ULONG) base;
  22539. +     MyCaos.a1        =(ULONG) name;
  22540. +     MyCaos.caos_Un.Offset    =    (-618);
  22541. +     MyCaos.a6        =(ULONG) SysBase;    
  22542. +     PPCCallOS(&MyCaos);
  22543. + }
  22544. + #define    AddPort(port)    _AddPort(EXEC_BASE_NAME, port)
  22545. + static __inline void
  22546. + _AddPort(void *SysBase, struct MsgPort *port)
  22547. + {
  22548. + struct Caos    MyCaos;
  22549. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22550. + //    MyCaos.M68kStart    =    NULL;
  22551. + //    MyCaos.M68kSize        =    0;
  22552. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22553. + //    MyCaos.PPCStart        =    NULL;
  22554. + //    MyCaos.PPCSize        =    0;
  22555. +     MyCaos.a1        =(ULONG) port;
  22556. +     MyCaos.caos_Un.Offset    =    (-354);
  22557. +     MyCaos.a6        =(ULONG) SysBase;    
  22558. +     PPCCallOS(&MyCaos);
  22559. + }
  22560. + #define    AddResource(resource)    _AddResource(EXEC_BASE_NAME, resource)
  22561. + static __inline void
  22562. + _AddResource(void *SysBase, APTR resource)
  22563. + {
  22564. + struct Caos    MyCaos;
  22565. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22566. + //    MyCaos.M68kStart    =    NULL;
  22567. + //    MyCaos.M68kSize        =    0;
  22568. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22569. + //    MyCaos.PPCStart        =    NULL;
  22570. + //    MyCaos.PPCSize        =    0;
  22571. +     MyCaos.a1        =(ULONG) resource;
  22572. +     MyCaos.caos_Un.Offset    =    (-486);
  22573. +     MyCaos.a6        =(ULONG) SysBase;    
  22574. +     PPCCallOS(&MyCaos);
  22575. + }
  22576. + #define    AddSemaphore(sigSem)    _AddSemaphore(EXEC_BASE_NAME, sigSem)
  22577. + static __inline void
  22578. + _AddSemaphore(void *SysBase, struct SignalSemaphore *sigSem)
  22579. + {
  22580. + struct Caos    MyCaos;
  22581. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22582. + //    MyCaos.M68kStart    =    NULL;
  22583. + //    MyCaos.M68kSize        =    0;
  22584. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22585. + //    MyCaos.PPCStart        =    NULL;
  22586. + //    MyCaos.PPCSize        =    0;
  22587. +     MyCaos.a1        =(ULONG) sigSem;
  22588. +     MyCaos.caos_Un.Offset    =    (-600);
  22589. +     MyCaos.a6        =(ULONG) SysBase;    
  22590. +     PPCCallOS(&MyCaos);
  22591. + }
  22592. + #define    AddTail(list, node)    _AddTail(EXEC_BASE_NAME, list, node)
  22593. + static __inline void
  22594. + _AddTail(void *SysBase, struct List *list, struct Node *node)
  22595. + {
  22596. + struct Caos    MyCaos;
  22597. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22598. + //    MyCaos.M68kStart    =    NULL;
  22599. + //    MyCaos.M68kSize        =    0;
  22600. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22601. + //    MyCaos.PPCStart        =    NULL;
  22602. + //    MyCaos.PPCSize        =    0;
  22603. +     MyCaos.a0        =(ULONG) list;
  22604. +     MyCaos.a1        =(ULONG) node;
  22605. +     MyCaos.caos_Un.Offset    =    (-246);
  22606. +     MyCaos.a6        =(ULONG) SysBase;    
  22607. +     PPCCallOS(&MyCaos);
  22608. + }
  22609. + #define    AddTask(task, initPC, finalPC)    _AddTask(EXEC_BASE_NAME, task, initPC, finalPC)
  22610. + static __inline APTR
  22611. + _AddTask(void *SysBase, struct Task *task, APTR initPC, APTR finalPC)
  22612. + {
  22613. + struct Caos    MyCaos;
  22614. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22615. + //    MyCaos.M68kStart    =    NULL;
  22616. + //    MyCaos.M68kSize        =    0;
  22617. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22618. + //    MyCaos.PPCStart        =    NULL;
  22619. + //    MyCaos.PPCSize        =    0;
  22620. +     MyCaos.a1        =(ULONG) task;
  22621. +     MyCaos.a2        =(ULONG) initPC;
  22622. +     MyCaos.a3        =(ULONG) finalPC;
  22623. +     MyCaos.caos_Un.Offset    =    (-282);
  22624. +     MyCaos.a6        =(ULONG) SysBase;    
  22625. +     return((APTR)PPCCallOS(&MyCaos));
  22626. + }
  22627. + #define    Alert(alertNum)    _Alert(EXEC_BASE_NAME, alertNum)
  22628. + static __inline void
  22629. + _Alert(void *SysBase, unsigned long alertNum)
  22630. + {
  22631. + struct Caos    MyCaos;
  22632. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22633. + //    MyCaos.M68kStart    =    NULL;
  22634. + //    MyCaos.M68kSize        =    0;
  22635. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22636. + //    MyCaos.PPCStart        =    NULL;
  22637. + //    MyCaos.PPCSize        =    0;
  22638. +     MyCaos.d7        =(ULONG) alertNum;
  22639. +     MyCaos.caos_Un.Offset    =    (-108);
  22640. +     MyCaos.a6        =(ULONG) SysBase;    
  22641. +     PPCCallOS(&MyCaos);
  22642. + }
  22643. + #define    AllocAbs(byteSize, location)    _AllocAbs(EXEC_BASE_NAME, byteSize, location)
  22644. + static __inline APTR
  22645. + _AllocAbs(void *SysBase, unsigned long byteSize, APTR location)
  22646. + {
  22647. + struct Caos    MyCaos;
  22648. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22649. + //    MyCaos.M68kStart    =    NULL;
  22650. + //    MyCaos.M68kSize        =    0;
  22651. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22652. + //    MyCaos.PPCStart        =    NULL;
  22653. + //    MyCaos.PPCSize        =    0;
  22654. +     MyCaos.d0        =(ULONG) byteSize;
  22655. +     MyCaos.a1        =(ULONG) location;
  22656. +     MyCaos.caos_Un.Offset    =    (-204);
  22657. +     MyCaos.a6        =(ULONG) SysBase;    
  22658. +     return((APTR)PPCCallOS(&MyCaos));
  22659. + }
  22660. + #define    AllocEntry(entry)    _AllocEntry(EXEC_BASE_NAME, entry)
  22661. + static __inline struct MemList *
  22662. + _AllocEntry(void *SysBase, struct MemList *entry)
  22663. + {
  22664. + struct Caos    MyCaos;
  22665. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22666. + //    MyCaos.M68kStart    =    NULL;
  22667. + //    MyCaos.M68kSize        =    0;
  22668. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22669. + //    MyCaos.PPCStart        =    NULL;
  22670. + //    MyCaos.PPCSize        =    0;
  22671. +     MyCaos.a0        =(ULONG) entry;
  22672. +     MyCaos.caos_Un.Offset    =    (-222);
  22673. +     MyCaos.a6        =(ULONG) SysBase;    
  22674. +     return((struct MemList *)PPCCallOS(&MyCaos));
  22675. + }
  22676. + #define    AllocMem(byteSize, requirements)    _AllocMem(EXEC_BASE_NAME, byteSize, requirements)
  22677. + static __inline APTR
  22678. + _AllocMem(void *SysBase, unsigned long byteSize, unsigned long requirements)
  22679. + {
  22680. + struct Caos    MyCaos;
  22681. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22682. + //    MyCaos.M68kStart    =    NULL;
  22683. + //    MyCaos.M68kSize        =    0;
  22684. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22685. + //    MyCaos.PPCStart        =    NULL;
  22686. + //    MyCaos.PPCSize        =    0;
  22687. +     MyCaos.d0        =(ULONG) byteSize;
  22688. +     MyCaos.d1        =(ULONG) requirements;
  22689. +     MyCaos.caos_Un.Offset    =    (-198);
  22690. +     MyCaos.a6        =(ULONG) SysBase;    
  22691. +     return((APTR)PPCCallOS(&MyCaos));
  22692. + }
  22693. + #define    AllocPooled(poolHeader, memSize)    _AllocPooled(EXEC_BASE_NAME, poolHeader, memSize)
  22694. + static __inline APTR
  22695. + _AllocPooled(void *SysBase, APTR poolHeader, unsigned long memSize)
  22696. + {
  22697. + struct Caos    MyCaos;
  22698. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22699. + //    MyCaos.M68kStart    =    NULL;
  22700. + //    MyCaos.M68kSize        =    0;
  22701. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22702. + //    MyCaos.PPCStart        =    NULL;
  22703. + //    MyCaos.PPCSize        =    0;
  22704. +     MyCaos.a0        =(ULONG) poolHeader;
  22705. +     MyCaos.d0        =(ULONG) memSize;
  22706. +     MyCaos.caos_Un.Offset    =    (-708);
  22707. +     MyCaos.a6        =(ULONG) SysBase;    
  22708. +     return((APTR)PPCCallOS(&MyCaos));
  22709. + }
  22710. + #define    AllocSignal(signalNum)    _AllocSignal(EXEC_BASE_NAME, signalNum)
  22711. + static __inline BYTE
  22712. + _AllocSignal(void *SysBase, long signalNum)
  22713. + {
  22714. + struct Caos    MyCaos;
  22715. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22716. + //    MyCaos.M68kStart    =    NULL;
  22717. + //    MyCaos.M68kSize        =    0;
  22718. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22719. + //    MyCaos.PPCStart        =    NULL;
  22720. + //    MyCaos.PPCSize        =    0;
  22721. +     MyCaos.d0        =(ULONG) signalNum;
  22722. +     MyCaos.caos_Un.Offset    =    (-330);
  22723. +     MyCaos.a6        =(ULONG) SysBase;    
  22724. +     return((BYTE)PPCCallOS(&MyCaos));
  22725. + }
  22726. + #define    AllocTrap(trapNum)    _AllocTrap(EXEC_BASE_NAME, trapNum)
  22727. + static __inline LONG
  22728. + _AllocTrap(void *SysBase, long trapNum)
  22729. + {
  22730. + struct Caos    MyCaos;
  22731. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22732. + //    MyCaos.M68kStart    =    NULL;
  22733. + //    MyCaos.M68kSize        =    0;
  22734. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22735. + //    MyCaos.PPCStart        =    NULL;
  22736. + //    MyCaos.PPCSize        =    0;
  22737. +     MyCaos.d0        =(ULONG) trapNum;
  22738. +     MyCaos.caos_Un.Offset    =    (-342);
  22739. +     MyCaos.a6        =(ULONG) SysBase;    
  22740. +     return((LONG)PPCCallOS(&MyCaos));
  22741. + }
  22742. + #define    AllocVec(byteSize, requirements)    _AllocVec(EXEC_BASE_NAME, byteSize, requirements)
  22743. + static __inline APTR
  22744. + _AllocVec(void *SysBase, unsigned long byteSize, unsigned long requirements)
  22745. + {
  22746. + struct Caos    MyCaos;
  22747. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22748. + //    MyCaos.M68kStart    =    NULL;
  22749. + //    MyCaos.M68kSize        =    0;
  22750. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22751. + //    MyCaos.PPCStart        =    NULL;
  22752. + //    MyCaos.PPCSize        =    0;
  22753. +     MyCaos.d0        =(ULONG) byteSize;
  22754. +     MyCaos.d1        =(ULONG) requirements;
  22755. +     MyCaos.caos_Un.Offset    =    (-684);
  22756. +     MyCaos.a6        =(ULONG) SysBase;    
  22757. +     return((APTR)PPCCallOS(&MyCaos));
  22758. + }
  22759. + #define    Allocate(freeList, byteSize)    _Allocate(EXEC_BASE_NAME, freeList, byteSize)
  22760. + static __inline APTR
  22761. + _Allocate(void *SysBase, struct MemHeader *freeList, unsigned long byteSize)
  22762. + {
  22763. + struct Caos    MyCaos;
  22764. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22765. + //    MyCaos.M68kStart    =    NULL;
  22766. + //    MyCaos.M68kSize        =    0;
  22767. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22768. + //    MyCaos.PPCStart        =    NULL;
  22769. + //    MyCaos.PPCSize        =    0;
  22770. +     MyCaos.a0        =(ULONG) freeList;
  22771. +     MyCaos.d0        =(ULONG) byteSize;
  22772. +     MyCaos.caos_Un.Offset    =    (-186);
  22773. +     MyCaos.a6        =(ULONG) SysBase;    
  22774. +     return((APTR)PPCCallOS(&MyCaos));
  22775. + }
  22776. + #define    AttemptSemaphore(sigSem)    _AttemptSemaphore(EXEC_BASE_NAME, sigSem)
  22777. + static __inline ULONG
  22778. + _AttemptSemaphore(void *SysBase, struct SignalSemaphore *sigSem)
  22779. + {
  22780. + struct Caos    MyCaos;
  22781. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22782. + //    MyCaos.M68kStart    =    NULL;
  22783. + //    MyCaos.M68kSize        =    0;
  22784. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22785. + //    MyCaos.PPCStart        =    NULL;
  22786. + //    MyCaos.PPCSize        =    0;
  22787. +     MyCaos.a0        =(ULONG) sigSem;
  22788. +     MyCaos.caos_Un.Offset    =    (-576);
  22789. +     MyCaos.a6        =(ULONG) SysBase;    
  22790. +     return((ULONG)PPCCallOS(&MyCaos));
  22791. + }
  22792. + #define    AttemptSemaphoreShared(sigSem)    _AttemptSemaphoreShared(EXEC_BASE_NAME, sigSem)
  22793. + static __inline ULONG
  22794. + _AttemptSemaphoreShared(void *SysBase, struct SignalSemaphore *sigSem)
  22795. + {
  22796. + struct Caos    MyCaos;
  22797. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22798. + //    MyCaos.M68kStart    =    NULL;
  22799. + //    MyCaos.M68kSize        =    0;
  22800. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22801. + //    MyCaos.PPCStart        =    NULL;
  22802. + //    MyCaos.PPCSize        =    0;
  22803. +     MyCaos.a0        =(ULONG) sigSem;
  22804. +     MyCaos.caos_Un.Offset    =    (-720);
  22805. +     MyCaos.a6        =(ULONG) SysBase;    
  22806. +     return((ULONG)PPCCallOS(&MyCaos));
  22807. + }
  22808. + #define    AvailMem(requirements)    _AvailMem(EXEC_BASE_NAME, requirements)
  22809. + static __inline ULONG
  22810. + _AvailMem(void *SysBase, unsigned long requirements)
  22811. + {
  22812. + struct Caos    MyCaos;
  22813. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22814. + //    MyCaos.M68kStart    =    NULL;
  22815. + //    MyCaos.M68kSize        =    0;
  22816. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22817. + //    MyCaos.PPCStart        =    NULL;
  22818. + //    MyCaos.PPCSize        =    0;
  22819. +     MyCaos.d1        =(ULONG) requirements;
  22820. +     MyCaos.caos_Un.Offset    =    (-216);
  22821. +     MyCaos.a6        =(ULONG) SysBase;    
  22822. +     return((ULONG)PPCCallOS(&MyCaos));
  22823. + }
  22824. + #define    CacheClearE(address, length, caches)    _CacheClearE(EXEC_BASE_NAME, address, length, caches)
  22825. + static __inline void
  22826. + _CacheClearE(void *SysBase, APTR address, unsigned long length, unsigned long caches)
  22827. + {
  22828. + struct Caos    MyCaos;
  22829. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22830. + //    MyCaos.M68kStart    =    NULL;
  22831. + //    MyCaos.M68kSize        =    0;
  22832. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22833. + //    MyCaos.PPCStart        =    NULL;
  22834. + //    MyCaos.PPCSize        =    0;
  22835. +     MyCaos.a0        =(ULONG) address;
  22836. +     MyCaos.d0        =(ULONG) length;
  22837. +     MyCaos.d1        =(ULONG) caches;
  22838. +     MyCaos.caos_Un.Offset    =    (-642);
  22839. +     MyCaos.a6        =(ULONG) SysBase;    
  22840. +     PPCCallOS(&MyCaos);
  22841. + }
  22842. + #define    CacheClearU()    _CacheClearU(EXEC_BASE_NAME)
  22843. + static __inline void
  22844. + _CacheClearU(void *SysBase)
  22845. + {
  22846. + struct Caos    MyCaos;
  22847. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22848. + //    MyCaos.M68kStart    =    NULL;
  22849. + //    MyCaos.M68kSize        =    0;
  22850. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22851. + //    MyCaos.PPCStart        =    NULL;
  22852. + //    MyCaos.PPCSize        =    0;
  22853. +     MyCaos.caos_Un.Offset    =    (-636);
  22854. +     MyCaos.a6        =(ULONG) SysBase;    
  22855. +     PPCCallOS(&MyCaos);
  22856. + }
  22857. + #define    CacheControl(cacheBits, cacheMask)    _CacheControl(EXEC_BASE_NAME, cacheBits, cacheMask)
  22858. + static __inline ULONG
  22859. + _CacheControl(void *SysBase, unsigned long cacheBits, unsigned long cacheMask)
  22860. + {
  22861. + struct Caos    MyCaos;
  22862. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22863. + //    MyCaos.M68kStart    =    NULL;
  22864. + //    MyCaos.M68kSize        =    0;
  22865. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22866. + //    MyCaos.PPCStart        =    NULL;
  22867. + //    MyCaos.PPCSize        =    0;
  22868. +     MyCaos.d0        =(ULONG) cacheBits;
  22869. +     MyCaos.d1        =(ULONG) cacheMask;
  22870. +     MyCaos.caos_Un.Offset    =    (-648);
  22871. +     MyCaos.a6        =(ULONG) SysBase;    
  22872. +     return((ULONG)PPCCallOS(&MyCaos));
  22873. + }
  22874. + #define    CachePostDMA(address, length, flags)    _CachePostDMA(EXEC_BASE_NAME, address, length, flags)
  22875. + static __inline void
  22876. + _CachePostDMA(void *SysBase, APTR address, ULONG *length, unsigned long flags)
  22877. + {
  22878. + struct Caos    MyCaos;
  22879. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22880. + //    MyCaos.M68kStart    =    NULL;
  22881. + //    MyCaos.M68kSize        =    0;
  22882. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22883. + //    MyCaos.PPCStart        =    NULL;
  22884. + //    MyCaos.PPCSize        =    0;
  22885. +     MyCaos.a0        =(ULONG) address;
  22886. +     MyCaos.a1        =(ULONG) length;
  22887. +     MyCaos.d0        =(ULONG) flags;
  22888. +     MyCaos.caos_Un.Offset    =    (-768);
  22889. +     MyCaos.a6        =(ULONG) SysBase;    
  22890. +     PPCCallOS(&MyCaos);
  22891. + }
  22892. + #define    CachePreDMA(address, length, flags)    _CachePreDMA(EXEC_BASE_NAME, address, length, flags)
  22893. + static __inline APTR
  22894. + _CachePreDMA(void *SysBase, APTR address, ULONG *length, unsigned long flags)
  22895. + {
  22896. + struct Caos    MyCaos;
  22897. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22898. + //    MyCaos.M68kStart    =    NULL;
  22899. + //    MyCaos.M68kSize        =    0;
  22900. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22901. + //    MyCaos.PPCStart        =    NULL;
  22902. + //    MyCaos.PPCSize        =    0;
  22903. +     MyCaos.a0        =(ULONG) address;
  22904. +     MyCaos.a1        =(ULONG) length;
  22905. +     MyCaos.d0        =(ULONG) flags;
  22906. +     MyCaos.caos_Un.Offset    =    (-762);
  22907. +     MyCaos.a6        =(ULONG) SysBase;    
  22908. +     return((APTR)PPCCallOS(&MyCaos));
  22909. + }
  22910. + #define    Cause(interrupt)    _Cause(EXEC_BASE_NAME, interrupt)
  22911. + static __inline void
  22912. + _Cause(void *SysBase, struct Interrupt *interrupt)
  22913. + {
  22914. + struct Caos    MyCaos;
  22915. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22916. + //    MyCaos.M68kStart    =    NULL;
  22917. + //    MyCaos.M68kSize        =    0;
  22918. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22919. + //    MyCaos.PPCStart        =    NULL;
  22920. + //    MyCaos.PPCSize        =    0;
  22921. +     MyCaos.a1        =(ULONG) interrupt;
  22922. +     MyCaos.caos_Un.Offset    =    (-180);
  22923. +     MyCaos.a6        =(ULONG) SysBase;    
  22924. +     PPCCallOS(&MyCaos);
  22925. + }
  22926. + #define    CheckIO(ioRequest)    _CheckIO(EXEC_BASE_NAME, ioRequest)
  22927. + static __inline struct IORequest *
  22928. + _CheckIO(void *SysBase, struct IORequest *ioRequest)
  22929. + {
  22930. + struct Caos    MyCaos;
  22931. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22932. + //    MyCaos.M68kStart    =    NULL;
  22933. + //    MyCaos.M68kSize        =    0;
  22934. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22935. + //    MyCaos.PPCStart        =    NULL;
  22936. + //    MyCaos.PPCSize        =    0;
  22937. +     MyCaos.a1        =(ULONG) ioRequest;
  22938. +     MyCaos.caos_Un.Offset    =    (-468);
  22939. +     MyCaos.a6        =(ULONG) SysBase;    
  22940. +     return((struct IORequest *)PPCCallOS(&MyCaos));
  22941. + }
  22942. + #define    ChildFree(tid)    _ChildFree(EXEC_BASE_NAME, tid)
  22943. + static __inline void
  22944. + _ChildFree(void *SysBase, APTR tid)
  22945. + {
  22946. + struct Caos    MyCaos;
  22947. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22948. + //    MyCaos.M68kStart    =    NULL;
  22949. + //    MyCaos.M68kSize        =    0;
  22950. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22951. + //    MyCaos.PPCStart        =    NULL;
  22952. + //    MyCaos.PPCSize        =    0;
  22953. +     MyCaos.d0        =(ULONG) tid;
  22954. +     MyCaos.caos_Un.Offset    =    (-738);
  22955. +     MyCaos.a6        =(ULONG) SysBase;    
  22956. +     PPCCallOS(&MyCaos);
  22957. + }
  22958. + #define    ChildOrphan(tid)    _ChildOrphan(EXEC_BASE_NAME, tid)
  22959. + static __inline void
  22960. + _ChildOrphan(void *SysBase, APTR tid)
  22961. + {
  22962. + struct Caos    MyCaos;
  22963. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22964. + //    MyCaos.M68kStart    =    NULL;
  22965. + //    MyCaos.M68kSize        =    0;
  22966. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22967. + //    MyCaos.PPCStart        =    NULL;
  22968. + //    MyCaos.PPCSize        =    0;
  22969. +     MyCaos.d0        =(ULONG) tid;
  22970. +     MyCaos.caos_Un.Offset    =    (-744);
  22971. +     MyCaos.a6        =(ULONG) SysBase;    
  22972. +     PPCCallOS(&MyCaos);
  22973. + }
  22974. + #define    ChildStatus(tid)    _ChildStatus(EXEC_BASE_NAME, tid)
  22975. + static __inline void
  22976. + _ChildStatus(void *SysBase, APTR tid)
  22977. + {
  22978. + struct Caos    MyCaos;
  22979. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22980. + //    MyCaos.M68kStart    =    NULL;
  22981. + //    MyCaos.M68kSize        =    0;
  22982. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22983. + //    MyCaos.PPCStart        =    NULL;
  22984. + //    MyCaos.PPCSize        =    0;
  22985. +     MyCaos.d0        =(ULONG) tid;
  22986. +     MyCaos.caos_Un.Offset    =    (-750);
  22987. +     MyCaos.a6        =(ULONG) SysBase;    
  22988. +     PPCCallOS(&MyCaos);
  22989. + }
  22990. + #define    ChildWait(tid)    _ChildWait(EXEC_BASE_NAME, tid)
  22991. + static __inline void
  22992. + _ChildWait(void *SysBase, APTR tid)
  22993. + {
  22994. + struct Caos    MyCaos;
  22995. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  22996. + //    MyCaos.M68kStart    =    NULL;
  22997. + //    MyCaos.M68kSize        =    0;
  22998. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  22999. + //    MyCaos.PPCStart        =    NULL;
  23000. + //    MyCaos.PPCSize        =    0;
  23001. +     MyCaos.d0        =(ULONG) tid;
  23002. +     MyCaos.caos_Un.Offset    =    (-756);
  23003. +     MyCaos.a6        =(ULONG) SysBase;    
  23004. +     PPCCallOS(&MyCaos);
  23005. + }
  23006. + #define    CloseDevice(ioRequest)    _CloseDevice(EXEC_BASE_NAME, ioRequest)
  23007. + static __inline void
  23008. + _CloseDevice(void *SysBase, struct IORequest *ioRequest)
  23009. + {
  23010. + struct Caos    MyCaos;
  23011. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23012. + //    MyCaos.M68kStart    =    NULL;
  23013. + //    MyCaos.M68kSize        =    0;
  23014. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23015. + //    MyCaos.PPCStart        =    NULL;
  23016. + //    MyCaos.PPCSize        =    0;
  23017. +     MyCaos.a1        =(ULONG) ioRequest;
  23018. +     MyCaos.caos_Un.Offset    =    (-450);
  23019. +     MyCaos.a6        =(ULONG) SysBase;    
  23020. +     PPCCallOS(&MyCaos);
  23021. + }
  23022. + #define    CloseLibrary(library)    _CloseLibrary(EXEC_BASE_NAME, library)
  23023. + static __inline void
  23024. + _CloseLibrary(void *SysBase, struct Library *library)
  23025. + {
  23026. + struct Caos    MyCaos;
  23027. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23028. + //    MyCaos.M68kStart    =    NULL;
  23029. + //    MyCaos.M68kSize        =    0;
  23030. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23031. + //    MyCaos.PPCStart        =    NULL;
  23032. + //    MyCaos.PPCSize        =    0;
  23033. +     MyCaos.a1        =(ULONG) library;
  23034. +     MyCaos.caos_Un.Offset    =    (-414);
  23035. +     MyCaos.a6        =(ULONG) SysBase;    
  23036. +     PPCCallOS(&MyCaos);
  23037. + }
  23038. + #define    ColdReboot()    _ColdReboot(EXEC_BASE_NAME)
  23039. + static __inline void
  23040. + _ColdReboot(void *SysBase)
  23041. + {
  23042. + struct Caos    MyCaos;
  23043. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23044. + //    MyCaos.M68kStart    =    NULL;
  23045. + //    MyCaos.M68kSize        =    0;
  23046. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23047. + //    MyCaos.PPCStart        =    NULL;
  23048. + //    MyCaos.PPCSize        =    0;
  23049. +     MyCaos.caos_Un.Offset    =    (-726);
  23050. +     MyCaos.a6        =(ULONG) SysBase;    
  23051. +     PPCCallOS(&MyCaos);
  23052. + }
  23053. + #define    CopyMem(source, dest, size)    _CopyMem(EXEC_BASE_NAME, source, dest, size)
  23054. + static __inline void
  23055. + _CopyMem(void *SysBase, APTR source, APTR dest, unsigned long size)
  23056. + {
  23057. + struct Caos    MyCaos;
  23058. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23059. + //    MyCaos.M68kStart    =    NULL;
  23060. + //    MyCaos.M68kSize        =    0;
  23061. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23062. + //    MyCaos.PPCStart        =    NULL;
  23063. + //    MyCaos.PPCSize        =    0;
  23064. +     MyCaos.a0        =(ULONG) source;
  23065. +     MyCaos.a1        =(ULONG) dest;
  23066. +     MyCaos.d0        =(ULONG) size;
  23067. +     MyCaos.caos_Un.Offset    =    (-624);
  23068. +     MyCaos.a6        =(ULONG) SysBase;    
  23069. +     PPCCallOS(&MyCaos);
  23070. + }
  23071. + #define    CopyMemQuick(source, dest, size)    _CopyMemQuick(EXEC_BASE_NAME, source, dest, size)
  23072. + static __inline void
  23073. + _CopyMemQuick(void *SysBase, APTR source, APTR dest, unsigned long size)
  23074. + {
  23075. + struct Caos    MyCaos;
  23076. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23077. + //    MyCaos.M68kStart    =    NULL;
  23078. + //    MyCaos.M68kSize        =    0;
  23079. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23080. + //    MyCaos.PPCStart        =    NULL;
  23081. + //    MyCaos.PPCSize        =    0;
  23082. +     MyCaos.a0        =(ULONG) source;
  23083. +     MyCaos.a1        =(ULONG) dest;
  23084. +     MyCaos.d0        =(ULONG) size;
  23085. +     MyCaos.caos_Un.Offset    =    (-630);
  23086. +     MyCaos.a6        =(ULONG) SysBase;    
  23087. +     PPCCallOS(&MyCaos);
  23088. + }
  23089. + #define    CreateIORequest(port, size)    _CreateIORequest(EXEC_BASE_NAME, port, size)
  23090. + static __inline APTR
  23091. + _CreateIORequest(void *SysBase, struct MsgPort *port, unsigned long size)
  23092. + {
  23093. + struct Caos    MyCaos;
  23094. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23095. + //    MyCaos.M68kStart    =    NULL;
  23096. + //    MyCaos.M68kSize        =    0;
  23097. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23098. + //    MyCaos.PPCStart        =    NULL;
  23099. + //    MyCaos.PPCSize        =    0;
  23100. +     MyCaos.a0        =(ULONG) port;
  23101. +     MyCaos.d0        =(ULONG) size;
  23102. +     MyCaos.caos_Un.Offset    =    (-654);
  23103. +     MyCaos.a6        =(ULONG) SysBase;    
  23104. +     return((APTR)PPCCallOS(&MyCaos));
  23105. + }
  23106. + #define    CreateMsgPort()    _CreateMsgPort(EXEC_BASE_NAME)
  23107. + static __inline struct MsgPort *
  23108. + _CreateMsgPort(void *SysBase)
  23109. + {
  23110. + struct Caos    MyCaos;
  23111. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23112. + //    MyCaos.M68kStart    =    NULL;
  23113. + //    MyCaos.M68kSize        =    0;
  23114. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23115. + //    MyCaos.PPCStart        =    NULL;
  23116. + //    MyCaos.PPCSize        =    0;
  23117. +     MyCaos.caos_Un.Offset    =    (-666);
  23118. +     MyCaos.a6        =(ULONG) SysBase;    
  23119. +     return((struct MsgPort *)PPCCallOS(&MyCaos));
  23120. + }
  23121. + #define    CreatePool(requirements, puddleSize, threshSize)    _CreatePool(EXEC_BASE_NAME, requirements, puddleSize, threshSize)
  23122. + static __inline APTR
  23123. + _CreatePool(void *SysBase, unsigned long requirements, unsigned long puddleSize, unsigned long threshSize)
  23124. + {
  23125. + struct Caos    MyCaos;
  23126. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23127. + //    MyCaos.M68kStart    =    NULL;
  23128. + //    MyCaos.M68kSize        =    0;
  23129. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23130. + //    MyCaos.PPCStart        =    NULL;
  23131. + //    MyCaos.PPCSize        =    0;
  23132. +     MyCaos.d0        =(ULONG) requirements;
  23133. +     MyCaos.d1        =(ULONG) puddleSize;
  23134. +     MyCaos.d2        =(ULONG) threshSize;
  23135. +     MyCaos.caos_Un.Offset    =    (-696);
  23136. +     MyCaos.a6        =(ULONG) SysBase;    
  23137. +     return((APTR)PPCCallOS(&MyCaos));
  23138. + }
  23139. + #define    Deallocate(freeList, memoryBlock, byteSize)    _Deallocate(EXEC_BASE_NAME, freeList, memoryBlock, byteSize)
  23140. + static __inline void
  23141. + _Deallocate(void *SysBase, struct MemHeader *freeList, APTR memoryBlock, unsigned long byteSize)
  23142. + {
  23143. + struct Caos    MyCaos;
  23144. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23145. + //    MyCaos.M68kStart    =    NULL;
  23146. + //    MyCaos.M68kSize        =    0;
  23147. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23148. + //    MyCaos.PPCStart        =    NULL;
  23149. + //    MyCaos.PPCSize        =    0;
  23150. +     MyCaos.a0        =(ULONG) freeList;
  23151. +     MyCaos.a1        =(ULONG) memoryBlock;
  23152. +     MyCaos.d0        =(ULONG) byteSize;
  23153. +     MyCaos.caos_Un.Offset    =    (-192);
  23154. +     MyCaos.a6        =(ULONG) SysBase;    
  23155. +     PPCCallOS(&MyCaos);
  23156. + }
  23157. + #define    Debug(flags)    _Debug(EXEC_BASE_NAME, flags)
  23158. + static __inline void
  23159. + _Debug(void *SysBase, unsigned long flags)
  23160. + {
  23161. + struct Caos    MyCaos;
  23162. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23163. + //    MyCaos.M68kStart    =    NULL;
  23164. + //    MyCaos.M68kSize        =    0;
  23165. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23166. + //    MyCaos.PPCStart        =    NULL;
  23167. + //    MyCaos.PPCSize        =    0;
  23168. +     MyCaos.d0        =(ULONG) flags;
  23169. +     MyCaos.caos_Un.Offset    =    (-114);
  23170. +     MyCaos.a6        =(ULONG) SysBase;    
  23171. +     PPCCallOS(&MyCaos);
  23172. + }
  23173. + #define    DeleteIORequest(iorequest)    _DeleteIORequest(EXEC_BASE_NAME, iorequest)
  23174. + static __inline void
  23175. + _DeleteIORequest(void *SysBase, APTR iorequest)
  23176. + {
  23177. + struct Caos    MyCaos;
  23178. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23179. + //    MyCaos.M68kStart    =    NULL;
  23180. + //    MyCaos.M68kSize        =    0;
  23181. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23182. + //    MyCaos.PPCStart        =    NULL;
  23183. + //    MyCaos.PPCSize        =    0;
  23184. +     MyCaos.a0        =(ULONG) iorequest;
  23185. +     MyCaos.caos_Un.Offset    =    (-660);
  23186. +     MyCaos.a6        =(ULONG) SysBase;    
  23187. +     PPCCallOS(&MyCaos);
  23188. + }
  23189. + #define    DeleteMsgPort(port)    _DeleteMsgPort(EXEC_BASE_NAME, port)
  23190. + static __inline void
  23191. + _DeleteMsgPort(void *SysBase, struct MsgPort *port)
  23192. + {
  23193. + struct Caos    MyCaos;
  23194. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23195. + //    MyCaos.M68kStart    =    NULL;
  23196. + //    MyCaos.M68kSize        =    0;
  23197. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23198. + //    MyCaos.PPCStart        =    NULL;
  23199. + //    MyCaos.PPCSize        =    0;
  23200. +     MyCaos.a0        =(ULONG) port;
  23201. +     MyCaos.caos_Un.Offset    =    (-672);
  23202. +     MyCaos.a6        =(ULONG) SysBase;    
  23203. +     PPCCallOS(&MyCaos);
  23204. + }
  23205. + #define    DeletePool(poolHeader)    _DeletePool(EXEC_BASE_NAME, poolHeader)
  23206. + static __inline void
  23207. + _DeletePool(void *SysBase, APTR poolHeader)
  23208. + {
  23209. + struct Caos    MyCaos;
  23210. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23211. + //    MyCaos.M68kStart    =    NULL;
  23212. + //    MyCaos.M68kSize        =    0;
  23213. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23214. + //    MyCaos.PPCStart        =    NULL;
  23215. + //    MyCaos.PPCSize        =    0;
  23216. +     MyCaos.a0        =(ULONG) poolHeader;
  23217. +     MyCaos.caos_Un.Offset    =    (-702);
  23218. +     MyCaos.a6        =(ULONG) SysBase;    
  23219. +     PPCCallOS(&MyCaos);
  23220. + }
  23221. + #define    Disable()    _Disable(EXEC_BASE_NAME)
  23222. + static __inline void
  23223. + _Disable(void *SysBase)
  23224. + {
  23225. + struct Caos    MyCaos;
  23226. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23227. + //    MyCaos.M68kStart    =    NULL;
  23228. + //    MyCaos.M68kSize        =    0;
  23229. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23230. + //    MyCaos.PPCStart        =    NULL;
  23231. + //    MyCaos.PPCSize        =    0;
  23232. +     MyCaos.caos_Un.Offset    =    (-120);
  23233. +     MyCaos.a6        =(ULONG) SysBase;    
  23234. +     PPCCallOS(&MyCaos);
  23235. + }
  23236. + #define    DoIO(ioRequest)    _DoIO(EXEC_BASE_NAME, ioRequest)
  23237. + static __inline BYTE
  23238. + _DoIO(void *SysBase, struct IORequest *ioRequest)
  23239. + {
  23240. + struct Caos    MyCaos;
  23241. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23242. + //    MyCaos.M68kStart    =    NULL;
  23243. + //    MyCaos.M68kSize        =    0;
  23244. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23245. + //    MyCaos.PPCStart        =    NULL;
  23246. + //    MyCaos.PPCSize        =    0;
  23247. +     MyCaos.a1        =(ULONG) ioRequest;
  23248. +     MyCaos.caos_Un.Offset    =    (-456);
  23249. +     MyCaos.a6        =(ULONG) SysBase;    
  23250. +     return((BYTE)PPCCallOS(&MyCaos));
  23251. + }
  23252. + #define    Enable()    _Enable(EXEC_BASE_NAME)
  23253. + static __inline void
  23254. + _Enable(void *SysBase)
  23255. + {
  23256. + struct Caos    MyCaos;
  23257. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23258. + //    MyCaos.M68kStart    =    NULL;
  23259. + //    MyCaos.M68kSize        =    0;
  23260. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23261. + //    MyCaos.PPCStart        =    NULL;
  23262. + //    MyCaos.PPCSize        =    0;
  23263. +     MyCaos.caos_Un.Offset    =    (-126);
  23264. +     MyCaos.a6        =(ULONG) SysBase;    
  23265. +     PPCCallOS(&MyCaos);
  23266. + }
  23267. + #define    Enqueue(list, node)    _Enqueue(EXEC_BASE_NAME, list, node)
  23268. + static __inline void
  23269. + _Enqueue(void *SysBase, struct List *list, struct Node *node)
  23270. + {
  23271. + struct Caos    MyCaos;
  23272. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23273. + //    MyCaos.M68kStart    =    NULL;
  23274. + //    MyCaos.M68kSize        =    0;
  23275. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23276. + //    MyCaos.PPCStart        =    NULL;
  23277. + //    MyCaos.PPCSize        =    0;
  23278. +     MyCaos.a0        =(ULONG) list;
  23279. +     MyCaos.a1        =(ULONG) node;
  23280. +     MyCaos.caos_Un.Offset    =    (-270);
  23281. +     MyCaos.a6        =(ULONG) SysBase;    
  23282. +     PPCCallOS(&MyCaos);
  23283. + }
  23284. + #define    FindName(list, name)    _FindName(EXEC_BASE_NAME, list, name)
  23285. + static __inline struct Node *
  23286. + _FindName(void *SysBase, struct List *list, UBYTE *name)
  23287. + {
  23288. + struct Caos    MyCaos;
  23289. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23290. + //    MyCaos.M68kStart    =    NULL;
  23291. + //    MyCaos.M68kSize        =    0;
  23292. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23293. + //    MyCaos.PPCStart        =    NULL;
  23294. + //    MyCaos.PPCSize        =    0;
  23295. +     MyCaos.a0        =(ULONG) list;
  23296. +     MyCaos.a1        =(ULONG) name;
  23297. +     MyCaos.caos_Un.Offset    =    (-276);
  23298. +     MyCaos.a6        =(ULONG) SysBase;    
  23299. +     return((struct Node *)PPCCallOS(&MyCaos));
  23300. + }
  23301. + #define    FindPort(name)    _FindPort(EXEC_BASE_NAME, name)
  23302. + static __inline struct MsgPort *
  23303. + _FindPort(void *SysBase, UBYTE *name)
  23304. + {
  23305. + struct Caos    MyCaos;
  23306. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23307. + //    MyCaos.M68kStart    =    NULL;
  23308. + //    MyCaos.M68kSize        =    0;
  23309. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23310. + //    MyCaos.PPCStart        =    NULL;
  23311. + //    MyCaos.PPCSize        =    0;
  23312. +     MyCaos.a1        =(ULONG) name;
  23313. +     MyCaos.caos_Un.Offset    =    (-390);
  23314. +     MyCaos.a6        =(ULONG) SysBase;    
  23315. +     return((struct MsgPort *)PPCCallOS(&MyCaos));
  23316. + }
  23317. + #define    FindResident(name)    _FindResident(EXEC_BASE_NAME, name)
  23318. + static __inline struct Resident *
  23319. + _FindResident(void *SysBase, UBYTE *name)
  23320. + {
  23321. + struct Caos    MyCaos;
  23322. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23323. + //    MyCaos.M68kStart    =    NULL;
  23324. + //    MyCaos.M68kSize        =    0;
  23325. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23326. + //    MyCaos.PPCStart        =    NULL;
  23327. + //    MyCaos.PPCSize        =    0;
  23328. +     MyCaos.a1        =(ULONG) name;
  23329. +     MyCaos.caos_Un.Offset    =    (-96);
  23330. +     MyCaos.a6        =(ULONG) SysBase;    
  23331. +     return((struct Resident *)PPCCallOS(&MyCaos));
  23332. + }
  23333. + #define    FindSemaphore(sigSem)    _FindSemaphore(EXEC_BASE_NAME, sigSem)
  23334. + static __inline struct SignalSemaphore *
  23335. + _FindSemaphore(void *SysBase, UBYTE *sigSem)
  23336. + {
  23337. + struct Caos    MyCaos;
  23338. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23339. + //    MyCaos.M68kStart    =    NULL;
  23340. + //    MyCaos.M68kSize        =    0;
  23341. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23342. + //    MyCaos.PPCStart        =    NULL;
  23343. + //    MyCaos.PPCSize        =    0;
  23344. +     MyCaos.a1        =(ULONG) sigSem;
  23345. +     MyCaos.caos_Un.Offset    =    (-594);
  23346. +     MyCaos.a6        =(ULONG) SysBase;    
  23347. +     return((struct SignalSemaphore *)PPCCallOS(&MyCaos));
  23348. + }
  23349. + #define    FindTask(name)    _FindTask(EXEC_BASE_NAME, name)
  23350. + static __inline struct Task *
  23351. + _FindTask(void *SysBase, UBYTE *name)
  23352. + {
  23353. + struct Caos    MyCaos;
  23354. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23355. + //    MyCaos.M68kStart    =    NULL;
  23356. + //    MyCaos.M68kSize        =    0;
  23357. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23358. + //    MyCaos.PPCStart        =    NULL;
  23359. + //    MyCaos.PPCSize        =    0;
  23360. +     MyCaos.a1        =(ULONG) name;
  23361. +     MyCaos.caos_Un.Offset    =    (-294);
  23362. +     MyCaos.a6        =(ULONG) SysBase;    
  23363. +     return((struct Task *)PPCCallOS(&MyCaos));
  23364. + }
  23365. + #define    Forbid()    _Forbid(EXEC_BASE_NAME)
  23366. + static __inline void
  23367. + _Forbid(void *SysBase)
  23368. + {
  23369. + struct Caos    MyCaos;
  23370. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23371. + //    MyCaos.M68kStart    =    NULL;
  23372. + //    MyCaos.M68kSize        =    0;
  23373. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23374. + //    MyCaos.PPCStart        =    NULL;
  23375. + //    MyCaos.PPCSize        =    0;
  23376. +     MyCaos.caos_Un.Offset    =    (-132);
  23377. +     MyCaos.a6        =(ULONG) SysBase;    
  23378. +     PPCCallOS(&MyCaos);
  23379. + }
  23380. + #define    FreeEntry(entry)    _FreeEntry(EXEC_BASE_NAME, entry)
  23381. + static __inline void
  23382. + _FreeEntry(void *SysBase, struct MemList *entry)
  23383. + {
  23384. + struct Caos    MyCaos;
  23385. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23386. + //    MyCaos.M68kStart    =    NULL;
  23387. + //    MyCaos.M68kSize        =    0;
  23388. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23389. + //    MyCaos.PPCStart        =    NULL;
  23390. + //    MyCaos.PPCSize        =    0;
  23391. +     MyCaos.a0        =(ULONG) entry;
  23392. +     MyCaos.caos_Un.Offset    =    (-228);
  23393. +     MyCaos.a6        =(ULONG) SysBase;    
  23394. +     PPCCallOS(&MyCaos);
  23395. + }
  23396. + #define    FreeMem(memoryBlock, byteSize)    _FreeMem(EXEC_BASE_NAME, memoryBlock, byteSize)
  23397. + static __inline void
  23398. + _FreeMem(void *SysBase, APTR memoryBlock, unsigned long byteSize)
  23399. + {
  23400. + struct Caos    MyCaos;
  23401. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23402. + //    MyCaos.M68kStart    =    NULL;
  23403. + //    MyCaos.M68kSize        =    0;
  23404. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23405. + //    MyCaos.PPCStart        =    NULL;
  23406. + //    MyCaos.PPCSize        =    0;
  23407. +     MyCaos.a1        =(ULONG) memoryBlock;
  23408. +     MyCaos.d0        =(ULONG) byteSize;
  23409. +     MyCaos.caos_Un.Offset    =    (-210);
  23410. +     MyCaos.a6        =(ULONG) SysBase;    
  23411. +     PPCCallOS(&MyCaos);
  23412. + }
  23413. + #define    FreePooled(poolHeader, memory, memSize)    _FreePooled(EXEC_BASE_NAME, poolHeader, memory, memSize)
  23414. + static __inline void
  23415. + _FreePooled(void *SysBase, APTR poolHeader, APTR memory, unsigned long memSize)
  23416. + {
  23417. + struct Caos    MyCaos;
  23418. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23419. + //    MyCaos.M68kStart    =    NULL;
  23420. + //    MyCaos.M68kSize        =    0;
  23421. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23422. + //    MyCaos.PPCStart        =    NULL;
  23423. + //    MyCaos.PPCSize        =    0;
  23424. +     MyCaos.a0        =(ULONG) poolHeader;
  23425. +     MyCaos.a1        =(ULONG) memory;
  23426. +     MyCaos.d0        =(ULONG) memSize;
  23427. +     MyCaos.caos_Un.Offset    =    (-714);
  23428. +     MyCaos.a6        =(ULONG) SysBase;    
  23429. +     PPCCallOS(&MyCaos);
  23430. + }
  23431. + #define    FreeSignal(signalNum)    _FreeSignal(EXEC_BASE_NAME, signalNum)
  23432. + static __inline void
  23433. + _FreeSignal(void *SysBase, long signalNum)
  23434. + {
  23435. + struct Caos    MyCaos;
  23436. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23437. + //    MyCaos.M68kStart    =    NULL;
  23438. + //    MyCaos.M68kSize        =    0;
  23439. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23440. + //    MyCaos.PPCStart        =    NULL;
  23441. + //    MyCaos.PPCSize        =    0;
  23442. +     MyCaos.d0        =(ULONG) signalNum;
  23443. +     MyCaos.caos_Un.Offset    =    (-336);
  23444. +     MyCaos.a6        =(ULONG) SysBase;    
  23445. +     PPCCallOS(&MyCaos);
  23446. + }
  23447. + #define    FreeTrap(trapNum)    _FreeTrap(EXEC_BASE_NAME, trapNum)
  23448. + static __inline void
  23449. + _FreeTrap(void *SysBase, long trapNum)
  23450. + {
  23451. + struct Caos    MyCaos;
  23452. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23453. + //    MyCaos.M68kStart    =    NULL;
  23454. + //    MyCaos.M68kSize        =    0;
  23455. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23456. + //    MyCaos.PPCStart        =    NULL;
  23457. + //    MyCaos.PPCSize        =    0;
  23458. +     MyCaos.d0        =(ULONG) trapNum;
  23459. +     MyCaos.caos_Un.Offset    =    (-348);
  23460. +     MyCaos.a6        =(ULONG) SysBase;    
  23461. +     PPCCallOS(&MyCaos);
  23462. + }
  23463. + #define    FreeVec(memoryBlock)    _FreeVec(EXEC_BASE_NAME, memoryBlock)
  23464. + static __inline void
  23465. + _FreeVec(void *SysBase, APTR memoryBlock)
  23466. + {
  23467. + struct Caos    MyCaos;
  23468. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23469. + //    MyCaos.M68kStart    =    NULL;
  23470. + //    MyCaos.M68kSize        =    0;
  23471. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23472. + //    MyCaos.PPCStart        =    NULL;
  23473. + //    MyCaos.PPCSize        =    0;
  23474. +     MyCaos.a1        =(ULONG) memoryBlock;
  23475. +     MyCaos.caos_Un.Offset    =    (-690);
  23476. +     MyCaos.a6        =(ULONG) SysBase;    
  23477. +     PPCCallOS(&MyCaos);
  23478. + }
  23479. + #define    GetCC()    _GetCC(EXEC_BASE_NAME)
  23480. + static __inline ULONG
  23481. + _GetCC(void *SysBase)
  23482. + {
  23483. + struct Caos    MyCaos;
  23484. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23485. + //    MyCaos.M68kStart    =    NULL;
  23486. + //    MyCaos.M68kSize        =    0;
  23487. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23488. + //    MyCaos.PPCStart        =    NULL;
  23489. + //    MyCaos.PPCSize        =    0;
  23490. +     MyCaos.caos_Un.Offset    =    (-528);
  23491. +     MyCaos.a6        =(ULONG) SysBase;    
  23492. +     return((ULONG)PPCCallOS(&MyCaos));
  23493. + }
  23494. + #define    GetMsg(port)    _GetMsg(EXEC_BASE_NAME, port)
  23495. + static __inline struct Message *
  23496. + _GetMsg(void *SysBase, struct MsgPort *port)
  23497. + {
  23498. + struct Caos    MyCaos;
  23499. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23500. + //    MyCaos.M68kStart    =    NULL;
  23501. + //    MyCaos.M68kSize        =    0;
  23502. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23503. + //    MyCaos.PPCStart        =    NULL;
  23504. + //    MyCaos.PPCSize        =    0;
  23505. +     MyCaos.a0        =(ULONG) port;
  23506. +     MyCaos.caos_Un.Offset    =    (-372);
  23507. +     MyCaos.a6        =(ULONG) SysBase;    
  23508. +     return((struct Message *)PPCCallOS(&MyCaos));
  23509. + }
  23510. + #define    InitCode(startClass, version)    _InitCode(EXEC_BASE_NAME, startClass, version)
  23511. + static __inline void
  23512. + _InitCode(void *SysBase, unsigned long startClass, unsigned long version)
  23513. + {
  23514. + struct Caos    MyCaos;
  23515. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23516. + //    MyCaos.M68kStart    =    NULL;
  23517. + //    MyCaos.M68kSize        =    0;
  23518. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23519. + //    MyCaos.PPCStart        =    NULL;
  23520. + //    MyCaos.PPCSize        =    0;
  23521. +     MyCaos.d0        =(ULONG) startClass;
  23522. +     MyCaos.d1        =(ULONG) version;
  23523. +     MyCaos.caos_Un.Offset    =    (-72);
  23524. +     MyCaos.a6        =(ULONG) SysBase;    
  23525. +     PPCCallOS(&MyCaos);
  23526. + }
  23527. + #define    InitResident(resident, segList)    _InitResident(EXEC_BASE_NAME, resident, segList)
  23528. + static __inline APTR
  23529. + _InitResident(void *SysBase, struct Resident *resident, unsigned long segList)
  23530. + {
  23531. + struct Caos    MyCaos;
  23532. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23533. + //    MyCaos.M68kStart    =    NULL;
  23534. + //    MyCaos.M68kSize        =    0;
  23535. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23536. + //    MyCaos.PPCStart        =    NULL;
  23537. + //    MyCaos.PPCSize        =    0;
  23538. +     MyCaos.a1        =(ULONG) resident;
  23539. +     MyCaos.d1        =(ULONG) segList;
  23540. +     MyCaos.caos_Un.Offset    =    (-102);
  23541. +     MyCaos.a6        =(ULONG) SysBase;    
  23542. +     return((APTR)PPCCallOS(&MyCaos));
  23543. + }
  23544. + #define    InitSemaphore(sigSem)    _InitSemaphore(EXEC_BASE_NAME, sigSem)
  23545. + static __inline void
  23546. + _InitSemaphore(void *SysBase, struct SignalSemaphore *sigSem)
  23547. + {
  23548. + struct Caos    MyCaos;
  23549. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23550. + //    MyCaos.M68kStart    =    NULL;
  23551. + //    MyCaos.M68kSize        =    0;
  23552. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23553. + //    MyCaos.PPCStart        =    NULL;
  23554. + //    MyCaos.PPCSize        =    0;
  23555. +     MyCaos.a0        =(ULONG) sigSem;
  23556. +     MyCaos.caos_Un.Offset    =    (-558);
  23557. +     MyCaos.a6        =(ULONG) SysBase;    
  23558. +     PPCCallOS(&MyCaos);
  23559. + }
  23560. + #define    InitStruct(initTable, memory, size)    _InitStruct(EXEC_BASE_NAME, initTable, memory, size)
  23561. + static __inline void
  23562. + _InitStruct(void *SysBase, APTR initTable, APTR memory, unsigned long size)
  23563. + {
  23564. + struct Caos    MyCaos;
  23565. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23566. + //    MyCaos.M68kStart    =    NULL;
  23567. + //    MyCaos.M68kSize        =    0;
  23568. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23569. + //    MyCaos.PPCStart        =    NULL;
  23570. + //    MyCaos.PPCSize        =    0;
  23571. +     MyCaos.a1        =(ULONG) initTable;
  23572. +     MyCaos.a2        =(ULONG) memory;
  23573. +     MyCaos.d0        =(ULONG) size;
  23574. +     MyCaos.caos_Un.Offset    =    (-78);
  23575. +     MyCaos.a6        =(ULONG) SysBase;    
  23576. +     PPCCallOS(&MyCaos);
  23577. + }
  23578. + #define    Insert(list, node, pred)    _Insert(EXEC_BASE_NAME, list, node, pred)
  23579. + static __inline void
  23580. + _Insert(void *SysBase, struct List *list, struct Node *node, struct Node *pred)
  23581. + {
  23582. + struct Caos    MyCaos;
  23583. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23584. + //    MyCaos.M68kStart    =    NULL;
  23585. + //    MyCaos.M68kSize        =    0;
  23586. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23587. + //    MyCaos.PPCStart        =    NULL;
  23588. + //    MyCaos.PPCSize        =    0;
  23589. +     MyCaos.a0        =(ULONG) list;
  23590. +     MyCaos.a1        =(ULONG) node;
  23591. +     MyCaos.a2        =(ULONG) pred;
  23592. +     MyCaos.caos_Un.Offset    =    (-234);
  23593. +     MyCaos.a6        =(ULONG) SysBase;    
  23594. +     PPCCallOS(&MyCaos);
  23595. + }
  23596. + #define    MakeFunctions(target, functionArray, funcDispBase)    _MakeFunctions(EXEC_BASE_NAME, target, functionArray, funcDispBase)
  23597. + static __inline void
  23598. + _MakeFunctions(void *SysBase, APTR target, APTR functionArray, unsigned long funcDispBase)
  23599. + {
  23600. + struct Caos    MyCaos;
  23601. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23602. + //    MyCaos.M68kStart    =    NULL;
  23603. + //    MyCaos.M68kSize        =    0;
  23604. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23605. + //    MyCaos.PPCStart        =    NULL;
  23606. + //    MyCaos.PPCSize        =    0;
  23607. +     MyCaos.a0        =(ULONG) target;
  23608. +     MyCaos.a1        =(ULONG) functionArray;
  23609. +     MyCaos.a2        =(ULONG) funcDispBase;
  23610. +     MyCaos.caos_Un.Offset    =    (-90);
  23611. +     MyCaos.a6        =(ULONG) SysBase;    
  23612. +     PPCCallOS(&MyCaos);
  23613. + }
  23614. + #define    MakeLibrary(funcInit, structInit, libInit, dataSize, segList)    _MakeLibrary(EXEC_BASE_NAME, funcInit, structInit, libInit, dataSize, segList)
  23615. + static __inline struct Library *
  23616. + _MakeLibrary(void *SysBase, APTR funcInit, APTR structInit, unsigned long (*libInit)(), unsigned long dataSize, unsigned long segList)
  23617. + {
  23618. + struct Caos    MyCaos;
  23619. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23620. + //    MyCaos.M68kStart    =    NULL;
  23621. + //    MyCaos.M68kSize        =    0;
  23622. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23623. + //    MyCaos.PPCStart        =    NULL;
  23624. + //    MyCaos.PPCSize        =    0;
  23625. +     MyCaos.a0        =(ULONG) funcInit;
  23626. +     MyCaos.a1        =(ULONG) structInit;
  23627. +     MyCaos.a2        =(ULONG) libInit;
  23628. +     MyCaos.d0        =(ULONG) dataSize;
  23629. +     MyCaos.d1        =(ULONG) segList;
  23630. +     MyCaos.caos_Un.Offset    =    (-84);
  23631. +     MyCaos.a6        =(ULONG) SysBase;    
  23632. +     return((struct Library *)PPCCallOS(&MyCaos));
  23633. + }
  23634. + #define    ObtainQuickVector(interruptCode)    _ObtainQuickVector(EXEC_BASE_NAME, interruptCode)
  23635. + static __inline ULONG
  23636. + _ObtainQuickVector(void *SysBase, APTR interruptCode)
  23637. + {
  23638. + struct Caos    MyCaos;
  23639. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23640. + //    MyCaos.M68kStart    =    NULL;
  23641. + //    MyCaos.M68kSize        =    0;
  23642. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23643. + //    MyCaos.PPCStart        =    NULL;
  23644. + //    MyCaos.PPCSize        =    0;
  23645. +     MyCaos.a0        =(ULONG) interruptCode;
  23646. +     MyCaos.caos_Un.Offset    =    (-786);
  23647. +     MyCaos.a6        =(ULONG) SysBase;    
  23648. +     return((ULONG)PPCCallOS(&MyCaos));
  23649. + }
  23650. + #define    ObtainSemaphore(sigSem)    _ObtainSemaphore(EXEC_BASE_NAME, sigSem)
  23651. + static __inline void
  23652. + _ObtainSemaphore(void *SysBase, struct SignalSemaphore *sigSem)
  23653. + {
  23654. + struct Caos    MyCaos;
  23655. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23656. + //    MyCaos.M68kStart    =    NULL;
  23657. + //    MyCaos.M68kSize        =    0;
  23658. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23659. + //    MyCaos.PPCStart        =    NULL;
  23660. + //    MyCaos.PPCSize        =    0;
  23661. +     MyCaos.a0        =(ULONG) sigSem;
  23662. +     MyCaos.caos_Un.Offset    =    (-564);
  23663. +     MyCaos.a6        =(ULONG) SysBase;    
  23664. +     PPCCallOS(&MyCaos);
  23665. + }
  23666. + #define    ObtainSemaphoreList(sigSem)    _ObtainSemaphoreList(EXEC_BASE_NAME, sigSem)
  23667. + static __inline void
  23668. + _ObtainSemaphoreList(void *SysBase, struct List *sigSem)
  23669. + {
  23670. + struct Caos    MyCaos;
  23671. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23672. + //    MyCaos.M68kStart    =    NULL;
  23673. + //    MyCaos.M68kSize        =    0;
  23674. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23675. + //    MyCaos.PPCStart        =    NULL;
  23676. + //    MyCaos.PPCSize        =    0;
  23677. +     MyCaos.a0        =(ULONG) sigSem;
  23678. +     MyCaos.caos_Un.Offset    =    (-582);
  23679. +     MyCaos.a6        =(ULONG) SysBase;    
  23680. +     PPCCallOS(&MyCaos);
  23681. + }
  23682. + #define    ObtainSemaphoreShared(sigSem)    _ObtainSemaphoreShared(EXEC_BASE_NAME, sigSem)
  23683. + static __inline void
  23684. + _ObtainSemaphoreShared(void *SysBase, struct SignalSemaphore *sigSem)
  23685. + {
  23686. + struct Caos    MyCaos;
  23687. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23688. + //    MyCaos.M68kStart    =    NULL;
  23689. + //    MyCaos.M68kSize        =    0;
  23690. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23691. + //    MyCaos.PPCStart        =    NULL;
  23692. + //    MyCaos.PPCSize        =    0;
  23693. +     MyCaos.a0        =(ULONG) sigSem;
  23694. +     MyCaos.caos_Un.Offset    =    (-678);
  23695. +     MyCaos.a6        =(ULONG) SysBase;    
  23696. +     PPCCallOS(&MyCaos);
  23697. + }
  23698. + #define    OldOpenLibrary(libName)    _OldOpenLibrary(EXEC_BASE_NAME, libName)
  23699. + static __inline struct Library *
  23700. + _OldOpenLibrary(void *SysBase, UBYTE *libName)
  23701. + {
  23702. + struct Caos    MyCaos;
  23703. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23704. + //    MyCaos.M68kStart    =    NULL;
  23705. + //    MyCaos.M68kSize        =    0;
  23706. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23707. + //    MyCaos.PPCStart        =    NULL;
  23708. + //    MyCaos.PPCSize        =    0;
  23709. +     MyCaos.a1        =(ULONG) libName;
  23710. +     MyCaos.caos_Un.Offset    =    (-408);
  23711. +     MyCaos.a6        =(ULONG) SysBase;    
  23712. +     return((struct Library *)PPCCallOS(&MyCaos));
  23713. + }
  23714. + #define    OpenDevice(devName, unit, ioRequest, flags)    _OpenDevice(EXEC_BASE_NAME, devName, unit, ioRequest, flags)
  23715. + static __inline BYTE
  23716. + _OpenDevice(void *SysBase, UBYTE *devName, unsigned long unit, struct IORequest *ioRequest, unsigned long flags)
  23717. + {
  23718. + struct Caos    MyCaos;
  23719. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23720. + //    MyCaos.M68kStart    =    NULL;
  23721. + //    MyCaos.M68kSize        =    0;
  23722. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23723. + //    MyCaos.PPCStart        =    NULL;
  23724. + //    MyCaos.PPCSize        =    0;
  23725. +     MyCaos.a0        =(ULONG) devName;
  23726. +     MyCaos.d0        =(ULONG) unit;
  23727. +     MyCaos.a1        =(ULONG) ioRequest;
  23728. +     MyCaos.d1        =(ULONG) flags;
  23729. +     MyCaos.caos_Un.Offset    =    (-444);
  23730. +     MyCaos.a6        =(ULONG) SysBase;    
  23731. +     return((BYTE)PPCCallOS(&MyCaos));
  23732. + }
  23733. + #define    OpenLibrary(libName, version)    _OpenLibrary(EXEC_BASE_NAME, libName, version)
  23734. + static __inline struct Library *
  23735. + _OpenLibrary(void *SysBase, UBYTE *libName, unsigned long version)
  23736. + {
  23737. + struct Caos    MyCaos;
  23738. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23739. + //    MyCaos.M68kStart    =    NULL;
  23740. + //    MyCaos.M68kSize        =    0;
  23741. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23742. + //    MyCaos.PPCStart        =    NULL;
  23743. + //    MyCaos.PPCSize        =    0;
  23744. +     MyCaos.a1        =(ULONG) libName;
  23745. +     MyCaos.d0        =(ULONG) version;
  23746. +     MyCaos.caos_Un.Offset    =    (-552);
  23747. +     MyCaos.a6        =(ULONG) SysBase;    
  23748. +     return((struct Library *)PPCCallOS(&MyCaos));
  23749. + }
  23750. + #define    OpenResource(resName)    _OpenResource(EXEC_BASE_NAME, resName)
  23751. + static __inline APTR
  23752. + _OpenResource(void *SysBase, UBYTE *resName)
  23753. + {
  23754. + struct Caos    MyCaos;
  23755. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23756. + //    MyCaos.M68kStart    =    NULL;
  23757. + //    MyCaos.M68kSize        =    0;
  23758. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23759. + //    MyCaos.PPCStart        =    NULL;
  23760. + //    MyCaos.PPCSize        =    0;
  23761. +     MyCaos.a1        =(ULONG) resName;
  23762. +     MyCaos.caos_Un.Offset    =    (-498);
  23763. +     MyCaos.a6        =(ULONG) SysBase;    
  23764. +     return((APTR)PPCCallOS(&MyCaos));
  23765. + }
  23766. + #define    Permit()    _Permit(EXEC_BASE_NAME)
  23767. + static __inline void
  23768. + _Permit(void *SysBase)
  23769. + {
  23770. + struct Caos    MyCaos;
  23771. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23772. + //    MyCaos.M68kStart    =    NULL;
  23773. + //    MyCaos.M68kSize        =    0;
  23774. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23775. + //    MyCaos.PPCStart        =    NULL;
  23776. + //    MyCaos.PPCSize        =    0;
  23777. +     MyCaos.caos_Un.Offset    =    (-138);
  23778. +     MyCaos.a6        =(ULONG) SysBase;    
  23779. +     PPCCallOS(&MyCaos);
  23780. + }
  23781. + #define    Procure(sigSem, bidMsg)    _Procure(EXEC_BASE_NAME, sigSem, bidMsg)
  23782. + static __inline ULONG
  23783. + _Procure(void *SysBase, struct SignalSemaphore *sigSem, struct SemaphoreMessage *bidMsg)
  23784. + {
  23785. + struct Caos    MyCaos;
  23786. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23787. + //    MyCaos.M68kStart    =    NULL;
  23788. + //    MyCaos.M68kSize        =    0;
  23789. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23790. + //    MyCaos.PPCStart        =    NULL;
  23791. + //    MyCaos.PPCSize        =    0;
  23792. +     MyCaos.a0        =(ULONG) sigSem;
  23793. +     MyCaos.a1        =(ULONG) bidMsg;
  23794. +     MyCaos.caos_Un.Offset    =    (-540);
  23795. +     MyCaos.a6        =(ULONG) SysBase;    
  23796. +     return((ULONG)PPCCallOS(&MyCaos));
  23797. + }
  23798. + #define    PutMsg(port, message)    _PutMsg(EXEC_BASE_NAME, port, message)
  23799. + static __inline void
  23800. + _PutMsg(void *SysBase, struct MsgPort *port, struct Message *message)
  23801. + {
  23802. + struct Caos    MyCaos;
  23803. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23804. + //    MyCaos.M68kStart    =    NULL;
  23805. + //    MyCaos.M68kSize        =    0;
  23806. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23807. + //    MyCaos.PPCStart        =    NULL;
  23808. + //    MyCaos.PPCSize        =    0;
  23809. +     MyCaos.a0        =(ULONG) port;
  23810. +     MyCaos.a1        =(ULONG) message;
  23811. +     MyCaos.caos_Un.Offset    =    (-366);
  23812. +     MyCaos.a6        =(ULONG) SysBase;    
  23813. +     PPCCallOS(&MyCaos);
  23814. + }
  23815. + #define    RawDoFmt(formatString, dataStream, putChProc, putChData)    _RawDoFmt(EXEC_BASE_NAME, formatString, dataStream, putChProc, putChData)
  23816. + static __inline APTR
  23817. + _RawDoFmt(void *SysBase, UBYTE *formatString, APTR dataStream, void (*putChProc)(), APTR putChData)
  23818. + {
  23819. + struct Caos    MyCaos;
  23820. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23821. + //    MyCaos.M68kStart    =    NULL;
  23822. + //    MyCaos.M68kSize        =    0;
  23823. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23824. + //    MyCaos.PPCStart        =    NULL;
  23825. + //    MyCaos.PPCSize        =    0;
  23826. +     MyCaos.a0        =(ULONG) formatString;
  23827. +     MyCaos.a1        =(ULONG) dataStream;
  23828. +     MyCaos.a2        =(ULONG) putChProc;
  23829. +     MyCaos.a3        =(ULONG) putChData;
  23830. +     MyCaos.caos_Un.Offset    =    (-522);
  23831. +     MyCaos.a6        =(ULONG) SysBase;    
  23832. +     return((APTR)PPCCallOS(&MyCaos));
  23833. + }
  23834. + #define    ReleaseSemaphore(sigSem)    _ReleaseSemaphore(EXEC_BASE_NAME, sigSem)
  23835. + static __inline void
  23836. + _ReleaseSemaphore(void *SysBase, struct SignalSemaphore *sigSem)
  23837. + {
  23838. + struct Caos    MyCaos;
  23839. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23840. + //    MyCaos.M68kStart    =    NULL;
  23841. + //    MyCaos.M68kSize        =    0;
  23842. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23843. + //    MyCaos.PPCStart        =    NULL;
  23844. + //    MyCaos.PPCSize        =    0;
  23845. +     MyCaos.a0        =(ULONG) sigSem;
  23846. +     MyCaos.caos_Un.Offset    =    (-570);
  23847. +     MyCaos.a6        =(ULONG) SysBase;    
  23848. +     PPCCallOS(&MyCaos);
  23849. + }
  23850. + #define    ReleaseSemaphoreList(sigSem)    _ReleaseSemaphoreList(EXEC_BASE_NAME, sigSem)
  23851. + static __inline void
  23852. + _ReleaseSemaphoreList(void *SysBase, struct List *sigSem)
  23853. + {
  23854. + struct Caos    MyCaos;
  23855. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23856. + //    MyCaos.M68kStart    =    NULL;
  23857. + //    MyCaos.M68kSize        =    0;
  23858. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23859. + //    MyCaos.PPCStart        =    NULL;
  23860. + //    MyCaos.PPCSize        =    0;
  23861. +     MyCaos.a0        =(ULONG) sigSem;
  23862. +     MyCaos.caos_Un.Offset    =    (-588);
  23863. +     MyCaos.a6        =(ULONG) SysBase;    
  23864. +     PPCCallOS(&MyCaos);
  23865. + }
  23866. + #define    RemDevice(device)    _RemDevice(EXEC_BASE_NAME, device)
  23867. + static __inline void
  23868. + _RemDevice(void *SysBase, struct Device *device)
  23869. + {
  23870. + struct Caos    MyCaos;
  23871. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23872. + //    MyCaos.M68kStart    =    NULL;
  23873. + //    MyCaos.M68kSize        =    0;
  23874. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23875. + //    MyCaos.PPCStart        =    NULL;
  23876. + //    MyCaos.PPCSize        =    0;
  23877. +     MyCaos.a1        =(ULONG) device;
  23878. +     MyCaos.caos_Un.Offset    =    (-438);
  23879. +     MyCaos.a6        =(ULONG) SysBase;    
  23880. +     PPCCallOS(&MyCaos);
  23881. + }
  23882. + #define    RemHead(list)    _RemHead(EXEC_BASE_NAME, list)
  23883. + static __inline struct Node *
  23884. + _RemHead(void *SysBase, struct List *list)
  23885. + {
  23886. + struct Caos    MyCaos;
  23887. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23888. + //    MyCaos.M68kStart    =    NULL;
  23889. + //    MyCaos.M68kSize        =    0;
  23890. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23891. + //    MyCaos.PPCStart        =    NULL;
  23892. + //    MyCaos.PPCSize        =    0;
  23893. +     MyCaos.a0        =(ULONG) list;
  23894. +     MyCaos.caos_Un.Offset    =    (-258);
  23895. +     MyCaos.a6        =(ULONG) SysBase;    
  23896. +     return((struct Node *)PPCCallOS(&MyCaos));
  23897. + }
  23898. + #define    RemIntServer(intNumber, interrupt)    _RemIntServer(EXEC_BASE_NAME, intNumber, interrupt)
  23899. + static __inline void
  23900. + _RemIntServer(void *SysBase, long intNumber, struct Interrupt *interrupt)
  23901. + {
  23902. + struct Caos    MyCaos;
  23903. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23904. + //    MyCaos.M68kStart    =    NULL;
  23905. + //    MyCaos.M68kSize        =    0;
  23906. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23907. + //    MyCaos.PPCStart        =    NULL;
  23908. + //    MyCaos.PPCSize        =    0;
  23909. +     MyCaos.d0        =(ULONG) intNumber;
  23910. +     MyCaos.a1        =(ULONG) interrupt;
  23911. +     MyCaos.caos_Un.Offset    =    (-174);
  23912. +     MyCaos.a6        =(ULONG) SysBase;    
  23913. +     PPCCallOS(&MyCaos);
  23914. + }
  23915. + #define    RemLibrary(library)    _RemLibrary(EXEC_BASE_NAME, library)
  23916. + static __inline void
  23917. + _RemLibrary(void *SysBase, struct Library *library)
  23918. + {
  23919. + struct Caos    MyCaos;
  23920. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23921. + //    MyCaos.M68kStart    =    NULL;
  23922. + //    MyCaos.M68kSize        =    0;
  23923. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23924. + //    MyCaos.PPCStart        =    NULL;
  23925. + //    MyCaos.PPCSize        =    0;
  23926. +     MyCaos.a1        =(ULONG) library;
  23927. +     MyCaos.caos_Un.Offset    =    (-402);
  23928. +     MyCaos.a6        =(ULONG) SysBase;    
  23929. +     PPCCallOS(&MyCaos);
  23930. + }
  23931. + #define    RemMemHandler(memhand)    _RemMemHandler(EXEC_BASE_NAME, memhand)
  23932. + static __inline void
  23933. + _RemMemHandler(void *SysBase, struct Interrupt *memhand)
  23934. + {
  23935. + struct Caos    MyCaos;
  23936. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23937. + //    MyCaos.M68kStart    =    NULL;
  23938. + //    MyCaos.M68kSize        =    0;
  23939. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23940. + //    MyCaos.PPCStart        =    NULL;
  23941. + //    MyCaos.PPCSize        =    0;
  23942. +     MyCaos.a1        =(ULONG) memhand;
  23943. +     MyCaos.caos_Un.Offset    =    (-780);
  23944. +     MyCaos.a6        =(ULONG) SysBase;    
  23945. +     PPCCallOS(&MyCaos);
  23946. + }
  23947. + #define    RemPort(port)    _RemPort(EXEC_BASE_NAME, port)
  23948. + static __inline void
  23949. + _RemPort(void *SysBase, struct MsgPort *port)
  23950. + {
  23951. + struct Caos    MyCaos;
  23952. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23953. + //    MyCaos.M68kStart    =    NULL;
  23954. + //    MyCaos.M68kSize        =    0;
  23955. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23956. + //    MyCaos.PPCStart        =    NULL;
  23957. + //    MyCaos.PPCSize        =    0;
  23958. +     MyCaos.a1        =(ULONG) port;
  23959. +     MyCaos.caos_Un.Offset    =    (-360);
  23960. +     MyCaos.a6        =(ULONG) SysBase;    
  23961. +     PPCCallOS(&MyCaos);
  23962. + }
  23963. + #define    RemResource(resource)    _RemResource(EXEC_BASE_NAME, resource)
  23964. + static __inline void
  23965. + _RemResource(void *SysBase, APTR resource)
  23966. + {
  23967. + struct Caos    MyCaos;
  23968. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23969. + //    MyCaos.M68kStart    =    NULL;
  23970. + //    MyCaos.M68kSize        =    0;
  23971. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23972. + //    MyCaos.PPCStart        =    NULL;
  23973. + //    MyCaos.PPCSize        =    0;
  23974. +     MyCaos.a1        =(ULONG) resource;
  23975. +     MyCaos.caos_Un.Offset    =    (-492);
  23976. +     MyCaos.a6        =(ULONG) SysBase;    
  23977. +     PPCCallOS(&MyCaos);
  23978. + }
  23979. + #define    RemSemaphore(sigSem)    _RemSemaphore(EXEC_BASE_NAME, sigSem)
  23980. + static __inline void
  23981. + _RemSemaphore(void *SysBase, struct SignalSemaphore *sigSem)
  23982. + {
  23983. + struct Caos    MyCaos;
  23984. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  23985. + //    MyCaos.M68kStart    =    NULL;
  23986. + //    MyCaos.M68kSize        =    0;
  23987. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  23988. + //    MyCaos.PPCStart        =    NULL;
  23989. + //    MyCaos.PPCSize        =    0;
  23990. +     MyCaos.a1        =(ULONG) sigSem;
  23991. +     MyCaos.caos_Un.Offset    =    (-606);
  23992. +     MyCaos.a6        =(ULONG) SysBase;    
  23993. +     PPCCallOS(&MyCaos);
  23994. + }
  23995. + #define    RemTail(list)    _RemTail(EXEC_BASE_NAME, list)
  23996. + static __inline struct Node *
  23997. + _RemTail(void *SysBase, struct List *list)
  23998. + {
  23999. + struct Caos    MyCaos;
  24000. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24001. + //    MyCaos.M68kStart    =    NULL;
  24002. + //    MyCaos.M68kSize        =    0;
  24003. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24004. + //    MyCaos.PPCStart        =    NULL;
  24005. + //    MyCaos.PPCSize        =    0;
  24006. +     MyCaos.a0        =(ULONG) list;
  24007. +     MyCaos.caos_Un.Offset    =    (-264);
  24008. +     MyCaos.a6        =(ULONG) SysBase;    
  24009. +     return((struct Node *)PPCCallOS(&MyCaos));
  24010. + }
  24011. + #define    RemTask(task)    _RemTask(EXEC_BASE_NAME, task)
  24012. + static __inline void
  24013. + _RemTask(void *SysBase, struct Task *task)
  24014. + {
  24015. + struct Caos    MyCaos;
  24016. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24017. + //    MyCaos.M68kStart    =    NULL;
  24018. + //    MyCaos.M68kSize        =    0;
  24019. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24020. + //    MyCaos.PPCStart        =    NULL;
  24021. + //    MyCaos.PPCSize        =    0;
  24022. +     MyCaos.a1        =(ULONG) task;
  24023. +     MyCaos.caos_Un.Offset    =    (-288);
  24024. +     MyCaos.a6        =(ULONG) SysBase;    
  24025. +     PPCCallOS(&MyCaos);
  24026. + }
  24027. + #define    Remove(node)    _Remove(EXEC_BASE_NAME, node)
  24028. + static __inline void
  24029. + _Remove(void *SysBase, struct Node *node)
  24030. + {
  24031. + struct Caos    MyCaos;
  24032. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24033. + //    MyCaos.M68kStart    =    NULL;
  24034. + //    MyCaos.M68kSize        =    0;
  24035. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24036. + //    MyCaos.PPCStart        =    NULL;
  24037. + //    MyCaos.PPCSize        =    0;
  24038. +     MyCaos.a1        =(ULONG) node;
  24039. +     MyCaos.caos_Un.Offset    =    (-252);
  24040. +     MyCaos.a6        =(ULONG) SysBase;    
  24041. +     PPCCallOS(&MyCaos);
  24042. + }
  24043. + #define    ReplyMsg(message)    _ReplyMsg(EXEC_BASE_NAME, message)
  24044. + static __inline void
  24045. + _ReplyMsg(void *SysBase, struct Message *message)
  24046. + {
  24047. + struct Caos    MyCaos;
  24048. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24049. + //    MyCaos.M68kStart    =    NULL;
  24050. + //    MyCaos.M68kSize        =    0;
  24051. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24052. + //    MyCaos.PPCStart        =    NULL;
  24053. + //    MyCaos.PPCSize        =    0;
  24054. +     MyCaos.a1        =(ULONG) message;
  24055. +     MyCaos.caos_Un.Offset    =    (-378);
  24056. +     MyCaos.a6        =(ULONG) SysBase;    
  24057. +     PPCCallOS(&MyCaos);
  24058. + }
  24059. + #define    SendIO(ioRequest)    _SendIO(EXEC_BASE_NAME, ioRequest)
  24060. + static __inline void
  24061. + _SendIO(void *SysBase, struct IORequest *ioRequest)
  24062. + {
  24063. + struct Caos    MyCaos;
  24064. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24065. + //    MyCaos.M68kStart    =    NULL;
  24066. + //    MyCaos.M68kSize        =    0;
  24067. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24068. + //    MyCaos.PPCStart        =    NULL;
  24069. + //    MyCaos.PPCSize        =    0;
  24070. +     MyCaos.a1        =(ULONG) ioRequest;
  24071. +     MyCaos.caos_Un.Offset    =    (-462);
  24072. +     MyCaos.a6        =(ULONG) SysBase;    
  24073. +     PPCCallOS(&MyCaos);
  24074. + }
  24075. + #define    SetExcept(newSignals, signalSet)    _SetExcept(EXEC_BASE_NAME, newSignals, signalSet)
  24076. + static __inline ULONG
  24077. + _SetExcept(void *SysBase, unsigned long newSignals, unsigned long signalSet)
  24078. + {
  24079. + struct Caos    MyCaos;
  24080. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24081. + //    MyCaos.M68kStart    =    NULL;
  24082. + //    MyCaos.M68kSize        =    0;
  24083. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24084. + //    MyCaos.PPCStart        =    NULL;
  24085. + //    MyCaos.PPCSize        =    0;
  24086. +     MyCaos.d0        =(ULONG) newSignals;
  24087. +     MyCaos.d1        =(ULONG) signalSet;
  24088. +     MyCaos.caos_Un.Offset    =    (-312);
  24089. +     MyCaos.a6        =(ULONG) SysBase;    
  24090. +     return((ULONG)PPCCallOS(&MyCaos));
  24091. + }
  24092. + #define    SetFunction(library, funcOffset, newFunction)    _SetFunction(EXEC_BASE_NAME, library, funcOffset, newFunction)
  24093. + static __inline APTR
  24094. + _SetFunction(void *SysBase, struct Library *library, long funcOffset, unsigned long (*newFunction)())
  24095. + {
  24096. + struct Caos    MyCaos;
  24097. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24098. + //    MyCaos.M68kStart    =    NULL;
  24099. + //    MyCaos.M68kSize        =    0;
  24100. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24101. + //    MyCaos.PPCStart        =    NULL;
  24102. + //    MyCaos.PPCSize        =    0;
  24103. +     MyCaos.a1        =(ULONG) library;
  24104. +     MyCaos.a0        =(ULONG) funcOffset;
  24105. +     MyCaos.d0        =(ULONG) newFunction;
  24106. +     MyCaos.caos_Un.Offset    =    (-420);
  24107. +     MyCaos.a6        =(ULONG) SysBase;    
  24108. +     return((APTR)PPCCallOS(&MyCaos));
  24109. + }
  24110. + #define    SetIntVector(intNumber, interrupt)    _SetIntVector(EXEC_BASE_NAME, intNumber, interrupt)
  24111. + static __inline struct Interrupt *
  24112. + _SetIntVector(void *SysBase, long intNumber, struct Interrupt *interrupt)
  24113. + {
  24114. + struct Caos    MyCaos;
  24115. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24116. + //    MyCaos.M68kStart    =    NULL;
  24117. + //    MyCaos.M68kSize        =    0;
  24118. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24119. + //    MyCaos.PPCStart        =    NULL;
  24120. + //    MyCaos.PPCSize        =    0;
  24121. +     MyCaos.d0        =(ULONG) intNumber;
  24122. +     MyCaos.a1        =(ULONG) interrupt;
  24123. +     MyCaos.caos_Un.Offset    =    (-162);
  24124. +     MyCaos.a6        =(ULONG) SysBase;    
  24125. +     return((struct Interrupt *)PPCCallOS(&MyCaos));
  24126. + }
  24127. + #define    SetSR(newSR, mask)    _SetSR(EXEC_BASE_NAME, newSR, mask)
  24128. + static __inline ULONG
  24129. + _SetSR(void *SysBase, unsigned long newSR, unsigned long mask)
  24130. + {
  24131. + struct Caos    MyCaos;
  24132. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24133. + //    MyCaos.M68kStart    =    NULL;
  24134. + //    MyCaos.M68kSize        =    0;
  24135. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24136. + //    MyCaos.PPCStart        =    NULL;
  24137. + //    MyCaos.PPCSize        =    0;
  24138. +     MyCaos.d0        =(ULONG) newSR;
  24139. +     MyCaos.d1        =(ULONG) mask;
  24140. +     MyCaos.caos_Un.Offset    =    (-144);
  24141. +     MyCaos.a6        =(ULONG) SysBase;    
  24142. +     return((ULONG)PPCCallOS(&MyCaos));
  24143. + }
  24144. + #define    SetSignal(newSignals, signalSet)    _SetSignal(EXEC_BASE_NAME, newSignals, signalSet)
  24145. + static __inline ULONG
  24146. + _SetSignal(void *SysBase, unsigned long newSignals, unsigned long signalSet)
  24147. + {
  24148. + struct Caos    MyCaos;
  24149. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24150. + //    MyCaos.M68kStart    =    NULL;
  24151. + //    MyCaos.M68kSize        =    0;
  24152. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24153. + //    MyCaos.PPCStart        =    NULL;
  24154. + //    MyCaos.PPCSize        =    0;
  24155. +     MyCaos.d0        =(ULONG) newSignals;
  24156. +     MyCaos.d1        =(ULONG) signalSet;
  24157. +     MyCaos.caos_Un.Offset    =    (-306);
  24158. +     MyCaos.a6        =(ULONG) SysBase;    
  24159. +     return((ULONG)PPCCallOS(&MyCaos));
  24160. + }
  24161. + #define    SetTaskPri(task, priority)    _SetTaskPri(EXEC_BASE_NAME, task, priority)
  24162. + static __inline BYTE
  24163. + _SetTaskPri(void *SysBase, struct Task *task, long priority)
  24164. + {
  24165. + struct Caos    MyCaos;
  24166. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24167. + //    MyCaos.M68kStart    =    NULL;
  24168. + //    MyCaos.M68kSize        =    0;
  24169. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24170. + //    MyCaos.PPCStart        =    NULL;
  24171. + //    MyCaos.PPCSize        =    0;
  24172. +     MyCaos.a1        =(ULONG) task;
  24173. +     MyCaos.d0        =(ULONG) priority;
  24174. +     MyCaos.caos_Un.Offset    =    (-300);
  24175. +     MyCaos.a6        =(ULONG) SysBase;    
  24176. +     return((BYTE)PPCCallOS(&MyCaos));
  24177. + }
  24178. + #define    Signal(task, signalSet)    _Signal(EXEC_BASE_NAME, task, signalSet)
  24179. + static __inline void
  24180. + _Signal(void *SysBase, struct Task *task, unsigned long signalSet)
  24181. + {
  24182. + struct Caos    MyCaos;
  24183. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24184. + //    MyCaos.M68kStart    =    NULL;
  24185. + //    MyCaos.M68kSize        =    0;
  24186. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24187. + //    MyCaos.PPCStart        =    NULL;
  24188. + //    MyCaos.PPCSize        =    0;
  24189. +     MyCaos.a1        =(ULONG) task;
  24190. +     MyCaos.d0        =(ULONG) signalSet;
  24191. +     MyCaos.caos_Un.Offset    =    (-324);
  24192. +     MyCaos.a6        =(ULONG) SysBase;    
  24193. +     PPCCallOS(&MyCaos);
  24194. + }
  24195. + #define    StackSwap(newStack)    _StackSwap(EXEC_BASE_NAME, newStack)
  24196. + static __inline void
  24197. + _StackSwap(void *SysBase, struct StackSwapStruct *newStack)
  24198. + {
  24199. + struct Caos    MyCaos;
  24200. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24201. + //    MyCaos.M68kStart    =    NULL;
  24202. + //    MyCaos.M68kSize        =    0;
  24203. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24204. + //    MyCaos.PPCStart        =    NULL;
  24205. + //    MyCaos.PPCSize        =    0;
  24206. +     MyCaos.a0        =(ULONG) newStack;
  24207. +     MyCaos.caos_Un.Offset    =    (-732);
  24208. +     MyCaos.a6        =(ULONG) SysBase;    
  24209. +     PPCCallOS(&MyCaos);
  24210. + }
  24211. + #define    SumKickData()    _SumKickData(EXEC_BASE_NAME)
  24212. + static __inline ULONG
  24213. + _SumKickData(void *SysBase)
  24214. + {
  24215. + struct Caos    MyCaos;
  24216. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24217. + //    MyCaos.M68kStart    =    NULL;
  24218. + //    MyCaos.M68kSize        =    0;
  24219. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24220. + //    MyCaos.PPCStart        =    NULL;
  24221. + //    MyCaos.PPCSize        =    0;
  24222. +     MyCaos.caos_Un.Offset    =    (-612);
  24223. +     MyCaos.a6        =(ULONG) SysBase;    
  24224. +     return((ULONG)PPCCallOS(&MyCaos));
  24225. + }
  24226. + #define    SumLibrary(library)    _SumLibrary(EXEC_BASE_NAME, library)
  24227. + static __inline void
  24228. + _SumLibrary(void *SysBase, struct Library *library)
  24229. + {
  24230. + struct Caos    MyCaos;
  24231. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24232. + //    MyCaos.M68kStart    =    NULL;
  24233. + //    MyCaos.M68kSize        =    0;
  24234. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24235. + //    MyCaos.PPCStart        =    NULL;
  24236. + //    MyCaos.PPCSize        =    0;
  24237. +     MyCaos.a1        =(ULONG) library;
  24238. +     MyCaos.caos_Un.Offset    =    (-426);
  24239. +     MyCaos.a6        =(ULONG) SysBase;    
  24240. +     PPCCallOS(&MyCaos);
  24241. + }
  24242. + #define    SuperState()    _SuperState(EXEC_BASE_NAME)
  24243. + static __inline APTR
  24244. + _SuperState(void *SysBase)
  24245. + {
  24246. + struct Caos    MyCaos;
  24247. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24248. + //    MyCaos.M68kStart    =    NULL;
  24249. + //    MyCaos.M68kSize        =    0;
  24250. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24251. + //    MyCaos.PPCStart        =    NULL;
  24252. + //    MyCaos.PPCSize        =    0;
  24253. +     MyCaos.caos_Un.Offset    =    (-150);
  24254. +     MyCaos.a6        =(ULONG) SysBase;    
  24255. +     return((APTR)PPCCallOS(&MyCaos));
  24256. + }
  24257. + #define    Supervisor(userFunction)    _Supervisor(EXEC_BASE_NAME, userFunction)
  24258. + static __inline ULONG
  24259. + _Supervisor(void *SysBase, unsigned long (*userFunction)())
  24260. + {
  24261. + struct Caos    MyCaos;
  24262. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24263. + //    MyCaos.M68kStart    =    NULL;
  24264. + //    MyCaos.M68kSize        =    0;
  24265. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24266. + //    MyCaos.PPCStart        =    NULL;
  24267. + //    MyCaos.PPCSize        =    0;
  24268. +     MyCaos.a5        =(ULONG) userFunction;
  24269. +     MyCaos.caos_Un.Offset    =    (-30);
  24270. +     MyCaos.a6        =(ULONG) SysBase;    
  24271. +     return((ULONG)PPCCallOS(&MyCaos));
  24272. + }
  24273. + #define    TypeOfMem(address)    _TypeOfMem(EXEC_BASE_NAME, address)
  24274. + static __inline ULONG
  24275. + _TypeOfMem(void *SysBase, APTR address)
  24276. + {
  24277. + struct Caos    MyCaos;
  24278. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24279. + //    MyCaos.M68kStart    =    NULL;
  24280. + //    MyCaos.M68kSize        =    0;
  24281. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24282. + //    MyCaos.PPCStart        =    NULL;
  24283. + //    MyCaos.PPCSize        =    0;
  24284. +     MyCaos.a1        =(ULONG) address;
  24285. +     MyCaos.caos_Un.Offset    =    (-534);
  24286. +     MyCaos.a6        =(ULONG) SysBase;    
  24287. +     return((ULONG)PPCCallOS(&MyCaos));
  24288. + }
  24289. + #define    UserState(sysStack)    _UserState(EXEC_BASE_NAME, sysStack)
  24290. + static __inline void
  24291. + _UserState(void *SysBase, APTR sysStack)
  24292. + {
  24293. + struct Caos    MyCaos;
  24294. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24295. + //    MyCaos.M68kStart    =    NULL;
  24296. + //    MyCaos.M68kSize        =    0;
  24297. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24298. + //    MyCaos.PPCStart        =    NULL;
  24299. + //    MyCaos.PPCSize        =    0;
  24300. +     MyCaos.d0        =(ULONG) sysStack;
  24301. +     MyCaos.caos_Un.Offset    =    (-156);
  24302. +     MyCaos.a6        =(ULONG) SysBase;    
  24303. +     PPCCallOS(&MyCaos);
  24304. + }
  24305. + #define    Vacate(sigSem, bidMsg)    _Vacate(EXEC_BASE_NAME, sigSem, bidMsg)
  24306. + static __inline void
  24307. + _Vacate(void *SysBase, struct SignalSemaphore *sigSem, struct SemaphoreMessage *bidMsg)
  24308. + {
  24309. + struct Caos    MyCaos;
  24310. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24311. + //    MyCaos.M68kStart    =    NULL;
  24312. + //    MyCaos.M68kSize        =    0;
  24313. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24314. + //    MyCaos.PPCStart        =    NULL;
  24315. + //    MyCaos.PPCSize        =    0;
  24316. +     MyCaos.a0        =(ULONG) sigSem;
  24317. +     MyCaos.a1        =(ULONG) bidMsg;
  24318. +     MyCaos.caos_Un.Offset    =    (-546);
  24319. +     MyCaos.a6        =(ULONG) SysBase;    
  24320. +     PPCCallOS(&MyCaos);
  24321. + }
  24322. + #define    Wait(signalSet)    _Wait(EXEC_BASE_NAME, signalSet)
  24323. + static __inline ULONG
  24324. + _Wait(void *SysBase, unsigned long signalSet)
  24325. + {
  24326. + struct Caos    MyCaos;
  24327. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24328. + //    MyCaos.M68kStart    =    NULL;
  24329. + //    MyCaos.M68kSize        =    0;
  24330. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24331. + //    MyCaos.PPCStart        =    NULL;
  24332. + //    MyCaos.PPCSize        =    0;
  24333. +     MyCaos.d0        =(ULONG) signalSet;
  24334. +     MyCaos.caos_Un.Offset    =    (-318);
  24335. +     MyCaos.a6        =(ULONG) SysBase;    
  24336. +     return((ULONG)PPCCallOS(&MyCaos));
  24337. + }
  24338. + #define    WaitIO(ioRequest)    _WaitIO(EXEC_BASE_NAME, ioRequest)
  24339. + static __inline BYTE
  24340. + _WaitIO(void *SysBase, struct IORequest *ioRequest)
  24341. + {
  24342. + struct Caos    MyCaos;
  24343. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24344. + //    MyCaos.M68kStart    =    NULL;
  24345. + //    MyCaos.M68kSize        =    0;
  24346. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24347. + //    MyCaos.PPCStart        =    NULL;
  24348. + //    MyCaos.PPCSize        =    0;
  24349. +     MyCaos.a1        =(ULONG) ioRequest;
  24350. +     MyCaos.caos_Un.Offset    =    (-474);
  24351. +     MyCaos.a6        =(ULONG) SysBase;    
  24352. +     return((BYTE)PPCCallOS(&MyCaos));
  24353. + }
  24354. + #define    WaitPort(port)    _WaitPort(EXEC_BASE_NAME, port)
  24355. + static __inline struct Message *
  24356. + _WaitPort(void *SysBase, struct MsgPort *port)
  24357. + {
  24358. + struct Caos    MyCaos;
  24359. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24360. + //    MyCaos.M68kStart    =    NULL;
  24361. + //    MyCaos.M68kSize        =    0;
  24362. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24363. + //    MyCaos.PPCStart        =    NULL;
  24364. + //    MyCaos.PPCSize        =    0;
  24365. +     MyCaos.a0        =(ULONG) port;
  24366. +     MyCaos.caos_Un.Offset    =    (-384);
  24367. +     MyCaos.a6        =(ULONG) SysBase;    
  24368. +     return((struct Message *)PPCCallOS(&MyCaos));
  24369. + }
  24370. + #endif /* SASC Pragmas */
  24371. + #endif /* !_PPCPRAGMA_EXEC_H */
  24372. diff -c2 -d -P -r include_h/powerup/ppcpragmas/expansion_pragmas.h includenew/powerup/ppcpragmas/expansion_pragmas.h
  24373. *** include_h/powerup/ppcpragmas/expansion_pragmas.h    Thu Jan  1 00:00:00 1970
  24374. --- includenew/powerup/ppcpragmas/expansion_pragmas.h    Wed Feb 14 02:41:24 2001
  24375. ***************
  24376. *** 0 ****
  24377. --- 1,420 ----
  24378. + /* Automatically generated header! Do not edit! */
  24379. + #ifndef _PPCPRAGMA_EXPANSION_H
  24380. + #define _PPCPRAGMA_EXPANSION_H
  24381. + #ifdef __GNUC__
  24382. + #ifndef _PPCINLINE__EXPANSION_H
  24383. + #include <powerup/ppcinline/expansion.h>
  24384. + #endif
  24385. + #else
  24386. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  24387. + #include <powerup/ppclib/interface.h>
  24388. + #endif
  24389. + #ifndef POWERUP_GCCLIB_PROTOS_H
  24390. + #include <powerup/gcclib/powerup_protos.h>
  24391. + #endif
  24392. + #ifndef NO_PPCINLINE_STDARG
  24393. + #define NO_PPCINLINE_STDARG
  24394. + #endif/* SAS C PPC inlines */
  24395. + #ifndef EXPANSION_BASE_NAME
  24396. + #define EXPANSION_BASE_NAME ExpansionBase
  24397. + #endif /* !EXPANSION_BASE_NAME */
  24398. + #define    AddBootNode(bootPri, flags, deviceNode, configDev)    _AddBootNode(EXPANSION_BASE_NAME, bootPri, flags, deviceNode, configDev)
  24399. + static __inline BOOL
  24400. + _AddBootNode(void *ExpansionBase, long bootPri, unsigned long flags, struct DeviceNode *deviceNode, struct ConfigDev *configDev)
  24401. + {
  24402. + struct Caos    MyCaos;
  24403. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24404. + //    MyCaos.M68kStart    =    NULL;
  24405. + //    MyCaos.M68kSize        =    0;
  24406. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24407. + //    MyCaos.PPCStart        =    NULL;
  24408. + //    MyCaos.PPCSize        =    0;
  24409. +     MyCaos.d0        =(ULONG) bootPri;
  24410. +     MyCaos.d1        =(ULONG) flags;
  24411. +     MyCaos.a0        =(ULONG) deviceNode;
  24412. +     MyCaos.a1        =(ULONG) configDev;
  24413. +     MyCaos.caos_Un.Offset    =    (-36);
  24414. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24415. +     return((BOOL)PPCCallOS(&MyCaos));
  24416. + }
  24417. + #define    AddConfigDev(configDev)    _AddConfigDev(EXPANSION_BASE_NAME, configDev)
  24418. + static __inline void
  24419. + _AddConfigDev(void *ExpansionBase, struct ConfigDev *configDev)
  24420. + {
  24421. + struct Caos    MyCaos;
  24422. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24423. + //    MyCaos.M68kStart    =    NULL;
  24424. + //    MyCaos.M68kSize        =    0;
  24425. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24426. + //    MyCaos.PPCStart        =    NULL;
  24427. + //    MyCaos.PPCSize        =    0;
  24428. +     MyCaos.a0        =(ULONG) configDev;
  24429. +     MyCaos.caos_Un.Offset    =    (-30);
  24430. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24431. +     PPCCallOS(&MyCaos);
  24432. + }
  24433. + #define    AddDosNode(bootPri, flags, deviceNode)    _AddDosNode(EXPANSION_BASE_NAME, bootPri, flags, deviceNode)
  24434. + static __inline BOOL
  24435. + _AddDosNode(void *ExpansionBase, long bootPri, unsigned long flags, struct DeviceNode *deviceNode)
  24436. + {
  24437. + struct Caos    MyCaos;
  24438. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24439. + //    MyCaos.M68kStart    =    NULL;
  24440. + //    MyCaos.M68kSize        =    0;
  24441. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24442. + //    MyCaos.PPCStart        =    NULL;
  24443. + //    MyCaos.PPCSize        =    0;
  24444. +     MyCaos.d0        =(ULONG) bootPri;
  24445. +     MyCaos.d1        =(ULONG) flags;
  24446. +     MyCaos.a0        =(ULONG) deviceNode;
  24447. +     MyCaos.caos_Un.Offset    =    (-150);
  24448. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24449. +     return((BOOL)PPCCallOS(&MyCaos));
  24450. + }
  24451. + #define    AllocBoardMem(slotSpec)    _AllocBoardMem(EXPANSION_BASE_NAME, slotSpec)
  24452. + static __inline void
  24453. + _AllocBoardMem(void *ExpansionBase, unsigned long slotSpec)
  24454. + {
  24455. + struct Caos    MyCaos;
  24456. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24457. + //    MyCaos.M68kStart    =    NULL;
  24458. + //    MyCaos.M68kSize        =    0;
  24459. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24460. + //    MyCaos.PPCStart        =    NULL;
  24461. + //    MyCaos.PPCSize        =    0;
  24462. +     MyCaos.d0        =(ULONG) slotSpec;
  24463. +     MyCaos.caos_Un.Offset    =    (-42);
  24464. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24465. +     PPCCallOS(&MyCaos);
  24466. + }
  24467. + #define    AllocConfigDev()    _AllocConfigDev(EXPANSION_BASE_NAME)
  24468. + static __inline struct ConfigDev *
  24469. + _AllocConfigDev(void *ExpansionBase)
  24470. + {
  24471. + struct Caos    MyCaos;
  24472. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24473. + //    MyCaos.M68kStart    =    NULL;
  24474. + //    MyCaos.M68kSize        =    0;
  24475. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24476. + //    MyCaos.PPCStart        =    NULL;
  24477. + //    MyCaos.PPCSize        =    0;
  24478. +     MyCaos.caos_Un.Offset    =    (-48);
  24479. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24480. +     return((struct ConfigDev *)PPCCallOS(&MyCaos));
  24481. + }
  24482. + #define    AllocExpansionMem(numSlots, slotAlign)    _AllocExpansionMem(EXPANSION_BASE_NAME, numSlots, slotAlign)
  24483. + static __inline APTR
  24484. + _AllocExpansionMem(void *ExpansionBase, unsigned long numSlots, unsigned long slotAlign)
  24485. + {
  24486. + struct Caos    MyCaos;
  24487. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24488. + //    MyCaos.M68kStart    =    NULL;
  24489. + //    MyCaos.M68kSize        =    0;
  24490. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24491. + //    MyCaos.PPCStart        =    NULL;
  24492. + //    MyCaos.PPCSize        =    0;
  24493. +     MyCaos.d0        =(ULONG) numSlots;
  24494. +     MyCaos.d1        =(ULONG) slotAlign;
  24495. +     MyCaos.caos_Un.Offset    =    (-54);
  24496. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24497. +     return((APTR)PPCCallOS(&MyCaos));
  24498. + }
  24499. + #define    ConfigBoard(board, configDev)    _ConfigBoard(EXPANSION_BASE_NAME, board, configDev)
  24500. + static __inline void
  24501. + _ConfigBoard(void *ExpansionBase, APTR board, struct ConfigDev *configDev)
  24502. + {
  24503. + struct Caos    MyCaos;
  24504. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24505. + //    MyCaos.M68kStart    =    NULL;
  24506. + //    MyCaos.M68kSize        =    0;
  24507. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24508. + //    MyCaos.PPCStart        =    NULL;
  24509. + //    MyCaos.PPCSize        =    0;
  24510. +     MyCaos.a0        =(ULONG) board;
  24511. +     MyCaos.a1        =(ULONG) configDev;
  24512. +     MyCaos.caos_Un.Offset    =    (-60);
  24513. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24514. +     PPCCallOS(&MyCaos);
  24515. + }
  24516. + #define    ConfigChain(baseAddr)    _ConfigChain(EXPANSION_BASE_NAME, baseAddr)
  24517. + static __inline void
  24518. + _ConfigChain(void *ExpansionBase, APTR baseAddr)
  24519. + {
  24520. + struct Caos    MyCaos;
  24521. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24522. + //    MyCaos.M68kStart    =    NULL;
  24523. + //    MyCaos.M68kSize        =    0;
  24524. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24525. + //    MyCaos.PPCStart        =    NULL;
  24526. + //    MyCaos.PPCSize        =    0;
  24527. +     MyCaos.a0        =(ULONG) baseAddr;
  24528. +     MyCaos.caos_Un.Offset    =    (-66);
  24529. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24530. +     PPCCallOS(&MyCaos);
  24531. + }
  24532. + #define    FindConfigDev(oldConfigDev, manufacturer, product)    _FindConfigDev(EXPANSION_BASE_NAME, oldConfigDev, manufacturer, product)
  24533. + static __inline struct ConfigDev *
  24534. + _FindConfigDev(void *ExpansionBase, struct ConfigDev *oldConfigDev, long manufacturer, long product)
  24535. + {
  24536. + struct Caos    MyCaos;
  24537. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24538. + //    MyCaos.M68kStart    =    NULL;
  24539. + //    MyCaos.M68kSize        =    0;
  24540. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24541. + //    MyCaos.PPCStart        =    NULL;
  24542. + //    MyCaos.PPCSize        =    0;
  24543. +     MyCaos.a0        =(ULONG) oldConfigDev;
  24544. +     MyCaos.d0        =(ULONG) manufacturer;
  24545. +     MyCaos.d1        =(ULONG) product;
  24546. +     MyCaos.caos_Un.Offset    =    (-72);
  24547. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24548. +     return((struct ConfigDev *)PPCCallOS(&MyCaos));
  24549. + }
  24550. + #define    FreeBoardMem(startSlot, slotSpec)    _FreeBoardMem(EXPANSION_BASE_NAME, startSlot, slotSpec)
  24551. + static __inline void
  24552. + _FreeBoardMem(void *ExpansionBase, unsigned long startSlot, unsigned long slotSpec)
  24553. + {
  24554. + struct Caos    MyCaos;
  24555. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24556. + //    MyCaos.M68kStart    =    NULL;
  24557. + //    MyCaos.M68kSize        =    0;
  24558. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24559. + //    MyCaos.PPCStart        =    NULL;
  24560. + //    MyCaos.PPCSize        =    0;
  24561. +     MyCaos.d0        =(ULONG) startSlot;
  24562. +     MyCaos.d1        =(ULONG) slotSpec;
  24563. +     MyCaos.caos_Un.Offset    =    (-78);
  24564. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24565. +     PPCCallOS(&MyCaos);
  24566. + }
  24567. + #define    FreeConfigDev(configDev)    _FreeConfigDev(EXPANSION_BASE_NAME, configDev)
  24568. + static __inline void
  24569. + _FreeConfigDev(void *ExpansionBase, struct ConfigDev *configDev)
  24570. + {
  24571. + struct Caos    MyCaos;
  24572. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24573. + //    MyCaos.M68kStart    =    NULL;
  24574. + //    MyCaos.M68kSize        =    0;
  24575. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24576. + //    MyCaos.PPCStart        =    NULL;
  24577. + //    MyCaos.PPCSize        =    0;
  24578. +     MyCaos.a0        =(ULONG) configDev;
  24579. +     MyCaos.caos_Un.Offset    =    (-84);
  24580. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24581. +     PPCCallOS(&MyCaos);
  24582. + }
  24583. + #define    FreeExpansionMem(startSlot, numSlots)    _FreeExpansionMem(EXPANSION_BASE_NAME, startSlot, numSlots)
  24584. + static __inline void
  24585. + _FreeExpansionMem(void *ExpansionBase, unsigned long startSlot, unsigned long numSlots)
  24586. + {
  24587. + struct Caos    MyCaos;
  24588. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24589. + //    MyCaos.M68kStart    =    NULL;
  24590. + //    MyCaos.M68kSize        =    0;
  24591. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24592. + //    MyCaos.PPCStart        =    NULL;
  24593. + //    MyCaos.PPCSize        =    0;
  24594. +     MyCaos.d0        =(ULONG) startSlot;
  24595. +     MyCaos.d1        =(ULONG) numSlots;
  24596. +     MyCaos.caos_Un.Offset    =    (-90);
  24597. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24598. +     PPCCallOS(&MyCaos);
  24599. + }
  24600. + #define    GetCurrentBinding(currentBinding, bindingSize)    _GetCurrentBinding(EXPANSION_BASE_NAME, currentBinding, bindingSize)
  24601. + static __inline ULONG
  24602. + _GetCurrentBinding(void *ExpansionBase, struct CurrentBinding *currentBinding, unsigned long bindingSize)
  24603. + {
  24604. + struct Caos    MyCaos;
  24605. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24606. + //    MyCaos.M68kStart    =    NULL;
  24607. + //    MyCaos.M68kSize        =    0;
  24608. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24609. + //    MyCaos.PPCStart        =    NULL;
  24610. + //    MyCaos.PPCSize        =    0;
  24611. +     MyCaos.a0        =(ULONG) currentBinding;
  24612. +     MyCaos.d0        =(ULONG) bindingSize;
  24613. +     MyCaos.caos_Un.Offset    =    (-138);
  24614. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24615. +     return((ULONG)PPCCallOS(&MyCaos));
  24616. + }
  24617. + #define    MakeDosNode(parmPacket)    _MakeDosNode(EXPANSION_BASE_NAME, parmPacket)
  24618. + static __inline struct DeviceNode *
  24619. + _MakeDosNode(void *ExpansionBase, APTR parmPacket)
  24620. + {
  24621. + struct Caos    MyCaos;
  24622. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24623. + //    MyCaos.M68kStart    =    NULL;
  24624. + //    MyCaos.M68kSize        =    0;
  24625. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24626. + //    MyCaos.PPCStart        =    NULL;
  24627. + //    MyCaos.PPCSize        =    0;
  24628. +     MyCaos.a0        =(ULONG) parmPacket;
  24629. +     MyCaos.caos_Un.Offset    =    (-144);
  24630. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24631. +     return((struct DeviceNode *)PPCCallOS(&MyCaos));
  24632. + }
  24633. + #define    ObtainConfigBinding()    _ObtainConfigBinding(EXPANSION_BASE_NAME)
  24634. + static __inline void
  24635. + _ObtainConfigBinding(void *ExpansionBase)
  24636. + {
  24637. + struct Caos    MyCaos;
  24638. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24639. + //    MyCaos.M68kStart    =    NULL;
  24640. + //    MyCaos.M68kSize        =    0;
  24641. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24642. + //    MyCaos.PPCStart        =    NULL;
  24643. + //    MyCaos.PPCSize        =    0;
  24644. +     MyCaos.caos_Un.Offset    =    (-120);
  24645. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24646. +     PPCCallOS(&MyCaos);
  24647. + }
  24648. + #define    ReadExpansionByte(board, offset)    _ReadExpansionByte(EXPANSION_BASE_NAME, board, offset)
  24649. + static __inline UBYTE
  24650. + _ReadExpansionByte(void *ExpansionBase, APTR board, unsigned long offset)
  24651. + {
  24652. + struct Caos    MyCaos;
  24653. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24654. + //    MyCaos.M68kStart    =    NULL;
  24655. + //    MyCaos.M68kSize        =    0;
  24656. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24657. + //    MyCaos.PPCStart        =    NULL;
  24658. + //    MyCaos.PPCSize        =    0;
  24659. +     MyCaos.a0        =(ULONG) board;
  24660. +     MyCaos.d0        =(ULONG) offset;
  24661. +     MyCaos.caos_Un.Offset    =    (-96);
  24662. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24663. +     return((UBYTE)PPCCallOS(&MyCaos));
  24664. + }
  24665. + #define    ReadExpansionRom(board, configDev)    _ReadExpansionRom(EXPANSION_BASE_NAME, board, configDev)
  24666. + static __inline void
  24667. + _ReadExpansionRom(void *ExpansionBase, APTR board, struct ConfigDev *configDev)
  24668. + {
  24669. + struct Caos    MyCaos;
  24670. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24671. + //    MyCaos.M68kStart    =    NULL;
  24672. + //    MyCaos.M68kSize        =    0;
  24673. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24674. + //    MyCaos.PPCStart        =    NULL;
  24675. + //    MyCaos.PPCSize        =    0;
  24676. +     MyCaos.a0        =(ULONG) board;
  24677. +     MyCaos.a1        =(ULONG) configDev;
  24678. +     MyCaos.caos_Un.Offset    =    (-102);
  24679. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24680. +     PPCCallOS(&MyCaos);
  24681. + }
  24682. + #define    ReleaseConfigBinding()    _ReleaseConfigBinding(EXPANSION_BASE_NAME)
  24683. + static __inline void
  24684. + _ReleaseConfigBinding(void *ExpansionBase)
  24685. + {
  24686. + struct Caos    MyCaos;
  24687. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24688. + //    MyCaos.M68kStart    =    NULL;
  24689. + //    MyCaos.M68kSize        =    0;
  24690. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24691. + //    MyCaos.PPCStart        =    NULL;
  24692. + //    MyCaos.PPCSize        =    0;
  24693. +     MyCaos.caos_Un.Offset    =    (-126);
  24694. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24695. +     PPCCallOS(&MyCaos);
  24696. + }
  24697. + #define    RemConfigDev(configDev)    _RemConfigDev(EXPANSION_BASE_NAME, configDev)
  24698. + static __inline void
  24699. + _RemConfigDev(void *ExpansionBase, struct ConfigDev *configDev)
  24700. + {
  24701. + struct Caos    MyCaos;
  24702. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24703. + //    MyCaos.M68kStart    =    NULL;
  24704. + //    MyCaos.M68kSize        =    0;
  24705. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24706. + //    MyCaos.PPCStart        =    NULL;
  24707. + //    MyCaos.PPCSize        =    0;
  24708. +     MyCaos.a0        =(ULONG) configDev;
  24709. +     MyCaos.caos_Un.Offset    =    (-108);
  24710. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24711. +     PPCCallOS(&MyCaos);
  24712. + }
  24713. + #define    SetCurrentBinding(currentBinding, bindingSize)    _SetCurrentBinding(EXPANSION_BASE_NAME, currentBinding, bindingSize)
  24714. + static __inline void
  24715. + _SetCurrentBinding(void *ExpansionBase, struct CurrentBinding *currentBinding, unsigned long bindingSize)
  24716. + {
  24717. + struct Caos    MyCaos;
  24718. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24719. + //    MyCaos.M68kStart    =    NULL;
  24720. + //    MyCaos.M68kSize        =    0;
  24721. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24722. + //    MyCaos.PPCStart        =    NULL;
  24723. + //    MyCaos.PPCSize        =    0;
  24724. +     MyCaos.a0        =(ULONG) currentBinding;
  24725. +     MyCaos.d0        =(ULONG) bindingSize;
  24726. +     MyCaos.caos_Un.Offset    =    (-132);
  24727. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24728. +     PPCCallOS(&MyCaos);
  24729. + }
  24730. + #define    WriteExpansionByte(board, offset, byte)    _WriteExpansionByte(EXPANSION_BASE_NAME, board, offset, byte)
  24731. + static __inline void
  24732. + _WriteExpansionByte(void *ExpansionBase, APTR board, unsigned long offset, unsigned long byte)
  24733. + {
  24734. + struct Caos    MyCaos;
  24735. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24736. + //    MyCaos.M68kStart    =    NULL;
  24737. + //    MyCaos.M68kSize        =    0;
  24738. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24739. + //    MyCaos.PPCStart        =    NULL;
  24740. + //    MyCaos.PPCSize        =    0;
  24741. +     MyCaos.a0        =(ULONG) board;
  24742. +     MyCaos.d0        =(ULONG) offset;
  24743. +     MyCaos.d1        =(ULONG) byte;
  24744. +     MyCaos.caos_Un.Offset    =    (-114);
  24745. +     MyCaos.a6        =(ULONG) ExpansionBase;    
  24746. +     PPCCallOS(&MyCaos);
  24747. + }
  24748. + #endif /* SASC Pragmas */
  24749. + #endif /* !_PPCPRAGMA_EXPANSION_H */
  24750. diff -c2 -d -P -r include_h/powerup/ppcpragmas/gadtools_pragmas.h includenew/powerup/ppcpragmas/gadtools_pragmas.h
  24751. *** include_h/powerup/ppcpragmas/gadtools_pragmas.h    Thu Jan  1 00:00:00 1970
  24752. --- includenew/powerup/ppcpragmas/gadtools_pragmas.h    Wed Feb 14 02:41:24 2001
  24753. ***************
  24754. *** 0 ****
  24755. --- 1,432 ----
  24756. + /* Automatically generated header! Do not edit! */
  24757. + #ifndef _PPCPRAGMA_GADTOOLS_H
  24758. + #define _PPCPRAGMA_GADTOOLS_H
  24759. + #ifdef __GNUC__
  24760. + #ifndef _PPCINLINE__GADTOOLS_H
  24761. + #include <powerup/ppcinline/gadtools.h>
  24762. + #endif
  24763. + #else
  24764. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  24765. + #include <powerup/ppclib/interface.h>
  24766. + #endif
  24767. + #ifndef POWERUP_GCCLIB_PROTOS_H
  24768. + #include <powerup/gcclib/powerup_protos.h>
  24769. + #endif
  24770. + #ifndef NO_PPCINLINE_STDARG
  24771. + #define NO_PPCINLINE_STDARG
  24772. + #endif/* SAS C PPC inlines */
  24773. + #ifndef GADTOOLS_BASE_NAME
  24774. + #define GADTOOLS_BASE_NAME GadToolsBase
  24775. + #endif /* !GADTOOLS_BASE_NAME */
  24776. + #define    CreateContext(glistptr)    _CreateContext(GADTOOLS_BASE_NAME, glistptr)
  24777. + static __inline struct Gadget *
  24778. + _CreateContext(void *GadToolsBase, struct Gadget **glistptr)
  24779. + {
  24780. + struct Caos    MyCaos;
  24781. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24782. + //    MyCaos.M68kStart    =    NULL;
  24783. + //    MyCaos.M68kSize        =    0;
  24784. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24785. + //    MyCaos.PPCStart        =    NULL;
  24786. + //    MyCaos.PPCSize        =    0;
  24787. +     MyCaos.a0        =(ULONG) glistptr;
  24788. +     MyCaos.caos_Un.Offset    =    (-114);
  24789. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24790. +     return((struct Gadget *)PPCCallOS(&MyCaos));
  24791. + }
  24792. + #define    CreateGadgetA(kind, gad, ng, taglist)    _CreateGadgetA(GADTOOLS_BASE_NAME, kind, gad, ng, taglist)
  24793. + static __inline struct Gadget *
  24794. + _CreateGadgetA(void *GadToolsBase, unsigned long kind, struct Gadget *gad, struct NewGadget *ng, struct TagItem *taglist)
  24795. + {
  24796. + struct Caos    MyCaos;
  24797. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24798. + //    MyCaos.M68kStart    =    NULL;
  24799. + //    MyCaos.M68kSize        =    0;
  24800. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24801. + //    MyCaos.PPCStart        =    NULL;
  24802. + //    MyCaos.PPCSize        =    0;
  24803. +     MyCaos.d0        =(ULONG) kind;
  24804. +     MyCaos.a0        =(ULONG) gad;
  24805. +     MyCaos.a1        =(ULONG) ng;
  24806. +     MyCaos.a2        =(ULONG) taglist;
  24807. +     MyCaos.caos_Un.Offset    =    (-30);
  24808. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24809. +     return((struct Gadget *)PPCCallOS(&MyCaos));
  24810. + }
  24811. + #ifndef NO_PPCINLINE_STDARG
  24812. + #define CreateGadget(a0, a1, a2, tags...) \
  24813. +     ({ULONG _tags[] = { tags }; CreateGadgetA((a0), (a1), (a2), (struct TagItem *)_tags);})
  24814. + #endif /* !NO_PPCINLINE_STDARG */
  24815. + #define    CreateMenusA(newmenu, taglist)    _CreateMenusA(GADTOOLS_BASE_NAME, newmenu, taglist)
  24816. + static __inline struct Menu *
  24817. + _CreateMenusA(void *GadToolsBase, struct NewMenu *newmenu, struct TagItem *taglist)
  24818. + {
  24819. + struct Caos    MyCaos;
  24820. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24821. + //    MyCaos.M68kStart    =    NULL;
  24822. + //    MyCaos.M68kSize        =    0;
  24823. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24824. + //    MyCaos.PPCStart        =    NULL;
  24825. + //    MyCaos.PPCSize        =    0;
  24826. +     MyCaos.a0        =(ULONG) newmenu;
  24827. +     MyCaos.a1        =(ULONG) taglist;
  24828. +     MyCaos.caos_Un.Offset    =    (-48);
  24829. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24830. +     return((struct Menu *)PPCCallOS(&MyCaos));
  24831. + }
  24832. + #ifndef NO_PPCINLINE_STDARG
  24833. + #define CreateMenus(a0, tags...) \
  24834. +     ({ULONG _tags[] = { tags }; CreateMenusA((a0), (struct TagItem *)_tags);})
  24835. + #endif /* !NO_PPCINLINE_STDARG */
  24836. + #define    DrawBevelBoxA(rport, left, top, width, height, taglist)    _DrawBevelBoxA(GADTOOLS_BASE_NAME, rport, left, top, width, height, taglist)
  24837. + static __inline void
  24838. + _DrawBevelBoxA(void *GadToolsBase, struct RastPort *rport, long left, long top, long width, long height, struct TagItem *taglist)
  24839. + {
  24840. + struct Caos    MyCaos;
  24841. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24842. + //    MyCaos.M68kStart    =    NULL;
  24843. + //    MyCaos.M68kSize        =    0;
  24844. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24845. + //    MyCaos.PPCStart        =    NULL;
  24846. + //    MyCaos.PPCSize        =    0;
  24847. +     MyCaos.a0        =(ULONG) rport;
  24848. +     MyCaos.d0        =(ULONG) left;
  24849. +     MyCaos.d1        =(ULONG) top;
  24850. +     MyCaos.d2        =(ULONG) width;
  24851. +     MyCaos.d3        =(ULONG) height;
  24852. +     MyCaos.a1        =(ULONG) taglist;
  24853. +     MyCaos.caos_Un.Offset    =    (-120);
  24854. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24855. +     PPCCallOS(&MyCaos);
  24856. + }
  24857. + #ifndef NO_PPCINLINE_STDARG
  24858. + #define DrawBevelBox(a0, a1, a2, a3, a4, tags...) \
  24859. +     ({ULONG _tags[] = { tags }; DrawBevelBoxA((a0), (a1), (a2), (a3), (a4), (struct TagItem *)_tags);})
  24860. + #endif /* !NO_PPCINLINE_STDARG */
  24861. + #define    FreeGadgets(gad)    _FreeGadgets(GADTOOLS_BASE_NAME, gad)
  24862. + static __inline void
  24863. + _FreeGadgets(void *GadToolsBase, struct Gadget *gad)
  24864. + {
  24865. + struct Caos    MyCaos;
  24866. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24867. + //    MyCaos.M68kStart    =    NULL;
  24868. + //    MyCaos.M68kSize        =    0;
  24869. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24870. + //    MyCaos.PPCStart        =    NULL;
  24871. + //    MyCaos.PPCSize        =    0;
  24872. +     MyCaos.a0        =(ULONG) gad;
  24873. +     MyCaos.caos_Un.Offset    =    (-36);
  24874. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24875. +     PPCCallOS(&MyCaos);
  24876. + }
  24877. + #define    FreeMenus(menu)    _FreeMenus(GADTOOLS_BASE_NAME, menu)
  24878. + static __inline void
  24879. + _FreeMenus(void *GadToolsBase, struct Menu *menu)
  24880. + {
  24881. + struct Caos    MyCaos;
  24882. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24883. + //    MyCaos.M68kStart    =    NULL;
  24884. + //    MyCaos.M68kSize        =    0;
  24885. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24886. + //    MyCaos.PPCStart        =    NULL;
  24887. + //    MyCaos.PPCSize        =    0;
  24888. +     MyCaos.a0        =(ULONG) menu;
  24889. +     MyCaos.caos_Un.Offset    =    (-54);
  24890. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24891. +     PPCCallOS(&MyCaos);
  24892. + }
  24893. + #define    FreeVisualInfo(vi)    _FreeVisualInfo(GADTOOLS_BASE_NAME, vi)
  24894. + static __inline void
  24895. + _FreeVisualInfo(void *GadToolsBase, APTR vi)
  24896. + {
  24897. + struct Caos    MyCaos;
  24898. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24899. + //    MyCaos.M68kStart    =    NULL;
  24900. + //    MyCaos.M68kSize        =    0;
  24901. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24902. + //    MyCaos.PPCStart        =    NULL;
  24903. + //    MyCaos.PPCSize        =    0;
  24904. +     MyCaos.a0        =(ULONG) vi;
  24905. +     MyCaos.caos_Un.Offset    =    (-132);
  24906. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24907. +     PPCCallOS(&MyCaos);
  24908. + }
  24909. + #define    GT_BeginRefresh(win)    _GT_BeginRefresh(GADTOOLS_BASE_NAME, win)
  24910. + static __inline void
  24911. + _GT_BeginRefresh(void *GadToolsBase, struct Window *win)
  24912. + {
  24913. + struct Caos    MyCaos;
  24914. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24915. + //    MyCaos.M68kStart    =    NULL;
  24916. + //    MyCaos.M68kSize        =    0;
  24917. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24918. + //    MyCaos.PPCStart        =    NULL;
  24919. + //    MyCaos.PPCSize        =    0;
  24920. +     MyCaos.a0        =(ULONG) win;
  24921. +     MyCaos.caos_Un.Offset    =    (-90);
  24922. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24923. +     PPCCallOS(&MyCaos);
  24924. + }
  24925. + #define    GT_EndRefresh(win, complete)    _GT_EndRefresh(GADTOOLS_BASE_NAME, win, complete)
  24926. + static __inline void
  24927. + _GT_EndRefresh(void *GadToolsBase, struct Window *win, long complete)
  24928. + {
  24929. + struct Caos    MyCaos;
  24930. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24931. + //    MyCaos.M68kStart    =    NULL;
  24932. + //    MyCaos.M68kSize        =    0;
  24933. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24934. + //    MyCaos.PPCStart        =    NULL;
  24935. + //    MyCaos.PPCSize        =    0;
  24936. +     MyCaos.a0        =(ULONG) win;
  24937. +     MyCaos.d0        =(ULONG) complete;
  24938. +     MyCaos.caos_Un.Offset    =    (-96);
  24939. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24940. +     PPCCallOS(&MyCaos);
  24941. + }
  24942. + #define    GT_FilterIMsg(imsg)    _GT_FilterIMsg(GADTOOLS_BASE_NAME, imsg)
  24943. + static __inline struct IntuiMessage *
  24944. + _GT_FilterIMsg(void *GadToolsBase, struct IntuiMessage *imsg)
  24945. + {
  24946. + struct Caos    MyCaos;
  24947. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24948. + //    MyCaos.M68kStart    =    NULL;
  24949. + //    MyCaos.M68kSize        =    0;
  24950. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24951. + //    MyCaos.PPCStart        =    NULL;
  24952. + //    MyCaos.PPCSize        =    0;
  24953. +     MyCaos.a1        =(ULONG) imsg;
  24954. +     MyCaos.caos_Un.Offset    =    (-102);
  24955. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24956. +     return((struct IntuiMessage *)PPCCallOS(&MyCaos));
  24957. + }
  24958. + #define    GT_GetGadgetAttrsA(gad, win, req, taglist)    _GT_GetGadgetAttrsA(GADTOOLS_BASE_NAME, gad, win, req, taglist)
  24959. + static __inline LONG
  24960. + _GT_GetGadgetAttrsA(void *GadToolsBase, struct Gadget *gad, struct Window *win, struct Requester *req, struct TagItem *taglist)
  24961. + {
  24962. + struct Caos    MyCaos;
  24963. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24964. + //    MyCaos.M68kStart    =    NULL;
  24965. + //    MyCaos.M68kSize        =    0;
  24966. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24967. + //    MyCaos.PPCStart        =    NULL;
  24968. + //    MyCaos.PPCSize        =    0;
  24969. +     MyCaos.a0        =(ULONG) gad;
  24970. +     MyCaos.a1        =(ULONG) win;
  24971. +     MyCaos.a2        =(ULONG) req;
  24972. +     MyCaos.a3        =(ULONG) taglist;
  24973. +     MyCaos.caos_Un.Offset    =    (-174);
  24974. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24975. +     return((LONG)PPCCallOS(&MyCaos));
  24976. + }
  24977. + #ifndef NO_PPCINLINE_STDARG
  24978. + #define GT_GetGadgetAttrs(a0, a1, a2, tags...) \
  24979. +     ({ULONG _tags[] = { tags }; GT_GetGadgetAttrsA((a0), (a1), (a2), (struct TagItem *)_tags);})
  24980. + #endif /* !NO_PPCINLINE_STDARG */
  24981. + #define    GT_GetIMsg(iport)    _GT_GetIMsg(GADTOOLS_BASE_NAME, iport)
  24982. + static __inline struct IntuiMessage *
  24983. + _GT_GetIMsg(void *GadToolsBase, struct MsgPort *iport)
  24984. + {
  24985. + struct Caos    MyCaos;
  24986. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  24987. + //    MyCaos.M68kStart    =    NULL;
  24988. + //    MyCaos.M68kSize        =    0;
  24989. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  24990. + //    MyCaos.PPCStart        =    NULL;
  24991. + //    MyCaos.PPCSize        =    0;
  24992. +     MyCaos.a0        =(ULONG) iport;
  24993. +     MyCaos.caos_Un.Offset    =    (-72);
  24994. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  24995. +     return((struct IntuiMessage *)PPCCallOS(&MyCaos));
  24996. + }
  24997. + #define    GT_PostFilterIMsg(imsg)    _GT_PostFilterIMsg(GADTOOLS_BASE_NAME, imsg)
  24998. + static __inline struct IntuiMessage *
  24999. + _GT_PostFilterIMsg(void *GadToolsBase, struct IntuiMessage *imsg)
  25000. + {
  25001. + struct Caos    MyCaos;
  25002. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25003. + //    MyCaos.M68kStart    =    NULL;
  25004. + //    MyCaos.M68kSize        =    0;
  25005. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25006. + //    MyCaos.PPCStart        =    NULL;
  25007. + //    MyCaos.PPCSize        =    0;
  25008. +     MyCaos.a1        =(ULONG) imsg;
  25009. +     MyCaos.caos_Un.Offset    =    (-108);
  25010. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  25011. +     return((struct IntuiMessage *)PPCCallOS(&MyCaos));
  25012. + }
  25013. + #define    GT_RefreshWindow(win, req)    _GT_RefreshWindow(GADTOOLS_BASE_NAME, win, req)
  25014. + static __inline void
  25015. + _GT_RefreshWindow(void *GadToolsBase, struct Window *win, struct Requester *req)
  25016. + {
  25017. + struct Caos    MyCaos;
  25018. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25019. + //    MyCaos.M68kStart    =    NULL;
  25020. + //    MyCaos.M68kSize        =    0;
  25021. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25022. + //    MyCaos.PPCStart        =    NULL;
  25023. + //    MyCaos.PPCSize        =    0;
  25024. +     MyCaos.a0        =(ULONG) win;
  25025. +     MyCaos.a1        =(ULONG) req;
  25026. +     MyCaos.caos_Un.Offset    =    (-84);
  25027. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  25028. +     PPCCallOS(&MyCaos);
  25029. + }
  25030. + #define    GT_ReplyIMsg(imsg)    _GT_ReplyIMsg(GADTOOLS_BASE_NAME, imsg)
  25031. + static __inline void
  25032. + _GT_ReplyIMsg(void *GadToolsBase, struct IntuiMessage *imsg)
  25033. + {
  25034. + struct Caos    MyCaos;
  25035. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25036. + //    MyCaos.M68kStart    =    NULL;
  25037. + //    MyCaos.M68kSize        =    0;
  25038. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25039. + //    MyCaos.PPCStart        =    NULL;
  25040. + //    MyCaos.PPCSize        =    0;
  25041. +     MyCaos.a1        =(ULONG) imsg;
  25042. +     MyCaos.caos_Un.Offset    =    (-78);
  25043. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  25044. +     PPCCallOS(&MyCaos);
  25045. + }
  25046. + #define    GT_SetGadgetAttrsA(gad, win, req, taglist)    _GT_SetGadgetAttrsA(GADTOOLS_BASE_NAME, gad, win, req, taglist)
  25047. + static __inline void
  25048. + _GT_SetGadgetAttrsA(void *GadToolsBase, struct Gadget *gad, struct Window *win, struct Requester *req, struct TagItem *taglist)
  25049. + {
  25050. + struct Caos    MyCaos;
  25051. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25052. + //    MyCaos.M68kStart    =    NULL;
  25053. + //    MyCaos.M68kSize        =    0;
  25054. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25055. + //    MyCaos.PPCStart        =    NULL;
  25056. + //    MyCaos.PPCSize        =    0;
  25057. +     MyCaos.a0        =(ULONG) gad;
  25058. +     MyCaos.a1        =(ULONG) win;
  25059. +     MyCaos.a2        =(ULONG) req;
  25060. +     MyCaos.a3        =(ULONG) taglist;
  25061. +     MyCaos.caos_Un.Offset    =    (-42);
  25062. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  25063. +     PPCCallOS(&MyCaos);
  25064. + }
  25065. + #ifndef NO_PPCINLINE_STDARG
  25066. + #define GT_SetGadgetAttrs(a0, a1, a2, tags...) \
  25067. +     ({ULONG _tags[] = { tags }; GT_SetGadgetAttrsA((a0), (a1), (a2), (struct TagItem *)_tags);})
  25068. + #endif /* !NO_PPCINLINE_STDARG */
  25069. + #define    GetVisualInfoA(screen, taglist)    _GetVisualInfoA(GADTOOLS_BASE_NAME, screen, taglist)
  25070. + static __inline APTR
  25071. + _GetVisualInfoA(void *GadToolsBase, struct Screen *screen, struct TagItem *taglist)
  25072. + {
  25073. + struct Caos    MyCaos;
  25074. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25075. + //    MyCaos.M68kStart    =    NULL;
  25076. + //    MyCaos.M68kSize        =    0;
  25077. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25078. + //    MyCaos.PPCStart        =    NULL;
  25079. + //    MyCaos.PPCSize        =    0;
  25080. +     MyCaos.a0        =(ULONG) screen;
  25081. +     MyCaos.a1        =(ULONG) taglist;
  25082. +     MyCaos.caos_Un.Offset    =    (-126);
  25083. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  25084. +     return((APTR)PPCCallOS(&MyCaos));
  25085. + }
  25086. + #ifndef NO_PPCINLINE_STDARG
  25087. + #define GetVisualInfo(a0, tags...) \
  25088. +     ({ULONG _tags[] = { tags }; GetVisualInfoA((a0), (struct TagItem *)_tags);})
  25089. + #endif /* !NO_PPCINLINE_STDARG */
  25090. + #define    LayoutMenuItemsA(firstitem, vi, taglist)    _LayoutMenuItemsA(GADTOOLS_BASE_NAME, firstitem, vi, taglist)
  25091. + static __inline BOOL
  25092. + _LayoutMenuItemsA(void *GadToolsBase, struct MenuItem *firstitem, APTR vi, struct TagItem *taglist)
  25093. + {
  25094. + struct Caos    MyCaos;
  25095. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25096. + //    MyCaos.M68kStart    =    NULL;
  25097. + //    MyCaos.M68kSize        =    0;
  25098. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25099. + //    MyCaos.PPCStart        =    NULL;
  25100. + //    MyCaos.PPCSize        =    0;
  25101. +     MyCaos.a0        =(ULONG) firstitem;
  25102. +     MyCaos.a1        =(ULONG) vi;
  25103. +     MyCaos.a2        =(ULONG) taglist;
  25104. +     MyCaos.caos_Un.Offset    =    (-60);
  25105. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  25106. +     return((BOOL)PPCCallOS(&MyCaos));
  25107. + }
  25108. + #ifndef NO_PPCINLINE_STDARG
  25109. + #define LayoutMenuItems(a0, a1, tags...) \
  25110. +     ({ULONG _tags[] = { tags }; LayoutMenuItemsA((a0), (a1), (struct TagItem *)_tags);})
  25111. + #endif /* !NO_PPCINLINE_STDARG */
  25112. + #define    LayoutMenusA(firstmenu, vi, taglist)    _LayoutMenusA(GADTOOLS_BASE_NAME, firstmenu, vi, taglist)
  25113. + static __inline BOOL
  25114. + _LayoutMenusA(void *GadToolsBase, struct Menu *firstmenu, APTR vi, struct TagItem *taglist)
  25115. + {
  25116. + struct Caos    MyCaos;
  25117. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25118. + //    MyCaos.M68kStart    =    NULL;
  25119. + //    MyCaos.M68kSize        =    0;
  25120. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25121. + //    MyCaos.PPCStart        =    NULL;
  25122. + //    MyCaos.PPCSize        =    0;
  25123. +     MyCaos.a0        =(ULONG) firstmenu;
  25124. +     MyCaos.a1        =(ULONG) vi;
  25125. +     MyCaos.a2        =(ULONG) taglist;
  25126. +     MyCaos.caos_Un.Offset    =    (-66);
  25127. +     MyCaos.a6        =(ULONG) GadToolsBase;    
  25128. +     return((BOOL)PPCCallOS(&MyCaos));
  25129. + }
  25130. + #ifndef NO_PPCINLINE_STDARG
  25131. + #define LayoutMenus(a0, a1, tags...) \
  25132. +     ({ULONG _tags[] = { tags }; LayoutMenusA((a0), (a1), (struct TagItem *)_tags);})
  25133. + #endif /* !NO_PPCINLINE_STDARG */
  25134. + #endif /* SASC Pragmas */
  25135. + #endif /* !_PPCPRAGMA_GADTOOLS_H */
  25136. diff -c2 -d -P -r include_h/powerup/ppcpragmas/graphics_pragmas.h includenew/powerup/ppcpragmas/graphics_pragmas.h
  25137. *** include_h/powerup/ppcpragmas/graphics_pragmas.h    Thu Jan  1 00:00:00 1970
  25138. --- includenew/powerup/ppcpragmas/graphics_pragmas.h    Wed Feb 14 02:41:25 2001
  25139. ***************
  25140. *** 0 ****
  25141. --- 1,3270 ----
  25142. + /* Automatically generated header! Do not edit! */
  25143. + #ifndef _PPCPRAGMA_GRAPHICS_H
  25144. + #define _PPCPRAGMA_GRAPHICS_H
  25145. + #ifdef __GNUC__
  25146. + #ifndef _PPCINLINE__GRAPHICS_H
  25147. + #include <powerup/ppcinline/graphics.h>
  25148. + #endif
  25149. + #else
  25150. + #ifndef POWERUP_PPCLIB_INTERFACE_H
  25151. + #include <powerup/ppclib/interface.h>
  25152. + #endif
  25153. + #ifndef POWERUP_GCCLIB_PROTOS_H
  25154. + #include <powerup/gcclib/powerup_protos.h>
  25155. + #endif
  25156. + #ifndef NO_PPCINLINE_STDARG
  25157. + #define NO_PPCINLINE_STDARG
  25158. + #endif/* SAS C PPC inlines */
  25159. + #ifndef GRAPHICS_BASE_NAME
  25160. + #define GRAPHICS_BASE_NAME GfxBase
  25161. + #endif /* !GRAPHICS_BASE_NAME */
  25162. + #define    AddAnimOb(anOb, anKey, rp)    _AddAnimOb(GRAPHICS_BASE_NAME, anOb, anKey, rp)
  25163. + static __inline void
  25164. + _AddAnimOb(void *GfxBase, struct AnimOb *anOb, struct AnimOb **anKey, struct RastPort *rp)
  25165. + {
  25166. + struct Caos    MyCaos;
  25167. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25168. + //    MyCaos.M68kStart    =    NULL;
  25169. + //    MyCaos.M68kSize        =    0;
  25170. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25171. + //    MyCaos.PPCStart        =    NULL;
  25172. + //    MyCaos.PPCSize        =    0;
  25173. +     MyCaos.a0        =(ULONG) anOb;
  25174. +     MyCaos.a1        =(ULONG) anKey;
  25175. +     MyCaos.a2        =(ULONG) rp;
  25176. +     MyCaos.caos_Un.Offset    =    (-156);
  25177. +     MyCaos.a6        =(ULONG) GfxBase;    
  25178. +     PPCCallOS(&MyCaos);
  25179. + }
  25180. + #define    AddBob(bob, rp)    _AddBob(GRAPHICS_BASE_NAME, bob, rp)
  25181. + static __inline void
  25182. + _AddBob(void *GfxBase, struct Bob *bob, struct RastPort *rp)
  25183. + {
  25184. + struct Caos    MyCaos;
  25185. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25186. + //    MyCaos.M68kStart    =    NULL;
  25187. + //    MyCaos.M68kSize        =    0;
  25188. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25189. + //    MyCaos.PPCStart        =    NULL;
  25190. + //    MyCaos.PPCSize        =    0;
  25191. +     MyCaos.a0        =(ULONG) bob;
  25192. +     MyCaos.a1        =(ULONG) rp;
  25193. +     MyCaos.caos_Un.Offset    =    (-96);
  25194. +     MyCaos.a6        =(ULONG) GfxBase;    
  25195. +     PPCCallOS(&MyCaos);
  25196. + }
  25197. + #define    AddFont(textFont)    _AddFont(GRAPHICS_BASE_NAME, textFont)
  25198. + static __inline void
  25199. + _AddFont(void *GfxBase, struct TextFont *textFont)
  25200. + {
  25201. + struct Caos    MyCaos;
  25202. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25203. + //    MyCaos.M68kStart    =    NULL;
  25204. + //    MyCaos.M68kSize        =    0;
  25205. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25206. + //    MyCaos.PPCStart        =    NULL;
  25207. + //    MyCaos.PPCSize        =    0;
  25208. +     MyCaos.a1        =(ULONG) textFont;
  25209. +     MyCaos.caos_Un.Offset    =    (-480);
  25210. +     MyCaos.a6        =(ULONG) GfxBase;    
  25211. +     PPCCallOS(&MyCaos);
  25212. + }
  25213. + #define    AddVSprite(vSprite, rp)    _AddVSprite(GRAPHICS_BASE_NAME, vSprite, rp)
  25214. + static __inline void
  25215. + _AddVSprite(void *GfxBase, struct VSprite *vSprite, struct RastPort *rp)
  25216. + {
  25217. + struct Caos    MyCaos;
  25218. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25219. + //    MyCaos.M68kStart    =    NULL;
  25220. + //    MyCaos.M68kSize        =    0;
  25221. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25222. + //    MyCaos.PPCStart        =    NULL;
  25223. + //    MyCaos.PPCSize        =    0;
  25224. +     MyCaos.a0        =(ULONG) vSprite;
  25225. +     MyCaos.a1        =(ULONG) rp;
  25226. +     MyCaos.caos_Un.Offset    =    (-102);
  25227. +     MyCaos.a6        =(ULONG) GfxBase;    
  25228. +     PPCCallOS(&MyCaos);
  25229. + }
  25230. + #define    AllocBitMap(sizex, sizey, depth, flags, friend_bitmap)    _AllocBitMap(GRAPHICS_BASE_NAME, sizex, sizey, depth, flags, friend_bitmap)
  25231. + static __inline struct BitMap *
  25232. + _AllocBitMap(void *GfxBase, unsigned long sizex, unsigned long sizey, unsigned long depth, unsigned long flags, struct BitMap *friend_bitmap)
  25233. + {
  25234. + struct Caos    MyCaos;
  25235. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25236. + //    MyCaos.M68kStart    =    NULL;
  25237. + //    MyCaos.M68kSize        =    0;
  25238. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25239. + //    MyCaos.PPCStart        =    NULL;
  25240. + //    MyCaos.PPCSize        =    0;
  25241. +     MyCaos.d0        =(ULONG) sizex;
  25242. +     MyCaos.d1        =(ULONG) sizey;
  25243. +     MyCaos.d2        =(ULONG) depth;
  25244. +     MyCaos.d3        =(ULONG) flags;
  25245. +     MyCaos.a0        =(ULONG) friend_bitmap;
  25246. +     MyCaos.caos_Un.Offset    =    (-918);
  25247. +     MyCaos.a6        =(ULONG) GfxBase;    
  25248. +     return((struct BitMap *)PPCCallOS(&MyCaos));
  25249. + }
  25250. + #define    AllocDBufInfo(vp)    _AllocDBufInfo(GRAPHICS_BASE_NAME, vp)
  25251. + static __inline struct DBufInfo *
  25252. + _AllocDBufInfo(void *GfxBase, struct ViewPort *vp)
  25253. + {
  25254. + struct Caos    MyCaos;
  25255. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25256. + //    MyCaos.M68kStart    =    NULL;
  25257. + //    MyCaos.M68kSize        =    0;
  25258. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25259. + //    MyCaos.PPCStart        =    NULL;
  25260. + //    MyCaos.PPCSize        =    0;
  25261. +     MyCaos.a0        =(ULONG) vp;
  25262. +     MyCaos.caos_Un.Offset    =    (-966);
  25263. +     MyCaos.a6        =(ULONG) GfxBase;    
  25264. +     return((struct DBufInfo *)PPCCallOS(&MyCaos));
  25265. + }
  25266. + #define    AllocRaster(width, height)    _AllocRaster(GRAPHICS_BASE_NAME, width, height)
  25267. + static __inline PLANEPTR
  25268. + _AllocRaster(void *GfxBase, unsigned long width, unsigned long height)
  25269. + {
  25270. + struct Caos    MyCaos;
  25271. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25272. + //    MyCaos.M68kStart    =    NULL;
  25273. + //    MyCaos.M68kSize        =    0;
  25274. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25275. + //    MyCaos.PPCStart        =    NULL;
  25276. + //    MyCaos.PPCSize        =    0;
  25277. +     MyCaos.d0        =(ULONG) width;
  25278. +     MyCaos.d1        =(ULONG) height;
  25279. +     MyCaos.caos_Un.Offset    =    (-492);
  25280. +     MyCaos.a6        =(ULONG) GfxBase;    
  25281. +     return((PLANEPTR)PPCCallOS(&MyCaos));
  25282. + }
  25283. + #define    AllocSpriteDataA(bm, tags)    _AllocSpriteDataA(GRAPHICS_BASE_NAME, bm, tags)
  25284. + static __inline struct ExtSprite *
  25285. + _AllocSpriteDataA(void *GfxBase, struct BitMap *bm, struct TagItem *tags)
  25286. + {
  25287. + struct Caos    MyCaos;
  25288. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25289. + //    MyCaos.M68kStart    =    NULL;
  25290. + //    MyCaos.M68kSize        =    0;
  25291. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25292. + //    MyCaos.PPCStart        =    NULL;
  25293. + //    MyCaos.PPCSize        =    0;
  25294. +     MyCaos.a2        =(ULONG) bm;
  25295. +     MyCaos.a1        =(ULONG) tags;
  25296. +     MyCaos.caos_Un.Offset    =    (-1020);
  25297. +     MyCaos.a6        =(ULONG) GfxBase;    
  25298. +     return((struct ExtSprite *)PPCCallOS(&MyCaos));
  25299. + }
  25300. + #ifndef NO_PPCINLINE_STDARG
  25301. + #define AllocSpriteData(a0, tags...) \
  25302. +     ({ULONG _tags[] = { tags }; AllocSpriteDataA((a0), (struct TagItem *)_tags);})
  25303. + #endif /* !NO_PPCINLINE_STDARG */
  25304. + #define    AndRectRegion(region, rectangle)    _AndRectRegion(GRAPHICS_BASE_NAME, region, rectangle)
  25305. + static __inline void
  25306. + _AndRectRegion(void *GfxBase, struct Region *region, struct Rectangle *rectangle)
  25307. + {
  25308. + struct Caos    MyCaos;
  25309. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25310. + //    MyCaos.M68kStart    =    NULL;
  25311. + //    MyCaos.M68kSize        =    0;
  25312. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25313. + //    MyCaos.PPCStart        =    NULL;
  25314. + //    MyCaos.PPCSize        =    0;
  25315. +     MyCaos.a0        =(ULONG) region;
  25316. +     MyCaos.a1        =(ULONG) rectangle;
  25317. +     MyCaos.caos_Un.Offset    =    (-504);
  25318. +     MyCaos.a6        =(ULONG) GfxBase;    
  25319. +     PPCCallOS(&MyCaos);
  25320. + }
  25321. + #define    AndRegionRegion(srcRegion, destRegion)    _AndRegionRegion(GRAPHICS_BASE_NAME, srcRegion, destRegion)
  25322. + static __inline BOOL
  25323. + _AndRegionRegion(void *GfxBase, struct Region *srcRegion, struct Region *destRegion)
  25324. + {
  25325. + struct Caos    MyCaos;
  25326. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25327. + //    MyCaos.M68kStart    =    NULL;
  25328. + //    MyCaos.M68kSize        =    0;
  25329. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25330. + //    MyCaos.PPCStart        =    NULL;
  25331. + //    MyCaos.PPCSize        =    0;
  25332. +     MyCaos.a0        =(ULONG) srcRegion;
  25333. +     MyCaos.a1        =(ULONG) destRegion;
  25334. +     MyCaos.caos_Un.Offset    =    (-624);
  25335. +     MyCaos.a6        =(ULONG) GfxBase;    
  25336. +     return((BOOL)PPCCallOS(&MyCaos));
  25337. + }
  25338. + #define    Animate(anKey, rp)    _Animate(GRAPHICS_BASE_NAME, anKey, rp)
  25339. + static __inline void
  25340. + _Animate(void *GfxBase, struct AnimOb **anKey, struct RastPort *rp)
  25341. + {
  25342. + struct Caos    MyCaos;
  25343. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25344. + //    MyCaos.M68kStart    =    NULL;
  25345. + //    MyCaos.M68kSize        =    0;
  25346. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25347. + //    MyCaos.PPCStart        =    NULL;
  25348. + //    MyCaos.PPCSize        =    0;
  25349. +     MyCaos.a0        =(ULONG) anKey;
  25350. +     MyCaos.a1        =(ULONG) rp;
  25351. +     MyCaos.caos_Un.Offset    =    (-162);
  25352. +     MyCaos.a6        =(ULONG) GfxBase;    
  25353. +     PPCCallOS(&MyCaos);
  25354. + }
  25355. + #define    AreaDraw(rp, x, y)    _AreaDraw(GRAPHICS_BASE_NAME, rp, x, y)
  25356. + static __inline LONG
  25357. + _AreaDraw(void *GfxBase, struct RastPort *rp, long x, long y)
  25358. + {
  25359. + struct Caos    MyCaos;
  25360. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25361. + //    MyCaos.M68kStart    =    NULL;
  25362. + //    MyCaos.M68kSize        =    0;
  25363. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25364. + //    MyCaos.PPCStart        =    NULL;
  25365. + //    MyCaos.PPCSize        =    0;
  25366. +     MyCaos.a1        =(ULONG) rp;
  25367. +     MyCaos.d0        =(ULONG) x;
  25368. +     MyCaos.d1        =(ULONG) y;
  25369. +     MyCaos.caos_Un.Offset    =    (-258);
  25370. +     MyCaos.a6        =(ULONG) GfxBase;    
  25371. +     return((LONG)PPCCallOS(&MyCaos));
  25372. + }
  25373. + #define    AreaEllipse(rp, xCenter, yCenter, a, b)    _AreaEllipse(GRAPHICS_BASE_NAME, rp, xCenter, yCenter, a, b)
  25374. + static __inline LONG
  25375. + _AreaEllipse(void *GfxBase, struct RastPort *rp, long xCenter, long yCenter, long a, long b)
  25376. + {
  25377. + struct Caos    MyCaos;
  25378. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25379. + //    MyCaos.M68kStart    =    NULL;
  25380. + //    MyCaos.M68kSize        =    0;
  25381. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25382. + //    MyCaos.PPCStart        =    NULL;
  25383. + //    MyCaos.PPCSize        =    0;
  25384. +     MyCaos.a1        =(ULONG) rp;
  25385. +     MyCaos.d0        =(ULONG) xCenter;
  25386. +     MyCaos.d1        =(ULONG) yCenter;
  25387. +     MyCaos.d2        =(ULONG) a;
  25388. +     MyCaos.d3        =(ULONG) b;
  25389. +     MyCaos.caos_Un.Offset    =    (-186);
  25390. +     MyCaos.a6        =(ULONG) GfxBase;    
  25391. +     return((LONG)PPCCallOS(&MyCaos));
  25392. + }
  25393. + #define    AreaEnd(rp)    _AreaEnd(GRAPHICS_BASE_NAME, rp)
  25394. + static __inline LONG
  25395. + _AreaEnd(void *GfxBase, struct RastPort *rp)
  25396. + {
  25397. + struct Caos    MyCaos;
  25398. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25399. + //    MyCaos.M68kStart    =    NULL;
  25400. + //    MyCaos.M68kSize        =    0;
  25401. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25402. + //    MyCaos.PPCStart        =    NULL;
  25403. + //    MyCaos.PPCSize        =    0;
  25404. +     MyCaos.a1        =(ULONG) rp;
  25405. +     MyCaos.caos_Un.Offset    =    (-264);
  25406. +     MyCaos.a6        =(ULONG) GfxBase;    
  25407. +     return((LONG)PPCCallOS(&MyCaos));
  25408. + }
  25409. + #define    AreaMove(rp, x, y)    _AreaMove(GRAPHICS_BASE_NAME, rp, x, y)
  25410. + static __inline LONG
  25411. + _AreaMove(void *GfxBase, struct RastPort *rp, long x, long y)
  25412. + {
  25413. + struct Caos    MyCaos;
  25414. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25415. + //    MyCaos.M68kStart    =    NULL;
  25416. + //    MyCaos.M68kSize        =    0;
  25417. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25418. + //    MyCaos.PPCStart        =    NULL;
  25419. + //    MyCaos.PPCSize        =    0;
  25420. +     MyCaos.a1        =(ULONG) rp;
  25421. +     MyCaos.d0        =(ULONG) x;
  25422. +     MyCaos.d1        =(ULONG) y;
  25423. +     MyCaos.caos_Un.Offset    =    (-252);
  25424. +     MyCaos.a6        =(ULONG) GfxBase;    
  25425. +     return((LONG)PPCCallOS(&MyCaos));
  25426. + }
  25427. + #define    AskFont(rp, textAttr)    _AskFont(GRAPHICS_BASE_NAME, rp, textAttr)
  25428. + static __inline void
  25429. + _AskFont(void *GfxBase, struct RastPort *rp, struct TextAttr *textAttr)
  25430. + {
  25431. + struct Caos    MyCaos;
  25432. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25433. + //    MyCaos.M68kStart    =    NULL;
  25434. + //    MyCaos.M68kSize        =    0;
  25435. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25436. + //    MyCaos.PPCStart        =    NULL;
  25437. + //    MyCaos.PPCSize        =    0;
  25438. +     MyCaos.a1        =(ULONG) rp;
  25439. +     MyCaos.a0        =(ULONG) textAttr;
  25440. +     MyCaos.caos_Un.Offset    =    (-474);
  25441. +     MyCaos.a6        =(ULONG) GfxBase;    
  25442. +     PPCCallOS(&MyCaos);
  25443. + }
  25444. + #define    AskSoftStyle(rp)    _AskSoftStyle(GRAPHICS_BASE_NAME, rp)
  25445. + static __inline ULONG
  25446. + _AskSoftStyle(void *GfxBase, struct RastPort *rp)
  25447. + {
  25448. + struct Caos    MyCaos;
  25449. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25450. + //    MyCaos.M68kStart    =    NULL;
  25451. + //    MyCaos.M68kSize        =    0;
  25452. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25453. + //    MyCaos.PPCStart        =    NULL;
  25454. + //    MyCaos.PPCSize        =    0;
  25455. +     MyCaos.a1        =(ULONG) rp;
  25456. +     MyCaos.caos_Un.Offset    =    (-84);
  25457. +     MyCaos.a6        =(ULONG) GfxBase;    
  25458. +     return((ULONG)PPCCallOS(&MyCaos));
  25459. + }
  25460. + #define    AttachPalExtra(cm, vp)    _AttachPalExtra(GRAPHICS_BASE_NAME, cm, vp)
  25461. + static __inline LONG
  25462. + _AttachPalExtra(void *GfxBase, struct ColorMap *cm, struct ViewPort *vp)
  25463. + {
  25464. + struct Caos    MyCaos;
  25465. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25466. + //    MyCaos.M68kStart    =    NULL;
  25467. + //    MyCaos.M68kSize        =    0;
  25468. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25469. + //    MyCaos.PPCStart        =    NULL;
  25470. + //    MyCaos.PPCSize        =    0;
  25471. +     MyCaos.a0        =(ULONG) cm;
  25472. +     MyCaos.a1        =(ULONG) vp;
  25473. +     MyCaos.caos_Un.Offset    =    (-834);
  25474. +     MyCaos.a6        =(ULONG) GfxBase;    
  25475. +     return((LONG)PPCCallOS(&MyCaos));
  25476. + }
  25477. + #define    AttemptLockLayerRom(layer)    _AttemptLockLayerRom(GRAPHICS_BASE_NAME, layer)
  25478. + static __inline BOOL
  25479. + _AttemptLockLayerRom(void *GfxBase, struct Layer *layer)
  25480. + {
  25481. + struct Caos    MyCaos;
  25482. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25483. + //    MyCaos.M68kStart    =    NULL;
  25484. + //    MyCaos.M68kSize        =    0;
  25485. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25486. + //    MyCaos.PPCStart        =    NULL;
  25487. + //    MyCaos.PPCSize        =    0;
  25488. +     MyCaos.a5        =(ULONG) layer;
  25489. +     MyCaos.caos_Un.Offset    =    (-654);
  25490. +     MyCaos.a6        =(ULONG) GfxBase;    
  25491. +     return((BOOL)PPCCallOS(&MyCaos));
  25492. + }
  25493. + #define    BestModeIDA(tags)    _BestModeIDA(GRAPHICS_BASE_NAME, tags)
  25494. + static __inline ULONG
  25495. + _BestModeIDA(void *GfxBase, struct TagItem *tags)
  25496. + {
  25497. + struct Caos    MyCaos;
  25498. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25499. + //    MyCaos.M68kStart    =    NULL;
  25500. + //    MyCaos.M68kSize        =    0;
  25501. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25502. + //    MyCaos.PPCStart        =    NULL;
  25503. + //    MyCaos.PPCSize        =    0;
  25504. +     MyCaos.a0        =(ULONG) tags;
  25505. +     MyCaos.caos_Un.Offset    =    (-1050);
  25506. +     MyCaos.a6        =(ULONG) GfxBase;    
  25507. +     return((ULONG)PPCCallOS(&MyCaos));
  25508. + }
  25509. + #ifndef NO_PPCINLINE_STDARG
  25510. + #define BestModeID(tags...) \
  25511. +     ({ULONG _tags[] = { tags }; BestModeIDA((struct TagItem *)_tags);})
  25512. + #endif /* !NO_PPCINLINE_STDARG */
  25513. + #define    BitMapScale(bitScaleArgs)    _BitMapScale(GRAPHICS_BASE_NAME, bitScaleArgs)
  25514. + static __inline void
  25515. + _BitMapScale(void *GfxBase, struct BitScaleArgs *bitScaleArgs)
  25516. + {
  25517. + struct Caos    MyCaos;
  25518. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25519. + //    MyCaos.M68kStart    =    NULL;
  25520. + //    MyCaos.M68kSize        =    0;
  25521. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25522. + //    MyCaos.PPCStart        =    NULL;
  25523. + //    MyCaos.PPCSize        =    0;
  25524. +     MyCaos.a0        =(ULONG) bitScaleArgs;
  25525. +     MyCaos.caos_Un.Offset    =    (-678);
  25526. +     MyCaos.a6        =(ULONG) GfxBase;    
  25527. +     PPCCallOS(&MyCaos);
  25528. + }
  25529. + #define    BltBitMap(srcBitMap, xSrc, ySrc, destBitMap, xDest, yDest, xSize, ySize, minterm, mask, tempA)    _BltBitMap(GRAPHICS_BASE_NAME, srcBitMap, xSrc, ySrc, destBitMap, xDest, yDest, xSize, ySize, minterm, mask, tempA)
  25530. + static __inline LONG
  25531. + _BltBitMap(void *GfxBase, struct BitMap *srcBitMap, long xSrc, long ySrc, struct BitMap *destBitMap, long xDest, long yDest, long xSize, long ySize, unsigned long minterm, unsigned long mask, PLANEPTR tempA)
  25532. + {
  25533. + struct Caos    MyCaos;
  25534. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25535. + //    MyCaos.M68kStart    =    NULL;
  25536. + //    MyCaos.M68kSize        =    0;
  25537. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25538. + //    MyCaos.PPCStart        =    NULL;
  25539. + //    MyCaos.PPCSize        =    0;
  25540. +     MyCaos.a0        =(ULONG) srcBitMap;
  25541. +     MyCaos.d0        =(ULONG) xSrc;
  25542. +     MyCaos.d1        =(ULONG) ySrc;
  25543. +     MyCaos.a1        =(ULONG) destBitMap;
  25544. +     MyCaos.d2        =(ULONG) xDest;
  25545. +     MyCaos.d3        =(ULONG) yDest;
  25546. +     MyCaos.d4        =(ULONG) xSize;
  25547. +     MyCaos.d5        =(ULONG) ySize;
  25548. +     MyCaos.d6        =(ULONG) minterm;
  25549. +     MyCaos.d7        =(ULONG) mask;
  25550. +     MyCaos.a2        =(ULONG) tempA;
  25551. +     MyCaos.caos_Un.Offset    =    (-30);
  25552. +     MyCaos.a6        =(ULONG) GfxBase;    
  25553. +     return((LONG)PPCCallOS(&MyCaos));
  25554. + }
  25555. + #define    BltBitMapRastPort(srcBitMap, xSrc, ySrc, destRP, xDest, yDest, xSize, ySize, minterm)    _BltBitMapRastPort(GRAPHICS_BASE_NAME, srcBitMap, xSrc, ySrc, destRP, xDest, yDest, xSize, ySize, minterm)
  25556. + static __inline void
  25557. + _BltBitMapRastPort(void *GfxBase, struct BitMap *srcBitMap, long xSrc, long ySrc, struct RastPort *destRP, long xDest, long yDest, long xSize, long ySize, unsigned long minterm)
  25558. + {
  25559. + struct Caos    MyCaos;
  25560. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25561. + //    MyCaos.M68kStart    =    NULL;
  25562. + //    MyCaos.M68kSize        =    0;
  25563. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25564. + //    MyCaos.PPCStart        =    NULL;
  25565. + //    MyCaos.PPCSize        =    0;
  25566. +     MyCaos.a0        =(ULONG) srcBitMap;
  25567. +     MyCaos.d0        =(ULONG) xSrc;
  25568. +     MyCaos.d1        =(ULONG) ySrc;
  25569. +     MyCaos.a1        =(ULONG) destRP;
  25570. +     MyCaos.d2        =(ULONG) xDest;
  25571. +     MyCaos.d3        =(ULONG) yDest;
  25572. +     MyCaos.d4        =(ULONG) xSize;
  25573. +     MyCaos.d5        =(ULONG) ySize;
  25574. +     MyCaos.d6        =(ULONG) minterm;
  25575. +     MyCaos.caos_Un.Offset    =    (-606);
  25576. +     MyCaos.a6        =(ULONG) GfxBase;    
  25577. +     PPCCallOS(&MyCaos);
  25578. + }
  25579. + #define    BltClear(memBlock, byteCount, flags)    _BltClear(GRAPHICS_BASE_NAME, memBlock, byteCount, flags)
  25580. + static __inline void
  25581. + _BltClear(void *GfxBase, PLANEPTR memBlock, unsigned long byteCount, unsigned long flags)
  25582. + {
  25583. + struct Caos    MyCaos;
  25584. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25585. + //    MyCaos.M68kStart    =    NULL;
  25586. + //    MyCaos.M68kSize        =    0;
  25587. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25588. + //    MyCaos.PPCStart        =    NULL;
  25589. + //    MyCaos.PPCSize        =    0;
  25590. +     MyCaos.a1        =(ULONG) memBlock;
  25591. +     MyCaos.d0        =(ULONG) byteCount;
  25592. +     MyCaos.d1        =(ULONG) flags;
  25593. +     MyCaos.caos_Un.Offset    =    (-300);
  25594. +     MyCaos.a6        =(ULONG) GfxBase;    
  25595. +     PPCCallOS(&MyCaos);
  25596. + }
  25597. + #define    BltMaskBitMapRastPort(srcBitMap, xSrc, ySrc, destRP, xDest, yDest, xSize, ySize, minterm, bltMask)    _BltMaskBitMapRastPort(GRAPHICS_BASE_NAME, srcBitMap, xSrc, ySrc, destRP, xDest, yDest, xSize, ySize, minterm, bltMask)
  25598. + static __inline void
  25599. + _BltMaskBitMapRastPort(void *GfxBase, struct BitMap *srcBitMap, long xSrc, long ySrc, struct RastPort *destRP, long xDest, long yDest, long xSize, long ySize, unsigned long minterm, PLANEPTR bltMask)
  25600. + {
  25601. + struct Caos    MyCaos;
  25602. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25603. + //    MyCaos.M68kStart    =    NULL;
  25604. + //    MyCaos.M68kSize        =    0;
  25605. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25606. + //    MyCaos.PPCStart        =    NULL;
  25607. + //    MyCaos.PPCSize        =    0;
  25608. +     MyCaos.a0        =(ULONG) srcBitMap;
  25609. +     MyCaos.d0        =(ULONG) xSrc;
  25610. +     MyCaos.d1        =(ULONG) ySrc;
  25611. +     MyCaos.a1        =(ULONG) destRP;
  25612. +     MyCaos.d2        =(ULONG) xDest;
  25613. +     MyCaos.d3        =(ULONG) yDest;
  25614. +     MyCaos.d4        =(ULONG) xSize;
  25615. +     MyCaos.d5        =(ULONG) ySize;
  25616. +     MyCaos.d6        =(ULONG) minterm;
  25617. +     MyCaos.a2        =(ULONG) bltMask;
  25618. +     MyCaos.caos_Un.Offset    =    (-636);
  25619. +     MyCaos.a6        =(ULONG) GfxBase;    
  25620. +     PPCCallOS(&MyCaos);
  25621. + }
  25622. + #define    BltPattern(rp, mask, xMin, yMin, xMax, yMax, maskBPR)    _BltPattern(GRAPHICS_BASE_NAME, rp, mask, xMin, yMin, xMax, yMax, maskBPR)
  25623. + static __inline void
  25624. + _BltPattern(void *GfxBase, struct RastPort *rp, PLANEPTR mask, long xMin, long yMin, long xMax, long yMax, unsigned long maskBPR)
  25625. + {
  25626. + struct Caos    MyCaos;
  25627. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25628. + //    MyCaos.M68kStart    =    NULL;
  25629. + //    MyCaos.M68kSize        =    0;
  25630. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25631. + //    MyCaos.PPCStart        =    NULL;
  25632. + //    MyCaos.PPCSize        =    0;
  25633. +     MyCaos.a1        =(ULONG) rp;
  25634. +     MyCaos.a0        =(ULONG) mask;
  25635. +     MyCaos.d0        =(ULONG) xMin;
  25636. +     MyCaos.d1        =(ULONG) yMin;
  25637. +     MyCaos.d2        =(ULONG) xMax;
  25638. +     MyCaos.d3        =(ULONG) yMax;
  25639. +     MyCaos.d4        =(ULONG) maskBPR;
  25640. +     MyCaos.caos_Un.Offset    =    (-312);
  25641. +     MyCaos.a6        =(ULONG) GfxBase;    
  25642. +     PPCCallOS(&MyCaos);
  25643. + }
  25644. + #define    BltTemplate(source, xSrc, srcMod, destRP, xDest, yDest, xSize, ySize)    _BltTemplate(GRAPHICS_BASE_NAME, source, xSrc, srcMod, destRP, xDest, yDest, xSize, ySize)
  25645. + static __inline void
  25646. + _BltTemplate(void *GfxBase, PLANEPTR source, long xSrc, long srcMod, struct RastPort *destRP, long xDest, long yDest, long xSize, long ySize)
  25647. + {
  25648. + struct Caos    MyCaos;
  25649. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25650. + //    MyCaos.M68kStart    =    NULL;
  25651. + //    MyCaos.M68kSize        =    0;
  25652. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25653. + //    MyCaos.PPCStart        =    NULL;
  25654. + //    MyCaos.PPCSize        =    0;
  25655. +     MyCaos.a0        =(ULONG) source;
  25656. +     MyCaos.d0        =(ULONG) xSrc;
  25657. +     MyCaos.d1        =(ULONG) srcMod;
  25658. +     MyCaos.a1        =(ULONG) destRP;
  25659. +     MyCaos.d2        =(ULONG) xDest;
  25660. +     MyCaos.d3        =(ULONG) yDest;
  25661. +     MyCaos.d4        =(ULONG) xSize;
  25662. +     MyCaos.d5        =(ULONG) ySize;
  25663. +     MyCaos.caos_Un.Offset    =    (-36);
  25664. +     MyCaos.a6        =(ULONG) GfxBase;    
  25665. +     PPCCallOS(&MyCaos);
  25666. + }
  25667. + #define    CBump(copList)    _CBump(GRAPHICS_BASE_NAME, copList)
  25668. + static __inline void
  25669. + _CBump(void *GfxBase, struct UCopList *copList)
  25670. + {
  25671. + struct Caos    MyCaos;
  25672. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25673. + //    MyCaos.M68kStart    =    NULL;
  25674. + //    MyCaos.M68kSize        =    0;
  25675. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25676. + //    MyCaos.PPCStart        =    NULL;
  25677. + //    MyCaos.PPCSize        =    0;
  25678. +     MyCaos.a1        =(ULONG) copList;
  25679. +     MyCaos.caos_Un.Offset    =    (-366);
  25680. +     MyCaos.a6        =(ULONG) GfxBase;    
  25681. +     PPCCallOS(&MyCaos);
  25682. + }
  25683. + #define    CMove(copList, destination, data)    _CMove(GRAPHICS_BASE_NAME, copList, destination, data)
  25684. + static __inline void
  25685. + _CMove(void *GfxBase, struct UCopList *copList, APTR destination, long data)
  25686. + {
  25687. + struct Caos    MyCaos;
  25688. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25689. + //    MyCaos.M68kStart    =    NULL;
  25690. + //    MyCaos.M68kSize        =    0;
  25691. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25692. + //    MyCaos.PPCStart        =    NULL;
  25693. + //    MyCaos.PPCSize        =    0;
  25694. +     MyCaos.a1        =(ULONG) copList;
  25695. +     MyCaos.d0        =(ULONG) destination;
  25696. +     MyCaos.d1        =(ULONG) data;
  25697. +     MyCaos.caos_Un.Offset    =    (-372);
  25698. +     MyCaos.a6        =(ULONG) GfxBase;    
  25699. +     PPCCallOS(&MyCaos);
  25700. + }
  25701. + #define    CWait(copList, v, h)    _CWait(GRAPHICS_BASE_NAME, copList, v, h)
  25702. + static __inline void
  25703. + _CWait(void *GfxBase, struct UCopList *copList, long v, long h)
  25704. + {
  25705. + struct Caos    MyCaos;
  25706. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25707. + //    MyCaos.M68kStart    =    NULL;
  25708. + //    MyCaos.M68kSize        =    0;
  25709. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25710. + //    MyCaos.PPCStart        =    NULL;
  25711. + //    MyCaos.PPCSize        =    0;
  25712. +     MyCaos.a1        =(ULONG) copList;
  25713. +     MyCaos.d0        =(ULONG) v;
  25714. +     MyCaos.d1        =(ULONG) h;
  25715. +     MyCaos.caos_Un.Offset    =    (-378);
  25716. +     MyCaos.a6        =(ULONG) GfxBase;    
  25717. +     PPCCallOS(&MyCaos);
  25718. + }
  25719. + #define    CalcIVG(v, vp)    _CalcIVG(GRAPHICS_BASE_NAME, v, vp)
  25720. + static __inline UWORD
  25721. + _CalcIVG(void *GfxBase, struct View *v, struct ViewPort *vp)
  25722. + {
  25723. + struct Caos    MyCaos;
  25724. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25725. + //    MyCaos.M68kStart    =    NULL;
  25726. + //    MyCaos.M68kSize        =    0;
  25727. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25728. + //    MyCaos.PPCStart        =    NULL;
  25729. + //    MyCaos.PPCSize        =    0;
  25730. +     MyCaos.a0        =(ULONG) v;
  25731. +     MyCaos.a1        =(ULONG) vp;
  25732. +     MyCaos.caos_Un.Offset    =    (-828);
  25733. +     MyCaos.a6        =(ULONG) GfxBase;    
  25734. +     return((UWORD)PPCCallOS(&MyCaos));
  25735. + }
  25736. + #define    ChangeExtSpriteA(vp, oldsprite, newsprite, tags)    _ChangeExtSpriteA(GRAPHICS_BASE_NAME, vp, oldsprite, newsprite, tags)
  25737. + static __inline LONG
  25738. + _ChangeExtSpriteA(void *GfxBase, struct ViewPort *vp, struct ExtSprite *oldsprite, struct ExtSprite *newsprite, struct TagItem *tags)
  25739. + {
  25740. + struct Caos    MyCaos;
  25741. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25742. + //    MyCaos.M68kStart    =    NULL;
  25743. + //    MyCaos.M68kSize        =    0;
  25744. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25745. + //    MyCaos.PPCStart        =    NULL;
  25746. + //    MyCaos.PPCSize        =    0;
  25747. +     MyCaos.a0        =(ULONG) vp;
  25748. +     MyCaos.a1        =(ULONG) oldsprite;
  25749. +     MyCaos.a2        =(ULONG) newsprite;
  25750. +     MyCaos.a3        =(ULONG) tags;
  25751. +     MyCaos.caos_Un.Offset    =    (-1026);
  25752. +     MyCaos.a6        =(ULONG) GfxBase;    
  25753. +     return((LONG)PPCCallOS(&MyCaos));
  25754. + }
  25755. + #ifndef NO_PPCINLINE_STDARG
  25756. + #define ChangeExtSprite(a0, a1, a2, tags...) \
  25757. +     ({ULONG _tags[] = { tags }; ChangeExtSpriteA((a0), (a1), (a2), (struct TagItem *)_tags);})
  25758. + #endif /* !NO_PPCINLINE_STDARG */
  25759. + #define    ChangeSprite(vp, sprite, newData)    _ChangeSprite(GRAPHICS_BASE_NAME, vp, sprite, newData)
  25760. + static __inline void
  25761. + _ChangeSprite(void *GfxBase, struct ViewPort *vp, struct SimpleSprite *sprite, PLANEPTR newData)
  25762. + {
  25763. + struct Caos    MyCaos;
  25764. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25765. + //    MyCaos.M68kStart    =    NULL;
  25766. + //    MyCaos.M68kSize        =    0;
  25767. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25768. + //    MyCaos.PPCStart        =    NULL;
  25769. + //    MyCaos.PPCSize        =    0;
  25770. +     MyCaos.a0        =(ULONG) vp;
  25771. +     MyCaos.a1        =(ULONG) sprite;
  25772. +     MyCaos.a2        =(ULONG) newData;
  25773. +     MyCaos.caos_Un.Offset    =    (-420);
  25774. +     MyCaos.a6        =(ULONG) GfxBase;    
  25775. +     PPCCallOS(&MyCaos);
  25776. + }
  25777. + #define    ChangeVPBitMap(vp, bm, db)    _ChangeVPBitMap(GRAPHICS_BASE_NAME, vp, bm, db)
  25778. + static __inline void
  25779. + _ChangeVPBitMap(void *GfxBase, struct ViewPort *vp, struct BitMap *bm, struct DBufInfo *db)
  25780. + {
  25781. + struct Caos    MyCaos;
  25782. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25783. + //    MyCaos.M68kStart    =    NULL;
  25784. + //    MyCaos.M68kSize        =    0;
  25785. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25786. + //    MyCaos.PPCStart        =    NULL;
  25787. + //    MyCaos.PPCSize        =    0;
  25788. +     MyCaos.a0        =(ULONG) vp;
  25789. +     MyCaos.a1        =(ULONG) bm;
  25790. +     MyCaos.a2        =(ULONG) db;
  25791. +     MyCaos.caos_Un.Offset    =    (-942);
  25792. +     MyCaos.a6        =(ULONG) GfxBase;    
  25793. +     PPCCallOS(&MyCaos);
  25794. + }
  25795. + #define    ClearEOL(rp)    _ClearEOL(GRAPHICS_BASE_NAME, rp)
  25796. + static __inline void
  25797. + _ClearEOL(void *GfxBase, struct RastPort *rp)
  25798. + {
  25799. + struct Caos    MyCaos;
  25800. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25801. + //    MyCaos.M68kStart    =    NULL;
  25802. + //    MyCaos.M68kSize        =    0;
  25803. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25804. + //    MyCaos.PPCStart        =    NULL;
  25805. + //    MyCaos.PPCSize        =    0;
  25806. +     MyCaos.a1        =(ULONG) rp;
  25807. +     MyCaos.caos_Un.Offset    =    (-42);
  25808. +     MyCaos.a6        =(ULONG) GfxBase;    
  25809. +     PPCCallOS(&MyCaos);
  25810. + }
  25811. + #define    ClearRectRegion(region, rectangle)    _ClearRectRegion(GRAPHICS_BASE_NAME, region, rectangle)
  25812. + static __inline BOOL
  25813. + _ClearRectRegion(void *GfxBase, struct Region *region, struct Rectangle *rectangle)
  25814. + {
  25815. + struct Caos    MyCaos;
  25816. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25817. + //    MyCaos.M68kStart    =    NULL;
  25818. + //    MyCaos.M68kSize        =    0;
  25819. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25820. + //    MyCaos.PPCStart        =    NULL;
  25821. + //    MyCaos.PPCSize        =    0;
  25822. +     MyCaos.a0        =(ULONG) region;
  25823. +     MyCaos.a1        =(ULONG) rectangle;
  25824. +     MyCaos.caos_Un.Offset    =    (-522);
  25825. +     MyCaos.a6        =(ULONG) GfxBase;    
  25826. +     return((BOOL)PPCCallOS(&MyCaos));
  25827. + }
  25828. + #define    ClearRegion(region)    _ClearRegion(GRAPHICS_BASE_NAME, region)
  25829. + static __inline void
  25830. + _ClearRegion(void *GfxBase, struct Region *region)
  25831. + {
  25832. + struct Caos    MyCaos;
  25833. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25834. + //    MyCaos.M68kStart    =    NULL;
  25835. + //    MyCaos.M68kSize        =    0;
  25836. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25837. + //    MyCaos.PPCStart        =    NULL;
  25838. + //    MyCaos.PPCSize        =    0;
  25839. +     MyCaos.a0        =(ULONG) region;
  25840. +     MyCaos.caos_Un.Offset    =    (-528);
  25841. +     MyCaos.a6        =(ULONG) GfxBase;    
  25842. +     PPCCallOS(&MyCaos);
  25843. + }
  25844. + #define    ClearScreen(rp)    _ClearScreen(GRAPHICS_BASE_NAME, rp)
  25845. + static __inline void
  25846. + _ClearScreen(void *GfxBase, struct RastPort *rp)
  25847. + {
  25848. + struct Caos    MyCaos;
  25849. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25850. + //    MyCaos.M68kStart    =    NULL;
  25851. + //    MyCaos.M68kSize        =    0;
  25852. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25853. + //    MyCaos.PPCStart        =    NULL;
  25854. + //    MyCaos.PPCSize        =    0;
  25855. +     MyCaos.a1        =(ULONG) rp;
  25856. +     MyCaos.caos_Un.Offset    =    (-48);
  25857. +     MyCaos.a6        =(ULONG) GfxBase;    
  25858. +     PPCCallOS(&MyCaos);
  25859. + }
  25860. + #define    ClipBlit(srcRP, xSrc, ySrc, destRP, xDest, yDest, xSize, ySize, minterm)    _ClipBlit(GRAPHICS_BASE_NAME, srcRP, xSrc, ySrc, destRP, xDest, yDest, xSize, ySize, minterm)
  25861. + static __inline void
  25862. + _ClipBlit(void *GfxBase, struct RastPort *srcRP, long xSrc, long ySrc, struct RastPort *destRP, long xDest, long yDest, long xSize, long ySize, unsigned long minterm)
  25863. + {
  25864. + struct Caos    MyCaos;
  25865. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25866. + //    MyCaos.M68kStart    =    NULL;
  25867. + //    MyCaos.M68kSize        =    0;
  25868. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25869. + //    MyCaos.PPCStart        =    NULL;
  25870. + //    MyCaos.PPCSize        =    0;
  25871. +     MyCaos.a0        =(ULONG) srcRP;
  25872. +     MyCaos.d0        =(ULONG) xSrc;
  25873. +     MyCaos.d1        =(ULONG) ySrc;
  25874. +     MyCaos.a1        =(ULONG) destRP;
  25875. +     MyCaos.d2        =(ULONG) xDest;
  25876. +     MyCaos.d3        =(ULONG) yDest;
  25877. +     MyCaos.d4        =(ULONG) xSize;
  25878. +     MyCaos.d5        =(ULONG) ySize;
  25879. +     MyCaos.d6        =(ULONG) minterm;
  25880. +     MyCaos.caos_Un.Offset    =    (-552);
  25881. +     MyCaos.a6        =(ULONG) GfxBase;    
  25882. +     PPCCallOS(&MyCaos);
  25883. + }
  25884. + #define    CloseFont(textFont)    _CloseFont(GRAPHICS_BASE_NAME, textFont)
  25885. + static __inline void
  25886. + _CloseFont(void *GfxBase, struct TextFont *textFont)
  25887. + {
  25888. + struct Caos    MyCaos;
  25889. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25890. + //    MyCaos.M68kStart    =    NULL;
  25891. + //    MyCaos.M68kSize        =    0;
  25892. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25893. + //    MyCaos.PPCStart        =    NULL;
  25894. + //    MyCaos.PPCSize        =    0;
  25895. +     MyCaos.a1        =(ULONG) textFont;
  25896. +     MyCaos.caos_Un.Offset    =    (-78);
  25897. +     MyCaos.a6        =(ULONG) GfxBase;    
  25898. +     PPCCallOS(&MyCaos);
  25899. + }
  25900. + #define    CloseMonitor(monitorSpec)    _CloseMonitor(GRAPHICS_BASE_NAME, monitorSpec)
  25901. + static __inline BOOL
  25902. + _CloseMonitor(void *GfxBase, struct MonitorSpec *monitorSpec)
  25903. + {
  25904. + struct Caos    MyCaos;
  25905. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25906. + //    MyCaos.M68kStart    =    NULL;
  25907. + //    MyCaos.M68kSize        =    0;
  25908. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25909. + //    MyCaos.PPCStart        =    NULL;
  25910. + //    MyCaos.PPCSize        =    0;
  25911. +     MyCaos.a0        =(ULONG) monitorSpec;
  25912. +     MyCaos.caos_Un.Offset    =    (-720);
  25913. +     MyCaos.a6        =(ULONG) GfxBase;    
  25914. +     return((BOOL)PPCCallOS(&MyCaos));
  25915. + }
  25916. + #define    CoerceMode(vp, monitorid, flags)    _CoerceMode(GRAPHICS_BASE_NAME, vp, monitorid, flags)
  25917. + static __inline ULONG
  25918. + _CoerceMode(void *GfxBase, struct ViewPort *vp, unsigned long monitorid, unsigned long flags)
  25919. + {
  25920. + struct Caos    MyCaos;
  25921. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25922. + //    MyCaos.M68kStart    =    NULL;
  25923. + //    MyCaos.M68kSize        =    0;
  25924. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25925. + //    MyCaos.PPCStart        =    NULL;
  25926. + //    MyCaos.PPCSize        =    0;
  25927. +     MyCaos.a0        =(ULONG) vp;
  25928. +     MyCaos.d0        =(ULONG) monitorid;
  25929. +     MyCaos.d1        =(ULONG) flags;
  25930. +     MyCaos.caos_Un.Offset    =    (-936);
  25931. +     MyCaos.a6        =(ULONG) GfxBase;    
  25932. +     return((ULONG)PPCCallOS(&MyCaos));
  25933. + }
  25934. + #define    CopySBitMap(layer)    _CopySBitMap(GRAPHICS_BASE_NAME, layer)
  25935. + static __inline void
  25936. + _CopySBitMap(void *GfxBase, struct Layer *layer)
  25937. + {
  25938. + struct Caos    MyCaos;
  25939. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25940. + //    MyCaos.M68kStart    =    NULL;
  25941. + //    MyCaos.M68kSize        =    0;
  25942. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25943. + //    MyCaos.PPCStart        =    NULL;
  25944. + //    MyCaos.PPCSize        =    0;
  25945. +     MyCaos.a0        =(ULONG) layer;
  25946. +     MyCaos.caos_Un.Offset    =    (-450);
  25947. +     MyCaos.a6        =(ULONG) GfxBase;    
  25948. +     PPCCallOS(&MyCaos);
  25949. + }
  25950. + #define    DisownBlitter()    _DisownBlitter(GRAPHICS_BASE_NAME)
  25951. + static __inline void
  25952. + _DisownBlitter(void *GfxBase)
  25953. + {
  25954. + struct Caos    MyCaos;
  25955. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25956. + //    MyCaos.M68kStart    =    NULL;
  25957. + //    MyCaos.M68kSize        =    0;
  25958. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25959. + //    MyCaos.PPCStart        =    NULL;
  25960. + //    MyCaos.PPCSize        =    0;
  25961. +     MyCaos.caos_Un.Offset    =    (-462);
  25962. +     MyCaos.a6        =(ULONG) GfxBase;    
  25963. +     PPCCallOS(&MyCaos);
  25964. + }
  25965. + #define    DisposeRegion(region)    _DisposeRegion(GRAPHICS_BASE_NAME, region)
  25966. + static __inline void
  25967. + _DisposeRegion(void *GfxBase, struct Region *region)
  25968. + {
  25969. + struct Caos    MyCaos;
  25970. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25971. + //    MyCaos.M68kStart    =    NULL;
  25972. + //    MyCaos.M68kSize        =    0;
  25973. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25974. + //    MyCaos.PPCStart        =    NULL;
  25975. + //    MyCaos.PPCSize        =    0;
  25976. +     MyCaos.a0        =(ULONG) region;
  25977. +     MyCaos.caos_Un.Offset    =    (-534);
  25978. +     MyCaos.a6        =(ULONG) GfxBase;    
  25979. +     PPCCallOS(&MyCaos);
  25980. + }
  25981. + #define    DoCollision(rp)    _DoCollision(GRAPHICS_BASE_NAME, rp)
  25982. + static __inline void
  25983. + _DoCollision(void *GfxBase, struct RastPort *rp)
  25984. + {
  25985. + struct Caos    MyCaos;
  25986. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  25987. + //    MyCaos.M68kStart    =    NULL;
  25988. + //    MyCaos.M68kSize        =    0;
  25989. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  25990. + //    MyCaos.PPCStart        =    NULL;
  25991. + //    MyCaos.PPCSize        =    0;
  25992. +     MyCaos.a1        =(ULONG) rp;
  25993. +     MyCaos.caos_Un.Offset    =    (-108);
  25994. +     MyCaos.a6        =(ULONG) GfxBase;    
  25995. +     PPCCallOS(&MyCaos);
  25996. + }
  25997. + #define    Draw(rp, x, y)    _Draw(GRAPHICS_BASE_NAME, rp, x, y)
  25998. + static __inline void
  25999. + _Draw(void *GfxBase, struct RastPort *rp, long x, long y)
  26000. + {
  26001. + struct Caos    MyCaos;
  26002. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26003. + //    MyCaos.M68kStart    =    NULL;
  26004. + //    MyCaos.M68kSize        =    0;
  26005. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26006. + //    MyCaos.PPCStart        =    NULL;
  26007. + //    MyCaos.PPCSize        =    0;
  26008. +     MyCaos.a1        =(ULONG) rp;
  26009. +     MyCaos.d0        =(ULONG) x;
  26010. +     MyCaos.d1        =(ULONG) y;
  26011. +     MyCaos.caos_Un.Offset    =    (-246);
  26012. +     MyCaos.a6        =(ULONG) GfxBase;    
  26013. +     PPCCallOS(&MyCaos);
  26014. + }
  26015. + #define    DrawEllipse(rp, xCenter, yCenter, a, b)    _DrawEllipse(GRAPHICS_BASE_NAME, rp, xCenter, yCenter, a, b)
  26016. + static __inline void
  26017. + _DrawEllipse(void *GfxBase, struct RastPort *rp, long xCenter, long yCenter, long a, long b)
  26018. + {
  26019. + struct Caos    MyCaos;
  26020. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26021. + //    MyCaos.M68kStart    =    NULL;
  26022. + //    MyCaos.M68kSize        =    0;
  26023. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26024. + //    MyCaos.PPCStart        =    NULL;
  26025. + //    MyCaos.PPCSize        =    0;
  26026. +     MyCaos.a1        =(ULONG) rp;
  26027. +     MyCaos.d0        =(ULONG) xCenter;
  26028. +     MyCaos.d1        =(ULONG) yCenter;
  26029. +     MyCaos.d2        =(ULONG) a;
  26030. +     MyCaos.d3        =(ULONG) b;
  26031. +     MyCaos.caos_Un.Offset    =    (-180);
  26032. +     MyCaos.a6        =(ULONG) GfxBase;    
  26033. +     PPCCallOS(&MyCaos);
  26034. + }
  26035. + #define    DrawGList(rp, vp)    _DrawGList(GRAPHICS_BASE_NAME, rp, vp)
  26036. + static __inline void
  26037. + _DrawGList(void *GfxBase, struct RastPort *rp, struct ViewPort *vp)
  26038. + {
  26039. + struct Caos    MyCaos;
  26040. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26041. + //    MyCaos.M68kStart    =    NULL;
  26042. + //    MyCaos.M68kSize        =    0;
  26043. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26044. + //    MyCaos.PPCStart        =    NULL;
  26045. + //    MyCaos.PPCSize        =    0;
  26046. +     MyCaos.a1        =(ULONG) rp;
  26047. +     MyCaos.a0        =(ULONG) vp;
  26048. +     MyCaos.caos_Un.Offset    =    (-114);
  26049. +     MyCaos.a6        =(ULONG) GfxBase;    
  26050. +     PPCCallOS(&MyCaos);
  26051. + }
  26052. + #define    EraseRect(rp, xMin, yMin, xMax, yMax)    _EraseRect(GRAPHICS_BASE_NAME, rp, xMin, yMin, xMax, yMax)
  26053. + static __inline void
  26054. + _EraseRect(void *GfxBase, struct RastPort *rp, long xMin, long yMin, long xMax, long yMax)
  26055. + {
  26056. + struct Caos    MyCaos;
  26057. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26058. + //    MyCaos.M68kStart    =    NULL;
  26059. + //    MyCaos.M68kSize        =    0;
  26060. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26061. + //    MyCaos.PPCStart        =    NULL;
  26062. + //    MyCaos.PPCSize        =    0;
  26063. +     MyCaos.a1        =(ULONG) rp;
  26064. +     MyCaos.d0        =(ULONG) xMin;
  26065. +     MyCaos.d1        =(ULONG) yMin;
  26066. +     MyCaos.d2        =(ULONG) xMax;
  26067. +     MyCaos.d3        =(ULONG) yMax;
  26068. +     MyCaos.caos_Un.Offset    =    (-810);
  26069. +     MyCaos.a6        =(ULONG) GfxBase;    
  26070. +     PPCCallOS(&MyCaos);
  26071. + }
  26072. + #define    ExtendFont(font, fontTags)    _ExtendFont(GRAPHICS_BASE_NAME, font, fontTags)
  26073. + static __inline ULONG
  26074. + _ExtendFont(void *GfxBase, struct TextFont *font, struct TagItem *fontTags)
  26075. + {
  26076. + struct Caos    MyCaos;
  26077. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26078. + //    MyCaos.M68kStart    =    NULL;
  26079. + //    MyCaos.M68kSize        =    0;
  26080. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26081. + //    MyCaos.PPCStart        =    NULL;
  26082. + //    MyCaos.PPCSize        =    0;
  26083. +     MyCaos.a0        =(ULONG) font;
  26084. +     MyCaos.a1        =(ULONG) fontTags;
  26085. +     MyCaos.caos_Un.Offset    =    (-816);
  26086. +     MyCaos.a6        =(ULONG) GfxBase;    
  26087. +     return((ULONG)PPCCallOS(&MyCaos));
  26088. + }
  26089. + #ifndef NO_PPCINLINE_STDARG
  26090. + #define ExtendFontTags(a0, tags...) \
  26091. +     ({ULONG _tags[] = { tags }; ExtendFont((a0), (struct TagItem *)_tags);})
  26092. + #endif /* !NO_PPCINLINE_STDARG */
  26093. + #define    FindColor(cm, r, g, b, maxcolor)    _FindColor(GRAPHICS_BASE_NAME, cm, r, g, b, maxcolor)
  26094. + static __inline LONG
  26095. + _FindColor(void *GfxBase, struct ColorMap *cm, unsigned long r, unsigned long g, unsigned long b, long maxcolor)
  26096. + {
  26097. + struct Caos    MyCaos;
  26098. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26099. + //    MyCaos.M68kStart    =    NULL;
  26100. + //    MyCaos.M68kSize        =    0;
  26101. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26102. + //    MyCaos.PPCStart        =    NULL;
  26103. + //    MyCaos.PPCSize        =    0;
  26104. +     MyCaos.a3        =(ULONG) cm;
  26105. +     MyCaos.d1        =(ULONG) r;
  26106. +     MyCaos.d2        =(ULONG) g;
  26107. +     MyCaos.d3        =(ULONG) b;
  26108. +     MyCaos.d4        =(ULONG) maxcolor;
  26109. +     MyCaos.caos_Un.Offset    =    (-1008);
  26110. +     MyCaos.a6        =(ULONG) GfxBase;    
  26111. +     return((LONG)PPCCallOS(&MyCaos));
  26112. + }
  26113. + #define    FindDisplayInfo(displayID)    _FindDisplayInfo(GRAPHICS_BASE_NAME, displayID)
  26114. + static __inline DisplayInfoHandle
  26115. + _FindDisplayInfo(void *GfxBase, unsigned long displayID)
  26116. + {
  26117. + struct Caos    MyCaos;
  26118. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26119. + //    MyCaos.M68kStart    =    NULL;
  26120. + //    MyCaos.M68kSize        =    0;
  26121. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26122. + //    MyCaos.PPCStart        =    NULL;
  26123. + //    MyCaos.PPCSize        =    0;
  26124. +     MyCaos.d0        =(ULONG) displayID;
  26125. +     MyCaos.caos_Un.Offset    =    (-726);
  26126. +     MyCaos.a6        =(ULONG) GfxBase;    
  26127. +     return((DisplayInfoHandle)PPCCallOS(&MyCaos));
  26128. + }
  26129. + #define    Flood(rp, mode, x, y)    _Flood(GRAPHICS_BASE_NAME, rp, mode, x, y)
  26130. + static __inline BOOL
  26131. + _Flood(void *GfxBase, struct RastPort *rp, unsigned long mode, long x, long y)
  26132. + {
  26133. + struct Caos    MyCaos;
  26134. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26135. + //    MyCaos.M68kStart    =    NULL;
  26136. + //    MyCaos.M68kSize        =    0;
  26137. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26138. + //    MyCaos.PPCStart        =    NULL;
  26139. + //    MyCaos.PPCSize        =    0;
  26140. +     MyCaos.a1        =(ULONG) rp;
  26141. +     MyCaos.d2        =(ULONG) mode;
  26142. +     MyCaos.d0        =(ULONG) x;
  26143. +     MyCaos.d1        =(ULONG) y;
  26144. +     MyCaos.caos_Un.Offset    =    (-330);
  26145. +     MyCaos.a6        =(ULONG) GfxBase;    
  26146. +     return((BOOL)PPCCallOS(&MyCaos));
  26147. + }
  26148. + #define    FontExtent(font, fontExtent)    _FontExtent(GRAPHICS_BASE_NAME, font, fontExtent)
  26149. + static __inline void
  26150. + _FontExtent(void *GfxBase, struct TextFont *font, struct TextExtent *fontExtent)
  26151. + {
  26152. + struct Caos    MyCaos;
  26153. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26154. + //    MyCaos.M68kStart    =    NULL;
  26155. + //    MyCaos.M68kSize        =    0;
  26156. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26157. + //    MyCaos.PPCStart        =    NULL;
  26158. + //    MyCaos.PPCSize        =    0;
  26159. +     MyCaos.a0        =(ULONG) font;
  26160. +     MyCaos.a1        =(ULONG) fontExtent;
  26161. +     MyCaos.caos_Un.Offset    =    (-762);
  26162. +     MyCaos.a6        =(ULONG) GfxBase;    
  26163. +     PPCCallOS(&MyCaos);
  26164. + }
  26165. + #define    FreeBitMap(bm)    _FreeBitMap(GRAPHICS_BASE_NAME, bm)
  26166. + static __inline void
  26167. + _FreeBitMap(void *GfxBase, struct BitMap *bm)
  26168. + {
  26169. + struct Caos    MyCaos;
  26170. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26171. + //    MyCaos.M68kStart    =    NULL;
  26172. + //    MyCaos.M68kSize        =    0;
  26173. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26174. + //    MyCaos.PPCStart        =    NULL;
  26175. + //    MyCaos.PPCSize        =    0;
  26176. +     MyCaos.a0        =(ULONG) bm;
  26177. +     MyCaos.caos_Un.Offset    =    (-924);
  26178. +     MyCaos.a6        =(ULONG) GfxBase;    
  26179. +     PPCCallOS(&MyCaos);
  26180. + }
  26181. + #define    FreeColorMap(colorMap)    _FreeColorMap(GRAPHICS_BASE_NAME, colorMap)
  26182. + static __inline void
  26183. + _FreeColorMap(void *GfxBase, struct ColorMap *colorMap)
  26184. + {
  26185. + struct Caos    MyCaos;
  26186. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26187. + //    MyCaos.M68kStart    =    NULL;
  26188. + //    MyCaos.M68kSize        =    0;
  26189. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26190. + //    MyCaos.PPCStart        =    NULL;
  26191. + //    MyCaos.PPCSize        =    0;
  26192. +     MyCaos.a0        =(ULONG) colorMap;
  26193. +     MyCaos.caos_Un.Offset    =    (-576);
  26194. +     MyCaos.a6        =(ULONG) GfxBase;    
  26195. +     PPCCallOS(&MyCaos);
  26196. + }
  26197. + #define    FreeCopList(copList)    _FreeCopList(GRAPHICS_BASE_NAME, copList)
  26198. + static __inline void
  26199. + _FreeCopList(void *GfxBase, struct CopList *copList)
  26200. + {
  26201. + struct Caos    MyCaos;
  26202. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26203. + //    MyCaos.M68kStart    =    NULL;
  26204. + //    MyCaos.M68kSize        =    0;
  26205. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26206. + //    MyCaos.PPCStart        =    NULL;
  26207. + //    MyCaos.PPCSize        =    0;
  26208. +     MyCaos.a0        =(ULONG) copList;
  26209. +     MyCaos.caos_Un.Offset    =    (-546);
  26210. +     MyCaos.a6        =(ULONG) GfxBase;    
  26211. +     PPCCallOS(&MyCaos);
  26212. + }
  26213. + #define    FreeCprList(cprList)    _FreeCprList(GRAPHICS_BASE_NAME, cprList)
  26214. + static __inline void
  26215. + _FreeCprList(void *GfxBase, struct cprlist *cprList)
  26216. + {
  26217. + struct Caos    MyCaos;
  26218. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26219. + //    MyCaos.M68kStart    =    NULL;
  26220. + //    MyCaos.M68kSize        =    0;
  26221. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26222. + //    MyCaos.PPCStart        =    NULL;
  26223. + //    MyCaos.PPCSize        =    0;
  26224. +     MyCaos.a0        =(ULONG) cprList;
  26225. +     MyCaos.caos_Un.Offset    =    (-564);
  26226. +     MyCaos.a6        =(ULONG) GfxBase;    
  26227. +     PPCCallOS(&MyCaos);
  26228. + }
  26229. + #define    FreeDBufInfo(dbi)    _FreeDBufInfo(GRAPHICS_BASE_NAME, dbi)
  26230. + static __inline void
  26231. + _FreeDBufInfo(void *GfxBase, struct DBufInfo *dbi)
  26232. + {
  26233. + struct Caos    MyCaos;
  26234. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26235. + //    MyCaos.M68kStart    =    NULL;
  26236. + //    MyCaos.M68kSize        =    0;
  26237. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26238. + //    MyCaos.PPCStart        =    NULL;
  26239. + //    MyCaos.PPCSize        =    0;
  26240. +     MyCaos.a1        =(ULONG) dbi;
  26241. +     MyCaos.caos_Un.Offset    =    (-972);
  26242. +     MyCaos.a6        =(ULONG) GfxBase;    
  26243. +     PPCCallOS(&MyCaos);
  26244. + }
  26245. + #define    FreeGBuffers(anOb, rp, flag)    _FreeGBuffers(GRAPHICS_BASE_NAME, anOb, rp, flag)
  26246. + static __inline void
  26247. + _FreeGBuffers(void *GfxBase, struct AnimOb *anOb, struct RastPort *rp, long flag)
  26248. + {
  26249. + struct Caos    MyCaos;
  26250. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26251. + //    MyCaos.M68kStart    =    NULL;
  26252. + //    MyCaos.M68kSize        =    0;
  26253. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26254. + //    MyCaos.PPCStart        =    NULL;
  26255. + //    MyCaos.PPCSize        =    0;
  26256. +     MyCaos.a0        =(ULONG) anOb;
  26257. +     MyCaos.a1        =(ULONG) rp;
  26258. +     MyCaos.d0        =(ULONG) flag;
  26259. +     MyCaos.caos_Un.Offset    =    (-600);
  26260. +     MyCaos.a6        =(ULONG) GfxBase;    
  26261. +     PPCCallOS(&MyCaos);
  26262. + }
  26263. + #define    FreeRaster(p, width, height)    _FreeRaster(GRAPHICS_BASE_NAME, p, width, height)
  26264. + static __inline void
  26265. + _FreeRaster(void *GfxBase, PLANEPTR p, unsigned long width, unsigned long height)
  26266. + {
  26267. + struct Caos    MyCaos;
  26268. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26269. + //    MyCaos.M68kStart    =    NULL;
  26270. + //    MyCaos.M68kSize        =    0;
  26271. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26272. + //    MyCaos.PPCStart        =    NULL;
  26273. + //    MyCaos.PPCSize        =    0;
  26274. +     MyCaos.a0        =(ULONG) p;
  26275. +     MyCaos.d0        =(ULONG) width;
  26276. +     MyCaos.d1        =(ULONG) height;
  26277. +     MyCaos.caos_Un.Offset    =    (-498);
  26278. +     MyCaos.a6        =(ULONG) GfxBase;    
  26279. +     PPCCallOS(&MyCaos);
  26280. + }
  26281. + #define    FreeSprite(num)    _FreeSprite(GRAPHICS_BASE_NAME, num)
  26282. + static __inline void
  26283. + _FreeSprite(void *GfxBase, long num)
  26284. + {
  26285. + struct Caos    MyCaos;
  26286. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26287. + //    MyCaos.M68kStart    =    NULL;
  26288. + //    MyCaos.M68kSize        =    0;
  26289. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26290. + //    MyCaos.PPCStart        =    NULL;
  26291. + //    MyCaos.PPCSize        =    0;
  26292. +     MyCaos.d0        =(ULONG) num;
  26293. +     MyCaos.caos_Un.Offset    =    (-414);
  26294. +     MyCaos.a6        =(ULONG) GfxBase;    
  26295. +     PPCCallOS(&MyCaos);
  26296. + }
  26297. + #define    FreeSpriteData(sp)    _FreeSpriteData(GRAPHICS_BASE_NAME, sp)
  26298. + static __inline void
  26299. + _FreeSpriteData(void *GfxBase, struct ExtSprite *sp)
  26300. + {
  26301. + struct Caos    MyCaos;
  26302. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26303. + //    MyCaos.M68kStart    =    NULL;
  26304. + //    MyCaos.M68kSize        =    0;
  26305. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26306. + //    MyCaos.PPCStart        =    NULL;
  26307. + //    MyCaos.PPCSize        =    0;
  26308. +     MyCaos.a2        =(ULONG) sp;
  26309. +     MyCaos.caos_Un.Offset    =    (-1032);
  26310. +     MyCaos.a6        =(ULONG) GfxBase;    
  26311. +     PPCCallOS(&MyCaos);
  26312. + }
  26313. + #define    FreeVPortCopLists(vp)    _FreeVPortCopLists(GRAPHICS_BASE_NAME, vp)
  26314. + static __inline void
  26315. + _FreeVPortCopLists(void *GfxBase, struct ViewPort *vp)
  26316. + {
  26317. + struct Caos    MyCaos;
  26318. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26319. + //    MyCaos.M68kStart    =    NULL;
  26320. + //    MyCaos.M68kSize        =    0;
  26321. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26322. + //    MyCaos.PPCStart        =    NULL;
  26323. + //    MyCaos.PPCSize        =    0;
  26324. +     MyCaos.a0        =(ULONG) vp;
  26325. +     MyCaos.caos_Un.Offset    =    (-540);
  26326. +     MyCaos.a6        =(ULONG) GfxBase;    
  26327. +     PPCCallOS(&MyCaos);
  26328. + }
  26329. + #define    GetAPen(rp)    _GetAPen(GRAPHICS_BASE_NAME, rp)
  26330. + static __inline ULONG
  26331. + _GetAPen(void *GfxBase, struct RastPort *rp)
  26332. + {
  26333. + struct Caos    MyCaos;
  26334. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26335. + //    MyCaos.M68kStart    =    NULL;
  26336. + //    MyCaos.M68kSize        =    0;
  26337. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26338. + //    MyCaos.PPCStart        =    NULL;
  26339. + //    MyCaos.PPCSize        =    0;
  26340. +     MyCaos.a0        =(ULONG) rp;
  26341. +     MyCaos.caos_Un.Offset    =    (-858);
  26342. +     MyCaos.a6        =(ULONG) GfxBase;    
  26343. +     return((ULONG)PPCCallOS(&MyCaos));
  26344. + }
  26345. + #define    GetBPen(rp)    _GetBPen(GRAPHICS_BASE_NAME, rp)
  26346. + static __inline ULONG
  26347. + _GetBPen(void *GfxBase, struct RastPort *rp)
  26348. + {
  26349. + struct Caos    MyCaos;
  26350. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26351. + //    MyCaos.M68kStart    =    NULL;
  26352. + //    MyCaos.M68kSize        =    0;
  26353. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26354. + //    MyCaos.PPCStart        =    NULL;
  26355. + //    MyCaos.PPCSize        =    0;
  26356. +     MyCaos.a0        =(ULONG) rp;
  26357. +     MyCaos.caos_Un.Offset    =    (-864);
  26358. +     MyCaos.a6        =(ULONG) GfxBase;    
  26359. +     return((ULONG)PPCCallOS(&MyCaos));
  26360. + }
  26361. + #define    GetBitMapAttr(bm, attrnum)    _GetBitMapAttr(GRAPHICS_BASE_NAME, bm, attrnum)
  26362. + static __inline ULONG
  26363. + _GetBitMapAttr(void *GfxBase, struct BitMap *bm, unsigned long attrnum)
  26364. + {
  26365. + struct Caos    MyCaos;
  26366. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26367. + //    MyCaos.M68kStart    =    NULL;
  26368. + //    MyCaos.M68kSize        =    0;
  26369. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26370. + //    MyCaos.PPCStart        =    NULL;
  26371. + //    MyCaos.PPCSize        =    0;
  26372. +     MyCaos.a0        =(ULONG) bm;
  26373. +     MyCaos.d1        =(ULONG) attrnum;
  26374. +     MyCaos.caos_Un.Offset    =    (-960);
  26375. +     MyCaos.a6        =(ULONG) GfxBase;    
  26376. +     return((ULONG)PPCCallOS(&MyCaos));
  26377. + }
  26378. + #define    GetColorMap(entries)    _GetColorMap(GRAPHICS_BASE_NAME, entries)
  26379. + static __inline struct ColorMap *
  26380. + _GetColorMap(void *GfxBase, long entries)
  26381. + {
  26382. + struct Caos    MyCaos;
  26383. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26384. + //    MyCaos.M68kStart    =    NULL;
  26385. + //    MyCaos.M68kSize        =    0;
  26386. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26387. + //    MyCaos.PPCStart        =    NULL;
  26388. + //    MyCaos.PPCSize        =    0;
  26389. +     MyCaos.d0        =(ULONG) entries;
  26390. +     MyCaos.caos_Un.Offset    =    (-570);
  26391. +     MyCaos.a6        =(ULONG) GfxBase;    
  26392. +     return((struct ColorMap *)PPCCallOS(&MyCaos));
  26393. + }
  26394. + #define    GetDisplayInfoData(handle, buf, size, tagID, displayID)    _GetDisplayInfoData(GRAPHICS_BASE_NAME, handle, buf, size, tagID, displayID)
  26395. + static __inline ULONG
  26396. + _GetDisplayInfoData(void *GfxBase, DisplayInfoHandle handle, UBYTE *buf, unsigned long size, unsigned long tagID, unsigned long displayID)
  26397. + {
  26398. + struct Caos    MyCaos;
  26399. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26400. + //    MyCaos.M68kStart    =    NULL;
  26401. + //    MyCaos.M68kSize        =    0;
  26402. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26403. + //    MyCaos.PPCStart        =    NULL;
  26404. + //    MyCaos.PPCSize        =    0;
  26405. +     MyCaos.a0        =(ULONG) handle;
  26406. +     MyCaos.a1        =(ULONG) buf;
  26407. +     MyCaos.d0        =(ULONG) size;
  26408. +     MyCaos.d1        =(ULONG) tagID;
  26409. +     MyCaos.d2        =(ULONG) displayID;
  26410. +     MyCaos.caos_Un.Offset    =    (-756);
  26411. +     MyCaos.a6        =(ULONG) GfxBase;    
  26412. +     return((ULONG)PPCCallOS(&MyCaos));
  26413. + }
  26414. + #define    GetDrMd(rp)    _GetDrMd(GRAPHICS_BASE_NAME, rp)
  26415. + static __inline ULONG
  26416. + _GetDrMd(void *GfxBase, struct RastPort *rp)
  26417. + {
  26418. + struct Caos    MyCaos;
  26419. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26420. + //    MyCaos.M68kStart    =    NULL;
  26421. + //    MyCaos.M68kSize        =    0;
  26422. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26423. + //    MyCaos.PPCStart        =    NULL;
  26424. + //    MyCaos.PPCSize        =    0;
  26425. +     MyCaos.a0        =(ULONG) rp;
  26426. +     MyCaos.caos_Un.Offset    =    (-870);
  26427. +     MyCaos.a6        =(ULONG) GfxBase;    
  26428. +     return((ULONG)PPCCallOS(&MyCaos));
  26429. + }
  26430. + #define    GetExtSpriteA(ss, tags)    _GetExtSpriteA(GRAPHICS_BASE_NAME, ss, tags)
  26431. + static __inline LONG
  26432. + _GetExtSpriteA(void *GfxBase, struct ExtSprite *ss, struct TagItem *tags)
  26433. + {
  26434. + struct Caos    MyCaos;
  26435. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26436. + //    MyCaos.M68kStart    =    NULL;
  26437. + //    MyCaos.M68kSize        =    0;
  26438. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26439. + //    MyCaos.PPCStart        =    NULL;
  26440. + //    MyCaos.PPCSize        =    0;
  26441. +     MyCaos.a2        =(ULONG) ss;
  26442. +     MyCaos.a1        =(ULONG) tags;
  26443. +     MyCaos.caos_Un.Offset    =    (-930);
  26444. +     MyCaos.a6        =(ULONG) GfxBase;    
  26445. +     return((LONG)PPCCallOS(&MyCaos));
  26446. + }
  26447. + #ifndef NO_PPCINLINE_STDARG
  26448. + #define GetExtSprite(a0, tags...) \
  26449. +     ({ULONG _tags[] = { tags }; GetExtSpriteA((a0), (struct TagItem *)_tags);})
  26450. + #endif /* !NO_PPCINLINE_STDARG */
  26451. + #define    GetGBuffers(anOb, rp, flag)    _GetGBuffers(GRAPHICS_BASE_NAME, anOb, rp, flag)
  26452. + static __inline BOOL
  26453. + _GetGBuffers(void *GfxBase, struct AnimOb *anOb, struct RastPort *rp, long flag)
  26454. + {
  26455. + struct Caos    MyCaos;
  26456. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26457. + //    MyCaos.M68kStart    =    NULL;
  26458. + //    MyCaos.M68kSize        =    0;
  26459. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26460. + //    MyCaos.PPCStart        =    NULL;
  26461. + //    MyCaos.PPCSize        =    0;
  26462. +     MyCaos.a0        =(ULONG) anOb;
  26463. +     MyCaos.a1        =(ULONG) rp;
  26464. +     MyCaos.d0        =(ULONG) flag;
  26465. +     MyCaos.caos_Un.Offset    =    (-168);
  26466. +     MyCaos.a6        =(ULONG) GfxBase;    
  26467. +     return((BOOL)PPCCallOS(&MyCaos));
  26468. + }
  26469. + #define    GetOutlinePen(rp)    _GetOutlinePen(GRAPHICS_BASE_NAME, rp)
  26470. + static __inline ULONG
  26471. + _GetOutlinePen(void *GfxBase, struct RastPort *rp)
  26472. + {
  26473. + struct Caos    MyCaos;
  26474. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26475. + //    MyCaos.M68kStart    =    NULL;
  26476. + //    MyCaos.M68kSize        =    0;
  26477. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26478. + //    MyCaos.PPCStart        =    NULL;
  26479. + //    MyCaos.PPCSize        =    0;
  26480. +     MyCaos.a0        =(ULONG) rp;
  26481. +     MyCaos.caos_Un.Offset    =    (-876);
  26482. +     MyCaos.a6        =(ULONG) GfxBase;    
  26483. +     return((ULONG)PPCCallOS(&MyCaos));
  26484. + }
  26485. + #define    GetRGB32(cm, firstcolor, ncolors, table)    _GetRGB32(GRAPHICS_BASE_NAME, cm, firstcolor, ncolors, table)
  26486. + static __inline void
  26487. + _GetRGB32(void *GfxBase, struct ColorMap *cm, unsigned long firstcolor, unsigned long ncolors, ULONG *table)
  26488. + {
  26489. + struct Caos    MyCaos;
  26490. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26491. + //    MyCaos.M68kStart    =    NULL;
  26492. + //    MyCaos.M68kSize        =    0;
  26493. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26494. + //    MyCaos.PPCStart        =    NULL;
  26495. + //    MyCaos.PPCSize        =    0;
  26496. +     MyCaos.a0        =(ULONG) cm;
  26497. +     MyCaos.d0        =(ULONG) firstcolor;
  26498. +     MyCaos.d1        =(ULONG) ncolors;
  26499. +     MyCaos.a1        =(ULONG) table;
  26500. +     MyCaos.caos_Un.Offset    =    (-900);
  26501. +     MyCaos.a6        =(ULONG) GfxBase;    
  26502. +     PPCCallOS(&MyCaos);
  26503. + }
  26504. + #define    GetRGB4(colorMap, entry)    _GetRGB4(GRAPHICS_BASE_NAME, colorMap, entry)
  26505. + static __inline ULONG
  26506. + _GetRGB4(void *GfxBase, struct ColorMap *colorMap, long entry)
  26507. + {
  26508. + struct Caos    MyCaos;
  26509. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26510. + //    MyCaos.M68kStart    =    NULL;
  26511. + //    MyCaos.M68kSize        =    0;
  26512. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26513. + //    MyCaos.PPCStart        =    NULL;
  26514. + //    MyCaos.PPCSize        =    0;
  26515. +     MyCaos.a0        =(ULONG) colorMap;
  26516. +     MyCaos.d0        =(ULONG) entry;
  26517. +     MyCaos.caos_Un.Offset    =    (-582);
  26518. +     MyCaos.a6        =(ULONG) GfxBase;    
  26519. +     return((ULONG)PPCCallOS(&MyCaos));
  26520. + }
  26521. + #define    GetRPAttrsA(rp, tags)    _GetRPAttrsA(GRAPHICS_BASE_NAME, rp, tags)
  26522. + static __inline void
  26523. + _GetRPAttrsA(void *GfxBase, struct RastPort *rp, struct TagItem *tags)
  26524. + {
  26525. + struct Caos    MyCaos;
  26526. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26527. + //    MyCaos.M68kStart    =    NULL;
  26528. + //    MyCaos.M68kSize        =    0;
  26529. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26530. + //    MyCaos.PPCStart        =    NULL;
  26531. + //    MyCaos.PPCSize        =    0;
  26532. +     MyCaos.a0        =(ULONG) rp;
  26533. +     MyCaos.a1        =(ULONG) tags;
  26534. +     MyCaos.caos_Un.Offset    =    (-1044);
  26535. +     MyCaos.a6        =(ULONG) GfxBase;    
  26536. +     PPCCallOS(&MyCaos);
  26537. + }
  26538. + #ifndef NO_PPCINLINE_STDARG
  26539. + #define GetRPAttrs(a0, tags...) \
  26540. +     ({ULONG _tags[] = { tags }; GetRPAttrsA((a0), (struct TagItem *)_tags);})
  26541. + #endif /* !NO_PPCINLINE_STDARG */
  26542. + #define    GetSprite(sprite, num)    _GetSprite(GRAPHICS_BASE_NAME, sprite, num)
  26543. + static __inline WORD
  26544. + _GetSprite(void *GfxBase, struct SimpleSprite *sprite, long num)
  26545. + {
  26546. + struct Caos    MyCaos;
  26547. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26548. + //    MyCaos.M68kStart    =    NULL;
  26549. + //    MyCaos.M68kSize        =    0;
  26550. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26551. + //    MyCaos.PPCStart        =    NULL;
  26552. + //    MyCaos.PPCSize        =    0;
  26553. +     MyCaos.a0        =(ULONG) sprite;
  26554. +     MyCaos.d0        =(ULONG) num;
  26555. +     MyCaos.caos_Un.Offset    =    (-408);
  26556. +     MyCaos.a6        =(ULONG) GfxBase;    
  26557. +     return((WORD)PPCCallOS(&MyCaos));
  26558. + }
  26559. + #define    GetVPModeID(vp)    _GetVPModeID(GRAPHICS_BASE_NAME, vp)
  26560. + static __inline LONG
  26561. + _GetVPModeID(void *GfxBase, struct ViewPort *vp)
  26562. + {
  26563. + struct Caos    MyCaos;
  26564. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26565. + //    MyCaos.M68kStart    =    NULL;
  26566. + //    MyCaos.M68kSize        =    0;
  26567. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26568. + //    MyCaos.PPCStart        =    NULL;
  26569. + //    MyCaos.PPCSize        =    0;
  26570. +     MyCaos.a0        =(ULONG) vp;
  26571. +     MyCaos.caos_Un.Offset    =    (-792);
  26572. +     MyCaos.a6        =(ULONG) GfxBase;    
  26573. +     return((LONG)PPCCallOS(&MyCaos));
  26574. + }
  26575. + #define    GfxAssociate(associateNode, gfxNodePtr)    _GfxAssociate(GRAPHICS_BASE_NAME, associateNode, gfxNodePtr)
  26576. + static __inline void
  26577. + _GfxAssociate(void *GfxBase, APTR associateNode, APTR gfxNodePtr)
  26578. + {
  26579. + struct Caos    MyCaos;
  26580. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26581. + //    MyCaos.M68kStart    =    NULL;
  26582. + //    MyCaos.M68kSize        =    0;
  26583. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26584. + //    MyCaos.PPCStart        =    NULL;
  26585. + //    MyCaos.PPCSize        =    0;
  26586. +     MyCaos.a0        =(ULONG) associateNode;
  26587. +     MyCaos.a1        =(ULONG) gfxNodePtr;
  26588. +     MyCaos.caos_Un.Offset    =    (-672);
  26589. +     MyCaos.a6        =(ULONG) GfxBase;    
  26590. +     PPCCallOS(&MyCaos);
  26591. + }
  26592. + #define    GfxFree(gfxNodePtr)    _GfxFree(GRAPHICS_BASE_NAME, gfxNodePtr)
  26593. + static __inline void
  26594. + _GfxFree(void *GfxBase, APTR gfxNodePtr)
  26595. + {
  26596. + struct Caos    MyCaos;
  26597. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26598. + //    MyCaos.M68kStart    =    NULL;
  26599. + //    MyCaos.M68kSize        =    0;
  26600. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26601. + //    MyCaos.PPCStart        =    NULL;
  26602. + //    MyCaos.PPCSize        =    0;
  26603. +     MyCaos.a0        =(ULONG) gfxNodePtr;
  26604. +     MyCaos.caos_Un.Offset    =    (-666);
  26605. +     MyCaos.a6        =(ULONG) GfxBase;    
  26606. +     PPCCallOS(&MyCaos);
  26607. + }
  26608. + #define    GfxLookUp(associateNode)    _GfxLookUp(GRAPHICS_BASE_NAME, associateNode)
  26609. + static __inline APTR
  26610. + _GfxLookUp(void *GfxBase, APTR associateNode)
  26611. + {
  26612. + struct Caos    MyCaos;
  26613. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26614. + //    MyCaos.M68kStart    =    NULL;
  26615. + //    MyCaos.M68kSize        =    0;
  26616. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26617. + //    MyCaos.PPCStart        =    NULL;
  26618. + //    MyCaos.PPCSize        =    0;
  26619. +     MyCaos.a0        =(ULONG) associateNode;
  26620. +     MyCaos.caos_Un.Offset    =    (-702);
  26621. +     MyCaos.a6        =(ULONG) GfxBase;    
  26622. +     return((APTR)PPCCallOS(&MyCaos));
  26623. + }
  26624. + #define    GfxNew(gfxNodeType)    _GfxNew(GRAPHICS_BASE_NAME, gfxNodeType)
  26625. + static __inline APTR
  26626. + _GfxNew(void *GfxBase, unsigned long gfxNodeType)
  26627. + {
  26628. + struct Caos    MyCaos;
  26629. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26630. + //    MyCaos.M68kStart    =    NULL;
  26631. + //    MyCaos.M68kSize        =    0;
  26632. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26633. + //    MyCaos.PPCStart        =    NULL;
  26634. + //    MyCaos.PPCSize        =    0;
  26635. +     MyCaos.d0        =(ULONG) gfxNodeType;
  26636. +     MyCaos.caos_Un.Offset    =    (-660);
  26637. +     MyCaos.a6        =(ULONG) GfxBase;    
  26638. +     return((APTR)PPCCallOS(&MyCaos));
  26639. + }
  26640. + #define    InitArea(areaInfo, vectorBuffer, maxVectors)    _InitArea(GRAPHICS_BASE_NAME, areaInfo, vectorBuffer, maxVectors)
  26641. + static __inline void
  26642. + _InitArea(void *GfxBase, struct AreaInfo *areaInfo, APTR vectorBuffer, long maxVectors)
  26643. + {
  26644. + struct Caos    MyCaos;
  26645. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26646. + //    MyCaos.M68kStart    =    NULL;
  26647. + //    MyCaos.M68kSize        =    0;
  26648. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26649. + //    MyCaos.PPCStart        =    NULL;
  26650. + //    MyCaos.PPCSize        =    0;
  26651. +     MyCaos.a0        =(ULONG) areaInfo;
  26652. +     MyCaos.a1        =(ULONG) vectorBuffer;
  26653. +     MyCaos.d0        =(ULONG) maxVectors;
  26654. +     MyCaos.caos_Un.Offset    =    (-282);
  26655. +     MyCaos.a6        =(ULONG) GfxBase;    
  26656. +     PPCCallOS(&MyCaos);
  26657. + }
  26658. + #define    InitBitMap(bitMap, depth, width, height)    _InitBitMap(GRAPHICS_BASE_NAME, bitMap, depth, width, height)
  26659. + static __inline void
  26660. + _InitBitMap(void *GfxBase, struct BitMap *bitMap, long depth, long width, long height)
  26661. + {
  26662. + struct Caos    MyCaos;
  26663. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26664. + //    MyCaos.M68kStart    =    NULL;
  26665. + //    MyCaos.M68kSize        =    0;
  26666. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26667. + //    MyCaos.PPCStart        =    NULL;
  26668. + //    MyCaos.PPCSize        =    0;
  26669. +     MyCaos.a0        =(ULONG) bitMap;
  26670. +     MyCaos.d0        =(ULONG) depth;
  26671. +     MyCaos.d1        =(ULONG) width;
  26672. +     MyCaos.d2        =(ULONG) height;
  26673. +     MyCaos.caos_Un.Offset    =    (-390);
  26674. +     MyCaos.a6        =(ULONG) GfxBase;    
  26675. +     PPCCallOS(&MyCaos);
  26676. + }
  26677. + #define    InitGMasks(anOb)    _InitGMasks(GRAPHICS_BASE_NAME, anOb)
  26678. + static __inline void
  26679. + _InitGMasks(void *GfxBase, struct AnimOb *anOb)
  26680. + {
  26681. + struct Caos    MyCaos;
  26682. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26683. + //    MyCaos.M68kStart    =    NULL;
  26684. + //    MyCaos.M68kSize        =    0;
  26685. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26686. + //    MyCaos.PPCStart        =    NULL;
  26687. + //    MyCaos.PPCSize        =    0;
  26688. +     MyCaos.a0        =(ULONG) anOb;
  26689. +     MyCaos.caos_Un.Offset    =    (-174);
  26690. +     MyCaos.a6        =(ULONG) GfxBase;    
  26691. +     PPCCallOS(&MyCaos);
  26692. + }
  26693. + #define    InitGels(head, tail, gelsInfo)    _InitGels(GRAPHICS_BASE_NAME, head, tail, gelsInfo)
  26694. + static __inline void
  26695. + _InitGels(void *GfxBase, struct VSprite *head, struct VSprite *tail, struct GelsInfo *gelsInfo)
  26696. + {
  26697. + struct Caos    MyCaos;
  26698. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26699. + //    MyCaos.M68kStart    =    NULL;
  26700. + //    MyCaos.M68kSize        =    0;
  26701. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26702. + //    MyCaos.PPCStart        =    NULL;
  26703. + //    MyCaos.PPCSize        =    0;
  26704. +     MyCaos.a0        =(ULONG) head;
  26705. +     MyCaos.a1        =(ULONG) tail;
  26706. +     MyCaos.a2        =(ULONG) gelsInfo;
  26707. +     MyCaos.caos_Un.Offset    =    (-120);
  26708. +     MyCaos.a6        =(ULONG) GfxBase;    
  26709. +     PPCCallOS(&MyCaos);
  26710. + }
  26711. + #define    InitMasks(vSprite)    _InitMasks(GRAPHICS_BASE_NAME, vSprite)
  26712. + static __inline void
  26713. + _InitMasks(void *GfxBase, struct VSprite *vSprite)
  26714. + {
  26715. + struct Caos    MyCaos;
  26716. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26717. + //    MyCaos.M68kStart    =    NULL;
  26718. + //    MyCaos.M68kSize        =    0;
  26719. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26720. + //    MyCaos.PPCStart        =    NULL;
  26721. + //    MyCaos.PPCSize        =    0;
  26722. +     MyCaos.a0        =(ULONG) vSprite;
  26723. +     MyCaos.caos_Un.Offset    =    (-126);
  26724. +     MyCaos.a6        =(ULONG) GfxBase;    
  26725. +     PPCCallOS(&MyCaos);
  26726. + }
  26727. + #define    InitRastPort(rp)    _InitRastPort(GRAPHICS_BASE_NAME, rp)
  26728. + static __inline void
  26729. + _InitRastPort(void *GfxBase, struct RastPort *rp)
  26730. + {
  26731. + struct Caos    MyCaos;
  26732. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26733. + //    MyCaos.M68kStart    =    NULL;
  26734. + //    MyCaos.M68kSize        =    0;
  26735. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26736. + //    MyCaos.PPCStart        =    NULL;
  26737. + //    MyCaos.PPCSize        =    0;
  26738. +     MyCaos.a1        =(ULONG) rp;
  26739. +     MyCaos.caos_Un.Offset    =    (-198);
  26740. +     MyCaos.a6        =(ULONG) GfxBase;    
  26741. +     PPCCallOS(&MyCaos);
  26742. + }
  26743. + #define    InitTmpRas(tmpRas, buffer, size)    _InitTmpRas(GRAPHICS_BASE_NAME, tmpRas, buffer, size)
  26744. + static __inline struct TmpRas *
  26745. + _InitTmpRas(void *GfxBase, struct TmpRas *tmpRas, PLANEPTR buffer, long size)
  26746. + {
  26747. + struct Caos    MyCaos;
  26748. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26749. + //    MyCaos.M68kStart    =    NULL;
  26750. + //    MyCaos.M68kSize        =    0;
  26751. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26752. + //    MyCaos.PPCStart        =    NULL;
  26753. + //    MyCaos.PPCSize        =    0;
  26754. +     MyCaos.a0        =(ULONG) tmpRas;
  26755. +     MyCaos.a1        =(ULONG) buffer;
  26756. +     MyCaos.d0        =(ULONG) size;
  26757. +     MyCaos.caos_Un.Offset    =    (-468);
  26758. +     MyCaos.a6        =(ULONG) GfxBase;    
  26759. +     return((struct TmpRas *)PPCCallOS(&MyCaos));
  26760. + }
  26761. + #define    InitVPort(vp)    _InitVPort(GRAPHICS_BASE_NAME, vp)
  26762. + static __inline void
  26763. + _InitVPort(void *GfxBase, struct ViewPort *vp)
  26764. + {
  26765. + struct Caos    MyCaos;
  26766. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26767. + //    MyCaos.M68kStart    =    NULL;
  26768. + //    MyCaos.M68kSize        =    0;
  26769. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26770. + //    MyCaos.PPCStart        =    NULL;
  26771. + //    MyCaos.PPCSize        =    0;
  26772. +     MyCaos.a0        =(ULONG) vp;
  26773. +     MyCaos.caos_Un.Offset    =    (-204);
  26774. +     MyCaos.a6        =(ULONG) GfxBase;    
  26775. +     PPCCallOS(&MyCaos);
  26776. + }
  26777. + #define    InitView(view)    _InitView(GRAPHICS_BASE_NAME, view)
  26778. + static __inline void
  26779. + _InitView(void *GfxBase, struct View *view)
  26780. + {
  26781. + struct Caos    MyCaos;
  26782. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26783. + //    MyCaos.M68kStart    =    NULL;
  26784. + //    MyCaos.M68kSize        =    0;
  26785. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26786. + //    MyCaos.PPCStart        =    NULL;
  26787. + //    MyCaos.PPCSize        =    0;
  26788. +     MyCaos.a1        =(ULONG) view;
  26789. +     MyCaos.caos_Un.Offset    =    (-360);
  26790. +     MyCaos.a6        =(ULONG) GfxBase;    
  26791. +     PPCCallOS(&MyCaos);
  26792. + }
  26793. + #define    LoadRGB32(vp, table)    _LoadRGB32(GRAPHICS_BASE_NAME, vp, table)
  26794. + static __inline void
  26795. + _LoadRGB32(void *GfxBase, struct ViewPort *vp, ULONG *table)
  26796. + {
  26797. + struct Caos    MyCaos;
  26798. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26799. + //    MyCaos.M68kStart    =    NULL;
  26800. + //    MyCaos.M68kSize        =    0;
  26801. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26802. + //    MyCaos.PPCStart        =    NULL;
  26803. + //    MyCaos.PPCSize        =    0;
  26804. +     MyCaos.a0        =(ULONG) vp;
  26805. +     MyCaos.a1        =(ULONG) table;
  26806. +     MyCaos.caos_Un.Offset    =    (-882);
  26807. +     MyCaos.a6        =(ULONG) GfxBase;    
  26808. +     PPCCallOS(&MyCaos);
  26809. + }
  26810. + #define    LoadRGB4(vp, colors, count)    _LoadRGB4(GRAPHICS_BASE_NAME, vp, colors, count)
  26811. + static __inline void
  26812. + _LoadRGB4(void *GfxBase, struct ViewPort *vp, UWORD *colors, long count)
  26813. + {
  26814. + struct Caos    MyCaos;
  26815. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26816. + //    MyCaos.M68kStart    =    NULL;
  26817. + //    MyCaos.M68kSize        =    0;
  26818. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26819. + //    MyCaos.PPCStart        =    NULL;
  26820. + //    MyCaos.PPCSize        =    0;
  26821. +     MyCaos.a0        =(ULONG) vp;
  26822. +     MyCaos.a1        =(ULONG) colors;
  26823. +     MyCaos.d0        =(ULONG) count;
  26824. +     MyCaos.caos_Un.Offset    =    (-192);
  26825. +     MyCaos.a6        =(ULONG) GfxBase;    
  26826. +     PPCCallOS(&MyCaos);
  26827. + }
  26828. + #define    LoadView(view)    _LoadView(GRAPHICS_BASE_NAME, view)
  26829. + static __inline void
  26830. + _LoadView(void *GfxBase, struct View *view)
  26831. + {
  26832. + struct Caos    MyCaos;
  26833. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26834. + //    MyCaos.M68kStart    =    NULL;
  26835. + //    MyCaos.M68kSize        =    0;
  26836. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26837. + //    MyCaos.PPCStart        =    NULL;
  26838. + //    MyCaos.PPCSize        =    0;
  26839. +     MyCaos.a1        =(ULONG) view;
  26840. +     MyCaos.caos_Un.Offset    =    (-222);
  26841. +     MyCaos.a6        =(ULONG) GfxBase;    
  26842. +     PPCCallOS(&MyCaos);
  26843. + }
  26844. + #define    LockLayerRom(layer)    _LockLayerRom(GRAPHICS_BASE_NAME, layer)
  26845. + static __inline void
  26846. + _LockLayerRom(void *GfxBase, struct Layer *layer)
  26847. + {
  26848. + struct Caos    MyCaos;
  26849. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26850. + //    MyCaos.M68kStart    =    NULL;
  26851. + //    MyCaos.M68kSize        =    0;
  26852. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26853. + //    MyCaos.PPCStart        =    NULL;
  26854. + //    MyCaos.PPCSize        =    0;
  26855. +     MyCaos.a5        =(ULONG) layer;
  26856. +     MyCaos.caos_Un.Offset    =    (-432);
  26857. +     MyCaos.a6        =(ULONG) GfxBase;    
  26858. +     PPCCallOS(&MyCaos);
  26859. + }
  26860. + #define    MakeVPort(view, vp)    _MakeVPort(GRAPHICS_BASE_NAME, view, vp)
  26861. + static __inline ULONG
  26862. + _MakeVPort(void *GfxBase, struct View *view, struct ViewPort *vp)
  26863. + {
  26864. + struct Caos    MyCaos;
  26865. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26866. + //    MyCaos.M68kStart    =    NULL;
  26867. + //    MyCaos.M68kSize        =    0;
  26868. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26869. + //    MyCaos.PPCStart        =    NULL;
  26870. + //    MyCaos.PPCSize        =    0;
  26871. +     MyCaos.a0        =(ULONG) view;
  26872. +     MyCaos.a1        =(ULONG) vp;
  26873. +     MyCaos.caos_Un.Offset    =    (-216);
  26874. +     MyCaos.a6        =(ULONG) GfxBase;    
  26875. +     return((ULONG)PPCCallOS(&MyCaos));
  26876. + }
  26877. + #define    ModeNotAvailable(modeID)    _ModeNotAvailable(GRAPHICS_BASE_NAME, modeID)
  26878. + static __inline LONG
  26879. + _ModeNotAvailable(void *GfxBase, unsigned long modeID)
  26880. + {
  26881. + struct Caos    MyCaos;
  26882. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26883. + //    MyCaos.M68kStart    =    NULL;
  26884. + //    MyCaos.M68kSize        =    0;
  26885. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26886. + //    MyCaos.PPCStart        =    NULL;
  26887. + //    MyCaos.PPCSize        =    0;
  26888. +     MyCaos.d0        =(ULONG) modeID;
  26889. +     MyCaos.caos_Un.Offset    =    (-798);
  26890. +     MyCaos.a6        =(ULONG) GfxBase;    
  26891. +     return((LONG)PPCCallOS(&MyCaos));
  26892. + }
  26893. + #define    Move(rp, x, y)    _Move(GRAPHICS_BASE_NAME, rp, x, y)
  26894. + static __inline void
  26895. + _Move(void *GfxBase, struct RastPort *rp, long x, long y)
  26896. + {
  26897. + struct Caos    MyCaos;
  26898. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26899. + //    MyCaos.M68kStart    =    NULL;
  26900. + //    MyCaos.M68kSize        =    0;
  26901. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26902. + //    MyCaos.PPCStart        =    NULL;
  26903. + //    MyCaos.PPCSize        =    0;
  26904. +     MyCaos.a1        =(ULONG) rp;
  26905. +     MyCaos.d0        =(ULONG) x;
  26906. +     MyCaos.d1        =(ULONG) y;
  26907. +     MyCaos.caos_Un.Offset    =    (-240);
  26908. +     MyCaos.a6        =(ULONG) GfxBase;    
  26909. +     PPCCallOS(&MyCaos);
  26910. + }
  26911. + #define    MoveSprite(vp, sprite, x, y)    _MoveSprite(GRAPHICS_BASE_NAME, vp, sprite, x, y)
  26912. + static __inline void
  26913. + _MoveSprite(void *GfxBase, struct ViewPort *vp, struct SimpleSprite *sprite, long x, long y)
  26914. + {
  26915. + struct Caos    MyCaos;
  26916. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26917. + //    MyCaos.M68kStart    =    NULL;
  26918. + //    MyCaos.M68kSize        =    0;
  26919. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26920. + //    MyCaos.PPCStart        =    NULL;
  26921. + //    MyCaos.PPCSize        =    0;
  26922. +     MyCaos.a0        =(ULONG) vp;
  26923. +     MyCaos.a1        =(ULONG) sprite;
  26924. +     MyCaos.d0        =(ULONG) x;
  26925. +     MyCaos.d1        =(ULONG) y;
  26926. +     MyCaos.caos_Un.Offset    =    (-426);
  26927. +     MyCaos.a6        =(ULONG) GfxBase;    
  26928. +     PPCCallOS(&MyCaos);
  26929. + }
  26930. + #define    MrgCop(view)    _MrgCop(GRAPHICS_BASE_NAME, view)
  26931. + static __inline ULONG
  26932. + _MrgCop(void *GfxBase, struct View *view)
  26933. + {
  26934. + struct Caos    MyCaos;
  26935. +     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  26936. + //    MyCaos.M68kStart    =    NULL;
  26937. + //    MyCaos.M68kSize        =    0;
  26938. +     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  26939. + //    MyCaos.PPCStar