SPS_Emu.lpr 719 B

123456789101112131415161718192021222324252627282930
  1. program SPS_Emu;
  2. {$mode objfpc}{$H+}
  3. uses
  4. {$IFDEF UNIX}{$IFDEF UseCThreads}
  5. cthreads,
  6. {$ENDIF}{$ENDIF}
  7. Interfaces, // this includes the LCL widgetset
  8. Forms, sdposeriallaz, uGUI, uSPS, uTextUi, uSelectCom, MCSLSU, MCSAbout,
  9. uiMicrobit;
  10. {$R *.res}
  11. var path : string;
  12. begin
  13. path := ParamStr(0);
  14. RequireDerivedFormResource := True;
  15. Application.Scaled:=True;
  16. Application.Initialize;
  17. MCSLSU.LSUSetDebug(false);
  18. MCSLSU.LSUInit(path, NOR_Mode, GetLNGCode);
  19. Application.CreateForm(TForm1, Form1);
  20. Application.CreateForm(TForm2, Form2);
  21. Application.CreateForm(TfrmSelectCom, frmSelectCom);
  22. Application.CreateForm(TfMicrobit, fMicrobit);
  23. Application.Run;
  24. end.