home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #4 / amigaacscoverdisc1998-041998.iso / utilities / commercialdemos / warpup-warpos2 / lvo / powerpc_lib.i
Text File  |  1997-11-24  |  4KB  |  123 lines

  1. **
  2. **      $VER: powerpc_lib.i 13.0 (6.11.97)
  3. **
  4. **      '(C) Copyright 1997 Haage & Partner Computer GmbH'
  5. **      All Rights Reserved
  6. **
  7. **      Library offsets for powerpc.library V13
  8. **
  9.  
  10. ****  68K Library offsets
  11.  
  12. _LVORunPPC              =       -30
  13. _LVOWaitForPPC          =       -36
  14. _LVOGetCPU              =       -42
  15. _LVOPowerDebugMode      =       -48
  16. _LVOAllocVec32          =       -54
  17. _LVOFreeVec32           =       -60
  18. _LVOSPrintF68K          =       -66
  19. _LVOAllocXMsg           =       -72
  20. _LVOFreeXMsg            =       -78
  21. _LVOPutXMsg             =       -84
  22. _LVOGetPPCState         =       -90
  23.  
  24. ****  PPC Library offsets
  25.  
  26. _LVORun68K              =       -300
  27. _LVOWaitFor68K          =       -306
  28. _LVOSPrintF             =       -312
  29. _LVORun68KLowLevel      =       -318    ;PRIVATE!
  30. _LVOAllocVecPPC         =       -324
  31. _LVOFreeVecPPC          =       -330
  32. _LVOCreateTaskPPC       =       -336
  33. _LVODeleteTaskPPC       =       -342
  34. _LVOFindTaskPPC         =       -348
  35. _LVOInitSemaphorePPC    =       -354
  36. _LVOFreeSemaphorePPC    =       -360
  37. _LVOAddSemaphorePPC     =       -366
  38. _LVORemSemaphorePPC     =       -372
  39. _LVOObtainSemaphorePPC  =       -378
  40. _LVOAttemptSemaphorePPC =       -384
  41. _LVOReleaseSemaphorePPC =       -390
  42. _LVOFindSemaphorePPC    =       -396
  43. _LVOInsertPPC           =       -402
  44. _LVOAddHeadPPC          =       -408
  45. _LVOAddTailPPC          =       -414
  46. _LVORemovePPC           =       -420
  47. _LVORemHeadPPC          =       -426
  48. _LVORemTailPPC          =       -432
  49. _LVOEnqueuePPC          =       -438
  50. _LVOFindNamePPC         =       -444
  51. _LVOFindTagItemPPC      =       -450
  52. _LVOGetTagDataPPC       =       -456
  53. _LVONextTagItemPPC      =       -462
  54. _LVOAllocSignalPPC      =       -468
  55. _LVOFreeSignalPPC       =       -474
  56. _LVOSetSignalPPC        =       -480
  57. _LVOSignalPPC           =       -486
  58. _LVOWaitPPC             =       -492
  59. _LVOSetTaskPriPPC       =       -498
  60. _LVOSignal68K           =       -504
  61. _LVOSetCache            =       -510
  62. _LVOSetExcHandler       =       -516
  63. _LVORemExcHandler       =       -522
  64. _LVOSuper               =       -528
  65. _LVOUser                =       -534
  66. _LVOSetHardware         =       -540
  67. _LVOModifyFPExc         =       -546
  68. _LVOWaitTime            =       -552
  69. _LVOChangeStack         =       -558    ;PRIVATE!
  70. _LVOLockTaskList        =       -564
  71. _LVOUnLockTaskList      =       -570
  72. _LVOSetExcMMU           =       -576
  73. _LVOClearExcMMU         =       -582
  74. _LVOChangeMMU           =       -588
  75. _LVOGetInfo             =       -594
  76. _LVOCreateMsgPortPPC    =       -600
  77. _LVODeleteMsgPortPPC    =       -606
  78. _LVOAddPortPPC          =       -612
  79. _LVORemPortPPC          =       -618
  80. _LVOFindPortPPC         =       -624
  81. _LVOWaitPortPPC         =       -630
  82. _LVOPutMsgPPC           =       -636
  83. _LVOGetMsgPPC           =       -642
  84. _LVOReplyMsgPPC         =       -648
  85. _LVOFreeAllMem          =       -654
  86. _LVOCopyMemPPC          =       -660
  87. _LVOAllocXMsgPPC        =       -666
  88. _LVOFreeXMsgPPC         =       -672
  89. _LVOPutXMsgPPC          =       -678
  90. _LVOGetSysTimePPC       =       -684
  91. _LVOAddTimePPC          =       -690
  92. _LVOSubTimePPC          =       -696
  93. _LVOCmpTimePPC          =       -702
  94. _LVOSetReplyPortPPC     =       -708
  95. _LVOSnoopTask           =       -714
  96. _LVOEndSnoopTask        =       -720
  97.  
  98.                 IFND    _POWERMODE
  99.  
  100. CALLPOWERPC     MACRO
  101.                 move.l  _PowerPCBase,a6
  102.                 jsr     _LVO\1(a6)
  103.                 ENDM
  104.  
  105.                 ELSEIF
  106.  
  107.                 IFND    POWERPC_PPCMACROS_I
  108.                 INCLUDE powerpc/ppcmacros.i
  109.                 ENDC
  110.  
  111. CALLPOWERPC     MACRO
  112.                 lw      r3,_PowerPCBase
  113.                 lwz     r0,_LVO\1+2(r3)
  114.                 mtlr    r0
  115.                 blrl
  116.                 ENDM
  117.  
  118.                 ENDC
  119.  
  120. POWERPCNAME     MACRO
  121.                 dc.b    'powerpc.library',0
  122.                 ENDM
  123.