Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!ames!oliveb!felix!arcturus!mitch From: mitch@arcturus.UUCP (Mitchell S. Gorman) Newsgroups: comp.lang.pascal Subject: Re: Need code for use w/Turbo Pascal 4.0 to do TSR things Summary: A good book on the subject, and others as well. Keywords: TSR Turbo Pascal Message-ID: <4364@arcturus> Date: 17 Apr 89 18:20:10 GMT References: <3097@i.cc.purdue.edu> Organization: Rockwell International, Anaheim, CA Lines: 42 In article <3097@i.cc.purdue.edu>, afc@i.cc.purdue.edu (Greg Flint) writes: > I have a need for a TSR program, but I don't know how to set up such a beast. > My TP4 manual says that any program can go TSR via the "KEEP" function, but > that no further information or support is available. > I have a feeling that this post might not be all too helpful. :^) I have a book that's called something like "Advanced Turbo Pascal." (Sorry, don't remember the exact name.) It's got a grey cover, on which it says such wonderful things as 'How to use the debugger', 'How to write TSRs', 'How to cure world hunger', 'How to make zillions of dollars and impress your friends'. (Okay, okay, it doesn't REEELLY tell you how to make zillions of dollars - I just made that up!) Anyway... There is a huge section in there which goes into detail on which interrupts you need to write handlers for, and why, and how. There is a medium-sized unit included (took about an hour or so to type in - $50 for a source disk is a little steep), which sets up a basic TSR example, and which has info in the comments about how to modify to suit your own applications. There is also a sizable section on utilizing the mouse interrupt (whazzat, $33??). Lets you pick off button presses, releases, movements, etc. All that groovy sort of stuff. VERY handy book. Lots of info on the debugger, and other good things. I think it's what you're looking for (or at least, it's what you need; they're not always the same thing. :^) I wish I could remember the exact title, or the author's name. It's published by the same house that puts out that big reference volume for Borland. Of course, I don't remember which one that is, either!! (It's either Osbourne of McGraw-Hill, although I suddenly have the sinking feeling someone's gonna tell me they're one and the same!) Anyway, good luck. Mitch @ Rockwell, Anaheim Disclaimer: I didn't write the book; I just liked what was in it.