On 24/08/2015 11:38, Adam Klobukowski wrote:
I'm very happy that time was taken to make FreeMiNT Coldfire compatibile. Thank you for that. Unfortunately, the way it was done, it is now very hard to read some files (esp. sys/arch/context.S) because there is so many #ifdefs. Maybe it can be split, so we'll have two versions of this file?
When I did that, I thought a lot, and finally I considered that multiple #ifdef was the best solution. This was a safe solution to translate code block step by step to ColdFire. Of course the whole assembler source files are less readable, but fortunately there are only very few assembler sources in FreeMiNT. On the other hand, when there are multiple implementations of functions, they quickly go out of sync, which is a lot worse.
Coldfire does not have dbra???
Unfortunately, as Andreas stated, no. -- Vincent Rivière