393
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
8.3.12.1
Overview
In this section:
Understanding Controller Properties
Preparing the Display for Operation
Working With Pixels and Colors
Improving Graphical Performance
Understanging Controller Properties
Display panels come in all types, shapes, and sizes. Tibbo supports a limited but
growing number of
. Each supported controller requires its
own "mini-driver". Your application cannot specify the desired controller. Instead,
controller type is selected through the Customize Platform dialog, accessible
through the Project Settings dialog. Once this is done, a proper "mini-driver" is
added to the executable binary during compilation.
The lcd. object is ready to work with a wide range of displays, some of which are
not actually of LCD type. So, the proper name for this object should be "display
object". Nevertheless, we have decided to keep this name -- typing "lcd" is faster
and the name has been in use for a while.
A number of R/O properties inform your application about the type and other vital
parameters of the currently selected display:
indicates whether this panel is of monochrome/grayscale or color
type.
tells you how many bits in the display controller's memory are
allocated for each display pixel. Of course, the more bits/pixel you get, the higher
is your display quality.
For displays with 1, 2, or 4 bits/pixel, a single byte of memory packs the data for
8, 4, or 2 pixels.
will inform you how pixels are packed into
memory bytes: vertically, or horizontally (see the drawing below). The reason you
may want to know this is to achieve faster
.
393
395
395
396
397
404
405
408
408
424
414
425
397