home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / cdrom / cybersound / cdplayer / source / delistubs.asm < prev    next >
Assembly Source File  |  1977-12-31  |  3KB  |  190 lines

  1. ***
  2. *** Here are the C stubs for the DeliTracker interface functions
  3. ***
  4.  
  5.         INCLUDE "DeliPlayer.i"
  6.  
  7.  
  8.         XREF    _DeliBase
  9.  
  10.  
  11.         SECTION Stubs,CODE
  12.  
  13.  
  14.         xdef    _dt_GetListDataPos
  15.  
  16. _dt_GetListDataPos    * dtg_GetListData had to be split up as you can't return two parameters
  17.         bsr.s    _dt_GetListDataSize
  18.         move.l    a0,d0
  19.         rts
  20.  
  21.         xdef    _dt_GetListDataSize
  22.  
  23. _dt_GetListDataSize
  24.         move.l    a5,-(a7)
  25.         move.l    _DeliBase,a5
  26.         move.l    dtg_GetListData(a5),a0
  27.         jsr    (a0)
  28.         move.l    (a7)+,a5
  29.         rts
  30.  
  31.         xdef    _dt_LoadFile
  32.  
  33. _dt_LoadFile    move.l    a5,-(a7)
  34.         move.l    _DeliBase,a5
  35.         move.l    dtg_LoadFile(a5),a0
  36.         jsr    (a0)
  37.         move.l    (a7)+,a5
  38.         rts
  39.  
  40.         xdef    _dt_CopyDir
  41.  
  42. _dt_CopyDir    move.l    a5,-(a7)
  43.         move.l    _DeliBase,a5
  44.         move.l    dtg_CopyDir(a5),a0
  45.         jsr    (a0)
  46.         move.l    (a7)+,a5
  47.         rts
  48.  
  49.         xdef    _dt_CopyFile
  50.  
  51. _dt_CopyFile    move.l    a5,-(a7)
  52.         move.l    _DeliBase,a5
  53.         move.l    dtg_CopyFile(a5),a0
  54.         jsr    (a0)
  55.         move.l    (a7)+,a5
  56.         rts
  57.  
  58.         xdef    _dt_CopyString
  59.  
  60. _dt_CopyString    move.l    a5,-(a7)
  61.         move.l    _DeliBase,a5
  62.         move.l    dtg_CopyString(a5),a0
  63.         jsr    (a0)
  64.         move.l    (a7)+,a5
  65.         rts
  66.  
  67.         xdef    _dt_AudioAlloc
  68.  
  69. _dt_AudioAlloc    move.l    a5,-(a7)
  70.         move.l    _DeliBase,a5
  71.         move.l    dtg_AudioAlloc(a5),a0
  72.         jsr    (a0)
  73.         move.l    (a7)+,a5
  74.         rts
  75.  
  76.         xdef    _dt_AudioFree
  77.  
  78. _dt_AudioFree    move.l    a5,-(a7)
  79.         move.l    _DeliBase,a5
  80.         move.l    dtg_AudioFree(a5),a0
  81.         jsr    (a0)
  82.         move.l    (a7)+,a5
  83.         rts
  84.  
  85.         xdef    _dt_StartInt
  86.  
  87. _dt_StartInt    move.l    a5,-(a7)
  88.         move.l    _DeliBase,a5
  89.         move.l    dtg_StartInt(a5),a0
  90.         jsr    (a0)
  91.         move.l    (a7)+,a5
  92.         rts
  93.  
  94.         xdef    _dt_StopInt
  95.  
  96. _dt_StopInt    move.l    a5,-(a7)
  97.         move.l    _DeliBase,a5
  98.         move.l    dtg_StopInt(a5),a0
  99.         jsr    (a0)
  100.         move.l    (a7)+,a5
  101.         rts
  102.  
  103.         xdef    _dt_SongEnd
  104.  
  105. _dt_SongEnd    move.l    a5,-(a7)
  106.         move.l    _DeliBase,a5
  107.         move.l    dtg_SongEnd(a5),a0
  108.         jsr    (a0)
  109.         move.l    (a7)+,a5
  110.         rts
  111.  
  112.         xdef    _dt_CutSuffix
  113.  
  114. _dt_CutSuffix    move.l    a5,-(a7)
  115.         move.l    _DeliBase,a5
  116.         move.l    dtg_CutSuffix(a5),a0
  117.         jsr    (a0)
  118.         move.l    (a7)+,a5
  119.         rts
  120.  
  121.         xdef    _dt_SetTimer
  122.  
  123. _dt_SetTimer    move.l    a5,-(a7)
  124.         move.l    _DeliBase,a5
  125.         move.l    dtg_SetTimer(a5),a0
  126.         jsr    (a0)
  127.         move.l    (a7)+,a5
  128.         rts
  129.  
  130.         xdef    _dt_WaitAudioDMA
  131.  
  132. _dt_WaitAudioDMA
  133.         move.l    a5,-(a7)
  134.         move.l    _DeliBase,a5
  135.         move.l    dtg_WaitAudioDMA(a5),a0
  136.         jsr    (a0)
  137.         move.l    (a7)+,a5
  138.         rts
  139.  
  140.         xdef    _dt_LockScreen
  141.  
  142. _dt_LockScreen    move.l    a5,-(a7)
  143.         move.l    _DeliBase,a5
  144.         move.l    dtg_LockScreen(a5),a0
  145.         jsr    (a0)
  146.         move.l    (a7)+,a5
  147.         rts
  148.  
  149.         xdef    _dt_UnlockScreen
  150.  
  151. _dt_UnlockScreen
  152.         move.l    a5,-(a7)
  153.         move.l    _DeliBase,a5
  154.         move.l    dtg_UnlockScreen(a5),a0
  155.         jsr    (a0)
  156.         move.l    (a7)+,a5
  157.         rts
  158.  
  159.         xdef    _dt_NotePlayer
  160.  
  161. _dt_NotePlayer    move.l    a5,-(a7)
  162.         move.l    _DeliBase,a5
  163.         move.l    dtg_NotePlayer(a5),a0
  164.         jsr    (a0)
  165.         move.l    (a7)+,a5
  166.         rts
  167.  
  168.         xdef    _dt_AllocListData
  169.  
  170. _dt_AllocListData
  171.         move.l    a5,-(a7)
  172.         move.l    _DeliBase,a5
  173.         move.l    dtg_AllocListData(a5),a0
  174.         jsr    (a0)
  175.         move.l    (a7)+,a5
  176.         rts
  177.  
  178.         xdef    _dt_FreeListData
  179.  
  180. _dt_FreeListData
  181.         move.l    a5,-(a7)
  182.         move.l    _DeliBase,a5
  183.         move.l    dtg_FreeListData(a5),a0
  184.         jsr    (a0)
  185.         move.l    (a7)+,a5
  186.         rts
  187.  
  188.  
  189.         END
  190.