|
Last change
on this file was 197, checked in by chronos, 6 years ago |
- Modified: All parts of virtual machine have own form in Forms subdirectory.
- Modified: Main form moved to Forms subdirectory.
- Modified: TCpu class moved to UCpu unit.
- Added: Assembler and dissasembler forms.
|
|
File size:
439 bytes
|
| Line | |
|---|
| 1 | program virtcpu;
|
|---|
| 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, UMachine, UInstructionWriter, UVarInt
|
|---|
| 11 | { you can add units after this },
|
|---|
| 12 | UFormMain, UCpu;
|
|---|
| 13 |
|
|---|
| 14 | {$R *.res}
|
|---|
| 15 |
|
|---|
| 16 | begin
|
|---|
| 17 | RequireDerivedFormResource := True;
|
|---|
| 18 | Application.Initialize;
|
|---|
| 19 | Application.CreateForm(TFormMain, FormMain);
|
|---|
| 20 | Application.Run;
|
|---|
| 21 | end.
|
|---|
| 22 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.