Welcome, Guest. Please login or register.

Author Topic: IDE PCI controller card with Mediator- anyone tried?  (Read 2625 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline patrik

Re: IDE PCI controller card with Mediator- anyone tried?
« on: December 01, 2003, 02:52:06 AM »
@voytech:

It is possible to stick an IDE controller card into the mediator, but as there are not drivers for such cards it wouldnt be usable for anything more than looking at it with a PCI-busscan program :).

Moreover it would be faster than the A1200s internal IDE, but and this is a _BUT_... PCI-cards located on the Mediator1200 will maybe be able to transfer data by themselvers (DMA) to the first 16MB (only 24-bits of addressing on the A1200 expansion connector) of the A1200 address-space... and that is presuming that the Mediator 1200 allows these kind of transfers at all. Presuming that the Mediator 1200 does allow DMA transfers to memory in the first 16MB of the A1200 address-space, the PCI-card willl in most cases only be able to access chipram. This is because most accelerators, except a few old ones only supporting 8MB fastram and pure ram expansions, have their fastram mapped in higher regions of the address-space to be able to have a continuous mapping of the fastram.

This boils down to these performance possibilities:

If the Mediator 1200 supports DMA-transfers to the A1200 address-space it will in most cases only find chipram. The DMA-transfers will be usable, but quite slow. I suppose around 6MB/Sec would be absolute maximum if very lucky, but atleast they wont strain the CPU a bit. The only problem would be if the AGA-chipset was used for graphics at the same time, then the transfers would be much slower and the graphic-operations would slow to a crawl, plus the buffers for the harddrives connected would have to be in chipram, leading to the cpu having to do filesystem work in chipram which would be slow. If a graphic-card is used this will work a bit better as the usable chipram-bandwidth increases a lot if the AGA-chipset isnt drawing anything on a screen.

If the Mediator 1200 doesnt have support to let PCI-cards do transfers to/from the first 16MB of the A1200 address-space all datashuffling to/from the card will be CPU-driven and in a sense it will put this solution on the same level as the builtin IDE of the A1200 as transfers will be very CPU-demanding. Ofcourse it will be faster, it will be as fast as the Mediator 1200 and accelerator have the possibility to communicate which should be around 8MB/Sec.

Though if there exist a SCSI-controller on your accelerator I would highly recommend using it instead as these often make use of DMA transfers, offer better performance and doesnt load the A1200 localbus.

With a Mediator 3000/4000, having a PCI IDE-card would be much better as those Mediator models definately give the PCI-cards the possibility of doing DMA transfers to/from all of the Amigas address-space which would give reasonably fast transfers with no CPU usage.

Is it possible to get programming documentation for the Mediators from Elbox?


/Patrik
 

Offline patrik

Re: IDE PCI controller card with Mediator- anyone tried?
« Reply #1 on: December 01, 2003, 03:44:36 AM »
Quote

Theres this whole odd thing going on with mediator and drivers and stuff right now...


Fun, isnt it? :)

Quote

Maybe the prometheus? IIRC it supports open PCI?


Havent seen any OpenPCI drivers for any IDE-controllers yet. Though it would definately make sense to write one. Something which doesnt make it less revarding to write one is that many PCI IDE-controllers are quite generic to some extent, so if one a driver was made for one type of IDE-controller.. or maybe I should say chipset as there are numerous IDE-controllers based on exactly the same chipset.. anyhow, then it shouldnt be too much trouble making another driver based on the current which supports another chipset and another and..... you get my point I hope ;).

Quote

Patrik would know...

Thinking about it, he knows waaay too much....

/me looks around with theatrical slyness..

Moha ;)


/Patrik
 

Offline patrik

Re: IDE PCI controller card with Mediator- anyone tried?
« Reply #2 on: December 01, 2003, 03:58:38 AM »
@Karlos:

That would indeed be a very good idea... as long as it is done in an efficient manner ofcourse... some thinking and planning would be required before the coding takes place :D.

By experience I have learned that that is a good approach when coding ;).


/Patrik
 

Offline patrik

Re: IDE PCI controller card with Mediator- anyone tried?
« Reply #3 on: December 01, 2003, 05:11:49 AM »
@voytech:

A lot could be learned by analysing the Linux-driver for the chipset in question.

Feel like accepting the challenge of writing a driver? :) I am positive a lot of people would appreciate the possibility to use a PCI IDE-interface.


/Patrik