Welcome, Guest. Please login or register.

Author Topic: Classic IDE DMA possible?  (Read 3061 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SHADESTopic starter

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 355
  • Country: au
    • Show only replies by SHADES
Classic IDE DMA possible?
« on: November 19, 2006, 10:01:03 PM »
Hi all,

I'm looking at the Zorro 3 specs and to me it looks like there is the ability to do DMA access of up to 50 MB/s non burst.

Is there some other reason as to why no one want's to manufacture a DMA IDE interface? One of the DMA modes for IDE is ATA33 which is well within the DMA spec.

I believe the AMIGA 3000 is limited to about 20 MB/sec due to a slower clock speed, the faster AMIGAs should be able to handle it though.
It's not the question, that is the problem, it is the problem, that is the question.
 

Offline Matt_H

Re: Classic IDE DMA possible?
« Reply #1 on: November 19, 2006, 11:56:06 PM »
It probably could be done, but would the development cost make it worthwhile?
 

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: Classic IDE DMA possible?
« Reply #2 on: November 20, 2006, 12:57:15 AM »
Quote
to me it looks like there is the ability to do DMA access of up to 50 MB/s non burst.

Unfortunately ZIII can't come even close to that theoretical maximum.
 

Offline mboehmer_e3b

  • Sr. Member
  • ****
  • Join Date: Aug 2002
  • Posts: 312
    • Show only replies by mboehmer_e3b
    • http://www.e3b.de/usb/
Re: Classic IDE DMA possible?
« Reply #3 on: November 20, 2006, 08:09:43 AM »
Hi,

> I'm looking at the Zorro 3 specs and to me it looks like
> there is the ability to do DMA access of up to 50 MB/s non
> burst.

Zorro III DMA is tricky, as both last Buster versions (rev 9 and rev11) have quite some quirks in it which must be taken care of. It is possible, but needs quite some development effort.

Moreover the Zorro III burst modes (/MTACK and /MTCR signals) do not work, and even if they would - most Zorro III cards, and CPU cards on A3000 / A4000 do not support burst, which is limiting bandwith anyhow.

Michael
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: Classic IDE DMA possible?
« Reply #4 on: November 20, 2006, 10:26:51 AM »
@mboehmer_e3b

Will you add real DMA to prometheus? And when do you plan to release the update?
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Classic IDE DMA possible?
« Reply #5 on: November 20, 2006, 10:32:31 AM »
Quote

Piru wrote:
Quote
to me it looks like there is the ability to do DMA access of up to 50 MB/s non burst.

Unfortunately ZIII can't come even close to that theoretical maximum.


Surely speed alone is not the only motivation. Even if it managed 10MB/s, provided the CPU usage was nice and low, it would be worth it.
int p; // A
 

Offline SHADESTopic starter

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 355
  • Country: au
    • Show only replies by SHADES
Re: Classic IDE DMA possible?
« Reply #6 on: November 20, 2006, 09:04:30 PM »
Hmm, 20 MB/sec on A3000 was acuivable with a slower clock, ATA33 seems to me not an impossible target to achieve. A faster external clock could drive it. Doesn't a4000 have that ability?? Didn't know that burst modes didn't work! I was sure my Fastlane Z3 did burst and it can sustain 11MB/sec no problem. I know the hypermemory card used burst modes.www.amiga-hardware.com Now i'm thinking, I haven't seen any 100Mbit ethernet cards. I wonder why burst isn't working! Time to visit Haynie's page. About being worth while, you're probably correct there. Most H/w is failing now. I'm about to try fix my 4000 again which is grey screening and not booting. I have 3 cpu cards and 3 mainboards to try scavenge parts from. Hoping one is still able to function.
It's not the question, that is the problem, it is the problem, that is the question.
 

Offline Lemmink

  • Hero Member
  • *****
  • Join Date: Oct 2003
  • Posts: 739
    • Show only replies by Lemmink
    • http://www.lemmink.joice.net
Re: Classic IDE DMA possible?
« Reply #7 on: November 20, 2006, 09:14:46 PM »
I think the major liminting factor here is cost not the technical feasility. Look at how much a FastlaneZ3 cost when it came out and at that time you could spread developmentcost over much more sold units then you could today.
Zorro3 is much, much much more complex then Zorro II from what I understand thats why even in the high time of the amiga only a few Z3 cards were made.
I would love to have an DMA Z3 IDE card or a Z3 100 mbit ethernetcard but at an estimated retailprice of 250 EUR (just an approximation) how much units do you think you could sell ?
Not really interesting, but it`s there.
http://www.lemmink.joice.net
 

Offline SHADESTopic starter

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 355
  • Country: au
    • Show only replies by SHADES
Re: Classic IDE DMA possible?
« Reply #8 on: November 20, 2006, 10:07:51 PM »
"how much units do you think you could sell ?"

This is a very valid point. I thoiught with todays mass chip manufacture, things like DMA IDE chips would be cheap, but then there's logic to Zorro 3 which may not be so that makes sense. Still they produce IDE cards that don't do DMA still, then again, there's much less logic needed to do PIO modes.

I'd say you are very correct here. Most mainboards are dying, why bother. I wonder if IDE cards on the Mediator would work properly
It's not the question, that is the problem, it is the problem, that is the question.
 

Offline Lemmink

  • Hero Member
  • *****
  • Join Date: Oct 2003
  • Posts: 739
    • Show only replies by Lemmink
    • http://www.lemmink.joice.net
Re: Classic IDE DMA possible?
« Reply #9 on: November 21, 2006, 06:45:10 AM »
Quote

I wonder if IDE cards on the Mediator would work properly

Mediator can only do PCI <-> PCI DMA Transfers. Shoveling the Data from the GFX-Mem to FastMem through the 8 MB window by the CPU would make the whole DMA part worthless.

The only way for DMA for classic is either Zorro or G-Rex.
Not really interesting, but it`s there.
http://www.lemmink.joice.net
 

Offline mboehmer_e3b

  • Sr. Member
  • ****
  • Join Date: Aug 2002
  • Posts: 312
    • Show only replies by mboehmer_e3b
    • http://www.e3b.de/usb/
Re: Classic IDE DMA possible?
« Reply #10 on: November 21, 2006, 09:08:24 AM »
> I was sure my Fastlane Z3 did burst and it can sustain
> 11MB/sec no problem. I know the hypermemory card used
> burst modes.

Don't mix up memory burst on the card itself and burst access on the Zorro III side. The first one is up to the designer and completely decoupled from the bus interface itself.

Burst mode on Zorro III (using /MTACK and /MTCR) does not really work. If it worked you could do one Zorro III cycle and access 64 longwords, doing only one Zorro III address phase and 64 data phases.

> Now i'm thinking, I haven't seen any 100Mbit ethernet
> cards. I wonder why burst isn't working!

Well, 100MBit on Zorro III is possible - believe me :-)

