Re: [fpc-pascal] Forking the GitLab FPC Source repository

2023-05-01 Thread Christo Crause via fpc-pascal
On Mon, May 1, 2023 at 4:24 PM Norman Dunbar via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > On 30/04/2023 16:59, Michael Van Canneyt via fpc-pascal wrote: > > > The repo is not private. > Ok, thanks. my assumption was obviously incorrect then. > > > > One possible reason is that the

Re: [fpc-pascal] IRC channel for FreePascal support ?

2023-04-13 Thread Christo Crause via fpc-pascal
On Thu, Apr 13, 2023 at 11:39 AM Tomas Hajny via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > On 2023-04-13 11:23, Jacob Kroon via fpc-pascal wrote: > > > Hi Jacob, > > . > . > > Ok, maybe this "Joanna" is on this mailing list and would care to > > elaborate more why I got banned ?

Re: [fpc-pascal] FPC/Lazarus on RPi4 - How to read/write I2C connected EEPROM?

2023-04-05 Thread Christo Crause via fpc-pascal
On Wed, Apr 5, 2023 at 12:43 PM Bo Berglund via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > On Wed, 5 Apr 2023 11:40:09 +0200, Christo Crause via fpc-pascal > wrote: > >Looking at the datasheet for CAT24C128, Fig. 6 Byte Write Sequence, shows > >no repeated

Re: [fpc-pascal] FPC/Lazarus on RPi4 - How to read/write I2C connected EEPROM?

2023-04-05 Thread Christo Crause via fpc-pascal
On Wed, Apr 5, 2023 at 11:22 AM Jean SUZINEAU via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > May be you could get the source code of i2ctransfer from i2c-tools and > compare it with the code in i2c.pas ? > Good idea, that led to the suggestion to try the WriteBytes method which is

Re: [fpc-pascal] FPC/Lazarus on RPi4 - How to read/write I2C connected EEPROM?

2023-04-05 Thread Christo Crause via fpc-pascal
On Wed, Apr 5, 2023 at 7:55 AM Bo Berglund via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > On Wed, 05 Apr 2023 00:33:50 +0200, Bo Berglund via fpc-pascal > > I *can* write a sequence of bytes into the EEPROM succsessfully using an > i2c-tools command like this: > > i2ctransfer -y 1

Re: [fpc-pascal] FPC/Lazarus on RPi4 - How to read/write I2C connected EEPROM?

2023-04-04 Thread Christo Crause via fpc-pascal
See comments below. On Tue, Apr 4, 2023 at 6:52 PM Bo Berglund via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > I use the method: > > i2cMaster.WriteBytesToReg(i2caddress: byte; regAddress: uint16; data: > PByte; > size: byte): boolean;) > > With data specified as follows in the call:

Re: [fpc-pascal] FPC/Lazarus on RPi4 - How to read/write I2C connected EEPROM?

2023-04-02 Thread Christo Crause via fpc-pascal
On Sun, Apr 2, 2023 at 9:30 PM Bo Berglund via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Is there a reason that there is no i2c_write_reg demo in the github > package? > I haven't gotten round to that, waiting for hardware to test the code with. I will try to write one so I can

Re: [fpc-pascal] FPC/Lazarus on RPi4 - How to read/write I2C connected EEPROM?

2023-04-01 Thread Christo Crause via fpc-pascal
On Sat, Apr 1, 2023 at 9:57 PM Bo Berglund via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Question: > Can I use Linux file system commands to read/write the data on the i2c > EEPROM > memory device and if so how from fpc? > To some extent it is possible to handle i2c transactions as

Re: [fpc-pascal] Working on a new way to educate people about pascal

2022-12-27 Thread Christo Crause via fpc-pascal
On Tue, Dec 27, 2022 at 6:47 PM Anthony Walter via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > My idea is to implement a web page system where syntax highlight code is > presented like in the Lazarus IDE, and special links are peppered through > and explanation of how and why Pascal

Re: [fpc-pascal] [Question] How to submit our patch?

2022-10-10 Thread Christo Crause via fpc-pascal
On Mon, Oct 10, 2022 at 11:47 AM Jinyang He via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > We, a team working for Loongson, are ready to submit some patches which > support a new architecture named LoongArch for FreePascal. [1] is one of > repositories about LoongArch. LoongArch is a

Re: [fpc-pascal] SerReadTimeout question

2022-09-19 Thread Christo Crause via fpc-pascal
On Mon, Sep 19, 2022 at 7:51 AM Christo Crause wrote: > > > On Mon, 19 Sep 2022, 03:18 James Richters via fpc-pascal, < > fpc-pascal@lists.freepascal.org> wrote: > >> I can't seem to find any documentation or SerRead or SerReadTimeout.. >> searching for either along with Freepascal doesn't get

