0.4 - 2016-11-09
If you have a Mediator, or know about them, and either disagree with something in this guide, or have some extra information you'd like to add, please do contact us. We want this document to grow to cover as much detail about Mediators as possible!
The canonical home of the guide is: https://mediators.github.io
A nicely formatted PDF version is available from: https://mediators.github.io/TUMG.pdf
The source of the project lives at: https://github.com/Mediators/UnreliableGuide
You are very welcome to file bugs there, or submit pull requests, but if you do not want to do either of those, please feel free to email the current maintainer (listed above) with your corrections/suggestions/etc. If you want to become an active author of the document, you are very welcome to join our GitHub team and work directly on the document.
There are threads on the main Amiga forums for any discussions you want to have about the guide:
You can also discuss the guide on the Amiga-Mediator Yahoo Group
To write this guide, we have drawn extensively on the help and writings of other people. Specific thanks to:
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Created by Elbox, the Mediators are a range of PCI/Zorro busboards for Amiga computers. They allow users to install industry-standard PCI cards into their Amigas.
There exist Mediators for:
Various models and revisions of Mediators have existed since their initial release in 2000/2001. The authors of this guide do not have access to every variant of Mediator, so for now the information contained here can only be assumed to be related to the following models:
A Mediator typically consists of two main parts:
The backplane board is generally very simple, it is really just a series of PCI and/or Zorro slots. The real magic of the Mediator happens on the bridge board. This board sits on both PCI and Zorro buses, and contains a series of chips (known as MACH) that translate between the protocols of PCI and Zorro, allowing the Amiga to communicate with the PCI cards and vice versa.
There are drivers for a number of PCI cards, with most of the drivers being maintained by Elbox. Unfortunately the Driver Development Kit for writing additional drivers is not freely available, limiting the possibilities for community maintained drivers.
Elbox maintains a list of compatible cards on their website
There are also one or two additional drivers on Aminet
All Mediators support 5V PCI cards, but only some support 3.3V PCI cards. You can usually tell which voltages a PCI card works with, by looking at its edge connector. If it has a section cut out of the edge connector 5.6cm away from the backplate, it requires 3.3V. If it has a section cut out of the edge connector 10cm from the backplate, it requires 5V. Cards that have both sections cut out, work with either 3.3V or 5V. Some users have noticed that some PCI cards appear to be 5V compatible, but actually do require 3.3V.
It is possible to modify 5V Mediators to supply 3.3V to cards that need it, by connecting a 3.3V supply to the appropriate PCI pins on the back of the Mediator busboard.
(If you would like to document the process here, please contact us!)
It is also often possible to modify PCI cards to have their own voltage regulator (e.g. LM1084
) to convert 5V to 3.3V on the card itself.
PCI cards generally need to have an IRQ allocated to them to be able to function correctly, and while sharing IRQs is possible, not all cards are happy with it. Mediator bridgeboards supply and configure 5 IRQs. While this is not normally a problem (particularly if you have fewer than 5 PCI slots on your Mediator), if you are having stability issues where usage of one card seems to affect another, check the output of C:PCIInfo
and look for any IRQ sharing. If you do find one or more IRQs being shared, the only way to resolve stability is to re-order your PCI cards.
Obviously the installation for different Amigas varies widely, because of their different form factors. Specific information for various models can be found below, but the general steps are:
NOTE: Some users have reported that on some Mediators, the order of PCI cards is important, particularly the placement of the graphics card. Please contact us if you know more about this.
In terms of hardware configuration, Mediators generally have very little that needs to be done. They have a few jumpers and that's it. However, these jumpers are generally not documented well, and vary between models.
This model has three jumpers:
MemSpace
values in C:PCIInfo
output with the jumper open and closed).Along with the hardware, Elbox also produces software and drivers for Mediators and the PCI cards they are compatible with. This is supplied with the Mediator and is called the Mediator Multimedia CD (generally known as MMCD
). It is only relevant to AmigaOS 3.1/3.5/3.9 - 4.1 uses its own drivers.
NOTE: It's quite common for the CD supplied by Elbox to be significantly out of date, so always check their website for a driver pack update (MM_CD_UP
). However, even these update packs do not always contain the most recently available drivers/libraries. The same download page also lists individual updates that have been released (e.g. pci.library
) and the dates. Ensure you have the latest versions of everything.
The Elbox installers are not particularly neat in their choices of where to install the software/drivers. If you are feeling particularly confident, you may choose to install the various components by hand, but we would suggest that at least your first time, you may want to use the Elbox installers:
MMCD
MM_CD_UP
update, if applicableSomewhat unusually for Amiga hardware, there is no device driver for the Mediator, instead, access to the PCI cards happens through pci.library
. Once you have installed the drivers, open a shell and run C:PCIInfo
and you should see a listing of any PCI cards you have installed (which ideally should just be the graphics card at this point).
NOTE: A graphics card is generally vital to the operation of a Mediator because of the RAM it provides. PCI cards are unable to access the Amiga's memory through the Zorro bus, so the Mediator drivers reserve a portion of the graphics card's memory for DMA operations with other cards. Thus, any card you install, which uses DMA (i.e. most cards), will only operate if there is a graphics card present.
FURTHER NOTE: The mere presence of a graphics card is not sufficient, Picasso96 must also be installed and configured to use the appropriate driver for your PCI graphics card. You don't have to be using an RTG screenmode through the graphics card, but without it at least having an active entry in DEVS:Monitors/
most other PCI operations will not be possible.
NOTE: These instructions are kept intentionally simple. For Radeon/Voodoo users, there are good installation guides in the MMCD
/MM_CD_UP
.
Cybervision 3D
card.DEVS:Monitors/
CVision3D
monitor to Radeon
or Voodoo
(or some other suitable name for your PCI graphics card)BOARDTYPE
value to the name of the graphics card driver (which live in LIBS:Picasso96/
), e.g. Radeon
NOTES:
DEVS:Monitors
Set Overclock=Yes
and MemoryClock=$MHz
you would like to run Example: MemoryClock=167
Voodoo 3-3000 speedAssuming you ran the Elbox installer, it will have installed AHI
, the Amiga's retargetable audio framework, several drivers, and a Mixer application. The Elbox installer appears to install a strange mixture of different versions of AHI, but only two files are specific to the hardware, so you can start with a stock install of AHI and add in the .card
and audiomode files from Elbox, that apply to your soundcard (so either sb128
or fm801
). Some users seem to find that AHI 5.6 is more stable than AHI 6.0.
Your sound card will require some additional configuration:
NOTE: AHI is exposed to applications as a series of unit
s. Each unit can be configured to send its audio to a soundcard of your choice, with quality settings of your choosing. For this section we will assume that you only have one soundcard, you will configure all your applications to use AHI unit 0, and you want the highest possible sound quality.
SYS:Prefs/
and run the AHI
prefs.Music Unit
)Music Unit
and Unit 0
:SB128
for a SoundBlaster 128 card). It will be listed several times with different options. The best choice is likely the HiFi 16 bit stereo++
option.Save
SYS:Prefs/Mixer
for changing mixer settings, and a corresponding entry in S:User-Startup
to load the values at boot.NOTE: The Mixer app supplied by Elbox is not very high quality (Elbox themselves recommend using a third party mixer). A good alternative is GhostMix. You will need to remove the Elbox mixer item in S:User-Startup
to use a different mixer application.
FURTHER NOTE: GhostMix does not create the required directory for its preferences. Either run the Elbox mixer once and Save
the settings, or manually create a directory ENVARC:Mediator/Mixer/
There are Mediator drivers for two Realtek chipsets, 8029 (10Mb/s) via MediatorNET.device
and 8139 (100Mb/s) via FastEthernet.device
. To use one of these, you'll need a TCP/IP stack installed, such as:
Of these, Roadshow is the newest and is often the fastest. The choice is yours, and configuring the stack is beyond the scope of this document.
There is an environment variable for RTL-8139
devices, ENVARC:Mediator/FastEthernet
which controls how the Ethernet link should be configured, see Section 3.2 for more information.
With a good network card in a well configured system, it should be possible to achieve roughly 1MB/s through the network interface.
The only USB card that can currently be used in a Mediator, is Elbox's Spider card (which is actually an NEC card with modified firmware). Installation is very simple:
spider.device
to DEVS:USBHardware
AddUSBHardware DEVS:USBHardware/spider.device 2
AddUSBHardware DEVS:USBHardware/spider.device 0
AddUSBHardware DEVS:USBHardware/spider.device 1
NOTES:
PCIInfo
as three devices - one for Full Speed USB and two for Normal Speed.S:Startup-Sequence
to load its input driver. Some users find that this causes their boot to hang, and have to comment the line out.spider.device
is distributed separately, there have been questions about the legality of Elbox's driver (at the very least they did not make any contributions to Poseidon's development, and are not authorised to distribute the main Poseidon archive). Some of the authors of this guide feel that the morally appropriate thing for users to do, is to purchase an item from Chris Hodges' Amazon Wishlist since it is not possible to pay for Poseidon.spider.device
contained a DRM mechanism that, in certain situations, could erase your disk's MBR (i.e. partition table). This feature has been removed in more recent versions (do you know which version removed it?).Please contribute to this section if you have any useful information :)
There is a driver on Aminet that allows you to use certain Adaptec SCSI cards from the AHA-2940UW range. Depending on your card's connectors, you will be able to attach up to 14 SCSI devices to the various SCSI connectors on the card (usually 50pin internal, 68pin internal and 68pin external, of which any two can be in use at the same time).
NOTE: Even though these cards are capable of high speed data transfer (around 40MB/s), in a Mediator they are limited by the overheads of being moving data from the SCSI card to graphics card RAM, and from there across the Zorro3 bus to the Amiga's CPU (and vice versa). This means that SCSI devices attached to the Adaptec card will actually only operate at around 3MB/s (i.e. roughly equivalent to the A1200/A4000 internal IDE).
Please contribute to this section if you have any useful information :)
Drivers for these cards have never been released.
There are many Mediator environment variables which can be set in ENVARC:Mediator/
:
MMU
:
Yes
, maps the PCI memory space into the processor's memory space.No
if you have a BlizzardPPC and want to use PCI resources with both of its CPUs.NoCache
:
Yes
, Mediator PCI space is not cacheable.Emulation
:
Yes
if you are running AmigaOS 4.Warp3D
:
No
.SpiderBuf
:
40KB
1
(i.e. use 40KB
for DMA buffers)51
(i.e. just over 2MB
of DMA buffers)RadeonMem
:
RadeonMemOS
)1MB
of Radeon RAM is always reserved for DMA with other PCI cardsRadeonMemOS
:
Yes
, unused Radeon RAM will be added to the system memory14MB/s
). If your CPU accelerator card has RAM slots, they will be considerably faster than this.VoodooMem
:
VoodooMemOS
)1MB
of Radeon RAM is always reserved for DMA with other PCI cardsVoodooMemOS
:
Yes
, unused Voodoo RAM will be added to the system memory14MB/s
). If your CPU accelerator card has RAM slots, they will be considerably faster than this.VoodooInt
:
Yes
, interrupts are generated during VBlank, which may be required for some gamesNo
, interrupts are not generated during VBlankVirgeMem
:
VirgeInt
:
Yes
, interrupts are generated during VBlank, which may be required for some gamesNo
, interrupts are not generated during VBlankBuster
:
7
, 9
or 11
)Tuner
:
Background
:
RED=170 GREEN=170 BLUE=170
(which is the Workbench default grey)FastEthernet
:
RTL8139
devices. The possible values are:
0
- Auto Negotiation1
- 100Mb/s Full Duplex2
- 100Mb/s Half Duplex3
- 10Mb/s Full Duplex4
- 10Mb/s Half DuplexHere we attempt to collect a definitive list of Mediator software versions. If you have any MMCD
or MM_CD_UP
versions not included here, please contact us :)
Most of the MM_CD_UP
archives can be downloaded from Elbox's website, and many of them are included on the latest MMCD
CDs.
The earliest version of MMCD
that the authors currently have access to, is 2.0. The driver versions on this CD are the same as those shown in MM_CD_UP
2.0c below.
NOTE: Bold indicates a version was updated. N/A indicates the file was not included.
File | 2.5 | 2.4 | 2.3 | 2.2 | 2.1 | 2.0c | 1.31 | 1.28 | 1.26 |
---|---|---|---|---|---|---|---|---|---|
C/SBMixer |
1.4 | 1.4 | 1.4 | 1.4 | 1.4 | 1.4 | 1.4 | 1.4 | 1.4 |
C/TV |
1.4 | 1.4 | 1.4 | 1.4 | 1.4 | 1.4 | 1.4 | 1.4 | 1.4 |
fm801.audio |
4.14 | 4.14 | 4.14 | 4.14 | 4.14 | 4.14 | 4.12 | 4.10 | 4.5 |
sb128.audio |
4.20 | 4.20 | 4.20 | 4.20 | 4.20 | 4.20 | 4.18 | 4.16 | 4.11 |
FastEthernet.device |
1.25 | 1.25 | 1.25 | 1.25 | 1.25 | 1.24 | 1.21 | 1.20 | 1.15 |
MediatorNET.device |
2.10 | 2.10 | 2.10 | 2.10 | 2.10 | 2.10 | N/A | N/A | N/A |
mixer.library |
1.11 | 1.11 | 1.11 | 1.11 | 1.11 | 1.11 | 1.10 | 1.10 | 1.9 |
pci.library |
9.11 | 9.11 | 9.10 | 9.9 | 9.7 | 9.4 | N/A | N/A | N/A |
Radeon.card |
2.23 | 2.22 | 2.20 | 2.19 | 2.12 | 2.12 | 1.7 | 1.0 | N/A |
Virge.card |
1.13 | 1.13 | 1.13 | 1.13 | 1.13 | 1.12 | N/A | N/A | N/A |
Voodoo.card |
4.35 | 4.34 | 4.34 | 4.30 | 4.30 | 4.30 | 4.28 | 4.27 | 4.23 |
tv.library |
4.13 | 4.13 | 4.13 | 4.13 | 4.13 | 4.13 | 4.9 | 4.6 | 4.0 |
tv.vhi |
1.5 | 1.5 | 1.5 | 1.5 | 1.5 | 1.5 | 1.4 | 1.4 | 1.3 |
This driver is distributed separately from MMCD
, although spider.device
3.20 appeared in MM_CD_UP
2.0c.
The Spider II USB 2.0
CD includes spider.device
3.22.
At the time of writing, the latest version of pci.library
(11.0) is distribtued separately from MM_CD_UP
, and must be downloaded directly from Elbox's website.
Mediators are extremely complex pieces of hardware and driver development tends to be very slow, so it's possible to run into various issues, both hardware and software.
Your Mediator is defective and needs to be returned to Elbox for repair/replacement. There have been multiple reports that the 2016 A4000 "Black" version of the Mediator has been unreliable resulting in the Mediator disappearing after a reboot or crashing when the graphics driver is loaded.
This seems to be a widely experienced symptom, and may trace back to multiple underlying causes. Potential remedies worth investigating:
S:Startup-sequence
before anything touches the Mediator (i.e. at least before any DEVS:Monitors
files are loaded)