![Tews Technologies TIP815-SW-12 Manual Download Page 5](http://html1.mh-extra.com/html/tews-technologies/tip815-sw-12/tip815-sw-12_manual_1093614005.webp)
4
2.Installation
The TIP815
--
SW
--
12 OS
--
9 driver software is delivered on a 3.5”floppy disc.
The floppy has following contents:
/d0/tip815/t815driv.c
TIP815 device driver C source
/d0/tip815/t815adriv.a
TIP815 device driver assembler to C interface
/d0/tip815/t815cif.a
TIP815 device driver application call interface
/d0/tip815/t815stat.a
TIP815 device static storage allocation
/d0/tip815/t815A.a
TIP815 device descriptor IP- -slot A (MVME162)
/d0/tip815/t815B.a
TIP815 device descriptor IP- -slot B (MVME162)
/d0/tip815/t815C.a
TIP815 device descriptor IP- -slot C (MVME162)
/d0/tip815/t815D.a
TIP815 device descriptor IP- -slot D (MVME162)
/d0/tip815/tip815.h
TIP815 application program include
/d0/tip815/local.h
TIP815 device driver include
/d0/tip815/ipchip.h
MVME162 IP chip definitions
/d0/tip815/arcnet.h
ARCNET controller programming model
/d0/tip815/makefile
Makefile to build the driver
The distribution contains predefined device descriptors for the four IP slots of the MVME162.
Descriptor
Address
Vector
Level
t815A
0xfff58000
0x80
1
t815B
0xfff58100
0x81
1
t815C
0xfff58200
0x82
1
t815D
0xfff58300
0x83
1
After you’ve copied all files from the disk, you have to choose the version of your OS
--
9. Edit the
Makefile and enable the line setting the flags for your OS
--
9 version:
$ e Makefile
After you choose the used OS
--
9 version, the driver can be build with the following command:
$ make
The driver and its corresponding device descriptors can be loaded into the running system with the
command:
$ load - -d t815drv t815A t815B t815C t815D
The device driver must be initialized for each device descriptor with a command like:
$ iniz t815A ...
All TIP815 I/O system calls ( t815_open(), t815_close() and t815_cntrl() ) can be called directly out of
the C
--
code application program by using the C call interface.
To do this it is necessary to link the relocatable object
t815cif.r
with the application program.
For example:
$ cc ... program.c t815cif.r ...