Welcome, Guest. Please login or register.

Author Topic: MiniMig with AGA  (Read 315390 times)

Description:

0 Members and 10 Guests are viewing this topic.

Offline MskoDestny

  • Sr. Member
  • ****
  • Join Date: Oct 2004
  • Posts: 363
    • Show only replies by MskoDestny
    • http://www.retrodev.com
Re: MiniMig with AGA
« Reply #74 on: February 24, 2010, 03:30:50 PM »
Quote from: Dr_Righteous;544873
Um, y'all do know that the v3 and higher coldfire chips are faster and cheaper than all of those 68Ks, and can translate whichever core you want to use just by changing out the library you use in the boot ROM, right?

It's been a long time since I last looked at this, but the v3 isn't fully compatible even with the emulation library for missing instructions (for instance, I believe it only has a single stack pointer whereas the 68K has separate stack pointers for system and user mode). v4e + the emulation traps is probably close enough for most things though.

That said,  emulating instructions via traps is expensive, especially on moderned pipelined architectures like ColdFire. I haven't seen any solid numbers on what the performance hit is, but from the impressions I get it's substantial enough to wipe out most if not all of the performance gains over a 68060 and maybe even less powerful members of the 68K family. If AROS had a working Amiga 68K port, it might make more sense. Then at least the OS and libraries could all be compiled for native Coldfire and only legacy apps would end up triggering the traps. The Atari folks are working on some hardware that would be suitable for a ColdFire based Amiga clone: http://acp.atari.org/ It looks like it has a fairly large FPGA so I imagine it should have plenty of room for an AGA implementation, TG68 core for a compatibility mode and whatever extra features one might like to add.

Of course, if I understand some screenshots made by Tobias from the thread linked earlier, it seems that TG68 can beat out an 030 just by virtue of being clocked so much higher. It would seem that with a more modern design (TG68 is designed to be cycle accurate to a 68000 for most byte and word width instructions from what I understand) smoking a 68060 in a reasonably attainable FPGA should be quite possible.
 

Offline kolla

Re: MiniMig with AGA
« Reply #75 on: February 24, 2010, 03:34:36 PM »
Quote from: Dr_Righteous;544873
Um, y'all do know that the v3 and higher coldfire chips are faster and cheaper than all of those 68Ks


Not quite true, the cheapest coldfires are still twice the price of the typical 68000s.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline Dr_Righteous

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1345
    • Show only replies by Dr_Righteous
Re: MiniMig with AGA
« Reply #76 on: February 24, 2010, 03:56:20 PM »
@kolla - No, the original purpose of the minimig was an A4000 clone, but Dennis had to start somewhere. Besides I was responding to the 020 and 030 posts. A MCF5407CAI220 is about US$26, vs $40-65 for the 020 or 030.

@MskoDestny - ...and at 220MHz I seriously doubt those traps would slow it down enough to even notice. The remainder of the coldfire's core is still 68K instruction compatable. The benefit I see is being able to select the CPU you want to emulate for maximum compatability and performance. Hell, make it a menu in the boot ROM. Before you load the library, select the CPU for this session.
« Last Edit: February 24, 2010, 03:58:27 PM by Dr_Righteous »
- Doc

A4000D, A3640 OC-36.3MHz, custom tower, Mediator A4000D. Diamond Banshee 16M, Indivision AGA 4000, GVP HC+8.

Mac Mini 1.5GHz, that might run MorphOS someday, when the fools who own it come to the realization that 30 minutes just isn\'t enough time to play with it enough to decide whether or not you like it enough to cough up $200.

 - Someone please design SOME kind of DIY accelerator for the A4000. :D -
 

Offline kolla

Re: MiniMig with AGA
« Reply #77 on: February 24, 2010, 04:04:18 PM »
Who am I to argue with Dr Righteous  :rolleyes:
« Last Edit: February 24, 2010, 04:06:54 PM by kolla »
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline countzero

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 1938
    • Show only replies by countzero
    • http://blog.coze.org
Re: MiniMig with AGA
« Reply #78 on: February 24, 2010, 04:04:25 PM »
Quote from: Dr_Righteous;544886
@kolla - No, the original purpose of the minimig was an A4000 clone, but Dennis had to start somewhere.

you're making this up. MiniMig was intended to be a A500 clone, nothing more, nothing less.

http://www.techtravels.org/amiga/minimig/weeren001/minimig.html

Quote
@MskoDestny - ...and at 220MHz I seriously doubt those traps would slow it down enough to even notice. The remainder of the coldfire's core is still 68K instruction compatable. The benefit I see is being able to select the CPU you want to emulate for maximum compatability and performance. Hell, make it a menu in the boot ROM. Before you load the library, select the CPU for this session.
Coldfire route had been taken before, and it ended in disaster. Not much sense in discovering the wheel again. But of course you're free to make your own coldfire based board and put the world to shame :afro:
I believe in mt. Fuji
 

Offline MskoDestny

  • Sr. Member
  • ****
  • Join Date: Oct 2004
  • Posts: 363
    • Show only replies by MskoDestny
    • http://www.retrodev.com
Re: MiniMig with AGA
« Reply #79 on: February 24, 2010, 04:41:35 PM »
Quote from: Dr_Righteous;544886

@MskoDestny - ...and at 220MHz I seriously doubt those traps would slow it down enough to even notice. The remainder of the coldfire's core is still 68K instruction compatable.

I think you greatly underestimate the cost of all those traps. There are a number of commonly used 68K instructions and addressing modes that ColdFire doesn't support even in the v4e version. Something as simple as add.w would need to be emulated with a trap (ColdFire only supports the 32-bit add.l natively). It will take several cycles to just branch to the trap and then you'll need several instructions to emulate the unimplemented instruction.

When you compile natively for Coldfire, a 220MHz v4e will handily beat even the fastest 68060, but code compiled for the 68K family will run substantially slower. Again, I don't have actual numbers, but at least one person said the performance was similar to a fast 030 or maybe an 040 when running typical Amiga software: http://bbrv.blogspot.com/2008/03/coldfire-developer-program-begins.html (see the second comment or so).

Quote from: Dr_Righteous;544886
The benefit I see is being able to select the CPU you want to emulate for maximum compatability and performance. Hell, make it a menu in the boot ROM. Before you load the library, select the CPU for this session.

This isn't really a big deal. These libraries implement the missing instructions, but they don't deal with other sources of incompatibility (cache, 24-bit vs 32-bit addressing, etc.). If a piece of software won't run on a 68040 or 68060 equipped Amiga it won't run on ColdFire either. The only reason there are multiple versions of the emulation is that there is no point taking up ROM space to implement instructions your software is never going to use. Beyond that, there is no benefit not implementing some of the 68K family instructions.
 

Offline desiv

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1270
    • Show only replies by desiv
Re: MiniMig with AGA
« Reply #80 on: February 24, 2010, 05:18:42 PM »
Quote from: countzero;544889
you're making this up. MiniMig was intended to be a A500 clone, nothing more, nothing less.
http://www.techtravels.org/amiga/minimig/weeren001/minimig.html

That article doesn't mention his "original intentions", just that he first built the minimig as an A500 clone.  He still "could" have intended it to be a 4000, but changed his mind early in development when he considered the complexity...  
BUT...  I wasn't satisfied with "could"..  So I knew the Interwebs would help me..  and they did!  This quote agrees with countzero (great name btw..):

Quote
This pretty much means that I've completed my initial goal, recreate a console-like A500 to play games on my TV.
From here:  http://eab.abime.net/archive/index.php/t-27708.html

Yes, this is a mostly useless post, but I'm delaying some bash scripting work a few minutes and needed a distraction.. :-)

desiv
Amiga 1200 w/ ACA1230/28 - 4G CF, MAS Player, ext floppy, and 1084S.
Amiga 500 w/ 2M CHIP and 8M FAST RAM, DCTV, AEHD floppy, and 1084S.
Amiga 1000 w/ 4M FAST RAM, DUAL CF hard drives, external floppy.
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: MiniMig with AGA
« Reply #81 on: February 24, 2010, 05:26:24 PM »
Denis stated very clearly on these very forums that MiniMig was never intended to be anything more than an Amiga500 clone. That is the Amiga he had and wanted to emulate using an FPGA. A quick look at the hardware shows that the design had always intended 12bit gfx and a 68000, both unable to support AGA.

