source: branches/ByteArray/ByteArray.lpr

Last change on this file was 58, checked in by chronos, 6 months ago
  • Modified: Source editor with main menu can't be docked into another form with main menu. Source enditor and Screen have own main menu.
File size: 999 bytes
Line 
1program ByteArray;
2
3uses
4 {$IFDEF UNIX}
5 cthreads, clocale,
6 {$ENDIF}
7 {$IFDEF HASAMIGA}
8 athreads,
9 {$ENDIF}
10 Interfaces, SysUtils,// this includes the LCL widgetset
11 Forms, FormConsole, FormDevice, FormScreen, FormDisassembler,
12 FormAssembler, Cpu, BigInt, Channel, Common.Memory, FrameBuffer, Device,
13 Storage, DeviceMapper, Machine, Disassembler, Instructions, Parser, Message,
14 Assembler, Serial, Mouse, FormSourceEditor, FormMessages, FormMemory,
15 FormStorage, Common, FormSettings, Core, FormDebugger
16 { you can add units after this };
17
18{$R *.res}
19
20{$if declared(UseHeapTrace)}
21const
22 HeapTraceLog = 'heaptrclog.trc';
23{$ENDIF}
24
25begin
26 {$if declared(UseHeapTrace)}
27 // Heap trace
28 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
29 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
30 {$ENDIF}
31
32 RequireDerivedFormResource:=True;
33 Application.Scaled:=True;
34 Application.Initialize;
35 Application.CreateForm(TCore, Core.Core);
36 Application.Run;
37end.
38
Note: See TracBrowser for help on using the repository browser.