Last change
on this file was 238, checked in by chronos, 16 months ago |
- Modified: Removed U prefix from unit names.
- Fixed: Memory leaks.
|
File size:
842 bytes
|
Line | |
---|
1 | program CpuSingleSize;
|
---|
2 |
|
---|
3 | {$mode objfpc}{$H+}
|
---|
4 |
|
---|
5 | uses
|
---|
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)}
|
---|
18 | const
|
---|
19 | HeapTraceLog = 'heaptrclog.trc';
|
---|
20 | {$ENDIF}
|
---|
21 |
|
---|
22 | begin
|
---|
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;
|
---|
33 | end.
|
---|
34 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.