Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!hubcap!ncrcae!ncrlnk!ncrwic!wbcs!chris From: chris@wbcs.UUCP (Chris Rott) Newsgroups: comp.sys.ibm.pc Subject: Dos File Access In TSR's Keywords: TSR DOS Message-ID: <157@wbcs.UUCP> Date: 21 Jun 89 14:33:30 GMT Organization: Boeing Computer Services, Wichita KS Lines: 14 I want to write a TSR program that periodically wakes up and accesses a file (using DOS services). The purpose of accessing the file is to update the time stamp. I know how to set up the TSR and to set alarm interrupts and all, but I suspect I will have problems if I just invoke dos services inside this interrupt. Has anyone had experience writing these kind of TSR's? Are there flag bytes somewhere that indicate whether or not DOS is in a 'safe' state in terms of disk i/o. I know that these kind of programs are possible, given that the print queue manager provides asynchronous i/o, but I cant find any docs on how to do it. Any help would be greatly appreciated! Please email responses. Thanks in advance for your help. -- Chris Rott Boeing Computer Services MAIL: PO Box 7730, MS K79-32 / Wichita, KS 67277-7730 UUCP: {scubed!ncr-sd,fenix!ncrlnk,hplabs!hp-sdd!ncr-sd}!ncrwic!wbcs!chris