Welcome, Guest. Please login or register.

Author Topic: Coldfire - Binary Compatible  (Read 21711 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline hbarcellosTopic starter

  • Sr. Member
  • ****
  • Join Date: May 2006
  • Posts: 426
  • Country: 00
    • Show only replies by hbarcellos
Coldfire - Binary Compatible
« on: January 29, 2008, 08:56:04 PM »
Look what I just found at wikipedia:

"Newer models of ColdFire are compatible enough with 68k processors that it is now possible to create binary compatible Amiga clones. The Debian project is currently working on making its m68k port compatible with the ColdFires[1], as there are ColdFire models that are much faster than the 68060. They can be clocked as high as 300MHz, compared with 60MHz for a 68060 (the fastest "real" m68k processor) without overclocking."

Anyway, why Freescale didn't kept binary compatibility?
and... If that's true, is possible to design some newer boards with 300mhz Coldfires?

Regards,

}~ A1200 - Apollo 68040 - HOTLY running OS 3.1
}~ Powerbook G4 1.67 running MorphOS 3.2 without Wifi.
}~ Powermac Quicksilver 933 with Radeon 9600 XT (r300) LOUDLY running MorphOS 3.2
}~ [MY iOS GAME]: http://goo.gl/S9nWB (Amiga users can get it FREE[/color], just ask me)
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show only replies by xeron
    • http://www.petergordon.org.uk
Re: Coldfire - Binary Compatible
« Reply #1 on: January 29, 2008, 09:03:54 PM »
Sounds like BS to me.
Playstation Network ID: xeron6
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: Coldfire - Binary Compatible
« Reply #2 on: January 29, 2008, 09:24:03 PM »
It would've been nice for Motorola to have implemented a compatibility option where every changed opcode triggered an exception, so some piece of software could take care of emulation.

Unfortunately we're not in the right timeline for this to have happened... :cry:
 

Offline alexh

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 3645
    • Show only replies by alexh
    • http://thalion.atari.org
Re: Coldfire - Binary Compatible
« Reply #3 on: January 29, 2008, 09:30:23 PM »
I think the opcodes which are not the same are not commonly used in embedded systems which is where the coldfire is targetted.

They ARE binary compatible to a point, each of the affected opcodes can trigger an interrupt and run emulated routines.
 

Offline Krusher

  • Sr. Member
  • ****
  • Join Date: May 2003
  • Posts: 450
    • Show only replies by Krusher
Re: Coldfire - Binary Compatible
« Reply #4 on: January 29, 2008, 09:36:32 PM »
Compatible enough as in not 100% compatible, so expect things to not work.

Wake me up when Coldfire is 100% compatible.
 

Offline ematech

  • Newbie
  • *
  • Join Date: Apr 2006
  • Posts: 33
    • Show only replies by ematech
Re: Coldfire - Binary Compatible
« Reply #5 on: January 29, 2008, 09:39:31 PM »
http://www.motorola.com/semiconductors





i think we need a coldfireMCF5407.library
Amiga 1200 + Blizzard 1230 50 Mhz + 32mb ram + HD 250 MB + Pcmcia card with compact flash 256.

Amiga 2000 + over the top 040 + oktagon 2008 + tandem cd + Toccata 16 + Picasso II + kick 3.1

Commodore 64 + 1541 + 1541 II + Action replay MK IV
Com...
 

Offline Plaz

Re: Coldfire - Binary Compatible
« Reply #6 on: January 29, 2008, 09:48:19 PM »
Coldfire and 68K are about 99.8% code compatible. That's been the case from the start, Freescale didn't change it. There are two problems to solve with a coldfire card for Amiga.

#1 There are instructions in the 68k that are also legal on the coldfire... but they do a different type operation. It would be better if these instuctions were excluded on the coldfire all together. That way you could trap them with an illegal op exception and direct the code to a lib that would do a compatible operation in software instead. Many missing instructions are handled this way with current methods. The trouble comes in dealing with the "alien" instructions that do exist and can't be trapped.  Some have suggested a JIT compiler method to intercept every binary code and process it. But that would require lots more code, probably more hardware and sap the speed of the coldfire down to an estimated 060/50 at best. It's a challenging problem that no one (that we know of) has solved yet.

