source: branches/CpuSingleSize/CpuSingleSize.lpr

Last change on this file was 238, checked in by chronos, 10 months ago
  • Modified: Removed U prefix from unit names.
  • Fixed: Memory leaks.
File size: 842 bytes
Line 
1program CpuSingleSize;
2
3{$mode objfpc}{$H+}
4
5uses
6 {$IFDEF UNIX}{$IFDEF UseCThreads}
7 cthreads,
8 {$ENDIF}{$ENDIF}
9 Interfaces, // this includes the LCL widgetset
10 Forms, FormMain, Cpu, Assembler, Instructions, FormScreen, Machine,
11 FormCpu, FormConsole, FormAssembler, Core, FormDisassembler,
12 Disassembler, Memory, FormMessages, Message, SysUtils, FormHelp,
13 Parser, FormDevices, FormStorage, Project;
14
15{$R *.res}
16
17{$if declared(UseHeapTrace)}
18const
19 HeapTraceLog = 'heaptrclog.trc';
20{$ENDIF}
21
22begin
23 {$if declared(UseHeapTrace)}
24 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
25 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
26 {$ENDIF}
27
28 RequireDerivedFormResource := True;
29 Application.Scaled := True;
30 Application.Initialize;
31 Application.CreateForm(TCore, Core.Core);
32 Application.Run;
33end.
34
Note: See TracBrowser for help on using the repository browser.