Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2023-04

  1. VASM upgrade to 1.9 breaks cross compiler build

    Good Afternoon. After a long break, I decided to start work/play on the Sinclair QL FPC cross compiler. I noticed that using any release of the vasm assembler, from 1.9…

    Norman Dunbar, Derek, Karoly Balogh
    16
  2. Forking the GitLab FPC Source repository

    Good Afternoon All. I'm attempting to fork the FPC Source repository on GitLab so that I can occasionally make some updates to the M68K Sinclair QL cross compiler RTL…

    Norman Dunbar, Christo Crause, Graeme Geldenhuys
    10
  3. StrIComp

    Just a very minor question: Is it intentional that StrIComp (from the strings unit) gives an access violation if one of its arguments is NIL? I hardly work with PChars…

    Thomas Kurz, Bart
    1
  4. Building fpc trunk on Linux: Could not find unit directory for dependency package "rtl" required for package "a52"

    I am lost :/ I installed FPC 3.2.2 from the TAR file as described here: https://www.freepascal.org/docs-html/user/usersu5.html I did "sudo ./install" and kept everything…

    Ondrej Pokorny
    3
  5. How to use StrToDateTime() to convert a string with no delimiters?

    I have a device that sends data over the serial port with a timestamp in this format: (230424194642W) This is coded as yymmddhhnnss and the last char designates daylight…

    Bo Berglund, Michael Van Canneyt, Thomas Kurz
    3
  6. Oberon-0

    Any suggestions for running simple Oberon-0 programs on the MacOSX command-line ? EIther by emulating its RISC processor or by changing the Oberon-0 compiler ? I prefer…

    Adriaan van Os, Markus Greim, Ralf Quint
    9
  7. Is there a Pos() function for TBytes?

    I am transferring data via serial comm and they wind up inside a TBytes dyn array. Now I want to easily find a certain pattern of bytes inside that array, but how? I…

    Bo Berglund, Alexey Torgashin, Michael Van Canneyt
    3
  8. IRC channel for FreePascal support ?

    Is there an offical IRC channel for asking questions about the FreePascal compiler ? I tried asking questions in #fpc on Libera Chat, but when I refused to upload the…

    Jacob Kroon, Christo Crause, Elmar Haneke
    25
  9. DateUtils: (Try)ModifiedJulianDateToDateTime not implemented

    I have seen that the functions for dealing with modified Julian dates are documented as "not yet implemented". Is there a particular reason for that? If not, I'd make an…

    Thomas Kurz, Michael Van Canneyt
    1
  10. Pause Key

    Does anyone know what's up with the Pause key in Windows? Is there some way to tell if it was pushed? I have a need for the user to pause execution of my Freepascal…

    James Richters, Alexey Torgashin, Dennis Lee Bieber
    10
  11. sound(FREQUENCY) on Linux ?

    On DOS and Windows programs using Turbo Pascal, I did the following to make a sound of frequency FREQUENCY play through the speakers: sound(FREQUENCY); The following…

    Steve Litt
    0
  12. As I predicted

    As I predicted, here's what happened to me on #fpc: ============================================== Joanna sets ban on $a:stevelitt * You have been kicked from #fpc by…

    Steve Litt, Tomas Hajny
    1
  13. I registered #fpc-alt and ##fpc-alt

    For those of you who can't get onto Libera.Chat channel #fpc, or would prefer a less stressful enforcement of the rules, I just created community channel #fpc-alt for…

    Steve Litt
    0
  14. Declaring an array as var or not in function calls?

    I am wondering how to deal with this var or not in function calls: In a processing program where I am building the command arguments for a write operation by analyzing…

    Bo Berglund, Giuliano Colla, Sven Barth
    5
  15. Re: Building trunk of today fails on Windows: Error: Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size

    On Mon, 23 Aug 2021 23:01:39 +0200, Bart via fpc-devel Replying here since my attempt at replying in the devel group failed... Bart, thanks for this description which I…

    Bo Berglund
    0
  16. FPC ARM inline Assembler

    Does the current FPC compiler support  ARM inline assembler ? If so what is the equivalent ARM command for {$ASMMODE intel} Thanks Brian

    Vern, Jeppe Johansen, Jonas Maebe
    6
  17. FPC/Lazarus on RPi4 - How to read/write I2C connected EEPROM?

    I need to read and write data to an EEPROM connected by I2C on a RaspberryPi4. The I2C channel is found in /dev as i2c-1: $ ll /dev/i2* crw-rw---- 1 root i2c 89, 1…

    Bo Berglund, Christo Crause, Dennis Lee Bieber
    32
  18. Converting old pascal written for Pascal/MT+ compiler

    I have some old Pascal code that was compiled in a CPM environment using the Pascal/MT+ compiler from Digital Research. I'm trying to get this project to build in a…

    Jacob Kroon, Bart, Bernd Oppolzer
    24
  19. Save and Restore Windows 10 Display configuration?

    Is there some way I can programmatically use FreePascal to save and Restore all the settings found in the Windows 10 Display settings such as the resolution and…

    James Richters
    0