program BigIntVM; uses {$IFDEF UNIX} cthreads, clocale, {$ENDIF} {$IFDEF HASAMIGA} athreads, {$ENDIF} Interfaces, SysUtils, // this includes the LCL widgetset Forms, FormMain, FormDisassembler, FormMemory, Cpu, IntMemory, Int, Machine, DeviceManager, Screen, Console, Device, Assembler, Instructions, Parser, Message, Disassembler, CommonPackage { you can add units after this }; {$R *.res} {$if declared(UseHeapTrace)} const HeapTraceLog = 'heaptrclog.trc'; {$ENDIF} begin {$if declared(UseHeapTrace)} // Heap trace DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog); SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog); {$ENDIF} RequireDerivedFormResource:=True; Application.Scaled:=True; Application.Initialize; Application.CreateForm(TFormMain, FormMain.FormMain); Application.Run; end.