Advertisement
Guest User

Untitled

a guest
Apr 14th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RenderWormHole:
  2.  
  3. *   movem.l  d0-d7/a0-a2,-(sp)
  4.  
  5.     lea.l    CheckerBoard(pc),a1
  6.     lea.l    PolarLUTfp,a2
  7.     mulu.l   #(SCRW*2),d0
  8.     add.l    d0,a2
  9.  
  10.     move.l   col2(pc),d7
  11.     move.l   d7,d0
  12.     lsr.l    #7,d0
  13.     add.l    d0,d7
  14.  
  15.     moveq.l  #0,d1
  16.     move.l   d1,d2
  17.     move.l   d1,d4
  18.     move.l   d1,d5
  19.  
  20.     move.l   #SCRSZ/4,d0
  21. .loop
  22.     move.w   (a2)+,d1
  23.     move.w   (a2)+,d2
  24.     move.w   (a2)+,d3
  25.     move.w   (a2)+,d4
  26.     add.w    d7,d1
  27.     add.w    d7,d2
  28.     add.w    d7,d3
  29.     add.w    d7,d4
  30.     move.b   (a1,d1.l),(a0)+
  31.     move.b   (a1,d2.l),(a0)+
  32.     move.b   (a1,d3.l),(a0)+
  33.     move.b   (a1,d4.l),(a0)+
  34.     subq.l   #1,d0
  35.     bne.s    .loop
  36.  
  37. *   movem.l  (sp)+,d0-d7/a0-a2
  38.     rts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement