Originally Posted by
Legolas
Seems like the executable goes in a bad kind of loop, because I have noticed a loss of frame rate on the emulator (working executable runs at 100%, bad one runs at 70%).
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.
Bookmarks