Michael
 

Offline mikeymike

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 3420
  • Country: 00
    • Show only replies by mikeymike
Re: Classic IDE DMA possible?
« Reply #11 on: November 21, 2006, 09:10:04 AM »
5 years ago, yes, it probably would have been generally beneficial.  Now?  It's not like there's an expanding classic userbase anymore.
 

Offline SHADESTopic starter

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 355
  • Country: au
    • Show only replies by SHADES
Re: Classic IDE DMA possible?
« Reply #12 on: November 21, 2006, 09:18:55 PM »
"Burst mode on Zorro III (using /MTACK and /MTCR) does not really work. If it worked you could do one Zorro III cycle and access 64 longwords, doing only one Zorro III address phase and 64 data phases."

Is this a Buster 11 fault? from the looks of the specs, everything is set out quite nicely.
Haynie link to burst I also found this which was instruction on how to implement the zorro3 spec properly. Zorro 3 design How to design zorro 3 card. Looks like the use of /FCS is how to get in to the burst cycle.
I haven't seen anythuing on buster 11 yet, if it is a buster problem, I'm still looking. I guess it's irreleveant now, Zorro III is ancient compared to PCI express.

The mind really boggals with the what IFs on what hardware would be like now if Ami H/W was successful in market penetration, such a shame
It's not the question, that is the problem, it is the problem, that is the question.
 

Offline alewis

  • Full Member
  • ***
  • Join Date: Jul 2006
  • Posts: 176
    • Show only replies by alewis
Re: Classic IDE DMA possible?
« Reply #13 on: November 21, 2006, 11:35:50 PM »
About the same as VL-Bus.... probably. This was, imho, a superior local bus, and still is (40MHz+ bus speed vs PCI's 33MHz, for example). But it was up against Intel's muscle.

But this is all to similar to the endless "what would you like to see in a modern Amiga/what would the Amiga of today be like". In both cases, it would *not* be a classic Amiga, and unless had the same degree of hardware architecture (custom chipset) and an OS that exploited it, would not have a lot in common with an Amiga.

A thought. Whilst 100mbit ethernet would be nice, it would be rather pointless: Unless one had an ultra-wide SCSI controller (or a really good DMA capable SCSI-2 controller - and few were - with a good SCSI drive), what would be the point? The 8-10MB (on a good day) throughput of the ethernet (sans overhead) would be bottlenecked by the [relatively] slower hard disk.

And given the, on average, small size of Amiga files, would you see a real world increase in file transfer???