Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!astieber From: astieber@csd4.milw.wisc.edu (Anthony J Stieber) Newsgroups: comp.lang.pascal Subject: Re: Need code for use w/Turbo Pascal 4.0 to do TSR things Keywords: TSR Turbo Pascal Message-ID: <2166@csd4.milw.wisc.edu> Date: 21 Apr 89 06:25:55 GMT References: <3097@i.cc.purdue.edu> <865@sactoh0.UUCP> Sender: news@csd4.milw.wisc.edu Reply-To: astieber@csd4.milw.wisc.edu (Anthony J Stieber) Organization: University of Wisconsin-Milwaukee Lines: 20 The package described below can be made available via FTP to this site or can be mailed (when I get the chance). Either way let me know if you want it. NB: I havn't actually tried it out. -- Tony Stieber astieber@csd4.milw.wisc.edu TP-TSR 2/11/89 Richard W. Prescott This package illustrates a method for writing TP4/5 interrupt routines with sufficient power and flexibility to support sophisticated resident applications. The interrupt hook and return procedures are written in assembly language, however the remainder of the application can be written entirely in Pascal, can use up to 64K stack, and can Chain or Return from Interrupt from any point in the Pascal Code. All source code is provided, and all assembly source code is contained in the Units CONSOLE and DOS21_0A which are provided in both source and compiled form. Users without an assembler can redesign everything but the interrupt hook and return procedures.