Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-11

outportb

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mihai

Hello all,

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; ?

Thank you very much,
Mihai

Reply by email

Marco van de Voort
to Felipe Monteiro de Carvalho
Show quoted text 9 lines
On Nov 10, 2007 4:30 PM, Mihai 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.

Reply by email

Mihai
to Marco van de Voort
Show quoted text 13 lines
> On Nov 10, 2007 4:30 PM, Mihai > 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.

Got it.

Thank very much to all,
Mihai

Reply by email