Welcome, Guest. Please login or register.

Author Topic: ColdFusion CF4000 prototype Arrives!  (Read 5640 times)

Description:

0 Members and 1 Guest are viewing this topic.

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: ColdFusion CF4000 prototype Arrives!
« Reply #14 on: July 11, 2006, 07:04:08 PM »
@AmigaMance
Quote
Why does a 68k cpu has to emulate a 68k cpu?

Coldfire is not 68k CPU.

Quote
I have read that this is required for some fpu instructions only.

That's not the case.

Anyway, check out the thread about Elbox Dragon compatibility?, it has some discussion about the coldfire emulation issues. As you can see there isn't exactly full consensus about this matter, but as soon as (or if ever) some coldfire accelerator hits the market we will know for sure.
 

Offline Fransexy_

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 317
    • Show only replies by Fransexy_
Re: ColdFusion CF4000 prototype Arrives!
« Reply #15 on: July 11, 2006, 10:44:21 PM »
Quote
Coldfire is not 68k CPU.


From freescale webpage:

Quote
With its architectural relationship to the 68K Family, customers using 68K products should consider a standard ColdFire product as their next solution.  Because the ColdFire processor instruction set is a subset of the 68K Family instruction set, existing 68K customers find that designing with ColdFire microprocessors is a smooth transition.


Sounds to me like a evolution of 68k CPU  :-D

And about compatibility, again from freescale webpage:
Quote
You can find tools such as an automated 68K-to-ColdFire processor converter and an emulation library available


So, i think that you only need a library for compatibility not much more different of 040 and 060 accelerators in which you need a 68040.library to work
DON\'T TAKE LIFE SO SERIOUSLY AFTER ALL NOBODY GETS OUT ALIVE OF IT
 

Offline Fransexy_

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 317
    • Show only replies by Fransexy_
Re: ColdFusion CF4000 prototype Arrives!
« Reply #16 on: July 11, 2006, 10:51:01 PM »
Quote
So, i think that you only need a library for compatibility not much more different of 040 and 060 accelerators in which you need a 68040.library to work


And not much more different of the 64 bit risc AMD chips emulating x86 cisc instructions
DON\'T TAKE LIFE SO SERIOUSLY AFTER ALL NOBODY GETS OUT ALIVE OF IT
 

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: ColdFusion CF4000 prototype Arrives!
« Reply #17 on: July 11, 2006, 10:59:42 PM »
@Fransexy_
Quote
Sounds to me like a evolution of 68k CPU

Nope. It's completely new design, but it took the best aspects of m68k series (easy & logical asm programmability).

Keywords to look for: relationship, subset

It's no 68k CPU. Only later it added more m68k series compatibility, but it still is no m68k.

Quote
And about compatibility, again from freescale webpage:
Quote
You can find tools such as an automated 68K-to-ColdFire processor converter and an emulation library available
So, i think that you only need a library for compatibility not much more different of 040 and 060 accelerators in which you need a 68040.library to work

Wrong. This is automated *source-code* converter.
Emulation library allows you to run usermode code with performance hits (depends on the emulated insruction occurance rate).

And regardless, at supervisor level these CPUs are completely different. You must have full emulation or the board will not be able to run most games and demos.

Further, coldfire accelerator can't work with just something like 680x0.library. The system would never get to point where it could load the library from disk, the CPUs are too different. Basically the emulation would need to be available even before the system begins to execute the Kickstart ROM code.
 

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: ColdFusion CF4000 prototype Arrives!
« Reply #18 on: July 11, 2006, 11:04:55 PM »
Quote
Quote
So, i think that you only need a library for compatibility not much more different of 040 and 060 accelerators in which you need a 68040.library to work

And not much more different of the 64 bit risc AMD chips emulating x86 cisc instructions

Except that these AMD chips actually have full 32bit x86 emulation built-in, and that it is available at the moment the chip is powered up. As the x86 emulation is hardwired to the chip it doesn't involve any exceptions or performance loss. Even in 32bit x86 legacy mode these AMD chips kick serious behind.

Coldfire doesn't have such built-in emulation, and the software emulation involves slow exception traps.
 

Offline _yak_

  • Full Member
  • ***
  • Join Date: Mar 2006
  • Posts: 227
    • Show only replies by _yak_
Re: ColdFusion CF4000 prototype Arrives!
« Reply #19 on: July 12, 2006, 02:56:24 AM »
Piru is right but I would like to hear what Oliver Hannaford-Day, the board designer, have to say about this.
 

Offline Oli_hdTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 912
    • Show only replies by Oli_hd
Re: ColdFusion CF4000 prototype Arrives!
« Reply #20 on: July 12, 2006, 12:27:58 PM »
Quote
Piru is right but I would like to hear what Oliver Hannaford-Day, the board designer, have to say about this.

You rang?

