84
numerical constants. DSTIM.BAS previously assigned the values P = 351 and Q = 12498510 offline, with Q being different than in equation (5) in order to have the units of the coordinates come out in rads (1 rad = 770 mm).
The next four equations, used in calculating the
normalized stimulus angle, are taken from equations (8),
(9), (13), and (16) in section 2.2.2 and in BASIC nomenclature are respectively
(23) W = (S-U)/(V-T)
(24) X (T+V-W*(S+U))/A
(25) Y = SQR(W*W-X*X+N)
(26) T = ATN((X+W*Y) /(Y-X*W))
Again, the definitions of variables might change in each equation, but they can be ascertained by comparing these equations with those they are taken from. The two variables, A and N, were equated to the numerical constants, 2 and 1 respectively, by DSTIM.BAS. The normalized stimulus angle, T, is expressed in units of radians by the arctan ROM routine, ATN.
The last two equations, used in calculating the initial position correction offset and actual stimulus angle, are taken from equations (17) and (18) in section 2.2.2 and in BASIC nomenclature are respectively
(27) C = C-G*T
(28) T = G*T+C
When EQRUN.MLP is entered for the first time in a given
..