FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
91
Copyright © Bridgetek Limited
acts like a character grid. A single bitmap can be drawn which covers all or part of the
display; each byte in the bitmap data corresponds to one 8x8 pixel character cell.
TEXTVGA – lookup in a fixed 8x16 font with TEXTVGA syntax. The bitmap is a TEXTVGA
array present in the graphics ram, each element indexes into an internal 8x16 CP437 [2]
font (inbuilt font bitmap handles 18 & 19 are used for drawing TEXTVGA format with
control information such as background color, foreground color and cursor etc). The
result is that the bitmap acts like a TEXTVGA grid. A single bitmap can be drawn which
covers all or part of the display; each TEXTVGA data type in the bitmap corresponds to
one 8x16 pixel character cell.
PALETTED - bitmap bytes are indices into a palette table. By using a palette table -
which contains 32-bit RGBA colors - a significant amount of memory can be saved. The
256 color palette is stored in a dedicated 1K (256x4) byte RAM_PAL.
linestride
Bitmap linestride, in bytes. Please note the alignment requirement which is
described below.
height
Bitmap height, in lines
Description
The bitmap formats supported are L1, L4, L8, RGB332, ARGB2, ARGB4, ARGB1555,
RGB565 and Palette.
For L1 format, the line stride must be a multiple of 8 bits; For L4 format the line
stride must be multiple of 2 nibbles. (Aligned to byte)
For more details about alignment, please refer to the figures below: