MATH.H library error

Page 2/2
1 |

By MicroTech

Champion (386)

MicroTech's picture

19-06-2018, 10:14

Calibrating CF parameters for each C file in your project like a craftsman can be a solution... but cannot make miracles.
MSX CF has limited possibilities compared to PC compilers, even considering Borland Turbo C 1.0 (which is in my opinion one of the best tools).
I gradually commented away all prototypes not needed from included header files, and also reducing labels length can be of help.

I presume sin and cos are not the fastest thing on MSX, maybe you could consider using some tricky workaround to avoid using trigonometric functions... or precalculate a sin/cos table with all values you'll need.

Page 2/2
1 |