[comp.sys.atari.st] FILEL * * A

STRUNK@DBNUAMA1.BITNET (09/29/87)

Date: 29 September 1987, 00:01:43 SET
From: STRUNK   at DBNUAMA1
To:   INFO-ATARI16 at SCORE.STANFORD
Subject: Lattice C 3.04.01 Bug fix

    There is (at least) one bug in the new improved fp library:
The routines CXA55 and CXS55 (fp add and sub) sometimes modify the
68000 register A1. This may cause bus errors etc. if register a1
contained information used later on. The fix saves register A1 for
these two routines.

    One can patch this in fplib.bin, sector 55, bytes 483ff as follows:

    old                      new
48E73F00 6100001A       48E73F40 6100001A
                              $$
4CDF00FC 4E75           4CDF02FC 4E75
                            $$
48E73F00 61000008       48E73F40 61000008
                              $$
4CDF00FC 4E75           4CDF02FC 4E75
                            $$


My version of the compiler is some weeks old, so maybe yours doesn't
have the bug any longer.

Christoph Strunk (STRUNK@DBNUAMA1.BITNET)