User`s manual

CHAPTER 3 PROGRAMMING REFERENCE
13
The programming examples and interpreter routines have been written to work around
these limitations and they should not placed any restrictions on your IEEE-488
applications.
3.3. Using QuickBASIC and BASIC Compiler
Calling the IEEE-488 routines in the firmware when using BASIC compiler or
QuickBASIC is almost the same way as using BASICA except the following two
areas.
1. When using the IEEE-488 routines in BASICA programming, the l; user does not
need to call the INIT routine (initialization) except the default setting is not used.
Uowever, the user need to call the INIT routine before calling any other IEEE488
routines when programming in BASIC compiler or QuickBASIC. When calling the
INIT routine, the bit 8 of the parameter SETTING% must be set to “1”.
2. The syntax to call the IEEE-488 firmware routines when programming in BASICA
is as:
CALL OUTPUT%(ADDR%,D$)
however, in BASIC compiler or QuickBASIC, the syntax is: lt
CALL ABSOLUTE(ADDR%, D$,0UTPUT%)
Note: When using QuickBASIC, the user needs to enter the develop-
ing environment by the command
QB/L
to load the library USERLIB.EXE. Otherwise, the word “ABSOLUTE” cannot be
recognized.
3.4. The Driver Routines
The following twenty one routines can be called by programs written in BASICA,
BASIC Compiler or QuickBASIC to access the IEEE-488 interface. QuickBASIC has
the same syntax as BASIC Compiler.