;C prototype: void DrawSquareSide (unsigned char *sprt, void *dest); ; ;void DrawSquareSide (register unsigned char *sprt asm("%a2"), ; register void *dest asm("%a0")); xdef DrawSquareSide DrawSquareSide: ;move.l a2,-(a7) movea.l a2,a1 lea 240(a0),a0 moveq.l #5,d1 \bcl_draw_all_left: moveq.l #31,d0 movea.l a1,a2 \bcl_draw_left8: move.b (a2),(a0) move.b (a2)+,27(a0) move.b (a2),6000(a0) move.b (a2)+,6000+27(a0) lea 30(a0),a0 dbf d0,\bcl_draw_left8 dbf d1,\bcl_draw_all_left ;move.l (a7)+,a2 rts