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