[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Part3 - Part4 - Part5 - Single Page

Top Document: comp.os.msdos.programmer FAQ part 4/5
Previous Document: - How can I change the switch character to - from /?
Next Document: - Why does my interrupt function behave strangely?


- How can I write a TSR (terminate-stay-resident utility)?


Date: 8 Feb 2002 20:31:08 -0400

 There are books, and there's code to download.

 First, the books:

 * Ray Duncan's {Advanced MS-DOS}, ISBN 1-55615-157-8, gives a brief
   checklist intended for experienced programmers. The ISBN is for the
   second edition, through DOS 4; but check to see whether the DOS 6
   version is available yet.

 * {DOS 5: A Developer's Guide} by Al Williams, ISBN 1-55851-177-6, goes
   into a little more detail, 90 pages worth!

 * Pascal programmers might look at {The Ultimate DOS Programmer's
   Manual} by John Mueller and Wallace Wang, ISBN 0-8306-3534-3, for an
   extended example in mixed Pascal and assembler.

 * For a pure assembler treatment, check Steven Holzner's {Advanced
   Assembly Language}, ISBN 0-13-663014-6. He has a book with the same
   title out from Brady Press, but it's about half as long as this one.

 Next, the code. Some of it is companion code to published articles,
 which are also listed below:

 * John English (<http://www.it.bton.ac.uk/staff/je/>) has created a
   wonderful C++ class for creating TSRs which includes several examples.
   This one is my personal favorite. It is downloadable as:
   <ftp://ftp.brighton.ac.uk/pub/je/tsr100je.zip>
   <http://www.simtel.net/pub/pd/42697.html>

 * The Alternate Multiplex Interrupt Specification (AMIS),downloadable
   as: <http://www.simtel.net/pub/pd/46788.html>
   <ftp://garbo.uwasa.fi/pc/programming/altmpx35.zip>

 * Ralf Brown's assembly-language implementation of the AMIS spec, with
   utilities in C, is downloadable as:
   <ftp://garbo.uwasa.fi/pc/c-lang/amisl092.zip>

 * Douglas Boling's MASM template for a TSR is downloadable as:
   <http://www.simtel.net/pub/pd/40314.html>

 * Code for Al Stevens's "Writing Terminate-and-Stay-Resident Programs",
   Computer Language, February 1988, pages 37-48 and March 1988, pages
   67-76 is downloadable as: <http://www.simtel.net/pub/pd/41812.html>

 Finally, there are (were?) commercial products, of which TesSeRact (for
 C-language TSRs) is one of the best known.



Top Document: comp.os.msdos.programmer FAQ part 4/5
Previous Document: - How can I change the switch character to - from /?
Next Document: - Why does my interrupt function behave strangely?

Part1 - Part2 - Part3 - Part4 - Part5 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
jeffrey@carlyle.org (Jeffrey Carlyle)

Last Update September 05 2008 @ 00:14 AM

© 2008 FAQS.ORG. All rights reserved.