Language-specific information, 8l. language-specific information, Aztec c – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual
Page 120: Topics

II. SOFTWARE GUIDES - 8. Driver488/DRV
8L. Language-Specific Information
Personal488 User’s Manual, Rev. 3.0
II-105
Aztec C
Use of Character Command Language
In order to simplify programming Driver488/DRV with C, the following files are provided on the
Driver488/DRV program disk:
•
IEEEIO.C
: Communications routines for Driver488/DRV
•
IEEEIO.H
: Header file, contains declarations from
IEEEIO.C
•
CRITERR.C
: Critical error handler routines (included with Aztec C, only)
•
CRITERR.H
: Header file, contains declarations for using
CRITERR
The actual demonstration program is contained in
195DEMO.C
. All files for Aztec C are in the
\AZTECC
directory.
To execute the demonstration program, the files must be compiled and then linked. The following
DOS commands perform these steps:
C> cc 195demo
C> cc ieeeio
C> ln 195demo ieeeio -lm -lc
Finally, the demonstration program is run by typing
195demo
. Note that the critical error
handler (
CRITERR.C
) is not required for the demonstration program.
CRITERR.C (for Aztec C)
Normally, when Driver488/DRV detects an error, perhaps due to a syntax error in a command, or due
to an IEEE 488 bus error (such as time out on data transfer), it responds with an I/O error to DOS.
When this happens, DOS normally issues an
ABORT
,
RETRY
or
IGNORE
message and waits for a
response from the keyboard. There is no way for the user’s program to detect such an error, determine
8L. Language-Specific Information
Topics
•
Aztec C ............................................................................................ II-104
Use of Character Command Language.....................................................II-104
CRITERR.C (for Aztec C) ............................................................................II-104
•
GW-BASIC (for GW-BASIC or Interpreted BASIC) .............. II-105
Use of Direct DOS I/O Devices ....................................................................II-105
BASIC VARPTR & SADDR .........................................................................II-105
GET & PUT (for GW-BASIC only) ..............................................................II-105
•
JPI TopSpeed Modula-2 .............................................................. II-106
Use of Direct DOS I/O Devices ....................................................................II-106
•
Logitech Modula-2........................................................................ II-106
Use of Direct DOS I/O Devices ....................................................................II-106
•
True Basic ...................................................................................... II-107
Use of Character Command Language.....................................................II-107
IEEEIO.TRU..................................................................................................II-107
TOOLKIT.LIB................................................................................................II-107
•
Turbo Basic.................................................................................... II-107
Use of Character Command Language.....................................................II-107