Micromite eXtreme Firmware V5.03


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 2995
Posted: 12:08am 03 Mar 2017      

  Quote  Can you give some info about how the Cfunction.h file and CFunctions in general are affected with regards the the MMX?


The short answer - they don't work

The longer answer - they can be recompiled to work in most cases but it is a real pain. Using the MZ properly requires using the latest versions of the compiler. The latest versions of the compiler have completely changed how they deal with position independent code such that it isn't usable for CFunctions. The earlier versions of the compiler don't know about the MZ registers. Floating point appears to be pretty much impossible.

I've attached the version of CFunctions.h which I've used with the MZ

I can't easily port bitbanger as it uses floats but I'll put it on the "to-do" list

2017-03-03_100544_MZCFunctions.zip