![](http://datasheet.mmic.net.cn/30000/MC68322FT16_datasheet_2368702/MC68322FT16_174.png)
Graphic Orders
BLT2F_SHD
MOTOROLA
MC68322 USER’S MANUAL
13-25
BLT2F_SHD
Source/Halftone/Destination bitBLT to Frame
The BLT2F_SHD graphic order causes the MC68322 to bitBLT a source frame to a
destination frame and apply a halftone bitmap in the process. The source, halftone, and
destination pixels are combined as specified by the current BOOL_SHD Boolean code. The
destination bitmap warp is taken to be the FW specified in the BLT2F_SHD graphic order.
FW is also assumed to be the source frame warp, unless a non-zero source bitmap warp
was previously defined by the SET_SBMAP graphic order, in which case the latter is used.
The SET_HTBMAP graphic order must previously define the halftone bitmap dimensions.
During the processing of halftones, wrapping occurs at the edges of the bitmap and results
in horizontal and vertical replication (tiling) of the bitmap to cover the entire bitBLT frame
area.
Halftone tiled patterns are typically anchored to the page. A bitBLT may need to take on the
halftone pattern starting at various points in the halftone bitmap, depending on where it is
positioned on the page. The halftone parameters HXR, HYR, and HA define the precise
halftone pixel that corresponds to the upper left corners of the source and destination
frames. HXR specifies the number of pixels remaining to the right edge of the bitmap and
HYR defines the number of scanlines remaining to the bottom edge. HXR and HYR must be
in the following ranges: 1
≤ HXR ≤ HW and 1 ≤ HYR ≤ HH, where HW and HH are the width
and height of the halftone bitmap, respectively. For example, if the starting pixel in the
halftone bitmap is determined to be at the upper left, HXR must be set to HW, and HYR to
HH; to start at the lower right, HXR and HYR must both be set to one. The DA, SA, and HA
parameters must point to the upper left corners of their respective frames.
Related Graphic Orders
SET_BOOL_SHD
SET_HTBMAP
SET_SBMAP
PARAMETERS
SIZE
DESCRIPTION
0x13
0x00
DA
FW
FH
SA
HXR
HYR
HA
Byte
Long Word
Word
Long Word
Word
Long Word
BLT2F_SHD Opcode.
Reserved.
Destination physical bit address.
Frame width in bits.
Frame height in scanlines.
Source physical bit address.
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
..
.