Page 72
Epson Research and Development
Vancouver Design Center
Partially “masked” color expand BitBLT can be used when drawing a portion of a pattern
(i.e. a portion of a character) on the screen. The following examples illustrate how one
WORD is expanded using the Color Expand BitBLT.
1. To expand bits 0-1 of the word:
Source Address = 0
Start Bit Position = 1
Blit Width = 2
The following bits are expanded.
Word Sent To BitBLT Engine
15
7
8
7
0
0
0
7
High Byte
Low Byte
2. To expand bits 0-15 of the word (entire word)
Source Address = 0
Start Bit Position = 7 (bit seven of the low byte)
Blit Width = 16
The following bits are expanded.
Word Sent To BitBLT Engine
15
7
8
7
0
0
0
7
High Byte
Low Byte
3. To expand bits 8-9 of the word
Source Address = 1
Start Bit Position = 1
Blit Width = 2
The following bits are expanded.
Word Sent To BitBLT Engine
15
7
8
7
0
0
0
7
High Byte
Low Byte
4. To expand bits 0,15-14 of the word
S1D13506
X25B-G-003-03
Programming Notes and Examples
Issue Date: 01/02/06