
10: 2D BITBLT ENGINE
2-54
EPSON
S1D13806 SERIES PROGRAMMING NOTES
AND EXAMPLES (X28B-G-003-01)
If data is sourced from the CPU, then bit 0 is used for byte alignment within a 16-bit word and the
other address bits are ignored. In pattern fill operation, the BitBLT Source Start Address is defined
by the following equation:
Source Start Address Register = Pattern Base Address + Pattern Line Offset + Pixel Offset.
The following table shows how Source Start Address Register is defined for 8 and 16 bpp color
depths:
The BitBLT Destination Start Address Registers form a 21-bit register that specifies the destination
start address for the BitBLT operation selected by the BitBLT Operation Register (REG[103h]). The
destination address represents the upper left corner of the BitBLT rectangle (lower right corner of
the BitBLT rectangle for Move BitBLT in Negative Direction).
Table 10-3 BitBLT Source Start Address Selection
Color Format
Pattern Base Address[20:0]
Pattern Line Offset[2:0]
Pixel Offset[3:0]
8 bpp
BitBLT Source Start Address[20:6], 6’b0 BitBLT Source Start Address[5:3]
1’b0, BitBLT Source Start
Address[2:0]
16 bpp
BitBLT Source Start Address[20:7], 7’b0 BitBLT Source Start Address[6:4]
BitBLT Source Start Address[3:0]
REG[108h] BitBLT Destination Start Address Register 0
BitBLT
Destination
Start Address
Bit 7
BitBLT
Destination
Start Address
Bit 6
BitBLT
Destination
Start Address
Bit 5
BitBLT
Destination
Start Address
Bit 4
BitBLT
Destination
Start Address
Bit 3
BitBLT
Destination
Start Address
Bit 2
BitBLT
Destination
Start Address
Bit 1
BitBLT
Destination
Start Address
Bit 0
REG[109h] BitBLT Destination Start Address Register 1
BitBLT
Destination
Start Address
Bit 15
BitBLT
Destination
Start Address
Bit 14
BitBLT
Destination
Start Address
Bit 13
BitBLT
Destination
Start Address
Bit 12
BitBLT
Destination
Start Address
Bit 11
BitBLT
Destination
Start Address
Bit 10
BitBLT
Destination
Start Address
Bit 9
BitBLT
Destination
Start Address
Bit 8
REG[10Ah] BitBLT Destination Start Address Register 2
n/a
BitBLT
Destination
Start Address
Bit 20
BitBLT
Destination
Start Address
Bit 19
BitBLT
Destination
Start Address
Bit 18
BitBLT
Destination
Start Address
Bit 17
BitBLT
Destination
Start Address
Bit 16