Rules for Tools/installtransport()
installtransport()
SYNOPSIS
void installtransport(void (*transportcode)())
ARGUMENTS
`void (*transportcode)()'
Pointer to routine.
DESCRIPTION
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
See removetransport(), transportcommand().