That points into the direction of the second explanations, which is a bit what I was afraid of. Assuming the GBA bios does not destroy registers other than input and output, you should check if the compiler has data stored in r1 before it calls fpc_mod_longint, since r1 is destroyed by your implementation of fpc_mod_longint.Originally Posted by Legolas
[quote]Yes, but it should be possible to do better. It might be an idea to check what kind of code is called by the system.pp unit initialization and kick some cruft out. But on the other hand, it's not a big priority at the moment, fast math is much more important.What kind of exe size did you get with smart]
Well, about 30/35 kb instead of 160. That's fine
Bookmarks