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