Offline Dr_Righteous

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1345
    • Show only replies by Dr_Righteous
Re: MiniMig with AGA
« Reply #82 on: February 24, 2010, 05:48:58 PM »
Well that may or may not have been his original intentions. I'll conceed that point. But I DO clearly remember it was most people's intentions to take the concept well beyond A500.

Be it a v4 Coldfire or TG68 in a rubber burnin' FPGA, AGA is coming and we'll need more power than that 68000 in the v1.1.
- Doc

A4000D, A3640 OC-36.3MHz, custom tower, Mediator A4000D. Diamond Banshee 16M, Indivision AGA 4000, GVP HC+8.

Mac Mini 1.5GHz, that might run MorphOS someday, when the fools who own it come to the realization that 30 minutes just isn\'t enough time to play with it enough to decide whether or not you like it enough to cough up $200.

 - Someone please design SOME kind of DIY accelerator for the A4000. :D -
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: MiniMig with AGA
« Reply #83 on: February 24, 2010, 06:02:40 PM »
Quote from: Dr_Righteous;544873
Um, y'all do know that the v3 and higher coldfire chips are faster and cheaper than all of those 68Ks, and can translate whichever core you want to use just by changing out the library you use in the boot ROM, right?

Wrong.  They are completely incompatible.  This has been covered.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline trekiej

Re: MiniMig with AGA
« Reply #84 on: February 24, 2010, 06:13:11 PM »
Isn't the V4 or V5 that was supposed to be 68K compatible?
Amiga 2000 Forever :)
Welcome to the Planar System.
 

Offline Linde

  • Sr. Member
  • ****
  • Join Date: Mar 2004
  • Posts: 457
    • Show only replies by Linde
    • http://hata.zor.org/
Re: MiniMig with AGA
« Reply #85 on: February 24, 2010, 06:23:54 PM »
Quote from: tasmanian guy;544786
Sign me up for one as well as long as it was under $300AUD (around $280US), if possible.


Last I heard, Mike was aiming for "(much) less" than €200, so your price requirement gives some room for miscalculations.
 

Offline Belial6

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 568
    • Show only replies by Belial6
    • http://www.glasshead.net
Re: MiniMig with AGA
« Reply #86 on: February 24, 2010, 07:08:47 PM »
Not to mimic the "Forget hardware, just run UAE" crowd, but why would we want to use a hard wired processor when we can use an FPGA?
 

Offline Linde

  • Sr. Member
  • ****
  • Join Date: Mar 2004
  • Posts: 457
    • Show only replies by Linde
    • http://hata.zor.org/
Re: MiniMig with AGA
« Reply #87 on: February 24, 2010, 07:49:15 PM »
Quote from: Belial6;544939
Not to mimic the "Forget hardware, just run UAE" crowd, but why would we want to use a hard wired processor when we can use an FPGA?


My sentiments exactly. Fast, reliable, future proof; all things good minus all things bad. As far as I understand, the 030 core will be able to maintain a high clock speed (faster than any 030 accelerator).
 

Offline mikej

  • Hero Member
  • *****
  • Join Date: Dec 2005
  • Posts: 822
    • Show only replies by mikej
    • http://www.fpgaarcade.com
Re: MiniMig with AGA
« Reply #88 on: February 26, 2010, 04:47:58 AM »
Ah, so Yaqube has let his secret out :)
This explains why my mailbox is now full. Sorry if you have mailed me and I have not replied, I'll try and get around to everybody.

I'm in China at the moment and working hard to finish the RevB layout. There are about 30 connections left to make, but it's pretty much done.

This has a few fixes over the RevA board. The main difference is the connectors are all moved to one side (not the rs232 debug) and it includes composite/svhs option on the main board.

It should go to manufacture Monday, and I hope they can make them in time before I leave...
MikeJ
 

Offline NovaCoder

Re: MiniMig with AGA
« Reply #89 from previous page: February 26, 2010, 04:55:05 AM »
Go MikeJ :)
Life begins at 100 MIPS!


Nice Ports on AmiNet!