Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpfcso!pgt From: pgt@hpfcso.FC.HP.COM (Paul Tobin) Newsgroups: comp.os.msdos.programmer Subject: Re: Handling interrupts in C Message-ID: <15590004@hpfcso.FC.HP.COM> Date: 6 Jun 91 14:51:42 GMT References: <334@nazgul.UUCP> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 12 * Neat trick. :-) * How does one pass arguments to an ISR? I would not think anything would * be passed, unless you consider the registers "passed" to it. I suppose TC++ could actually catch the interrupt and generate a call frame for your ISR, eh (what stack is in use at that time)? I wonder what good that would do, though? It could pass in global variables, but the ISR could get at those itself. Can anyone think of any other ideas? Paul "my life is constantly interrupted" Tobin pgt@hpfcla.fc.hp.com