Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!psuvax1!psuvm!barilvm!bimacs!orenalex From: orenalex@bimacs.BITNET (oren alex) Newsgroups: comp.os.msdos.programmer Subject: Re: TSR programming with MSC Message-ID: <2853@bimacs.BITNET> Date: 8 Feb 91 14:29:01 GMT References: <8646@hub.ucsb.edu> <1991Feb3.055420.5504@ys2.uucp> Reply-To: orenalex@bimacs.UUCP (oren alex) Distribution: comp Organization: IDF via Bar-Ilan University, Israel. Lines: 15 >not important. If you are using MSC6.00, use quick help to look up the >malloc function, where youll find a list of library functions which use malloc >and are therefore not suitable for use in TSRs. Also, look up the example >program ALARM.C for a good example of a TSR written in C. First, i allways thought that DOS reentrancy problems caused this, as far as i know, printf uses INT 21 (aka DOS) Second, tried to use cprintf inside an ISR (TC++) - blowed the program away. Third, can you email me this ALARM? Bye, Alex