Path: utzoo!mnetor!uunet!husc6!bbn!gatech!emory!platt From: platt@emory.uucp (Dan Platt) Newsgroups: comp.sys.ibm.pc Subject: TurboC and MSC TSR handling. Message-ID: <2433@emory.uucp> Date: 6 Jan 88 20:35:45 GMT References: <19793@amdcad.AMD.COM> <4600002@uicsgva> Reply-To: platt@emory.UUCP (Dan Platt) Organization: Emory University Lines: 19 There's stuff that Borland and Microsoft didn't include in the readme or in the manuals concerning the writing of tsr's and interrupts. It seems to me that though they have provided vector chaining operations, allowing interupt handlers to be loaded for the duration of the program, and they've written a _dos_keep() (or keep() in Borland's work) function similar to Borland's, they haven't provided standard documentation on how to get the length of the program in paragraphs. The assembler texts which do this generally have a symbol defined at the end of the program from which they may compute the length of the program (starting at the psp and going to the last symbol; they may also control how much of the program stays, and with care could avoid keeping the tsr loader part resident). However, there has been no documentation on the last symbol either by Microsoft C5.0, or Borland's TurboC. Any body with information on these issues -- I'd gladly appreciate some feedback. Dan