Download THE BBC MICROCOMPUTER IEEE488 INTERFACE USER GUIDE

Transcript
Details of each command are given in the table.
OSCLI
This call is used to select the IEEEFS by placing the address of the command line IEEE in
V (high byte) and X (low byte) and calling &FFF7 which indirects through &2M. The
command line should not start with an asterisk and must end with &OD. Any leading
spaces will be stripped.
DATA
When data is sent using the OSBPUT and OSBGET calls, strings are transferred
as type (&00) length and characters (in reverse order). When binary coded data is being
handled it is sent and received a byte at a time.
Example
Typical sequence of operating system calls.
Select IEEFFS by calling OSCII
Open COMMAND and DATA channels by using OSFIND
Execute IEEE commands eg CLEAR, REMOTE ENABLE etc by calling OSWORD
Open 'device' channels by calling OSFIND
Listen or talk devices by calling OSWORD
Send and receive data by calling OSBPUT and OSBGET Close channels by calling
OSFIND
- 62 -