Re: [fpc-pascal] SerReadTimeout question

2022-09-18 Thread Christo Crause via fpc-pascal
On Mon, 19 Sep 2022, 03:18 James Richters via fpc-pascal, < fpc-pascal@lists.freepascal.org> wrote: > I can't seem to find any documentation or SerRead or SerReadTimeout.. > searching for either along with Freepascal doesn't get me any results. > If it exists somewhere and I am just missing it,

Re: [fpc-pascal] Test Free Pascal program not compiling

2022-09-11 Thread Christo Crause via fpc-pascal
On Mon, 12 Sep 2022, 02:59 Terry A. Haimann via fpc-pascal, < fpc-pascal@lists.freepascal.org> wrote: > Trying to compile a small test pascal program on a arm cpu. I beleive > it is an a53. Libre Le Potato > > I am getting the following error: > > Error: Error while assembling exitcode 1 > >

Re: [fpc-pascal] FPC Backtrace

2022-01-03 Thread Christo Crause via fpc-pascal
On Mon, Jan 3, 2022 at 3:28 PM James Richters via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > I’m curious if there is some way, perhaps with some directive or something > to force a debug backtrace to happen, but without an error > Try calling Dump_Stack in your code:

Re: [fpc-pascal] Keeping current with FPC Source on gitlab

2021-11-06 Thread Christo Crause via fpc-pascal
On Sat, 6 Nov 2021, 02:09 James Richters via fpc-pascal, < fpc-pascal@lists.freepascal.org> wrote: > Do I need to use the source to re-install FPC every time I want to update > it? If so how is this accomplished? > > Or is there a better way to just update everything when I update the >

Re: [fpc-pascal] Conversion from C to Pascal - Left bit shift

2021-09-03 Thread Christo Crause via fpc-pascal
On Fri, Sep 3, 2021 at 8:02 AM LacaK via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Can we say that in Pascal the result of: >E1 shl E2 > is of same type as E1 ? > (so if E1 is LongWord then result is LongWord also?) > > What if there is an expression on left side: >(E1*x) shl

Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-12 Thread Christo Crause via fpc-pascal
On Thu, Aug 12, 2021 at 7:34 AM LacaK via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > > I have related question: in SVN was possible to checkout specific > sub-directory (for example if I am interested in fcl-db package only I > checkedout only this sub-directory). > Is it possible

Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-12 Thread Christo Crause via fpc-pascal
On Thu, Aug 12, 2021 at 12:50 AM Bo Berglund via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > On Wed, 11 Aug 2021 22:22:54 +0200 (CEST), Michael Van Canneyt via > fpc-pascal > wrote: > > ># Get sources > >git clone https://gitlab.com/freepascal.org/fpc/source.git $FPCVER > ># switch

Re: [fpc-pascal] Interruption handling on i8086

2021-04-10 Thread Christo Crause via fpc-pascal
On Sat, Apr 10, 2021 at 10:14 AM Guillermo via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Hi pascaloids, > > I'm doing DOS development for fun and, after installing the compiler > (was quite hard), I'm having problems handling interrupts. > > I started with keyboard and it doesn't

Re: [fpc-pascal] Questions from Semi-Beginner

2021-02-20 Thread Christo Crause via fpc-pascal
On Sat, Feb 20, 2021 at 10:48 AM CSlemaker via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Title: OS Upgrade Windows 7 to Windows 10 – Free Pascal Consequences ? > > I am currently running under Windows 7 but I MUST upgrade to Windows 10 > Pro. > > Will I need to recompile my Pascal

Re: [fpc-pascal] Value:x:y syntax

2021-02-09 Thread Christo Crause via fpc-pascal
On Tue, Feb 9, 2021 at 2:11 PM Luis Henrique via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > At > https://lists.freepascal.org/pipermail/fpc-devel/2021-February/043569.html > I saw the syntax "value: x: y". > > str(value:6:3, valuestr); > What is the name of this and where is it

Re: [fpc-pascal] basic question on begin, end;

2020-09-23 Thread Christo Crause via fpc-pascal
On Wed, Sep 23, 2020 at 4:25 PM dano none via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > end; > my_base := my_base + 15; > writeln('current base ',my_base:2); > ch := ReadKey; > { end; { end i = column indexer }} > A different way

Re: [fpc-pascal] bug tracker (bugs.freepascal.org) APPLICATION ERROR #400 (db connection failed)

