;C prototype: void CopyDecorsBlocks (void *sprite, void *dest); ; ;void CopyDecorsBlocks (register void *sprite asm("%a0"), ; register void *dest asm("%a1")); xdef CopyDecorsBlocks CopyDecorsBlocks: moveq.l #31,d0 ;Section de 32 pixels Copy_Decors0: ;LightPlane move.l (a0),(a1)+ move.l (a0)+,(a1)+ ;DarkPlane move.l (a0),(a1)+ move.l (a0)+,(a1)+ dbra.s d0,Copy_Decors0 ;Autre partie de 32 pixels lea.l -32*4*2(a0),a0 moveq.l #31,d0 ;Section de 32 pixels Copy_Decors1: ;LightPlane move.l (a0),(a1)+ move.l (a0)+,(a1)+ ;DarkPlane move.l (a0),(a1)+ move.l (a0)+,(a1)+ dbra.s d0,Copy_Decors1 rts