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