Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.16F.16F877A

Constants

BOOL false     BOOL true    

Globals

BYTE IdxChar     BYTE RemapChars     BYTE ReplaceChar     BYTE SearchChars    

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

Clear

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

PrintString

Return:     VOID
Params:     STRING Text    
Vars:     BYTE Idx     BYTE count    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

PrintAscii

Return:     VOID
Params:     BYTE character    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

PrintNumber

Return:     VOID
Params:     SIGNED INT Number    
Vars:     STRING s    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

RAMWrite

Return:     VOID
Params:     BYTE Index     BYTE d0     BYTE d1     BYTE d2     BYTE d3     BYTE d4     BYTE d5     BYTE d6     BYTE d7    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

Ev_Initialise

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

ClearLine

Return:     VOID
Params:     BYTE Line    
Vars:     BYTE x    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

BacklightControl_Sim

Return:     VOID
Params:     BYTE State    
Vars:     UNSIGNED LONG OffColour     UNSIGNED LONG blue     UNSIGNED LONG green     UNSIGNED LONG red     UNSIGNED LONG BGColour     UNSIGNED LONG TBGColour    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

Cursor

Return:     VOID
Params:     BYTE x     BYTE y    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

Command

Return:     VOID
Params:     BYTE instruction    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

PrintFormattedNumber

Return:     VOID
Params:     UNSIGNED LONG Number     BOOL Format    
Vars:     STRING s    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

ScrollDisplay

Return:     VOID
Params:     BYTE Position     BYTE Direction    
Vars:     BYTE cmd     BYTE scroll    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

Ev_Property

Return:     UNSIGNED LONG
Vars:     HANDLE cpt     BYTE val     SIGNED INT x     HANDLE Handle     STRING Name    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

RawSend

Return:     VOID
Params:     BYTE data     BOOL type    
Vars:     BYTE nibble    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

PrintFloat

Return:     VOID
Params:     FLOAT Number     BYTE DecimalPlaces    
Vars:     STRING s    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

RemapCharacter

Return:     VOID
Params:     BYTE RemapIdx     BYTE SearchCharacter     BYTE ReplacementCharacter    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

Ev_GetVarSize

Return:     UNSIGNED LONG
Params:     STRING VarName     Elements    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

Ev_AddVar

Return:     UNSIGNED LONG
Params:     STRING VarName     STRING ExpandName     STRING Expansion    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

Start

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

Ev_Start

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    ClearLine    /    BacklightControl_Sim    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Ev_Property    /    RawSend    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Ev_Start    /    Main

Main

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Verison History

Version 0.6
12/09/19 BR - Created initial recursive parser
14/09/19 BR - Added support for disabled icons
18/09/19 BR - Fixed decision icon parsing
19/09/19 BR - Added switch icon support
23/09/19 BR - Fixed recursive loop spacing
27/09/19 BR - Further tweaked spacing and added Macro menu
30/09/19 BR - Improved all string spacing
01/10/19 BR - Improved While icon support