Article View: comp.os.msdos.programmer
Article #4727Re: TSR's - Must they be converted to .COM?
From: Steve Resnick
Date: Sat, 16 Feb 1991 15:58
Date: Sat, 16 Feb 1991 15:58
27 lines
1765 bytes
1765 bytes
In article <3188@unccvax.uncc.edu> cs00chs@unccvax.uncc.edu (charles spell) writes:
>
>If TSR's must be converted to .COM, why? I know that there are some .EXE
>files launch a TSR, how? Thanx in advance.
>
There is nothing which says that a TSR must be made a .COM file. In fact,
some code simply cannot be made into a .COM file (any code which the linker
is required to generate fixups on will not be able to be made a .COM)
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'
Hope this helps ....
Steve
--
-------------------------------------------------------------------------------
resnicks@netcom.com, apple!camphq!105!steve.resnick, IFNA: 1:143/105.0,
USNail: 530 Lawrence Expressway, Suite 374
Sunnyvale, Ca 94086
- In real life: Steve Resnick. Flames, grammar and spelling errors >/dev/null
0x2b |~ 0x2b, THAT is the question.
The Asylum OS/2 BBS - (408)263-8017 12/2400,8,1 - Running Maximus CBCS 1.2
-------------------------------------------------------------------------------
Technical Details
Message-ID:
<24314@netcom.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!pacbell.com!pacbell!indetech!vsi1!teda!netcom!resnicksReferences:
<3188@unccvax.uncc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!pacbell.com!pacbell!indetech!vsi1!teda!netcom!resnicks
From: resnicks@netcom.COM (Steve Resnick)
Newsgroups: comp.os.msdos.programmer
Subject: Re: TSR's - Must they be converted to .COM?
Keywords: TSR
Message-ID: <24314@netcom.COM>
Date: 16 Feb 91 15:58:28 GMT
References: <3188@unccvax.uncc.edu>
Organization: Netcom - Online Communication Services UNIX System {408 241-9760 guest}
Lines: 27