Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A1200/A600 4xIDE Interface

AuthorTopic: 68k to PPC code translators/compilers  (Read 926 times)

0 Members and 1 Guest are viewing this topic.

Offline Jose

68k to PPC code translators/compilers
« 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
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...
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline spotUP

Re: 68k to PPC code translators/compilers
« Reply #1 on: April 17, 2004, 12:41:15 PM »
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.. :)
.\\\\ Spot / Up Rough Soundsystem //.
check it ---> http://www.uprough.net
 

Offline Jose

Re: 68k to PPC code translators/compilers
« Reply #2 on: April 17, 2004, 07:54:17 PM »
Wow! That software rocks! :-o Hope it's continued to future PPC OSes.

Anyone used it?
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
  • Total likes: 0
    • http://www.iki.fi/sintonen/
Re: 68k to PPC code translators/compilers
« Reply #3 on: April 17, 2004, 08:29:43 PM »
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.
 

Offline Jose

Re: 68k to PPC code translators/compilers
« Reply #4 on: April 18, 2004, 10:13:54 PM »
"..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).
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline Karlos

Re: 68k to PPC code translators/compilers
« Reply #5 on: April 22, 2004, 02:12:13 AM »
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.
int p; // A