;C prototype: void CopySprite16_32 (void *src, void *dest, short h, short h2); ; ;void CopySprite16_32 (register void *src asm("%a0"), ; register void *dest asm("%a1"), ; register short h asm("%d2"), ; register short h2 asm("%d3")); xdef CopySprite16_32 CopySprite16_32: moveq.l #0,d1 move.w d3,d1 dbf d1,\bcl_321 \bcl_321: move.l #0,(a1)+ dbf d1,\bcl_321 add.w d3,d3 add.w d3,d3 sub.w d3,a1 moveq.l #0,d0 move.w d2,d0 dbf d0,\bcl_3210 \bcl_3210: move.w (a0)+,d1 not.w d1 move.w d1,(a1)+ addq.l #4,a0 addq.l #2,a1 dbf d0,\bcl_3210 rts