[fpc-pascal] Acces IO-ports in Linux with FPC 2.2.0
iisakki.kosonen at rsm.ie
Wed Mar 11 16:44:49 CET 2009
Thanks for the help, problem solved
Johann Glaser kirjoitti:
>> 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.
> This also lists the constants used for the access mode.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
More information about the fpc-pascal