#2 is the IO architecture. Only certain coldfire models support the necessary input/output options to interface well with the Amiga system. Hardware designs would have to be worked out to deal with the motherboard/buss interfaces.


There might be an Option #3.....
Use this instead.... http://www.innovasic.com/fido.htm
as suggested in this thread....

FIDO 1100 MPU

If this CPU executes every included instuction like a 68k, then missing instructions can be handled in software.

Plaz
 

Offline rkauer

  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 3263
    • Show only replies by rkauer
Re: Coldfire - Binary Compatible
« Reply #7 on: January 29, 2008, 09:50:07 PM »
 The Coldfire project (from Oliver, also around here in A.org) is stopped due the incompatibilities of the Coldfire versus a true 68k.

 Also one note: 2.1 MIPS???? Check the source where you copy'n'paste before throw us that garbage!
Goodbye people.

I\'ll pop on from time to time, RL is acting up.
 

Offline alexh

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 3645
    • Show only replies by alexh
    • http://thalion.atari.org
Re: Coldfire - Binary Compatible
« Reply #8 on: January 29, 2008, 09:51:07 PM »
Looking at the Fido thing, it's not 68k I/O compatible.

I wish that ematech guy would stop cutting and pasting all over the forums... a link would suffice.
 

  • Guest
Re: Coldfire - Binary Compatible
« Reply #9 on: January 29, 2008, 11:09:25 PM »
Anyways, with Tobias's TG68 and FPGAs getting better and better, soon we will be able to run a virtual 68060 at 250MHz or more using simple programmable logic chips.

We can already run the 68000 at nearly 100MHz using cheap FPGAs.
 

Offline JimS

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1155
    • Show only replies by JimS
Re: Coldfire - Binary Compatible
« Reply #10 on: January 29, 2008, 11:29:58 PM »
How about a program that scans an Amiga binary, replacing the questionable opcodes with calls to a library?
Obsolescence is futile. You will be emulated. - Amigus of Borg
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: Coldfire - Binary Compatible
« Reply #11 on: January 29, 2008, 11:42:48 PM »
@JimS

Data and code is not splitted in 68k code so that's probably not an easy task and that's the reason JITs exist.
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Coldfire - Binary Compatible
« Reply #12 on: January 29, 2008, 11:54:41 PM »
Many (if not most) of these ideas have been discussed in the past threads. They're worth checking out, too.
 

Offline rkauer

  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 3263
    • Show only replies by rkauer
Re: Coldfire - Binary Compatible
« Reply #13 on: January 30, 2008, 12:24:47 AM »
Quote

hbarcellos wrote:
Look what I just found at wikipedia:

"Newer models of ColdFire are compatible enough with 68k processors that it is now possible to create binary compatible Amiga clones... --zip--


:horse:
Goodbye people.

I\'ll pop on from time to time, RL is acting up.
 

Offline hbarcellosTopic starter

  • Sr. Member
  • ****
  • Join Date: May 2006
  • Posts: 426
  • Country: 00
    • Show only replies by hbarcellos
Re: Coldfire - Binary Compatible
« Reply #14 on: January 30, 2008, 02:06:30 AM »
In my rumble opinion, FPGA is emulation. You code something generic to act like the real thing.
Makes no difference to me to take a x86 laptop with amithlon and TVOUT or a fpga "One chip Amiga".
}~ A1200 - Apollo 68040 - HOTLY running OS 3.1
}~ Powerbook G4 1.67 running MorphOS 3.2 without Wifi.
}~ Powermac Quicksilver 933 with Radeon 9600 XT (r300) LOUDLY running MorphOS 3.2
}~ [MY iOS GAME]: http://goo.gl/S9nWB (Amiga users can get it FREE[/color], just ask me)