6 AsmGridClass
, ExceptionViewClass
, HardwareClass
, StackViewClass
,
8 Forms
, Classes
, Controls
, Grids
, Menus
;
11 TViewFPU
= class(TForm
)
12 DESIGN_pAsmGrid
: TStringGrid
;
13 DESIGN_pStackView
: TStringGrid
;
14 DESIGN_pExceptionView
: TStringGrid
;
16 pApplication
: TMenuItem
;
18 procedure FormCreate(Sender
: TObject
);
22 pStackView
: TStackView
;
24 pExceptionView
: TExceptionView
;
26 { Public declarations }
36 procedure TViewFPU
.FormCreate(Sender
: TObject
);
38 pHardware
:= THardware
.Create
;
39 pStepping
:= TStepping
.Create
;
40 pStepping
.Hardware
:= pHardware
;
41 pAsmGrid
:= TAsmGrid
.CreateGrid(Self
, pStepping
);
45 Left
:= DESIGN_pAsmGrid
.Left
;
46 Top
:= DESIGN_pAsmGrid
.Top
;
47 Width
:= DESIGN_pAsmGrid
.Width
;
48 Height
:= DESIGN_pAsmGrid
.Height
;
50 pStackView
:= TStackView
.CreateStackView(Self
, pHardware
);
54 Left
:= DESIGN_pStackView
.Left
;
55 Top
:= DESIGN_pStackView
.Top
;
56 Width
:= DESIGN_pStackView
.Width
;
57 Height
:= DESIGN_pStackView
.Height
;
59 pExceptionView
:= TExceptionView
.CreateExceptionView(Self
, pHardware
);
60 with pExceptionView
do
63 Left
:= DESIGN_pExceptionView
.Left
;
64 Top
:= DESIGN_pExceptionView
.Top
;
65 Width
:= DESIGN_pExceptionView
.Width
;
66 Height
:= DESIGN_pExceptionView
.Height
;