Summary of Command Groups
Setting Graphics State |
|
Set the alpha test function |
|
Set the bitmap handle |
|
Set the source bitmap memory format and layout for the current handle |
|
Set the screen drawing of bitmaps for the current handle |
|
Set the source address for bitmap graphics |
|
Set the components of the bitmap transform matrix |
|
Set pixel arithmetic |
|
Set the bitmap cell number for the VERTEX2F command |
|
Clear buffers to preset values |
|
Set clear value for the alpha channel |
|
Set clear values for red, green and blue channels |
|
Set clear value for the stencil buffer |
|
Set clear value for the tag buffer |
|
Set the current color alpha |
|
Enable or disable writing of color components |
|
Set the current color red, green and blue |
|
Set the line width |
|
Set point size |
|
Restore the current graphics context from the context stack |
|
Push the current graphics context on the context stack |
|
Set the size of the scissor clip rectangle |
|
Set the top left corner of the scissor clip rectangle |
|
Set function and reference value for stencil testing |
|
Control the writing of individual bits in the stencil planes |
|
Set stencil test actions |
|
Set the current tag value |
|
Control the writing of the tag buffer |
|
|
|
Commands that begin and finish the display list |
|
Start drawing a graphics primitive |
|
Finish drawing a graphics primitive |
|
Start a New Display List |
|
Commands to draw graphic objects |
|
Draw Text |
|
Draw a Button |
|
Draw an analog clock |
|
Set the background color |
|
Set the foreground color |
|
Set the 3D effects for CmdButton and CmdKeys highlight color |
|
Draw a gauge |
|
Draw a smooth color gradient |
|
Draw a row of keys |
|
Draw a progress bar |
|
Draw a scroll bar |
|
Draw a slider |
|
Draw a rotary dial control |
|
Draw a toggle switch |
|
Draw a decimal number |
|
Drawing Actions |
|
Supply a vertex with fractional coordinates |
|
Supply a vertex with positive integer coordinates |
|
Set up a custom font |
|
Track touches for a graphic object |
|
Commands to operate on memory |
|
Compute a CRC-32 for memory |
|
Write zero to a block of memory |
|
Fill memory with a byte value |
|
Write bytes into memory |
|
Copy a block of memory |
|
Append memory to display list |
|
Get the End memory address of inflated data |
|
Commands for loafing image data into FT80x memory |
|
Decompress data into memory |
|
Load a JPEG image |
|
Commands for setting the bitmap transform matrix |
|
Set the current matrix to identity |
|
Apply a translation to the current matrix |
|
Apply a scale to the current matrix |
|
Apply a rotation to the current matrix |
|
Write the current matrix as a bitmap transform |
|
Retrieves the current matrix coefficients |
|
Execution control |
|
Execute commands at another location in the display list |
|
Execute a single command from a macro register |
|
Execute a sequence of commands at another location in the display list |
|
Return from a previous CALL command |
|
End the display list |
|
Swap de current display list |
|
Other Commands |
|
Set co-processor engine state to default values |
|
Trigger interrupt INT_CMDFLAG |
|
Read a register value |
|
Execute the touch screen calibration routine |
|
Start an animated spinner |
|
Stop any spinner, screensaver or sketch |
|
Start an animated screen saver |
|
Start a continuous sketch update |
|
Take a snapshot of the current screen |
|
Play device logo animation |
Co-Processor Engine commands
BASCOM high level commands
Clears the LCD with a black background |
|
Executes the commands in FIFO and refreshes LCD |
|
Waits for execution of commands in FIFO buffer |
|
Send data from the soft stack |
|
Send a byte to the FT800 graphic processor. |
|
Send a word to the FT800 graphic processor. |
|
Send a dword to the FT800 graphic processor. |
|
Write an address and a byte parameter to the FT800. |
|
Write an address and a word parameter to the FT800. |
|
Write an address and a dword parameter to the FT800. |
Errors
The FTERROR byte variable contains 4 flags you can examine.
FtError.0 = WaitCmdFifoEmpty Sub when Overflowed
FtError.1 = WaitCmdFifoEmpty Sub when TimeOut
FtError.2 = FreeSpaceFt Sub when OverFlowed
FtError.3 = FreeSpaceFt Sub when TimeOut