CMD16

From MCS Wiki AVR
Revision as of 13:56, 12 December 2014 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Action

This statement will send a word to the FT800 graphic processor.

 

 

Syntax

CMD16  prm

 

 

Remarks

CMD16 expects a numeric parameter. It will call the _cmd16 assembled code in FT800.LIB

 

 

See also

CMD8 , CMD32 , WR8 , WR16 , WR32

 

 

Example

Sub Cmdprogress(bystack X As Integer , Bystack Y As Integer , Bystack W As Integer , Bystack H As Integer , Bystack Options As Word , Bystack Value As Word , Bystack Range As Word)
 
 ' Draws a Progress Bar
 
 ' Options Are
 ' OPT_3D = 0
 ' OPT_FLAT
 
 Cmd32 Cmd_progress
 cmdftstack 14
 Cmd16 &H0000
 
 ' was a total of 18 bytes, to align with 4byte boundary it had to be offset of 20
End Sub


Languages   English  
Personal tools
Namespaces
Variants
Actions
Navigation
Language