Re: off topic - Assembler using GCC
On Wed, Feb 03, 1999 at 02:08:26PM -0500, MallarJ@aol.com wrote:
> In my case, I had reprogrammed IRQ4 so when a char came in from the modem, I
> could stuff it to a buffer for use later on, and send data to the buffer (and
> ultimately use the IRQ to send it back out again when the buffer was full)
> when I had my reply ready. I certainly wouldn't want another program taking
> chars from my modem while I'm using it.
>
> How would you accomplish the same in Linux without using interrupt routines?
You would use interrupts, but in the kernel space. So you must write a
kernel driver of any sort to accomplish this. This is the right thing.
Remember that the kernel is the interface to the Hardware.
Marcus
--
"Rhubarb is no Egyptian god." Debian GNU/Linux finger brinkmd@
Marcus Brinkmann http://www.debian.org master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de for public PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ PGP Key ID 36E7CD09
Reply to: