Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.16F.16F1937

Constants


Globals

UNSIGNED INT background_col_var     UNSIGNED INT foreground_col_var    

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

G4D_InitialiseCard

Return:     BYTE
Vars:     UNSIGNED INT ret    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

PrintNumber

Return:     VOID
Params:     SIGNED INT Number     UNSIGNED INT X     UNSIGNED INT Y     BYTE Font     BYTE Transparent    
Vars:     STRING temp    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

DrawLine

Return:     VOID
Params:     UNSIGNED INT X1     UNSIGNED INT Y1     UNSIGNED INT X2     UNSIGNED INT Y2    
Vars:     SIGNED INT C1     SIGNED INT M1     SIGNED INT D1     SIGNED INT PixelX     SIGNED INT PixelY     SIGNED INT Yinc     SIGNED INT Xinc    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

FastPlot_Sim

Return:     VOID

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

DrawEllipse

Return:     VOID
Params:     UNSIGNED INT X     UNSIGNED INT Y     UNSIGNED INT XRadius     UNSIGNED INT YRadius     BYTE Transparent     BYTE Solid    
Vars:     SIGNED INT err     SIGNED INT CurX     SIGNED INT CurY     UNSIGNED LONG BGCol     UNSIGNED LONG FGCol     BYTE Rep     SIGNED INT e2     FLOAT K    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

Plot

Return:     VOID
Params:     UNSIGNED INT X1     UNSIGNED INT Y1    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

FastPlot

Return:     VOID

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

G4D_DisplayVideoFromCard

Return:     BYTE
Params:     UNSIGNED INT X     UNSIGNED INT Y     UNSIGNED INT AddH     UNSIGNED INT AddL    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

Ev_Init

Return:     UNSIGNED LONG
Vars:     STRING temp_str    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

Ev_Property

Return:     UNSIGNED LONG
Vars:     STRING temp_str     BYTE Red     BYTE Green     BYTE Blue     UNSIGNED INT Colour    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

BPlot

Return:     VOID
Params:     UNSIGNED INT X1     UNSIGNED INT Y1    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

Window_Sim

Return:     VOID
Params:     UNSIGNED INT X1     UNSIGNED INT Y1     UNSIGNED INT X2     UNSIGNED INT Y2    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

Window

Return:     VOID
Params:     UNSIGNED INT X1     UNSIGNED INT Y1     UNSIGNED INT X2     UNSIGNED INT Y2    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

G4D_ReadJoystickGoldelox

Return:     BYTE

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

Print

Return:     VOID
Params:     STRING Str     UNSIGNED INT X1     UNSIGNED INT Y1     BYTE Font     BYTE Transparent    
Vars:     BYTE len_str     BYTE idx    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

ClearDisplay

Return:     VOID
Vars:     UNSIGNED INT Y     UNSIGNED INT X    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

SetBackgroundColour

Return:     VOID
Params:     BYTE Red     BYTE Green     BYTE Blue    
Vars:     UNSIGNED LONG colour    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

Ev_Resize

Return:     UNSIGNED LONG
Params:     HANDLE Component     HANDLE PrevPos     BOOL Final    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

DrawCircle

Return:     VOID
Params:     UNSIGNED INT X     UNSIGNED INT Y     UNSIGNED INT Radius     BYTE Transparent     BYTE Solid    
Vars:     SIGNED INT D     SIGNED INT CurX     SIGNED INT CurY     UNSIGNED LONG BGCol     UNSIGNED LONG FGCol     BYTE Rep    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

G4D_DisplayImageFromCard

Return:     BYTE
Params:     UNSIGNED INT X     UNSIGNED INT Y     UNSIGNED INT AddH     UNSIGNED INT AddL    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

SetForegroundColour

Return:     VOID
Params:     BYTE Red     BYTE Green     BYTE Blue    
Vars:     UNSIGNED LONG colour    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

DrawRectangle

Return:     VOID
Params:     UNSIGNED INT X1     UNSIGNED INT Y1     UNSIGNED INT X2     UNSIGNED INT Y2     BYTE Transparent     BYTE Solid    
Vars:     UNSIGNED INT Xmin     UNSIGNED INT Xmax     UNSIGNED INT Ymin     UNSIGNED INT Ymax    

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

Main

Return:     VOID

Your browser does not support the HTML5 canvas tag.

G4D_InitialiseCard    /    PrintNumber    /    DrawLine    /    FastPlot_Sim    /    DrawEllipse    /    Plot    /    FastPlot    /    G4D_DisplayVideoFromCard    /    Ev_Init    /    Ev_Property    /    BPlot    /    Window_Sim    /    Window    /    G4D_ReadJoystickGoldelox    /    Print    /    ClearDisplay    /    SetBackgroundColour    /    Ev_Resize    /    DrawCircle    /    G4D_DisplayImageFromCard    /    SetForegroundColour    /    DrawRectangle    /    Main    /    Initialise

Initialise

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