5 EXTRN C kx:word, C ky:word, C kz:word
\r
6 EXTRN C dis:word, C tx:word, C ty:word
\r
7 EXTRN C ls_kx:word, C ls_ky:word, C ls_kz:word
\r
16 LABEL splinecoef WORD
\r
17 INCLUDE "spline.inc"
\r
32 ;ds:si=pointer to spline
\r
33 ;di=position in spline, add 256 for next point
\r
44 mov ax,ds:[si+3*2*8+ccc]
\r
45 imul cs:splinecoef[di]
\r
48 mov ax,ds:[si+2*2*8+ccc]
\r
49 imul cs:splinecoef[di+64*8]
\r
52 mov ax,ds:[si+1*2*8+ccc]
\r
53 imul cs:splinecoef[di+128*8]
\r
56 mov ax,ds:[si+0*2*8+ccc]
\r
57 imul cs:splinecoef[di+192*8]
\r