Re: [fpc-pascal] RaspberryPi GPIO access from multiple applications using /dev/gpiomem?

2021-03-22 Thread Bo Berglund via fpc-pascal
On Mon, 22 Mar 2021 11:25:04 +0100, Bo Berglund via fpc-pascal wrote: >Question: >- >Can two different applications access the (same) GPIO pins without permission >problems? > >In my case I only need read access to the active pins so I can display the >state >in a monitoring application

Re: [fpc-pascal] SinclairQL (M68K) Port

2021-03-22 Thread Tomas Hajny via fpc-pascal
On 2021-03-22 12:35, Norman Dunbar via fpc-pascal wrote: > On 21/03/2021 12:07, Tomas Hajny via fpc-pascal wrote: Hi Norman, >> The page https://wiki.freepascal.org/System_unit_structure (referred >> to from the 'RTL development articles' appearing on the 'FPC >> development' page mentioned ab

Re: [fpc-pascal] SinclairQL (M68K) Port

2021-03-22 Thread Norman Dunbar via fpc-pascal
Replying to self here... On 22/03/2021 11:33, Norman Dunbar via fpc-pascal wrote: I have a minimum test harness for it at the moment that I'm attempting to sort out. Var F : Text; begin   Assign(F,'ram1_test.txt');   Rewrite(F);   Writeln(F,'Try and find this when I''m finished !');   Cl

Re: [fpc-pascal] SinclairQL (M68K) Port

2021-03-22 Thread Norman Dunbar via fpc-pascal
Hi Tomas, On 21/03/2021 12:07, Tomas Hajny via fpc-pascal wrote: The page https://wiki.freepascal.org/System_unit_structure (referred to from the 'RTL development articles' appearing on the 'FPC development' page mentioned above is the one supposed to help in this case, but it is very incompl

Re: [fpc-pascal] SinclairQL (M68K) Port

2021-03-22 Thread Norman Dunbar via fpc-pascal
Morning Charlie, On 21/03/2021 09:23, Karoly Balogh via fpc-pascal wrote: ...It was on my ToDo to get back to it, but actually, I prefer indeed if the QL community sends patches... Ok, no worries. I can "svn diff" if that's what you would prefer? Where should I send them, when I'm ready pleas

[fpc-pascal] RaspberryPi GPIO access from multiple applications using /dev/gpiomem?

2021-03-22 Thread Bo Berglund via fpc-pascal
I have a control application that uses GPIO pins to switch ON/OFF power feed to a data collection system and to start it using a trigger pulse. Now I am trying to remotely debug this system and I have trouble knowing in which power state it is actually in... I am using the "driver" PiGpio.pas by