Ignore:
Timestamp:
Feb 18, 2012, 8:02:50 PM (13 years ago)
Author:
chronos
Message:
  • Modified: Renamed classes from Compiler to Target. Interpretter registred as possible and default target.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Target/UTargetInterpretter.pas

    r30 r31  
    66
    77uses
    8   Classes, SysUtils, Dialogs, Forms, StrUtils;
     8  Classes, SysUtils, Dialogs, Forms, StrUtils, UTarget;
    99
    1010type
     
    2828  { TTargetInterpretter }
    2929
    30   TTargetInterpretter = class
     30  TTargetInterpretter = class(TTarget)
    3131  private
    3232    FCellSize: Integer;
     
    6464    procedure Reset;
    6565    procedure SingleStep;
    66     procedure Run;
    67     procedure Pause;
    68     procedure Stop;
     66    procedure Run; override;
     67    procedure Pause; override;
     68    procedure Stop; override;
    6969    constructor Create;
    7070    destructor Destroy; override;
     
    284284constructor TTargetInterpretter.Create;
    285285begin
     286  Name := 'Interpretter';
     287  Capabilities := [tcRun, tcPause, tcStop];
    286288  MemorySize := 30000;
    287289  CellSize := 256;
Note: See TracChangeset for help on using the changeset viewer.