Graphic Orders
BLT2BB_SD
MOTOROLA
MC68322 USER’S MANUAL
13-11
BLT2BB_SD
Source/Destination bitBLT to Banded Bitmap
Note: * Denotes A Parameter That The MC68322 Updates When The Frame Crosses A Band Boundary.
The BLT2BB_SD graphic order causes the MC68322 to bitBLT a source frame to a
destination banded bitmap. The source and destination pixels are combined as specified by
the current BOOL_SD Boolean code. The destination bitmap parameters must have been
previously defined by the SET_BBMAP graphic order. The source frame warp is assumed
to be the FW specified in the BLT2BB_SD graphic order unless a non-zero source bitmap
warp was previously defined by the SET_SBMAP graphic order, in which case the latter is
used.
DA 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 set by 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 source physical bit address (SA) must point to the
upper left corner of the source frame when the B2T flag is clear and to the lower left corner
of the source frame when the B2T flag is set.
When a band fault is detected, the MC68322 rewrites the graphic order to update some of
the parameters. The BAND number is incremented (or decremented when the B2T flag is
set), DA and SA are repositioned to the starting pixel of the respective frame to be
processed in the next band, and FH is written back with the number of remaining scanlines
in the frame to be transferred.
Related Graphic Orders
SET_BOOL_SD
SET_BBMAP
SET_SBMAP
PARAMETERS
SIZE
DESCRIPTION
0x32
BAND*
DA*
FW
FH*
SA*
Byte
Long Word
Word
Long Word
BLT2BB_SD Opcode.
Band number when graphic order is executed.
Destination logical bit address.
Frame width in bits.
Frame height in scanlines.
Source physical bit address.
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
..
.