Return to BSD News archive
Xref: sserve comp.os.msdos.programmer:42808 comp.os.386bsd.apps:1515 comp.os.386bsd.questions:14816 comp.os.386bsd.misc:4274 Newsgroups: comp.os.msdos.programmer,comp.os.386bsd.apps,comp.os.386bsd.questions,comp.os.386bsd.misc From: SteveJ@deltabbs.demon.co.uk (Steve J Brown) Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!pipex!demon!deltabbs.demon.co.uk!SteveJ Subject: Anybody know of a really good TSR tutorial ? Organization: Delta BBS +44 1252 546545 Reply-To: SteveJ@deltabbs.demon.co.uk X-Newsreader: SJNEWS V2.2 Lines: 22 Date: Tue, 29 Nov 1994 21:51:58 +0000 Message-ID: <786145918snz@deltabbs.demon.co.uk> Sender: usenet@demon.co.uk First off, apologies for the horrendous crosspost - please set followups as you see fit. [Short] I'm looking for a comprehensive guide to writing TSRs that I can preferably grab from somewhere on the 'net. Any pointers would be appreciated. [Long] Specifically, I need to write a routine that will monitor COM1 for a pre-defined signal and then read a string of ASCII characters not exceding 255 bytes (2400 baud 8N1) before writing them to disk for post processing. What I really need to know is if it's possible to use int 14h to grab the data from the port from within the TSR and can I safely use file handles through int 21h to maintain the file on the disk. None of the books I've read have given the complete story on TSRs and I'd be grateful for any help whatsoever if you've ever had to write somehting like that outlined above. 10e6 TIA sjb