Welcome, Guest. Please login or register.

Author Topic: Coldfire status  (Read 8520 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show all replies
    • http://www.doobreynet.co.uk
Re: Coldfire status
« on: May 11, 2006, 09:44:12 PM »
Quote

motorollin wrote:
 Looks like there are some essential missing instructions in the Coldfire CPU which means 68k compatibility won't be possible without emulation (=UAE) :-(


Not necessarily.
If the missing instructions can be caught with the illegal instruction trap then only those instructions will have to be emulated (just like the 040/060 libs do for the missing FPU instructions)
 The real bugger will be if there's any instructions that aren't 100% identical in use to the 68k versions.
On schedule, and suing
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show all replies
    • http://www.doobreynet.co.uk
Re: Coldfire status
« Reply #1 on: May 12, 2006, 08:44:11 PM »
Quote

jdiffend wrote:

There are ways around all the software problems, but to do this would require a new Amiga exec.library since it executes illegal (on the coldfire) instructions early in the startup code.  It's so early that it crashes before it could even transfer to an expansion ROM (actually, it happens *while* it's checking for one).


I was gonna jump in and say something like ' Easy, override the ROM on a reset with one that inits the coldfire and then go back to the standard kickstart once the traps are setup'

But then the coldstart in exec resets all traps/exceptions to the ones in ROM. So that's the simple trap method up the creek  :-x

I thought Piru was mad for suggesting a full 68k emulation, but now I see the light.

Quote

If someone had access to the Amiga ROM sources this wouldn't be a bad project.  Without that you have to reverse engineer things, fix them, etc...


Pffff.. having the sources takes all the fun out of it :crazy:
On schedule, and suing
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show all replies
    • http://www.doobreynet.co.uk
Re: Coldfire status
« Reply #2 on: May 12, 2006, 09:30:16 PM »
Quote

Piru wrote:
Checksums would also be a problem (just try running xvs.library or elbox drivers when the code has been modified, for example).

 :lol:
On schedule, and suing
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show all replies
    • http://www.doobreynet.co.uk
Re: Coldfire status
« Reply #3 on: May 12, 2006, 10:19:20 PM »
@motorollin,
 'Cos it'd mean trying to make a deal with Amiga Inc to get a license and the sources?(IIRC, they don't have the sources to 3.5+3.9 so patching that could be another problem)

On schedule, and suing