Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.16F.16F877A

Constants

BOOL false     BOOL true    

Globals

BYTE DataCount     BYTE test     BYTE OldHour     HANDLE ConsoleHandle     BYTE State     UNSIGNED INT DataOutStart     BYTE RWPointer     UNSIGNED INT DataInEnd     BYTE Addressed     UNSIGNED INT DataInStart     BYTE DataIn     BYTE DataOut     UNSIGNED INT DataOutEnd     BYTE RWBit     BYTE DayCount    

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

AddReturnString

Return:     VOID
Params:     STRING Data    
Vars:     UNSIGNED INT Length     UNSIGNED INT Index    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

InitialiseInjector

Return:     BYTE
Params:     STRING InjectorName    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

Ev_Timer

Return:     UNSIGNED LONG
Params:     UNSIGNED LONG TimerID    
Vars:     BYTE in     BYTE data     BYTE YearCode     BYTE MonthCode     BYTE CenturyCode     BYTE LeapYearCode     BYTE DateNumber     HANDLE Handle    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

EmptyIncomingBuffer

Return:     VOID

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

RxByteCount

Return:     UNSIGNED INT

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

Ev_Stop

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

Ev_Initialise

Return:     UNSIGNED LONG
Vars:     STRING temp    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

ReadByteFromConsole

Return:     BYTE
Params:     UNSIGNED INT Address    
Vars:     BYTE Line     BYTE Offset     BYTE DataArray    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

TxByte

Return:     VOID
Params:     BYTE DataByte    
Vars:     UNSIGNED INT temp     BYTE Receive    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

RxByte

Return:     UNSIGNED INT
Vars:     STRING ascii     BYTE rxbyte    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

ReadTime

Return:     BYTE
Params:     BYTE Unit    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

StringMatch

Return:     BYTE
Params:     STRING MatchData    
Vars:     BYTE StrLen     BYTE Index     UNSIGNED INT BuffIndex    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

GetConsoleHandle

Return:     HANDLE

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

Ev_Property

Return:     UNSIGNED LONG
Vars:     STRING SVar    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

ChangeState

Return:     VOID
Params:     BYTE NewState    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

ParseCommand

Return:     VOID
Vars:     BYTE Data    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

Ev_Renamed

Return:     UNSIGNED LONG
Vars:     STRING Name    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

ReadDate

Return:     BYTE
Params:     BYTE Unit    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

AddReturnByte

Return:     VOID
Params:     BYTE DataByte    
Vars:     UNSIGNED INT temp    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

Ev_Start

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    Main

WriteByteToConsole

Return:     VOID
Params:     UNSIGNED INT Address     BYTE Data    
Vars:     BYTE Line     BYTE Offset     BYTE DataArray    

Your browser does not support the HTML5 canvas tag.

AddReturnString    /    InitialiseInjector    /    Ev_Timer    /    EmptyIncomingBuffer    /    RxByteCount    /    Ev_Stop    /    Ev_Initialise    /    ReadByteFromConsole    /    TxByte    /    RxByte    /    ReadTime    /    StringMatch    /    GetConsoleHandle    /    Ev_Property    /    ChangeState    /    ParseCommand    /    Ev_Renamed    /    ReadDate    /    AddReturnByte    /    Ev_Start    /    WriteByteToConsole    /    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