![](http://datasheet.mmic.net.cn/30000/MC68322FT16_datasheet_2368702/MC68322FT16_168.png)
Graphic Orders
BLT2BB_XHD
MOTOROLA
MC68322 USER’S MANUAL
13-19
BLT2BB_XHD
Expanded Source, Halftone, Destination bitBLT to Banded Bitmap
Note: * Denotes A Parameter That The MC68322 Updates When The Frame Crosses A Band Boundary.
The BLT2BB_XHD graphic order transfers a low resolution source frame to a destination
banded bitmap and applies a halftone bitmap in the process. 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,
halftone, and destination bit maps are combined as specified by the Boolean code set in the
last SET_BOOL_SHD order. The destination bitmap parameters must have been previously
defined by the SET_BBMAP graphic order and the halftone bitmap dimensions by the
SET_HTBMAP graphic order. During the processing of halftones, wrapping occurs at the
edges of the bitmap. This results in horizontal and vertical replication (tiling) of the bitmap to
cover the entire destination frame area.
The DA parameter specifies the logical bit address of the area or transfer frame that starts
in the destination banded bitmap. The logical bit address is converted to a physical bit
address by adding the PSUBL value in the SET_BBMAP graphic order. The start of the
transfer frame must be within the bounds of the banded bitmap, but the end of the transfer
frame may extend past the end of the bitmap. DA must point to the upper left corner of the
transfer frame when the B2T flag is clear and to the lower left corner of the transfer frame
when B2T is set. The warp of the destination banded bitmap is set by the SET_BBMAP
graphic order, which allows the bitmap to be packed or unpacked.
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.
PARAMETERS
SIZE
DESCRIPTION
0x37
BAND*
DA*
FW
FH*
SA*
SW
XOFF:XMUL
YOFF*:YMUL
HXR
HYR*
HA*
Byte
Long Word
Word
Long Word
Word
Two 4-bit Fields
Word
Long Word
BLT2BB_XHD Opcode.
Band number when graphic order is executed.
Destination logical 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.
Halftone X remainder.
Halftone Y remainder.
Halftone physical bit address of the starting pixel.
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
..
.