From owner-freebsd-questions Mon Aug 26 13:42:25 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14594 for questions-outgoing; Mon, 26 Aug 1996 13:42:25 -0700 (PDT) Received: from eac.iafrica.com (196-7-192-158.iafrica.com [196.7.192.158]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA14587 for ; Mon, 26 Aug 1996 13:42:18 -0700 (PDT) Received: (from rnordier@localhost) by eac.iafrica.com (8.6.12/8.6.12) id WAA00438; Mon, 26 Aug 1996 22:29:23 +0200 From: Robert Nordier Message-Id: <199608262029.WAA00438@eac.iafrica.com> Subject: Re: Help! To: rvega@cicese.mx (Raymundo Vega Aguilar) Date: Mon, 26 Aug 1996 22:29:21 +0200 (SAT) Cc: KUMAR@BOGPO1.CO.unisys.com, questions@FreeBSD.ORG In-Reply-To: <3221F638.417C@cicese.mx> from "Raymundo Vega Aguilar" at Aug 26, 96 12:08:40 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Raymundo Vega Aguilar wrote: > > > In Email, "Kumar, Rao CO" wrote: > > > > Thanks in advance for your time. I saw your mail id on the Internet. So I am > > sending you this mail > > and would highly appreciate your help. > > I have written a TSR (that runs on MS DOS 6.2) that intercepts the interrupt > > 1C (timer interrupt). What I am > > trying to do in this interrupt handler is some file i/o (using fopen, fread > > and fclose of Microsoft C). > > Because MS-DOS is a NOT reentrant pseudo-operating system, is very > difficult to use file i/o from a TSR program, the solution is somewhat > complex (and outside the scope of this list) so if you really want > to contnue the proyect, then you have to read: > > Title: Extending TurboC profesional. > Author: Al Stevens > ed: Sams Book. (not sure) > > This is the only one that i have read and has a chapter on the subject. I'd suggest Title: Undocumented DOS, 2nd edition Authors: Schulman, Brown, Maxey, Michels, Kyle Publisher: Addison-Wesley ISBN: 0-201-63287-X or (even better) Title: DOS Internals Author: Geoff Chappell Publisher: Addison-Wesley ISBN: 0-201-60835-9 The Schulman book is more glitzy and covers more ground. The Chappell book is probably more genuinely useful, and is really a wonderful piece of work (despite the subject matter :). It also happens to concentrate on using Microsoft C: see especially Chapter 6 ``Resident Programming in C''. -- Robert Nordier