Specifications

Apple II Technical Notes
Apple IIGS
4 of 3 #73: Using User Tool Sets
When your application quits and calls TLShutDown, the system disconnects your tool set from
the user tool set TPT. If the UserShutDown is not followed immediately by the
TLShutDown, you may wish to use SetTSPtr to cleanly remove your tool set from the
system (set the tool set pointer so that it points at a zero word).
Note: Because of the way the tool dispatcher transfers control to toolbox functions, a
function’s entry point must not be at the first byte of a bank ($xx0000). This is
normally not an issue, since it’s common to put the actual code right after the
function pointer table, all in one load segment. Just make sure no function begins
at the first byte of a load segment, and you’re safe.
Further Reference
Apple IIGS Toolbox Reference, Volume 2
GS/OS Reference