| 1 | program ByteArray;
|
|---|
| 2 |
|
|---|
| 3 | uses
|
|---|
| 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, Memory, FrameBuffer, Device,
|
|---|
| 13 | Storage, DeviceMapper, Machine, Disassembler, Instructions, Parser, Message,
|
|---|
| 14 | Assembler, Serial, Mouse, FormSourceEditor, FormMessages, FormMemory,
|
|---|
| 15 | FormStorage, Utils, FormSettings, Core, FormDebugger, VarInt, Int
|
|---|
| 16 | { you can add units after this };
|
|---|
| 17 |
|
|---|
| 18 | {$R *.res}
|
|---|
| 19 |
|
|---|
| 20 | {$if declared(UseHeapTrace)}
|
|---|
| 21 | const
|
|---|
| 22 | HeapTraceLog = 'heaptrclog.trc';
|
|---|
| 23 | {$ENDIF}
|
|---|
| 24 |
|
|---|
| 25 | begin
|
|---|
| 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;
|
|---|
| 37 | end.
|
|---|
| 38 |
|
|---|