Installation guide

OS-9 V2.4 on EUROCOM-17 7 Additional Libraries
Software Manual 47
ds_cntrl1() Data size control 1 (A24)
Synopsis:
int ds_cntrl1 (cntrl)
int cntrl; /* 1: A24/D32 transfers */
/* 0: A24/D16 transfers (*) */
/* -1: read status only */
Usage:
The ds_cntrl1() function sets the data size on the VMEbus during
master access at the address range from $FF00.0000 - $FFFE.FFFF.
If an error occurs, ds_cntrl1() returns -1 and the appropriate error
code is placed in the global variable errno. If no error occurs,
ds_cntrl1() returns the current status.
See Also:
F$System system call
as_cntrl0() Select VMEbus AM source
Synopsis:
int as_cntrl0 (cntrl)
int cntrl; /* see below */
Usage:
The as_cntrl0() function selects the source for generation of the AM
code during VMEbus access.
cntrl = 1: the AM source register of the VIC is used to generate the
AM code on the VMEbus
cntrl = 0: extended AM code is generated for address range
(*) from $0040.0000 - $EFFF.FFFF, standard AM code at the
address range $FF00.0000 - $FFFE.FFFF and short AM
code at $FFFF.0000 - $FFFF.FFFF.
cntrl = -1: read status only
If an error occurs, as_cntrl0() returns -1 and the appropriate error
code is placed in the global variable errno. If no error occurs,
as_cntrl0() returns the current status.
See Also:
F$System system call