Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Jose on April 17, 2004, 04:01:50 AM
-
I found some68k to PPC compilers or translators.Doing a search on Google returns a few hits. Some claim to generate good and efficient code.
But the ones I read about weren't for the Amiga.
Wouldn't that be usefull for the current situation in the Amiga? Is there one already?
A cool one I found was HERE (http://www.microapl.co.uk/Porting/index.html)
Check the PPC version that uses 68k source code.
Offtopic, but I also surprisingly accidentaly found an Amiga port of some 68k compiler listed on Motorola's site by the way...
-
PPC68X0 by Coyote Flux is the thing you are looking for I guess. Dont know how advanced it is yet though,
and I dont know if "PPC68X0" is the exact name, my memory is a bit blurry these days.. :)
-
Wow! That software rocks! :-o Hope it's continued to future PPC OSes.
Anyone used it?
-
Converting m68k asm to PPC asm is generally not worth the effort. The resulting code will be slow, ugly and impossible to maintain.
You're far better off by rewriting the code in C and let C compiler worry about PPC code generation.
-
"..code will be slow, ugly and impossible to maintain"
Well, that's the opposite of what they claim :lol:
Still, maybe it's usefull to have huge assembler sources running, till there's some other port (if it's made at all).
-
When C and C++ introduce unsigned shifts and rotate operators, I'll be a happy man.
Until then, there are certian things I will always do in assembler and keep a seperate C version for compatibility.