2020-08-30 Thread Christo Crause via fpc-pascal
On Sun, Aug 30, 2020 at 11:26 AM Michael Van Canneyt via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > > > On Sun, 30 Aug 2020, Christo Crause via fpc-pascal wrote: > > > On Sun, Aug 30, 2020 at 9:45 AM Dmitry Boyarintsev via fpc-pascal < > > fpc-p

Re: [fpc-pascal] bug tracker (bugs.freepascal.org) APPLICATION ERROR #400 (db connection failed)

2020-08-30 Thread Christo Crause via fpc-pascal
On Sun, Aug 30, 2020 at 9:45 AM Dmitry Boyarintsev via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > The site opens up with: > > APPLICATION ERROR #400 > I also get the above mentioned error when trying to open the website. ___ fpc-pascal

Re: [fpc-pascal] Using built-in serial instead of synaser and the like for Linux console app?

2020-08-21 Thread Christo Crause via fpc-pascal
On Fri, Aug 21, 2020 at 12:05 PM Bo Berglund via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > So hence my question: > Is there something bad about serial (built-in to fpc) that makes it > unsuitable for use? > In my limited experience the FPC serial unit is a bit more low level than

Re: [fpc-pascal] fpDebug function-call proof-of-concept

2020-07-07 Thread Christo Crause via fpc-pascal
On Tue, 7 Jul 2020, 11:17 Joost van der Sluis, wrote: > Hi all, > > Last weekend I started on the ability to evaluate functions within > fpDebug. And I got quite far. It is a proof-of-concept, still needs a > lot of work. But it works! > Great news! I guess this is a step towards evaluating

Re: [fpc-pascal] Return value of StrToHostAddr and StrToHostAddr6 in sockets unit

2020-05-13 Thread Christo Crause via fpc-pascal
On Wed, May 13, 2020 at 9:31 AM Michael Van Canneyt wrote: > > On Wed, 13 May 2020, Christo Crause via fpc-pascal wrote: > > > On Tue, May 12, 2020 at 11:11 PM Noel Duffy via fpc-pascal < > > fpc-pascal@lists.freepascal.org> wrote: > > > >> Sure, I ca

Re: [fpc-pascal] Return value of StrToHostAddr and StrToHostAddr6 in sockets unit

2020-05-13 Thread Christo Crause via fpc-pascal
On Tue, May 12, 2020 at 11:11 PM Noel Duffy via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Sure, I can do that. I will look at creating a patch for this. For your > purposes, do you prefer to have a new bug in the bug tracker opened for > tracking this change? > If your patch is

Re: [fpc-pascal] Bugs in StrToHostAddr6 in sockets unit

2020-05-06 Thread Christo Crause via fpc-pascal
On Wed, May 6, 2020 at 12:19 PM Noel Duffy via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > So I guess the question is, is it worth the effort to make > StrToHostAddr6 RFC4291 compliant? Is that something the FPC team would > want, or do they just not use the sockets unit? > There have

Re: [fpc-pascal] Pascal Language Server

2020-04-23 Thread Christo Crause via fpc-pascal
On Thu, 23 Apr 2020, 21:43 Ryan Joseph via fpc-pascal, < fpc-pascal@lists.freepascal.org> wrote: > ok, did this and now getting: > > /Users/ryanjoseph/Developer/lazarus/components/lazdebuggergdbmi/gdbmidebugger.pp(63,16) > Fatal: (10022) Can't find unit PropEdits used by GDBMIDebugger > > svn up

Re: [fpc-pascal] About fpc license.

2020-04-09 Thread Christo Crause via fpc-pascal
On Fri, 10 Apr 2020, 05:09 fredvs via fpc-pascal, < fpc-pascal@lists.freepascal.org> wrote: > Hello. > > I have done a fork of fpc fixes_3_2 and made some modification of original > code. > > May I distribute the fpc binary of that patched version with the units > files, ready to use

Re: [fpc-pascal] How to rebuild an fpc package

2020-02-11 Thread Christo Crause via fpc-pascal
On Tue, Feb 11, 2020 at 4:57 PM Luis - SoftSAT Sistemas < l...@softsatsistemas.com.br> wrote: > > You are using relative paths in -Fu and your current folder is > c:\lazarus\fpc\3.0.4\source\packages\fcl-db, so > > -Fu../../rtl should expand to -Fuc:\lazarus\fpc\3.0.4\source\rtl - the > compiler

Re: [fpc-pascal] How to rebuild an fpc package

2020-02-11 Thread Christo Crause via fpc-pascal
On Tue, Feb 11, 2020 at 3:23 PM Luis - SoftSAT Sistemas via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Looking at unit search path the compiler are looking at "sources" dir > instead of "units" dir with the compiled units and i dont know how to fix > this. > >