Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!motcsd!hpda!hpcupt1!andrews From: andrews@hpcupt1.HP.COM (Edward E. Andrews) Newsgroups: comp.sys.ibm.pc Subject: Re: Help from TSR Gurus requested Message-ID: <-286529997@hpcupt1.HP.COM> Date: 19 Jul 89 19:00:18 GMT References: <536@cybaswan.UUCP> Organization: Hewlett Packard, Cupertino Lines: 18 Your TSR should use it's own PSP if: 1) You want to use your own ^C handler, 2) You want to use your own critical error handler, or 3) You want to do file I/O with handles. 4) You want to do any DOS functions (i.e. INT 21h) To get the current PSP: mov ah,51h int 21h mov OldPSP,bx To set the current PSP: mov ah,50h mov bx,NewPSP int 21h Enjoy!