Changeset 220 for branches/CpuSingleSize/UCore.pas
- Timestamp:
- Oct 20, 2020, 1:10:09 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CpuSingleSize/UCore.pas
r216 r220 16 16 AHelp: TAction; 17 17 ADisassembler: TAction; 18 AConsole: TAction;19 18 ACpu: TAction; 20 A Screen: TAction;19 ADevices: TAction; 21 20 ARunToCursor: TAction; 22 21 AStop: TAction; … … 31 30 ImageList1: TImageList; 32 31 procedure ACompileExecute(Sender: TObject); 33 procedure AConsoleExecute(Sender: TObject);34 32 procedure ACpuExecute(Sender: TObject); 33 procedure ADevicesExecute(Sender: TObject); 35 34 procedure ADisassemblerExecute(Sender: TObject); 36 35 procedure AExitExecute(Sender: TObject); 37 36 procedure AHelpExecute(Sender: TObject); 38 37 procedure ARunExecute(Sender: TObject); 39 procedure AScreenExecute(Sender: TObject);40 38 procedure AStopExecute(Sender: TObject); 41 39 procedure DataModuleCreate(Sender: TObject); … … 60 58 uses 61 59 UFormScreen, UFormCpu, UFormAssembler, UFormConsole, UFormHelp, 62 UFormDisassembler, UFormMessages ;60 UFormDisassembler, UFormMessages, UFormDevices; 63 61 64 62 { TCore } … … 78 76 ACompile.Execute; 79 77 Machine.PowerOn; 80 end;81 82 procedure TCore.AScreenExecute(Sender: TObject);83 begin84 FormScreen.Screen := Machine.Screen;85 FormScreen.Show;86 78 end; 87 79 … … 120 112 end; 121 113 122 procedure TCore.AConsoleExecute(Sender: TObject);123 begin124 FormConsole.Console := Machine.Console;125 FormConsole.Show;126 end;127 128 114 procedure TCore.ACpuExecute(Sender: TObject); 129 115 begin 130 116 FormCpu.Cpu := Machine.Cpu; 131 117 FormCpu.Show; 118 end; 119 120 procedure TCore.ADevicesExecute(Sender: TObject); 121 begin 122 FormDevices.Devices := Machine.Devices; 123 FormDevices.Show; 132 124 end; 133 125
Note:
See TracChangeset
for help on using the changeset viewer.