Installation guide

OS-9 V2.4 on EUROCOM-17 7 Additional Libraries
Software Manual 45
7.3 The C Library CLIBELTEC
The following section contains complete description of the C functions
included with the F$System system call:
get_ios() Get mmu-proctected I/O segment
vme_cctl() Enable/disable caching of VMEbus read cycles
ds_cntrl0() Data size control 0 (A32)
ds_cntrl1() Data size control 1 (A24)
as_cntrl0() Select VMEbus AM source
blk_disp() Enable/disable hex display
en_sem_irq() Enable/disable semaphore interrupt at $7C
en_abort() Enable/diable abort switch
autoboot() Read autoboot jumper
slave_addr() Set VMEbus slave base address
blk_move() VMEbus block transfer via VIC
align_ptr() Align pointer to 256 byte boundary
set_disp() Set the digit of the hex display
get_swt() Get the contents of the hex switches
The default configuration after RESET is indicated by a (*) where
appropriate.
get_ios() Get mmu-protected I/O segment
Synopsis:
int get_ios (cntrl, size, address)
int cntrl; /* 1: request I/O segment */
/* 0: return I/O segment */
long size; /* size of segment requested */
char *address; /* ptr to segment beginning */
Usage:
The get_ios() function is used in OS-9 systems protected by the
system security module (SSM) to enable user programs to perform
memory mapped I/O, i.e. accessing a video RAM located outside the
process memory. If an error occurs, get_ios() returns -1 and the
appropriate error code is placed in the global variable errno. If no error
occurs, get_ios() returns zero.
See Also:
F$System system call, F$Permit