[comp.sys.ibm.pc] need help with TSR's

svirsky@ttidca.UUCP (10/02/87)

---

I  am writing a TSR for an IBM PC assembler class and I need some help.
I know the basics, but what I need to know is if there are any particular
pitfalls to avoid.  For instance, I've heard about an undocumented
IN_DOS flag that should be checked whenever the TSR is invoked.  Why should
it be checked?  Why is it undocumented if it is so necessary?  How do you
check it?  Are there any other problems involved in writing TSR's?  If
you can email me any help, I'd appreciate it.  Of course I'll also post
a summary of any responses for the net.  Thanks in advance.

-- 
Bill Svirsky, Citicorp+TTI, 3100 Ocean Park Blvd., Santa Monica, CA 90405
Work phone: 213-450-9111 x2597
svirsky@ttidca.tti.com | ...!{philabs,psivax,trwrb,csun}!ttidca!svirsky

connery@bnrmtv.UUCP (Glenn Connery) (10/06/87)

In article <1304@ttidca.TTI.COM>, svirsky@ttidca.TTI.COM (William Svirsky) writes:
> I  am writing a TSR for an IBM PC assembler class and I need some help.

Every so often we go through another round of these kinds of questions and
each time it becomes less likely that you will get good responses.  The
best reference I have seen for all the do's and don'ts of TSRs is the
PC Magazine issue listed above, Volume 6 Number 7.  On page 313 in the
Programming/Utilities column there is source for a program called XDIR which
pops up a window of files in the specified directory.  It does all the
required tricks in calling DOS from a TSR and is generally well written.
There are any number of other good examples, but this one covers most of the
information I have seen available.
-- 

Glenn Connery, Bell Northern Research, Mountain View, CA
{hplabs,amdahl,3comvax}!bnrmtv!connery