Changeset 152 for trunk/Forms


Ignore:
Timestamp:
Jun 6, 2024, 9:10:15 PM (5 months ago)
Author:
chronos
Message:
  • Fixed: A typo in interpreter target name.
Location:
trunk/Forms
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormCPU.pas

    r149 r152  
    3232
    3333uses
    34   Core, TargetInterpretter;
     34  Core, TargetInterpreter;
    3535
    3636{$R *.lfm}
     
    4343procedure TFormCPU.Reload;
    4444begin
    45   if Core.Core.CurrentTarget is TTargetInterpretter then
    46   with TTargetInterpretter(Core.Core.CurrentTarget) do begin
     45  if Core.Core.CurrentTarget is TTargetInterpreter then
     46  with TTargetInterpreter(Core.Core.CurrentTarget) do begin
    4747    LabelProgramPointer.Caption := IntToStr(ProgramIndex);
    4848    LabelMemoryPointer.Caption := IntToStr(MemoryPosition);
  • trunk/Forms/FormInput.pas

    r149 r152  
    2323
    2424uses
    25   Core, TargetInterpretter;
     25  Core, TargetInterpreter;
    2626
    2727procedure TFormInput.MemoInputKeyPress(Sender: TObject; var Key: char);
    2828begin
    29   if Core.Core.CurrentTarget is TTargetInterpretter then
    30   with TTargetInterpretter(Core.Core.CurrentTarget) do
     29  if Core.Core.CurrentTarget is TTargetInterpreter then
     30  with TTargetInterpreter(Core.Core.CurrentTarget) do
    3131    Input := Input + Key;
    3232end;
  • trunk/Forms/FormMain.pas

    r149 r152  
    136136    procedure AShowTargetPositionExecute(Sender: TObject);
    137137    procedure AViewCompilersExecute(Sender: TObject);
    138     procedure AViewInterpretterExecute(Sender: TObject);
     138    procedure AViewInterpreterExecute(Sender: TObject);
    139139    procedure AViewLogExecute(Sender: TObject);
    140140    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
     
    176176
    177177uses
    178   Core, TargetInterpretter, BFTarget, Common, FormAbout;
     178  Core, TargetInterpreter, BFTarget, Common, FormAbout;
    179179
    180180resourcestring
     
    403403procedure TFormMain.AProgramRunExecute(Sender: TObject);
    404404begin
    405   if Core.Core.CurrentTarget is TTargetInterpretter then
    406     TTargetInterpretter(Core.Core.CurrentTarget).Input := FormInput.MemoInput.Lines.Text;
     405  if Core.Core.CurrentTarget is TTargetInterpreter then
     406    TTargetInterpreter(Core.Core.CurrentTarget).Input := FormInput.MemoInput.Lines.Text;
    407407  if not Core.Core.CurrentTarget.Compiled then AProgramCompile.Execute;
    408408  Core.Core.CurrentTarget.Run;
     
    442442end;
    443443
    444 procedure TFormMain.AViewInterpretterExecute(Sender: TObject);
     444procedure TFormMain.AViewInterpreterExecute(Sender: TObject);
    445445begin
    446446  FormCPU.Show;
  • trunk/Forms/FormMemory.pas

    r149 r152  
    2828
    2929uses
    30   Core, TargetInterpretter;
     30  Core, TargetInterpreter;
    3131
    3232{ TFormMemory }
     
    3434procedure TFormMemory.Reload;
    3535begin
    36   if Core.Core.CurrentTarget is TTargetInterpretter then
    37   with TTargetInterpretter(Core.Core.CurrentTarget) do begin
     36  if Core.Core.CurrentTarget is TTargetInterpreter then
     37  with TTargetInterpreter(Core.Core.CurrentTarget) do begin
    3838    if MemoryChanged then begin
    3939      MemoryChanged := False;
     
    5151  Address: Integer;
    5252begin
    53   if Core.Core.CurrentTarget is TTargetInterpretter then
    54   with TTargetInterpretter(Core.Core.CurrentTarget) do
     53  if Core.Core.CurrentTarget is TTargetInterpreter then
     54  with TTargetInterpreter(Core.Core.CurrentTarget) do
    5555  if (Item.Index >= 0) and (Item.Index <= Trunc((MemoryMaxUsedAddr + 1) / RowSize)) then begin
    5656    Item.Caption := IntToHex(Item.Index * RowSize, 8);
  • trunk/Forms/FormOutput.pas

    r149 r152  
    2424
    2525uses
    26   Core, TargetInterpretter;
     26  Core, TargetInterpreter;
    2727
    2828{ TFormOutput }
     
    3030procedure TFormOutput.Reload;
    3131begin
    32   if Core.Core.CurrentTarget is TTargetInterpretter then
    33   with TTargetInterpretter(Core.Core.CurrentTarget) do begin
     32  if Core.Core.CurrentTarget is TTargetInterpreter then
     33  with TTargetInterpreter(Core.Core.CurrentTarget) do begin
    3434    if OutputChanged then begin
    3535      OutputChanged := False;
Note: See TracChangeset for help on using the changeset viewer.