Changeset 238 for branches/CpuSingleSize/Machine.pas
- Timestamp:
- Jul 15, 2023, 12:51:15 AM (16 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/CpuSingleSize/Machine.pas
r237 r238 1 unit UMachine;1 unit Machine; 2 2 3 3 interface 4 4 5 5 uses 6 Classes, SysUtils, UCpu, Syncobjs, UMemory, Generics.Collections, Forms;6 Classes, SysUtils, Cpu, Syncobjs, Memory, Generics.Collections, Forms; 7 7 8 8 type … … 34 34 InterruptVector: Integer; 35 35 Form: TFormDevice; 36 destructor Destroy; override; 36 37 procedure PulseInterrupt; 37 38 procedure OutputHandler(Port, Data: TInteger); virtual; … … 250 251 { TDevice } 251 252 253 destructor TDevice.Destroy; 254 begin 255 if Assigned(Form) then FreeAndNil(Form); 256 inherited; 257 end; 258 252 259 procedure TDevice.PulseInterrupt; 253 260 begin … … 497 504 begin 498 505 PowerOff; 506 FreeAndNil(Cpu); 507 FreeAndNil(Memory); 499 508 FreeAndNil(Devices); 500 509 inherited;
Note:
See TracChangeset
for help on using the changeset viewer.