Category:FT800 Commands

From MCS Wiki AVR
Jump to: navigation, search

Summary of Command Groups

(list not complete)

Setting Graphics State


AlphaFunc        

Set the alpha test function

BitmapHandle        

Set the bitmap handle

BitmapLayout        

Set the source bitmap memory format and layout for the current handle

BitmapSize

Set the screen drawing of bitmaps for the current handle

BitmapSource

Set the source address for bitmap graphics

BitmapTransformA-F

Set the components of the bitmap transform matrix

ColorMask

Enable or disable writing of color components

ColorRGB

Set the current color red, green and blue

LineWidth

Set the line width

PointSize

Set point size

RestoreContext

Restore the current graphics context from the context stack

SaveContext        

Push the current graphics context on the context stack

ScissorSize        

Set the size of the scissor clip rectangle

ScissorXY

Set the top left corner of the scissor clip rectangle

StencilFunc

Set function and reference value for stencil testing

StencilMask

Control the writing of individual bits in the stencil planes

StencilOp

Set stencil test actions

Tag        

Set the current tag value

TagMask

Control the writing of the tag buffer



Drawing actions


Begin_G

Start drawing a graphics primitive

End_G

Finish drawing a graphics primitive

Vertex2f

Supply a vertex with fractional coordinates

Vertex2ii

Supply a vertex with positive integer coordinates



Execution control


Jump

Execute commands at another location in the display list

Macro_R

Execute a single command from a macro register

Call_C        

Execute a sequence of commands at another location in the display list

Return_C

Return from a previous CALL command

Display_E

End the display list

 

 

Co-Processor Engine commands

 


Clip0104.png


 

BASCOM high level commands



CMDFTSTACK        

Send data from the soft stack

CMD8

Send a byte to the FT800 graphic processor.

CMD16

Send a word to the FT800 graphic processor.

CMD32

Send a dword to the FT800 graphic processor.

WR8

Write an address and a byte parameter to the FT800.

WR16

Write an address and a word parameter to the FT800.

WR32

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


Languages   English  
Personal tools
Namespaces
Variants
Actions
Navigation
Language