Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!munnari.oz.au!csource!david From: david@csource.oz.au (david nugent) Newsgroups: comp.os.msdos.programmer Subject: Re: TSR's - Must they be converted to .COM? Keywords: TSR Message-ID: <1014@csource.oz.au> Date: 17 Feb 91 05:09:45 GMT References: <3188@unccvax.uncc.edu> <24314@netcom.COM> Organization: Unique Computing Pty Ltd, Melb, Aust. Lines: 21 In <24314@netcom.COM> resnicks@netcom.COM (Steve Resnick) writes: > Making an EXE TSR is a little more complicated, in that you need to know > where the code segment is relative to the PSP, and how many paragraphs the > TSR is going to take when you make the DOS call. I don't think the INT 27H > TSR interrupt will work for this, but rather DOS function 31H will do the TSR > in this "style' INT 27H will still work alright, provided you have CS set to the program's PSP. That's often a little hard to arrange in a .EXE format, but it's nevertheless possible. With an easier alternative around, it's no wonder that that sort of contortion is rarely, if ever, seen. david -- Fidonet: 3:632/348 SIGnet: 28:4100/1 Imex: 90:833/387 Data: +61-3-885-7864 Voice: +61-3-826-6711 Internet/ACSnet: david@csource.oz.au Uucp: ..!uunet!munnari!csource!david