Installation guide

7 Additional Libraries OS-9 V2.4 on EUROCOM-17
50 Software Manual
slave_addr() Set VMEbus slave base address
Synopsis:
int slave_addr (std_addr, ext_addr)
unsigned std_addr; /* VMEbus addr. for standard access */
unsigned ext_addr; /* VMEbus addr. for extended access */
Usage:
The slave_addr() function sets the VMEbus slave base address for
both standard and extended addressing.
If an error occurs, slave_addr() returns -1 and the appropriate error
code is placed in the global variable errno. If no error occurs,
slave_addr() returns zero.
See Also:
F$System system call
blk_move() VMEbus block transfer via VIC
Synopsis:
int blk_move (count, mode, mbuf, sbuf)
unsigned count; /* Transfer length in bytes */
short mode; /* 0 = write to slave */
/* 1 = read from slave */
long *mbuf; /* pointer to buffer on master */
long *sbuf; /* pointer to buffer on slave */
Usage:
The blk_move() function initiates a block transfer between a VMEbus
master and slave. Both master and slave MUST be supplied with a
VIC068 chip. The data width for block transfers is 32bit (longword)
only, so the given transfer length must be a number divisible by four.
To minimize software overhead, both pointers MUST be 256byte
aligned. If an error occurs, blk_move() returns -1 and the appropriate
error code is placed in the global variable errno. If no error occurs,
blk_move() returns zero.
See Also:
F$System system call