home *** CD-ROM | disk | FTP | other *** search
/ M.u.C.S. Disc 2000 / MUCS2000.iso / falcon / modules / cascade / source / vlmserv.s < prev    next >
Text File  |  1999-06-18  |  2KB  |  94 lines

  1.    vlm_set_vblrout    macro
  2.     movem.l    d0-2/a0-1,-(sp)
  3.     move.l    service_struct,a1
  4.     move.l    (a1),a1
  5.     move.l    \1,a0
  6.     jsr    (a1)
  7.     movem.l    (sp)+,d0-2/a0-1
  8.     endm
  9.  
  10. vlm_wait_vbl    macro
  11.     movem.l    d0-2/a0-1,-(sp)
  12.     move.l    service_struct,a1
  13.     move.l    4(a1),a1
  14.     jsr    (a1)
  15.     movem.l    (sp)+,d0-2/a0-1
  16.     endm
  17.  
  18. vlm_set_scradr    macro
  19.     movem.l    d0-2/a0-1,-(sp)
  20.     move.l    service_struct,a1
  21.     move.l    8(a1),a1
  22.     move.l    \1,a0
  23.     jsr    (a1)
  24.     movem.l    (sp)+,d0-2/a0-1
  25.     endm
  26.  
  27. VLM_320x240x16    =    1
  28. VLM_320x100x16    =    2
  29. VLM_320x240x8        =    3
  30. VLM_320x100x8        =    4
  31.  
  32. vlm_set_resolution    macro
  33.     movem.l    d0-2/a0-1,-(sp)
  34.     move.l    service_struct,a1
  35.     move.l    12(a1),a1
  36.     move.w    \1,d0
  37.     jsr    (a1)
  38.     movem.l    (sp)+,d0-2/a0-1
  39.     endm
  40.  
  41. vlm_get_left_spec    macro
  42.     movem.l    d0-2/a0-1,-(sp)
  43.     move.l    service_struct,a1
  44.     move.l    16(a1),a1
  45.     jsr    (a1)
  46.     move.l    a0,\1
  47.     movem.l    (sp)+,d0-2/a0-1
  48.     endm
  49.  
  50. vlm_get_right_spec    macro
  51.     movem.l    d0-2/a0-1,-(sp)
  52.     move.l    service_struct,a1
  53.     move.l    20(a1),a1
  54.     jsr    (a1)
  55.     move.l    a0,\1
  56.     movem.l    (sp)+,d0-2/a0-1
  57.     endm
  58.  
  59. vlm_get_left_volume    macro
  60.     movem.l    d0-2/a0-1,-(sp)
  61.     move.l    service_struct,a1
  62.     move.l    24(a1),a1
  63.     jsr    (a1)
  64.     move.l    d0,\1
  65.     movem.l    (sp)+,d0-2/a0-1
  66.     endm
  67.     
  68. vlm_get_right_volume    macro
  69.     movem.l    d0-2/a0-1,-(sp)
  70.     move.l    service_struct,a1
  71.     move.l    28(a1),a1
  72.     jsr    (a1)
  73.     move.l    d0,\1
  74.     movem.l    (sp)+,d0-2/a0-1
  75.     endm
  76.  
  77. vlm_get_left_osci    macro
  78.     movem.l    d0-2/a0-1,-(sp)
  79.     move.l    service_struct,a1
  80.     move.l    32(a1),a1
  81.     jsr    (a1)
  82.     move.l    a0,\1
  83.     movem.l    (sp)+,d0-2/a0-1
  84.     endm
  85.  
  86. vlm_get_right_osci    macro
  87.     movem.l    d0-2/a0-1,-(sp)
  88.     move.l    service_struct,a1
  89.     move.l    36(a1),a1
  90.     jsr    (a1)
  91.     move.l    a0,\1
  92.     movem.l    (sp)+,d0-2/a0-1
  93.     endm
  94.