[fpc-pascal] Acces IO-ports in Linux with FPC 2.2.0
Iisakki Kosonen
iisakki.kosonen at rsm.ie
Wed Mar 11 16:44:49 CET 2009
Thanks for the help, problem solved
- Iisakki
Johann Glaser kirjoitti:
> Hi!
>
>
>> I am developing a free pascal software in Linux, which uses the
>> parallel digital input/output card (with intel 8255) in an industrial PC.
>> I was able to compile and run without problems with FP 2.0.4.
>>
>> Now, that the oldlinux unit is removed in the latest FPC,
>> I cannot compile the program any more.
>> The error messages are:
>> - identifier not found "fdOpen"
>> - identifier not found "fdWrite"
>> - identifier not found "fdRead"
>>
>
> It seems you have a driver for this card and want to talk to the driver
> via a Linux device (in /dev/). My first thought was you wanted to access
> x86 IO ports (using IN and OUT instructions).
>
> Simply use the online help to find the desired functions, e.g.
> http://community.freepascal.org:10000/docs-html/rtl/baseunix/fpopen
> This also lists the constants used for the access mode.
>
> Bye
> Hansi
>
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
>
More information about the fpc-pascal
mailing list