Category:FT800 Commands

From MCS Wiki AVR
(Difference between revisions)
Jump to: navigation, search
(Created page with "<span class="f_Heading1">Summary of Command Groups</span> <p style="text-align: center;">(list not complete)</p><div style="padding: 0px; margin: 0px;"> {| cellspacing="0" cel...")
 
 
Line 9: Line 9:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/alphafunc.htm AlphaFunc]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
+
[[AlphaFunc]]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 16: Line 16:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/bitmaphandle.htm BitmapHandle]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
+
[[BitmapHandle]]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 23: Line 23:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/bitmaplayout.htm BitmapLayout]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
+
[[BitmapLayout]]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 30: Line 30:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/bitmapsize.htm BitmapSize]
+
[[BitmapSize]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 37: Line 37:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/bitmapsource.htm BitmapSource]
+
[[BitmapSource]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 44: Line 44:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/bitmaptransform.htm BitmapTransformA-F]
+
[[BitmapTransformA-F]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 51: Line 51:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/colormask.htm ColorMask]
+
[[ColorMask]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 58: Line 58:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/colorrgb.htm ColorRGB]
+
[[ColorRGB]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 65: Line 65:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/linewidth.htm LineWidth]
+
[[LineWidth]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 72: Line 72:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/pointsize.htm PointSize]
+
[[PointSize]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 79: Line 79:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/restorecontext.htm RestoreContext]
+
[[RestoreContext]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 86: Line 86:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/savecontext.htm SaveContext]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
+
[[SaveContext]]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 93: Line 93:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/scissorsize.htm ScissorSize]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
+
[[ScissorSize]]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 100: Line 100:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/scissorxy.htm ScissorXY]
+
[[ScissorXY]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 107: Line 107:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/stencilfunc.htm StencilFunc]
+
[[StencilFunc]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 114: Line 114:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/stencilmask.htm StencilMask]
+
[[StencilMask]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 121: Line 121:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/stencilop.htm StencilOp]
+
[[StencilOp]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 128: Line 128:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/tag.htm Tag]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
+
[[Tag]]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 135: Line 135:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/tagmask.htm TagMask]
+
[[TagMask]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 150: Line 150:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/begin_g.htm Begin_G]
+
[[Begin_G]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 157: Line 157:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/end_g.htm End_G]
+
[[End_G]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 164: Line 164:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/vertex2f.htm Vertex2f]
+
[[Vertex2f]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 171: Line 171:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/vertex2ii.htm Vertex2ii]
+
[[Vertex2ii]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 186: Line 186:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/jump.htm Jump]
+
[[Jump]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 193: Line 193:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/macro_r.htm Macro_R]
+
[[Macro_R]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 200: Line 200:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/call_c.htm Call_C]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
+
[[Call_C]]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 207: Line 207:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/return_c.htm Return_C]
+
[[Return_C]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 214: Line 214:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="207" style="width: 207px;" |  
 
| valign="top" width="207" style="width: 207px;" |  
[http://avrhelp.mcselec.com/display_e.htm Display_E]
+
[[Display_E]]
  
 
| valign="top" width="867" style="width: 867px;" |  
 
| valign="top" width="867" style="width: 867px;" |  
Line 243: Line 243:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="167" style="width: 167px;" |  
 
| valign="top" width="167" style="width: 167px;" |  
[http://avrhelp.mcselec.com/cmdftstack.htm CMDFTSTACK]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
+
[[CMDFTSTACK]]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
  
 
| valign="top" width="907" style="width: 907px;" |  
 
| valign="top" width="907" style="width: 907px;" |  
Line 250: Line 250:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="167" style="width: 167px;" |  
 
| valign="top" width="167" style="width: 167px;" |  
[http://avrhelp.mcselec.com/cmd8.htm CMD8]
+
[[CMD8]]
  
 
| valign="top" width="907" style="width: 907px;" |  
 
| valign="top" width="907" style="width: 907px;" |  
Line 257: Line 257:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="167" style="width: 167px;" |  
 
| valign="top" width="167" style="width: 167px;" |  
[http://avrhelp.mcselec.com/cmd16.htm CMD16]
+
[[CMD16]]
  
 
| valign="top" width="907" style="width: 907px;" |  
 
| valign="top" width="907" style="width: 907px;" |  
Line 264: Line 264:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="167" style="width: 167px;" |  
 
| valign="top" width="167" style="width: 167px;" |  
[http://avrhelp.mcselec.com/cmd32.htm CMD32]
+
[[CMD32]]
  
 
| valign="top" width="907" style="width: 907px;" |  
 
| valign="top" width="907" style="width: 907px;" |  
Line 271: Line 271:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="167" style="width: 167px;" |  
 
| valign="top" width="167" style="width: 167px;" |  
[http://avrhelp.mcselec.com/wr8.htm WR8]
+
[[WR8]]
  
 
| valign="top" width="907" style="width: 907px;" |  
 
| valign="top" width="907" style="width: 907px;" |  
Line 278: Line 278:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="167" style="width: 167px;" |  
 
| valign="top" width="167" style="width: 167px;" |  
[http://avrhelp.mcselec.com/wr16.htm WR16]
+
[[WR16]]
  
 
| valign="top" width="907" style="width: 907px;" |  
 
| valign="top" width="907" style="width: 907px;" |  
Line 285: Line 285:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="167" style="width: 167px;" |  
 
| valign="top" width="167" style="width: 167px;" |  
[http://avrhelp.mcselec.com/wr32.htm WR32]
+
[[WR32]]
  
 
| valign="top" width="907" style="width: 907px;" |  
 
| valign="top" width="907" style="width: 907px;" |  

Latest revision as of 20:59, 12 December 2014

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