2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
11 .globl AROS_CDEFNAME(_BltRPtoCR)
12 .type AROS_CDEFNAME(_BltRPtoCR),@function
13 AROS_CDEFNAME
(_BltRPtoCR
):
14 movem.
l d2-d7
/a2-a3
/a6
,-(sp
)
17 move.
l d0
,d6
/* mode (minterm) */
18 movea.
l rp_BitMap
(a2
),a0
/* rp->BitMap */
20 ext.
l d0
/* cr->bounds.MinX */
22 ext.
l d1
/* cr->bounds.MinY */
23 movea.
l cr_BitMap
(a3
),a1
/* cr->BitMap */
27 and.l d3
,d2
/* cr->bounds.MinX & 0xf */
33 addq.
l #1,d4 /* cr->bounds.MaxX - cr->bounds.MinX + 1 */
39 addq.
l #1,d5 /* cr->bounds.MaxY - cr->bounds.MinY + 1 */
40 moveq.
l #-1,d7 /* mask */
41 suba.
l a2
,a2
/* tempa */
42 movea.
l lb_GfxBase
(a6
),a6
/* get GfxBase from LayersBase */
43 moveq.
l #0,d3 /* dest y */
45 movem.
l (sp
)+,d2-d7
/a2-a3
/a6
48 .globl AROS_CDEFNAME(_BltCRtoRP)
49 .type AROS_CDEFNAME(_BltCRtoRP),@function
50 AROS_CDEFNAME
(_BltCRtoRP
):
51 movem.
l d2-d7
/a2-a3
/a6
,-(sp
)
54 move.
l d0
,d6
/* mode (minterm) */
55 movea.
l cr_BitMap
(a3
),a0
/* rp->BitMap */
59 and.l d1
,d0
/* cr->bounds.MinX & 0xf */
60 movea.
l rp_BitMap
(a2
),a1
/* cr->BitMap */
62 ext.
l d2
/* cr->bounds.MinX */
64 ext.
l d3
/* cr->bounds.MinY */
70 addq.
l #1,d4 /* cr->bounds.MaxX - cr->bounds.MinX + 1 */
76 addq.
l #1,d5 /* cr->bounds.MaxY - cr->bounds.MinY + 1 */
77 moveq.
l #-1,d7 /* mask */
78 suba.
l a2
,a2
/* tempa */
79 movea.
l lb_GfxBase
(a6
),a6
/* get GfxBase from LayersBase */
80 moveq.
l #0,d1 /* src y */
82 movem.
l (sp
)+,d2-d7
/a2-a3
/a6