fp emulation in microport DOS MERGE
Michael Grenier
mike at cimcor.MN.ORG
Mon Jan 8 03:09:00 AEST 1990
>From article <1990Jan6.230548.23780 at ddsw1.MCS.COM>, by nvk at ddsw1.MCS.COM (Norman Kohn):
% Microport's dos merge kernel seems to have some problem with
% 80387 emulation. On a machine with no math coprocessor the code
% #define MATHTYPE int
% main()
% {
% MATHTYPE x;int j;
% j=2;
% x=(MATHTYPE) j;
% j=(int) x;
% printf("%d\n",j);
% }
% fails (produces results of 0) if MATHTYPE is float or double.
% sdb confirms that the conversions are failing.
% This may suggest why awk, which uses floating point heavily, gets very confused
% under DOSMERGE.
Strange, the above code worked fine on this machine. The previously
posted awk script also ran fine on this 386 DosMerge Kernel
without an FP. I strongly suggest a CPU board problem is
at fault here.
-Mike Grenier
mike at cimcor.mn.org
More information about the Comp.unix.microport
mailing list