![](http://datasheet.mmic.net.cn/30000/MC68322FT16_datasheet_2368702/MC68322FT16_176.png)
Graphic Orders
BLT2F_XD
MOTOROLA
MC68322 USER’S MANUAL
13-27
BLT2F_XD
Expanded Source, Destination bitBLT to Frame
The BLT2F_XD graphic order transfers a low resolution source frame to a destination frame.
Before being combined with the destination, the source frame is scaled to match the
resolution of the destination bitmap. This results in an intermediate expanded source
bitmap. The pixels of the expanded source and destination bit maps are combined as
specified by the Boolean code set in the last SET_BOOL_SD order.
The DA parameter specifies the physical bit address of the destination frame. It must point
to the upper left corner of the destination frame. The destination frame will be packed since
its warp is assumed to equal FW. The FW and FH parameters define the area of the
destination bitmap on which the operation is performed. FW is the frame width in bits and at
a maximum equals the quantity W
× (XMUL + 1) where W is the width of the unexpanded
source bitmap. FH is the frame height in scanlines and at a maximum equals the quantity H
× (YMUL + 1) where H is the height of the unexpanded source bitmap. Specifying FW and
FH as defined above causes the entire expanded source image to be combined with the
destination bitmap. Specifying an FW and/or FH value less than the values defined by the
above equations causes only a portion of the expanded source frame to be applied to the
destination. When used in combination with XOFF and YOFF, clipping can be affected at
any or all extents of the expanded source bitmap.
The SA parameter defines the unexpanded source bitmap bit address. It must point to the
upper left corner of the bitmap. The warp of the bitmap is set by the SW operand. This value
is added to SA to locate the beginning of each successive scanline. Note that the source
warp set by the SET_SBMAP graphic order has no effect on this graphic order.
The XOFF:XMUL operand is divided into two fields. The least-significant four bits contain
the XMUL field, which specifies the factor used to scale the unexpanded source bitmap in
the X dimension. XMUL must equal a specific value from 0–15, which represents a scaling
factor of 1–16. Only certain scaling factors are supported, as defined in Table 13-3. Values
other than those listed are ignored and no X scaling is performed.
PARAMETERS
SIZE
DESCRIPTION
0x16
0x00
DA
FW
FH
SA
SW
XOFF:XMUL
YOFF:YMUL
Byte
Long Word
Word
Long Word
Word
Two 4-bit Fields
BLT2F_XD Opcode.
Reserved.
Destination physical bit address.
Destination frame width in bits.
Destination frame height in scanlines.
Unexpanded source physical bit address.
Unexpanded source frame warp in bits.
X offset and X multiplier in bits.
Y offset and Y multiplier in scanlines.
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.