🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #41071

Terminating TSRs

#41071
From: Vision Newspapers
Date: Sun, 18 Feb 1990 22:43
19 lines
1189 bytes
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      *
***********************************************************************
Technical Details
Message-ID: <9002190811.AA24875@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!vaxb.york.ac.UK!SOCS18

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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