Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!vaxb.york.ac.UK!SOCS18 From: SOCS18@vaxb.york.ac.UK (Vision Newspapers) Newsgroups: comp.sys.atari.st Subject: Terminating TSRs Message-ID: <9002190811.AA24875@ucbvax.Berkeley.EDU> Date: 18 Feb 90 22:43:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 19 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 * ***********************************************************************