Contents page

Rules for Tools/installtransport()

     void installtransport(void (*transportcode)())

    `void (*transportcode)()'
          Pointer to routine.

     Use `installtransport()' to insert your own transport server into
     the Transport Handler chain.  Every time there is a command for the
     Transport Handler, `transportcode()' will be called.  Later, remove
     the routine by calling the function `removetransport()'.

     Because the routine is called from the Transport Handler task,
     which is a seperately linked code segment, it must properly
     observe register trashing conventions: Only A0, A1, D0, and D1 may
     be returned altered, and, if your code uses a base register for
     addressing data, it must be initialised.

     See removetransport(), transportcommand().