Last change
on this file was 215, checked in by chronos, 4 years ago |
- Added: TMachine class which contains CPU and peripherals.
- Added: Execute TCpu inside background thread.
|
File size:
419 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, UFormMain, UCpu, UInstructionWriter, UMachine
|
---|
11 | { you can add units after this };
|
---|
12 |
|
---|
13 | {$R *.res}
|
---|
14 |
|
---|
15 | begin
|
---|
16 | RequireDerivedFormResource:=True;
|
---|
17 | Application.Initialize;
|
---|
18 | Application.CreateForm(TForm1, Form1);
|
---|
19 | Application.Run;
|
---|
20 | end.
|
---|
21 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.