[fpc-pascal] outportb
Marco van de Voort
marcov at stack.nl
Sat Nov 10 16:55:53 CET 2007
> On Nov 10, 2007 4:30 PM, Mihai <mihai at remember.ro> wrote:
> > I am new with FPC and I am trying something nasty on Linux
> > SO (some lp0 output command by data bits).
> > Is there any chance to use FPC on Linux to handle parallel
> > port data bits as in outportb[$378]:=32; ?
>
> Explained here:
>
> http://wiki.lazarus.freepascal.org/Hardware_Access#Using_ioperm_to_access_ports_on_Linux
Most notably the first note, that these are portably implemented in unit
x86.
More information about the fpc-pascal
mailing list