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