Piru is right, the Coldfire has hardware built in to trap none coldfire compatiable instructions, which it then passes to a software program (if running) which translates it in to a coldfire native version (Like what oxypatcher does for the FPU on 040/060 CPU's) and passes it back to the Coldfire which loads the new instruction inplace of the old one and then continues on with the main program, if it hits another unsupported instruction the process is repeated.
The convertion software is coldfire native and has to be running before an illegal instruction is read, which means it has to be loaded before the kickstart. (Or an AROS coldfire native kickstart needs making)

The last prototype had a flash chip on the board which was designed for this, I want to have a play with a few things so there is no flash chip on this boad, instead there is a large pin header with all the required signals so one can be added later.

Quote
It's no 68k CPU. Only later it added more m68k series compatibility, but it still is no m68k.

It is a member of the same family (Freescale just say 68K/Coldfire now) and the Coldfire CPU always had 68K instructions, but only the most common ones, later Coldfire revisions added more 68K instuctions but yes, its still not a drop in replacement, and wont ever be.

Quote
I have read that this is required for some fpu instructions only.

The FPU in the Coldfire is totally different from the 68K, Freescale dont class it as a floating point unit, just an Emac, which "does" do maths equations but is very different from a 68K FPU.
(There is a true FPU in the V4e though)

Back to the 68K issue, its basically a bite it and see. When the card is done I will have to run a lot of old and new 68K software through it, see how it reacts.
The CPU might get so bogged down emulating 68K instructions that it would be no faster than a 68060.
But even then if it worked well it would still get launced as the price is expected to be very low and the ability to add 512Meg of SD-Ram would still give it an edge. (And any Coldfire native program would run at full speed (3 times that of a 68060))
 

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: ColdFusion CF4000 prototype Arrives!
« Reply #21 on: July 12, 2006, 12:45:40 PM »
@Oli_hd

Indeed, as more and more m68k instructions work without emulation Coldfire gets more feasible. Personally I'm a bit pessimistic about this, but maybe it'll work just fine.

However, how are you going to handle supervisor mode? My understanding is that supervisor mode is completely different in Coldfire, and to emulate m68k supervisor fully you'd need to pretty much have some full blown emulation for it (build compatible stackframes, emulate supervisor instructions etc).
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show only replies by Doobrey
    • http://www.doobreynet.co.uk
Re: ColdFusion CF4000 prototype Arrives!
« Reply #22 on: July 12, 2006, 01:16:22 PM »
Quote
Back to the 68K issue, its basically a bite it and see.


Wouldn't it be easier to take the UAE sources and modify the 68k emulation to emulate the behaviour of the Coldfire to test compatibility and look for problems before doing it for real?
 IMHO, it's a lot easier looking through the uae logfile and debugger than trying to figure out whats going on inside a real 68k during a coldstart (been there, done that, never sent out the T-shirts)

BTW, if you load in your 68k emulation/traps before the kickstart is run, how are you gonna stop the coldstart code from resetting all traps and exception vectors?..or would you add something to make it think it was a warm reset and not a coldboot?

BTW #2, Nice board , who did you get to make it for you?
On schedule, and suing
 

Offline TheMagicM

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2857
    • Show only replies by TheMagicM
    • http://www.BartonekDragRacing.com
Re: ColdFusion CF4000 prototype Arrives!
« Reply #23 on: July 13, 2006, 04:06:55 AM »
or skip the 68k amiga emu/conversion stuff..and run the CF board w/linux  & E-UAE on a A4k.. that would rock.
PowerMac G5 dual 2.0ghz/128meg Radeon/500gb HD/2GB RAM, MorphOS 3.9 registered, user #1900
Powerbook G4 5,6 1.67ghz/2gb RAM, Radeon 9700/250gb hd, MorphOS 3.9 registered #3143
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: ColdFusion CF4000 prototype Arrives!
« Reply #24 on: July 13, 2006, 04:21:52 AM »
"Rock" at the speed of a naked A500........
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: ColdFusion CF4000 prototype Arrives!
« Reply #25 on: July 13, 2006, 07:34:50 AM »
Quote
the Coldfire has hardware built in to trap none coldfire compatiable instructions, which it then passes to a software program (if running) which translates it in to a coldfire native version

Why can't this translation be done with hardware? Wouldn't that be quicker? It would also eliminate the need for the translation software, which would mean the card would work from cold boot.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Oli_hdTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 912
    • Show only replies by Oli_hd
Re: ColdFusion CF4000 prototype Arrives!
« Reply #26 on: July 13, 2006, 09:58:52 AM »
Quote
Why can't this translation be done with hardware? Wouldn't that be quicker? It would also eliminate the need for the translation software, which would mean the card would work from cold boot.

Well it would need to be built into the CPU if it was in hardware.
I guess its cost more than anything, the Coldfire is such a cheap CPU and thats what its designed to be, adding the missing instructions would mean a bigger piece of silicon, which would add to the cost.

Its sad they stopped developing the 68K :(
 

Offline Oli_hdTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 912
    • Show only replies by Oli_hd
Re: ColdFusion CF4000 prototype Arrives!
« Reply #27 on: July 13, 2006, 10:00:11 AM »
Quote
or skip the 68k amiga emu/conversion stuff..and run the CF board w/linux & E-UAE on a A4k.. that would rock.

Actually thats why there isnt a flash chip on this prototype, I do want to give Linux a try.. and AROS if Im up to porting it. (Which at the moment Im not but its something I am working on)
 

Offline fx

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 347
  • Country: se
  • Gender: Male
    • Show only replies by fx
    • UHC Tools
Re: ColdFusion CF4000 prototype Arrives!
« Reply #28 on: July 13, 2006, 01:40:09 PM »
linux and e-uae? then you might aswell get a pc :/
Slightly bored and severly confused..
 

Offline Nautilus

  • Jr. Member
  • **
  • Join Date: Sep 2003
  • Posts: 58
    • Show only replies by Nautilus
    • http://www.multivita.com.br
Re: Not for AmigaOS4...
« Reply #29 from previous page: July 13, 2006, 06:05:30 PM »
It's nice, but it's trully oldware.