This section is a partial summary of the system services provided by the Message-Based
Interface. A t the time of this writing, the number of services provided is growing. The
complete list is to be found in the C include file "vtl _rou.h". This section also describes
how users can compile and link to Message-Based Interface system services.
4.7.2 L i n k i n g - How The Jump Table Works
The file "jumptab1.68k" is a 68000 assembly source file defining the organization and
absolute address of the Message-Based Interface jump table. When this file is assembled
and linked into the user's application, it binds all references to Message-Based Interface
system services. When a user's application calls a system service, like "rstbitO", the call
is bound to an entry in the jump table. Each entry in the jump table contains a single
JMP instruction that jumps to the selected service function.
4.8 P U T T I N G I T A L L TOGETHER
Refer to Figure 1. T h i s is a block-diagram of a Message:Based Interface system into
which an application command parser and a suite o f application functions has been
loaded. The boxes represent major functions. The arrows show control flow, e.g "A-->B"
is read as function A calls function B. The Message-Based Interface system services are
all enclosed inside a dotted border. T h e jump table is shown and illustrates how user
applications are linked to Message-Based Interface system services. Each line of control
flow is labeled. The individual flows are discussed below.
Flow 1:
The Message-Based Interface command parser directly calls the system
services. ASCII command strings like "RSTBIT" are mapped directly into
function calls.
Flow 2: T h e Message-Based Interface command can call a named block of code
that's been downloaded.
Flow 3: T h e Message-Based Interface command parser w i l l call an application
specific parser when (a) it is idling, waiting for new input, or (b), when it
receives an explicit command to do so.
Flow 4: T h e application specific parser can also make direct calls to other blocks
of application code.
Flow 5: A p p l i c a t i o n code invokes a Message-Based Interface system service. I t
really calls an entry in the system jump table.
Flow 6:
A
JMP to the absolute address of the selected service.
4-26
Содержание 7064
Страница 2: ...Racal Instruments...
Страница 6: ...I 1 1 1 1 1...
Страница 21: ...I 1 I I I I I I I I I 1 1 I I I I I I...
Страница 29: ...I I I I I I I I I I I I I I I I I I I...
Страница 57: ...1 I I I I I I I I I I I I I I I I I I...
Страница 77: ...1...
Страница 111: ...0 00 0 00 tI I 4 0 0 I7 r i 6 4 7 4 7 0 T 6 0 0 7 28...
Страница 112: ......
Страница 113: ...7 30 I I I 1 I I I I I I I I I I I I I I I...
Страница 115: ...7 32...
Страница 124: ...CO 0 L5 F 4 BEAD 2 A C8 1 0 1 uF C9 01 uF T 0 1 uF 01 uF E12 0 IIIIII M I 11111 V I E M I 111111 I I I I I I N M I I...
Страница 148: ......
Страница 164: ...I I I I I I I I I I 1 I I I I I I I I...
Страница 176: ...extern char error_msg_lookup unsigned errdes endif ERROR_INCLUDE C 8...