🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6995

Re: Handling interrupts in C

#6995
From: Paul Tobin
Date: Thu, 06 Jun 1991 14:51
12 lines
921 bytes
* 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
Technical Details
Message-ID: <15590004@hpfcso.FC.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpfcso!pgt
References: <334@nazgul.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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