Mail Archives: djgpp/1999/10/07/04:37:12
Pablo M. Dotro writes:
> As far as I know, under DOS there are a couple of
> functions (inportb() and outportb() ) which handle
> the access to the hardware ports (I need to access
> port 0x220), but I do not know if they work under Linux...
Linux uses inb(), outb(), etc, but you have to do special
things first so that you will have permission to use the ports
at all. Fortunately for you, there is a HOWTO about this very
topic: see /usr/doc/HOWTO/mini/IO-Port-Programming for details.
Shawn Hargreaves.
- Raw text -