ITC Example Code

The following example illustrates the use of the intertask communication functionality. The flow of control goes as follows:

  1. App "A" registers its far pointer table. (Not shown here for brevity)
  2. Locates the desired app with which to communicate.
  3. Launches the desired app if not already loaded.
  4. Establishes a communication channel.
  5. Swaps control to app "B" enabling processing of the shared buffer.
  6. App "B" swaps back to app "A".
This code is not meant to be a treatise on coding practices! It is given solely to illustrate the mechanics behind ITC.