|
|
Jim Henderson wrote:
> See, to me, that's not much different than a function call - just a very
> directly implemented function call. :-)
Well, yah, except you say "invoke this function when you get that
interrupt", and you don't set up the interrupt table yourself, and you
don't have to deal with turning interrupts on and off, generating
special return instructions, managing the priorities, etc.
Kind of the difference between having threading or dynamic loading in a
language, and invoking an OS-specific library for it. Functionally
pretty similar, except you only have to learn it once and it generally
works out better/easier to use.
> But probably closer to invoking, say, INT21 than you would do from C
> using inline - though the generated code by the compiler would probably
> be very close.
I'm talking about handling interrupts, like in the kernel or a device
driver, rather than generating interrupts. If that's the confusion... :-)
--
Darren New / San Diego, CA, USA (PST)
It's not feature creep if you put it
at the end and adjust the release date.
Post a reply to this message
|
|