7.3.3.
Delphi
In the di
rec
to
ry In
clu
de\Del
phi of the cd the
re is a Del
phi unit sour
ce file
ERMA_SSI.PAS. If this file is inser ted within a Del phi- pro ject all DLL- func ti ons of
the SSI 1417a re available. Insert this unit to all uses- decla ra tions whe re SSI 1417
func ti ons are nee ded.
7.4.
Direct programming
For use of the SSI 1417on other oper ting sy stems or to get faster re ac tion ti mes or
spe cial re ac ti ons other dri vers should be im ple men ted. The re fo re all nee ded in -
for ma ti on fol lows.
Addres ses and in ter rupts of the card
The SSI 1417 uses 2 IO- address ran ges and 1 in ter rupt. Be cau se of the plug-
and- play of the PCI- bus the se data should be found out. The re fo re func ti ons of
the BIOS has to be used like descri bed in “PCI BIOS SPE CI FI CA TI ON Re vi si on
2.1".
The SSI 1417 uses a con fi gu ra ti on spa ce hea der type 00h. The da tas could be
found in the PCI- con fi gu ra ti on spa ce on Ba seAddress0, Ba seAddress1 and In -
ter rupt Li ne. With BIOS- func tion the data could be read out of the con fi gu ra ti on
spa ce. Ba seAddress0 is used for the PCI- tar get con trol ler, Ba seAddress1 for the
SSI- func ti ons of the card.
For the BIOS- func ti ons the fol lo wing in for ma tions are ne cessa ry:
• Vendo rID = 0x10E8 (AMCC)
• De vi ceID = 0x5920 (S5920Q)
• Sub Vendo rID = 0x1485 (ERMA - Electro nic GmbH)
• Sub Sy ste mID = 0x0005 (SSI 1417)
Func ti ons of the PCI- tar get
In itia li sa ti on of the PCI- tar get
Write va lue 0x87878787 to address Ba s 0x60
19
ERMA-Electronic GmbH
7. Programming