[comp.sys.atari.st] Terminating TSRs

SOCS18@vaxb.york.ac.UK (Vision Newspapers) (02/19/90)

Terminating the _installation section_ of a TSR should simply be a matter of
calling Ptermres() with the amount of memory your program takes up as one
of the parameters.

This can be calculated from the basepage, and is TEXT+DATA+BSS+256
(The 256 is for the size of the basepage itself)

This should be all you have to do. It works for me (from assembler...)
Regards,

Mathew Lodge
***********************************************************************
* c/o Dept. Computer Science	* "Baldrick, fetch me a turkey _so    *
* University of York		* big_, you'd have thought its mother *
* Heslington			* had been rodgered by an Omnibus"    *
* York, UK			*				      *
* YO1 5DD			* JANET : SOCS18@uk.ac.york.vaxa      *
***********************************************************************