Guest User

Untitled

a guest
Apr 11th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. VINT:  
  3.     movem.l d6-d7, -(a7)
  4.     move.w #$977F, (VDPControl)
  5.     move.w #$9600, (VDPControl)
  6.     move.l #$FF0060, d7         ; d7 = source adress
  7.     move.w #$9700, d6
  8.     lsr.l #1, d7
  9.     move.b d7, d6
  10.     move.w d6, (VDPControl)
  11.     sub.w #$0100, d6
  12.     lsr.l #2, d7
  13.     move.b d7, d6
  14.     move.w d6, (VDPControl)
  15.     sub.w #$0100, d6
  16.     lsr.l #2, d7
  17.     move.b d7, d6
  18.     move.w d6, (VDPControl)      
  19.     move.w #$1000, d7           ; Now d7 = vram destination
  20.     move.w d7, d6
  21.     lsl.l #2, d6
  22.     lsr.w #2, d6
  23.     or.w #%010000000000000, d6
  24.     swap d6
  25.     or.b #%1000000, d6
  26.     move.l d6, (VDPControl)
  27.     movem.l (a7)+,d6-d7    
  28.     rte
Add Comment
Please, Sign In to add comment