x Personal488 User’s Manual, Rev. 3.0
8K. Other Languages ...................................................................................II-96
Introduction ...........................................................................................................................II-96
Finding Addresses .................................................................................................................II-97
Garbage Collection ..................................................................................................................... II-97
Memory Models .......................................................................................................................... II-97
Calling Protocols......................................................................................................................... II-99
Opening & Closing the Driver ...........................................................................................II-100
I/O Control (IOCTL) Communication...............................................................................II-100
IOCTL Get & Set Device Data ................................................................................................ II-100
IOCTL Read & Write ............................................................................................................... II-101
Data & Command Communication ..................................................................................II-102
ARM Condition Detection...................................................................................................II-102
Sample Program..................................................................................................................II-102
8L. Language-Specific Information........................................................II-104
Aztec C...................................................................................................................................II-104
Use of Character Command Language................................................................................... II-104
CRITERR.C (for Aztec C)......................................................................................................... II-105
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-106
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-108
Use of Character Command Language................................................................................... II-108
8M. Data Transfers .....................................................................................II-108
Terminators..........................................................................................................................II-108
End-Of-Line (EOL) Terminators............................................................................................. II-108
TERM Terminators .................................................................................................................. II-112
Direct I/O & Buffered I/O....................................................................................................II-113
Direct Bus OUTPUT ................................................................................................................ II-113
Direct Bus ENTER................................................................................................................... II-113
Buffered I/O .............................................................................................................................. II-114
Asynchronous Transfers.....................................................................................................II-115
8N. Operating Modes .................................................................................II-115
Introduction .........................................................................................................................II-116
Operating Mode Transitions..............................................................................................II-116
System Controller Mode......................................................................................................II-117
System Controller, Not Active Controller Mode ..............................................................II-117
Not System Controller Mode ..............................................................................................II-119
Active Controller, Not System Controller Mode ..............................................................II-119
8O. Utility Programs ..................................................................................II-120
Printer & Serial Redirection .............................................................................................II-120
Removal & Reinstallation..................................................................................................II-122
MARKDRVR & REMDRVR..................................................................................................... II-122
Moving Files from an IEEE 488 (HP-IB) Controller to a PC.........................................II-123
PRNTEMUL Files .................................................................................................................... II-123
Configuration of the IEEE Interface for PRNTEMUL .......................................................... II-123
Running PRNTEMUL.............................................................................................................. II-124
Data Transfer ........................................................................................................................... II-124