program CpuSingleSize; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Interfaces, // this includes the LCL widgetset Forms, FormMain, Cpu, Assembler, Instructions, FormScreen, Machine, FormCpu, FormConsole, FormAssembler, Core, FormDisassembler, Disassembler, Memory, FormMessages, Message, SysUtils, FormHelp, Parser, FormDevices, FormStorage, Project; {$R *.res} {$if declared(UseHeapTrace)} const HeapTraceLog = 'heaptrclog.trc'; {$ENDIF} begin {$if declared(UseHeapTrace)} DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog); SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog); {$ENDIF} RequireDerivedFormResource := True; Application.Scaled := True; Application.Initialize; Application.CreateForm(TCore, Core.Core); Application.Run; end.